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 wxWindows 2.5.1.
6 # Report bugs to <wx-dev@lists.wxwindows.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='wxWindows'
271 PACKAGE_TARNAME='wxwindows'
272 PACKAGE_VERSION='2.5.1'
273 PACKAGE_STRING='wxWindows 2.5.1'
274 PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.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 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 LIBPREFIX 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_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 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 wxWindows 2.5.1 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 wxWindows 2.5.1:";;
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 wxWindows as single library
871 --enable-plugins build parts of wxWindows as loadable components
872 --enable-universal use wxWindows 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-debug_flag set __WXDEBUG__ flag (recommended for developers!)
881 --enable-debug_info create code with debugging information
882 --enable-debug_gdb create code with extra GDB debugging information
883 --enable-debug_cntxt use wxDebugContext
884 --enable-mem_tracing create code with memory tracing
885 --enable-profile create code with profiling information
886 --enable-no_rtti create code without RTTI information
887 --enable-no_exceptions create code without C++ exceptions handling
888 --enable-permissive compile code disregarding strict ANSI
889 --enable-no_deps create code without dependency information
890 --enable-compat22 enable wxWindows 2.2 compatibility
891 --disable-compat24 disable wxWindows 2.4 compatibility
892 --enable-rpath=DIR output the rpath flag from wx-config
893 --enable-intl use internationalization system
894 --enable-config use wxConfig (and derived) classes
895 --enable-protocols use wxProtocol and derived classes
896 --enable-ftp use wxFTP (requires wxProtocol
897 --enable-http use wxHTTP (requires wxProtocol
898 --enable-fileproto use wxFileProto class (requires wxProtocol
899 --enable-sockets use socket/network classes
900 --enable-ole use OLE classes (Win32 only)
901 --enable-dataobj use data object classes
902 --enable-ipc use interprocess communication (wxSocket etc.)
903 --enable-apple_ieee use the Apple IEEE codec
904 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
905 --enable-cmdline use wxCmdLineParser class
906 --enable-datetime use wxDateTime class
907 --enable-dialupman use dialup network classes
908 --enable-dynlib use wxLibrary class for DLL loading
909 --enable-dynamicloader use (new) wxDynamicLibrary class
910 --enable-exceptions build exception-safe library
911 --enable-ffile use wxFFile class
912 --enable-file use wxFile class
913 --enable-filesystem use virtual file systems classes
914 --enable-fontmap use font encodings conversion classes
915 --enable-fs_inet use virtual HTTP/FTP filesystems
916 --enable-fs_zip use virtual ZIP filesystems
917 --enable-geometry use geometry class
918 --enable-log use logging system
919 --enable-longlong use wxLongLong class
920 --enable-mimetype use wxMimeTypesManager
921 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
922 --enable-snglinst use wxSingleInstanceChecker class
923 --enable-streams use wxStream etc classes
924 --enable-std_iostreams use standard C++ stream classes
925 --enable-stopwatch use wxStopWatch class
926 --enable-sysoptions use wxSystemOptions
927 --enable-textbuf use wxTextBuffer class
928 --enable-textfile use wxTextFile class
929 --enable-timer use wxTimer class
930 --enable-unicode compile wxString with Unicode support
931 --enable-sound use wxSound class
932 --enable-wxprintfv use wxWindows implementation of vprintf()
933 --enable-zipstream use wxZipInputStream
934 --enable-gzstream use wxGzipInputStream
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-loggui use standard GUI logger
950 --enable-logwin use wxLogWindow
951 --enable-logdialog use wxLogDialog
952 --enable-postscript use wxPostscriptDC device context (default for gtk+)
953 --enable-prologio not available; see contrib
954 --enable-resources not available; see contrib
955 --enable-clipboard use wxClipboard class
956 --enable-dnd use Drag'n'Drop classes
957 --enable-metafile use win32 metafiles
958 --enable-controls use all usual controls
959 --enable-accel use accelerators
960 --enable-button use wxButton class
961 --enable-bmpbutton use wxBitmapButton class
962 --enable-calendar use wxCalendarCtrl class
963 --enable-caret use wxCaret class
964 --enable-checkbox use wxCheckBox class
965 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
966 --enable-choice use wxChoice class
967 --enable-combobox use wxComboBox class
968 --enable-display use wxDisplay class
969 --enable-gauge use wxGauge class
970 --enable-grid use wxGrid class
971 --enable-imaglist use wxImageList class
972 --enable-listbook use wxListbook class
973 --enable-listbox use wxListBox class
974 --enable-listctrl use wxListCtrl class
975 --enable-notebook use wxNotebook class
976 --enable-radiobox use wxRadioBox class
977 --enable-radiobtn use wxRadioButton class
978 --enable-sash use wxSashWindow class
979 --enable-scrollbar use wxScrollBar class and scrollable windows
980 --enable-slider use wxSlider class
981 --enable-spinbtn use wxSpinButton class
982 --enable-spinctrl use wxSpinCtrl class
983 --enable-splitter use wxSplitterWindow class
984 --enable-statbmp use wxStaticBitmap class
985 --enable-statbox use wxStaticBox class
986 --enable-statline use wxStaticLine class
987 --enable-stattext use wxStaticText class
988 --enable-statusbar use wxStatusBar class
989 --enable-tabdialog use wxTabControl class
990 --enable-textctrl use wxTextCtrl class
991 --enable-togglebtn use wxToggleButton class
992 --enable-toolbar use wxToolBar class
993 --enable-tbarnative use native wxToolBar class
994 --enable-tbarsmpl use wxToolBarSimple class
995 --enable-treectrl use wxTreeCtrl class
996 --enable-tipwindow use wxTipWindow class
997 --enable-popupwin use wxPopUpWindow class
998 --enable-commondlg use all common dialogs
999 --enable-choicedlg use wxChoiceDialog
1000 --enable-coldlg use wxColourDialog
1001 --enable-filedlg use wxFileDialog
1002 --enable-finddlg use wxFindReplaceDialog
1003 --enable-fontdlg use wxFontDialog
1004 --enable-dirdlg use wxDirDialog
1005 --enable-msgdlg use wxMessageDialog
1006 --enable-numberdlg use wxNumberEntryDialog
1007 --enable-splash use wxSplashScreen
1008 --enable-textdlg use wxTextDialog
1009 --enable-tipdlg use startup tips
1010 --enable-progressdlg use wxProgressDialog
1011 --enable-wizarddlg use wxWizard
1012 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1013 --enable-miniframe use wxMiniFrame class
1014 --enable-tooltips use wxToolTip class
1015 --enable-splines use spline drawing code
1016 --enable-validators use wxValidator and derived classes
1017 --enable-busyinfo use wxBusyInfo
1018 --enable-joystick use wxJoystick (Linux only)
1019 --enable-metafiles use wxMetaFile (Windows only)
1020 --enable-dragimage use wxDragImage
1021 --enable-accessibility enable accessibility support
1022 --enable-palette use wxPalette class
1023 --enable-image use wxImage class
1024 --enable-gif use gif images (GIF file format)
1025 --enable-pcx use pcx images (PCX file format)
1026 --enable-iff use iff images (IFF file format)
1027 --enable-pnm use pnm images (PNM file format)
1028 --enable-xpm use xpm images (XPM file format)
1029 --enable-icocur use Windows ICO and CUR formats
1030 --enable-official_build official build of wxWindows (win32 DLL only)
1031 --enable-vendor=VENDOR vendor name (win32 DLL only)
1032 --disable-largefile omit support for large files
1033 --disable-gtktest do not try to compile and run a test GTK+ program
1034 --disable-gtktest Do not try to compile and run a test GTK program
1035 --disable-sdltest Do not try to compile and run a test SDL program
1036 --disable-precomp-headers don't use precompiled headers even if compiler can
1039 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1040 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1042 --with-motif use Motif/Lesstif
1043 --with-mac use Mac OS X
1044 --with-cocoa use Cocoa
1045 --with-wine use Wine
1046 --with-msw use MS-Windows
1047 --with-pm use OS/2 Presentation Manager
1048 --with-mgl use SciTech MGL
1049 --with-microwin use MicroWindows
1051 --with-libpng use libpng (PNG image format)
1052 --with-libjpeg use libjpeg (JPEG file format)
1053 --with-libtiff use libtiff (TIFF file format)
1054 --with-libxpm use libxpm (XPM file format)
1055 --with-libmspack use libmspack (CHM help files loading)
1056 --with-sdl use SDL for audio on Unix
1057 --with-opengl use OpenGL (or Mesa)
1058 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1059 --with-regex enable support for wxRegEx class
1060 --with-zlib use zlib for LZW compression
1061 --with-odbc use the IODBC and wxODBC classes
1062 --with-expat enable XML support using expat parser
1063 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1064 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1065 --with-x use the X Window System
1066 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1067 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1068 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1070 Some influential environment variables:
1071 CC C compiler command
1072 CFLAGS C compiler flags
1073 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1074 nonstandard directory <lib dir>
1075 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1076 headers in a nonstandard directory <include dir>
1078 CXX C++ compiler command
1079 CXXFLAGS C++ compiler flags
1080 CXXCPP C++ preprocessor
1082 Use these variables to override the choices made by `configure' or to help
1083 it to find libraries and programs with nonstandard names/locations.
1085 Report bugs to <wx-dev@lists.wxwindows.org>.
1089 if test "$ac_init_help" = "recursive"; then
1090 # If there are subdirs, report their specific --help.
1092 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1093 test -d $ac_dir || continue
1096 if test "$ac_dir" != .; then
1097 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1098 # A "../" for each directory in $ac_dir_suffix.
1099 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1101 ac_dir_suffix= ac_top_builddir=
1105 .) # No --srcdir option. We are building in place.
1107 if test -z "$ac_top_builddir"; then
1110 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1112 [\\/]* | ?:[\\/]* ) # Absolute path.
1113 ac_srcdir=$srcdir$ac_dir_suffix;
1114 ac_top_srcdir=$srcdir ;;
1116 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1117 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1119 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1121 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1122 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1123 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1124 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1127 # Check for guested configure; otherwise get Cygnus style configure.
1128 if test -f $ac_srcdir/configure.gnu; then
1130 $SHELL $ac_srcdir/configure.gnu --help=recursive
1131 elif test -f $ac_srcdir/configure; then
1133 $SHELL $ac_srcdir/configure --help=recursive
1134 elif test -f $ac_srcdir/configure.ac ||
1135 test -f $ac_srcdir/configure.in; then
1137 $ac_configure --help
1139 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1145 test -n "$ac_init_help" && exit 0
1146 if $ac_init_version; then
1148 wxWindows configure 2.5.1
1149 generated by GNU Autoconf 2.57
1151 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1152 Free Software Foundation, Inc.
1153 This configure script is free software; the Free Software Foundation
1154 gives unlimited permission to copy, distribute and modify it.
1160 This file contains any messages produced by compilers while
1161 running configure, to aid debugging if configure makes a mistake.
1163 It was created by wxWindows $as_me 2.5.1, which was
1164 generated by GNU Autoconf 2.57. Invocation command line was
1175 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1176 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1177 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1178 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1179 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1181 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1182 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1184 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1185 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1186 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1187 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1188 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1189 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1190 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1198 test -z "$as_dir" && as_dir=.
1199 echo "PATH: $as_dir"
1214 # Keep a trace of the command line.
1215 # Strip out --no-create and --no-recursion so they do not pile up.
1216 # Strip out --silent because we don't want to record it for future runs.
1217 # Also quote any args containing shell meta-characters.
1218 # Make two passes to allow for proper duplicate-argument suppression.
1223 ac_must_keep_next=false
1229 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1230 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1231 | -silent | --silent | --silen | --sile | --sil)
1233 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1234 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1237 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1239 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1240 if test $ac_must_keep_next = true; then
1241 ac_must_keep_next=false # Got value, back to normal.
1244 *=* | --config-cache | -C | -disable-* | --disable-* \
1245 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1246 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1247 | -with-* | --with-* | -without-* | --without-* | --x)
1248 case "$ac_configure_args0 " in
1249 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1252 -* ) ac_must_keep_next=true ;;
1255 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1256 # Get rid of the leading space.
1262 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1263 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1265 # When interrupted or exit'd, cleanup temporary files, and complete
1266 # config.log. We remove comments because anyway the quotes in there
1267 # would cause problems or look ugly.
1268 # WARNING: Be sure not to use single quotes in there, as some shells,
1269 # such as our DU 5.0 friend, will then `close' the trap.
1270 trap 'exit_status=$?
1271 # Save into config.log some information that might help in debugging.
1276 ## ---------------- ##
1277 ## Cache variables. ##
1278 ## ---------------- ##
1281 # The following way of writing the cache mishandles newlines in values,
1284 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1287 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1288 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1292 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1299 ## ----------------- ##
1300 ## Output variables. ##
1301 ## ----------------- ##
1304 for ac_var in $ac_subst_vars
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1311 if test -n "$ac_subst_files"; then
1318 for ac_var in $ac_subst_files
1320 eval ac_val=$`echo $ac_var`
1321 echo "$ac_var='"'"'$ac_val'"'"'"
1326 if test -s confdefs.h; then
1333 sed "/^$/d" confdefs.h | sort
1336 test "$ac_signal" != 0 &&
1337 echo "$as_me: caught signal $ac_signal"
1338 echo "$as_me: exit $exit_status"
1340 rm -f core core.* *.core &&
1341 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1344 for ac_signal in 1 2 13 15; do
1345 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1349 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1350 rm -rf conftest* confdefs.h
1351 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1354 # Predefined preprocessor variables.
1356 cat >>confdefs.h <<_ACEOF
1357 #define PACKAGE_NAME "$PACKAGE_NAME"
1361 cat >>confdefs.h <<_ACEOF
1362 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1366 cat >>confdefs.h <<_ACEOF
1367 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1371 cat >>confdefs.h <<_ACEOF
1372 #define PACKAGE_STRING "$PACKAGE_STRING"
1376 cat >>confdefs.h <<_ACEOF
1377 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1381 # Let the site file select an alternate cache file if it wants to.
1382 # Prefer explicitly selected file to automatically selected ones.
1383 if test -z "$CONFIG_SITE"; then
1384 if test "x$prefix" != xNONE; then
1385 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1387 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1390 for ac_site_file in $CONFIG_SITE; do
1391 if test -r "$ac_site_file"; then
1392 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1393 echo "$as_me: loading site script $ac_site_file" >&6;}
1394 sed 's/^/| /' "$ac_site_file" >&5
1399 if test -r "$cache_file"; then
1400 # Some versions of bash will fail to source /dev/null (special
1401 # files actually), so we avoid doing that.
1402 if test -f "$cache_file"; then
1403 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1404 echo "$as_me: loading cache $cache_file" >&6;}
1406 [\\/]* | ?:[\\/]* ) . $cache_file;;
1407 *) . ./$cache_file;;
1411 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1412 echo "$as_me: creating cache $cache_file" >&6;}
1416 # Check that the precious variables saved in the cache have kept the same
1418 ac_cache_corrupted=false
1419 for ac_var in `(set) 2>&1 |
1420 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1421 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1422 eval ac_new_set=\$ac_env_${ac_var}_set
1423 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1424 eval ac_new_val="\$ac_env_${ac_var}_value"
1425 case $ac_old_set,$ac_new_set in
1427 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1428 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1429 ac_cache_corrupted=: ;;
1431 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1432 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1433 ac_cache_corrupted=: ;;
1436 if test "x$ac_old_val" != "x$ac_new_val"; then
1437 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1438 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1439 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1440 echo "$as_me: former value: $ac_old_val" >&2;}
1441 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1442 echo "$as_me: current value: $ac_new_val" >&2;}
1443 ac_cache_corrupted=:
1446 # Pass precious variables to config.status.
1447 if test "$ac_new_set" = set; then
1449 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1450 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1451 *) ac_arg=$ac_var=$ac_new_val ;;
1453 case " $ac_configure_args " in
1454 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1455 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1459 if $ac_cache_corrupted; then
1460 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1461 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1462 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1463 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1464 { (exit 1); exit 1; }; }
1468 ac_cpp='$CPP $CPPFLAGS'
1469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1503 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1504 if test -f $ac_dir/install-sh; then
1506 ac_install_sh="$ac_aux_dir/install-sh -c"
1508 elif test -f $ac_dir/install.sh; then
1510 ac_install_sh="$ac_aux_dir/install.sh -c"
1512 elif test -f $ac_dir/shtool; then
1514 ac_install_sh="$ac_aux_dir/shtool install -c"
1518 if test -z "$ac_aux_dir"; then
1519 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1520 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1521 { (exit 1); exit 1; }; }
1523 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1524 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1525 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1527 # Make sure we can run config.sub.
1528 $ac_config_sub sun4 >/dev/null 2>&1 ||
1529 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1530 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1531 { (exit 1); exit 1; }; }
1533 echo "$as_me:$LINENO: checking build system type" >&5
1534 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1535 if test "${ac_cv_build+set}" = set; then
1536 echo $ECHO_N "(cached) $ECHO_C" >&6
1538 ac_cv_build_alias=$build_alias
1539 test -z "$ac_cv_build_alias" &&
1540 ac_cv_build_alias=`$ac_config_guess`
1541 test -z "$ac_cv_build_alias" &&
1542 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1543 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1544 { (exit 1); exit 1; }; }
1545 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1546 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1547 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1548 { (exit 1); exit 1; }; }
1551 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1552 echo "${ECHO_T}$ac_cv_build" >&6
1554 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1555 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1556 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1559 echo "$as_me:$LINENO: checking host system type" >&5
1560 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1561 if test "${ac_cv_host+set}" = set; then
1562 echo $ECHO_N "(cached) $ECHO_C" >&6
1564 ac_cv_host_alias=$host_alias
1565 test -z "$ac_cv_host_alias" &&
1566 ac_cv_host_alias=$ac_cv_build_alias
1567 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1568 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1569 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1570 { (exit 1); exit 1; }; }
1573 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1574 echo "${ECHO_T}$ac_cv_host" >&6
1576 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1577 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1578 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1581 echo "$as_me:$LINENO: checking target system type" >&5
1582 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1583 if test "${ac_cv_target+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 ac_cv_target_alias=$target_alias
1587 test "x$ac_cv_target_alias" = "x" &&
1588 ac_cv_target_alias=$ac_cv_host_alias
1589 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1590 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1591 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1592 { (exit 1); exit 1; }; }
1595 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1596 echo "${ECHO_T}$ac_cv_target" >&6
1597 target=$ac_cv_target
1598 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1599 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1600 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1603 # The aliases save the names the user supplied, while $host etc.
1604 # will get canonicalized.
1605 test -n "$target_alias" &&
1606 test "$program_prefix$program_suffix$program_transform_name" = \
1608 program_prefix=${target_alias}-
1612 WX_MAJOR_VERSION_NUMBER=2
1613 WX_MINOR_VERSION_NUMBER=5
1616 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1617 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1619 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1635 USE_BSD= USE_DARWIN= USE_FREEBSD=
1641 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1647 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1649 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1651 DEFAULT_wxUSE_COCOA=0
1655 DEFAULT_wxUSE_MICROWIN=0
1656 DEFAULT_wxUSE_MOTIF=0
1661 DEFAULT_DEFAULT_wxUSE_COCOA=0
1662 DEFAULT_DEFAULT_wxUSE_GTK=0
1663 DEFAULT_DEFAULT_wxUSE_MAC=0
1664 DEFAULT_DEFAULT_wxUSE_MGL=0
1665 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1666 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1667 DEFAULT_DEFAULT_wxUSE_MSW=0
1668 DEFAULT_DEFAULT_wxUSE_PM=0
1669 DEFAULT_DEFAULT_wxUSE_X11=0
1674 SAMPLES_RPATH_POSTLINK=
1679 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1680 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1682 cat >>confdefs.h <<\_ACEOF
1689 cat >>confdefs.h <<\_ACEOF
1694 if test "x$TMP" = "xalpha"; then
1696 cat >>confdefs.h <<\_ACEOF
1701 DEFAULT_DEFAULT_wxUSE_GTK=1
1705 cat >>confdefs.h <<\_ACEOF
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 -Zsysv-signals"
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_ARCHITECTURE=no
2058 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2059 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2061 DEFAULT_wxUSE_RESOURCES=no
2062 DEFAULT_wxUSE_CONSTRAINTS=no
2063 DEFAULT_wxUSE_IPC=no
2064 DEFAULT_wxUSE_HELP=no
2065 DEFAULT_wxUSE_MS_HTML_HELP=no
2066 DEFAULT_wxUSE_WXHTML_HELP=no
2067 DEFAULT_wxUSE_TREELAYOUT=no
2068 DEFAULT_wxUSE_METAFILE=no
2069 DEFAULT_wxUSE_MIMETYPE=no
2070 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2071 DEFAULT_wxUSE_PROTOCOL=no
2072 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2073 DEFAULT_wxUSE_PROTOCOL_FTP=no
2074 DEFAULT_wxUSE_PROTOCOL_FILE=no
2075 DEFAULT_wxUSE_URL=no
2077 DEFAULT_wxUSE_COMMONDLGS=no
2078 DEFAULT_wxUSE_CHOICEDLG=no
2079 DEFAULT_wxUSE_COLOURDLG=no
2080 DEFAULT_wxUSE_DIRDLG=no
2081 DEFAULT_wxUSE_FILEDLG=no
2082 DEFAULT_wxUSE_FINDREPLDLG=no
2083 DEFAULT_wxUSE_FONTDLG=no
2084 DEFAULT_wxUSE_MSGDLG=no
2085 DEFAULT_wxUSE_NUMBERDLG=no
2086 DEFAULT_wxUSE_TEXTDLG=no
2087 DEFAULT_wxUSE_SPLASH=no
2088 DEFAULT_wxUSE_STARTUP_TIPS=no
2089 DEFAULT_wxUSE_PROGRESSDLG=no
2090 DEFAULT_wxUSE_WIZARDDLG=no
2092 DEFAULT_wxUSE_MENUS=no
2093 DEFAULT_wxUSE_MINIFRAME=no
2094 DEFAULT_wxUSE_HTML=no
2095 DEFAULT_wxUSE_FILESYSTEM=no
2096 DEFAULT_wxUSE_FS_INET=no
2097 DEFAULT_wxUSE_FS_ZIP=no
2098 DEFAULT_wxUSE_BUSYINFO=no
2099 DEFAULT_wxUSE_ZIPSTREAM=no
2100 DEFAULT_wxUSE_GZSTREAM=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_ARCHITECTURE=yes
2241 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2242 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2244 DEFAULT_wxUSE_RESOURCES=no
2245 DEFAULT_wxUSE_CONSTRAINTS=yes
2246 DEFAULT_wxUSE_IPC=yes
2247 DEFAULT_wxUSE_HELP=yes
2248 DEFAULT_wxUSE_MS_HTML_HELP=yes
2249 DEFAULT_wxUSE_WXHTML_HELP=yes
2250 DEFAULT_wxUSE_TREELAYOUT=yes
2251 DEFAULT_wxUSE_METAFILE=yes
2252 DEFAULT_wxUSE_MIMETYPE=yes
2253 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2254 DEFAULT_wxUSE_PROTOCOL=yes
2255 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2256 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2257 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2258 DEFAULT_wxUSE_URL=yes
2260 DEFAULT_wxUSE_COMMONDLGS=yes
2261 DEFAULT_wxUSE_CHOICEDLG=yes
2262 DEFAULT_wxUSE_COLOURDLG=yes
2263 DEFAULT_wxUSE_DIRDLG=yes
2264 DEFAULT_wxUSE_FILEDLG=yes
2265 DEFAULT_wxUSE_FINDREPLDLG=yes
2266 DEFAULT_wxUSE_FONTDLG=yes
2267 DEFAULT_wxUSE_MSGDLG=yes
2268 DEFAULT_wxUSE_NUMBERDLG=yes
2269 DEFAULT_wxUSE_TEXTDLG=yes
2270 DEFAULT_wxUSE_SPLASH=yes
2271 DEFAULT_wxUSE_STARTUP_TIPS=yes
2272 DEFAULT_wxUSE_PROGRESSDLG=yes
2273 DEFAULT_wxUSE_WIZARDDLG=yes
2275 DEFAULT_wxUSE_MENUS=yes
2276 DEFAULT_wxUSE_MINIFRAME=yes
2277 DEFAULT_wxUSE_HTML=yes
2278 DEFAULT_wxUSE_FILESYSTEM=yes
2279 DEFAULT_wxUSE_FS_INET=yes
2280 DEFAULT_wxUSE_FS_ZIP=yes
2281 DEFAULT_wxUSE_BUSYINFO=yes
2282 DEFAULT_wxUSE_ZIPSTREAM=yes
2283 DEFAULT_wxUSE_GZSTREAM=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=no
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
3515 if test "$wxUSE_DEBUG" = "yes"; then
3516 DEFAULT_wxUSE_DEBUG_FLAG=yes
3517 DEFAULT_wxUSE_DEBUG_INFO=yes
3519 elif test "$wxUSE_DEBUG" = "no"; then
3520 DEFAULT_wxUSE_DEBUG_FLAG=no
3521 DEFAULT_wxUSE_DEBUG_INFO=no
3527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3528 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3530 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3531 if test "${enable_debug_flag+set}" = set; then
3532 enableval="$enable_debug_flag"
3534 if test "$enableval" = yes; then
3535 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3537 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3542 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3543 if test "x$LINE" != x ; then
3544 eval "DEFAULT_$LINE"
3549 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3553 eval "$ac_cv_use_debug_flag"
3554 if test "$no_cache" != 1; then
3555 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3558 if test "$wxUSE_DEBUG_FLAG" = yes; then
3559 echo "$as_me:$LINENO: result: yes" >&5
3560 echo "${ECHO_T}yes" >&6
3562 echo "$as_me:$LINENO: result: no" >&5
3563 echo "${ECHO_T}no" >&6
3568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3569 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3571 # Check whether --enable-debug_info or --disable-debug_info was given.
3572 if test "${enable_debug_info+set}" = set; then
3573 enableval="$enable_debug_info"
3575 if test "$enableval" = yes; then
3576 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3578 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3583 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3584 if test "x$LINE" != x ; then
3585 eval "DEFAULT_$LINE"
3590 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3594 eval "$ac_cv_use_debug_info"
3595 if test "$no_cache" != 1; then
3596 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3599 if test "$wxUSE_DEBUG_INFO" = yes; then
3600 echo "$as_me:$LINENO: result: yes" >&5
3601 echo "${ECHO_T}yes" >&6
3603 echo "$as_me:$LINENO: result: no" >&5
3604 echo "${ECHO_T}no" >&6
3609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3610 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3612 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3613 if test "${enable_debug_gdb+set}" = set; then
3614 enableval="$enable_debug_gdb"
3616 if test "$enableval" = yes; then
3617 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3619 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3624 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3625 if test "x$LINE" != x ; then
3626 eval "DEFAULT_$LINE"
3631 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3635 eval "$ac_cv_use_debug_gdb"
3636 if test "$no_cache" != 1; then
3637 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3640 if test "$wxUSE_DEBUG_GDB" = yes; then
3641 echo "$as_me:$LINENO: result: yes" >&5
3642 echo "${ECHO_T}yes" >&6
3644 echo "$as_me:$LINENO: result: no" >&5
3645 echo "${ECHO_T}no" >&6
3650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3651 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3653 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3654 if test "${enable_debug_cntxt+set}" = set; then
3655 enableval="$enable_debug_cntxt"
3657 if test "$enableval" = yes; then
3658 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3660 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3665 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3666 if test "x$LINE" != x ; then
3667 eval "DEFAULT_$LINE"
3672 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3676 eval "$ac_cv_use_debug_cntxt"
3677 if test "$no_cache" != 1; then
3678 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3681 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3682 echo "$as_me:$LINENO: result: yes" >&5
3683 echo "${ECHO_T}yes" >&6
3685 echo "$as_me:$LINENO: result: no" >&5
3686 echo "${ECHO_T}no" >&6
3691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3692 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3694 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3695 if test "${enable_mem_tracing+set}" = set; then
3696 enableval="$enable_mem_tracing"
3698 if test "$enableval" = yes; then
3699 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3701 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3706 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3707 if test "x$LINE" != x ; then
3708 eval "DEFAULT_$LINE"
3713 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3717 eval "$ac_cv_use_mem_tracing"
3718 if test "$no_cache" != 1; then
3719 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3722 if test "$wxUSE_MEM_TRACING" = yes; then
3723 echo "$as_me:$LINENO: result: yes" >&5
3724 echo "${ECHO_T}yes" >&6
3726 echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6
3732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3733 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3735 # Check whether --enable-profile or --disable-profile was given.
3736 if test "${enable_profile+set}" = set; then
3737 enableval="$enable_profile"
3739 if test "$enableval" = yes; then
3740 ac_cv_use_profile='wxUSE_PROFILE=yes'
3742 ac_cv_use_profile='wxUSE_PROFILE=no'
3747 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3748 if test "x$LINE" != x ; then
3749 eval "DEFAULT_$LINE"
3754 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3758 eval "$ac_cv_use_profile"
3759 if test "$no_cache" != 1; then
3760 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3763 if test "$wxUSE_PROFILE" = yes; then
3764 echo "$as_me:$LINENO: result: yes" >&5
3765 echo "${ECHO_T}yes" >&6
3767 echo "$as_me:$LINENO: result: no" >&5
3768 echo "${ECHO_T}no" >&6
3773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3774 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3776 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3777 if test "${enable_no_rtti+set}" = set; then
3778 enableval="$enable_no_rtti"
3780 if test "$enableval" = yes; then
3781 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3783 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3788 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3789 if test "x$LINE" != x ; then
3790 eval "DEFAULT_$LINE"
3795 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3799 eval "$ac_cv_use_no_rtti"
3800 if test "$no_cache" != 1; then
3801 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3804 if test "$wxUSE_NO_RTTI" = yes; then
3805 echo "$as_me:$LINENO: result: yes" >&5
3806 echo "${ECHO_T}yes" >&6
3808 echo "$as_me:$LINENO: result: no" >&5
3809 echo "${ECHO_T}no" >&6
3814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3815 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3817 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3818 if test "${enable_no_exceptions+set}" = set; then
3819 enableval="$enable_no_exceptions"
3821 if test "$enableval" = yes; then
3822 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3824 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3829 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3830 if test "x$LINE" != x ; then
3831 eval "DEFAULT_$LINE"
3836 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3840 eval "$ac_cv_use_no_exceptions"
3841 if test "$no_cache" != 1; then
3842 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3845 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3846 echo "$as_me:$LINENO: result: yes" >&5
3847 echo "${ECHO_T}yes" >&6
3849 echo "$as_me:$LINENO: result: no" >&5
3850 echo "${ECHO_T}no" >&6
3855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3856 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3858 # Check whether --enable-permissive or --disable-permissive was given.
3859 if test "${enable_permissive+set}" = set; then
3860 enableval="$enable_permissive"
3862 if test "$enableval" = yes; then
3863 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3865 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3870 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3871 if test "x$LINE" != x ; then
3872 eval "DEFAULT_$LINE"
3877 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3881 eval "$ac_cv_use_permissive"
3882 if test "$no_cache" != 1; then
3883 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3886 if test "$wxUSE_PERMISSIVE" = yes; then
3887 echo "$as_me:$LINENO: result: yes" >&5
3888 echo "${ECHO_T}yes" >&6
3890 echo "$as_me:$LINENO: result: no" >&5
3891 echo "${ECHO_T}no" >&6
3896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3897 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3899 # Check whether --enable-no_deps or --disable-no_deps was given.
3900 if test "${enable_no_deps+set}" = set; then
3901 enableval="$enable_no_deps"
3903 if test "$enableval" = yes; then
3904 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3906 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3911 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3912 if test "x$LINE" != x ; then
3913 eval "DEFAULT_$LINE"
3918 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3922 eval "$ac_cv_use_no_deps"
3923 if test "$no_cache" != 1; then
3924 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3927 if test "$wxUSE_NO_DEPS" = yes; then
3928 echo "$as_me:$LINENO: result: yes" >&5
3929 echo "${ECHO_T}yes" >&6
3931 echo "$as_me:$LINENO: result: no" >&5
3932 echo "${ECHO_T}no" >&6
3938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3939 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3941 # Check whether --enable-compat22 or --disable-compat22 was given.
3942 if test "${enable_compat22+set}" = set; then
3943 enableval="$enable_compat22"
3945 if test "$enableval" = yes; then
3946 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3948 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3953 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3954 if test "x$LINE" != x ; then
3955 eval "DEFAULT_$LINE"
3960 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3964 eval "$ac_cv_use_compat22"
3965 if test "$no_cache" != 1; then
3966 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3969 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3970 echo "$as_me:$LINENO: result: yes" >&5
3971 echo "${ECHO_T}yes" >&6
3973 echo "$as_me:$LINENO: result: no" >&5
3974 echo "${ECHO_T}no" >&6
3978 enablestring=disable
3979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3980 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3982 # Check whether --enable-compat24 or --disable-compat24 was given.
3983 if test "${enable_compat24+set}" = set; then
3984 enableval="$enable_compat24"
3986 if test "$enableval" = yes; then
3987 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3989 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3994 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3995 if test "x$LINE" != x ; then
3996 eval "DEFAULT_$LINE"
4001 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4005 eval "$ac_cv_use_compat24"
4006 if test "$no_cache" != 1; then
4007 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4010 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4011 echo "$as_me:$LINENO: result: yes" >&5
4012 echo "${ECHO_T}yes" >&6
4014 echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6
4019 # Check whether --enable-rpath or --disable-rpath was given.
4020 if test "${enable_rpath+set}" = set; then
4021 enableval="$enable_rpath"
4022 wxRPATH_DIR="$enableval"
4025 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4026 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
4033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4034 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4036 # Check whether --enable-intl or --disable-intl was given.
4037 if test "${enable_intl+set}" = set; then
4038 enableval="$enable_intl"
4040 if test "$enableval" = yes; then
4041 ac_cv_use_intl='wxUSE_INTL=yes'
4043 ac_cv_use_intl='wxUSE_INTL=no'
4048 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4049 if test "x$LINE" != x ; then
4050 eval "DEFAULT_$LINE"
4055 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4059 eval "$ac_cv_use_intl"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4064 if test "$wxUSE_INTL" = yes; then
4065 echo "$as_me:$LINENO: result: yes" >&5
4066 echo "${ECHO_T}yes" >&6
4068 echo "$as_me:$LINENO: result: no" >&5
4069 echo "${ECHO_T}no" >&6
4074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4075 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4077 # Check whether --enable-config or --disable-config was given.
4078 if test "${enable_config+set}" = set; then
4079 enableval="$enable_config"
4081 if test "$enableval" = yes; then
4082 ac_cv_use_config='wxUSE_CONFIG=yes'
4084 ac_cv_use_config='wxUSE_CONFIG=no'
4089 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4090 if test "x$LINE" != x ; then
4091 eval "DEFAULT_$LINE"
4096 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4100 eval "$ac_cv_use_config"
4101 if test "$no_cache" != 1; then
4102 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4105 if test "$wxUSE_CONFIG" = yes; then
4106 echo "$as_me:$LINENO: result: yes" >&5
4107 echo "${ECHO_T}yes" >&6
4109 echo "$as_me:$LINENO: result: no" >&5
4110 echo "${ECHO_T}no" >&6
4116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4117 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4119 # Check whether --enable-protocols or --disable-protocols was given.
4120 if test "${enable_protocols+set}" = set; then
4121 enableval="$enable_protocols"
4123 if test "$enableval" = yes; then
4124 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4126 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4131 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4132 if test "x$LINE" != x ; then
4133 eval "DEFAULT_$LINE"
4138 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4142 eval "$ac_cv_use_protocols"
4143 if test "$no_cache" != 1; then
4144 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4147 if test "$wxUSE_PROTOCOL" = yes; then
4148 echo "$as_me:$LINENO: result: yes" >&5
4149 echo "${ECHO_T}yes" >&6
4151 echo "$as_me:$LINENO: result: no" >&5
4152 echo "${ECHO_T}no" >&6
4157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4158 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4160 # Check whether --enable-ftp or --disable-ftp was given.
4161 if test "${enable_ftp+set}" = set; then
4162 enableval="$enable_ftp"
4164 if test "$enableval" = yes; then
4165 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4167 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4172 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4173 if test "x$LINE" != x ; then
4174 eval "DEFAULT_$LINE"
4179 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4183 eval "$ac_cv_use_ftp"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4188 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4189 echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6
4192 echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6
4198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4199 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4201 # Check whether --enable-http or --disable-http was given.
4202 if test "${enable_http+set}" = set; then
4203 enableval="$enable_http"
4205 if test "$enableval" = yes; then
4206 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4208 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4213 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4214 if test "x$LINE" != x ; then
4215 eval "DEFAULT_$LINE"
4220 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4224 eval "$ac_cv_use_http"
4225 if test "$no_cache" != 1; then
4226 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4229 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4230 echo "$as_me:$LINENO: result: yes" >&5
4231 echo "${ECHO_T}yes" >&6
4233 echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6
4239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4240 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4242 # Check whether --enable-fileproto or --disable-fileproto was given.
4243 if test "${enable_fileproto+set}" = set; then
4244 enableval="$enable_fileproto"
4246 if test "$enableval" = yes; then
4247 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4249 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4254 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4255 if test "x$LINE" != x ; then
4256 eval "DEFAULT_$LINE"
4261 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4265 eval "$ac_cv_use_fileproto"
4266 if test "$no_cache" != 1; then
4267 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4270 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4271 echo "$as_me:$LINENO: result: yes" >&5
4272 echo "${ECHO_T}yes" >&6
4274 echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6
4280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4281 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4283 # Check whether --enable-sockets or --disable-sockets was given.
4284 if test "${enable_sockets+set}" = set; then
4285 enableval="$enable_sockets"
4287 if test "$enableval" = yes; then
4288 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4290 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4295 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4296 if test "x$LINE" != x ; then
4297 eval "DEFAULT_$LINE"
4302 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4306 eval "$ac_cv_use_sockets"
4307 if test "$no_cache" != 1; then
4308 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4311 if test "$wxUSE_SOCKETS" = yes; then
4312 echo "$as_me:$LINENO: result: yes" >&5
4313 echo "${ECHO_T}yes" >&6
4315 echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6
4321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4322 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4324 # Check whether --enable-ole or --disable-ole was given.
4325 if test "${enable_ole+set}" = set; then
4326 enableval="$enable_ole"
4328 if test "$enableval" = yes; then
4329 ac_cv_use_ole='wxUSE_OLE=yes'
4331 ac_cv_use_ole='wxUSE_OLE=no'
4336 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4337 if test "x$LINE" != x ; then
4338 eval "DEFAULT_$LINE"
4343 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4347 eval "$ac_cv_use_ole"
4348 if test "$no_cache" != 1; then
4349 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4352 if test "$wxUSE_OLE" = yes; then
4353 echo "$as_me:$LINENO: result: yes" >&5
4354 echo "${ECHO_T}yes" >&6
4356 echo "$as_me:$LINENO: result: no" >&5
4357 echo "${ECHO_T}no" >&6
4362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4363 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4365 # Check whether --enable-dataobj or --disable-dataobj was given.
4366 if test "${enable_dataobj+set}" = set; then
4367 enableval="$enable_dataobj"
4369 if test "$enableval" = yes; then
4370 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4372 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4377 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4378 if test "x$LINE" != x ; then
4379 eval "DEFAULT_$LINE"
4384 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4388 eval "$ac_cv_use_dataobj"
4389 if test "$no_cache" != 1; then
4390 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4393 if test "$wxUSE_DATAOBJ" = yes; then
4394 echo "$as_me:$LINENO: result: yes" >&5
4395 echo "${ECHO_T}yes" >&6
4397 echo "$as_me:$LINENO: result: no" >&5
4398 echo "${ECHO_T}no" >&6
4404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4405 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4407 # Check whether --enable-ipc or --disable-ipc was given.
4408 if test "${enable_ipc+set}" = set; then
4409 enableval="$enable_ipc"
4411 if test "$enableval" = yes; then
4412 ac_cv_use_ipc='wxUSE_IPC=yes'
4414 ac_cv_use_ipc='wxUSE_IPC=no'
4419 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x ; then
4421 eval "DEFAULT_$LINE"
4426 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4430 eval "$ac_cv_use_ipc"
4431 if test "$no_cache" != 1; then
4432 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4435 if test "$wxUSE_IPC" = yes; then
4436 echo "$as_me:$LINENO: result: yes" >&5
4437 echo "${ECHO_T}yes" >&6
4439 echo "$as_me:$LINENO: result: no" >&5
4440 echo "${ECHO_T}no" >&6
4446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4447 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4449 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4450 if test "${enable_apple_ieee+set}" = set; then
4451 enableval="$enable_apple_ieee"
4453 if test "$enableval" = yes; then
4454 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4456 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4461 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4462 if test "x$LINE" != x ; then
4463 eval "DEFAULT_$LINE"
4468 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4472 eval "$ac_cv_use_apple_ieee"
4473 if test "$no_cache" != 1; then
4474 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4477 if test "$wxUSE_APPLE_IEEE" = yes; then
4478 echo "$as_me:$LINENO: result: yes" >&5
4479 echo "${ECHO_T}yes" >&6
4481 echo "$as_me:$LINENO: result: no" >&5
4482 echo "${ECHO_T}no" >&6
4487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4488 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4490 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4491 if test "${enable_catch_segvs+set}" = set; then
4492 enableval="$enable_catch_segvs"
4494 if test "$enableval" = yes; then
4495 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4497 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4502 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4503 if test "x$LINE" != x ; then
4504 eval "DEFAULT_$LINE"
4509 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4513 eval "$ac_cv_use_catch_segvs"
4514 if test "$no_cache" != 1; then
4515 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4518 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4519 echo "$as_me:$LINENO: result: yes" >&5
4520 echo "${ECHO_T}yes" >&6
4522 echo "$as_me:$LINENO: result: no" >&5
4523 echo "${ECHO_T}no" >&6
4528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4529 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4531 # Check whether --enable-cmdline or --disable-cmdline was given.
4532 if test "${enable_cmdline+set}" = set; then
4533 enableval="$enable_cmdline"
4535 if test "$enableval" = yes; then
4536 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4538 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4543 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4544 if test "x$LINE" != x ; then
4545 eval "DEFAULT_$LINE"
4550 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4554 eval "$ac_cv_use_cmdline"
4555 if test "$no_cache" != 1; then
4556 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4559 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4560 echo "$as_me:$LINENO: result: yes" >&5
4561 echo "${ECHO_T}yes" >&6
4563 echo "$as_me:$LINENO: result: no" >&5
4564 echo "${ECHO_T}no" >&6
4569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4570 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4572 # Check whether --enable-datetime or --disable-datetime was given.
4573 if test "${enable_datetime+set}" = set; then
4574 enableval="$enable_datetime"
4576 if test "$enableval" = yes; then
4577 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4579 ac_cv_use_datetime='wxUSE_DATETIME=no'
4584 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4585 if test "x$LINE" != x ; then
4586 eval "DEFAULT_$LINE"
4591 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4595 eval "$ac_cv_use_datetime"
4596 if test "$no_cache" != 1; then
4597 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4600 if test "$wxUSE_DATETIME" = yes; then
4601 echo "$as_me:$LINENO: result: yes" >&5
4602 echo "${ECHO_T}yes" >&6
4604 echo "$as_me:$LINENO: result: no" >&5
4605 echo "${ECHO_T}no" >&6
4610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4611 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4613 # Check whether --enable-dialupman or --disable-dialupman was given.
4614 if test "${enable_dialupman+set}" = set; then
4615 enableval="$enable_dialupman"
4617 if test "$enableval" = yes; then
4618 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4620 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4625 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x ; then
4627 eval "DEFAULT_$LINE"
4632 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4636 eval "$ac_cv_use_dialupman"
4637 if test "$no_cache" != 1; then
4638 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4641 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4642 echo "$as_me:$LINENO: result: yes" >&5
4643 echo "${ECHO_T}yes" >&6
4645 echo "$as_me:$LINENO: result: no" >&5
4646 echo "${ECHO_T}no" >&6
4651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4652 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4654 # Check whether --enable-dynlib or --disable-dynlib was given.
4655 if test "${enable_dynlib+set}" = set; then
4656 enableval="$enable_dynlib"
4658 if test "$enableval" = yes; then
4659 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4661 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4666 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4667 if test "x$LINE" != x ; then
4668 eval "DEFAULT_$LINE"
4673 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4677 eval "$ac_cv_use_dynlib"
4678 if test "$no_cache" != 1; then
4679 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4682 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4683 echo "$as_me:$LINENO: result: yes" >&5
4684 echo "${ECHO_T}yes" >&6
4686 echo "$as_me:$LINENO: result: no" >&5
4687 echo "${ECHO_T}no" >&6
4692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4693 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4695 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4696 if test "${enable_dynamicloader+set}" = set; then
4697 enableval="$enable_dynamicloader"
4699 if test "$enableval" = yes; then
4700 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4702 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4707 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x ; then
4709 eval "DEFAULT_$LINE"
4714 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4718 eval "$ac_cv_use_dynamicloader"
4719 if test "$no_cache" != 1; then
4720 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4723 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4724 echo "$as_me:$LINENO: result: yes" >&5
4725 echo "${ECHO_T}yes" >&6
4727 echo "$as_me:$LINENO: result: no" >&5
4728 echo "${ECHO_T}no" >&6
4733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4734 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4736 # Check whether --enable-exceptions or --disable-exceptions was given.
4737 if test "${enable_exceptions+set}" = set; then
4738 enableval="$enable_exceptions"
4740 if test "$enableval" = yes; then
4741 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4743 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4748 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4749 if test "x$LINE" != x ; then
4750 eval "DEFAULT_$LINE"
4755 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4759 eval "$ac_cv_use_exceptions"
4760 if test "$no_cache" != 1; then
4761 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4764 if test "$wxUSE_EXCEPTIONS" = yes; then
4765 echo "$as_me:$LINENO: result: yes" >&5
4766 echo "${ECHO_T}yes" >&6
4768 echo "$as_me:$LINENO: result: no" >&5
4769 echo "${ECHO_T}no" >&6
4774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4775 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4777 # Check whether --enable-ffile or --disable-ffile was given.
4778 if test "${enable_ffile+set}" = set; then
4779 enableval="$enable_ffile"
4781 if test "$enableval" = yes; then
4782 ac_cv_use_ffile='wxUSE_FFILE=yes'
4784 ac_cv_use_ffile='wxUSE_FFILE=no'
4789 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4790 if test "x$LINE" != x ; then
4791 eval "DEFAULT_$LINE"
4796 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4800 eval "$ac_cv_use_ffile"
4801 if test "$no_cache" != 1; then
4802 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4805 if test "$wxUSE_FFILE" = yes; then
4806 echo "$as_me:$LINENO: result: yes" >&5
4807 echo "${ECHO_T}yes" >&6
4809 echo "$as_me:$LINENO: result: no" >&5
4810 echo "${ECHO_T}no" >&6
4815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4816 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4818 # Check whether --enable-file or --disable-file was given.
4819 if test "${enable_file+set}" = set; then
4820 enableval="$enable_file"
4822 if test "$enableval" = yes; then
4823 ac_cv_use_file='wxUSE_FILE=yes'
4825 ac_cv_use_file='wxUSE_FILE=no'
4830 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4831 if test "x$LINE" != x ; then
4832 eval "DEFAULT_$LINE"
4837 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4841 eval "$ac_cv_use_file"
4842 if test "$no_cache" != 1; then
4843 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4846 if test "$wxUSE_FILE" = yes; then
4847 echo "$as_me:$LINENO: result: yes" >&5
4848 echo "${ECHO_T}yes" >&6
4850 echo "$as_me:$LINENO: result: no" >&5
4851 echo "${ECHO_T}no" >&6
4856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4857 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4859 # Check whether --enable-filesystem or --disable-filesystem was given.
4860 if test "${enable_filesystem+set}" = set; then
4861 enableval="$enable_filesystem"
4863 if test "$enableval" = yes; then
4864 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4866 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4871 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x ; then
4873 eval "DEFAULT_$LINE"
4878 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4882 eval "$ac_cv_use_filesystem"
4883 if test "$no_cache" != 1; then
4884 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4887 if test "$wxUSE_FILESYSTEM" = yes; then
4888 echo "$as_me:$LINENO: result: yes" >&5
4889 echo "${ECHO_T}yes" >&6
4891 echo "$as_me:$LINENO: result: no" >&5
4892 echo "${ECHO_T}no" >&6
4897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4898 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4900 # Check whether --enable-fontmap or --disable-fontmap was given.
4901 if test "${enable_fontmap+set}" = set; then
4902 enableval="$enable_fontmap"
4904 if test "$enableval" = yes; then
4905 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4907 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4912 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4913 if test "x$LINE" != x ; then
4914 eval "DEFAULT_$LINE"
4919 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4923 eval "$ac_cv_use_fontmap"
4924 if test "$no_cache" != 1; then
4925 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4928 if test "$wxUSE_FONTMAP" = yes; then
4929 echo "$as_me:$LINENO: result: yes" >&5
4930 echo "${ECHO_T}yes" >&6
4932 echo "$as_me:$LINENO: result: no" >&5
4933 echo "${ECHO_T}no" >&6
4938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4939 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4941 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4942 if test "${enable_fs_inet+set}" = set; then
4943 enableval="$enable_fs_inet"
4945 if test "$enableval" = yes; then
4946 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4948 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4953 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4954 if test "x$LINE" != x ; then
4955 eval "DEFAULT_$LINE"
4960 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4964 eval "$ac_cv_use_fs_inet"
4965 if test "$no_cache" != 1; then
4966 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4969 if test "$wxUSE_FS_INET" = yes; then
4970 echo "$as_me:$LINENO: result: yes" >&5
4971 echo "${ECHO_T}yes" >&6
4973 echo "$as_me:$LINENO: result: no" >&5
4974 echo "${ECHO_T}no" >&6
4979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4980 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4982 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4983 if test "${enable_fs_zip+set}" = set; then
4984 enableval="$enable_fs_zip"
4986 if test "$enableval" = yes; then
4987 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4989 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4994 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4995 if test "x$LINE" != x ; then
4996 eval "DEFAULT_$LINE"
5001 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5005 eval "$ac_cv_use_fs_zip"
5006 if test "$no_cache" != 1; then
5007 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5010 if test "$wxUSE_FS_ZIP" = yes; then
5011 echo "$as_me:$LINENO: result: yes" >&5
5012 echo "${ECHO_T}yes" >&6
5014 echo "$as_me:$LINENO: result: no" >&5
5015 echo "${ECHO_T}no" >&6
5020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5021 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5023 # Check whether --enable-geometry or --disable-geometry was given.
5024 if test "${enable_geometry+set}" = set; then
5025 enableval="$enable_geometry"
5027 if test "$enableval" = yes; then
5028 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5030 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5035 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5036 if test "x$LINE" != x ; then
5037 eval "DEFAULT_$LINE"
5042 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5046 eval "$ac_cv_use_geometry"
5047 if test "$no_cache" != 1; then
5048 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5051 if test "$wxUSE_GEOMETRY" = yes; then
5052 echo "$as_me:$LINENO: result: yes" >&5
5053 echo "${ECHO_T}yes" >&6
5055 echo "$as_me:$LINENO: result: no" >&5
5056 echo "${ECHO_T}no" >&6
5061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5062 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5064 # Check whether --enable-log or --disable-log was given.
5065 if test "${enable_log+set}" = set; then
5066 enableval="$enable_log"
5068 if test "$enableval" = yes; then
5069 ac_cv_use_log='wxUSE_LOG=yes'
5071 ac_cv_use_log='wxUSE_LOG=no'
5076 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5077 if test "x$LINE" != x ; then
5078 eval "DEFAULT_$LINE"
5083 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5087 eval "$ac_cv_use_log"
5088 if test "$no_cache" != 1; then
5089 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5092 if test "$wxUSE_LOG" = yes; then
5093 echo "$as_me:$LINENO: result: yes" >&5
5094 echo "${ECHO_T}yes" >&6
5096 echo "$as_me:$LINENO: result: no" >&5
5097 echo "${ECHO_T}no" >&6
5102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5103 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5105 # Check whether --enable-longlong or --disable-longlong was given.
5106 if test "${enable_longlong+set}" = set; then
5107 enableval="$enable_longlong"
5109 if test "$enableval" = yes; then
5110 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5112 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5117 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5118 if test "x$LINE" != x ; then
5119 eval "DEFAULT_$LINE"
5124 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5128 eval "$ac_cv_use_longlong"
5129 if test "$no_cache" != 1; then
5130 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5133 if test "$wxUSE_LONGLONG" = yes; then
5134 echo "$as_me:$LINENO: result: yes" >&5
5135 echo "${ECHO_T}yes" >&6
5137 echo "$as_me:$LINENO: result: no" >&5
5138 echo "${ECHO_T}no" >&6
5143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5144 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5146 # Check whether --enable-mimetype or --disable-mimetype was given.
5147 if test "${enable_mimetype+set}" = set; then
5148 enableval="$enable_mimetype"
5150 if test "$enableval" = yes; then
5151 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5153 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5158 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5159 if test "x$LINE" != x ; then
5160 eval "DEFAULT_$LINE"
5165 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5169 eval "$ac_cv_use_mimetype"
5170 if test "$no_cache" != 1; then
5171 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5174 if test "$wxUSE_MIMETYPE" = yes; then
5175 echo "$as_me:$LINENO: result: yes" >&5
5176 echo "${ECHO_T}yes" >&6
5178 echo "$as_me:$LINENO: result: no" >&5
5179 echo "${ECHO_T}no" >&6
5184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5185 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5187 # Check whether --enable-mslu or --disable-mslu was given.
5188 if test "${enable_mslu+set}" = set; then
5189 enableval="$enable_mslu"
5191 if test "$enableval" = yes; then
5192 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5194 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5199 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5200 if test "x$LINE" != x ; then
5201 eval "DEFAULT_$LINE"
5206 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5210 eval "$ac_cv_use_mslu"
5211 if test "$no_cache" != 1; then
5212 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5215 if test "$wxUSE_UNICODE_MSLU" = yes; then
5216 echo "$as_me:$LINENO: result: yes" >&5
5217 echo "${ECHO_T}yes" >&6
5219 echo "$as_me:$LINENO: result: no" >&5
5220 echo "${ECHO_T}no" >&6
5225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5226 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5228 # Check whether --enable-snglinst or --disable-snglinst was given.
5229 if test "${enable_snglinst+set}" = set; then
5230 enableval="$enable_snglinst"
5232 if test "$enableval" = yes; then
5233 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5235 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5240 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5241 if test "x$LINE" != x ; then
5242 eval "DEFAULT_$LINE"
5247 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5251 eval "$ac_cv_use_snglinst"
5252 if test "$no_cache" != 1; then
5253 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5256 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5257 echo "$as_me:$LINENO: result: yes" >&5
5258 echo "${ECHO_T}yes" >&6
5260 echo "$as_me:$LINENO: result: no" >&5
5261 echo "${ECHO_T}no" >&6
5266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5267 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5269 # Check whether --enable-streams or --disable-streams was given.
5270 if test "${enable_streams+set}" = set; then
5271 enableval="$enable_streams"
5273 if test "$enableval" = yes; then
5274 ac_cv_use_streams='wxUSE_STREAMS=yes'
5276 ac_cv_use_streams='wxUSE_STREAMS=no'
5281 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5282 if test "x$LINE" != x ; then
5283 eval "DEFAULT_$LINE"
5288 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5292 eval "$ac_cv_use_streams"
5293 if test "$no_cache" != 1; then
5294 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5297 if test "$wxUSE_STREAMS" = yes; then
5298 echo "$as_me:$LINENO: result: yes" >&5
5299 echo "${ECHO_T}yes" >&6
5301 echo "$as_me:$LINENO: result: no" >&5
5302 echo "${ECHO_T}no" >&6
5307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5310 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5311 if test "${enable_std_iostreams+set}" = set; then
5312 enableval="$enable_std_iostreams"
5314 if test "$enableval" = yes; then
5315 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5317 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5322 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5323 if test "x$LINE" != x ; then
5324 eval "DEFAULT_$LINE"
5329 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5333 eval "$ac_cv_use_std_iostreams"
5334 if test "$no_cache" != 1; then
5335 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5338 if test "$wxUSE_STD_IOSTREAM" = yes; then
5339 echo "$as_me:$LINENO: result: yes" >&5
5340 echo "${ECHO_T}yes" >&6
5342 echo "$as_me:$LINENO: result: no" >&5
5343 echo "${ECHO_T}no" >&6
5348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5349 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5351 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5352 if test "${enable_stopwatch+set}" = set; then
5353 enableval="$enable_stopwatch"
5355 if test "$enableval" = yes; then
5356 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5358 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5363 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5364 if test "x$LINE" != x ; then
5365 eval "DEFAULT_$LINE"
5370 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5374 eval "$ac_cv_use_stopwatch"
5375 if test "$no_cache" != 1; then
5376 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5379 if test "$wxUSE_STOPWATCH" = yes; then
5380 echo "$as_me:$LINENO: result: yes" >&5
5381 echo "${ECHO_T}yes" >&6
5383 echo "$as_me:$LINENO: result: no" >&5
5384 echo "${ECHO_T}no" >&6
5389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5390 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5392 # Check whether --enable-system_options or --disable-system_options was given.
5393 if test "${enable_system_options+set}" = set; then
5394 enableval="$enable_system_options"
5396 if test "$enableval" = yes; then
5397 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5399 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5404 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5405 if test "x$LINE" != x ; then
5406 eval "DEFAULT_$LINE"
5411 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5415 eval "$ac_cv_use_system_options"
5416 if test "$no_cache" != 1; then
5417 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5420 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5421 echo "$as_me:$LINENO: result: yes" >&5
5422 echo "${ECHO_T}yes" >&6
5424 echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6
5430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5431 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5433 # Check whether --enable-textbuf or --disable-textbuf was given.
5434 if test "${enable_textbuf+set}" = set; then
5435 enableval="$enable_textbuf"
5437 if test "$enableval" = yes; then
5438 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5440 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5445 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5446 if test "x$LINE" != x ; then
5447 eval "DEFAULT_$LINE"
5452 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5456 eval "$ac_cv_use_textbuf"
5457 if test "$no_cache" != 1; then
5458 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5461 if test "$wxUSE_TEXTBUFFER" = yes; then
5462 echo "$as_me:$LINENO: result: yes" >&5
5463 echo "${ECHO_T}yes" >&6
5465 echo "$as_me:$LINENO: result: no" >&5
5466 echo "${ECHO_T}no" >&6
5471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5472 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5474 # Check whether --enable-textfile or --disable-textfile was given.
5475 if test "${enable_textfile+set}" = set; then
5476 enableval="$enable_textfile"
5478 if test "$enableval" = yes; then
5479 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5481 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5486 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5487 if test "x$LINE" != x ; then
5488 eval "DEFAULT_$LINE"
5493 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5497 eval "$ac_cv_use_textfile"
5498 if test "$no_cache" != 1; then
5499 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5502 if test "$wxUSE_TEXTFILE" = yes; then
5503 echo "$as_me:$LINENO: result: yes" >&5
5504 echo "${ECHO_T}yes" >&6
5506 echo "$as_me:$LINENO: result: no" >&5
5507 echo "${ECHO_T}no" >&6
5512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5513 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5515 # Check whether --enable-timer or --disable-timer was given.
5516 if test "${enable_timer+set}" = set; then
5517 enableval="$enable_timer"
5519 if test "$enableval" = yes; then
5520 ac_cv_use_timer='wxUSE_TIMER=yes'
5522 ac_cv_use_timer='wxUSE_TIMER=no'
5527 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5528 if test "x$LINE" != x ; then
5529 eval "DEFAULT_$LINE"
5534 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5538 eval "$ac_cv_use_timer"
5539 if test "$no_cache" != 1; then
5540 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5543 if test "$wxUSE_TIMER" = yes; then
5544 echo "$as_me:$LINENO: result: yes" >&5
5545 echo "${ECHO_T}yes" >&6
5547 echo "$as_me:$LINENO: result: no" >&5
5548 echo "${ECHO_T}no" >&6
5553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5554 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5556 # Check whether --enable-unicode or --disable-unicode was given.
5557 if test "${enable_unicode+set}" = set; then
5558 enableval="$enable_unicode"
5560 if test "$enableval" = yes; then
5561 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5563 ac_cv_use_unicode='wxUSE_UNICODE=no'
5568 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5569 if test "x$LINE" != x ; then
5570 eval "DEFAULT_$LINE"
5575 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5579 eval "$ac_cv_use_unicode"
5580 if test "$no_cache" != 1; then
5581 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5584 if test "$wxUSE_UNICODE" = yes; then
5585 echo "$as_me:$LINENO: result: yes" >&5
5586 echo "${ECHO_T}yes" >&6
5588 echo "$as_me:$LINENO: result: no" >&5
5589 echo "${ECHO_T}no" >&6
5594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5595 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5597 # Check whether --enable-sound or --disable-sound was given.
5598 if test "${enable_sound+set}" = set; then
5599 enableval="$enable_sound"
5601 if test "$enableval" = yes; then
5602 ac_cv_use_sound='wxUSE_SOUND=yes'
5604 ac_cv_use_sound='wxUSE_SOUND=no'
5609 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5610 if test "x$LINE" != x ; then
5611 eval "DEFAULT_$LINE"
5616 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5620 eval "$ac_cv_use_sound"
5621 if test "$no_cache" != 1; then
5622 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5625 if test "$wxUSE_SOUND" = yes; then
5626 echo "$as_me:$LINENO: result: yes" >&5
5627 echo "${ECHO_T}yes" >&6
5629 echo "$as_me:$LINENO: result: no" >&5
5630 echo "${ECHO_T}no" >&6
5635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5636 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5638 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5639 if test "${enable_wxprintfv+set}" = set; then
5640 enableval="$enable_wxprintfv"
5642 if test "$enableval" = yes; then
5643 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5645 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5650 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5651 if test "x$LINE" != x ; then
5652 eval "DEFAULT_$LINE"
5657 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5661 eval "$ac_cv_use_wxprintfv"
5662 if test "$no_cache" != 1; then
5663 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5666 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5667 echo "$as_me:$LINENO: result: yes" >&5
5668 echo "${ECHO_T}yes" >&6
5670 echo "$as_me:$LINENO: result: no" >&5
5671 echo "${ECHO_T}no" >&6
5676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5677 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5679 # Check whether --enable-zipstream or --disable-zipstream was given.
5680 if test "${enable_zipstream+set}" = set; then
5681 enableval="$enable_zipstream"
5683 if test "$enableval" = yes; then
5684 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5686 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5691 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5692 if test "x$LINE" != x ; then
5693 eval "DEFAULT_$LINE"
5698 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5702 eval "$ac_cv_use_zipstream"
5703 if test "$no_cache" != 1; then
5704 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5707 if test "$wxUSE_ZIPSTREAM" = yes; then
5708 echo "$as_me:$LINENO: result: yes" >&5
5709 echo "${ECHO_T}yes" >&6
5711 echo "$as_me:$LINENO: result: no" >&5
5712 echo "${ECHO_T}no" >&6
5717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5720 # Check whether --enable-gzstream or --disable-gzstream was given.
5721 if test "${enable_gzstream+set}" = set; then
5722 enableval="$enable_gzstream"
5724 if test "$enableval" = yes; then
5725 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5727 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5732 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5733 if test "x$LINE" != x ; then
5734 eval "DEFAULT_$LINE"
5739 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5743 eval "$ac_cv_use_gzstream"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5748 if test "$wxUSE_GZSTREAM" = yes; then
5749 echo "$as_me:$LINENO: result: yes" >&5
5750 echo "${ECHO_T}yes" >&6
5752 echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6
5759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5760 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5762 # Check whether --enable-url or --disable-url was given.
5763 if test "${enable_url+set}" = set; then
5764 enableval="$enable_url"
5766 if test "$enableval" = yes; then
5767 ac_cv_use_url='wxUSE_URL=yes'
5769 ac_cv_use_url='wxUSE_URL=no'
5774 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5775 if test "x$LINE" != x ; then
5776 eval "DEFAULT_$LINE"
5781 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5785 eval "$ac_cv_use_url"
5786 if test "$no_cache" != 1; then
5787 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5790 if test "$wxUSE_URL" = yes; then
5791 echo "$as_me:$LINENO: result: yes" >&5
5792 echo "${ECHO_T}yes" >&6
5794 echo "$as_me:$LINENO: result: no" >&5
5795 echo "${ECHO_T}no" >&6
5800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5801 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5803 # Check whether --enable-protocol or --disable-protocol was given.
5804 if test "${enable_protocol+set}" = set; then
5805 enableval="$enable_protocol"
5807 if test "$enableval" = yes; then
5808 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5810 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5815 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5816 if test "x$LINE" != x ; then
5817 eval "DEFAULT_$LINE"
5822 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5826 eval "$ac_cv_use_protocol"
5827 if test "$no_cache" != 1; then
5828 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5831 if test "$wxUSE_PROTOCOL" = yes; then
5832 echo "$as_me:$LINENO: result: yes" >&5
5833 echo "${ECHO_T}yes" >&6
5835 echo "$as_me:$LINENO: result: no" >&5
5836 echo "${ECHO_T}no" >&6
5841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5842 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5844 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5845 if test "${enable_protocol_http+set}" = set; then
5846 enableval="$enable_protocol_http"
5848 if test "$enableval" = yes; then
5849 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5851 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5856 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5857 if test "x$LINE" != x ; then
5858 eval "DEFAULT_$LINE"
5863 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5867 eval "$ac_cv_use_protocol_http"
5868 if test "$no_cache" != 1; then
5869 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5872 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5873 echo "$as_me:$LINENO: result: yes" >&5
5874 echo "${ECHO_T}yes" >&6
5876 echo "$as_me:$LINENO: result: no" >&5
5877 echo "${ECHO_T}no" >&6
5882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5883 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5885 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5886 if test "${enable_protocol_ftp+set}" = set; then
5887 enableval="$enable_protocol_ftp"
5889 if test "$enableval" = yes; then
5890 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5892 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5897 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5898 if test "x$LINE" != x ; then
5899 eval "DEFAULT_$LINE"
5904 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5908 eval "$ac_cv_use_protocol_ftp"
5909 if test "$no_cache" != 1; then
5910 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5913 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5914 echo "$as_me:$LINENO: result: yes" >&5
5915 echo "${ECHO_T}yes" >&6
5917 echo "$as_me:$LINENO: result: no" >&5
5918 echo "${ECHO_T}no" >&6
5923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5924 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5926 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5927 if test "${enable_protocol_file+set}" = set; then
5928 enableval="$enable_protocol_file"
5930 if test "$enableval" = yes; then
5931 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5933 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5938 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5939 if test "x$LINE" != x ; then
5940 eval "DEFAULT_$LINE"
5945 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5949 eval "$ac_cv_use_protocol_file"
5950 if test "$no_cache" != 1; then
5951 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5954 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5955 echo "$as_me:$LINENO: result: yes" >&5
5956 echo "${ECHO_T}yes" >&6
5958 echo "$as_me:$LINENO: result: no" >&5
5959 echo "${ECHO_T}no" >&6
5967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5968 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5970 # Check whether --enable-threads or --disable-threads was given.
5971 if test "${enable_threads+set}" = set; then
5972 enableval="$enable_threads"
5974 if test "$enableval" = yes; then
5975 ac_cv_use_threads='wxUSE_THREADS=yes'
5977 ac_cv_use_threads='wxUSE_THREADS=no'
5982 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x ; then
5984 eval "DEFAULT_$LINE"
5989 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5993 eval "$ac_cv_use_threads"
5994 if test "$no_cache" != 1; then
5995 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5998 if test "$wxUSE_THREADS" = yes; then
5999 echo "$as_me:$LINENO: result: yes" >&5
6000 echo "${ECHO_T}yes" >&6
6002 echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6
6007 if test "$wxUSE_GUI" = "yes"; then
6012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6013 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6015 # Check whether --enable-docview or --disable-docview was given.
6016 if test "${enable_docview+set}" = set; then
6017 enableval="$enable_docview"
6019 if test "$enableval" = yes; then
6020 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6022 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6027 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6028 if test "x$LINE" != x ; then
6029 eval "DEFAULT_$LINE"
6034 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6038 eval "$ac_cv_use_docview"
6039 if test "$no_cache" != 1; then
6040 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6043 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6044 echo "$as_me:$LINENO: result: yes" >&5
6045 echo "${ECHO_T}yes" >&6
6047 echo "$as_me:$LINENO: result: no" >&5
6048 echo "${ECHO_T}no" >&6
6053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6054 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6056 # Check whether --enable-help or --disable-help was given.
6057 if test "${enable_help+set}" = set; then
6058 enableval="$enable_help"
6060 if test "$enableval" = yes; then
6061 ac_cv_use_help='wxUSE_HELP=yes'
6063 ac_cv_use_help='wxUSE_HELP=no'
6068 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6069 if test "x$LINE" != x ; then
6070 eval "DEFAULT_$LINE"
6075 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6079 eval "$ac_cv_use_help"
6080 if test "$no_cache" != 1; then
6081 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6084 if test "$wxUSE_HELP" = yes; then
6085 echo "$as_me:$LINENO: result: yes" >&5
6086 echo "${ECHO_T}yes" >&6
6088 echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6
6094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6095 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6097 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6098 if test "${enable_mshtmlhelp+set}" = set; then
6099 enableval="$enable_mshtmlhelp"
6101 if test "$enableval" = yes; then
6102 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6104 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6109 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6110 if test "x$LINE" != x ; then
6111 eval "DEFAULT_$LINE"
6116 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6120 eval "$ac_cv_use_mshtmlhelp"
6121 if test "$no_cache" != 1; then
6122 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6125 if test "$wxUSE_MS_HTML_HELP" = yes; then
6126 echo "$as_me:$LINENO: result: yes" >&5
6127 echo "${ECHO_T}yes" >&6
6129 echo "$as_me:$LINENO: result: no" >&5
6130 echo "${ECHO_T}no" >&6
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6138 # Check whether --enable-html or --disable-html was given.
6139 if test "${enable_html+set}" = set; then
6140 enableval="$enable_html"
6142 if test "$enableval" = yes; then
6143 ac_cv_use_html='wxUSE_HTML=yes'
6145 ac_cv_use_html='wxUSE_HTML=no'
6150 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x ; then
6152 eval "DEFAULT_$LINE"
6157 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6161 eval "$ac_cv_use_html"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6166 if test "$wxUSE_HTML" = yes; then
6167 echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6
6170 echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6
6176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6179 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6180 if test "${enable_htmlhelp+set}" = set; then
6181 enableval="$enable_htmlhelp"
6183 if test "$enableval" = yes; then
6184 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6186 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6191 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6192 if test "x$LINE" != x ; then
6193 eval "DEFAULT_$LINE"
6198 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6202 eval "$ac_cv_use_htmlhelp"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6207 if test "$wxUSE_WXHTML_HELP" = yes; then
6208 echo "$as_me:$LINENO: result: yes" >&5
6209 echo "${ECHO_T}yes" >&6
6211 echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6
6217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6220 # Check whether --enable-constraints or --disable-constraints was given.
6221 if test "${enable_constraints+set}" = set; then
6222 enableval="$enable_constraints"
6224 if test "$enableval" = yes; then
6225 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6227 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6232 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x ; then
6234 eval "DEFAULT_$LINE"
6239 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6243 eval "$ac_cv_use_constraints"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6248 if test "$wxUSE_CONSTRAINTS" = yes; then
6249 echo "$as_me:$LINENO: result: yes" >&5
6250 echo "${ECHO_T}yes" >&6
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6261 # Check whether --enable-printarch or --disable-printarch was given.
6262 if test "${enable_printarch+set}" = set; then
6263 enableval="$enable_printarch"
6265 if test "$enableval" = yes; then
6266 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6268 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6273 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x ; then
6275 eval "DEFAULT_$LINE"
6280 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6284 eval "$ac_cv_use_printarch"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6289 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6290 echo "$as_me:$LINENO: result: yes" >&5
6291 echo "${ECHO_T}yes" >&6
6293 echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6
6299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6302 # Check whether --enable-mdi or --disable-mdi was given.
6303 if test "${enable_mdi+set}" = set; then
6304 enableval="$enable_mdi"
6306 if test "$enableval" = yes; then
6307 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6309 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6314 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x ; then
6316 eval "DEFAULT_$LINE"
6321 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6325 eval "$ac_cv_use_mdi"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6330 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6331 echo "$as_me:$LINENO: result: yes" >&5
6332 echo "${ECHO_T}yes" >&6
6334 echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6
6340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6343 # Check whether --enable-loggui or --disable-loggui was given.
6344 if test "${enable_loggui+set}" = set; then
6345 enableval="$enable_loggui"
6347 if test "$enableval" = yes; then
6348 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6350 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6355 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6356 if test "x$LINE" != x ; then
6357 eval "DEFAULT_$LINE"
6362 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6366 eval "$ac_cv_use_loggui"
6367 if test "$no_cache" != 1; then
6368 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6371 if test "$wxUSE_LOGGUI" = yes; then
6372 echo "$as_me:$LINENO: result: yes" >&5
6373 echo "${ECHO_T}yes" >&6
6375 echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6
6381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6382 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6384 # Check whether --enable-logwin or --disable-logwin was given.
6385 if test "${enable_logwin+set}" = set; then
6386 enableval="$enable_logwin"
6388 if test "$enableval" = yes; then
6389 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6391 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6396 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6397 if test "x$LINE" != x ; then
6398 eval "DEFAULT_$LINE"
6403 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6407 eval "$ac_cv_use_logwin"
6408 if test "$no_cache" != 1; then
6409 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6412 if test "$wxUSE_LOGWINDOW" = yes; then
6413 echo "$as_me:$LINENO: result: yes" >&5
6414 echo "${ECHO_T}yes" >&6
6416 echo "$as_me:$LINENO: result: no" >&5
6417 echo "${ECHO_T}no" >&6
6422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6423 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6425 # Check whether --enable-logdialog or --disable-logdialog was given.
6426 if test "${enable_logdialog+set}" = set; then
6427 enableval="$enable_logdialog"
6429 if test "$enableval" = yes; then
6430 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6432 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6437 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6438 if test "x$LINE" != x ; then
6439 eval "DEFAULT_$LINE"
6444 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6448 eval "$ac_cv_use_logdialog"
6449 if test "$no_cache" != 1; then
6450 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6453 if test "$wxUSE_LOGDIALOG" = yes; then
6454 echo "$as_me:$LINENO: result: yes" >&5
6455 echo "${ECHO_T}yes" >&6
6457 echo "$as_me:$LINENO: result: no" >&5
6458 echo "${ECHO_T}no" >&6
6464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6465 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6467 # Check whether --enable-postscript or --disable-postscript was given.
6468 if test "${enable_postscript+set}" = set; then
6469 enableval="$enable_postscript"
6471 if test "$enableval" = yes; then
6472 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6474 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6479 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6480 if test "x$LINE" != x ; then
6481 eval "DEFAULT_$LINE"
6486 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6490 eval "$ac_cv_use_postscript"
6491 if test "$no_cache" != 1; then
6492 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6495 if test "$wxUSE_POSTSCRIPT" = yes; then
6496 echo "$as_me:$LINENO: result: yes" >&5
6497 echo "${ECHO_T}yes" >&6
6499 echo "$as_me:$LINENO: result: no" >&5
6500 echo "${ECHO_T}no" >&6
6508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6511 # Check whether --enable-prologio or --disable-prologio was given.
6512 if test "${enable_prologio+set}" = set; then
6513 enableval="$enable_prologio"
6515 if test "$enableval" = yes; then
6516 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6518 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6523 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6524 if test "x$LINE" != x ; then
6525 eval "DEFAULT_$LINE"
6530 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6534 eval "$ac_cv_use_prologio"
6535 if test "$no_cache" != 1; then
6536 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6539 if test "$wxUSE_PROLOGIO" = yes; then
6540 echo "$as_me:$LINENO: result: yes" >&5
6541 echo "${ECHO_T}yes" >&6
6543 echo "$as_me:$LINENO: result: no" >&5
6544 echo "${ECHO_T}no" >&6
6549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6550 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6552 # Check whether --enable-resources or --disable-resources was given.
6553 if test "${enable_resources+set}" = set; then
6554 enableval="$enable_resources"
6556 if test "$enableval" = yes; then
6557 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6559 ac_cv_use_resources='wxUSE_RESOURCES=no'
6564 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6565 if test "x$LINE" != x ; then
6566 eval "DEFAULT_$LINE"
6571 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6575 eval "$ac_cv_use_resources"
6576 if test "$no_cache" != 1; then
6577 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6580 if test "$wxUSE_RESOURCES" = yes; then
6581 echo "$as_me:$LINENO: result: yes" >&5
6582 echo "${ECHO_T}yes" >&6
6584 echo "$as_me:$LINENO: result: no" >&5
6585 echo "${ECHO_T}no" >&6
6592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6595 # Check whether --enable-clipboard or --disable-clipboard was given.
6596 if test "${enable_clipboard+set}" = set; then
6597 enableval="$enable_clipboard"
6599 if test "$enableval" = yes; then
6600 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6602 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6607 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6608 if test "x$LINE" != x ; then
6609 eval "DEFAULT_$LINE"
6614 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6618 eval "$ac_cv_use_clipboard"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6623 if test "$wxUSE_CLIPBOARD" = 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
6633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6634 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6636 # Check whether --enable-dnd or --disable-dnd was given.
6637 if test "${enable_dnd+set}" = set; then
6638 enableval="$enable_dnd"
6640 if test "$enableval" = yes; then
6641 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6643 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6648 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6649 if test "x$LINE" != x ; then
6650 eval "DEFAULT_$LINE"
6655 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6659 eval "$ac_cv_use_dnd"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6664 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6665 echo "$as_me:$LINENO: result: yes" >&5
6666 echo "${ECHO_T}yes" >&6
6668 echo "$as_me:$LINENO: result: no" >&5
6669 echo "${ECHO_T}no" >&6
6674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6677 # Check whether --enable-metafile or --disable-metafile was given.
6678 if test "${enable_metafile+set}" = set; then
6679 enableval="$enable_metafile"
6681 if test "$enableval" = yes; then
6682 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6684 ac_cv_use_metafile='wxUSE_METAFILE=no'
6689 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6690 if test "x$LINE" != x ; then
6691 eval "DEFAULT_$LINE"
6696 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6700 eval "$ac_cv_use_metafile"
6701 if test "$no_cache" != 1; then
6702 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6705 if test "$wxUSE_METAFILE" = yes; then
6706 echo "$as_me:$LINENO: result: yes" >&5
6707 echo "${ECHO_T}yes" >&6
6709 echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6
6718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6721 # Check whether --enable-controls or --disable-controls was given.
6722 if test "${enable_controls+set}" = set; then
6723 enableval="$enable_controls"
6725 if test "$enableval" = yes; then
6726 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6728 ac_cv_use_controls='wxUSE_CONTROLS=no'
6733 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6734 if test "x$LINE" != x ; then
6735 eval "DEFAULT_$LINE"
6740 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6744 eval "$ac_cv_use_controls"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6749 if test "$wxUSE_CONTROLS" = yes; then
6750 echo "$as_me:$LINENO: result: yes" >&5
6751 echo "${ECHO_T}yes" >&6
6753 echo "$as_me:$LINENO: result: no" >&5
6754 echo "${ECHO_T}no" >&6
6758 if test "$wxUSE_CONTROLS" = "yes"; then
6759 DEFAULT_wxUSE_ACCEL=yes
6760 DEFAULT_wxUSE_BMPBUTTON=yes
6761 DEFAULT_wxUSE_BUTTON=yes
6762 DEFAULT_wxUSE_CALCTRL=no
6763 DEFAULT_wxUSE_CARET=yes
6764 DEFAULT_wxUSE_COMBOBOX=yes
6765 DEFAULT_wxUSE_CHECKBOX=yes
6766 DEFAULT_wxUSE_CHECKLISTBOX=yes
6767 DEFAULT_wxUSE_CHOICE=yes
6768 DEFAULT_wxUSE_GAUGE=yes
6769 DEFAULT_wxUSE_GRID=yes
6770 DEFAULT_wxUSE_IMAGLIST=yes
6771 DEFAULT_wxUSE_LISTBOOK=yes
6772 DEFAULT_wxUSE_LISTBOX=yes
6773 DEFAULT_wxUSE_LISTCTRL=yes
6774 DEFAULT_wxUSE_NOTEBOOK=yes
6775 DEFAULT_wxUSE_RADIOBOX=yes
6776 DEFAULT_wxUSE_RADIOBTN=yes
6777 DEFAULT_wxUSE_SASH=yes
6778 DEFAULT_wxUSE_SCROLLBAR=yes
6779 DEFAULT_wxUSE_SLIDER=yes
6780 DEFAULT_wxUSE_SPINBTN=yes
6781 DEFAULT_wxUSE_SPINCTRL=yes
6782 DEFAULT_wxUSE_SPLITTER=yes
6783 DEFAULT_wxUSE_STATBMP=yes
6784 DEFAULT_wxUSE_STATBOX=yes
6785 DEFAULT_wxUSE_STATLINE=yes
6786 DEFAULT_wxUSE_STATUSBAR=yes
6787 DEFAULT_wxUSE_TAB_DIALOG=yes
6788 DEFAULT_wxUSE_TOGGLEBTN=yes
6789 DEFAULT_wxUSE_TOOLBAR=yes
6790 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6791 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6792 DEFAULT_wxUSE_TOOLTIPS=yes
6793 DEFAULT_wxUSE_TREECTRL=yes
6794 DEFAULT_wxUSE_POPUPWIN=yes
6795 DEFAULT_wxUSE_TIPWINDOW=yes
6796 elif test "$wxUSE_CONTROLS" = "no"; then
6797 DEFAULT_wxUSE_ACCEL=no
6798 DEFAULT_wxUSE_BMPBUTTON=no
6799 DEFAULT_wxUSE_BUTTON=no
6800 DEFAULT_wxUSE_CALCTRL=no
6801 DEFAULT_wxUSE_CARET=no
6802 DEFAULT_wxUSE_COMBOBOX=no
6803 DEFAULT_wxUSE_CHECKBOX=no
6804 DEFAULT_wxUSE_CHECKLISTBOX=no
6805 DEFAULT_wxUSE_CHOICE=no
6806 DEFAULT_wxUSE_GAUGE=no
6807 DEFAULT_wxUSE_GRID=no
6808 DEFAULT_wxUSE_IMAGLIST=no
6809 DEFAULT_wxUSE_LISTBOOK=no
6810 DEFAULT_wxUSE_LISTBOX=no
6811 DEFAULT_wxUSE_LISTCTRL=no
6812 DEFAULT_wxUSE_NOTEBOOK=no
6813 DEFAULT_wxUSE_RADIOBOX=no
6814 DEFAULT_wxUSE_RADIOBTN=no
6815 DEFAULT_wxUSE_SASH=no
6816 DEFAULT_wxUSE_SCROLLBAR=no
6817 DEFAULT_wxUSE_SLIDER=no
6818 DEFAULT_wxUSE_SPINBTN=no
6819 DEFAULT_wxUSE_SPINCTRL=no
6820 DEFAULT_wxUSE_SPLITTER=no
6821 DEFAULT_wxUSE_STATBMP=no
6822 DEFAULT_wxUSE_STATBOX=no
6823 DEFAULT_wxUSE_STATLINE=no
6824 DEFAULT_wxUSE_STATUSBAR=no
6825 DEFAULT_wxUSE_TAB_DIALOG=no
6826 DEFAULT_wxUSE_TOGGLEBTN=no
6827 DEFAULT_wxUSE_TOOLBAR=no
6828 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6829 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6830 DEFAULT_wxUSE_TOOLTIPS=no
6831 DEFAULT_wxUSE_TREECTRL=no
6832 DEFAULT_wxUSE_POPUPWIN=no
6833 DEFAULT_wxUSE_TIPWINDOW=no
6836 ## FIXME: This is a blatant hack
6837 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6838 wxUSE_PRINTING_ARCHITECTURE=no
6839 wxUSE_DRAG_AND_DROP=no
6840 # Generic notebook requires tab dialog
6841 DEFAULT_wxUSE_TABDIALOG=yes
6842 DEFAULT_wxUSE_SCROLLBAR=no
6843 DEFAULT_wxUSE_TOOLTIPS=no
6844 DEFAULT_wxUSE_DRAGIMAGE=no
6849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6850 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6852 # Check whether --enable-accel or --disable-accel was given.
6853 if test "${enable_accel+set}" = set; then
6854 enableval="$enable_accel"
6856 if test "$enableval" = yes; then
6857 ac_cv_use_accel='wxUSE_ACCEL=yes'
6859 ac_cv_use_accel='wxUSE_ACCEL=no'
6864 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6865 if test "x$LINE" != x ; then
6866 eval "DEFAULT_$LINE"
6871 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6875 eval "$ac_cv_use_accel"
6876 if test "$no_cache" != 1; then
6877 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6880 if test "$wxUSE_ACCEL" = yes; then
6881 echo "$as_me:$LINENO: result: yes" >&5
6882 echo "${ECHO_T}yes" >&6
6884 echo "$as_me:$LINENO: result: no" >&5
6885 echo "${ECHO_T}no" >&6
6890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6891 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6893 # Check whether --enable-button or --disable-button was given.
6894 if test "${enable_button+set}" = set; then
6895 enableval="$enable_button"
6897 if test "$enableval" = yes; then
6898 ac_cv_use_button='wxUSE_BUTTON=yes'
6900 ac_cv_use_button='wxUSE_BUTTON=no'
6905 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6906 if test "x$LINE" != x ; then
6907 eval "DEFAULT_$LINE"
6912 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6916 eval "$ac_cv_use_button"
6917 if test "$no_cache" != 1; then
6918 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6921 if test "$wxUSE_BUTTON" = yes; then
6922 echo "$as_me:$LINENO: result: yes" >&5
6923 echo "${ECHO_T}yes" >&6
6925 echo "$as_me:$LINENO: result: no" >&5
6926 echo "${ECHO_T}no" >&6
6931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6932 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6934 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6935 if test "${enable_bmpbutton+set}" = set; then
6936 enableval="$enable_bmpbutton"
6938 if test "$enableval" = yes; then
6939 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6941 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6946 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6947 if test "x$LINE" != x ; then
6948 eval "DEFAULT_$LINE"
6953 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6957 eval "$ac_cv_use_bmpbutton"
6958 if test "$no_cache" != 1; then
6959 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6962 if test "$wxUSE_BMPBUTTON" = yes; then
6963 echo "$as_me:$LINENO: result: yes" >&5
6964 echo "${ECHO_T}yes" >&6
6966 echo "$as_me:$LINENO: result: no" >&5
6967 echo "${ECHO_T}no" >&6
6972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6973 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6975 # Check whether --enable-calendar or --disable-calendar was given.
6976 if test "${enable_calendar+set}" = set; then
6977 enableval="$enable_calendar"
6979 if test "$enableval" = yes; then
6980 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6982 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6987 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6988 if test "x$LINE" != x ; then
6989 eval "DEFAULT_$LINE"
6994 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6998 eval "$ac_cv_use_calendar"
6999 if test "$no_cache" != 1; then
7000 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7003 if test "$wxUSE_CALCTRL" = yes; then
7004 echo "$as_me:$LINENO: result: yes" >&5
7005 echo "${ECHO_T}yes" >&6
7007 echo "$as_me:$LINENO: result: no" >&5
7008 echo "${ECHO_T}no" >&6
7013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7014 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7016 # Check whether --enable-caret or --disable-caret was given.
7017 if test "${enable_caret+set}" = set; then
7018 enableval="$enable_caret"
7020 if test "$enableval" = yes; then
7021 ac_cv_use_caret='wxUSE_CARET=yes'
7023 ac_cv_use_caret='wxUSE_CARET=no'
7028 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7029 if test "x$LINE" != x ; then
7030 eval "DEFAULT_$LINE"
7035 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7039 eval "$ac_cv_use_caret"
7040 if test "$no_cache" != 1; then
7041 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7044 if test "$wxUSE_CARET" = yes; then
7045 echo "$as_me:$LINENO: result: yes" >&5
7046 echo "${ECHO_T}yes" >&6
7048 echo "$as_me:$LINENO: result: no" >&5
7049 echo "${ECHO_T}no" >&6
7054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7055 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7057 # Check whether --enable-checkbox or --disable-checkbox was given.
7058 if test "${enable_checkbox+set}" = set; then
7059 enableval="$enable_checkbox"
7061 if test "$enableval" = yes; then
7062 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7064 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7069 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7070 if test "x$LINE" != x ; then
7071 eval "DEFAULT_$LINE"
7076 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7080 eval "$ac_cv_use_checkbox"
7081 if test "$no_cache" != 1; then
7082 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7085 if test "$wxUSE_CHECKBOX" = yes; then
7086 echo "$as_me:$LINENO: result: yes" >&5
7087 echo "${ECHO_T}yes" >&6
7089 echo "$as_me:$LINENO: result: no" >&5
7090 echo "${ECHO_T}no" >&6
7095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7096 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7098 # Check whether --enable-checklst or --disable-checklst was given.
7099 if test "${enable_checklst+set}" = set; then
7100 enableval="$enable_checklst"
7102 if test "$enableval" = yes; then
7103 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7105 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7110 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7111 if test "x$LINE" != x ; then
7112 eval "DEFAULT_$LINE"
7117 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7121 eval "$ac_cv_use_checklst"
7122 if test "$no_cache" != 1; then
7123 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7126 if test "$wxUSE_CHECKLST" = yes; then
7127 echo "$as_me:$LINENO: result: yes" >&5
7128 echo "${ECHO_T}yes" >&6
7130 echo "$as_me:$LINENO: result: no" >&5
7131 echo "${ECHO_T}no" >&6
7136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7137 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7139 # Check whether --enable-choice or --disable-choice was given.
7140 if test "${enable_choice+set}" = set; then
7141 enableval="$enable_choice"
7143 if test "$enableval" = yes; then
7144 ac_cv_use_choice='wxUSE_CHOICE=yes'
7146 ac_cv_use_choice='wxUSE_CHOICE=no'
7151 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7152 if test "x$LINE" != x ; then
7153 eval "DEFAULT_$LINE"
7158 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7162 eval "$ac_cv_use_choice"
7163 if test "$no_cache" != 1; then
7164 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7167 if test "$wxUSE_CHOICE" = yes; then
7168 echo "$as_me:$LINENO: result: yes" >&5
7169 echo "${ECHO_T}yes" >&6
7171 echo "$as_me:$LINENO: result: no" >&5
7172 echo "${ECHO_T}no" >&6
7177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7178 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7180 # Check whether --enable-combobox or --disable-combobox was given.
7181 if test "${enable_combobox+set}" = set; then
7182 enableval="$enable_combobox"
7184 if test "$enableval" = yes; then
7185 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7187 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7192 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7193 if test "x$LINE" != x ; then
7194 eval "DEFAULT_$LINE"
7199 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7203 eval "$ac_cv_use_combobox"
7204 if test "$no_cache" != 1; then
7205 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7208 if test "$wxUSE_COMBOBOX" = yes; then
7209 echo "$as_me:$LINENO: result: yes" >&5
7210 echo "${ECHO_T}yes" >&6
7212 echo "$as_me:$LINENO: result: no" >&5
7213 echo "${ECHO_T}no" >&6
7218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7219 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7221 # Check whether --enable-display or --disable-display was given.
7222 if test "${enable_display+set}" = set; then
7223 enableval="$enable_display"
7225 if test "$enableval" = yes; then
7226 ac_cv_use_display='wxUSE_DISPLAY=yes'
7228 ac_cv_use_display='wxUSE_DISPLAY=no'
7233 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7234 if test "x$LINE" != x ; then
7235 eval "DEFAULT_$LINE"
7240 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7244 eval "$ac_cv_use_display"
7245 if test "$no_cache" != 1; then
7246 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7249 if test "$wxUSE_DISPLAY" = yes; then
7250 echo "$as_me:$LINENO: result: yes" >&5
7251 echo "${ECHO_T}yes" >&6
7253 echo "$as_me:$LINENO: result: no" >&5
7254 echo "${ECHO_T}no" >&6
7259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7260 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7262 # Check whether --enable-gauge or --disable-gauge was given.
7263 if test "${enable_gauge+set}" = set; then
7264 enableval="$enable_gauge"
7266 if test "$enableval" = yes; then
7267 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7269 ac_cv_use_gauge='wxUSE_GAUGE=no'
7274 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7275 if test "x$LINE" != x ; then
7276 eval "DEFAULT_$LINE"
7281 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7285 eval "$ac_cv_use_gauge"
7286 if test "$no_cache" != 1; then
7287 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7290 if test "$wxUSE_GAUGE" = yes; then
7291 echo "$as_me:$LINENO: result: yes" >&5
7292 echo "${ECHO_T}yes" >&6
7294 echo "$as_me:$LINENO: result: no" >&5
7295 echo "${ECHO_T}no" >&6
7300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7301 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7303 # Check whether --enable-grid or --disable-grid was given.
7304 if test "${enable_grid+set}" = set; then
7305 enableval="$enable_grid"
7307 if test "$enableval" = yes; then
7308 ac_cv_use_grid='wxUSE_GRID=yes'
7310 ac_cv_use_grid='wxUSE_GRID=no'
7315 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7316 if test "x$LINE" != x ; then
7317 eval "DEFAULT_$LINE"
7322 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7326 eval "$ac_cv_use_grid"
7327 if test "$no_cache" != 1; then
7328 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7331 if test "$wxUSE_GRID" = yes; then
7332 echo "$as_me:$LINENO: result: yes" >&5
7333 echo "${ECHO_T}yes" >&6
7335 echo "$as_me:$LINENO: result: no" >&5
7336 echo "${ECHO_T}no" >&6
7341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7342 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7344 # Check whether --enable-imaglist or --disable-imaglist was given.
7345 if test "${enable_imaglist+set}" = set; then
7346 enableval="$enable_imaglist"
7348 if test "$enableval" = yes; then
7349 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7351 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7356 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7357 if test "x$LINE" != x ; then
7358 eval "DEFAULT_$LINE"
7363 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7367 eval "$ac_cv_use_imaglist"
7368 if test "$no_cache" != 1; then
7369 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7372 if test "$wxUSE_IMAGLIST" = yes; then
7373 echo "$as_me:$LINENO: result: yes" >&5
7374 echo "${ECHO_T}yes" >&6
7376 echo "$as_me:$LINENO: result: no" >&5
7377 echo "${ECHO_T}no" >&6
7382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7383 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7385 # Check whether --enable-listbook or --disable-listbook was given.
7386 if test "${enable_listbook+set}" = set; then
7387 enableval="$enable_listbook"
7389 if test "$enableval" = yes; then
7390 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7392 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7397 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7398 if test "x$LINE" != x ; then
7399 eval "DEFAULT_$LINE"
7404 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7408 eval "$ac_cv_use_listbook"
7409 if test "$no_cache" != 1; then
7410 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7413 if test "$wxUSE_LISTBOOK" = yes; then
7414 echo "$as_me:$LINENO: result: yes" >&5
7415 echo "${ECHO_T}yes" >&6
7417 echo "$as_me:$LINENO: result: no" >&5
7418 echo "${ECHO_T}no" >&6
7423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7424 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7426 # Check whether --enable-listbox or --disable-listbox was given.
7427 if test "${enable_listbox+set}" = set; then
7428 enableval="$enable_listbox"
7430 if test "$enableval" = yes; then
7431 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7433 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7438 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7439 if test "x$LINE" != x ; then
7440 eval "DEFAULT_$LINE"
7445 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7449 eval "$ac_cv_use_listbox"
7450 if test "$no_cache" != 1; then
7451 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7454 if test "$wxUSE_LISTBOX" = yes; then
7455 echo "$as_me:$LINENO: result: yes" >&5
7456 echo "${ECHO_T}yes" >&6
7458 echo "$as_me:$LINENO: result: no" >&5
7459 echo "${ECHO_T}no" >&6
7464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7465 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7467 # Check whether --enable-listctrl or --disable-listctrl was given.
7468 if test "${enable_listctrl+set}" = set; then
7469 enableval="$enable_listctrl"
7471 if test "$enableval" = yes; then
7472 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7474 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7479 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7480 if test "x$LINE" != x ; then
7481 eval "DEFAULT_$LINE"
7486 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7490 eval "$ac_cv_use_listctrl"
7491 if test "$no_cache" != 1; then
7492 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7495 if test "$wxUSE_LISTCTRL" = yes; then
7496 echo "$as_me:$LINENO: result: yes" >&5
7497 echo "${ECHO_T}yes" >&6
7499 echo "$as_me:$LINENO: result: no" >&5
7500 echo "${ECHO_T}no" >&6
7505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7506 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7508 # Check whether --enable-notebook or --disable-notebook was given.
7509 if test "${enable_notebook+set}" = set; then
7510 enableval="$enable_notebook"
7512 if test "$enableval" = yes; then
7513 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7515 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7520 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7521 if test "x$LINE" != x ; then
7522 eval "DEFAULT_$LINE"
7527 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7531 eval "$ac_cv_use_notebook"
7532 if test "$no_cache" != 1; then
7533 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7536 if test "$wxUSE_NOTEBOOK" = yes; then
7537 echo "$as_me:$LINENO: result: yes" >&5
7538 echo "${ECHO_T}yes" >&6
7540 echo "$as_me:$LINENO: result: no" >&5
7541 echo "${ECHO_T}no" >&6
7546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7547 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7549 # Check whether --enable-radiobox or --disable-radiobox was given.
7550 if test "${enable_radiobox+set}" = set; then
7551 enableval="$enable_radiobox"
7553 if test "$enableval" = yes; then
7554 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7556 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7561 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7562 if test "x$LINE" != x ; then
7563 eval "DEFAULT_$LINE"
7568 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7572 eval "$ac_cv_use_radiobox"
7573 if test "$no_cache" != 1; then
7574 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7577 if test "$wxUSE_RADIOBOX" = yes; then
7578 echo "$as_me:$LINENO: result: yes" >&5
7579 echo "${ECHO_T}yes" >&6
7581 echo "$as_me:$LINENO: result: no" >&5
7582 echo "${ECHO_T}no" >&6
7587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7588 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7590 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7591 if test "${enable_radiobtn+set}" = set; then
7592 enableval="$enable_radiobtn"
7594 if test "$enableval" = yes; then
7595 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7597 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7602 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7603 if test "x$LINE" != x ; then
7604 eval "DEFAULT_$LINE"
7609 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7613 eval "$ac_cv_use_radiobtn"
7614 if test "$no_cache" != 1; then
7615 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7618 if test "$wxUSE_RADIOBTN" = yes; then
7619 echo "$as_me:$LINENO: result: yes" >&5
7620 echo "${ECHO_T}yes" >&6
7622 echo "$as_me:$LINENO: result: no" >&5
7623 echo "${ECHO_T}no" >&6
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7631 # Check whether --enable-sash or --disable-sash was given.
7632 if test "${enable_sash+set}" = set; then
7633 enableval="$enable_sash"
7635 if test "$enableval" = yes; then
7636 ac_cv_use_sash='wxUSE_SASH=yes'
7638 ac_cv_use_sash='wxUSE_SASH=no'
7643 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x ; then
7645 eval "DEFAULT_$LINE"
7650 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7654 eval "$ac_cv_use_sash"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7659 if test "$wxUSE_SASH" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7672 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7673 if test "${enable_scrollbar+set}" = set; then
7674 enableval="$enable_scrollbar"
7676 if test "$enableval" = yes; then
7677 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7679 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7684 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x ; then
7686 eval "DEFAULT_$LINE"
7691 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7695 eval "$ac_cv_use_scrollbar"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7700 if test "$wxUSE_SCROLLBAR" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7713 # Check whether --enable-slider or --disable-slider was given.
7714 if test "${enable_slider+set}" = set; then
7715 enableval="$enable_slider"
7717 if test "$enableval" = yes; then
7718 ac_cv_use_slider='wxUSE_SLIDER=yes'
7720 ac_cv_use_slider='wxUSE_SLIDER=no'
7725 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x ; then
7727 eval "DEFAULT_$LINE"
7732 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7736 eval "$ac_cv_use_slider"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7741 if test "$wxUSE_SLIDER" = yes; then
7742 echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6
7745 echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6
7751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7752 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7754 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7755 if test "${enable_spinbtn+set}" = set; then
7756 enableval="$enable_spinbtn"
7758 if test "$enableval" = yes; then
7759 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7761 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7766 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x ; then
7768 eval "DEFAULT_$LINE"
7773 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7777 eval "$ac_cv_use_spinbtn"
7778 if test "$no_cache" != 1; then
7779 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7782 if test "$wxUSE_SPINBTN" = yes; then
7783 echo "$as_me:$LINENO: result: yes" >&5
7784 echo "${ECHO_T}yes" >&6
7786 echo "$as_me:$LINENO: result: no" >&5
7787 echo "${ECHO_T}no" >&6
7792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7795 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7796 if test "${enable_spinctrl+set}" = set; then
7797 enableval="$enable_spinctrl"
7799 if test "$enableval" = yes; then
7800 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7802 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7807 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x ; then
7809 eval "DEFAULT_$LINE"
7814 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7818 eval "$ac_cv_use_spinctrl"
7819 if test "$no_cache" != 1; then
7820 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7823 if test "$wxUSE_SPINCTRL" = yes; then
7824 echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6
7827 echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6
7833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7836 # Check whether --enable-splitter or --disable-splitter was given.
7837 if test "${enable_splitter+set}" = set; then
7838 enableval="$enable_splitter"
7840 if test "$enableval" = yes; then
7841 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7843 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7848 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7849 if test "x$LINE" != x ; then
7850 eval "DEFAULT_$LINE"
7855 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7859 eval "$ac_cv_use_splitter"
7860 if test "$no_cache" != 1; then
7861 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7864 if test "$wxUSE_SPLITTER" = yes; then
7865 echo "$as_me:$LINENO: result: yes" >&5
7866 echo "${ECHO_T}yes" >&6
7868 echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7877 # Check whether --enable-statbmp or --disable-statbmp was given.
7878 if test "${enable_statbmp+set}" = set; then
7879 enableval="$enable_statbmp"
7881 if test "$enableval" = yes; then
7882 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7884 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7889 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x ; then
7891 eval "DEFAULT_$LINE"
7896 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7900 eval "$ac_cv_use_statbmp"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7905 if test "$wxUSE_STATBMP" = yes; then
7906 echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6
7909 echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6
7915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7918 # Check whether --enable-statbox or --disable-statbox was given.
7919 if test "${enable_statbox+set}" = set; then
7920 enableval="$enable_statbox"
7922 if test "$enableval" = yes; then
7923 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7925 ac_cv_use_statbox='wxUSE_STATBOX=no'
7930 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7931 if test "x$LINE" != x ; then
7932 eval "DEFAULT_$LINE"
7937 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7941 eval "$ac_cv_use_statbox"
7942 if test "$no_cache" != 1; then
7943 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7946 if test "$wxUSE_STATBOX" = yes; then
7947 echo "$as_me:$LINENO: result: yes" >&5
7948 echo "${ECHO_T}yes" >&6
7950 echo "$as_me:$LINENO: result: no" >&5
7951 echo "${ECHO_T}no" >&6
7956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7957 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7959 # Check whether --enable-statline or --disable-statline was given.
7960 if test "${enable_statline+set}" = set; then
7961 enableval="$enable_statline"
7963 if test "$enableval" = yes; then
7964 ac_cv_use_statline='wxUSE_STATLINE=yes'
7966 ac_cv_use_statline='wxUSE_STATLINE=no'
7971 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7972 if test "x$LINE" != x ; then
7973 eval "DEFAULT_$LINE"
7978 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7982 eval "$ac_cv_use_statline"
7983 if test "$no_cache" != 1; then
7984 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7987 if test "$wxUSE_STATLINE" = yes; then
7988 echo "$as_me:$LINENO: result: yes" >&5
7989 echo "${ECHO_T}yes" >&6
7991 echo "$as_me:$LINENO: result: no" >&5
7992 echo "${ECHO_T}no" >&6
7997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7998 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8000 # Check whether --enable-stattext or --disable-stattext was given.
8001 if test "${enable_stattext+set}" = set; then
8002 enableval="$enable_stattext"
8004 if test "$enableval" = yes; then
8005 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8007 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8012 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8013 if test "x$LINE" != x ; then
8014 eval "DEFAULT_$LINE"
8019 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8023 eval "$ac_cv_use_stattext"
8024 if test "$no_cache" != 1; then
8025 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8028 if test "$wxUSE_STATTEXT" = yes; then
8029 echo "$as_me:$LINENO: result: yes" >&5
8030 echo "${ECHO_T}yes" >&6
8032 echo "$as_me:$LINENO: result: no" >&5
8033 echo "${ECHO_T}no" >&6
8038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8041 # Check whether --enable-statusbar or --disable-statusbar was given.
8042 if test "${enable_statusbar+set}" = set; then
8043 enableval="$enable_statusbar"
8045 if test "$enableval" = yes; then
8046 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8048 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8053 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8054 if test "x$LINE" != x ; then
8055 eval "DEFAULT_$LINE"
8060 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8064 eval "$ac_cv_use_statusbar"
8065 if test "$no_cache" != 1; then
8066 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8069 if test "$wxUSE_STATUSBAR" = yes; then
8070 echo "$as_me:$LINENO: result: yes" >&5
8071 echo "${ECHO_T}yes" >&6
8073 echo "$as_me:$LINENO: result: no" >&5
8074 echo "${ECHO_T}no" >&6
8079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8082 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8083 if test "${enable_tabdialog+set}" = set; then
8084 enableval="$enable_tabdialog"
8086 if test "$enableval" = yes; then
8087 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8089 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8094 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8095 if test "x$LINE" != x ; then
8096 eval "DEFAULT_$LINE"
8101 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8105 eval "$ac_cv_use_tabdialog"
8106 if test "$no_cache" != 1; then
8107 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8110 if test "$wxUSE_TABDIALOG" = yes; then
8111 echo "$as_me:$LINENO: result: yes" >&5
8112 echo "${ECHO_T}yes" >&6
8114 echo "$as_me:$LINENO: result: no" >&5
8115 echo "${ECHO_T}no" >&6
8120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8121 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8123 # Check whether --enable-textctrl or --disable-textctrl was given.
8124 if test "${enable_textctrl+set}" = set; then
8125 enableval="$enable_textctrl"
8127 if test "$enableval" = yes; then
8128 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8130 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8135 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8136 if test "x$LINE" != x ; then
8137 eval "DEFAULT_$LINE"
8142 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8146 eval "$ac_cv_use_textctrl"
8147 if test "$no_cache" != 1; then
8148 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8151 if test "$wxUSE_TEXTCTRL" = yes; then
8152 echo "$as_me:$LINENO: result: yes" >&5
8153 echo "${ECHO_T}yes" >&6
8155 echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6
8161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8162 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8164 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8165 if test "${enable_togglebtn+set}" = set; then
8166 enableval="$enable_togglebtn"
8168 if test "$enableval" = yes; then
8169 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8171 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8176 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8177 if test "x$LINE" != x ; then
8178 eval "DEFAULT_$LINE"
8183 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8187 eval "$ac_cv_use_togglebtn"
8188 if test "$no_cache" != 1; then
8189 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8192 if test "$wxUSE_TOGGLEBTN" = yes; then
8193 echo "$as_me:$LINENO: result: yes" >&5
8194 echo "${ECHO_T}yes" >&6
8196 echo "$as_me:$LINENO: result: no" >&5
8197 echo "${ECHO_T}no" >&6
8202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8203 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8205 # Check whether --enable-toolbar or --disable-toolbar was given.
8206 if test "${enable_toolbar+set}" = set; then
8207 enableval="$enable_toolbar"
8209 if test "$enableval" = yes; then
8210 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8212 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8217 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8218 if test "x$LINE" != x ; then
8219 eval "DEFAULT_$LINE"
8224 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8228 eval "$ac_cv_use_toolbar"
8229 if test "$no_cache" != 1; then
8230 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8233 if test "$wxUSE_TOOLBAR" = yes; then
8234 echo "$as_me:$LINENO: result: yes" >&5
8235 echo "${ECHO_T}yes" >&6
8237 echo "$as_me:$LINENO: result: no" >&5
8238 echo "${ECHO_T}no" >&6
8243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8244 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8246 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8247 if test "${enable_tbarnative+set}" = set; then
8248 enableval="$enable_tbarnative"
8250 if test "$enableval" = yes; then
8251 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8253 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8258 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8259 if test "x$LINE" != x ; then
8260 eval "DEFAULT_$LINE"
8265 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8269 eval "$ac_cv_use_tbarnative"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8274 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8275 echo "$as_me:$LINENO: result: yes" >&5
8276 echo "${ECHO_T}yes" >&6
8278 echo "$as_me:$LINENO: result: no" >&5
8279 echo "${ECHO_T}no" >&6
8284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8287 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8288 if test "${enable_tbarsmpl+set}" = set; then
8289 enableval="$enable_tbarsmpl"
8291 if test "$enableval" = yes; then
8292 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8294 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8299 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8300 if test "x$LINE" != x ; then
8301 eval "DEFAULT_$LINE"
8306 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8310 eval "$ac_cv_use_tbarsmpl"
8311 if test "$no_cache" != 1; then
8312 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8315 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8316 echo "$as_me:$LINENO: result: yes" >&5
8317 echo "${ECHO_T}yes" >&6
8319 echo "$as_me:$LINENO: result: no" >&5
8320 echo "${ECHO_T}no" >&6
8325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8326 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8328 # Check whether --enable-treectrl or --disable-treectrl was given.
8329 if test "${enable_treectrl+set}" = set; then
8330 enableval="$enable_treectrl"
8332 if test "$enableval" = yes; then
8333 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8335 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8340 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8341 if test "x$LINE" != x ; then
8342 eval "DEFAULT_$LINE"
8347 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8351 eval "$ac_cv_use_treectrl"
8352 if test "$no_cache" != 1; then
8353 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8356 if test "$wxUSE_TREECTRL" = yes; then
8357 echo "$as_me:$LINENO: result: yes" >&5
8358 echo "${ECHO_T}yes" >&6
8360 echo "$as_me:$LINENO: result: no" >&5
8361 echo "${ECHO_T}no" >&6
8366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8369 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8370 if test "${enable_tipwindow+set}" = set; then
8371 enableval="$enable_tipwindow"
8373 if test "$enableval" = yes; then
8374 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8376 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8381 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8382 if test "x$LINE" != x ; then
8383 eval "DEFAULT_$LINE"
8388 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8392 eval "$ac_cv_use_tipwindow"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8397 if test "$wxUSE_TIPWINDOW" = yes; then
8398 echo "$as_me:$LINENO: result: yes" >&5
8399 echo "${ECHO_T}yes" >&6
8401 echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6
8407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8410 # Check whether --enable-popupwin or --disable-popupwin was given.
8411 if test "${enable_popupwin+set}" = set; then
8412 enableval="$enable_popupwin"
8414 if test "$enableval" = yes; then
8415 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8417 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8422 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8423 if test "x$LINE" != x ; then
8424 eval "DEFAULT_$LINE"
8429 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8433 eval "$ac_cv_use_popupwin"
8434 if test "$no_cache" != 1; then
8435 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8438 if test "$wxUSE_POPUPWIN" = yes; then
8439 echo "$as_me:$LINENO: result: yes" >&5
8440 echo "${ECHO_T}yes" >&6
8442 echo "$as_me:$LINENO: result: no" >&5
8443 echo "${ECHO_T}no" >&6
8450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8453 # Check whether --enable-commondlg or --disable-commondlg was given.
8454 if test "${enable_commondlg+set}" = set; then
8455 enableval="$enable_commondlg"
8457 if test "$enableval" = yes; then
8458 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8460 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8465 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8466 if test "x$LINE" != x ; then
8467 eval "DEFAULT_$LINE"
8472 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8476 eval "$ac_cv_use_commondlg"
8477 if test "$no_cache" != 1; then
8478 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8481 if test "$wxUSE_COMMONDLGS" = 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
8491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8492 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8494 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8495 if test "${enable_choicedlg+set}" = set; then
8496 enableval="$enable_choicedlg"
8498 if test "$enableval" = yes; then
8499 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8501 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8506 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8507 if test "x$LINE" != x ; then
8508 eval "DEFAULT_$LINE"
8513 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8517 eval "$ac_cv_use_choicedlg"
8518 if test "$no_cache" != 1; then
8519 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8522 if test "$wxUSE_CHOICEDLG" = yes; then
8523 echo "$as_me:$LINENO: result: yes" >&5
8524 echo "${ECHO_T}yes" >&6
8526 echo "$as_me:$LINENO: result: no" >&5
8527 echo "${ECHO_T}no" >&6
8532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8533 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8535 # Check whether --enable-coldlg or --disable-coldlg was given.
8536 if test "${enable_coldlg+set}" = set; then
8537 enableval="$enable_coldlg"
8539 if test "$enableval" = yes; then
8540 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8542 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8547 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8548 if test "x$LINE" != x ; then
8549 eval "DEFAULT_$LINE"
8554 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8558 eval "$ac_cv_use_coldlg"
8559 if test "$no_cache" != 1; then
8560 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8563 if test "$wxUSE_COLOURDLG" = yes; then
8564 echo "$as_me:$LINENO: result: yes" >&5
8565 echo "${ECHO_T}yes" >&6
8567 echo "$as_me:$LINENO: result: no" >&5
8568 echo "${ECHO_T}no" >&6
8573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8574 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8576 # Check whether --enable-filedlg or --disable-filedlg was given.
8577 if test "${enable_filedlg+set}" = set; then
8578 enableval="$enable_filedlg"
8580 if test "$enableval" = yes; then
8581 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8583 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8588 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8589 if test "x$LINE" != x ; then
8590 eval "DEFAULT_$LINE"
8595 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8599 eval "$ac_cv_use_filedlg"
8600 if test "$no_cache" != 1; then
8601 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8604 if test "$wxUSE_FILEDLG" = yes; then
8605 echo "$as_me:$LINENO: result: yes" >&5
8606 echo "${ECHO_T}yes" >&6
8608 echo "$as_me:$LINENO: result: no" >&5
8609 echo "${ECHO_T}no" >&6
8614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8615 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8617 # Check whether --enable-finddlg or --disable-finddlg was given.
8618 if test "${enable_finddlg+set}" = set; then
8619 enableval="$enable_finddlg"
8621 if test "$enableval" = yes; then
8622 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8624 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8629 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8630 if test "x$LINE" != x ; then
8631 eval "DEFAULT_$LINE"
8636 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8640 eval "$ac_cv_use_finddlg"
8641 if test "$no_cache" != 1; then
8642 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8645 if test "$wxUSE_FINDREPLDLG" = yes; then
8646 echo "$as_me:$LINENO: result: yes" >&5
8647 echo "${ECHO_T}yes" >&6
8649 echo "$as_me:$LINENO: result: no" >&5
8650 echo "${ECHO_T}no" >&6
8655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8656 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8658 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8659 if test "${enable_fontdlg+set}" = set; then
8660 enableval="$enable_fontdlg"
8662 if test "$enableval" = yes; then
8663 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8665 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8670 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8671 if test "x$LINE" != x ; then
8672 eval "DEFAULT_$LINE"
8677 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8681 eval "$ac_cv_use_fontdlg"
8682 if test "$no_cache" != 1; then
8683 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8686 if test "$wxUSE_FONTDLG" = yes; then
8687 echo "$as_me:$LINENO: result: yes" >&5
8688 echo "${ECHO_T}yes" >&6
8690 echo "$as_me:$LINENO: result: no" >&5
8691 echo "${ECHO_T}no" >&6
8696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8697 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8699 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8700 if test "${enable_dirdlg+set}" = set; then
8701 enableval="$enable_dirdlg"
8703 if test "$enableval" = yes; then
8704 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8706 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8711 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8712 if test "x$LINE" != x ; then
8713 eval "DEFAULT_$LINE"
8718 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8722 eval "$ac_cv_use_dirdlg"
8723 if test "$no_cache" != 1; then
8724 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8727 if test "$wxUSE_DIRDLG" = yes; then
8728 echo "$as_me:$LINENO: result: yes" >&5
8729 echo "${ECHO_T}yes" >&6
8731 echo "$as_me:$LINENO: result: no" >&5
8732 echo "${ECHO_T}no" >&6
8737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8738 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8740 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8741 if test "${enable_msgdlg+set}" = set; then
8742 enableval="$enable_msgdlg"
8744 if test "$enableval" = yes; then
8745 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8747 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8752 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8753 if test "x$LINE" != x ; then
8754 eval "DEFAULT_$LINE"
8759 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8763 eval "$ac_cv_use_msgdlg"
8764 if test "$no_cache" != 1; then
8765 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8768 if test "$wxUSE_MSGDLG" = yes; then
8769 echo "$as_me:$LINENO: result: yes" >&5
8770 echo "${ECHO_T}yes" >&6
8772 echo "$as_me:$LINENO: result: no" >&5
8773 echo "${ECHO_T}no" >&6
8778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8779 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8781 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8782 if test "${enable_numberdlg+set}" = set; then
8783 enableval="$enable_numberdlg"
8785 if test "$enableval" = yes; then
8786 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8788 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8793 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8794 if test "x$LINE" != x ; then
8795 eval "DEFAULT_$LINE"
8800 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8804 eval "$ac_cv_use_numberdlg"
8805 if test "$no_cache" != 1; then
8806 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8809 if test "$wxUSE_NUMBERDLG" = yes; then
8810 echo "$as_me:$LINENO: result: yes" >&5
8811 echo "${ECHO_T}yes" >&6
8813 echo "$as_me:$LINENO: result: no" >&5
8814 echo "${ECHO_T}no" >&6
8819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8820 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8822 # Check whether --enable-splash or --disable-splash was given.
8823 if test "${enable_splash+set}" = set; then
8824 enableval="$enable_splash"
8826 if test "$enableval" = yes; then
8827 ac_cv_use_splash='wxUSE_SPLASH=yes'
8829 ac_cv_use_splash='wxUSE_SPLASH=no'
8834 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8835 if test "x$LINE" != x ; then
8836 eval "DEFAULT_$LINE"
8841 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8845 eval "$ac_cv_use_splash"
8846 if test "$no_cache" != 1; then
8847 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8850 if test "$wxUSE_SPLASH" = yes; then
8851 echo "$as_me:$LINENO: result: yes" >&5
8852 echo "${ECHO_T}yes" >&6
8854 echo "$as_me:$LINENO: result: no" >&5
8855 echo "${ECHO_T}no" >&6
8860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8861 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8863 # Check whether --enable-textdlg or --disable-textdlg was given.
8864 if test "${enable_textdlg+set}" = set; then
8865 enableval="$enable_textdlg"
8867 if test "$enableval" = yes; then
8868 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8870 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8875 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8876 if test "x$LINE" != x ; then
8877 eval "DEFAULT_$LINE"
8882 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8886 eval "$ac_cv_use_textdlg"
8887 if test "$no_cache" != 1; then
8888 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8891 if test "$wxUSE_TEXTDLG" = yes; then
8892 echo "$as_me:$LINENO: result: yes" >&5
8893 echo "${ECHO_T}yes" >&6
8895 echo "$as_me:$LINENO: result: no" >&5
8896 echo "${ECHO_T}no" >&6
8901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8902 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8904 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8905 if test "${enable_tipdlg+set}" = set; then
8906 enableval="$enable_tipdlg"
8908 if test "$enableval" = yes; then
8909 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8911 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8916 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8917 if test "x$LINE" != x ; then
8918 eval "DEFAULT_$LINE"
8923 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8927 eval "$ac_cv_use_tipdlg"
8928 if test "$no_cache" != 1; then
8929 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8932 if test "$wxUSE_STARTUP_TIPS" = yes; then
8933 echo "$as_me:$LINENO: result: yes" >&5
8934 echo "${ECHO_T}yes" >&6
8936 echo "$as_me:$LINENO: result: no" >&5
8937 echo "${ECHO_T}no" >&6
8942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8943 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8945 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8946 if test "${enable_progressdlg+set}" = set; then
8947 enableval="$enable_progressdlg"
8949 if test "$enableval" = yes; then
8950 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8952 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8957 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8958 if test "x$LINE" != x ; then
8959 eval "DEFAULT_$LINE"
8964 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8968 eval "$ac_cv_use_progressdlg"
8969 if test "$no_cache" != 1; then
8970 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8973 if test "$wxUSE_PROGRESSDLG" = yes; then
8974 echo "$as_me:$LINENO: result: yes" >&5
8975 echo "${ECHO_T}yes" >&6
8977 echo "$as_me:$LINENO: result: no" >&5
8978 echo "${ECHO_T}no" >&6
8983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8984 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8986 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8987 if test "${enable_wizarddlg+set}" = set; then
8988 enableval="$enable_wizarddlg"
8990 if test "$enableval" = yes; then
8991 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8993 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8998 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8999 if test "x$LINE" != x ; then
9000 eval "DEFAULT_$LINE"
9005 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9009 eval "$ac_cv_use_wizarddlg"
9010 if test "$no_cache" != 1; then
9011 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9014 if test "$wxUSE_WIZARDDLG" = yes; then
9015 echo "$as_me:$LINENO: result: yes" >&5
9016 echo "${ECHO_T}yes" >&6
9018 echo "$as_me:$LINENO: result: no" >&5
9019 echo "${ECHO_T}no" >&6
9026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9029 # Check whether --enable-menus or --disable-menus was given.
9030 if test "${enable_menus+set}" = set; then
9031 enableval="$enable_menus"
9033 if test "$enableval" = yes; then
9034 ac_cv_use_menus='wxUSE_MENUS=yes'
9036 ac_cv_use_menus='wxUSE_MENUS=no'
9041 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9042 if test "x$LINE" != x ; then
9043 eval "DEFAULT_$LINE"
9048 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9052 eval "$ac_cv_use_menus"
9053 if test "$no_cache" != 1; then
9054 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9057 if test "$wxUSE_MENUS" = 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
9067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9070 # Check whether --enable-miniframe or --disable-miniframe was given.
9071 if test "${enable_miniframe+set}" = set; then
9072 enableval="$enable_miniframe"
9074 if test "$enableval" = yes; then
9075 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9077 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9082 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9083 if test "x$LINE" != x ; then
9084 eval "DEFAULT_$LINE"
9089 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9093 eval "$ac_cv_use_miniframe"
9094 if test "$no_cache" != 1; then
9095 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9098 if test "$wxUSE_MINIFRAME" = yes; then
9099 echo "$as_me:$LINENO: result: yes" >&5
9100 echo "${ECHO_T}yes" >&6
9102 echo "$as_me:$LINENO: result: no" >&5
9103 echo "${ECHO_T}no" >&6
9108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9109 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9111 # Check whether --enable-tooltips or --disable-tooltips was given.
9112 if test "${enable_tooltips+set}" = set; then
9113 enableval="$enable_tooltips"
9115 if test "$enableval" = yes; then
9116 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9118 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9123 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9124 if test "x$LINE" != x ; then
9125 eval "DEFAULT_$LINE"
9130 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9134 eval "$ac_cv_use_tooltips"
9135 if test "$no_cache" != 1; then
9136 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9139 if test "$wxUSE_TOOLTIPS" = yes; then
9140 echo "$as_me:$LINENO: result: yes" >&5
9141 echo "${ECHO_T}yes" >&6
9143 echo "$as_me:$LINENO: result: no" >&5
9144 echo "${ECHO_T}no" >&6
9149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9150 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9152 # Check whether --enable-splines or --disable-splines was given.
9153 if test "${enable_splines+set}" = set; then
9154 enableval="$enable_splines"
9156 if test "$enableval" = yes; then
9157 ac_cv_use_splines='wxUSE_SPLINES=yes'
9159 ac_cv_use_splines='wxUSE_SPLINES=no'
9164 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9165 if test "x$LINE" != x ; then
9166 eval "DEFAULT_$LINE"
9171 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9175 eval "$ac_cv_use_splines"
9176 if test "$no_cache" != 1; then
9177 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9180 if test "$wxUSE_SPLINES" = yes; then
9181 echo "$as_me:$LINENO: result: yes" >&5
9182 echo "${ECHO_T}yes" >&6
9184 echo "$as_me:$LINENO: result: no" >&5
9185 echo "${ECHO_T}no" >&6
9190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9191 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9193 # Check whether --enable-validators or --disable-validators was given.
9194 if test "${enable_validators+set}" = set; then
9195 enableval="$enable_validators"
9197 if test "$enableval" = yes; then
9198 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9200 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9205 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9206 if test "x$LINE" != x ; then
9207 eval "DEFAULT_$LINE"
9212 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9216 eval "$ac_cv_use_validators"
9217 if test "$no_cache" != 1; then
9218 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9221 if test "$wxUSE_VALIDATORS" = yes; then
9222 echo "$as_me:$LINENO: result: yes" >&5
9223 echo "${ECHO_T}yes" >&6
9225 echo "$as_me:$LINENO: result: no" >&5
9226 echo "${ECHO_T}no" >&6
9231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9232 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9234 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9235 if test "${enable_busyinfo+set}" = set; then
9236 enableval="$enable_busyinfo"
9238 if test "$enableval" = yes; then
9239 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9241 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9246 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9247 if test "x$LINE" != x ; then
9248 eval "DEFAULT_$LINE"
9253 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9257 eval "$ac_cv_use_busyinfo"
9258 if test "$no_cache" != 1; then
9259 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9262 if test "$wxUSE_BUSYINFO" = yes; then
9263 echo "$as_me:$LINENO: result: yes" >&5
9264 echo "${ECHO_T}yes" >&6
9266 echo "$as_me:$LINENO: result: no" >&5
9267 echo "${ECHO_T}no" >&6
9272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9273 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9275 # Check whether --enable-joystick or --disable-joystick was given.
9276 if test "${enable_joystick+set}" = set; then
9277 enableval="$enable_joystick"
9279 if test "$enableval" = yes; then
9280 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9282 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9287 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9288 if test "x$LINE" != x ; then
9289 eval "DEFAULT_$LINE"
9294 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9298 eval "$ac_cv_use_joystick"
9299 if test "$no_cache" != 1; then
9300 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9303 if test "$wxUSE_JOYSTICK" = yes; then
9304 echo "$as_me:$LINENO: result: yes" >&5
9305 echo "${ECHO_T}yes" >&6
9307 echo "$as_me:$LINENO: result: no" >&5
9308 echo "${ECHO_T}no" >&6
9313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9314 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9316 # Check whether --enable-metafile or --disable-metafile was given.
9317 if test "${enable_metafile+set}" = set; then
9318 enableval="$enable_metafile"
9320 if test "$enableval" = yes; then
9321 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9323 ac_cv_use_metafile='wxUSE_METAFILE=no'
9328 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9329 if test "x$LINE" != x ; then
9330 eval "DEFAULT_$LINE"
9335 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9339 eval "$ac_cv_use_metafile"
9340 if test "$no_cache" != 1; then
9341 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9344 if test "$wxUSE_METAFILE" = yes; then
9345 echo "$as_me:$LINENO: result: yes" >&5
9346 echo "${ECHO_T}yes" >&6
9348 echo "$as_me:$LINENO: result: no" >&5
9349 echo "${ECHO_T}no" >&6
9354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9355 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9357 # Check whether --enable-dragimage or --disable-dragimage was given.
9358 if test "${enable_dragimage+set}" = set; then
9359 enableval="$enable_dragimage"
9361 if test "$enableval" = yes; then
9362 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9364 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9369 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9370 if test "x$LINE" != x ; then
9371 eval "DEFAULT_$LINE"
9376 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9380 eval "$ac_cv_use_dragimage"
9381 if test "$no_cache" != 1; then
9382 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9385 if test "$wxUSE_DRAGIMAGE" = yes; then
9386 echo "$as_me:$LINENO: result: yes" >&5
9387 echo "${ECHO_T}yes" >&6
9389 echo "$as_me:$LINENO: result: no" >&5
9390 echo "${ECHO_T}no" >&6
9395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9396 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9398 # Check whether --enable-accessibility or --disable-accessibility was given.
9399 if test "${enable_accessibility+set}" = set; then
9400 enableval="$enable_accessibility"
9402 if test "$enableval" = yes; then
9403 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9405 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9410 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9411 if test "x$LINE" != x ; then
9412 eval "DEFAULT_$LINE"
9417 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9421 eval "$ac_cv_use_accessibility"
9422 if test "$no_cache" != 1; then
9423 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9426 if test "$wxUSE_ACCESSIBILITY" = yes; then
9427 echo "$as_me:$LINENO: result: yes" >&5
9428 echo "${ECHO_T}yes" >&6
9430 echo "$as_me:$LINENO: result: no" >&5
9431 echo "${ECHO_T}no" >&6
9438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9439 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9441 # Check whether --enable-palette or --disable-palette was given.
9442 if test "${enable_palette+set}" = set; then
9443 enableval="$enable_palette"
9445 if test "$enableval" = yes; then
9446 ac_cv_use_palette='wxUSE_PALETTE=yes'
9448 ac_cv_use_palette='wxUSE_PALETTE=no'
9453 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9454 if test "x$LINE" != x ; then
9455 eval "DEFAULT_$LINE"
9460 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9464 eval "$ac_cv_use_palette"
9465 if test "$no_cache" != 1; then
9466 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9469 if test "$wxUSE_PALETTE" = 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
9479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9480 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9482 # Check whether --enable-image or --disable-image was given.
9483 if test "${enable_image+set}" = set; then
9484 enableval="$enable_image"
9486 if test "$enableval" = yes; then
9487 ac_cv_use_image='wxUSE_IMAGE=yes'
9489 ac_cv_use_image='wxUSE_IMAGE=no'
9494 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9495 if test "x$LINE" != x ; then
9496 eval "DEFAULT_$LINE"
9501 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9505 eval "$ac_cv_use_image"
9506 if test "$no_cache" != 1; then
9507 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9510 if test "$wxUSE_IMAGE" = yes; then
9511 echo "$as_me:$LINENO: result: yes" >&5
9512 echo "${ECHO_T}yes" >&6
9514 echo "$as_me:$LINENO: result: no" >&5
9515 echo "${ECHO_T}no" >&6
9520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9521 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9523 # Check whether --enable-gif or --disable-gif was given.
9524 if test "${enable_gif+set}" = set; then
9525 enableval="$enable_gif"
9527 if test "$enableval" = yes; then
9528 ac_cv_use_gif='wxUSE_GIF=yes'
9530 ac_cv_use_gif='wxUSE_GIF=no'
9535 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9536 if test "x$LINE" != x ; then
9537 eval "DEFAULT_$LINE"
9542 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9546 eval "$ac_cv_use_gif"
9547 if test "$no_cache" != 1; then
9548 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9551 if test "$wxUSE_GIF" = yes; then
9552 echo "$as_me:$LINENO: result: yes" >&5
9553 echo "${ECHO_T}yes" >&6
9555 echo "$as_me:$LINENO: result: no" >&5
9556 echo "${ECHO_T}no" >&6
9561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9562 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9564 # Check whether --enable-pcx or --disable-pcx was given.
9565 if test "${enable_pcx+set}" = set; then
9566 enableval="$enable_pcx"
9568 if test "$enableval" = yes; then
9569 ac_cv_use_pcx='wxUSE_PCX=yes'
9571 ac_cv_use_pcx='wxUSE_PCX=no'
9576 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9577 if test "x$LINE" != x ; then
9578 eval "DEFAULT_$LINE"
9583 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9587 eval "$ac_cv_use_pcx"
9588 if test "$no_cache" != 1; then
9589 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9592 if test "$wxUSE_PCX" = yes; then
9593 echo "$as_me:$LINENO: result: yes" >&5
9594 echo "${ECHO_T}yes" >&6
9596 echo "$as_me:$LINENO: result: no" >&5
9597 echo "${ECHO_T}no" >&6
9602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9605 # Check whether --enable-iff or --disable-iff was given.
9606 if test "${enable_iff+set}" = set; then
9607 enableval="$enable_iff"
9609 if test "$enableval" = yes; then
9610 ac_cv_use_iff='wxUSE_IFF=yes'
9612 ac_cv_use_iff='wxUSE_IFF=no'
9617 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9618 if test "x$LINE" != x ; then
9619 eval "DEFAULT_$LINE"
9624 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9628 eval "$ac_cv_use_iff"
9629 if test "$no_cache" != 1; then
9630 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9633 if test "$wxUSE_IFF" = yes; then
9634 echo "$as_me:$LINENO: result: yes" >&5
9635 echo "${ECHO_T}yes" >&6
9637 echo "$as_me:$LINENO: result: no" >&5
9638 echo "${ECHO_T}no" >&6
9643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9644 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9646 # Check whether --enable-pnm or --disable-pnm was given.
9647 if test "${enable_pnm+set}" = set; then
9648 enableval="$enable_pnm"
9650 if test "$enableval" = yes; then
9651 ac_cv_use_pnm='wxUSE_PNM=yes'
9653 ac_cv_use_pnm='wxUSE_PNM=no'
9658 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9659 if test "x$LINE" != x ; then
9660 eval "DEFAULT_$LINE"
9665 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9669 eval "$ac_cv_use_pnm"
9670 if test "$no_cache" != 1; then
9671 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9674 if test "$wxUSE_PNM" = yes; then
9675 echo "$as_me:$LINENO: result: yes" >&5
9676 echo "${ECHO_T}yes" >&6
9678 echo "$as_me:$LINENO: result: no" >&5
9679 echo "${ECHO_T}no" >&6
9684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9685 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9687 # Check whether --enable-xpm or --disable-xpm was given.
9688 if test "${enable_xpm+set}" = set; then
9689 enableval="$enable_xpm"
9691 if test "$enableval" = yes; then
9692 ac_cv_use_xpm='wxUSE_XPM=yes'
9694 ac_cv_use_xpm='wxUSE_XPM=no'
9699 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9700 if test "x$LINE" != x ; then
9701 eval "DEFAULT_$LINE"
9706 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9710 eval "$ac_cv_use_xpm"
9711 if test "$no_cache" != 1; then
9712 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9715 if test "$wxUSE_XPM" = yes; then
9716 echo "$as_me:$LINENO: result: yes" >&5
9717 echo "${ECHO_T}yes" >&6
9719 echo "$as_me:$LINENO: result: no" >&5
9720 echo "${ECHO_T}no" >&6
9725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9726 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9728 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9729 if test "${enable_ico_cur+set}" = set; then
9730 enableval="$enable_ico_cur"
9732 if test "$enableval" = yes; then
9733 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9735 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9740 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9741 if test "x$LINE" != x ; then
9742 eval "DEFAULT_$LINE"
9747 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9751 eval "$ac_cv_use_ico_cur"
9752 if test "$no_cache" != 1; then
9753 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9756 if test "$wxUSE_ICO_CUR" = yes; then
9757 echo "$as_me:$LINENO: result: yes" >&5
9758 echo "${ECHO_T}yes" >&6
9760 echo "$as_me:$LINENO: result: no" >&5
9761 echo "${ECHO_T}no" >&6
9770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9771 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9773 # Check whether --enable-official_build or --disable-official_build was given.
9774 if test "${enable_official_build+set}" = set; then
9775 enableval="$enable_official_build"
9777 if test "$enableval" = yes; then
9778 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9780 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9785 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9786 if test "x$LINE" != x ; then
9787 eval "DEFAULT_$LINE"
9792 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9796 eval "$ac_cv_use_official_build"
9797 if test "$no_cache" != 1; then
9798 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9801 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9802 echo "$as_me:$LINENO: result: yes" >&5
9803 echo "${ECHO_T}yes" >&6
9805 echo "$as_me:$LINENO: result: no" >&5
9806 echo "${ECHO_T}no" >&6
9809 # Check whether --enable-vendor or --disable-vendor was given.
9810 if test "${enable_vendor+set}" = set; then
9811 enableval="$enable_vendor"
9814 if test "x$VENDOR" = "x"; then
9819 *-pc-os2_emx | *-pc-os2-emx )
9829 echo "saving argument cache $wx_arg_cache_file"
9830 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9834 echo "$as_me:$LINENO: checking for toolkit" >&5
9835 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9837 # In Wine, we need to default to MSW, not GTK or MOTIF
9838 if test "$wxUSE_WINE" = "yes"; then
9839 DEFAULT_DEFAULT_wxUSE_GTK=0
9840 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9841 DEFAULT_DEFAULT_wxUSE_MSW=1
9845 if test "$wxUSE_GUI" = "yes"; then
9847 if test "$USE_BEOS" = 1; then
9848 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9849 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9850 { (exit 1); exit 1; }; }
9853 if test "$TOOLKIT_GIVEN" = 1; then
9854 for toolkit in `echo $ALL_TOOLKITS`; do
9856 eval "value=\$${var}"
9857 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9860 for toolkit in `echo $ALL_TOOLKITS`; do
9861 if test "$has_toolkit_in_cache" != 1; then
9862 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9864 var=DEFAULT_wxUSE_$toolkit
9866 eval "wxUSE_$toolkit=\$${var}"
9870 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9871 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9872 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9875 *-pc-os2_emx | *-pc-os2-emx )
9876 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9879 case "$NUM_TOOLKITS" in
9883 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9884 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9885 { (exit 1); exit 1; }; }
9888 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9889 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9890 { (exit 1); exit 1; }; }
9893 for toolkit in `echo $ALL_TOOLKITS`; do
9895 eval "value=\$${var}"
9896 if test "x$value" != x; then
9897 cache_var=CACHE_$toolkit
9898 eval "cache=\$${cache_var}"
9899 if test "$cache" = 1; then
9900 echo "$var=$value" >> ${wx_arg_cache_file}
9902 if test "$value" = 1; then
9903 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9904 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9905 echo "${ECHO_T}$toolkit_echo" >&6
9910 if test "x$host_alias" != "x"; then
9911 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9912 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9914 echo "$as_me:$LINENO: result: base only" >&5
9915 echo "${ECHO_T}base only" >&6
9923 if test "$wxUSE_MSW" = 1 ; then
9934 if test "$wxUSE_WINE" = "yes"; then
9939 LDFLAGS_GUI="-mwindows"
9942 if test "$wants_win32" = 1 ; then
9945 cat >>confdefs.h <<\_ACEOF
9949 cat >>confdefs.h <<\_ACEOF
9953 cat >>confdefs.h <<\_ACEOF
9954 #define __WINDOWS__ 1
9957 cat >>confdefs.h <<\_ACEOF
9958 #define __GNUWIN32__ 1
9961 cat >>confdefs.h <<\_ACEOF
9965 cat >>confdefs.h <<\_ACEOF
9966 #define WINVER 0x0400
9970 if test "$doesnt_want_win32" = 1 ; then
9975 if test "$USE_UNIX" = 1 ; then
9977 cat >>confdefs.h <<\_ACEOF
9984 cat >confcache <<\_ACEOF
9985 # This file is a shell script that caches the results of configure
9986 # tests run on this system so they can be shared between configure
9987 # scripts and configure runs, see configure's option --config-cache.
9988 # It is not useful on other systems. If it contains results you don't
9989 # want to keep, you may remove or edit it.
9991 # config.status only pays attention to the cache file if you give it
9992 # the --recheck option to rerun configure.
9994 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9995 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10000 # The following way of writing the cache mishandles newlines in values,
10001 # but we know of no workaround that is simple, portable, and efficient.
10002 # So, don't put newlines in cache variables' values.
10003 # Ultrix sh set writes to stderr and can't be redirected directly,
10004 # and sets the high bit in the cache file unless we assign to the vars.
10007 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10009 # `set' does not quote correctly, so add quotes (double-quote
10010 # substitution turns \\\\ into \\, and sed turns \\ into \).
10013 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10016 # `set' quotes correctly as required by POSIX, so do not add quotes.
10018 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10025 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10027 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10029 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10030 if test -w $cache_file; then
10031 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10032 cat confcache >$cache_file
10034 echo "not updating unwritable cache $cache_file"
10039 if test "$build" != "$host" ; then
10040 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10042 CXX=$host_alias-c++
10044 RANLIB=$host_alias-ranlib
10045 DLLTOOL=$host_alias-dlltool
10046 RESCOMP=$host_alias-windres
10049 STRIP=$host_alias-strip
10051 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10052 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10053 { (exit 1); exit 1; }; }
10059 ac_cpp='$CPP $CPPFLAGS'
10060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10063 if test -n "$ac_tool_prefix"; then
10064 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10065 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10066 echo "$as_me:$LINENO: checking for $ac_word" >&5
10067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10068 if test "${ac_cv_prog_CC+set}" = set; then
10069 echo $ECHO_N "(cached) $ECHO_C" >&6
10071 if test -n "$CC"; then
10072 ac_cv_prog_CC="$CC" # Let the user override the test.
10074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10075 for as_dir in $PATH
10078 test -z "$as_dir" && as_dir=.
10079 for ac_exec_ext in '' $ac_executable_extensions; do
10080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10081 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10091 if test -n "$CC"; then
10092 echo "$as_me:$LINENO: result: $CC" >&5
10093 echo "${ECHO_T}$CC" >&6
10095 echo "$as_me:$LINENO: result: no" >&5
10096 echo "${ECHO_T}no" >&6
10100 if test -z "$ac_cv_prog_CC"; then
10102 # Extract the first word of "gcc", so it can be a program name with args.
10103 set dummy gcc; ac_word=$2
10104 echo "$as_me:$LINENO: checking for $ac_word" >&5
10105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10106 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10107 echo $ECHO_N "(cached) $ECHO_C" >&6
10109 if test -n "$ac_ct_CC"; then
10110 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10113 for as_dir in $PATH
10116 test -z "$as_dir" && as_dir=.
10117 for ac_exec_ext in '' $ac_executable_extensions; do
10118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10119 ac_cv_prog_ac_ct_CC="gcc"
10120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10128 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10129 if test -n "$ac_ct_CC"; then
10130 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10131 echo "${ECHO_T}$ac_ct_CC" >&6
10133 echo "$as_me:$LINENO: result: no" >&5
10134 echo "${ECHO_T}no" >&6
10139 CC="$ac_cv_prog_CC"
10142 if test -z "$CC"; then
10143 if test -n "$ac_tool_prefix"; then
10144 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10145 set dummy ${ac_tool_prefix}cc; ac_word=$2
10146 echo "$as_me:$LINENO: checking for $ac_word" >&5
10147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10148 if test "${ac_cv_prog_CC+set}" = set; then
10149 echo $ECHO_N "(cached) $ECHO_C" >&6
10151 if test -n "$CC"; then
10152 ac_cv_prog_CC="$CC" # Let the user override the test.
10154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10155 for as_dir in $PATH
10158 test -z "$as_dir" && as_dir=.
10159 for ac_exec_ext in '' $ac_executable_extensions; do
10160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10161 ac_cv_prog_CC="${ac_tool_prefix}cc"
10162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10171 if test -n "$CC"; then
10172 echo "$as_me:$LINENO: result: $CC" >&5
10173 echo "${ECHO_T}$CC" >&6
10175 echo "$as_me:$LINENO: result: no" >&5
10176 echo "${ECHO_T}no" >&6
10180 if test -z "$ac_cv_prog_CC"; then
10182 # Extract the first word of "cc", so it can be a program name with args.
10183 set dummy cc; ac_word=$2
10184 echo "$as_me:$LINENO: checking for $ac_word" >&5
10185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10186 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10187 echo $ECHO_N "(cached) $ECHO_C" >&6
10189 if test -n "$ac_ct_CC"; then
10190 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10193 for as_dir in $PATH
10196 test -z "$as_dir" && as_dir=.
10197 for ac_exec_ext in '' $ac_executable_extensions; do
10198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10199 ac_cv_prog_ac_ct_CC="cc"
10200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10208 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10209 if test -n "$ac_ct_CC"; then
10210 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10211 echo "${ECHO_T}$ac_ct_CC" >&6
10213 echo "$as_me:$LINENO: result: no" >&5
10214 echo "${ECHO_T}no" >&6
10219 CC="$ac_cv_prog_CC"
10223 if test -z "$CC"; then
10224 # Extract the first word of "cc", so it can be a program name with args.
10225 set dummy cc; ac_word=$2
10226 echo "$as_me:$LINENO: checking for $ac_word" >&5
10227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10228 if test "${ac_cv_prog_CC+set}" = set; then
10229 echo $ECHO_N "(cached) $ECHO_C" >&6
10231 if test -n "$CC"; then
10232 ac_cv_prog_CC="$CC" # Let the user override the test.
10234 ac_prog_rejected=no
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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10243 ac_prog_rejected=yes
10247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10253 if test $ac_prog_rejected = yes; then
10254 # We found a bogon in the path, so make sure we never use it.
10255 set dummy $ac_cv_prog_CC
10257 if test $# != 0; then
10258 # We chose a different compiler from the bogus one.
10259 # However, it has the same basename, so the bogon will be chosen
10260 # first if we set CC to just the basename; use the full file name.
10262 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10268 if test -n "$CC"; then
10269 echo "$as_me:$LINENO: result: $CC" >&5
10270 echo "${ECHO_T}$CC" >&6
10272 echo "$as_me:$LINENO: result: no" >&5
10273 echo "${ECHO_T}no" >&6
10277 if test -z "$CC"; then
10278 if test -n "$ac_tool_prefix"; then
10281 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10282 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10283 echo "$as_me:$LINENO: checking for $ac_word" >&5
10284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10285 if test "${ac_cv_prog_CC+set}" = set; then
10286 echo $ECHO_N "(cached) $ECHO_C" >&6
10288 if test -n "$CC"; then
10289 ac_cv_prog_CC="$CC" # Let the user override the test.
10291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10292 for as_dir in $PATH
10295 test -z "$as_dir" && as_dir=.
10296 for ac_exec_ext in '' $ac_executable_extensions; do
10297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10298 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10308 if test -n "$CC"; then
10309 echo "$as_me:$LINENO: result: $CC" >&5
10310 echo "${ECHO_T}$CC" >&6
10312 echo "$as_me:$LINENO: result: no" >&5
10313 echo "${ECHO_T}no" >&6
10316 test -n "$CC" && break
10319 if test -z "$CC"; then
10323 # Extract the first word of "$ac_prog", so it can be a program name with args.
10324 set dummy $ac_prog; ac_word=$2
10325 echo "$as_me:$LINENO: checking for $ac_word" >&5
10326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10327 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10328 echo $ECHO_N "(cached) $ECHO_C" >&6
10330 if test -n "$ac_ct_CC"; then
10331 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10334 for as_dir in $PATH
10337 test -z "$as_dir" && as_dir=.
10338 for ac_exec_ext in '' $ac_executable_extensions; do
10339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10340 ac_cv_prog_ac_ct_CC="$ac_prog"
10341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10349 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10350 if test -n "$ac_ct_CC"; then
10351 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10352 echo "${ECHO_T}$ac_ct_CC" >&6
10354 echo "$as_me:$LINENO: result: no" >&5
10355 echo "${ECHO_T}no" >&6
10358 test -n "$ac_ct_CC" && break
10367 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10368 See \`config.log' for more details." >&5
10369 echo "$as_me: error: no acceptable C compiler found in \$PATH
10370 See \`config.log' for more details." >&2;}
10371 { (exit 1); exit 1; }; }
10373 # Provide some information about the compiler.
10374 echo "$as_me:$LINENO:" \
10375 "checking for C compiler version" >&5
10376 ac_compiler=`set X $ac_compile; echo $2`
10377 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10378 (eval $ac_compiler --version </dev/null >&5) 2>&5
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); }
10382 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10383 (eval $ac_compiler -v </dev/null >&5) 2>&5
10385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 (exit $ac_status); }
10387 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10388 (eval $ac_compiler -V </dev/null >&5) 2>&5
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); }
10393 cat >conftest.$ac_ext <<_ACEOF
10394 #line $LINENO "configure"
10397 cat confdefs.h >>conftest.$ac_ext
10398 cat >>conftest.$ac_ext <<_ACEOF
10399 /* end confdefs.h. */
10409 ac_clean_files_save=$ac_clean_files
10410 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10411 # Try to create an executable without -o first, disregard a.out.
10412 # It will help us diagnose broken compilers, and finding out an intuition
10414 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10415 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10416 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10417 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10418 (eval $ac_link_default) 2>&5
10420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10421 (exit $ac_status); }; then
10422 # Find the output, starting from the most likely. This scheme is
10423 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10426 # Be careful to initialize this variable, since it used to be cached.
10427 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10429 # b.out is created by i960 compilers.
10430 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10432 test -f "$ac_file" || continue
10434 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10437 # This is the source file.
10440 # We found the default executable, but exeext='' is most
10444 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10445 # FIXME: I believe we export ac_cv_exeext for Libtool,
10446 # but it would be cool to find out if it's true. Does anybody
10447 # maintain Libtool? --akim.
10448 export ac_cv_exeext
10455 echo "$as_me: failed program was:" >&5
10456 sed 's/^/| /' conftest.$ac_ext >&5
10458 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10459 See \`config.log' for more details." >&5
10460 echo "$as_me: error: C compiler cannot create executables
10461 See \`config.log' for more details." >&2;}
10462 { (exit 77); exit 77; }; }
10465 ac_exeext=$ac_cv_exeext
10466 echo "$as_me:$LINENO: result: $ac_file" >&5
10467 echo "${ECHO_T}$ac_file" >&6
10469 # Check the compiler produces executables we can run. If not, either
10470 # the compiler is broken, or we cross compile.
10471 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10472 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10473 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10474 # If not cross compiling, check that we can run a simple program.
10475 if test "$cross_compiling" != yes; then
10476 if { ac_try='./$ac_file'
10477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10478 (eval $ac_try) 2>&5
10480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481 (exit $ac_status); }; }; then
10484 if test "$cross_compiling" = maybe; then
10485 cross_compiling=yes
10487 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10488 If you meant to cross compile, use \`--host'.
10489 See \`config.log' for more details." >&5
10490 echo "$as_me: error: cannot run C compiled programs.
10491 If you meant to cross compile, use \`--host'.
10492 See \`config.log' for more details." >&2;}
10493 { (exit 1); exit 1; }; }
10497 echo "$as_me:$LINENO: result: yes" >&5
10498 echo "${ECHO_T}yes" >&6
10500 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10501 ac_clean_files=$ac_clean_files_save
10502 # Check the compiler produces executables we can run. If not, either
10503 # the compiler is broken, or we cross compile.
10504 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10505 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10506 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10507 echo "${ECHO_T}$cross_compiling" >&6
10509 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10510 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10512 (eval $ac_link) 2>&5
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); }; then
10516 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10517 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10518 # work properly (i.e., refer to `conftest.exe'), while it won't with
10520 for ac_file in conftest.exe conftest conftest.*; do
10521 test -f "$ac_file" || continue
10523 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10524 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10525 export ac_cv_exeext
10531 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10532 See \`config.log' for more details." >&5
10533 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10534 See \`config.log' for more details." >&2;}
10535 { (exit 1); exit 1; }; }
10538 rm -f conftest$ac_cv_exeext
10539 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10540 echo "${ECHO_T}$ac_cv_exeext" >&6
10542 rm -f conftest.$ac_ext
10543 EXEEXT=$ac_cv_exeext
10545 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10546 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10547 if test "${ac_cv_objext+set}" = set; then
10548 echo $ECHO_N "(cached) $ECHO_C" >&6
10550 cat >conftest.$ac_ext <<_ACEOF
10551 #line $LINENO "configure"
10554 cat confdefs.h >>conftest.$ac_ext
10555 cat >>conftest.$ac_ext <<_ACEOF
10556 /* end confdefs.h. */
10566 rm -f conftest.o conftest.obj
10567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10568 (eval $ac_compile) 2>&5
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); }; then
10572 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10574 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10575 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10580 echo "$as_me: failed program was:" >&5
10581 sed 's/^/| /' conftest.$ac_ext >&5
10583 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10584 See \`config.log' for more details." >&5
10585 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10586 See \`config.log' for more details." >&2;}
10587 { (exit 1); exit 1; }; }
10590 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10592 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10593 echo "${ECHO_T}$ac_cv_objext" >&6
10594 OBJEXT=$ac_cv_objext
10596 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10597 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10598 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10599 echo $ECHO_N "(cached) $ECHO_C" >&6
10601 cat >conftest.$ac_ext <<_ACEOF
10602 #line $LINENO "configure"
10605 cat confdefs.h >>conftest.$ac_ext
10606 cat >>conftest.$ac_ext <<_ACEOF
10607 /* end confdefs.h. */
10620 rm -f conftest.$ac_objext
10621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10622 (eval $ac_compile) 2>&5
10624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625 (exit $ac_status); } &&
10626 { ac_try='test -s conftest.$ac_objext'
10627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10628 (eval $ac_try) 2>&5
10630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631 (exit $ac_status); }; }; then
10632 ac_compiler_gnu=yes
10634 echo "$as_me: failed program was:" >&5
10635 sed 's/^/| /' conftest.$ac_ext >&5
10639 rm -f conftest.$ac_objext conftest.$ac_ext
10640 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10643 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10644 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10645 GCC=`test $ac_compiler_gnu = yes && echo yes`
10646 ac_test_CFLAGS=${CFLAGS+set}
10647 ac_save_CFLAGS=$CFLAGS
10649 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10650 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10651 if test "${ac_cv_prog_cc_g+set}" = set; then
10652 echo $ECHO_N "(cached) $ECHO_C" >&6
10654 cat >conftest.$ac_ext <<_ACEOF
10655 #line $LINENO "configure"
10658 cat confdefs.h >>conftest.$ac_ext
10659 cat >>conftest.$ac_ext <<_ACEOF
10660 /* end confdefs.h. */
10670 rm -f conftest.$ac_objext
10671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10672 (eval $ac_compile) 2>&5
10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 (exit $ac_status); } &&
10676 { ac_try='test -s conftest.$ac_objext'
10677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10678 (eval $ac_try) 2>&5
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); }; }; then
10682 ac_cv_prog_cc_g=yes
10684 echo "$as_me: failed program was:" >&5
10685 sed 's/^/| /' conftest.$ac_ext >&5
10689 rm -f conftest.$ac_objext conftest.$ac_ext
10691 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10692 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10693 if test "$ac_test_CFLAGS" = set; then
10694 CFLAGS=$ac_save_CFLAGS
10695 elif test $ac_cv_prog_cc_g = yes; then
10696 if test "$GCC" = yes; then
10702 if test "$GCC" = yes; then
10708 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10709 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10710 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10713 ac_cv_prog_cc_stdc=no
10715 cat >conftest.$ac_ext <<_ACEOF
10716 #line $LINENO "configure"
10719 cat confdefs.h >>conftest.$ac_ext
10720 cat >>conftest.$ac_ext <<_ACEOF
10721 /* end confdefs.h. */
10722 #include <stdarg.h>
10724 #include <sys/types.h>
10725 #include <sys/stat.h>
10726 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10727 struct buf { int x; };
10728 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10729 static char *e (p, i)
10735 static char *f (char * (*g) (char **, int), char **p, ...)
10740 s = g (p, va_arg (v,int));
10744 int test (int i, double x);
10745 struct s1 {int (*f) (int a);};
10746 struct s2 {int (*f) (double a);};
10747 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10753 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10758 # Don't try gcc -ansi; that turns off useful extensions and
10759 # breaks some systems' header files.
10760 # AIX -qlanglvl=ansi
10761 # Ultrix and OSF/1 -std1
10762 # HP-UX 10.20 and later -Ae
10763 # HP-UX older versions -Aa -D_HPUX_SOURCE
10764 # SVR4 -Xc -D__EXTENSIONS__
10765 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10767 CC="$ac_save_CC $ac_arg"
10768 rm -f conftest.$ac_objext
10769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10770 (eval $ac_compile) 2>&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); } &&
10774 { ac_try='test -s conftest.$ac_objext'
10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776 (eval $ac_try) 2>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; }; then
10780 ac_cv_prog_cc_stdc=$ac_arg
10783 echo "$as_me: failed program was:" >&5
10784 sed 's/^/| /' conftest.$ac_ext >&5
10787 rm -f conftest.$ac_objext
10789 rm -f conftest.$ac_ext conftest.$ac_objext
10794 case "x$ac_cv_prog_cc_stdc" in
10796 echo "$as_me:$LINENO: result: none needed" >&5
10797 echo "${ECHO_T}none needed" >&6 ;;
10799 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10800 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10801 CC="$CC $ac_cv_prog_cc_stdc" ;;
10804 # Some people use a C++ compiler to compile C. Since we use `exit',
10805 # in C++ we need to declare it. In case someone uses the same compiler
10806 # for both compiling C and C++ we need to have the C++ compiler decide
10807 # the declaration of exit, since it's the most demanding environment.
10808 cat >conftest.$ac_ext <<_ACEOF
10809 #ifndef __cplusplus
10813 rm -f conftest.$ac_objext
10814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10815 (eval $ac_compile) 2>&5
10817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10818 (exit $ac_status); } &&
10819 { ac_try='test -s conftest.$ac_objext'
10820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10821 (eval $ac_try) 2>&5
10823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10824 (exit $ac_status); }; }; then
10825 for ac_declaration in \
10827 '#include <stdlib.h>' \
10828 'extern "C" void std::exit (int) throw (); using std::exit;' \
10829 'extern "C" void std::exit (int); using std::exit;' \
10830 'extern "C" void exit (int) throw ();' \
10831 'extern "C" void exit (int);' \
10834 cat >conftest.$ac_ext <<_ACEOF
10835 #line $LINENO "configure"
10838 cat confdefs.h >>conftest.$ac_ext
10839 cat >>conftest.$ac_ext <<_ACEOF
10840 /* end confdefs.h. */
10841 #include <stdlib.h>
10851 rm -f conftest.$ac_objext
10852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10853 (eval $ac_compile) 2>&5
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 (exit $ac_status); } &&
10857 { ac_try='test -s conftest.$ac_objext'
10858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10859 (eval $ac_try) 2>&5
10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 (exit $ac_status); }; }; then
10865 echo "$as_me: failed program was:" >&5
10866 sed 's/^/| /' conftest.$ac_ext >&5
10870 rm -f conftest.$ac_objext conftest.$ac_ext
10871 cat >conftest.$ac_ext <<_ACEOF
10872 #line $LINENO "configure"
10875 cat confdefs.h >>conftest.$ac_ext
10876 cat >>conftest.$ac_ext <<_ACEOF
10877 /* end confdefs.h. */
10887 rm -f conftest.$ac_objext
10888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10889 (eval $ac_compile) 2>&5
10891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892 (exit $ac_status); } &&
10893 { ac_try='test -s conftest.$ac_objext'
10894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10895 (eval $ac_try) 2>&5
10897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898 (exit $ac_status); }; }; then
10901 echo "$as_me: failed program was:" >&5
10902 sed 's/^/| /' conftest.$ac_ext >&5
10905 rm -f conftest.$ac_objext conftest.$ac_ext
10908 if test -n "$ac_declaration"; then
10909 echo '#ifdef __cplusplus' >>confdefs.h
10910 echo $ac_declaration >>confdefs.h
10911 echo '#endif' >>confdefs.h
10915 echo "$as_me: failed program was:" >&5
10916 sed 's/^/| /' conftest.$ac_ext >&5
10919 rm -f conftest.$ac_objext conftest.$ac_ext
10921 ac_cpp='$CPP $CPPFLAGS'
10922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10929 ac_cpp='$CPP $CPPFLAGS'
10930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10933 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10934 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10935 # On Suns, sometimes $CPP names a directory.
10936 if test -n "$CPP" && test -d "$CPP"; then
10939 if test -z "$CPP"; then
10940 if test "${ac_cv_prog_CPP+set}" = set; then
10941 echo $ECHO_N "(cached) $ECHO_C" >&6
10943 # Double quotes because CPP needs to be expanded
10944 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10946 ac_preproc_ok=false
10947 for ac_c_preproc_warn_flag in '' yes
10949 # Use a header file that comes with gcc, so configuring glibc
10950 # with a fresh cross-compiler works.
10951 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10952 # <limits.h> exists even on freestanding compilers.
10953 # On the NeXT, cc -E runs the code through the compiler's parser,
10954 # not just through cpp. "Syntax error" is here to catch this case.
10955 cat >conftest.$ac_ext <<_ACEOF
10956 #line $LINENO "configure"
10959 cat confdefs.h >>conftest.$ac_ext
10960 cat >>conftest.$ac_ext <<_ACEOF
10961 /* end confdefs.h. */
10963 # include <limits.h>
10965 # include <assert.h>
10969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10970 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10972 grep -v '^ *+' conftest.er1 >conftest.err
10974 cat conftest.err >&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); } >/dev/null; then
10977 if test -s conftest.err; then
10978 ac_cpp_err=$ac_c_preproc_warn_flag
10985 if test -z "$ac_cpp_err"; then
10988 echo "$as_me: failed program was:" >&5
10989 sed 's/^/| /' conftest.$ac_ext >&5
10991 # Broken: fails on valid input.
10994 rm -f conftest.err conftest.$ac_ext
10996 # OK, works on sane cases. Now check whether non-existent headers
10997 # can be detected and how.
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. */
11005 #include <ac_nonexistent.h>
11007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11010 grep -v '^ *+' conftest.er1 >conftest.err
11012 cat conftest.err >&5
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); } >/dev/null; then
11015 if test -s conftest.err; then
11016 ac_cpp_err=$ac_c_preproc_warn_flag
11023 if test -z "$ac_cpp_err"; then
11024 # Broken: success on invalid input.
11027 echo "$as_me: failed program was:" >&5
11028 sed 's/^/| /' conftest.$ac_ext >&5
11030 # Passes both tests.
11034 rm -f conftest.err conftest.$ac_ext
11037 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11038 rm -f conftest.err conftest.$ac_ext
11039 if $ac_preproc_ok; then
11044 ac_cv_prog_CPP=$CPP
11047 CPP=$ac_cv_prog_CPP
11049 ac_cv_prog_CPP=$CPP
11051 echo "$as_me:$LINENO: result: $CPP" >&5
11052 echo "${ECHO_T}$CPP" >&6
11053 ac_preproc_ok=false
11054 for ac_c_preproc_warn_flag in '' yes
11056 # Use a header file that comes with gcc, so configuring glibc
11057 # with a fresh cross-compiler works.
11058 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11059 # <limits.h> exists even on freestanding compilers.
11060 # On the NeXT, cc -E runs the code through the compiler's parser,
11061 # not just through cpp. "Syntax error" is here to catch this case.
11062 cat >conftest.$ac_ext <<_ACEOF
11063 #line $LINENO "configure"
11066 cat confdefs.h >>conftest.$ac_ext
11067 cat >>conftest.$ac_ext <<_ACEOF
11068 /* end confdefs.h. */
11070 # include <limits.h>
11072 # include <assert.h>
11076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11079 grep -v '^ *+' conftest.er1 >conftest.err
11081 cat conftest.err >&5
11082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11083 (exit $ac_status); } >/dev/null; then
11084 if test -s conftest.err; then
11085 ac_cpp_err=$ac_c_preproc_warn_flag
11092 if test -z "$ac_cpp_err"; then
11095 echo "$as_me: failed program was:" >&5
11096 sed 's/^/| /' conftest.$ac_ext >&5
11098 # Broken: fails on valid input.
11101 rm -f conftest.err conftest.$ac_ext
11103 # OK, works on sane cases. Now check whether non-existent headers
11104 # can be detected and how.
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. */
11112 #include <ac_nonexistent.h>
11114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11115 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11117 grep -v '^ *+' conftest.er1 >conftest.err
11119 cat conftest.err >&5
11120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11121 (exit $ac_status); } >/dev/null; then
11122 if test -s conftest.err; then
11123 ac_cpp_err=$ac_c_preproc_warn_flag
11130 if test -z "$ac_cpp_err"; then
11131 # Broken: success on invalid input.
11134 echo "$as_me: failed program was:" >&5
11135 sed 's/^/| /' conftest.$ac_ext >&5
11137 # Passes both tests.
11141 rm -f conftest.err conftest.$ac_ext
11144 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11145 rm -f conftest.err conftest.$ac_ext
11146 if $ac_preproc_ok; then
11149 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11150 See \`config.log' for more details." >&5
11151 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11152 See \`config.log' for more details." >&2;}
11153 { (exit 1); exit 1; }; }
11157 ac_cpp='$CPP $CPPFLAGS'
11158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11163 echo "$as_me:$LINENO: checking for egrep" >&5
11164 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11165 if test "${ac_cv_prog_egrep+set}" = set; then
11166 echo $ECHO_N "(cached) $ECHO_C" >&6
11168 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11169 then ac_cv_prog_egrep='grep -E'
11170 else ac_cv_prog_egrep='egrep'
11173 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11174 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11175 EGREP=$ac_cv_prog_egrep
11178 if test $ac_cv_c_compiler_gnu = yes; then
11179 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11180 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11181 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11182 echo $ECHO_N "(cached) $ECHO_C" >&6
11184 ac_pattern="Autoconf.*'x'"
11185 cat >conftest.$ac_ext <<_ACEOF
11186 #line $LINENO "configure"
11189 cat confdefs.h >>conftest.$ac_ext
11190 cat >>conftest.$ac_ext <<_ACEOF
11191 /* end confdefs.h. */
11195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11196 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11197 ac_cv_prog_gcc_traditional=yes
11199 ac_cv_prog_gcc_traditional=no
11204 if test $ac_cv_prog_gcc_traditional = no; then
11205 cat >conftest.$ac_ext <<_ACEOF
11206 #line $LINENO "configure"
11209 cat confdefs.h >>conftest.$ac_ext
11210 cat >>conftest.$ac_ext <<_ACEOF
11211 /* end confdefs.h. */
11212 #include <termio.h>
11215 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11216 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11217 ac_cv_prog_gcc_traditional=yes
11223 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11224 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11225 if test $ac_cv_prog_gcc_traditional = yes; then
11226 CC="$CC -traditional"
11234 ac_cpp='$CXXCPP $CPPFLAGS'
11235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11240 CXXFLAGS=${CXXFLAGS:=}
11242 ac_cpp='$CXXCPP $CPPFLAGS'
11243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11246 if test -n "$ac_tool_prefix"; then
11247 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11249 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11250 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11251 echo "$as_me:$LINENO: checking for $ac_word" >&5
11252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11253 if test "${ac_cv_prog_CXX+set}" = set; then
11254 echo $ECHO_N "(cached) $ECHO_C" >&6
11256 if test -n "$CXX"; then
11257 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11260 for as_dir in $PATH
11263 test -z "$as_dir" && as_dir=.
11264 for ac_exec_ext in '' $ac_executable_extensions; do
11265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11266 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11275 CXX=$ac_cv_prog_CXX
11276 if test -n "$CXX"; then
11277 echo "$as_me:$LINENO: result: $CXX" >&5
11278 echo "${ECHO_T}$CXX" >&6
11280 echo "$as_me:$LINENO: result: no" >&5
11281 echo "${ECHO_T}no" >&6
11284 test -n "$CXX" && break
11287 if test -z "$CXX"; then
11289 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11291 # Extract the first word of "$ac_prog", so it can be a program name with args.
11292 set dummy $ac_prog; ac_word=$2
11293 echo "$as_me:$LINENO: checking for $ac_word" >&5
11294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11295 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11296 echo $ECHO_N "(cached) $ECHO_C" >&6
11298 if test -n "$ac_ct_CXX"; then
11299 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11302 for as_dir in $PATH
11305 test -z "$as_dir" && as_dir=.
11306 for ac_exec_ext in '' $ac_executable_extensions; do
11307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11308 ac_cv_prog_ac_ct_CXX="$ac_prog"
11309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11317 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11318 if test -n "$ac_ct_CXX"; then
11319 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11320 echo "${ECHO_T}$ac_ct_CXX" >&6
11322 echo "$as_me:$LINENO: result: no" >&5
11323 echo "${ECHO_T}no" >&6
11326 test -n "$ac_ct_CXX" && break
11328 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11334 # Provide some information about the compiler.
11335 echo "$as_me:$LINENO:" \
11336 "checking for C++ compiler version" >&5
11337 ac_compiler=`set X $ac_compile; echo $2`
11338 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11339 (eval $ac_compiler --version </dev/null >&5) 2>&5
11341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); }
11343 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11344 (eval $ac_compiler -v </dev/null >&5) 2>&5
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); }
11348 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11349 (eval $ac_compiler -V </dev/null >&5) 2>&5
11351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11352 (exit $ac_status); }
11354 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11355 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11356 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11357 echo $ECHO_N "(cached) $ECHO_C" >&6
11359 cat >conftest.$ac_ext <<_ACEOF
11360 #line $LINENO "configure"
11363 cat confdefs.h >>conftest.$ac_ext
11364 cat >>conftest.$ac_ext <<_ACEOF
11365 /* end confdefs.h. */
11378 rm -f conftest.$ac_objext
11379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11380 (eval $ac_compile) 2>&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); } &&
11384 { ac_try='test -s conftest.$ac_objext'
11385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11386 (eval $ac_try) 2>&5
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); }; }; then
11390 ac_compiler_gnu=yes
11392 echo "$as_me: failed program was:" >&5
11393 sed 's/^/| /' conftest.$ac_ext >&5
11397 rm -f conftest.$ac_objext conftest.$ac_ext
11398 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11401 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11402 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11403 GXX=`test $ac_compiler_gnu = yes && echo yes`
11404 ac_test_CXXFLAGS=${CXXFLAGS+set}
11405 ac_save_CXXFLAGS=$CXXFLAGS
11407 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11408 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11409 if test "${ac_cv_prog_cxx_g+set}" = set; then
11410 echo $ECHO_N "(cached) $ECHO_C" >&6
11412 cat >conftest.$ac_ext <<_ACEOF
11413 #line $LINENO "configure"
11416 cat confdefs.h >>conftest.$ac_ext
11417 cat >>conftest.$ac_ext <<_ACEOF
11418 /* end confdefs.h. */
11428 rm -f conftest.$ac_objext
11429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11430 (eval $ac_compile) 2>&5
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); } &&
11434 { ac_try='test -s conftest.$ac_objext'
11435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11436 (eval $ac_try) 2>&5
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); }; }; then
11440 ac_cv_prog_cxx_g=yes
11442 echo "$as_me: failed program was:" >&5
11443 sed 's/^/| /' conftest.$ac_ext >&5
11445 ac_cv_prog_cxx_g=no
11447 rm -f conftest.$ac_objext conftest.$ac_ext
11449 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11450 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11451 if test "$ac_test_CXXFLAGS" = set; then
11452 CXXFLAGS=$ac_save_CXXFLAGS
11453 elif test $ac_cv_prog_cxx_g = yes; then
11454 if test "$GXX" = yes; then
11460 if test "$GXX" = yes; then
11466 for ac_declaration in \
11468 '#include <stdlib.h>' \
11469 'extern "C" void std::exit (int) throw (); using std::exit;' \
11470 'extern "C" void std::exit (int); using std::exit;' \
11471 'extern "C" void exit (int) throw ();' \
11472 'extern "C" void exit (int);' \
11475 cat >conftest.$ac_ext <<_ACEOF
11476 #line $LINENO "configure"
11479 cat confdefs.h >>conftest.$ac_ext
11480 cat >>conftest.$ac_ext <<_ACEOF
11481 /* end confdefs.h. */
11482 #include <stdlib.h>
11492 rm -f conftest.$ac_objext
11493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11494 (eval $ac_compile) 2>&5
11496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11497 (exit $ac_status); } &&
11498 { ac_try='test -s conftest.$ac_objext'
11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11500 (eval $ac_try) 2>&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); }; }; then
11506 echo "$as_me: failed program was:" >&5
11507 sed 's/^/| /' conftest.$ac_ext >&5
11511 rm -f conftest.$ac_objext conftest.$ac_ext
11512 cat >conftest.$ac_ext <<_ACEOF
11513 #line $LINENO "configure"
11516 cat confdefs.h >>conftest.$ac_ext
11517 cat >>conftest.$ac_ext <<_ACEOF
11518 /* end confdefs.h. */
11528 rm -f conftest.$ac_objext
11529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11530 (eval $ac_compile) 2>&5
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); } &&
11534 { ac_try='test -s conftest.$ac_objext'
11535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11536 (eval $ac_try) 2>&5
11538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539 (exit $ac_status); }; }; then
11542 echo "$as_me: failed program was:" >&5
11543 sed 's/^/| /' conftest.$ac_ext >&5
11546 rm -f conftest.$ac_objext conftest.$ac_ext
11549 if test -n "$ac_declaration"; then
11550 echo '#ifdef __cplusplus' >>confdefs.h
11551 echo $ac_declaration >>confdefs.h
11552 echo '#endif' >>confdefs.h
11556 ac_cpp='$CXXCPP $CPPFLAGS'
11557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11563 ac_cpp='$CPP $CPPFLAGS'
11564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11569 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11570 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11571 GCC_SEARCHES_USR_LOCAL_INCLUDE="no"
11572 if test "$GCC" = "yes" ; then
11573 echo | gcc -v -x c++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11574 sed -n '1,/End of search list\./p' | \
11575 grep '^ */usr/local/include$' 2>&1 /dev/null \
11576 && GCC_SEARCHES_USR_LOCAL_INCLUDE="yes"
11578 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11579 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11581 if test -n "$ac_tool_prefix"; then
11582 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11583 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11584 echo "$as_me:$LINENO: checking for $ac_word" >&5
11585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11586 if test "${ac_cv_prog_RANLIB+set}" = set; then
11587 echo $ECHO_N "(cached) $ECHO_C" >&6
11589 if test -n "$RANLIB"; then
11590 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11593 for as_dir in $PATH
11596 test -z "$as_dir" && as_dir=.
11597 for ac_exec_ext in '' $ac_executable_extensions; do
11598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11599 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11608 RANLIB=$ac_cv_prog_RANLIB
11609 if test -n "$RANLIB"; then
11610 echo "$as_me:$LINENO: result: $RANLIB" >&5
11611 echo "${ECHO_T}$RANLIB" >&6
11613 echo "$as_me:$LINENO: result: no" >&5
11614 echo "${ECHO_T}no" >&6
11618 if test -z "$ac_cv_prog_RANLIB"; then
11619 ac_ct_RANLIB=$RANLIB
11620 # Extract the first word of "ranlib", so it can be a program name with args.
11621 set dummy ranlib; ac_word=$2
11622 echo "$as_me:$LINENO: checking for $ac_word" >&5
11623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11624 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11625 echo $ECHO_N "(cached) $ECHO_C" >&6
11627 if test -n "$ac_ct_RANLIB"; then
11628 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11631 for as_dir in $PATH
11634 test -z "$as_dir" && as_dir=.
11635 for ac_exec_ext in '' $ac_executable_extensions; do
11636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11637 ac_cv_prog_ac_ct_RANLIB="ranlib"
11638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11644 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11647 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11648 if test -n "$ac_ct_RANLIB"; then
11649 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11650 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11652 echo "$as_me:$LINENO: result: no" >&5
11653 echo "${ECHO_T}no" >&6
11656 RANLIB=$ac_ct_RANLIB
11658 RANLIB="$ac_cv_prog_RANLIB"
11662 # Extract the first word of "ar", so it can be a program name with args.
11663 set dummy ar; ac_word=$2
11664 echo "$as_me:$LINENO: checking for $ac_word" >&5
11665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11666 if test "${ac_cv_prog_AR+set}" = set; then
11667 echo $ECHO_N "(cached) $ECHO_C" >&6
11669 if test -n "$AR"; then
11670 ac_cv_prog_AR="$AR" # Let the user override the test.
11672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11673 for as_dir in $PATH
11676 test -z "$as_dir" && as_dir=.
11677 for ac_exec_ext in '' $ac_executable_extensions; do
11678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11689 if test -n "$AR"; then
11690 echo "$as_me:$LINENO: result: $AR" >&5
11691 echo "${ECHO_T}$AR" >&6
11693 echo "$as_me:$LINENO: result: no" >&5
11694 echo "${ECHO_T}no" >&6
11697 if test "x$AR" = "x" ; then
11698 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11699 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11700 { (exit 1); exit 1; }; }
11703 # Find a good install program. We prefer a C program (faster),
11704 # so one script is as good as another. But avoid the broken or
11705 # incompatible versions:
11706 # SysV /etc/install, /usr/sbin/install
11707 # SunOS /usr/etc/install
11708 # IRIX /sbin/install
11710 # AmigaOS /C/install, which installs bootblocks on floppy discs
11711 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11712 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11713 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11714 # ./install, which can be erroneously created by make from ./install.sh.
11715 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11716 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11717 if test -z "$INSTALL"; then
11718 if test "${ac_cv_path_install+set}" = set; then
11719 echo $ECHO_N "(cached) $ECHO_C" >&6
11721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11722 for as_dir in $PATH
11725 test -z "$as_dir" && as_dir=.
11726 # Account for people who put trailing slashes in PATH elements.
11728 ./ | .// | /cC/* | \
11729 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11732 # OSF1 and SCO ODT 3.0 have their own names for install.
11733 # Don't use installbsd from OSF since it installs stuff as root
11735 for ac_prog in ginstall scoinst install; do
11736 for ac_exec_ext in '' $ac_executable_extensions; do
11737 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11738 if test $ac_prog = install &&
11739 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11740 # AIX install. It has an incompatible calling convention.
11742 elif test $ac_prog = install &&
11743 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11744 # program-specific install script used by HP pwplus--don't use.
11747 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11759 if test "${ac_cv_path_install+set}" = set; then
11760 INSTALL=$ac_cv_path_install
11762 # As a last resort, use the slow shell script. We don't cache a
11763 # path for INSTALL within a source directory, because that will
11764 # break other packages using the cache if that directory is
11765 # removed, or if the path is relative.
11766 INSTALL=$ac_install_sh
11769 echo "$as_me:$LINENO: result: $INSTALL" >&5
11770 echo "${ECHO_T}$INSTALL" >&6
11772 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11773 # It thinks the first close brace ends the variable substitution.
11774 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11776 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11778 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11784 ?:* ) # Drive letter, considered as absolute.
11787 INSTALL=`pwd`/${INSTALL} ;;
11792 INSTALL_DIR="mkdir"
11795 *) INSTALL_DIR="$INSTALL -d"
11802 powerpc-*-darwin* )
11803 INSTALL_PROGRAM="cp -fp"
11804 INSTALL_DATA="cp -fp"
11810 # Extract the first word of "strip", so it can be a program name with args.
11811 set dummy strip; ac_word=$2
11812 echo "$as_me:$LINENO: checking for $ac_word" >&5
11813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11814 if test "${ac_cv_prog_STRIP+set}" = set; then
11815 echo $ECHO_N "(cached) $ECHO_C" >&6
11817 if test -n "$STRIP"; then
11818 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11821 for as_dir in $PATH
11824 test -z "$as_dir" && as_dir=.
11825 for ac_exec_ext in '' $ac_executable_extensions; do
11826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11827 ac_cv_prog_STRIP="strip"
11828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11834 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11837 STRIP=$ac_cv_prog_STRIP
11838 if test -n "$STRIP"; then
11839 echo "$as_me:$LINENO: result: $STRIP" >&5
11840 echo "${ECHO_T}$STRIP" >&6
11842 echo "$as_me:$LINENO: result: no" >&5
11843 echo "${ECHO_T}no" >&6
11847 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11848 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11849 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11850 echo $ECHO_N "(cached) $ECHO_C" >&6
11853 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11854 egrep -s GNU > /dev/null); then
11855 wx_cv_prog_makeisgnu="yes"
11857 wx_cv_prog_makeisgnu="no"
11861 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11862 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11864 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11872 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11873 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11874 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11875 if test "${wx_cv_prog_makevpath+set}" = set; then
11876 echo $ECHO_N "(cached) $ECHO_C" >&6
11879 cat - << EOF > confMake
11885 if test ! -d sub ; then
11888 echo dummy > sub/file
11889 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11891 rm -f sub/file check final_file confMake
11893 if test "$RESULT" = 0; then
11894 wx_cv_prog_makevpath="yes"
11896 wx_cv_prog_makevpath="no"
11900 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11901 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11903 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11904 { { echo "$as_me:$LINENO: error:
11905 You need a make-utility that is able to use the variable
11907 If your version of make does not support VPATH correctly,
11908 please install GNU-make (possibly as gmake), and start
11909 configure with the following command:
11910 export MAKE=gmake; ./configure for sh-type shells
11911 setenv MAKE gmake; ./configure for csh-type shells
11912 Also please do remember to use gmake in this case every time
11913 you are trying to compile.
11915 echo "$as_me: error:
11916 You need a make-utility that is able to use the variable
11918 If your version of make does not support VPATH correctly,
11919 please install GNU-make (possibly as gmake), and start
11920 configure with the following command:
11921 export MAKE=gmake; ./configure for sh-type shells
11922 setenv MAKE gmake; ./configure for csh-type shells
11923 Also please do remember to use gmake in this case every time
11924 you are trying to compile.
11926 { (exit 1); exit 1; }; }
11928 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11929 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11931 if test "$LN_S" = "ln -s"; then
11932 echo "$as_me:$LINENO: result: yes" >&5
11933 echo "${ECHO_T}yes" >&6
11935 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11936 echo "${ECHO_T}no, using $LN_S" >&6
11942 *-pc-os2_emx | *-pc-os2-emx )
11943 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11944 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11945 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11946 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11947 echo $ECHO_N "(cached) $ECHO_C" >&6
11949 ac_check_lib_save_LIBS=$LIBS
11950 LIBS="-lcExt $LIBS"
11951 cat >conftest.$ac_ext <<_ACEOF
11952 #line $LINENO "configure"
11955 cat confdefs.h >>conftest.$ac_ext
11956 cat >>conftest.$ac_ext <<_ACEOF
11957 /* end confdefs.h. */
11959 /* Override any gcc2 internal prototype to avoid an error. */
11963 /* We use char because int might match the return type of a gcc2
11964 builtin and then its argument prototype would still apply. */
11974 rm -f conftest.$ac_objext conftest$ac_exeext
11975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11976 (eval $ac_link) 2>&5
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); } &&
11980 { ac_try='test -s conftest$ac_exeext'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; }; then
11986 ac_cv_lib_cExt_drand48=yes
11988 echo "$as_me: failed program was:" >&5
11989 sed 's/^/| /' conftest.$ac_ext >&5
11991 ac_cv_lib_cExt_drand48=no
11993 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11994 LIBS=$ac_check_lib_save_LIBS
11996 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11997 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11998 if test $ac_cv_lib_cExt_drand48 = yes; then
11999 LIBS="$LIBS -lcExt"
12003 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12005 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
12006 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
12007 if test "${wx_cv_gcc3+set}" = set; then
12008 echo $ECHO_N "(cached) $ECHO_C" >&6
12011 cat >conftest.$ac_ext <<_ACEOF
12012 #line $LINENO "configure"
12015 cat confdefs.h >>conftest.$ac_ext
12016 cat >>conftest.$ac_ext <<_ACEOF
12017 /* end confdefs.h. */
12031 rm -f conftest.$ac_objext
12032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12033 (eval $ac_compile) 2>&5
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); } &&
12037 { ac_try='test -s conftest.$ac_objext'
12038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12039 (eval $ac_try) 2>&5
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); }; }; then
12047 echo "$as_me: failed program was:" >&5
12048 sed 's/^/| /' conftest.$ac_ext >&5
12055 rm -f conftest.$ac_objext conftest.$ac_ext
12058 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
12059 echo "${ECHO_T}$wx_cv_gcc3" >&6
12060 if test "$wx_cv_gcc3" = "no"; then
12061 LIBS="$LIBS -lstdcpp"
12063 LIBS="$LIBS -lstdcxx"
12071 ac_cpp='$CXXCPP $CPPFLAGS'
12072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12078 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12079 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12080 if test "${ac_cv_string_strcasecmp+set}" = set; then
12081 echo $ECHO_N "(cached) $ECHO_C" >&6
12084 cat >conftest.$ac_ext <<_ACEOF
12085 #line $LINENO "configure"
12088 cat confdefs.h >>conftest.$ac_ext
12089 cat >>conftest.$ac_ext <<_ACEOF
12090 /* end confdefs.h. */
12092 #include <string.h>
12098 strcasecmp("foo", "bar");
12104 rm -f conftest.$ac_objext conftest$ac_exeext
12105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12106 (eval $ac_link) 2>&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } &&
12110 { ac_try='test -s conftest$ac_exeext'
12111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12112 (eval $ac_try) 2>&5
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); }; }; then
12116 ac_cv_string_strcasecmp=yes
12118 echo "$as_me: failed program was:" >&5
12119 sed 's/^/| /' conftest.$ac_ext >&5
12121 ac_cv_string_strcasecmp=no
12124 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12127 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12128 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12130 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12131 cat >>confdefs.h <<\_ACEOF
12132 #define HAVE_STRCASECMP_IN_STRING_H 1
12136 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12137 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12138 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12139 echo $ECHO_N "(cached) $ECHO_C" >&6
12142 cat >conftest.$ac_ext <<_ACEOF
12143 #line $LINENO "configure"
12146 cat confdefs.h >>conftest.$ac_ext
12147 cat >>conftest.$ac_ext <<_ACEOF
12148 /* end confdefs.h. */
12150 #include <strings.h>
12156 strcasecmp("foo", "bar");
12162 rm -f conftest.$ac_objext conftest$ac_exeext
12163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12164 (eval $ac_link) 2>&5
12166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12167 (exit $ac_status); } &&
12168 { ac_try='test -s conftest$ac_exeext'
12169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12170 (eval $ac_try) 2>&5
12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); }; }; then
12174 ac_cv_strings_strcasecmp=yes
12176 echo "$as_me: failed program was:" >&5
12177 sed 's/^/| /' conftest.$ac_ext >&5
12179 ac_cv_strings_strcasecmp=no
12182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12185 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12186 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12188 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12189 cat >>confdefs.h <<\_ACEOF
12190 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12194 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12195 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12196 { (exit 1); exit 1; }; }
12201 ac_cpp='$CPP $CPPFLAGS'
12202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12210 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12211 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12212 if test "${ac_cv_header_stdc+set}" = set; then
12213 echo $ECHO_N "(cached) $ECHO_C" >&6
12215 cat >conftest.$ac_ext <<_ACEOF
12216 #line $LINENO "configure"
12219 cat confdefs.h >>conftest.$ac_ext
12220 cat >>conftest.$ac_ext <<_ACEOF
12221 /* end confdefs.h. */
12222 #include <stdlib.h>
12223 #include <stdarg.h>
12224 #include <string.h>
12235 rm -f conftest.$ac_objext
12236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12237 (eval $ac_compile) 2>&5
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); } &&
12241 { ac_try='test -s conftest.$ac_objext'
12242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12243 (eval $ac_try) 2>&5
12245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); }; }; then
12247 ac_cv_header_stdc=yes
12249 echo "$as_me: failed program was:" >&5
12250 sed 's/^/| /' conftest.$ac_ext >&5
12252 ac_cv_header_stdc=no
12254 rm -f conftest.$ac_objext conftest.$ac_ext
12256 if test $ac_cv_header_stdc = yes; then
12257 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12258 cat >conftest.$ac_ext <<_ACEOF
12259 #line $LINENO "configure"
12262 cat confdefs.h >>conftest.$ac_ext
12263 cat >>conftest.$ac_ext <<_ACEOF
12264 /* end confdefs.h. */
12265 #include <string.h>
12268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12269 $EGREP "memchr" >/dev/null 2>&1; then
12272 ac_cv_header_stdc=no
12278 if test $ac_cv_header_stdc = yes; then
12279 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12280 cat >conftest.$ac_ext <<_ACEOF
12281 #line $LINENO "configure"
12284 cat confdefs.h >>conftest.$ac_ext
12285 cat >>conftest.$ac_ext <<_ACEOF
12286 /* end confdefs.h. */
12287 #include <stdlib.h>
12290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12291 $EGREP "free" >/dev/null 2>&1; then
12294 ac_cv_header_stdc=no
12300 if test $ac_cv_header_stdc = yes; then
12301 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12302 if test "$cross_compiling" = yes; then
12305 cat >conftest.$ac_ext <<_ACEOF
12306 #line $LINENO "configure"
12309 cat confdefs.h >>conftest.$ac_ext
12310 cat >>conftest.$ac_ext <<_ACEOF
12311 /* end confdefs.h. */
12313 #if ((' ' & 0x0FF) == 0x020)
12314 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12315 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12317 # define ISLOWER(c) \
12318 (('a' <= (c) && (c) <= 'i') \
12319 || ('j' <= (c) && (c) <= 'r') \
12320 || ('s' <= (c) && (c) <= 'z'))
12321 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12324 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12329 for (i = 0; i < 256; i++)
12330 if (XOR (islower (i), ISLOWER (i))
12331 || toupper (i) != TOUPPER (i))
12336 rm -f conftest$ac_exeext
12337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12338 (eval $ac_link) 2>&5
12340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12341 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12343 (eval $ac_try) 2>&5
12345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346 (exit $ac_status); }; }; then
12349 echo "$as_me: program exited with status $ac_status" >&5
12350 echo "$as_me: failed program was:" >&5
12351 sed 's/^/| /' conftest.$ac_ext >&5
12353 ( exit $ac_status )
12354 ac_cv_header_stdc=no
12356 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12360 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12361 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12362 if test $ac_cv_header_stdc = yes; then
12364 cat >>confdefs.h <<\_ACEOF
12365 #define STDC_HEADERS 1
12370 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12380 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12381 inttypes.h stdint.h unistd.h
12383 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12384 echo "$as_me:$LINENO: checking for $ac_header" >&5
12385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12387 echo $ECHO_N "(cached) $ECHO_C" >&6
12389 cat >conftest.$ac_ext <<_ACEOF
12390 #line $LINENO "configure"
12393 cat confdefs.h >>conftest.$ac_ext
12394 cat >>conftest.$ac_ext <<_ACEOF
12395 /* end confdefs.h. */
12396 $ac_includes_default
12398 #include <$ac_header>
12400 rm -f conftest.$ac_objext
12401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12402 (eval $ac_compile) 2>&5
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); } &&
12406 { ac_try='test -s conftest.$ac_objext'
12407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12408 (eval $ac_try) 2>&5
12410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411 (exit $ac_status); }; }; then
12412 eval "$as_ac_Header=yes"
12414 echo "$as_me: failed program was:" >&5
12415 sed 's/^/| /' conftest.$ac_ext >&5
12417 eval "$as_ac_Header=no"
12419 rm -f conftest.$ac_objext conftest.$ac_ext
12421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12424 cat >>confdefs.h <<_ACEOF
12425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12434 for ac_header in stdlib.h
12436 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12438 echo "$as_me:$LINENO: checking for $ac_header" >&5
12439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12441 echo $ECHO_N "(cached) $ECHO_C" >&6
12443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12446 # Is the header compilable?
12447 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12448 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12449 cat >conftest.$ac_ext <<_ACEOF
12450 #line $LINENO "configure"
12453 cat confdefs.h >>conftest.$ac_ext
12454 cat >>conftest.$ac_ext <<_ACEOF
12455 /* end confdefs.h. */
12456 $ac_includes_default
12457 #include <$ac_header>
12459 rm -f conftest.$ac_objext
12460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12461 (eval $ac_compile) 2>&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); } &&
12465 { ac_try='test -s conftest.$ac_objext'
12466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12467 (eval $ac_try) 2>&5
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); }; }; then
12471 ac_header_compiler=yes
12473 echo "$as_me: failed program was:" >&5
12474 sed 's/^/| /' conftest.$ac_ext >&5
12476 ac_header_compiler=no
12478 rm -f conftest.$ac_objext conftest.$ac_ext
12479 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12480 echo "${ECHO_T}$ac_header_compiler" >&6
12482 # Is the header present?
12483 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12484 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
12494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12497 grep -v '^ *+' conftest.er1 >conftest.err
12499 cat conftest.err >&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } >/dev/null; then
12502 if test -s conftest.err; then
12503 ac_cpp_err=$ac_c_preproc_warn_flag
12510 if test -z "$ac_cpp_err"; then
12511 ac_header_preproc=yes
12513 echo "$as_me: failed program was:" >&5
12514 sed 's/^/| /' conftest.$ac_ext >&5
12516 ac_header_preproc=no
12518 rm -f conftest.err conftest.$ac_ext
12519 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12520 echo "${ECHO_T}$ac_header_preproc" >&6
12522 # So? What about this header?
12523 case $ac_header_compiler:$ac_header_preproc in
12525 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12526 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12531 ## ------------------------------------ ##
12532 ## Report this to bug-autoconf@gnu.org. ##
12533 ## ------------------------------------ ##
12536 sed "s/^/$as_me: WARNING: /" >&2
12539 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12540 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12541 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12542 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12544 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12547 ## ------------------------------------ ##
12548 ## Report this to bug-autoconf@gnu.org. ##
12549 ## ------------------------------------ ##
12552 sed "s/^/$as_me: WARNING: /" >&2
12555 echo "$as_me:$LINENO: checking for $ac_header" >&5
12556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12558 echo $ECHO_N "(cached) $ECHO_C" >&6
12560 eval "$as_ac_Header=$ac_header_preproc"
12562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12567 cat >>confdefs.h <<_ACEOF
12568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12576 for ac_header in malloc.h
12578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12580 echo "$as_me:$LINENO: checking for $ac_header" >&5
12581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12583 echo $ECHO_N "(cached) $ECHO_C" >&6
12585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12588 # Is the header compilable?
12589 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12590 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12591 cat >conftest.$ac_ext <<_ACEOF
12592 #line $LINENO "configure"
12595 cat confdefs.h >>conftest.$ac_ext
12596 cat >>conftest.$ac_ext <<_ACEOF
12597 /* end confdefs.h. */
12598 $ac_includes_default
12599 #include <$ac_header>
12601 rm -f conftest.$ac_objext
12602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12603 (eval $ac_compile) 2>&5
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); } &&
12607 { ac_try='test -s conftest.$ac_objext'
12608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12609 (eval $ac_try) 2>&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); }; }; then
12613 ac_header_compiler=yes
12615 echo "$as_me: failed program was:" >&5
12616 sed 's/^/| /' conftest.$ac_ext >&5
12618 ac_header_compiler=no
12620 rm -f conftest.$ac_objext conftest.$ac_ext
12621 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12622 echo "${ECHO_T}$ac_header_compiler" >&6
12624 # Is the header present?
12625 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12626 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12627 cat >conftest.$ac_ext <<_ACEOF
12628 #line $LINENO "configure"
12631 cat confdefs.h >>conftest.$ac_ext
12632 cat >>conftest.$ac_ext <<_ACEOF
12633 /* end confdefs.h. */
12634 #include <$ac_header>
12636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12639 grep -v '^ *+' conftest.er1 >conftest.err
12641 cat conftest.err >&5
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); } >/dev/null; then
12644 if test -s conftest.err; then
12645 ac_cpp_err=$ac_c_preproc_warn_flag
12652 if test -z "$ac_cpp_err"; then
12653 ac_header_preproc=yes
12655 echo "$as_me: failed program was:" >&5
12656 sed 's/^/| /' conftest.$ac_ext >&5
12658 ac_header_preproc=no
12660 rm -f conftest.err conftest.$ac_ext
12661 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12662 echo "${ECHO_T}$ac_header_preproc" >&6
12664 # So? What about this header?
12665 case $ac_header_compiler:$ac_header_preproc in
12667 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12668 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12673 ## ------------------------------------ ##
12674 ## Report this to bug-autoconf@gnu.org. ##
12675 ## ------------------------------------ ##
12678 sed "s/^/$as_me: WARNING: /" >&2
12681 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12682 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12683 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12684 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12686 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12689 ## ------------------------------------ ##
12690 ## Report this to bug-autoconf@gnu.org. ##
12691 ## ------------------------------------ ##
12694 sed "s/^/$as_me: WARNING: /" >&2
12697 echo "$as_me:$LINENO: checking for $ac_header" >&5
12698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12700 echo $ECHO_N "(cached) $ECHO_C" >&6
12702 eval "$as_ac_Header=$ac_header_preproc"
12704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12709 cat >>confdefs.h <<_ACEOF
12710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12718 for ac_header in unistd.h
12720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12722 echo "$as_me:$LINENO: checking for $ac_header" >&5
12723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12725 echo $ECHO_N "(cached) $ECHO_C" >&6
12727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12730 # Is the header compilable?
12731 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12732 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12733 cat >conftest.$ac_ext <<_ACEOF
12734 #line $LINENO "configure"
12737 cat confdefs.h >>conftest.$ac_ext
12738 cat >>conftest.$ac_ext <<_ACEOF
12739 /* end confdefs.h. */
12740 $ac_includes_default
12741 #include <$ac_header>
12743 rm -f conftest.$ac_objext
12744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12745 (eval $ac_compile) 2>&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); } &&
12749 { ac_try='test -s conftest.$ac_objext'
12750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12751 (eval $ac_try) 2>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); }; }; then
12755 ac_header_compiler=yes
12757 echo "$as_me: failed program was:" >&5
12758 sed 's/^/| /' conftest.$ac_ext >&5
12760 ac_header_compiler=no
12762 rm -f conftest.$ac_objext conftest.$ac_ext
12763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12764 echo "${ECHO_T}$ac_header_compiler" >&6
12766 # Is the header present?
12767 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12768 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12769 cat >conftest.$ac_ext <<_ACEOF
12770 #line $LINENO "configure"
12773 cat confdefs.h >>conftest.$ac_ext
12774 cat >>conftest.$ac_ext <<_ACEOF
12775 /* end confdefs.h. */
12776 #include <$ac_header>
12778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12779 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12781 grep -v '^ *+' conftest.er1 >conftest.err
12783 cat conftest.err >&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); } >/dev/null; then
12786 if test -s conftest.err; then
12787 ac_cpp_err=$ac_c_preproc_warn_flag
12794 if test -z "$ac_cpp_err"; then
12795 ac_header_preproc=yes
12797 echo "$as_me: failed program was:" >&5
12798 sed 's/^/| /' conftest.$ac_ext >&5
12800 ac_header_preproc=no
12802 rm -f conftest.err conftest.$ac_ext
12803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12804 echo "${ECHO_T}$ac_header_preproc" >&6
12806 # So? What about this header?
12807 case $ac_header_compiler:$ac_header_preproc in
12809 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12810 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12811 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12812 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12815 ## ------------------------------------ ##
12816 ## Report this to bug-autoconf@gnu.org. ##
12817 ## ------------------------------------ ##
12820 sed "s/^/$as_me: WARNING: /" >&2
12823 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12824 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12825 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12826 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12831 ## ------------------------------------ ##
12832 ## Report this to bug-autoconf@gnu.org. ##
12833 ## ------------------------------------ ##
12836 sed "s/^/$as_me: WARNING: /" >&2
12839 echo "$as_me:$LINENO: checking for $ac_header" >&5
12840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12842 echo $ECHO_N "(cached) $ECHO_C" >&6
12844 eval "$as_ac_Header=$ac_header_preproc"
12846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12851 cat >>confdefs.h <<_ACEOF
12852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12860 for ac_header in wchar.h
12862 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12864 echo "$as_me:$LINENO: checking for $ac_header" >&5
12865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12867 echo $ECHO_N "(cached) $ECHO_C" >&6
12869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12872 # Is the header compilable?
12873 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12874 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12875 cat >conftest.$ac_ext <<_ACEOF
12876 #line $LINENO "configure"
12879 cat confdefs.h >>conftest.$ac_ext
12880 cat >>conftest.$ac_ext <<_ACEOF
12881 /* end confdefs.h. */
12882 $ac_includes_default
12883 #include <$ac_header>
12885 rm -f conftest.$ac_objext
12886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12887 (eval $ac_compile) 2>&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); } &&
12891 { ac_try='test -s conftest.$ac_objext'
12892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12893 (eval $ac_try) 2>&5
12895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896 (exit $ac_status); }; }; then
12897 ac_header_compiler=yes
12899 echo "$as_me: failed program was:" >&5
12900 sed 's/^/| /' conftest.$ac_ext >&5
12902 ac_header_compiler=no
12904 rm -f conftest.$ac_objext conftest.$ac_ext
12905 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12906 echo "${ECHO_T}$ac_header_compiler" >&6
12908 # Is the header present?
12909 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12910 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12911 cat >conftest.$ac_ext <<_ACEOF
12912 #line $LINENO "configure"
12915 cat confdefs.h >>conftest.$ac_ext
12916 cat >>conftest.$ac_ext <<_ACEOF
12917 /* end confdefs.h. */
12918 #include <$ac_header>
12920 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12921 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12923 grep -v '^ *+' conftest.er1 >conftest.err
12925 cat conftest.err >&5
12926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927 (exit $ac_status); } >/dev/null; then
12928 if test -s conftest.err; then
12929 ac_cpp_err=$ac_c_preproc_warn_flag
12936 if test -z "$ac_cpp_err"; then
12937 ac_header_preproc=yes
12939 echo "$as_me: failed program was:" >&5
12940 sed 's/^/| /' conftest.$ac_ext >&5
12942 ac_header_preproc=no
12944 rm -f conftest.err conftest.$ac_ext
12945 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12946 echo "${ECHO_T}$ac_header_preproc" >&6
12948 # So? What about this header?
12949 case $ac_header_compiler:$ac_header_preproc in
12951 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12952 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12957 ## ------------------------------------ ##
12958 ## Report this to bug-autoconf@gnu.org. ##
12959 ## ------------------------------------ ##
12962 sed "s/^/$as_me: WARNING: /" >&2
12965 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12966 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12967 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12968 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12970 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12973 ## ------------------------------------ ##
12974 ## Report this to bug-autoconf@gnu.org. ##
12975 ## ------------------------------------ ##
12978 sed "s/^/$as_me: WARNING: /" >&2
12981 echo "$as_me:$LINENO: checking for $ac_header" >&5
12982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12986 eval "$as_ac_Header=$ac_header_preproc"
12988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12989 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12992 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12993 cat >>confdefs.h <<_ACEOF
12994 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13002 if test "$ac_cv_header_wchar_h" != "yes"; then
13004 for ac_header in wcstr.h
13006 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13008 echo "$as_me:$LINENO: checking for $ac_header" >&5
13009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13011 echo $ECHO_N "(cached) $ECHO_C" >&6
13013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13014 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13016 # Is the header compilable?
13017 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13018 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13019 cat >conftest.$ac_ext <<_ACEOF
13020 #line $LINENO "configure"
13023 cat confdefs.h >>conftest.$ac_ext
13024 cat >>conftest.$ac_ext <<_ACEOF
13025 /* end confdefs.h. */
13026 $ac_includes_default
13027 #include <$ac_header>
13029 rm -f conftest.$ac_objext
13030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13031 (eval $ac_compile) 2>&5
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); } &&
13035 { ac_try='test -s conftest.$ac_objext'
13036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13037 (eval $ac_try) 2>&5
13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040 (exit $ac_status); }; }; then
13041 ac_header_compiler=yes
13043 echo "$as_me: failed program was:" >&5
13044 sed 's/^/| /' conftest.$ac_ext >&5
13046 ac_header_compiler=no
13048 rm -f conftest.$ac_objext conftest.$ac_ext
13049 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13050 echo "${ECHO_T}$ac_header_compiler" >&6
13052 # Is the header present?
13053 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13054 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13055 cat >conftest.$ac_ext <<_ACEOF
13056 #line $LINENO "configure"
13059 cat confdefs.h >>conftest.$ac_ext
13060 cat >>conftest.$ac_ext <<_ACEOF
13061 /* end confdefs.h. */
13062 #include <$ac_header>
13064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13065 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13067 grep -v '^ *+' conftest.er1 >conftest.err
13069 cat conftest.err >&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); } >/dev/null; then
13072 if test -s conftest.err; then
13073 ac_cpp_err=$ac_c_preproc_warn_flag
13080 if test -z "$ac_cpp_err"; then
13081 ac_header_preproc=yes
13083 echo "$as_me: failed program was:" >&5
13084 sed 's/^/| /' conftest.$ac_ext >&5
13086 ac_header_preproc=no
13088 rm -f conftest.err conftest.$ac_ext
13089 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13090 echo "${ECHO_T}$ac_header_preproc" >&6
13092 # So? What about this header?
13093 case $ac_header_compiler:$ac_header_preproc in
13095 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13096 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13101 ## ------------------------------------ ##
13102 ## Report this to bug-autoconf@gnu.org. ##
13103 ## ------------------------------------ ##
13106 sed "s/^/$as_me: WARNING: /" >&2
13109 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13110 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13111 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13112 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13114 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13117 ## ------------------------------------ ##
13118 ## Report this to bug-autoconf@gnu.org. ##
13119 ## ------------------------------------ ##
13122 sed "s/^/$as_me: WARNING: /" >&2
13125 echo "$as_me:$LINENO: checking for $ac_header" >&5
13126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13128 echo $ECHO_N "(cached) $ECHO_C" >&6
13130 eval "$as_ac_Header=$ac_header_preproc"
13132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13136 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13137 cat >>confdefs.h <<_ACEOF
13138 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13148 for ac_header in fnmatch.h
13150 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13152 echo "$as_me:$LINENO: checking for $ac_header" >&5
13153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13155 echo $ECHO_N "(cached) $ECHO_C" >&6
13157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13160 # Is the header compilable?
13161 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13162 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13163 cat >conftest.$ac_ext <<_ACEOF
13164 #line $LINENO "configure"
13167 cat confdefs.h >>conftest.$ac_ext
13168 cat >>conftest.$ac_ext <<_ACEOF
13169 /* end confdefs.h. */
13170 $ac_includes_default
13171 #include <$ac_header>
13173 rm -f conftest.$ac_objext
13174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13175 (eval $ac_compile) 2>&5
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); } &&
13179 { ac_try='test -s conftest.$ac_objext'
13180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13181 (eval $ac_try) 2>&5
13183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13184 (exit $ac_status); }; }; then
13185 ac_header_compiler=yes
13187 echo "$as_me: failed program was:" >&5
13188 sed 's/^/| /' conftest.$ac_ext >&5
13190 ac_header_compiler=no
13192 rm -f conftest.$ac_objext conftest.$ac_ext
13193 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13194 echo "${ECHO_T}$ac_header_compiler" >&6
13196 # Is the header present?
13197 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13198 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13199 cat >conftest.$ac_ext <<_ACEOF
13200 #line $LINENO "configure"
13203 cat confdefs.h >>conftest.$ac_ext
13204 cat >>conftest.$ac_ext <<_ACEOF
13205 /* end confdefs.h. */
13206 #include <$ac_header>
13208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13209 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13211 grep -v '^ *+' conftest.er1 >conftest.err
13213 cat conftest.err >&5
13214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 (exit $ac_status); } >/dev/null; then
13216 if test -s conftest.err; then
13217 ac_cpp_err=$ac_c_preproc_warn_flag
13224 if test -z "$ac_cpp_err"; then
13225 ac_header_preproc=yes
13227 echo "$as_me: failed program was:" >&5
13228 sed 's/^/| /' conftest.$ac_ext >&5
13230 ac_header_preproc=no
13232 rm -f conftest.err conftest.$ac_ext
13233 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13234 echo "${ECHO_T}$ac_header_preproc" >&6
13236 # So? What about this header?
13237 case $ac_header_compiler:$ac_header_preproc in
13239 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13240 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13242 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13245 ## ------------------------------------ ##
13246 ## Report this to bug-autoconf@gnu.org. ##
13247 ## ------------------------------------ ##
13250 sed "s/^/$as_me: WARNING: /" >&2
13253 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13254 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13255 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13256 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13258 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13261 ## ------------------------------------ ##
13262 ## Report this to bug-autoconf@gnu.org. ##
13263 ## ------------------------------------ ##
13266 sed "s/^/$as_me: WARNING: /" >&2
13269 echo "$as_me:$LINENO: checking for $ac_header" >&5
13270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13272 echo $ECHO_N "(cached) $ECHO_C" >&6
13274 eval "$as_ac_Header=$ac_header_preproc"
13276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13281 cat >>confdefs.h <<_ACEOF
13282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13290 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13292 for ac_func in fnmatch
13294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13295 echo "$as_me:$LINENO: checking for $ac_func" >&5
13296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13297 if eval "test \"\${$as_ac_var+set}\" = set"; then
13298 echo $ECHO_N "(cached) $ECHO_C" >&6
13300 cat >conftest.$ac_ext <<_ACEOF
13301 #line $LINENO "configure"
13304 cat confdefs.h >>conftest.$ac_ext
13305 cat >>conftest.$ac_ext <<_ACEOF
13306 /* end confdefs.h. */
13307 /* System header to define __stub macros and hopefully few prototypes,
13308 which can conflict with char $ac_func (); below.
13309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13310 <limits.h> exists even on freestanding compilers. */
13312 # include <limits.h>
13314 # include <assert.h>
13316 /* Override any gcc2 internal prototype to avoid an error. */
13321 /* We use char because int might match the return type of a gcc2
13322 builtin and then its argument prototype would still apply. */
13324 /* The GNU C library defines this for functions which it implements
13325 to always fail with ENOSYS. Some functions are actually named
13326 something starting with __ and the normal name is an alias. */
13327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13330 char (*f) () = $ac_func;
13339 return f != $ac_func;
13344 rm -f conftest.$ac_objext conftest$ac_exeext
13345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13346 (eval $ac_link) 2>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); } &&
13350 { ac_try='test -s conftest$ac_exeext'
13351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352 (eval $ac_try) 2>&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); }; }; then
13356 eval "$as_ac_var=yes"
13358 echo "$as_me: failed program was:" >&5
13359 sed 's/^/| /' conftest.$ac_ext >&5
13361 eval "$as_ac_var=no"
13363 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13367 if test `eval echo '${'$as_ac_var'}'` = yes; then
13368 cat >>confdefs.h <<_ACEOF
13369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13378 for ac_header in langinfo.h
13380 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13382 echo "$as_me:$LINENO: checking for $ac_header" >&5
13383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13385 echo $ECHO_N "(cached) $ECHO_C" >&6
13387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13390 # Is the header compilable?
13391 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13392 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13393 cat >conftest.$ac_ext <<_ACEOF
13394 #line $LINENO "configure"
13397 cat confdefs.h >>conftest.$ac_ext
13398 cat >>conftest.$ac_ext <<_ACEOF
13399 /* end confdefs.h. */
13400 $ac_includes_default
13401 #include <$ac_header>
13403 rm -f conftest.$ac_objext
13404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13405 (eval $ac_compile) 2>&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); } &&
13409 { ac_try='test -s conftest.$ac_objext'
13410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13411 (eval $ac_try) 2>&5
13413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13414 (exit $ac_status); }; }; then
13415 ac_header_compiler=yes
13417 echo "$as_me: failed program was:" >&5
13418 sed 's/^/| /' conftest.$ac_ext >&5
13420 ac_header_compiler=no
13422 rm -f conftest.$ac_objext conftest.$ac_ext
13423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13424 echo "${ECHO_T}$ac_header_compiler" >&6
13426 # Is the header present?
13427 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13428 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13429 cat >conftest.$ac_ext <<_ACEOF
13430 #line $LINENO "configure"
13433 cat confdefs.h >>conftest.$ac_ext
13434 cat >>conftest.$ac_ext <<_ACEOF
13435 /* end confdefs.h. */
13436 #include <$ac_header>
13438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13439 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13441 grep -v '^ *+' conftest.er1 >conftest.err
13443 cat conftest.err >&5
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); } >/dev/null; then
13446 if test -s conftest.err; then
13447 ac_cpp_err=$ac_c_preproc_warn_flag
13454 if test -z "$ac_cpp_err"; then
13455 ac_header_preproc=yes
13457 echo "$as_me: failed program was:" >&5
13458 sed 's/^/| /' conftest.$ac_ext >&5
13460 ac_header_preproc=no
13462 rm -f conftest.err conftest.$ac_ext
13463 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13464 echo "${ECHO_T}$ac_header_preproc" >&6
13466 # So? What about this header?
13467 case $ac_header_compiler:$ac_header_preproc in
13469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13472 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13475 ## ------------------------------------ ##
13476 ## Report this to bug-autoconf@gnu.org. ##
13477 ## ------------------------------------ ##
13480 sed "s/^/$as_me: WARNING: /" >&2
13483 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13484 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13485 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13486 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13488 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13491 ## ------------------------------------ ##
13492 ## Report this to bug-autoconf@gnu.org. ##
13493 ## ------------------------------------ ##
13496 sed "s/^/$as_me: WARNING: /" >&2
13499 echo "$as_me:$LINENO: checking for $ac_header" >&5
13500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13502 echo $ECHO_N "(cached) $ECHO_C" >&6
13504 eval "$as_ac_Header=$ac_header_preproc"
13506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13511 cat >>confdefs.h <<_ACEOF
13512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13521 *-pc-os2_emx | *-pc-os2-emx )
13522 if test $ac_cv_header_langinfo_h = "yes"; then
13523 LIBS="$LIBS -lintl"
13528 if test "$wxUSE_GUI" = "yes"; then
13529 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13531 for ac_header in X11/Xlib.h
13533 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13535 echo "$as_me:$LINENO: checking for $ac_header" >&5
13536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13538 echo $ECHO_N "(cached) $ECHO_C" >&6
13540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13543 # Is the header compilable?
13544 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13545 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13546 cat >conftest.$ac_ext <<_ACEOF
13547 #line $LINENO "configure"
13550 cat confdefs.h >>conftest.$ac_ext
13551 cat >>conftest.$ac_ext <<_ACEOF
13552 /* end confdefs.h. */
13553 $ac_includes_default
13554 #include <$ac_header>
13556 rm -f conftest.$ac_objext
13557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13558 (eval $ac_compile) 2>&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); } &&
13562 { ac_try='test -s conftest.$ac_objext'
13563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13564 (eval $ac_try) 2>&5
13566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13567 (exit $ac_status); }; }; then
13568 ac_header_compiler=yes
13570 echo "$as_me: failed program was:" >&5
13571 sed 's/^/| /' conftest.$ac_ext >&5
13573 ac_header_compiler=no
13575 rm -f conftest.$ac_objext conftest.$ac_ext
13576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13577 echo "${ECHO_T}$ac_header_compiler" >&6
13579 # Is the header present?
13580 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13581 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13582 cat >conftest.$ac_ext <<_ACEOF
13583 #line $LINENO "configure"
13586 cat confdefs.h >>conftest.$ac_ext
13587 cat >>conftest.$ac_ext <<_ACEOF
13588 /* end confdefs.h. */
13589 #include <$ac_header>
13591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13592 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13594 grep -v '^ *+' conftest.er1 >conftest.err
13596 cat conftest.err >&5
13597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13598 (exit $ac_status); } >/dev/null; then
13599 if test -s conftest.err; then
13600 ac_cpp_err=$ac_c_preproc_warn_flag
13607 if test -z "$ac_cpp_err"; then
13608 ac_header_preproc=yes
13610 echo "$as_me: failed program was:" >&5
13611 sed 's/^/| /' conftest.$ac_ext >&5
13613 ac_header_preproc=no
13615 rm -f conftest.err conftest.$ac_ext
13616 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13617 echo "${ECHO_T}$ac_header_preproc" >&6
13619 # So? What about this header?
13620 case $ac_header_compiler:$ac_header_preproc in
13622 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13623 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13628 ## ------------------------------------ ##
13629 ## Report this to bug-autoconf@gnu.org. ##
13630 ## ------------------------------------ ##
13633 sed "s/^/$as_me: WARNING: /" >&2
13636 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13637 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13638 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13639 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13644 ## ------------------------------------ ##
13645 ## Report this to bug-autoconf@gnu.org. ##
13646 ## ------------------------------------ ##
13649 sed "s/^/$as_me: WARNING: /" >&2
13652 echo "$as_me:$LINENO: checking for $ac_header" >&5
13653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13655 echo $ECHO_N "(cached) $ECHO_C" >&6
13657 eval "$as_ac_Header=$ac_header_preproc"
13659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13663 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13664 cat >>confdefs.h <<_ACEOF
13665 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13673 for ac_header in X11/XKBlib.h
13675 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13676 echo "$as_me:$LINENO: checking for $ac_header" >&5
13677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13679 echo $ECHO_N "(cached) $ECHO_C" >&6
13681 cat >conftest.$ac_ext <<_ACEOF
13682 #line $LINENO "configure"
13685 cat confdefs.h >>conftest.$ac_ext
13686 cat >>conftest.$ac_ext <<_ACEOF
13687 /* end confdefs.h. */
13689 #if HAVE_X11_XLIB_H
13690 #include <X11/Xlib.h>
13694 #include <$ac_header>
13696 rm -f conftest.$ac_objext
13697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13698 (eval $ac_compile) 2>&5
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); } &&
13702 { ac_try='test -s conftest.$ac_objext'
13703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13704 (eval $ac_try) 2>&5
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); }; }; then
13708 eval "$as_ac_Header=yes"
13710 echo "$as_me: failed program was:" >&5
13711 sed 's/^/| /' conftest.$ac_ext >&5
13713 eval "$as_ac_Header=no"
13715 rm -f conftest.$ac_objext conftest.$ac_ext
13717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13720 cat >>confdefs.h <<_ACEOF
13721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13732 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13733 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13734 if test "${ac_cv_c_const+set}" = set; then
13735 echo $ECHO_N "(cached) $ECHO_C" >&6
13737 cat >conftest.$ac_ext <<_ACEOF
13738 #line $LINENO "configure"
13741 cat confdefs.h >>conftest.$ac_ext
13742 cat >>conftest.$ac_ext <<_ACEOF
13743 /* end confdefs.h. */
13748 /* FIXME: Include the comments suggested by Paul. */
13749 #ifndef __cplusplus
13750 /* Ultrix mips cc rejects this. */
13751 typedef int charset[2];
13753 /* SunOS 4.1.1 cc rejects this. */
13754 char const *const *ccp;
13756 /* NEC SVR4.0.2 mips cc rejects this. */
13757 struct point {int x, y;};
13758 static struct point const zero = {0,0};
13759 /* AIX XL C 1.02.0.0 rejects this.
13760 It does not let you subtract one const X* pointer from another in
13761 an arm of an if-expression whose if-part is not a constant
13763 const char *g = "string";
13764 ccp = &g + (g ? g-g : 0);
13765 /* HPUX 7.0 cc rejects these. */
13768 ccp = (char const *const *) p;
13769 { /* SCO 3.2v4 cc rejects this. */
13771 char const *s = 0 ? (char *) 0 : (char const *) 0;
13775 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13776 int x[] = {25, 17};
13777 const int *foo = &x[0];
13780 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13781 typedef const int *iptr;
13785 { /* AIX XL C 1.02.0.0 rejects this saying
13786 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13787 struct s { int j; const int *ap[3]; };
13788 struct s *b; b->j = 5;
13790 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13791 const int foo = 10;
13799 rm -f conftest.$ac_objext
13800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13801 (eval $ac_compile) 2>&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); } &&
13805 { ac_try='test -s conftest.$ac_objext'
13806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13807 (eval $ac_try) 2>&5
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 (exit $ac_status); }; }; then
13813 echo "$as_me: failed program was:" >&5
13814 sed 's/^/| /' conftest.$ac_ext >&5
13818 rm -f conftest.$ac_objext conftest.$ac_ext
13820 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13821 echo "${ECHO_T}$ac_cv_c_const" >&6
13822 if test $ac_cv_c_const = no; then
13824 cat >>confdefs.h <<\_ACEOF
13830 echo "$as_me:$LINENO: checking for inline" >&5
13831 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13832 if test "${ac_cv_c_inline+set}" = set; then
13833 echo $ECHO_N "(cached) $ECHO_C" >&6
13836 for ac_kw in inline __inline__ __inline; do
13837 cat >conftest.$ac_ext <<_ACEOF
13838 #line $LINENO "configure"
13841 cat confdefs.h >>conftest.$ac_ext
13842 cat >>conftest.$ac_ext <<_ACEOF
13843 /* end confdefs.h. */
13844 #ifndef __cplusplus
13846 static $ac_kw foo_t static_foo () {return 0; }
13847 $ac_kw foo_t foo () {return 0; }
13851 rm -f conftest.$ac_objext
13852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13853 (eval $ac_compile) 2>&5
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 (exit $ac_status); } &&
13857 { ac_try='test -s conftest.$ac_objext'
13858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13859 (eval $ac_try) 2>&5
13861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13862 (exit $ac_status); }; }; then
13863 ac_cv_c_inline=$ac_kw; break
13865 echo "$as_me: failed program was:" >&5
13866 sed 's/^/| /' conftest.$ac_ext >&5
13869 rm -f conftest.$ac_objext conftest.$ac_ext
13873 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13874 echo "${ECHO_T}$ac_cv_c_inline" >&6
13875 case $ac_cv_c_inline in
13878 cat >>confdefs.h <<\_ACEOF
13882 *) cat >>confdefs.h <<_ACEOF
13883 #define inline $ac_cv_c_inline
13889 echo "$as_me:$LINENO: checking for char" >&5
13890 echo $ECHO_N "checking for char... $ECHO_C" >&6
13891 if test "${ac_cv_type_char+set}" = set; then
13892 echo $ECHO_N "(cached) $ECHO_C" >&6
13894 cat >conftest.$ac_ext <<_ACEOF
13895 #line $LINENO "configure"
13898 cat confdefs.h >>conftest.$ac_ext
13899 cat >>conftest.$ac_ext <<_ACEOF
13900 /* end confdefs.h. */
13901 $ac_includes_default
13913 rm -f conftest.$ac_objext
13914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13915 (eval $ac_compile) 2>&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); } &&
13919 { ac_try='test -s conftest.$ac_objext'
13920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13921 (eval $ac_try) 2>&5
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); }; }; then
13925 ac_cv_type_char=yes
13927 echo "$as_me: failed program was:" >&5
13928 sed 's/^/| /' conftest.$ac_ext >&5
13932 rm -f conftest.$ac_objext conftest.$ac_ext
13934 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13935 echo "${ECHO_T}$ac_cv_type_char" >&6
13937 echo "$as_me:$LINENO: checking size of char" >&5
13938 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13939 if test "${ac_cv_sizeof_char+set}" = set; then
13940 echo $ECHO_N "(cached) $ECHO_C" >&6
13942 if test "$ac_cv_type_char" = yes; then
13943 # The cast to unsigned long works around a bug in the HP C Compiler
13944 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13945 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13946 # This bug is HP SR number 8606223364.
13947 if test "$cross_compiling" = yes; then
13948 # Depending upon the size, compute the lo and hi bounds.
13949 cat >conftest.$ac_ext <<_ACEOF
13950 #line $LINENO "configure"
13953 cat confdefs.h >>conftest.$ac_ext
13954 cat >>conftest.$ac_ext <<_ACEOF
13955 /* end confdefs.h. */
13956 $ac_includes_default
13960 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13967 rm -f conftest.$ac_objext
13968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13969 (eval $ac_compile) 2>&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); } &&
13973 { ac_try='test -s conftest.$ac_objext'
13974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13975 (eval $ac_try) 2>&5
13977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978 (exit $ac_status); }; }; then
13981 cat >conftest.$ac_ext <<_ACEOF
13982 #line $LINENO "configure"
13985 cat confdefs.h >>conftest.$ac_ext
13986 cat >>conftest.$ac_ext <<_ACEOF
13987 /* end confdefs.h. */
13988 $ac_includes_default
13992 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13999 rm -f conftest.$ac_objext
14000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14001 (eval $ac_compile) 2>&5
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); } &&
14005 { ac_try='test -s conftest.$ac_objext'
14006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14007 (eval $ac_try) 2>&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); }; }; then
14011 ac_hi=$ac_mid; break
14013 echo "$as_me: failed program was:" >&5
14014 sed 's/^/| /' conftest.$ac_ext >&5
14016 ac_lo=`expr $ac_mid + 1`
14017 if test $ac_lo -le $ac_mid; then
14021 ac_mid=`expr 2 '*' $ac_mid + 1`
14023 rm -f conftest.$ac_objext conftest.$ac_ext
14026 echo "$as_me: failed program was:" >&5
14027 sed 's/^/| /' conftest.$ac_ext >&5
14029 cat >conftest.$ac_ext <<_ACEOF
14030 #line $LINENO "configure"
14033 cat confdefs.h >>conftest.$ac_ext
14034 cat >>conftest.$ac_ext <<_ACEOF
14035 /* end confdefs.h. */
14036 $ac_includes_default
14040 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14047 rm -f conftest.$ac_objext
14048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14049 (eval $ac_compile) 2>&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); } &&
14053 { ac_try='test -s conftest.$ac_objext'
14054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14055 (eval $ac_try) 2>&5
14057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 (exit $ac_status); }; }; then
14061 cat >conftest.$ac_ext <<_ACEOF
14062 #line $LINENO "configure"
14065 cat confdefs.h >>conftest.$ac_ext
14066 cat >>conftest.$ac_ext <<_ACEOF
14067 /* end confdefs.h. */
14068 $ac_includes_default
14072 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14079 rm -f conftest.$ac_objext
14080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14081 (eval $ac_compile) 2>&5
14083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084 (exit $ac_status); } &&
14085 { ac_try='test -s conftest.$ac_objext'
14086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14087 (eval $ac_try) 2>&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); }; }; then
14091 ac_lo=$ac_mid; break
14093 echo "$as_me: failed program was:" >&5
14094 sed 's/^/| /' conftest.$ac_ext >&5
14096 ac_hi=`expr '(' $ac_mid ')' - 1`
14097 if test $ac_mid -le $ac_hi; then
14101 ac_mid=`expr 2 '*' $ac_mid`
14103 rm -f conftest.$ac_objext conftest.$ac_ext
14106 echo "$as_me: failed program was:" >&5
14107 sed 's/^/| /' conftest.$ac_ext >&5
14111 rm -f conftest.$ac_objext conftest.$ac_ext
14113 rm -f conftest.$ac_objext conftest.$ac_ext
14114 # Binary search between lo and hi bounds.
14115 while test "x$ac_lo" != "x$ac_hi"; do
14116 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14117 cat >conftest.$ac_ext <<_ACEOF
14118 #line $LINENO "configure"
14121 cat confdefs.h >>conftest.$ac_ext
14122 cat >>conftest.$ac_ext <<_ACEOF
14123 /* end confdefs.h. */
14124 $ac_includes_default
14128 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14135 rm -f conftest.$ac_objext
14136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14137 (eval $ac_compile) 2>&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); } &&
14141 { ac_try='test -s conftest.$ac_objext'
14142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14143 (eval $ac_try) 2>&5
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); }; }; then
14149 echo "$as_me: failed program was:" >&5
14150 sed 's/^/| /' conftest.$ac_ext >&5
14152 ac_lo=`expr '(' $ac_mid ')' + 1`
14154 rm -f conftest.$ac_objext conftest.$ac_ext
14157 ?*) ac_cv_sizeof_char=$ac_lo;;
14158 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14159 See \`config.log' for more details." >&5
14160 echo "$as_me: error: cannot compute sizeof (char), 77
14161 See \`config.log' for more details." >&2;}
14162 { (exit 1); exit 1; }; } ;;
14165 if test "$cross_compiling" = yes; then
14166 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14167 See \`config.log' for more details." >&5
14168 echo "$as_me: error: cannot run test program while cross compiling
14169 See \`config.log' for more details." >&2;}
14170 { (exit 1); exit 1; }; }
14172 cat >conftest.$ac_ext <<_ACEOF
14173 #line $LINENO "configure"
14176 cat confdefs.h >>conftest.$ac_ext
14177 cat >>conftest.$ac_ext <<_ACEOF
14178 /* end confdefs.h. */
14179 $ac_includes_default
14180 long longval () { return (long) (sizeof (char)); }
14181 unsigned long ulongval () { return (long) (sizeof (char)); }
14183 #include <stdlib.h>
14188 FILE *f = fopen ("conftest.val", "w");
14191 if (((long) (sizeof (char))) < 0)
14193 long i = longval ();
14194 if (i != ((long) (sizeof (char))))
14196 fprintf (f, "%ld\n", i);
14200 unsigned long i = ulongval ();
14201 if (i != ((long) (sizeof (char))))
14203 fprintf (f, "%lu\n", i);
14205 exit (ferror (f) || fclose (f) != 0);
14211 rm -f conftest$ac_exeext
14212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14213 (eval $ac_link) 2>&5
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14218 (eval $ac_try) 2>&5
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); }; }; then
14222 ac_cv_sizeof_char=`cat conftest.val`
14224 echo "$as_me: program exited with status $ac_status" >&5
14225 echo "$as_me: failed program was:" >&5
14226 sed 's/^/| /' conftest.$ac_ext >&5
14228 ( exit $ac_status )
14229 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14230 See \`config.log' for more details." >&5
14231 echo "$as_me: error: cannot compute sizeof (char), 77
14232 See \`config.log' for more details." >&2;}
14233 { (exit 1); exit 1; }; }
14235 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14240 ac_cv_sizeof_char=0
14243 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14244 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14245 cat >>confdefs.h <<_ACEOF
14246 #define SIZEOF_CHAR $ac_cv_sizeof_char
14250 echo "$as_me:$LINENO: checking for short" >&5
14251 echo $ECHO_N "checking for short... $ECHO_C" >&6
14252 if test "${ac_cv_type_short+set}" = set; then
14253 echo $ECHO_N "(cached) $ECHO_C" >&6
14255 cat >conftest.$ac_ext <<_ACEOF
14256 #line $LINENO "configure"
14259 cat confdefs.h >>conftest.$ac_ext
14260 cat >>conftest.$ac_ext <<_ACEOF
14261 /* end confdefs.h. */
14262 $ac_includes_default
14268 if (sizeof (short))
14274 rm -f conftest.$ac_objext
14275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14276 (eval $ac_compile) 2>&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); } &&
14280 { ac_try='test -s conftest.$ac_objext'
14281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14282 (eval $ac_try) 2>&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; }; then
14286 ac_cv_type_short=yes
14288 echo "$as_me: failed program was:" >&5
14289 sed 's/^/| /' conftest.$ac_ext >&5
14291 ac_cv_type_short=no
14293 rm -f conftest.$ac_objext conftest.$ac_ext
14295 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14296 echo "${ECHO_T}$ac_cv_type_short" >&6
14298 echo "$as_me:$LINENO: checking size of short" >&5
14299 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14300 if test "${ac_cv_sizeof_short+set}" = set; then
14301 echo $ECHO_N "(cached) $ECHO_C" >&6
14303 if test "$ac_cv_type_short" = yes; then
14304 # The cast to unsigned long works around a bug in the HP C Compiler
14305 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14306 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14307 # This bug is HP SR number 8606223364.
14308 if test "$cross_compiling" = yes; then
14309 # Depending upon the size, compute the lo and hi bounds.
14310 cat >conftest.$ac_ext <<_ACEOF
14311 #line $LINENO "configure"
14314 cat confdefs.h >>conftest.$ac_ext
14315 cat >>conftest.$ac_ext <<_ACEOF
14316 /* end confdefs.h. */
14317 $ac_includes_default
14321 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14328 rm -f conftest.$ac_objext
14329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14330 (eval $ac_compile) 2>&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); } &&
14334 { ac_try='test -s conftest.$ac_objext'
14335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14336 (eval $ac_try) 2>&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); }; }; then
14342 cat >conftest.$ac_ext <<_ACEOF
14343 #line $LINENO "configure"
14346 cat confdefs.h >>conftest.$ac_ext
14347 cat >>conftest.$ac_ext <<_ACEOF
14348 /* end confdefs.h. */
14349 $ac_includes_default
14353 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14360 rm -f conftest.$ac_objext
14361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14362 (eval $ac_compile) 2>&5
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); } &&
14366 { ac_try='test -s conftest.$ac_objext'
14367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14368 (eval $ac_try) 2>&5
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); }; }; then
14372 ac_hi=$ac_mid; break
14374 echo "$as_me: failed program was:" >&5
14375 sed 's/^/| /' conftest.$ac_ext >&5
14377 ac_lo=`expr $ac_mid + 1`
14378 if test $ac_lo -le $ac_mid; then
14382 ac_mid=`expr 2 '*' $ac_mid + 1`
14384 rm -f conftest.$ac_objext conftest.$ac_ext
14387 echo "$as_me: failed program was:" >&5
14388 sed 's/^/| /' conftest.$ac_ext >&5
14390 cat >conftest.$ac_ext <<_ACEOF
14391 #line $LINENO "configure"
14394 cat confdefs.h >>conftest.$ac_ext
14395 cat >>conftest.$ac_ext <<_ACEOF
14396 /* end confdefs.h. */
14397 $ac_includes_default
14401 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14408 rm -f conftest.$ac_objext
14409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14410 (eval $ac_compile) 2>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); } &&
14414 { ac_try='test -s conftest.$ac_objext'
14415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416 (eval $ac_try) 2>&5
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); }; }; then
14422 cat >conftest.$ac_ext <<_ACEOF
14423 #line $LINENO "configure"
14426 cat confdefs.h >>conftest.$ac_ext
14427 cat >>conftest.$ac_ext <<_ACEOF
14428 /* end confdefs.h. */
14429 $ac_includes_default
14433 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14440 rm -f conftest.$ac_objext
14441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14442 (eval $ac_compile) 2>&5
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); } &&
14446 { ac_try='test -s conftest.$ac_objext'
14447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14448 (eval $ac_try) 2>&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); }; }; then
14452 ac_lo=$ac_mid; break
14454 echo "$as_me: failed program was:" >&5
14455 sed 's/^/| /' conftest.$ac_ext >&5
14457 ac_hi=`expr '(' $ac_mid ')' - 1`
14458 if test $ac_mid -le $ac_hi; then
14462 ac_mid=`expr 2 '*' $ac_mid`
14464 rm -f conftest.$ac_objext conftest.$ac_ext
14467 echo "$as_me: failed program was:" >&5
14468 sed 's/^/| /' conftest.$ac_ext >&5
14472 rm -f conftest.$ac_objext conftest.$ac_ext
14474 rm -f conftest.$ac_objext conftest.$ac_ext
14475 # Binary search between lo and hi bounds.
14476 while test "x$ac_lo" != "x$ac_hi"; do
14477 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14478 cat >conftest.$ac_ext <<_ACEOF
14479 #line $LINENO "configure"
14482 cat confdefs.h >>conftest.$ac_ext
14483 cat >>conftest.$ac_ext <<_ACEOF
14484 /* end confdefs.h. */
14485 $ac_includes_default
14489 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14496 rm -f conftest.$ac_objext
14497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14498 (eval $ac_compile) 2>&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } &&
14502 { ac_try='test -s conftest.$ac_objext'
14503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504 (eval $ac_try) 2>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); }; }; then
14510 echo "$as_me: failed program was:" >&5
14511 sed 's/^/| /' conftest.$ac_ext >&5
14513 ac_lo=`expr '(' $ac_mid ')' + 1`
14515 rm -f conftest.$ac_objext conftest.$ac_ext
14518 ?*) ac_cv_sizeof_short=$ac_lo;;
14519 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14520 See \`config.log' for more details." >&5
14521 echo "$as_me: error: cannot compute sizeof (short), 77
14522 See \`config.log' for more details." >&2;}
14523 { (exit 1); exit 1; }; } ;;
14526 if test "$cross_compiling" = yes; then
14527 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14528 See \`config.log' for more details." >&5
14529 echo "$as_me: error: cannot run test program while cross compiling
14530 See \`config.log' for more details." >&2;}
14531 { (exit 1); exit 1; }; }
14533 cat >conftest.$ac_ext <<_ACEOF
14534 #line $LINENO "configure"
14537 cat confdefs.h >>conftest.$ac_ext
14538 cat >>conftest.$ac_ext <<_ACEOF
14539 /* end confdefs.h. */
14540 $ac_includes_default
14541 long longval () { return (long) (sizeof (short)); }
14542 unsigned long ulongval () { return (long) (sizeof (short)); }
14544 #include <stdlib.h>
14549 FILE *f = fopen ("conftest.val", "w");
14552 if (((long) (sizeof (short))) < 0)
14554 long i = longval ();
14555 if (i != ((long) (sizeof (short))))
14557 fprintf (f, "%ld\n", i);
14561 unsigned long i = ulongval ();
14562 if (i != ((long) (sizeof (short))))
14564 fprintf (f, "%lu\n", i);
14566 exit (ferror (f) || fclose (f) != 0);
14572 rm -f conftest$ac_exeext
14573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14574 (eval $ac_link) 2>&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14579 (eval $ac_try) 2>&5
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); }; }; then
14583 ac_cv_sizeof_short=`cat conftest.val`
14585 echo "$as_me: program exited with status $ac_status" >&5
14586 echo "$as_me: failed program was:" >&5
14587 sed 's/^/| /' conftest.$ac_ext >&5
14589 ( exit $ac_status )
14590 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14591 See \`config.log' for more details." >&5
14592 echo "$as_me: error: cannot compute sizeof (short), 77
14593 See \`config.log' for more details." >&2;}
14594 { (exit 1); exit 1; }; }
14596 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14601 ac_cv_sizeof_short=0
14604 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14605 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14606 cat >>confdefs.h <<_ACEOF
14607 #define SIZEOF_SHORT $ac_cv_sizeof_short
14611 echo "$as_me:$LINENO: checking for void *" >&5
14612 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14613 if test "${ac_cv_type_void_p+set}" = set; then
14614 echo $ECHO_N "(cached) $ECHO_C" >&6
14616 cat >conftest.$ac_ext <<_ACEOF
14617 #line $LINENO "configure"
14620 cat confdefs.h >>conftest.$ac_ext
14621 cat >>conftest.$ac_ext <<_ACEOF
14622 /* end confdefs.h. */
14623 $ac_includes_default
14629 if (sizeof (void *))
14635 rm -f conftest.$ac_objext
14636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14637 (eval $ac_compile) 2>&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); } &&
14641 { ac_try='test -s conftest.$ac_objext'
14642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14643 (eval $ac_try) 2>&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); }; }; then
14647 ac_cv_type_void_p=yes
14649 echo "$as_me: failed program was:" >&5
14650 sed 's/^/| /' conftest.$ac_ext >&5
14652 ac_cv_type_void_p=no
14654 rm -f conftest.$ac_objext conftest.$ac_ext
14656 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14657 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14659 echo "$as_me:$LINENO: checking size of void *" >&5
14660 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14661 if test "${ac_cv_sizeof_void_p+set}" = set; then
14662 echo $ECHO_N "(cached) $ECHO_C" >&6
14664 if test "$ac_cv_type_void_p" = yes; then
14665 # The cast to unsigned long works around a bug in the HP C Compiler
14666 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14667 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14668 # This bug is HP SR number 8606223364.
14669 if test "$cross_compiling" = yes; then
14670 # Depending upon the size, compute the lo and hi bounds.
14671 cat >conftest.$ac_ext <<_ACEOF
14672 #line $LINENO "configure"
14675 cat confdefs.h >>conftest.$ac_ext
14676 cat >>conftest.$ac_ext <<_ACEOF
14677 /* end confdefs.h. */
14678 $ac_includes_default
14682 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14689 rm -f conftest.$ac_objext
14690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14691 (eval $ac_compile) 2>&5
14693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14694 (exit $ac_status); } &&
14695 { ac_try='test -s conftest.$ac_objext'
14696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14697 (eval $ac_try) 2>&5
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); }; }; then
14703 cat >conftest.$ac_ext <<_ACEOF
14704 #line $LINENO "configure"
14707 cat confdefs.h >>conftest.$ac_ext
14708 cat >>conftest.$ac_ext <<_ACEOF
14709 /* end confdefs.h. */
14710 $ac_includes_default
14714 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14721 rm -f conftest.$ac_objext
14722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14723 (eval $ac_compile) 2>&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); } &&
14727 { ac_try='test -s conftest.$ac_objext'
14728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14729 (eval $ac_try) 2>&5
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); }; }; then
14733 ac_hi=$ac_mid; break
14735 echo "$as_me: failed program was:" >&5
14736 sed 's/^/| /' conftest.$ac_ext >&5
14738 ac_lo=`expr $ac_mid + 1`
14739 if test $ac_lo -le $ac_mid; then
14743 ac_mid=`expr 2 '*' $ac_mid + 1`
14745 rm -f conftest.$ac_objext conftest.$ac_ext
14748 echo "$as_me: failed program was:" >&5
14749 sed 's/^/| /' conftest.$ac_ext >&5
14751 cat >conftest.$ac_ext <<_ACEOF
14752 #line $LINENO "configure"
14755 cat confdefs.h >>conftest.$ac_ext
14756 cat >>conftest.$ac_ext <<_ACEOF
14757 /* end confdefs.h. */
14758 $ac_includes_default
14762 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14769 rm -f conftest.$ac_objext
14770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14771 (eval $ac_compile) 2>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); } &&
14775 { ac_try='test -s conftest.$ac_objext'
14776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777 (eval $ac_try) 2>&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); }; }; then
14783 cat >conftest.$ac_ext <<_ACEOF
14784 #line $LINENO "configure"
14787 cat confdefs.h >>conftest.$ac_ext
14788 cat >>conftest.$ac_ext <<_ACEOF
14789 /* end confdefs.h. */
14790 $ac_includes_default
14794 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14801 rm -f conftest.$ac_objext
14802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14803 (eval $ac_compile) 2>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try='test -s conftest.$ac_objext'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14813 ac_lo=$ac_mid; break
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.$ac_ext >&5
14818 ac_hi=`expr '(' $ac_mid ')' - 1`
14819 if test $ac_mid -le $ac_hi; then
14823 ac_mid=`expr 2 '*' $ac_mid`
14825 rm -f conftest.$ac_objext conftest.$ac_ext
14828 echo "$as_me: failed program was:" >&5
14829 sed 's/^/| /' conftest.$ac_ext >&5
14833 rm -f conftest.$ac_objext conftest.$ac_ext
14835 rm -f conftest.$ac_objext conftest.$ac_ext
14836 # Binary search between lo and hi bounds.
14837 while test "x$ac_lo" != "x$ac_hi"; do
14838 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14839 cat >conftest.$ac_ext <<_ACEOF
14840 #line $LINENO "configure"
14843 cat confdefs.h >>conftest.$ac_ext
14844 cat >>conftest.$ac_ext <<_ACEOF
14845 /* end confdefs.h. */
14846 $ac_includes_default
14850 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14857 rm -f conftest.$ac_objext
14858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14859 (eval $ac_compile) 2>&5
14861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14862 (exit $ac_status); } &&
14863 { ac_try='test -s conftest.$ac_objext'
14864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14865 (eval $ac_try) 2>&5
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); }; }; then
14871 echo "$as_me: failed program was:" >&5
14872 sed 's/^/| /' conftest.$ac_ext >&5
14874 ac_lo=`expr '(' $ac_mid ')' + 1`
14876 rm -f conftest.$ac_objext conftest.$ac_ext
14879 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14880 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14881 See \`config.log' for more details." >&5
14882 echo "$as_me: error: cannot compute sizeof (void *), 77
14883 See \`config.log' for more details." >&2;}
14884 { (exit 1); exit 1; }; } ;;
14887 if test "$cross_compiling" = yes; then
14888 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14889 See \`config.log' for more details." >&5
14890 echo "$as_me: error: cannot run test program while cross compiling
14891 See \`config.log' for more details." >&2;}
14892 { (exit 1); exit 1; }; }
14894 cat >conftest.$ac_ext <<_ACEOF
14895 #line $LINENO "configure"
14898 cat confdefs.h >>conftest.$ac_ext
14899 cat >>conftest.$ac_ext <<_ACEOF
14900 /* end confdefs.h. */
14901 $ac_includes_default
14902 long longval () { return (long) (sizeof (void *)); }
14903 unsigned long ulongval () { return (long) (sizeof (void *)); }
14905 #include <stdlib.h>
14910 FILE *f = fopen ("conftest.val", "w");
14913 if (((long) (sizeof (void *))) < 0)
14915 long i = longval ();
14916 if (i != ((long) (sizeof (void *))))
14918 fprintf (f, "%ld\n", i);
14922 unsigned long i = ulongval ();
14923 if (i != ((long) (sizeof (void *))))
14925 fprintf (f, "%lu\n", i);
14927 exit (ferror (f) || fclose (f) != 0);
14933 rm -f conftest$ac_exeext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14935 (eval $ac_link) 2>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14940 (eval $ac_try) 2>&5
14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943 (exit $ac_status); }; }; then
14944 ac_cv_sizeof_void_p=`cat conftest.val`
14946 echo "$as_me: program exited with status $ac_status" >&5
14947 echo "$as_me: failed program was:" >&5
14948 sed 's/^/| /' conftest.$ac_ext >&5
14950 ( exit $ac_status )
14951 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14952 See \`config.log' for more details." >&5
14953 echo "$as_me: error: cannot compute sizeof (void *), 77
14954 See \`config.log' for more details." >&2;}
14955 { (exit 1); exit 1; }; }
14957 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14962 ac_cv_sizeof_void_p=0
14965 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14966 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14967 cat >>confdefs.h <<_ACEOF
14968 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14972 echo "$as_me:$LINENO: checking for int" >&5
14973 echo $ECHO_N "checking for int... $ECHO_C" >&6
14974 if test "${ac_cv_type_int+set}" = set; then
14975 echo $ECHO_N "(cached) $ECHO_C" >&6
14977 cat >conftest.$ac_ext <<_ACEOF
14978 #line $LINENO "configure"
14981 cat confdefs.h >>conftest.$ac_ext
14982 cat >>conftest.$ac_ext <<_ACEOF
14983 /* end confdefs.h. */
14984 $ac_includes_default
14996 rm -f conftest.$ac_objext
14997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14998 (eval $ac_compile) 2>&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); } &&
15002 { ac_try='test -s conftest.$ac_objext'
15003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15004 (eval $ac_try) 2>&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); }; }; then
15010 echo "$as_me: failed program was:" >&5
15011 sed 's/^/| /' conftest.$ac_ext >&5
15015 rm -f conftest.$ac_objext conftest.$ac_ext
15017 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15018 echo "${ECHO_T}$ac_cv_type_int" >&6
15020 echo "$as_me:$LINENO: checking size of int" >&5
15021 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15022 if test "${ac_cv_sizeof_int+set}" = set; then
15023 echo $ECHO_N "(cached) $ECHO_C" >&6
15025 if test "$ac_cv_type_int" = yes; then
15026 # The cast to unsigned long works around a bug in the HP C Compiler
15027 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15028 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15029 # This bug is HP SR number 8606223364.
15030 if test "$cross_compiling" = yes; then
15031 # Depending upon the size, compute the lo and hi bounds.
15032 cat >conftest.$ac_ext <<_ACEOF
15033 #line $LINENO "configure"
15036 cat confdefs.h >>conftest.$ac_ext
15037 cat >>conftest.$ac_ext <<_ACEOF
15038 /* end confdefs.h. */
15039 $ac_includes_default
15043 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15050 rm -f conftest.$ac_objext
15051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15052 (eval $ac_compile) 2>&5
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); } &&
15056 { ac_try='test -s conftest.$ac_objext'
15057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15058 (eval $ac_try) 2>&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); }; }; then
15064 cat >conftest.$ac_ext <<_ACEOF
15065 #line $LINENO "configure"
15068 cat confdefs.h >>conftest.$ac_ext
15069 cat >>conftest.$ac_ext <<_ACEOF
15070 /* end confdefs.h. */
15071 $ac_includes_default
15075 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15082 rm -f conftest.$ac_objext
15083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15084 (eval $ac_compile) 2>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); } &&
15088 { ac_try='test -s conftest.$ac_objext'
15089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15090 (eval $ac_try) 2>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; }; then
15094 ac_hi=$ac_mid; break
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15099 ac_lo=`expr $ac_mid + 1`
15100 if test $ac_lo -le $ac_mid; then
15104 ac_mid=`expr 2 '*' $ac_mid + 1`
15106 rm -f conftest.$ac_objext conftest.$ac_ext
15109 echo "$as_me: failed program was:" >&5
15110 sed 's/^/| /' conftest.$ac_ext >&5
15112 cat >conftest.$ac_ext <<_ACEOF
15113 #line $LINENO "configure"
15116 cat confdefs.h >>conftest.$ac_ext
15117 cat >>conftest.$ac_ext <<_ACEOF
15118 /* end confdefs.h. */
15119 $ac_includes_default
15123 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15130 rm -f conftest.$ac_objext
15131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15132 (eval $ac_compile) 2>&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); } &&
15136 { ac_try='test -s conftest.$ac_objext'
15137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15138 (eval $ac_try) 2>&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); }; }; then
15144 cat >conftest.$ac_ext <<_ACEOF
15145 #line $LINENO "configure"
15148 cat confdefs.h >>conftest.$ac_ext
15149 cat >>conftest.$ac_ext <<_ACEOF
15150 /* end confdefs.h. */
15151 $ac_includes_default
15155 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15162 rm -f conftest.$ac_objext
15163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15164 (eval $ac_compile) 2>&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); } &&
15168 { ac_try='test -s conftest.$ac_objext'
15169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15170 (eval $ac_try) 2>&5
15172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15173 (exit $ac_status); }; }; then
15174 ac_lo=$ac_mid; break
15176 echo "$as_me: failed program was:" >&5
15177 sed 's/^/| /' conftest.$ac_ext >&5
15179 ac_hi=`expr '(' $ac_mid ')' - 1`
15180 if test $ac_mid -le $ac_hi; then
15184 ac_mid=`expr 2 '*' $ac_mid`
15186 rm -f conftest.$ac_objext conftest.$ac_ext
15189 echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.$ac_ext >&5
15194 rm -f conftest.$ac_objext conftest.$ac_ext
15196 rm -f conftest.$ac_objext conftest.$ac_ext
15197 # Binary search between lo and hi bounds.
15198 while test "x$ac_lo" != "x$ac_hi"; do
15199 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15200 cat >conftest.$ac_ext <<_ACEOF
15201 #line $LINENO "configure"
15204 cat confdefs.h >>conftest.$ac_ext
15205 cat >>conftest.$ac_ext <<_ACEOF
15206 /* end confdefs.h. */
15207 $ac_includes_default
15211 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15218 rm -f conftest.$ac_objext
15219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15220 (eval $ac_compile) 2>&5
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); } &&
15224 { ac_try='test -s conftest.$ac_objext'
15225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15226 (eval $ac_try) 2>&5
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); }; }; then
15232 echo "$as_me: failed program was:" >&5
15233 sed 's/^/| /' conftest.$ac_ext >&5
15235 ac_lo=`expr '(' $ac_mid ')' + 1`
15237 rm -f conftest.$ac_objext conftest.$ac_ext
15240 ?*) ac_cv_sizeof_int=$ac_lo;;
15241 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15242 See \`config.log' for more details." >&5
15243 echo "$as_me: error: cannot compute sizeof (int), 77
15244 See \`config.log' for more details." >&2;}
15245 { (exit 1); exit 1; }; } ;;
15248 if test "$cross_compiling" = yes; then
15249 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15250 See \`config.log' for more details." >&5
15251 echo "$as_me: error: cannot run test program while cross compiling
15252 See \`config.log' for more details." >&2;}
15253 { (exit 1); exit 1; }; }
15255 cat >conftest.$ac_ext <<_ACEOF
15256 #line $LINENO "configure"
15259 cat confdefs.h >>conftest.$ac_ext
15260 cat >>conftest.$ac_ext <<_ACEOF
15261 /* end confdefs.h. */
15262 $ac_includes_default
15263 long longval () { return (long) (sizeof (int)); }
15264 unsigned long ulongval () { return (long) (sizeof (int)); }
15266 #include <stdlib.h>
15271 FILE *f = fopen ("conftest.val", "w");
15274 if (((long) (sizeof (int))) < 0)
15276 long i = longval ();
15277 if (i != ((long) (sizeof (int))))
15279 fprintf (f, "%ld\n", i);
15283 unsigned long i = ulongval ();
15284 if (i != ((long) (sizeof (int))))
15286 fprintf (f, "%lu\n", i);
15288 exit (ferror (f) || fclose (f) != 0);
15294 rm -f conftest$ac_exeext
15295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15296 (eval $ac_link) 2>&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15301 (eval $ac_try) 2>&5
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); }; }; then
15305 ac_cv_sizeof_int=`cat conftest.val`
15307 echo "$as_me: program exited with status $ac_status" >&5
15308 echo "$as_me: failed program was:" >&5
15309 sed 's/^/| /' conftest.$ac_ext >&5
15311 ( exit $ac_status )
15312 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15313 See \`config.log' for more details." >&5
15314 echo "$as_me: error: cannot compute sizeof (int), 77
15315 See \`config.log' for more details." >&2;}
15316 { (exit 1); exit 1; }; }
15318 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15326 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15327 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15328 cat >>confdefs.h <<_ACEOF
15329 #define SIZEOF_INT $ac_cv_sizeof_int
15333 echo "$as_me:$LINENO: checking for long" >&5
15334 echo $ECHO_N "checking for long... $ECHO_C" >&6
15335 if test "${ac_cv_type_long+set}" = set; then
15336 echo $ECHO_N "(cached) $ECHO_C" >&6
15338 cat >conftest.$ac_ext <<_ACEOF
15339 #line $LINENO "configure"
15342 cat confdefs.h >>conftest.$ac_ext
15343 cat >>conftest.$ac_ext <<_ACEOF
15344 /* end confdefs.h. */
15345 $ac_includes_default
15357 rm -f conftest.$ac_objext
15358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15359 (eval $ac_compile) 2>&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } &&
15363 { ac_try='test -s conftest.$ac_objext'
15364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15365 (eval $ac_try) 2>&5
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); }; }; then
15369 ac_cv_type_long=yes
15371 echo "$as_me: failed program was:" >&5
15372 sed 's/^/| /' conftest.$ac_ext >&5
15376 rm -f conftest.$ac_objext conftest.$ac_ext
15378 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15379 echo "${ECHO_T}$ac_cv_type_long" >&6
15381 echo "$as_me:$LINENO: checking size of long" >&5
15382 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15383 if test "${ac_cv_sizeof_long+set}" = set; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15386 if test "$ac_cv_type_long" = yes; then
15387 # The cast to unsigned long works around a bug in the HP C Compiler
15388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15389 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15390 # This bug is HP SR number 8606223364.
15391 if test "$cross_compiling" = yes; then
15392 # Depending upon the size, compute the lo and hi bounds.
15393 cat >conftest.$ac_ext <<_ACEOF
15394 #line $LINENO "configure"
15397 cat confdefs.h >>conftest.$ac_ext
15398 cat >>conftest.$ac_ext <<_ACEOF
15399 /* end confdefs.h. */
15400 $ac_includes_default
15404 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15411 rm -f conftest.$ac_objext
15412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15413 (eval $ac_compile) 2>&5
15415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15416 (exit $ac_status); } &&
15417 { ac_try='test -s conftest.$ac_objext'
15418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15419 (eval $ac_try) 2>&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); }; }; then
15425 cat >conftest.$ac_ext <<_ACEOF
15426 #line $LINENO "configure"
15429 cat confdefs.h >>conftest.$ac_ext
15430 cat >>conftest.$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15432 $ac_includes_default
15436 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15443 rm -f conftest.$ac_objext
15444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15445 (eval $ac_compile) 2>&5
15447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15448 (exit $ac_status); } &&
15449 { ac_try='test -s conftest.$ac_objext'
15450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15451 (eval $ac_try) 2>&5
15453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15454 (exit $ac_status); }; }; then
15455 ac_hi=$ac_mid; break
15457 echo "$as_me: failed program was:" >&5
15458 sed 's/^/| /' conftest.$ac_ext >&5
15460 ac_lo=`expr $ac_mid + 1`
15461 if test $ac_lo -le $ac_mid; then
15465 ac_mid=`expr 2 '*' $ac_mid + 1`
15467 rm -f conftest.$ac_objext conftest.$ac_ext
15470 echo "$as_me: failed program was:" >&5
15471 sed 's/^/| /' conftest.$ac_ext >&5
15473 cat >conftest.$ac_ext <<_ACEOF
15474 #line $LINENO "configure"
15477 cat confdefs.h >>conftest.$ac_ext
15478 cat >>conftest.$ac_ext <<_ACEOF
15479 /* end confdefs.h. */
15480 $ac_includes_default
15484 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15491 rm -f conftest.$ac_objext
15492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15493 (eval $ac_compile) 2>&5
15495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 (exit $ac_status); } &&
15497 { ac_try='test -s conftest.$ac_objext'
15498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15499 (eval $ac_try) 2>&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); }; }; then
15505 cat >conftest.$ac_ext <<_ACEOF
15506 #line $LINENO "configure"
15509 cat confdefs.h >>conftest.$ac_ext
15510 cat >>conftest.$ac_ext <<_ACEOF
15511 /* end confdefs.h. */
15512 $ac_includes_default
15516 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15523 rm -f conftest.$ac_objext
15524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15525 (eval $ac_compile) 2>&5
15527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); } &&
15529 { ac_try='test -s conftest.$ac_objext'
15530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15531 (eval $ac_try) 2>&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); }; }; then
15535 ac_lo=$ac_mid; break
15537 echo "$as_me: failed program was:" >&5
15538 sed 's/^/| /' conftest.$ac_ext >&5
15540 ac_hi=`expr '(' $ac_mid ')' - 1`
15541 if test $ac_mid -le $ac_hi; then
15545 ac_mid=`expr 2 '*' $ac_mid`
15547 rm -f conftest.$ac_objext conftest.$ac_ext
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.$ac_ext >&5
15555 rm -f conftest.$ac_objext conftest.$ac_ext
15557 rm -f conftest.$ac_objext conftest.$ac_ext
15558 # Binary search between lo and hi bounds.
15559 while test "x$ac_lo" != "x$ac_hi"; do
15560 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15561 cat >conftest.$ac_ext <<_ACEOF
15562 #line $LINENO "configure"
15565 cat confdefs.h >>conftest.$ac_ext
15566 cat >>conftest.$ac_ext <<_ACEOF
15567 /* end confdefs.h. */
15568 $ac_includes_default
15572 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15579 rm -f conftest.$ac_objext
15580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15581 (eval $ac_compile) 2>&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); } &&
15585 { ac_try='test -s conftest.$ac_objext'
15586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587 (eval $ac_try) 2>&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); }; }; then
15593 echo "$as_me: failed program was:" >&5
15594 sed 's/^/| /' conftest.$ac_ext >&5
15596 ac_lo=`expr '(' $ac_mid ')' + 1`
15598 rm -f conftest.$ac_objext conftest.$ac_ext
15601 ?*) ac_cv_sizeof_long=$ac_lo;;
15602 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15603 See \`config.log' for more details." >&5
15604 echo "$as_me: error: cannot compute sizeof (long), 77
15605 See \`config.log' for more details." >&2;}
15606 { (exit 1); exit 1; }; } ;;
15609 if test "$cross_compiling" = yes; then
15610 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15611 See \`config.log' for more details." >&5
15612 echo "$as_me: error: cannot run test program while cross compiling
15613 See \`config.log' for more details." >&2;}
15614 { (exit 1); exit 1; }; }
15616 cat >conftest.$ac_ext <<_ACEOF
15617 #line $LINENO "configure"
15620 cat confdefs.h >>conftest.$ac_ext
15621 cat >>conftest.$ac_ext <<_ACEOF
15622 /* end confdefs.h. */
15623 $ac_includes_default
15624 long longval () { return (long) (sizeof (long)); }
15625 unsigned long ulongval () { return (long) (sizeof (long)); }
15627 #include <stdlib.h>
15632 FILE *f = fopen ("conftest.val", "w");
15635 if (((long) (sizeof (long))) < 0)
15637 long i = longval ();
15638 if (i != ((long) (sizeof (long))))
15640 fprintf (f, "%ld\n", i);
15644 unsigned long i = ulongval ();
15645 if (i != ((long) (sizeof (long))))
15647 fprintf (f, "%lu\n", i);
15649 exit (ferror (f) || fclose (f) != 0);
15655 rm -f conftest$ac_exeext
15656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15657 (eval $ac_link) 2>&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 (eval $ac_try) 2>&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; }; then
15666 ac_cv_sizeof_long=`cat conftest.val`
15668 echo "$as_me: program exited with status $ac_status" >&5
15669 echo "$as_me: failed program was:" >&5
15670 sed 's/^/| /' conftest.$ac_ext >&5
15672 ( exit $ac_status )
15673 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15674 See \`config.log' for more details." >&5
15675 echo "$as_me: error: cannot compute sizeof (long), 77
15676 See \`config.log' for more details." >&2;}
15677 { (exit 1); exit 1; }; }
15679 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15684 ac_cv_sizeof_long=0
15687 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15688 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15689 cat >>confdefs.h <<_ACEOF
15690 #define SIZEOF_LONG $ac_cv_sizeof_long
15694 echo "$as_me:$LINENO: checking for size_t" >&5
15695 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
15696 if test "${ac_cv_type_size_t+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 cat >conftest.$ac_ext <<_ACEOF
15700 #line $LINENO "configure"
15703 cat confdefs.h >>conftest.$ac_ext
15704 cat >>conftest.$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15706 $ac_includes_default
15712 if (sizeof (size_t))
15718 rm -f conftest.$ac_objext
15719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15720 (eval $ac_compile) 2>&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } &&
15724 { ac_try='test -s conftest.$ac_objext'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; }; then
15730 ac_cv_type_size_t=yes
15732 echo "$as_me: failed program was:" >&5
15733 sed 's/^/| /' conftest.$ac_ext >&5
15735 ac_cv_type_size_t=no
15737 rm -f conftest.$ac_objext conftest.$ac_ext
15739 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
15740 echo "${ECHO_T}$ac_cv_type_size_t" >&6
15742 echo "$as_me:$LINENO: checking size of size_t" >&5
15743 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
15744 if test "${ac_cv_sizeof_size_t+set}" = set; then
15745 echo $ECHO_N "(cached) $ECHO_C" >&6
15747 if test "$ac_cv_type_size_t" = yes; then
15748 # The cast to unsigned long works around a bug in the HP C Compiler
15749 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15750 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15751 # This bug is HP SR number 8606223364.
15752 if test "$cross_compiling" = yes; then
15753 # Depending upon the size, compute the lo and hi bounds.
15754 cat >conftest.$ac_ext <<_ACEOF
15755 #line $LINENO "configure"
15758 cat confdefs.h >>conftest.$ac_ext
15759 cat >>conftest.$ac_ext <<_ACEOF
15760 /* end confdefs.h. */
15761 $ac_includes_default
15765 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
15772 rm -f conftest.$ac_objext
15773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15774 (eval $ac_compile) 2>&5
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); } &&
15778 { ac_try='test -s conftest.$ac_objext'
15779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15780 (eval $ac_try) 2>&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); }; }; then
15786 cat >conftest.$ac_ext <<_ACEOF
15787 #line $LINENO "configure"
15790 cat confdefs.h >>conftest.$ac_ext
15791 cat >>conftest.$ac_ext <<_ACEOF
15792 /* end confdefs.h. */
15793 $ac_includes_default
15797 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
15804 rm -f conftest.$ac_objext
15805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15806 (eval $ac_compile) 2>&5
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); } &&
15810 { ac_try='test -s conftest.$ac_objext'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; }; then
15816 ac_hi=$ac_mid; break
15818 echo "$as_me: failed program was:" >&5
15819 sed 's/^/| /' conftest.$ac_ext >&5
15821 ac_lo=`expr $ac_mid + 1`
15822 if test $ac_lo -le $ac_mid; then
15826 ac_mid=`expr 2 '*' $ac_mid + 1`
15828 rm -f conftest.$ac_objext conftest.$ac_ext
15831 echo "$as_me: failed program was:" >&5
15832 sed 's/^/| /' conftest.$ac_ext >&5
15834 cat >conftest.$ac_ext <<_ACEOF
15835 #line $LINENO "configure"
15838 cat confdefs.h >>conftest.$ac_ext
15839 cat >>conftest.$ac_ext <<_ACEOF
15840 /* end confdefs.h. */
15841 $ac_includes_default
15845 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
15852 rm -f conftest.$ac_objext
15853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15854 (eval $ac_compile) 2>&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); } &&
15858 { ac_try='test -s conftest.$ac_objext'
15859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15860 (eval $ac_try) 2>&5
15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 (exit $ac_status); }; }; then
15866 cat >conftest.$ac_ext <<_ACEOF
15867 #line $LINENO "configure"
15870 cat confdefs.h >>conftest.$ac_ext
15871 cat >>conftest.$ac_ext <<_ACEOF
15872 /* end confdefs.h. */
15873 $ac_includes_default
15877 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
15884 rm -f conftest.$ac_objext
15885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15886 (eval $ac_compile) 2>&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); } &&
15890 { ac_try='test -s conftest.$ac_objext'
15891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15892 (eval $ac_try) 2>&5
15894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 (exit $ac_status); }; }; then
15896 ac_lo=$ac_mid; break
15898 echo "$as_me: failed program was:" >&5
15899 sed 's/^/| /' conftest.$ac_ext >&5
15901 ac_hi=`expr '(' $ac_mid ')' - 1`
15902 if test $ac_mid -le $ac_hi; then
15906 ac_mid=`expr 2 '*' $ac_mid`
15908 rm -f conftest.$ac_objext conftest.$ac_ext
15911 echo "$as_me: failed program was:" >&5
15912 sed 's/^/| /' conftest.$ac_ext >&5
15916 rm -f conftest.$ac_objext conftest.$ac_ext
15918 rm -f conftest.$ac_objext conftest.$ac_ext
15919 # Binary search between lo and hi bounds.
15920 while test "x$ac_lo" != "x$ac_hi"; do
15921 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15922 cat >conftest.$ac_ext <<_ACEOF
15923 #line $LINENO "configure"
15926 cat confdefs.h >>conftest.$ac_ext
15927 cat >>conftest.$ac_ext <<_ACEOF
15928 /* end confdefs.h. */
15929 $ac_includes_default
15933 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
15940 rm -f conftest.$ac_objext
15941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15942 (eval $ac_compile) 2>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); } &&
15946 { ac_try='test -s conftest.$ac_objext'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; }; then
15954 echo "$as_me: failed program was:" >&5
15955 sed 's/^/| /' conftest.$ac_ext >&5
15957 ac_lo=`expr '(' $ac_mid ')' + 1`
15959 rm -f conftest.$ac_objext conftest.$ac_ext
15962 ?*) ac_cv_sizeof_size_t=$ac_lo;;
15963 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
15964 See \`config.log' for more details." >&5
15965 echo "$as_me: error: cannot compute sizeof (size_t), 77
15966 See \`config.log' for more details." >&2;}
15967 { (exit 1); exit 1; }; } ;;
15970 if test "$cross_compiling" = yes; then
15971 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15972 See \`config.log' for more details." >&5
15973 echo "$as_me: error: cannot run test program while cross compiling
15974 See \`config.log' for more details." >&2;}
15975 { (exit 1); exit 1; }; }
15977 cat >conftest.$ac_ext <<_ACEOF
15978 #line $LINENO "configure"
15981 cat confdefs.h >>conftest.$ac_ext
15982 cat >>conftest.$ac_ext <<_ACEOF
15983 /* end confdefs.h. */
15984 $ac_includes_default
15985 long longval () { return (long) (sizeof (size_t)); }
15986 unsigned long ulongval () { return (long) (sizeof (size_t)); }
15988 #include <stdlib.h>
15993 FILE *f = fopen ("conftest.val", "w");
15996 if (((long) (sizeof (size_t))) < 0)
15998 long i = longval ();
15999 if (i != ((long) (sizeof (size_t))))
16001 fprintf (f, "%ld\n", i);
16005 unsigned long i = ulongval ();
16006 if (i != ((long) (sizeof (size_t))))
16008 fprintf (f, "%lu\n", i);
16010 exit (ferror (f) || fclose (f) != 0);
16016 rm -f conftest$ac_exeext
16017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16018 (eval $ac_link) 2>&5
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16023 (eval $ac_try) 2>&5
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); }; }; then
16027 ac_cv_sizeof_size_t=`cat conftest.val`
16029 echo "$as_me: program exited with status $ac_status" >&5
16030 echo "$as_me: failed program was:" >&5
16031 sed 's/^/| /' conftest.$ac_ext >&5
16033 ( exit $ac_status )
16034 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16035 See \`config.log' for more details." >&5
16036 echo "$as_me: error: cannot compute sizeof (size_t), 77
16037 See \`config.log' for more details." >&2;}
16038 { (exit 1); exit 1; }; }
16040 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16045 ac_cv_sizeof_size_t=0
16048 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16049 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16050 cat >>confdefs.h <<_ACEOF
16051 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16058 echo "$as_me:$LINENO: checking for long long" >&5
16059 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16060 if test "${ac_cv_type_long_long+set}" = set; then
16061 echo $ECHO_N "(cached) $ECHO_C" >&6
16063 cat >conftest.$ac_ext <<_ACEOF
16064 #line $LINENO "configure"
16067 cat confdefs.h >>conftest.$ac_ext
16068 cat >>conftest.$ac_ext <<_ACEOF
16069 /* end confdefs.h. */
16070 $ac_includes_default
16074 if ((long long *) 0)
16076 if (sizeof (long long))
16082 rm -f conftest.$ac_objext
16083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16084 (eval $ac_compile) 2>&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); } &&
16088 { ac_try='test -s conftest.$ac_objext'
16089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090 (eval $ac_try) 2>&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; }; then
16094 ac_cv_type_long_long=yes
16096 echo "$as_me: failed program was:" >&5
16097 sed 's/^/| /' conftest.$ac_ext >&5
16099 ac_cv_type_long_long=no
16101 rm -f conftest.$ac_objext conftest.$ac_ext
16103 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16104 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16106 echo "$as_me:$LINENO: checking size of long long" >&5
16107 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16108 if test "${ac_cv_sizeof_long_long+set}" = set; then
16109 echo $ECHO_N "(cached) $ECHO_C" >&6
16111 if test "$ac_cv_type_long_long" = yes; then
16112 # The cast to unsigned long works around a bug in the HP C Compiler
16113 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16114 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16115 # This bug is HP SR number 8606223364.
16116 if test "$cross_compiling" = yes; then
16117 # Depending upon the size, compute the lo and hi bounds.
16118 cat >conftest.$ac_ext <<_ACEOF
16119 #line $LINENO "configure"
16122 cat confdefs.h >>conftest.$ac_ext
16123 cat >>conftest.$ac_ext <<_ACEOF
16124 /* end confdefs.h. */
16125 $ac_includes_default
16129 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16136 rm -f conftest.$ac_objext
16137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16138 (eval $ac_compile) 2>&5
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); } &&
16142 { ac_try='test -s conftest.$ac_objext'
16143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16144 (eval $ac_try) 2>&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); }; }; then
16150 cat >conftest.$ac_ext <<_ACEOF
16151 #line $LINENO "configure"
16154 cat confdefs.h >>conftest.$ac_ext
16155 cat >>conftest.$ac_ext <<_ACEOF
16156 /* end confdefs.h. */
16157 $ac_includes_default
16161 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16168 rm -f conftest.$ac_objext
16169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16170 (eval $ac_compile) 2>&5
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); } &&
16174 { ac_try='test -s conftest.$ac_objext'
16175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16176 (eval $ac_try) 2>&5
16178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 (exit $ac_status); }; }; then
16180 ac_hi=$ac_mid; break
16182 echo "$as_me: failed program was:" >&5
16183 sed 's/^/| /' conftest.$ac_ext >&5
16185 ac_lo=`expr $ac_mid + 1`
16186 if test $ac_lo -le $ac_mid; then
16190 ac_mid=`expr 2 '*' $ac_mid + 1`
16192 rm -f conftest.$ac_objext conftest.$ac_ext
16195 echo "$as_me: failed program was:" >&5
16196 sed 's/^/| /' conftest.$ac_ext >&5
16198 cat >conftest.$ac_ext <<_ACEOF
16199 #line $LINENO "configure"
16202 cat confdefs.h >>conftest.$ac_ext
16203 cat >>conftest.$ac_ext <<_ACEOF
16204 /* end confdefs.h. */
16205 $ac_includes_default
16209 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16216 rm -f conftest.$ac_objext
16217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16218 (eval $ac_compile) 2>&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); } &&
16222 { ac_try='test -s conftest.$ac_objext'
16223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 (eval $ac_try) 2>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }; }; then
16230 cat >conftest.$ac_ext <<_ACEOF
16231 #line $LINENO "configure"
16234 cat confdefs.h >>conftest.$ac_ext
16235 cat >>conftest.$ac_ext <<_ACEOF
16236 /* end confdefs.h. */
16237 $ac_includes_default
16241 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16248 rm -f conftest.$ac_objext
16249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16250 (eval $ac_compile) 2>&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); } &&
16254 { ac_try='test -s conftest.$ac_objext'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; }; then
16260 ac_lo=$ac_mid; break
16262 echo "$as_me: failed program was:" >&5
16263 sed 's/^/| /' conftest.$ac_ext >&5
16265 ac_hi=`expr '(' $ac_mid ')' - 1`
16266 if test $ac_mid -le $ac_hi; then
16270 ac_mid=`expr 2 '*' $ac_mid`
16272 rm -f conftest.$ac_objext conftest.$ac_ext
16275 echo "$as_me: failed program was:" >&5
16276 sed 's/^/| /' conftest.$ac_ext >&5
16280 rm -f conftest.$ac_objext conftest.$ac_ext
16282 rm -f conftest.$ac_objext conftest.$ac_ext
16283 # Binary search between lo and hi bounds.
16284 while test "x$ac_lo" != "x$ac_hi"; do
16285 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16286 cat >conftest.$ac_ext <<_ACEOF
16287 #line $LINENO "configure"
16290 cat confdefs.h >>conftest.$ac_ext
16291 cat >>conftest.$ac_ext <<_ACEOF
16292 /* end confdefs.h. */
16293 $ac_includes_default
16297 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16304 rm -f conftest.$ac_objext
16305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16306 (eval $ac_compile) 2>&5
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); } &&
16310 { ac_try='test -s conftest.$ac_objext'
16311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16312 (eval $ac_try) 2>&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); }; }; then
16318 echo "$as_me: failed program was:" >&5
16319 sed 's/^/| /' conftest.$ac_ext >&5
16321 ac_lo=`expr '(' $ac_mid ')' + 1`
16323 rm -f conftest.$ac_objext conftest.$ac_ext
16326 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16327 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16328 See \`config.log' for more details." >&5
16329 echo "$as_me: error: cannot compute sizeof (long long), 77
16330 See \`config.log' for more details." >&2;}
16331 { (exit 1); exit 1; }; } ;;
16334 if test "$cross_compiling" = yes; then
16335 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16336 See \`config.log' for more details." >&5
16337 echo "$as_me: error: cannot run test program while cross compiling
16338 See \`config.log' for more details." >&2;}
16339 { (exit 1); exit 1; }; }
16341 cat >conftest.$ac_ext <<_ACEOF
16342 #line $LINENO "configure"
16345 cat confdefs.h >>conftest.$ac_ext
16346 cat >>conftest.$ac_ext <<_ACEOF
16347 /* end confdefs.h. */
16348 $ac_includes_default
16349 long longval () { return (long) (sizeof (long long)); }
16350 unsigned long ulongval () { return (long) (sizeof (long long)); }
16352 #include <stdlib.h>
16357 FILE *f = fopen ("conftest.val", "w");
16360 if (((long) (sizeof (long long))) < 0)
16362 long i = longval ();
16363 if (i != ((long) (sizeof (long long))))
16365 fprintf (f, "%ld\n", i);
16369 unsigned long i = ulongval ();
16370 if (i != ((long) (sizeof (long long))))
16372 fprintf (f, "%lu\n", i);
16374 exit (ferror (f) || fclose (f) != 0);
16380 rm -f conftest$ac_exeext
16381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16382 (eval $ac_link) 2>&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16387 (eval $ac_try) 2>&5
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); }; }; then
16391 ac_cv_sizeof_long_long=`cat conftest.val`
16393 echo "$as_me: program exited with status $ac_status" >&5
16394 echo "$as_me: failed program was:" >&5
16395 sed 's/^/| /' conftest.$ac_ext >&5
16397 ( exit $ac_status )
16398 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16399 See \`config.log' for more details." >&5
16400 echo "$as_me: error: cannot compute sizeof (long long), 77
16401 See \`config.log' for more details." >&2;}
16402 { (exit 1); exit 1; }; }
16404 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16409 ac_cv_sizeof_long_long=0
16412 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16413 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16414 cat >>confdefs.h <<_ACEOF
16415 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16421 echo "$as_me:$LINENO: checking for long long" >&5
16422 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16423 if test "${ac_cv_type_long_long+set}" = set; then
16424 echo $ECHO_N "(cached) $ECHO_C" >&6
16426 cat >conftest.$ac_ext <<_ACEOF
16427 #line $LINENO "configure"
16430 cat confdefs.h >>conftest.$ac_ext
16431 cat >>conftest.$ac_ext <<_ACEOF
16432 /* end confdefs.h. */
16433 $ac_includes_default
16437 if ((long long *) 0)
16439 if (sizeof (long long))
16445 rm -f conftest.$ac_objext
16446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16447 (eval $ac_compile) 2>&5
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); } &&
16451 { ac_try='test -s conftest.$ac_objext'
16452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16453 (eval $ac_try) 2>&5
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); }; }; then
16457 ac_cv_type_long_long=yes
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.$ac_ext >&5
16462 ac_cv_type_long_long=no
16464 rm -f conftest.$ac_objext conftest.$ac_ext
16466 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16467 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16469 echo "$as_me:$LINENO: checking size of long long" >&5
16470 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16471 if test "${ac_cv_sizeof_long_long+set}" = set; then
16472 echo $ECHO_N "(cached) $ECHO_C" >&6
16474 if test "$ac_cv_type_long_long" = yes; then
16475 # The cast to unsigned long works around a bug in the HP C Compiler
16476 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16477 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16478 # This bug is HP SR number 8606223364.
16479 if test "$cross_compiling" = yes; then
16480 # Depending upon the size, compute the lo and hi bounds.
16481 cat >conftest.$ac_ext <<_ACEOF
16482 #line $LINENO "configure"
16485 cat confdefs.h >>conftest.$ac_ext
16486 cat >>conftest.$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16488 $ac_includes_default
16492 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16499 rm -f conftest.$ac_objext
16500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16501 (eval $ac_compile) 2>&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); } &&
16505 { ac_try='test -s conftest.$ac_objext'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; }; then
16513 cat >conftest.$ac_ext <<_ACEOF
16514 #line $LINENO "configure"
16517 cat confdefs.h >>conftest.$ac_ext
16518 cat >>conftest.$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16520 $ac_includes_default
16524 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16531 rm -f conftest.$ac_objext
16532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16533 (eval $ac_compile) 2>&5
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); } &&
16537 { ac_try='test -s conftest.$ac_objext'
16538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16539 (eval $ac_try) 2>&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); }; }; then
16543 ac_hi=$ac_mid; break
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.$ac_ext >&5
16548 ac_lo=`expr $ac_mid + 1`
16549 if test $ac_lo -le $ac_mid; then
16553 ac_mid=`expr 2 '*' $ac_mid + 1`
16555 rm -f conftest.$ac_objext conftest.$ac_ext
16558 echo "$as_me: failed program was:" >&5
16559 sed 's/^/| /' conftest.$ac_ext >&5
16561 cat >conftest.$ac_ext <<_ACEOF
16562 #line $LINENO "configure"
16565 cat confdefs.h >>conftest.$ac_ext
16566 cat >>conftest.$ac_ext <<_ACEOF
16567 /* end confdefs.h. */
16568 $ac_includes_default
16572 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16579 rm -f conftest.$ac_objext
16580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16581 (eval $ac_compile) 2>&5
16583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 (exit $ac_status); } &&
16585 { ac_try='test -s conftest.$ac_objext'
16586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16587 (eval $ac_try) 2>&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); }; }; then
16593 cat >conftest.$ac_ext <<_ACEOF
16594 #line $LINENO "configure"
16597 cat confdefs.h >>conftest.$ac_ext
16598 cat >>conftest.$ac_ext <<_ACEOF
16599 /* end confdefs.h. */
16600 $ac_includes_default
16604 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16611 rm -f conftest.$ac_objext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16613 (eval $ac_compile) 2>&5
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); } &&
16617 { ac_try='test -s conftest.$ac_objext'
16618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16619 (eval $ac_try) 2>&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); }; }; then
16623 ac_lo=$ac_mid; break
16625 echo "$as_me: failed program was:" >&5
16626 sed 's/^/| /' conftest.$ac_ext >&5
16628 ac_hi=`expr '(' $ac_mid ')' - 1`
16629 if test $ac_mid -le $ac_hi; then
16633 ac_mid=`expr 2 '*' $ac_mid`
16635 rm -f conftest.$ac_objext conftest.$ac_ext
16638 echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.$ac_ext >&5
16643 rm -f conftest.$ac_objext conftest.$ac_ext
16645 rm -f conftest.$ac_objext conftest.$ac_ext
16646 # Binary search between lo and hi bounds.
16647 while test "x$ac_lo" != "x$ac_hi"; do
16648 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16649 cat >conftest.$ac_ext <<_ACEOF
16650 #line $LINENO "configure"
16653 cat confdefs.h >>conftest.$ac_ext
16654 cat >>conftest.$ac_ext <<_ACEOF
16655 /* end confdefs.h. */
16656 $ac_includes_default
16660 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16667 rm -f conftest.$ac_objext
16668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16669 (eval $ac_compile) 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); } &&
16673 { ac_try='test -s conftest.$ac_objext'
16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675 (eval $ac_try) 2>&5
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); }; }; then
16681 echo "$as_me: failed program was:" >&5
16682 sed 's/^/| /' conftest.$ac_ext >&5
16684 ac_lo=`expr '(' $ac_mid ')' + 1`
16686 rm -f conftest.$ac_objext conftest.$ac_ext
16689 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16690 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16691 See \`config.log' for more details." >&5
16692 echo "$as_me: error: cannot compute sizeof (long long), 77
16693 See \`config.log' for more details." >&2;}
16694 { (exit 1); exit 1; }; } ;;
16697 if test "$cross_compiling" = yes; then
16698 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16699 See \`config.log' for more details." >&5
16700 echo "$as_me: error: cannot run test program while cross compiling
16701 See \`config.log' for more details." >&2;}
16702 { (exit 1); exit 1; }; }
16704 cat >conftest.$ac_ext <<_ACEOF
16705 #line $LINENO "configure"
16708 cat confdefs.h >>conftest.$ac_ext
16709 cat >>conftest.$ac_ext <<_ACEOF
16710 /* end confdefs.h. */
16711 $ac_includes_default
16712 long longval () { return (long) (sizeof (long long)); }
16713 unsigned long ulongval () { return (long) (sizeof (long long)); }
16715 #include <stdlib.h>
16720 FILE *f = fopen ("conftest.val", "w");
16723 if (((long) (sizeof (long long))) < 0)
16725 long i = longval ();
16726 if (i != ((long) (sizeof (long long))))
16728 fprintf (f, "%ld\n", i);
16732 unsigned long i = ulongval ();
16733 if (i != ((long) (sizeof (long long))))
16735 fprintf (f, "%lu\n", i);
16737 exit (ferror (f) || fclose (f) != 0);
16743 rm -f conftest$ac_exeext
16744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16745 (eval $ac_link) 2>&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16750 (eval $ac_try) 2>&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); }; }; then
16754 ac_cv_sizeof_long_long=`cat conftest.val`
16756 echo "$as_me: program exited with status $ac_status" >&5
16757 echo "$as_me: failed program was:" >&5
16758 sed 's/^/| /' conftest.$ac_ext >&5
16760 ( exit $ac_status )
16761 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16762 See \`config.log' for more details." >&5
16763 echo "$as_me: error: cannot compute sizeof (long long), 77
16764 See \`config.log' for more details." >&2;}
16765 { (exit 1); exit 1; }; }
16767 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16772 ac_cv_sizeof_long_long=0
16775 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16776 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16777 cat >>confdefs.h <<_ACEOF
16778 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16782 if test "$ac_cv_sizeof_long_long" != "0"; then
16783 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16787 echo "$as_me:$LINENO: checking for long long" >&5
16788 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16789 if test "${ac_cv_type_long_long+set}" = set; then
16790 echo $ECHO_N "(cached) $ECHO_C" >&6
16792 cat >conftest.$ac_ext <<_ACEOF
16793 #line $LINENO "configure"
16796 cat confdefs.h >>conftest.$ac_ext
16797 cat >>conftest.$ac_ext <<_ACEOF
16798 /* end confdefs.h. */
16799 $ac_includes_default
16803 if ((long long *) 0)
16805 if (sizeof (long long))
16811 rm -f conftest.$ac_objext
16812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16813 (eval $ac_compile) 2>&5
16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816 (exit $ac_status); } &&
16817 { ac_try='test -s conftest.$ac_objext'
16818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16819 (eval $ac_try) 2>&5
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); }; }; then
16823 ac_cv_type_long_long=yes
16825 echo "$as_me: failed program was:" >&5
16826 sed 's/^/| /' conftest.$ac_ext >&5
16828 ac_cv_type_long_long=no
16830 rm -f conftest.$ac_objext conftest.$ac_ext
16832 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16833 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16835 echo "$as_me:$LINENO: checking size of long long" >&5
16836 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16837 if test "${ac_cv_sizeof_long_long+set}" = set; then
16838 echo $ECHO_N "(cached) $ECHO_C" >&6
16840 if test "$ac_cv_type_long_long" = yes; then
16841 # The cast to unsigned long works around a bug in the HP C Compiler
16842 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16843 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16844 # This bug is HP SR number 8606223364.
16845 if test "$cross_compiling" = yes; then
16846 # Depending upon the size, compute the lo and hi bounds.
16847 cat >conftest.$ac_ext <<_ACEOF
16848 #line $LINENO "configure"
16851 cat confdefs.h >>conftest.$ac_ext
16852 cat >>conftest.$ac_ext <<_ACEOF
16853 /* end confdefs.h. */
16854 $ac_includes_default
16858 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16865 rm -f conftest.$ac_objext
16866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16867 (eval $ac_compile) 2>&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); } &&
16871 { ac_try='test -s conftest.$ac_objext'
16872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16873 (eval $ac_try) 2>&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); }; }; then
16879 cat >conftest.$ac_ext <<_ACEOF
16880 #line $LINENO "configure"
16883 cat confdefs.h >>conftest.$ac_ext
16884 cat >>conftest.$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16886 $ac_includes_default
16890 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16897 rm -f conftest.$ac_objext
16898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16899 (eval $ac_compile) 2>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); } &&
16903 { ac_try='test -s conftest.$ac_objext'
16904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16905 (eval $ac_try) 2>&5
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); }; }; then
16909 ac_hi=$ac_mid; break
16911 echo "$as_me: failed program was:" >&5
16912 sed 's/^/| /' conftest.$ac_ext >&5
16914 ac_lo=`expr $ac_mid + 1`
16915 if test $ac_lo -le $ac_mid; then
16919 ac_mid=`expr 2 '*' $ac_mid + 1`
16921 rm -f conftest.$ac_objext conftest.$ac_ext
16924 echo "$as_me: failed program was:" >&5
16925 sed 's/^/| /' conftest.$ac_ext >&5
16927 cat >conftest.$ac_ext <<_ACEOF
16928 #line $LINENO "configure"
16931 cat confdefs.h >>conftest.$ac_ext
16932 cat >>conftest.$ac_ext <<_ACEOF
16933 /* end confdefs.h. */
16934 $ac_includes_default
16938 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16945 rm -f conftest.$ac_objext
16946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16947 (eval $ac_compile) 2>&5
16949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950 (exit $ac_status); } &&
16951 { ac_try='test -s conftest.$ac_objext'
16952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953 (eval $ac_try) 2>&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }; }; then
16959 cat >conftest.$ac_ext <<_ACEOF
16960 #line $LINENO "configure"
16963 cat confdefs.h >>conftest.$ac_ext
16964 cat >>conftest.$ac_ext <<_ACEOF
16965 /* end confdefs.h. */
16966 $ac_includes_default
16970 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16977 rm -f conftest.$ac_objext
16978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16979 (eval $ac_compile) 2>&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } &&
16983 { ac_try='test -s conftest.$ac_objext'
16984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16985 (eval $ac_try) 2>&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); }; }; then
16989 ac_lo=$ac_mid; break
16991 echo "$as_me: failed program was:" >&5
16992 sed 's/^/| /' conftest.$ac_ext >&5
16994 ac_hi=`expr '(' $ac_mid ')' - 1`
16995 if test $ac_mid -le $ac_hi; then
16999 ac_mid=`expr 2 '*' $ac_mid`
17001 rm -f conftest.$ac_objext conftest.$ac_ext
17004 echo "$as_me: failed program was:" >&5
17005 sed 's/^/| /' conftest.$ac_ext >&5
17009 rm -f conftest.$ac_objext conftest.$ac_ext
17011 rm -f conftest.$ac_objext conftest.$ac_ext
17012 # Binary search between lo and hi bounds.
17013 while test "x$ac_lo" != "x$ac_hi"; do
17014 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17015 cat >conftest.$ac_ext <<_ACEOF
17016 #line $LINENO "configure"
17019 cat confdefs.h >>conftest.$ac_ext
17020 cat >>conftest.$ac_ext <<_ACEOF
17021 /* end confdefs.h. */
17022 $ac_includes_default
17026 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17033 rm -f conftest.$ac_objext
17034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17035 (eval $ac_compile) 2>&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); } &&
17039 { ac_try='test -s conftest.$ac_objext'
17040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17041 (eval $ac_try) 2>&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); }; }; then
17047 echo "$as_me: failed program was:" >&5
17048 sed 's/^/| /' conftest.$ac_ext >&5
17050 ac_lo=`expr '(' $ac_mid ')' + 1`
17052 rm -f conftest.$ac_objext conftest.$ac_ext
17055 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17056 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17057 See \`config.log' for more details." >&5
17058 echo "$as_me: error: cannot compute sizeof (long long), 77
17059 See \`config.log' for more details." >&2;}
17060 { (exit 1); exit 1; }; } ;;
17063 if test "$cross_compiling" = yes; then
17064 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17065 See \`config.log' for more details." >&5
17066 echo "$as_me: error: cannot run test program while cross compiling
17067 See \`config.log' for more details." >&2;}
17068 { (exit 1); exit 1; }; }
17070 cat >conftest.$ac_ext <<_ACEOF
17071 #line $LINENO "configure"
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17077 $ac_includes_default
17078 long longval () { return (long) (sizeof (long long)); }
17079 unsigned long ulongval () { return (long) (sizeof (long long)); }
17081 #include <stdlib.h>
17086 FILE *f = fopen ("conftest.val", "w");
17089 if (((long) (sizeof (long long))) < 0)
17091 long i = longval ();
17092 if (i != ((long) (sizeof (long long))))
17094 fprintf (f, "%ld\n", i);
17098 unsigned long i = ulongval ();
17099 if (i != ((long) (sizeof (long long))))
17101 fprintf (f, "%lu\n", i);
17103 exit (ferror (f) || fclose (f) != 0);
17109 rm -f conftest$ac_exeext
17110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17111 (eval $ac_link) 2>&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17116 (eval $ac_try) 2>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; }; then
17120 ac_cv_sizeof_long_long=`cat conftest.val`
17122 echo "$as_me: program exited with status $ac_status" >&5
17123 echo "$as_me: failed program was:" >&5
17124 sed 's/^/| /' conftest.$ac_ext >&5
17126 ( exit $ac_status )
17127 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17128 See \`config.log' for more details." >&5
17129 echo "$as_me: error: cannot compute sizeof (long long), 77
17130 See \`config.log' for more details." >&2;}
17131 { (exit 1); exit 1; }; }
17133 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17138 ac_cv_sizeof_long_long=0
17141 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17142 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17143 cat >>confdefs.h <<_ACEOF
17144 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17150 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17151 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17152 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17153 echo $ECHO_N "(cached) $ECHO_C" >&6
17156 if test "$cross_compiling" = yes; then
17160 wx_cv_sizeof_wchar_t=0
17163 wx_cv_sizeof_wchar_t=4
17169 cat >conftest.$ac_ext <<_ACEOF
17170 #line $LINENO "configure"
17173 cat confdefs.h >>conftest.$ac_ext
17174 cat >>conftest.$ac_ext <<_ACEOF
17175 /* end confdefs.h. */
17177 /* DJGPP only has fake wchar_t: */
17179 # error "fake wchar_t"
17181 #ifdef HAVE_WCHAR_H
17183 # include <stddef.h>
17185 # include <wchar.h>
17187 #ifdef HAVE_STDLIB_H
17188 # include <stdlib.h>
17193 FILE *f=fopen("conftestval", "w");
17195 fprintf(f, "%i", sizeof(wchar_t));
17200 rm -f conftest$ac_exeext
17201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17202 (eval $ac_link) 2>&5
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17207 (eval $ac_try) 2>&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); }; }; then
17211 wx_cv_sizeof_wchar_t=`cat conftestval`
17213 echo "$as_me: program exited with status $ac_status" >&5
17214 echo "$as_me: failed program was:" >&5
17215 sed 's/^/| /' conftest.$ac_ext >&5
17217 ( exit $ac_status )
17218 wx_cv_sizeof_wchar_t=0
17220 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17224 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
17225 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
17227 cat >>confdefs.h <<_ACEOF
17228 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
17232 # Check whether --enable-largefile or --disable-largefile was given.
17233 if test "${enable_largefile+set}" = set; then
17234 enableval="$enable_largefile"
17237 if test "$enable_largefile" != no; then
17240 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17241 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
17242 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
17243 echo $ECHO_N "(cached) $ECHO_C" >&6
17246 cat >conftest.$ac_ext <<_ACEOF
17247 #line $LINENO "configure"
17250 cat confdefs.h >>conftest.$ac_ext
17251 cat >>conftest.$ac_ext <<_ACEOF
17252 /* end confdefs.h. */
17253 #define _FILE_OFFSET_BITS 64
17254 #include <sys/types.h>
17259 unsigned int field: sizeof(off_t) == 8;
17266 rm -f conftest.$ac_objext
17267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17268 (eval $ac_compile) 2>&5
17270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271 (exit $ac_status); } &&
17272 { ac_try='test -s conftest.$ac_objext'
17273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17274 (eval $ac_try) 2>&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); }; }; then
17278 ac_cv_sys_file_offset_bits=64
17280 echo "$as_me: failed program was:" >&5
17281 sed 's/^/| /' conftest.$ac_ext >&5
17283 ac_cv_sys_file_offset_bits=no
17285 rm -f conftest.$ac_objext conftest.$ac_ext
17289 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
17290 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
17292 if test "$ac_cv_sys_file_offset_bits" != no; then
17294 cat >>confdefs.h <<_ACEOF
17295 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17300 if test "x$wx_largefile" != "xyes"; then
17302 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
17303 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
17304 if test "${ac_cv_sys_large_files+set}" = set; then
17305 echo $ECHO_N "(cached) $ECHO_C" >&6
17308 cat >conftest.$ac_ext <<_ACEOF
17309 #line $LINENO "configure"
17312 cat confdefs.h >>conftest.$ac_ext
17313 cat >>conftest.$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17315 #define _LARGE_FILES 1
17316 #include <sys/types.h>
17321 unsigned int field: sizeof(off_t) == 8;
17328 rm -f conftest.$ac_objext
17329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17330 (eval $ac_compile) 2>&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); } &&
17334 { ac_try='test -s conftest.$ac_objext'
17335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17336 (eval $ac_try) 2>&5
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); }; }; then
17340 ac_cv_sys_large_files=1
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.$ac_ext >&5
17345 ac_cv_sys_large_files=no
17347 rm -f conftest.$ac_objext conftest.$ac_ext
17351 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
17352 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
17354 if test "$ac_cv_sys_large_files" != no; then
17356 cat >>confdefs.h <<_ACEOF
17357 #define _LARGE_FILES $ac_cv_sys_large_files
17364 echo "$as_me:$LINENO: checking if large file support is available" >&5
17365 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
17366 if test "x$wx_largefile" = "xyes"; then
17367 cat >>confdefs.h <<\_ACEOF
17368 #define HAVE_LARGEFILE_SUPPORT 1
17372 echo "$as_me:$LINENO: result: $wx_largefile" >&5
17373 echo "${ECHO_T}$wx_largefile" >&6
17377 if test "x$wx_largefile" = "xyes"; then
17378 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
17379 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
17381 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
17383 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
17386 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
17387 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17388 if test "${ac_cv_c_bigendian+set}" = set; then
17389 echo $ECHO_N "(cached) $ECHO_C" >&6
17391 ac_cv_c_bigendian=unknown
17392 # See if sys/param.h defines the BYTE_ORDER macro.
17393 cat >conftest.$ac_ext <<_ACEOF
17394 #line $LINENO "configure"
17397 cat confdefs.h >>conftest.$ac_ext
17398 cat >>conftest.$ac_ext <<_ACEOF
17399 /* end confdefs.h. */
17400 #include <sys/types.h>
17401 #include <sys/param.h>
17406 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17407 bogus endian macros
17413 rm -f conftest.$ac_objext
17414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17415 (eval $ac_compile) 2>&5
17417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418 (exit $ac_status); } &&
17419 { ac_try='test -s conftest.$ac_objext'
17420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17421 (eval $ac_try) 2>&5
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); }; }; then
17425 # It does; now see whether it defined to BIG_ENDIAN or not.
17426 cat >conftest.$ac_ext <<_ACEOF
17427 #line $LINENO "configure"
17430 cat confdefs.h >>conftest.$ac_ext
17431 cat >>conftest.$ac_ext <<_ACEOF
17432 /* end confdefs.h. */
17433 #include <sys/types.h>
17434 #include <sys/param.h>
17439 #if BYTE_ORDER != BIG_ENDIAN
17446 rm -f conftest.$ac_objext
17447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17448 (eval $ac_compile) 2>&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); } &&
17452 { ac_try='test -s conftest.$ac_objext'
17453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17454 (eval $ac_try) 2>&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); }; }; then
17458 ac_cv_c_bigendian=yes
17460 echo "$as_me: failed program was:" >&5
17461 sed 's/^/| /' conftest.$ac_ext >&5
17463 ac_cv_c_bigendian=no
17465 rm -f conftest.$ac_objext conftest.$ac_ext
17467 echo "$as_me: failed program was:" >&5
17468 sed 's/^/| /' conftest.$ac_ext >&5
17471 rm -f conftest.$ac_objext conftest.$ac_ext
17472 if test $ac_cv_c_bigendian = unknown; then
17473 if test "$cross_compiling" = yes; then
17474 ac_cv_c_bigendian=unknown
17476 cat >conftest.$ac_ext <<_ACEOF
17477 #line $LINENO "configure"
17480 cat confdefs.h >>conftest.$ac_ext
17481 cat >>conftest.$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17484 /* Are we little or big endian? From Harbison&Steele. */
17488 char c[sizeof (long)];
17491 exit (u.c[sizeof (long) - 1] == 1);
17494 rm -f conftest$ac_exeext
17495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17496 (eval $ac_link) 2>&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17501 (eval $ac_try) 2>&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); }; }; then
17505 ac_cv_c_bigendian=no
17507 echo "$as_me: program exited with status $ac_status" >&5
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.$ac_ext >&5
17511 ( exit $ac_status )
17512 ac_cv_c_bigendian=yes
17514 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17518 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17519 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17520 if test $ac_cv_c_bigendian = unknown; then
17521 { 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
17522 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;}
17524 if test $ac_cv_c_bigendian = yes; then
17525 cat >>confdefs.h <<\_ACEOF
17526 #define WORDS_BIGENDIAN 1
17533 ac_cpp='$CXXCPP $CPPFLAGS'
17534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17537 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17538 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17539 if test -z "$CXXCPP"; then
17540 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17541 echo $ECHO_N "(cached) $ECHO_C" >&6
17543 # Double quotes because CXXCPP needs to be expanded
17544 for CXXCPP in "$CXX -E" "/lib/cpp"
17546 ac_preproc_ok=false
17547 for ac_cxx_preproc_warn_flag in '' yes
17549 # Use a header file that comes with gcc, so configuring glibc
17550 # with a fresh cross-compiler works.
17551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17552 # <limits.h> exists even on freestanding compilers.
17553 # On the NeXT, cc -E runs the code through the compiler's parser,
17554 # not just through cpp. "Syntax error" is here to catch this case.
17555 cat >conftest.$ac_ext <<_ACEOF
17556 #line $LINENO "configure"
17559 cat confdefs.h >>conftest.$ac_ext
17560 cat >>conftest.$ac_ext <<_ACEOF
17561 /* end confdefs.h. */
17563 # include <limits.h>
17565 # include <assert.h>
17569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17570 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17572 grep -v '^ *+' conftest.er1 >conftest.err
17574 cat conftest.err >&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } >/dev/null; then
17577 if test -s conftest.err; then
17578 ac_cpp_err=$ac_cxx_preproc_warn_flag
17585 if test -z "$ac_cpp_err"; then
17588 echo "$as_me: failed program was:" >&5
17589 sed 's/^/| /' conftest.$ac_ext >&5
17591 # Broken: fails on valid input.
17594 rm -f conftest.err conftest.$ac_ext
17596 # OK, works on sane cases. Now check whether non-existent headers
17597 # can be detected and how.
17598 cat >conftest.$ac_ext <<_ACEOF
17599 #line $LINENO "configure"
17602 cat confdefs.h >>conftest.$ac_ext
17603 cat >>conftest.$ac_ext <<_ACEOF
17604 /* end confdefs.h. */
17605 #include <ac_nonexistent.h>
17607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17610 grep -v '^ *+' conftest.er1 >conftest.err
17612 cat conftest.err >&5
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); } >/dev/null; then
17615 if test -s conftest.err; then
17616 ac_cpp_err=$ac_cxx_preproc_warn_flag
17623 if test -z "$ac_cpp_err"; then
17624 # Broken: success on invalid input.
17627 echo "$as_me: failed program was:" >&5
17628 sed 's/^/| /' conftest.$ac_ext >&5
17630 # Passes both tests.
17634 rm -f conftest.err conftest.$ac_ext
17637 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17638 rm -f conftest.err conftest.$ac_ext
17639 if $ac_preproc_ok; then
17644 ac_cv_prog_CXXCPP=$CXXCPP
17647 CXXCPP=$ac_cv_prog_CXXCPP
17649 ac_cv_prog_CXXCPP=$CXXCPP
17651 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17652 echo "${ECHO_T}$CXXCPP" >&6
17653 ac_preproc_ok=false
17654 for ac_cxx_preproc_warn_flag in '' yes
17656 # Use a header file that comes with gcc, so configuring glibc
17657 # with a fresh cross-compiler works.
17658 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17659 # <limits.h> exists even on freestanding compilers.
17660 # On the NeXT, cc -E runs the code through the compiler's parser,
17661 # not just through cpp. "Syntax error" is here to catch this case.
17662 cat >conftest.$ac_ext <<_ACEOF
17663 #line $LINENO "configure"
17666 cat confdefs.h >>conftest.$ac_ext
17667 cat >>conftest.$ac_ext <<_ACEOF
17668 /* end confdefs.h. */
17670 # include <limits.h>
17672 # include <assert.h>
17676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17677 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17679 grep -v '^ *+' conftest.er1 >conftest.err
17681 cat conftest.err >&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); } >/dev/null; then
17684 if test -s conftest.err; then
17685 ac_cpp_err=$ac_cxx_preproc_warn_flag
17692 if test -z "$ac_cpp_err"; then
17695 echo "$as_me: failed program was:" >&5
17696 sed 's/^/| /' conftest.$ac_ext >&5
17698 # Broken: fails on valid input.
17701 rm -f conftest.err conftest.$ac_ext
17703 # OK, works on sane cases. Now check whether non-existent headers
17704 # can be detected and how.
17705 cat >conftest.$ac_ext <<_ACEOF
17706 #line $LINENO "configure"
17709 cat confdefs.h >>conftest.$ac_ext
17710 cat >>conftest.$ac_ext <<_ACEOF
17711 /* end confdefs.h. */
17712 #include <ac_nonexistent.h>
17714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17715 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17717 grep -v '^ *+' conftest.er1 >conftest.err
17719 cat conftest.err >&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } >/dev/null; then
17722 if test -s conftest.err; then
17723 ac_cpp_err=$ac_cxx_preproc_warn_flag
17730 if test -z "$ac_cpp_err"; then
17731 # Broken: success on invalid input.
17734 echo "$as_me: failed program was:" >&5
17735 sed 's/^/| /' conftest.$ac_ext >&5
17737 # Passes both tests.
17741 rm -f conftest.err conftest.$ac_ext
17744 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17745 rm -f conftest.err conftest.$ac_ext
17746 if $ac_preproc_ok; then
17749 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17750 See \`config.log' for more details." >&5
17751 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17752 See \`config.log' for more details." >&2;}
17753 { (exit 1); exit 1; }; }
17757 ac_cpp='$CXXCPP $CPPFLAGS'
17758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17764 if test "$cross_compiling" = "yes"; then
17765 cat >>confdefs.h <<\_ACEOF
17766 #define wxUSE_IOSTREAMH 1
17773 ac_cpp='$CXXCPP $CPPFLAGS'
17774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17780 for ac_header in iostream
17782 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17784 echo "$as_me:$LINENO: checking for $ac_header" >&5
17785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17787 echo $ECHO_N "(cached) $ECHO_C" >&6
17789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17792 # Is the header compilable?
17793 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17794 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17795 cat >conftest.$ac_ext <<_ACEOF
17796 #line $LINENO "configure"
17799 cat confdefs.h >>conftest.$ac_ext
17800 cat >>conftest.$ac_ext <<_ACEOF
17801 /* end confdefs.h. */
17802 $ac_includes_default
17803 #include <$ac_header>
17805 rm -f conftest.$ac_objext
17806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17807 (eval $ac_compile) 2>&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } &&
17811 { ac_try='test -s conftest.$ac_objext'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; }; then
17817 ac_header_compiler=yes
17819 echo "$as_me: failed program was:" >&5
17820 sed 's/^/| /' conftest.$ac_ext >&5
17822 ac_header_compiler=no
17824 rm -f conftest.$ac_objext conftest.$ac_ext
17825 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17826 echo "${ECHO_T}$ac_header_compiler" >&6
17828 # Is the header present?
17829 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17830 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17831 cat >conftest.$ac_ext <<_ACEOF
17832 #line $LINENO "configure"
17835 cat confdefs.h >>conftest.$ac_ext
17836 cat >>conftest.$ac_ext <<_ACEOF
17837 /* end confdefs.h. */
17838 #include <$ac_header>
17840 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17841 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17843 grep -v '^ *+' conftest.er1 >conftest.err
17845 cat conftest.err >&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); } >/dev/null; then
17848 if test -s conftest.err; then
17849 ac_cpp_err=$ac_cxx_preproc_warn_flag
17856 if test -z "$ac_cpp_err"; then
17857 ac_header_preproc=yes
17859 echo "$as_me: failed program was:" >&5
17860 sed 's/^/| /' conftest.$ac_ext >&5
17862 ac_header_preproc=no
17864 rm -f conftest.err conftest.$ac_ext
17865 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17866 echo "${ECHO_T}$ac_header_preproc" >&6
17868 # So? What about this header?
17869 case $ac_header_compiler:$ac_header_preproc in
17871 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17872 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17874 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17877 ## ------------------------------------ ##
17878 ## Report this to bug-autoconf@gnu.org. ##
17879 ## ------------------------------------ ##
17882 sed "s/^/$as_me: WARNING: /" >&2
17885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17890 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17893 ## ------------------------------------ ##
17894 ## Report this to bug-autoconf@gnu.org. ##
17895 ## ------------------------------------ ##
17898 sed "s/^/$as_me: WARNING: /" >&2
17901 echo "$as_me:$LINENO: checking for $ac_header" >&5
17902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17904 echo $ECHO_N "(cached) $ECHO_C" >&6
17906 eval "$as_ac_Header=$ac_header_preproc"
17908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17912 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17913 cat >>confdefs.h <<_ACEOF
17914 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17922 if test "$ac_cv_header_iostream" = "yes" ; then
17925 cat >>confdefs.h <<\_ACEOF
17926 #define wxUSE_IOSTREAMH 1
17932 ac_cpp='$CPP $CPPFLAGS'
17933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17941 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17942 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17943 if test "${wx_cv_cpp_bool+set}" = set; then
17944 echo $ECHO_N "(cached) $ECHO_C" >&6
17950 ac_cpp='$CXXCPP $CPPFLAGS'
17951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17956 cat >conftest.$ac_ext <<_ACEOF
17957 #line $LINENO "configure"
17960 cat confdefs.h >>conftest.$ac_ext
17961 cat >>conftest.$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17977 rm -f conftest.$ac_objext
17978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17979 (eval $ac_compile) 2>&5
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); } &&
17983 { ac_try='test -s conftest.$ac_objext'
17984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17985 (eval $ac_try) 2>&5
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); }; }; then
17993 echo "$as_me: failed program was:" >&5
17994 sed 's/^/| /' conftest.$ac_ext >&5
18001 rm -f conftest.$ac_objext conftest.$ac_ext
18004 ac_cpp='$CPP $CPPFLAGS'
18005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18011 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18012 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18014 if test "$wx_cv_cpp_bool" = "yes"; then
18015 cat >>confdefs.h <<\_ACEOF
18016 #define HAVE_BOOL 1
18023 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18024 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18025 if test "${wx_cv_explicit+set}" = set; then
18026 echo $ECHO_N "(cached) $ECHO_C" >&6
18032 ac_cpp='$CXXCPP $CPPFLAGS'
18033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18038 cat >conftest.$ac_ext <<_ACEOF
18039 #line $LINENO "configure"
18042 cat confdefs.h >>conftest.$ac_ext
18043 cat >>conftest.$ac_ext <<_ACEOF
18044 /* end confdefs.h. */
18046 class Foo { public: explicit Foo(int) {} };
18058 rm -f conftest.$ac_objext
18059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18060 (eval $ac_compile) 2>&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } &&
18064 { ac_try='test -s conftest.$ac_objext'
18065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18066 (eval $ac_try) 2>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); }; }; then
18071 cat >conftest.$ac_ext <<_ACEOF
18072 #line $LINENO "configure"
18075 cat confdefs.h >>conftest.$ac_ext
18076 cat >>conftest.$ac_ext <<_ACEOF
18077 /* end confdefs.h. */
18079 class Foo { public: explicit Foo(int) {} };
18080 static void TakeFoo(const Foo& foo) { }
18093 rm -f conftest.$ac_objext
18094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18095 (eval $ac_compile) 2>&5
18097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098 (exit $ac_status); } &&
18099 { ac_try='test -s conftest.$ac_objext'
18100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18101 (eval $ac_try) 2>&5
18103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18104 (exit $ac_status); }; }; then
18107 echo "$as_me: failed program was:" >&5
18108 sed 's/^/| /' conftest.$ac_ext >&5
18113 rm -f conftest.$ac_objext conftest.$ac_ext
18116 echo "$as_me: failed program was:" >&5
18117 sed 's/^/| /' conftest.$ac_ext >&5
18122 rm -f conftest.$ac_objext conftest.$ac_ext
18125 ac_cpp='$CPP $CPPFLAGS'
18126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18132 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18133 echo "${ECHO_T}$wx_cv_explicit" >&6
18135 if test "$wx_cv_explicit" = "yes"; then
18136 cat >>confdefs.h <<\_ACEOF
18137 #define HAVE_EXPLICIT 1
18143 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18144 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18145 if test "${ac_cv_cxx_const_cast+set}" = set; then
18146 echo $ECHO_N "(cached) $ECHO_C" >&6
18151 ac_cpp='$CXXCPP $CPPFLAGS'
18152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18156 cat >conftest.$ac_ext <<_ACEOF
18157 #line $LINENO "configure"
18160 cat confdefs.h >>conftest.$ac_ext
18161 cat >>conftest.$ac_ext <<_ACEOF
18162 /* end confdefs.h. */
18167 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
18172 rm -f conftest.$ac_objext
18173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18174 (eval $ac_compile) 2>&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); } &&
18178 { ac_try='test -s conftest.$ac_objext'
18179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18180 (eval $ac_try) 2>&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); }; }; then
18184 ac_cv_cxx_const_cast=yes
18186 echo "$as_me: failed program was:" >&5
18187 sed 's/^/| /' conftest.$ac_ext >&5
18189 ac_cv_cxx_const_cast=no
18191 rm -f conftest.$ac_objext conftest.$ac_ext
18193 ac_cpp='$CPP $CPPFLAGS'
18194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18200 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
18201 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
18202 if test "$ac_cv_cxx_const_cast" = yes; then
18204 cat >>confdefs.h <<\_ACEOF
18205 #define HAVE_CONST_CAST
18210 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
18211 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
18212 if test "${ac_cv_cxx_static_cast+set}" = set; then
18213 echo $ECHO_N "(cached) $ECHO_C" >&6
18218 ac_cpp='$CXXCPP $CPPFLAGS'
18219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18223 cat >conftest.$ac_ext <<_ACEOF
18224 #line $LINENO "configure"
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230 #include <typeinfo>
18231 class Base { public : Base () {} virtual void f () = 0; };
18232 class Derived : public Base { public : Derived () {} virtual void f () {} };
18233 int g (Derived&) { return 0; }
18238 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
18243 rm -f conftest.$ac_objext
18244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18245 (eval $ac_compile) 2>&5
18247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18248 (exit $ac_status); } &&
18249 { ac_try='test -s conftest.$ac_objext'
18250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18251 (eval $ac_try) 2>&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); }; }; then
18255 ac_cv_cxx_static_cast=yes
18257 echo "$as_me: failed program was:" >&5
18258 sed 's/^/| /' conftest.$ac_ext >&5
18260 ac_cv_cxx_static_cast=no
18262 rm -f conftest.$ac_objext conftest.$ac_ext
18264 ac_cpp='$CPP $CPPFLAGS'
18265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18271 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
18272 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
18273 if test "$ac_cv_cxx_static_cast" = yes; then
18275 cat >>confdefs.h <<\_ACEOF
18276 #define HAVE_STATIC_CAST
18282 if test "$wxUSE_STL" = "yes"; then
18284 ac_cpp='$CXXCPP $CPPFLAGS'
18285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18290 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
18291 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
18292 cat >conftest.$ac_ext <<_ACEOF
18293 #line $LINENO "configure"
18296 cat confdefs.h >>conftest.$ac_ext
18297 cat >>conftest.$ac_ext <<_ACEOF
18298 /* end confdefs.h. */
18300 #include <functional>
18301 #include <algorithm>
18307 std::vector<int> moo;
18308 std::list<int> foo;
18309 std::vector<int>::iterator it =
18310 std::find_if(moo.begin(), moo.end(),
18311 std::bind2nd(std::less<int>(), 3));
18316 rm -f conftest.$ac_objext
18317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18318 (eval $ac_compile) 2>&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } &&
18322 { ac_try='test -s conftest.$ac_objext'
18323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324 (eval $ac_try) 2>&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); }; }; then
18328 echo "$as_me:$LINENO: result: yes" >&5
18329 echo "${ECHO_T}yes" >&6
18331 echo "$as_me: failed program was:" >&5
18332 sed 's/^/| /' conftest.$ac_ext >&5
18334 echo "$as_me:$LINENO: result: no" >&5
18335 echo "${ECHO_T}no" >&6
18336 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
18337 echo "$as_me: error: Basic STL functionality missing" >&2;}
18338 { (exit 1); exit 1; }; }
18340 rm -f conftest.$ac_objext conftest.$ac_ext
18342 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
18343 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
18344 cat >conftest.$ac_ext <<_ACEOF
18345 #line $LINENO "configure"
18348 cat confdefs.h >>conftest.$ac_ext
18349 cat >>conftest.$ac_ext <<_ACEOF
18350 /* end confdefs.h. */
18360 rm -f conftest.$ac_objext
18361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18362 (eval $ac_compile) 2>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); } &&
18366 { ac_try='test -s conftest.$ac_objext'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; }; then
18372 echo "$as_me:$LINENO: result: yes" >&5
18373 echo "${ECHO_T}yes" >&6
18374 cat >>confdefs.h <<\_ACEOF
18375 #define HAVE_STD_WSTRING 1
18379 echo "$as_me: failed program was:" >&5
18380 sed 's/^/| /' conftest.$ac_ext >&5
18382 echo "$as_me:$LINENO: result: no" >&5
18383 echo "${ECHO_T}no" >&6
18385 rm -f conftest.$ac_objext conftest.$ac_ext
18387 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
18388 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
18389 cat >conftest.$ac_ext <<_ACEOF
18390 #line $LINENO "configure"
18393 cat confdefs.h >>conftest.$ac_ext
18394 cat >>conftest.$ac_ext <<_ACEOF
18395 /* end confdefs.h. */
18400 std::string foo, bar;
18402 foo.compare(1, 1, bar);
18403 foo.compare(1, 1, bar, 1, 1);
18405 foo.compare(1, 1, "");
18406 foo.compare(1, 1, "", 2);
18411 rm -f conftest.$ac_objext
18412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18413 (eval $ac_compile) 2>&5
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); } &&
18417 { ac_try='test -s conftest.$ac_objext'
18418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18419 (eval $ac_try) 2>&5
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); }; }; then
18423 echo "$as_me:$LINENO: result: yes" >&5
18424 echo "${ECHO_T}yes" >&6
18425 cat >>confdefs.h <<\_ACEOF
18426 #define HAVE_STD_STRING_COMPARE 1
18430 echo "$as_me: failed program was:" >&5
18431 sed 's/^/| /' conftest.$ac_ext >&5
18433 echo "$as_me:$LINENO: result: no" >&5
18434 echo "${ECHO_T}no" >&6
18436 rm -f conftest.$ac_objext conftest.$ac_ext
18439 ac_cpp='$CPP $CPPFLAGS'
18440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18448 /usr/local/include \
18450 /usr/Motif-2.1/include \
18451 /usr/Motif-1.2/include \
18452 /usr/include/Motif1.2 \
18453 /opt/xpm/include/X11 \
18454 /opt/GBxpm/include/ \
18455 /opt/GBxpm/X11/include/ \
18458 /usr/openwin/include \
18462 /usr/X11R6/include \
18463 /usr/X11R6.4/include \
18464 /usr/X11R5/include \
18465 /usr/X11R4/include \
18467 /usr/include/X11R6 \
18468 /usr/include/X11R5 \
18469 /usr/include/X11R4 \
18471 /usr/local/X11R6/include \
18472 /usr/local/X11R5/include \
18473 /usr/local/X11R4/include \
18475 /usr/local/include/X11R6 \
18476 /usr/local/include/X11R5 \
18477 /usr/local/include/X11R4 \
18481 /usr/local/X11/include \
18482 /usr/local/include/X11 \
18484 /usr/X386/include \
18485 /usr/x386/include \
18486 /usr/XFree86/include/X11 \
18488 X:/XFree86/include \
18489 X:/XFree86/include/X11 \
18492 /usr/local/include/gtk \
18493 /usr/include/glib \
18494 /usr/local/include/glib \
18497 /usr/local/include/qt \
18499 /usr/local/arm/3.3.2/include \
18501 /usr/include/windows \
18502 /usr/include/wine \
18503 /usr/local/include/wine \
18505 /usr/unsupported/include \
18506 /usr/athena/include \
18507 /usr/local/x11r5/include \
18508 /usr/lpp/Xamples/include \
18510 /usr/openwin/share/include"
18512 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
18515 cat >confcache <<\_ACEOF
18516 # This file is a shell script that caches the results of configure
18517 # tests run on this system so they can be shared between configure
18518 # scripts and configure runs, see configure's option --config-cache.
18519 # It is not useful on other systems. If it contains results you don't
18520 # want to keep, you may remove or edit it.
18522 # config.status only pays attention to the cache file if you give it
18523 # the --recheck option to rerun configure.
18525 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18526 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18527 # following values.
18531 # The following way of writing the cache mishandles newlines in values,
18532 # but we know of no workaround that is simple, portable, and efficient.
18533 # So, don't put newlines in cache variables' values.
18534 # Ultrix sh set writes to stderr and can't be redirected directly,
18535 # and sets the high bit in the cache file unless we assign to the vars.
18538 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18540 # `set' does not quote correctly, so add quotes (double-quote
18541 # substitution turns \\\\ into \\, and sed turns \\ into \).
18544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18547 # `set' quotes correctly as required by POSIX, so do not add quotes.
18549 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18556 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18558 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18560 if diff $cache_file confcache >/dev/null 2>&1; then :; else
18561 if test -w $cache_file; then
18562 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18563 cat confcache >$cache_file
18565 echo "not updating unwritable cache $cache_file"
18570 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18571 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18572 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18573 if test "${wx_cv_lib_glibc21+set}" = set; then
18574 echo $ECHO_N "(cached) $ECHO_C" >&6
18577 cat >conftest.$ac_ext <<_ACEOF
18578 #line $LINENO "configure"
18581 cat confdefs.h >>conftest.$ac_ext
18582 cat >>conftest.$ac_ext <<_ACEOF
18583 /* end confdefs.h. */
18584 #include <features.h>
18589 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18590 #error not glibc2.1
18597 rm -f conftest.$ac_objext
18598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18599 (eval $ac_compile) 2>&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); } &&
18603 { ac_try='test -s conftest.$ac_objext'
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 (eval $ac_try) 2>&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; }; then
18610 wx_cv_lib_glibc21=yes
18613 echo "$as_me: failed program was:" >&5
18614 sed 's/^/| /' conftest.$ac_ext >&5
18617 wx_cv_lib_glibc21=no
18621 rm -f conftest.$ac_objext conftest.$ac_ext
18624 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18625 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18626 if test "$wx_cv_lib_glibc21" = "yes"; then
18627 cat >>confdefs.h <<\_ACEOF
18628 #define wxHAVE_GLIBC2 1
18634 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18635 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18636 cat >>confdefs.h <<\_ACEOF
18637 #define _GNU_SOURCE 1
18645 if test "$wxUSE_REGEX" != "no"; then
18646 cat >>confdefs.h <<\_ACEOF
18647 #define wxUSE_REGEX 1
18651 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
18652 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
18653 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
18654 wxUSE_REGEX=builtin
18657 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18658 if test "${ac_cv_header_regex_h+set}" = set; then
18659 echo "$as_me:$LINENO: checking for regex.h" >&5
18660 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18661 if test "${ac_cv_header_regex_h+set}" = set; then
18662 echo $ECHO_N "(cached) $ECHO_C" >&6
18664 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18665 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18667 # Is the header compilable?
18668 echo "$as_me:$LINENO: checking regex.h usability" >&5
18669 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18670 cat >conftest.$ac_ext <<_ACEOF
18671 #line $LINENO "configure"
18674 cat confdefs.h >>conftest.$ac_ext
18675 cat >>conftest.$ac_ext <<_ACEOF
18676 /* end confdefs.h. */
18677 $ac_includes_default
18680 rm -f conftest.$ac_objext
18681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18682 (eval $ac_compile) 2>&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } &&
18686 { ac_try='test -s conftest.$ac_objext'
18687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18688 (eval $ac_try) 2>&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); }; }; then
18692 ac_header_compiler=yes
18694 echo "$as_me: failed program was:" >&5
18695 sed 's/^/| /' conftest.$ac_ext >&5
18697 ac_header_compiler=no
18699 rm -f conftest.$ac_objext conftest.$ac_ext
18700 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18701 echo "${ECHO_T}$ac_header_compiler" >&6
18703 # Is the header present?
18704 echo "$as_me:$LINENO: checking regex.h presence" >&5
18705 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18706 cat >conftest.$ac_ext <<_ACEOF
18707 #line $LINENO "configure"
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18718 grep -v '^ *+' conftest.er1 >conftest.err
18720 cat conftest.err >&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } >/dev/null; then
18723 if test -s conftest.err; then
18724 ac_cpp_err=$ac_c_preproc_warn_flag
18731 if test -z "$ac_cpp_err"; then
18732 ac_header_preproc=yes
18734 echo "$as_me: failed program was:" >&5
18735 sed 's/^/| /' conftest.$ac_ext >&5
18737 ac_header_preproc=no
18739 rm -f conftest.err conftest.$ac_ext
18740 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18741 echo "${ECHO_T}$ac_header_preproc" >&6
18743 # So? What about this header?
18744 case $ac_header_compiler:$ac_header_preproc in
18746 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18747 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18748 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18749 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18752 ## ------------------------------------ ##
18753 ## Report this to bug-autoconf@gnu.org. ##
18754 ## ------------------------------------ ##
18757 sed "s/^/$as_me: WARNING: /" >&2
18760 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18761 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18762 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18763 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18764 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18765 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18768 ## ------------------------------------ ##
18769 ## Report this to bug-autoconf@gnu.org. ##
18770 ## ------------------------------------ ##
18773 sed "s/^/$as_me: WARNING: /" >&2
18776 echo "$as_me:$LINENO: checking for regex.h" >&5
18777 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18778 if test "${ac_cv_header_regex_h+set}" = set; then
18779 echo $ECHO_N "(cached) $ECHO_C" >&6
18781 ac_cv_header_regex_h=$ac_header_preproc
18783 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18784 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18787 if test $ac_cv_header_regex_h = yes; then
18789 for ac_func in regcomp
18791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18792 echo "$as_me:$LINENO: checking for $ac_func" >&5
18793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18794 if eval "test \"\${$as_ac_var+set}\" = set"; then
18795 echo $ECHO_N "(cached) $ECHO_C" >&6
18797 cat >conftest.$ac_ext <<_ACEOF
18798 #line $LINENO "configure"
18801 cat confdefs.h >>conftest.$ac_ext
18802 cat >>conftest.$ac_ext <<_ACEOF
18803 /* end confdefs.h. */
18804 /* System header to define __stub macros and hopefully few prototypes,
18805 which can conflict with char $ac_func (); below.
18806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18807 <limits.h> exists even on freestanding compilers. */
18809 # include <limits.h>
18811 # include <assert.h>
18813 /* Override any gcc2 internal prototype to avoid an error. */
18818 /* We use char because int might match the return type of a gcc2
18819 builtin and then its argument prototype would still apply. */
18821 /* The GNU C library defines this for functions which it implements
18822 to always fail with ENOSYS. Some functions are actually named
18823 something starting with __ and the normal name is an alias. */
18824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18827 char (*f) () = $ac_func;
18836 return f != $ac_func;
18841 rm -f conftest.$ac_objext conftest$ac_exeext
18842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18843 (eval $ac_link) 2>&5
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846 (exit $ac_status); } &&
18847 { ac_try='test -s conftest$ac_exeext'
18848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18849 (eval $ac_try) 2>&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); }; }; then
18853 eval "$as_ac_var=yes"
18855 echo "$as_me: failed program was:" >&5
18856 sed 's/^/| /' conftest.$ac_ext >&5
18858 eval "$as_ac_var=no"
18860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18864 if test `eval echo '${'$as_ac_var'}'` = yes; then
18865 cat >>confdefs.h <<_ACEOF
18866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18876 if test "x$ac_cv_func_regcomp" != "xyes"; then
18877 if test "$wxUSE_REGEX" = "sys" ; then
18878 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18879 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18880 { (exit 1); exit 1; }; }
18882 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18883 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18884 wxUSE_REGEX=builtin
18888 cat >>confdefs.h <<\_ACEOF
18889 #define WX_NO_REGEX_ADVANCED 1
18898 if test "$wxUSE_ZLIB" != "no" ; then
18899 cat >>confdefs.h <<\_ACEOF
18900 #define wxUSE_ZLIB 1
18904 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18905 if test "$USE_DARWIN" = 1; then
18906 system_zlib_h_ok="yes"
18908 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18909 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18910 if test "${ac_cv_header_zlib_h+set}" = set; then
18911 echo $ECHO_N "(cached) $ECHO_C" >&6
18913 if test "$cross_compiling" = yes; then
18914 unset ac_cv_header_zlib_h
18917 cat >conftest.$ac_ext <<_ACEOF
18918 #line $LINENO "configure"
18921 cat confdefs.h >>conftest.$ac_ext
18922 cat >>conftest.$ac_ext <<_ACEOF
18923 /* end confdefs.h. */
18930 FILE *f=fopen("conftestval", "w");
18933 ZLIB_VERSION[0] == '1' &&
18934 (ZLIB_VERSION[2] > '1' ||
18935 (ZLIB_VERSION[2] == '1' &&
18936 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18941 rm -f conftest$ac_exeext
18942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18943 (eval $ac_link) 2>&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18948 (eval $ac_try) 2>&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); }; }; then
18952 ac_cv_header_zlib_h=`cat conftestval`
18954 echo "$as_me: program exited with status $ac_status" >&5
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.$ac_ext >&5
18958 ( exit $ac_status )
18959 ac_cv_header_zlib_h=no
18961 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18965 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18966 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18967 if test "${ac_cv_header_zlib_h+set}" = set; then
18968 echo "$as_me:$LINENO: checking for zlib.h" >&5
18969 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18970 if test "${ac_cv_header_zlib_h+set}" = set; then
18971 echo $ECHO_N "(cached) $ECHO_C" >&6
18973 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18974 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18976 # Is the header compilable?
18977 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18978 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18979 cat >conftest.$ac_ext <<_ACEOF
18980 #line $LINENO "configure"
18983 cat confdefs.h >>conftest.$ac_ext
18984 cat >>conftest.$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986 $ac_includes_default
18989 rm -f conftest.$ac_objext
18990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18991 (eval $ac_compile) 2>&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); } &&
18995 { ac_try='test -s conftest.$ac_objext'
18996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18997 (eval $ac_try) 2>&5
18999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19000 (exit $ac_status); }; }; then
19001 ac_header_compiler=yes
19003 echo "$as_me: failed program was:" >&5
19004 sed 's/^/| /' conftest.$ac_ext >&5
19006 ac_header_compiler=no
19008 rm -f conftest.$ac_objext conftest.$ac_ext
19009 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19010 echo "${ECHO_T}$ac_header_compiler" >&6
19012 # Is the header present?
19013 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19014 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19015 cat >conftest.$ac_ext <<_ACEOF
19016 #line $LINENO "configure"
19019 cat confdefs.h >>conftest.$ac_ext
19020 cat >>conftest.$ac_ext <<_ACEOF
19021 /* end confdefs.h. */
19024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19025 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19027 grep -v '^ *+' conftest.er1 >conftest.err
19029 cat conftest.err >&5
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); } >/dev/null; then
19032 if test -s conftest.err; then
19033 ac_cpp_err=$ac_c_preproc_warn_flag
19040 if test -z "$ac_cpp_err"; then
19041 ac_header_preproc=yes
19043 echo "$as_me: failed program was:" >&5
19044 sed 's/^/| /' conftest.$ac_ext >&5
19046 ac_header_preproc=no
19048 rm -f conftest.err conftest.$ac_ext
19049 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19050 echo "${ECHO_T}$ac_header_preproc" >&6
19052 # So? What about this header?
19053 case $ac_header_compiler:$ac_header_preproc in
19055 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19056 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19057 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19058 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19061 ## ------------------------------------ ##
19062 ## Report this to bug-autoconf@gnu.org. ##
19063 ## ------------------------------------ ##
19066 sed "s/^/$as_me: WARNING: /" >&2
19069 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19070 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19071 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19072 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19073 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19074 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19077 ## ------------------------------------ ##
19078 ## Report this to bug-autoconf@gnu.org. ##
19079 ## ------------------------------------ ##
19082 sed "s/^/$as_me: WARNING: /" >&2
19085 echo "$as_me:$LINENO: checking for zlib.h" >&5
19086 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19087 if test "${ac_cv_header_zlib_h+set}" = set; then
19088 echo $ECHO_N "(cached) $ECHO_C" >&6
19090 ac_cv_header_zlib_h=$ac_header_preproc
19092 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19093 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19099 system_zlib_h_ok=$ac_cv_header_zlib_h
19102 if test "$system_zlib_h_ok" = "yes"; then
19103 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
19104 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
19105 if test "${ac_cv_lib_z_deflate+set}" = set; then
19106 echo $ECHO_N "(cached) $ECHO_C" >&6
19108 ac_check_lib_save_LIBS=$LIBS
19110 cat >conftest.$ac_ext <<_ACEOF
19111 #line $LINENO "configure"
19114 cat confdefs.h >>conftest.$ac_ext
19115 cat >>conftest.$ac_ext <<_ACEOF
19116 /* end confdefs.h. */
19118 /* Override any gcc2 internal prototype to avoid an error. */
19122 /* We use char because int might match the return type of a gcc2
19123 builtin and then its argument prototype would still apply. */
19133 rm -f conftest.$ac_objext conftest$ac_exeext
19134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19135 (eval $ac_link) 2>&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); } &&
19139 { ac_try='test -s conftest$ac_exeext'
19140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19141 (eval $ac_try) 2>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); }; }; then
19145 ac_cv_lib_z_deflate=yes
19147 echo "$as_me: failed program was:" >&5
19148 sed 's/^/| /' conftest.$ac_ext >&5
19150 ac_cv_lib_z_deflate=no
19152 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19153 LIBS=$ac_check_lib_save_LIBS
19155 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
19156 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
19157 if test $ac_cv_lib_z_deflate = yes; then
19163 if test "x$ZLIB_LINK" = "x" ; then
19164 if test "$wxUSE_ZLIB" = "sys" ; then
19165 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
19166 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
19167 { (exit 1); exit 1; }; }
19169 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
19170 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
19181 if test "$wxUSE_LIBPNG" != "no" ; then
19182 cat >>confdefs.h <<\_ACEOF
19183 #define wxUSE_LIBPNG 1
19187 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
19188 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
19189 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
19193 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
19194 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
19195 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
19196 wxUSE_LIBPNG=builtin
19199 if test "$wxUSE_MGL" != 1 ; then
19200 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
19201 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
19202 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
19203 if test "${ac_cv_header_png_h+set}" = set; then
19204 echo $ECHO_N "(cached) $ECHO_C" >&6
19206 if test "$cross_compiling" = yes; then
19207 unset ac_cv_header_png_h
19210 cat >conftest.$ac_ext <<_ACEOF
19211 #line $LINENO "configure"
19214 cat confdefs.h >>conftest.$ac_ext
19215 cat >>conftest.$ac_ext <<_ACEOF
19216 /* end confdefs.h. */
19223 FILE *f=fopen("conftestval", "w");
19226 PNG_LIBPNG_VER > 90 ? "yes" : "no");
19231 rm -f conftest$ac_exeext
19232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19233 (eval $ac_link) 2>&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19238 (eval $ac_try) 2>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); }; }; then
19242 ac_cv_header_png_h=`cat conftestval`
19244 echo "$as_me: program exited with status $ac_status" >&5
19245 echo "$as_me: failed program was:" >&5
19246 sed 's/^/| /' conftest.$ac_ext >&5
19248 ( exit $ac_status )
19249 ac_cv_header_png_h=no
19251 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19255 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19256 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19257 if test "${ac_cv_header_png_h+set}" = set; then
19258 echo "$as_me:$LINENO: checking for png.h" >&5
19259 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19260 if test "${ac_cv_header_png_h+set}" = set; then
19261 echo $ECHO_N "(cached) $ECHO_C" >&6
19263 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19264 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19266 # Is the header compilable?
19267 echo "$as_me:$LINENO: checking png.h usability" >&5
19268 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
19269 cat >conftest.$ac_ext <<_ACEOF
19270 #line $LINENO "configure"
19273 cat confdefs.h >>conftest.$ac_ext
19274 cat >>conftest.$ac_ext <<_ACEOF
19275 /* end confdefs.h. */
19276 $ac_includes_default
19279 rm -f conftest.$ac_objext
19280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19281 (eval $ac_compile) 2>&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); } &&
19285 { ac_try='test -s conftest.$ac_objext'
19286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19287 (eval $ac_try) 2>&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); }; }; then
19291 ac_header_compiler=yes
19293 echo "$as_me: failed program was:" >&5
19294 sed 's/^/| /' conftest.$ac_ext >&5
19296 ac_header_compiler=no
19298 rm -f conftest.$ac_objext conftest.$ac_ext
19299 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19300 echo "${ECHO_T}$ac_header_compiler" >&6
19302 # Is the header present?
19303 echo "$as_me:$LINENO: checking png.h presence" >&5
19304 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
19305 cat >conftest.$ac_ext <<_ACEOF
19306 #line $LINENO "configure"
19309 cat confdefs.h >>conftest.$ac_ext
19310 cat >>conftest.$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19317 grep -v '^ *+' conftest.er1 >conftest.err
19319 cat conftest.err >&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } >/dev/null; then
19322 if test -s conftest.err; then
19323 ac_cpp_err=$ac_c_preproc_warn_flag
19330 if test -z "$ac_cpp_err"; then
19331 ac_header_preproc=yes
19333 echo "$as_me: failed program was:" >&5
19334 sed 's/^/| /' conftest.$ac_ext >&5
19336 ac_header_preproc=no
19338 rm -f conftest.err conftest.$ac_ext
19339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19340 echo "${ECHO_T}$ac_header_preproc" >&6
19342 # So? What about this header?
19343 case $ac_header_compiler:$ac_header_preproc in
19345 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
19346 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19347 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19348 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19351 ## ------------------------------------ ##
19352 ## Report this to bug-autoconf@gnu.org. ##
19353 ## ------------------------------------ ##
19356 sed "s/^/$as_me: WARNING: /" >&2
19359 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
19360 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
19361 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
19362 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
19363 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19364 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19367 ## ------------------------------------ ##
19368 ## Report this to bug-autoconf@gnu.org. ##
19369 ## ------------------------------------ ##
19372 sed "s/^/$as_me: WARNING: /" >&2
19375 echo "$as_me:$LINENO: checking for png.h" >&5
19376 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19377 if test "${ac_cv_header_png_h+set}" = set; then
19378 echo $ECHO_N "(cached) $ECHO_C" >&6
19380 ac_cv_header_png_h=$ac_header_preproc
19382 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19383 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19389 if test "$ac_cv_header_png_h" = "yes"; then
19390 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
19391 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
19392 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19395 ac_check_lib_save_LIBS=$LIBS
19396 LIBS="-lpng -lz -lm $LIBS"
19397 cat >conftest.$ac_ext <<_ACEOF
19398 #line $LINENO "configure"
19401 cat confdefs.h >>conftest.$ac_ext
19402 cat >>conftest.$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19405 /* Override any gcc2 internal prototype to avoid an error. */
19409 /* We use char because int might match the return type of a gcc2
19410 builtin and then its argument prototype would still apply. */
19411 char png_check_sig ();
19420 rm -f conftest.$ac_objext conftest$ac_exeext
19421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19422 (eval $ac_link) 2>&5
19424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425 (exit $ac_status); } &&
19426 { ac_try='test -s conftest$ac_exeext'
19427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19428 (eval $ac_try) 2>&5
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); }; }; then
19432 ac_cv_lib_png_png_check_sig=yes
19434 echo "$as_me: failed program was:" >&5
19435 sed 's/^/| /' conftest.$ac_ext >&5
19437 ac_cv_lib_png_png_check_sig=no
19439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19440 LIBS=$ac_check_lib_save_LIBS
19442 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
19443 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
19444 if test $ac_cv_lib_png_png_check_sig = yes; then
19450 if test "x$PNG_LINK" = "x" ; then
19451 if test "$wxUSE_LIBPNG" = "sys" ; then
19452 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
19453 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
19454 { (exit 1); exit 1; }; }
19456 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
19457 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
19458 wxUSE_LIBPNG=builtin
19466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
19471 if test "$wxUSE_LIBJPEG" != "no" ; then
19472 cat >>confdefs.h <<\_ACEOF
19473 #define wxUSE_LIBJPEG 1
19477 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
19478 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
19479 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
19483 if test "$wxUSE_MGL" != 1 ; then
19484 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
19485 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
19486 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
19487 if test "${ac_cv_header_jpeglib_h+set}" = set; then
19488 echo $ECHO_N "(cached) $ECHO_C" >&6
19490 cat >conftest.$ac_ext <<_ACEOF
19491 #line $LINENO "configure"
19494 cat confdefs.h >>conftest.$ac_ext
19495 cat >>conftest.$ac_ext <<_ACEOF
19496 /* end confdefs.h. */
19498 #undef HAVE_STDLIB_H
19500 #include <jpeglib.h>
19511 rm -f conftest.$ac_objext
19512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19513 (eval $ac_compile) 2>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); } &&
19517 { ac_try='test -s conftest.$ac_objext'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; }; then
19523 ac_cv_header_jpeglib_h=yes
19525 echo "$as_me: failed program was:" >&5
19526 sed 's/^/| /' conftest.$ac_ext >&5
19528 ac_cv_header_jpeglib_h=no
19531 rm -f conftest.$ac_objext conftest.$ac_ext
19535 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
19536 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
19538 if test "$ac_cv_header_jpeglib_h" = "yes"; then
19539 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
19540 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
19541 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
19542 echo $ECHO_N "(cached) $ECHO_C" >&6
19544 ac_check_lib_save_LIBS=$LIBS
19545 LIBS="-ljpeg $LIBS"
19546 cat >conftest.$ac_ext <<_ACEOF
19547 #line $LINENO "configure"
19550 cat confdefs.h >>conftest.$ac_ext
19551 cat >>conftest.$ac_ext <<_ACEOF
19552 /* end confdefs.h. */
19554 /* Override any gcc2 internal prototype to avoid an error. */
19558 /* We use char because int might match the return type of a gcc2
19559 builtin and then its argument prototype would still apply. */
19560 char jpeg_read_header ();
19564 jpeg_read_header ();
19569 rm -f conftest.$ac_objext conftest$ac_exeext
19570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19571 (eval $ac_link) 2>&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); } &&
19575 { ac_try='test -s conftest$ac_exeext'
19576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577 (eval $ac_try) 2>&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); }; }; then
19581 ac_cv_lib_jpeg_jpeg_read_header=yes
19583 echo "$as_me: failed program was:" >&5
19584 sed 's/^/| /' conftest.$ac_ext >&5
19586 ac_cv_lib_jpeg_jpeg_read_header=no
19588 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19589 LIBS=$ac_check_lib_save_LIBS
19591 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19592 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19593 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19594 JPEG_LINK=" -ljpeg"
19599 if test "x$JPEG_LINK" = "x" ; then
19600 if test "$wxUSE_LIBJPEG" = "sys" ; then
19601 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19602 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19603 { (exit 1); exit 1; }; }
19605 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19606 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19607 wxUSE_LIBJPEG=builtin
19618 TIFF_PREREQ_LINKS=-lm
19619 if test "$wxUSE_LIBTIFF" != "no" ; then
19620 cat >>confdefs.h <<\_ACEOF
19621 #define wxUSE_LIBTIFF 1
19625 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19626 if test "$wxUSE_LIBJPEG" = "sys"; then
19627 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19629 if test "$wxUSE_ZLIB" = "sys"; then
19630 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19632 if test "${ac_cv_header_tiffio_h+set}" = set; then
19633 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19634 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19635 if test "${ac_cv_header_tiffio_h+set}" = set; then
19636 echo $ECHO_N "(cached) $ECHO_C" >&6
19638 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19639 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19641 # Is the header compilable?
19642 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19643 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19644 cat >conftest.$ac_ext <<_ACEOF
19645 #line $LINENO "configure"
19648 cat confdefs.h >>conftest.$ac_ext
19649 cat >>conftest.$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19651 $ac_includes_default
19652 #include <tiffio.h>
19654 rm -f conftest.$ac_objext
19655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19656 (eval $ac_compile) 2>&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } &&
19660 { ac_try='test -s conftest.$ac_objext'
19661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19662 (eval $ac_try) 2>&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); }; }; then
19666 ac_header_compiler=yes
19668 echo "$as_me: failed program was:" >&5
19669 sed 's/^/| /' conftest.$ac_ext >&5
19671 ac_header_compiler=no
19673 rm -f conftest.$ac_objext conftest.$ac_ext
19674 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19675 echo "${ECHO_T}$ac_header_compiler" >&6
19677 # Is the header present?
19678 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19679 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19680 cat >conftest.$ac_ext <<_ACEOF
19681 #line $LINENO "configure"
19684 cat confdefs.h >>conftest.$ac_ext
19685 cat >>conftest.$ac_ext <<_ACEOF
19686 /* end confdefs.h. */
19687 #include <tiffio.h>
19689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19692 grep -v '^ *+' conftest.er1 >conftest.err
19694 cat conftest.err >&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); } >/dev/null; then
19697 if test -s conftest.err; then
19698 ac_cpp_err=$ac_c_preproc_warn_flag
19705 if test -z "$ac_cpp_err"; then
19706 ac_header_preproc=yes
19708 echo "$as_me: failed program was:" >&5
19709 sed 's/^/| /' conftest.$ac_ext >&5
19711 ac_header_preproc=no
19713 rm -f conftest.err conftest.$ac_ext
19714 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19715 echo "${ECHO_T}$ac_header_preproc" >&6
19717 # So? What about this header?
19718 case $ac_header_compiler:$ac_header_preproc in
19720 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19721 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19722 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19723 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19726 ## ------------------------------------ ##
19727 ## Report this to bug-autoconf@gnu.org. ##
19728 ## ------------------------------------ ##
19731 sed "s/^/$as_me: WARNING: /" >&2
19734 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19735 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19736 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19737 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19738 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19739 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19742 ## ------------------------------------ ##
19743 ## Report this to bug-autoconf@gnu.org. ##
19744 ## ------------------------------------ ##
19747 sed "s/^/$as_me: WARNING: /" >&2
19750 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19751 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19752 if test "${ac_cv_header_tiffio_h+set}" = set; then
19753 echo $ECHO_N "(cached) $ECHO_C" >&6
19755 ac_cv_header_tiffio_h=$ac_header_preproc
19757 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19758 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19761 if test $ac_cv_header_tiffio_h = yes; then
19763 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19764 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19765 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19766 echo $ECHO_N "(cached) $ECHO_C" >&6
19768 ac_check_lib_save_LIBS=$LIBS
19769 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19770 cat >conftest.$ac_ext <<_ACEOF
19771 #line $LINENO "configure"
19774 cat confdefs.h >>conftest.$ac_ext
19775 cat >>conftest.$ac_ext <<_ACEOF
19776 /* end confdefs.h. */
19778 /* Override any gcc2 internal prototype to avoid an error. */
19782 /* We use char because int might match the return type of a gcc2
19783 builtin and then its argument prototype would still apply. */
19793 rm -f conftest.$ac_objext conftest$ac_exeext
19794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19795 (eval $ac_link) 2>&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } &&
19799 { ac_try='test -s conftest$ac_exeext'
19800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19801 (eval $ac_try) 2>&5
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); }; }; then
19805 ac_cv_lib_tiff_TIFFError=yes
19807 echo "$as_me: failed program was:" >&5
19808 sed 's/^/| /' conftest.$ac_ext >&5
19810 ac_cv_lib_tiff_TIFFError=no
19812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19813 LIBS=$ac_check_lib_save_LIBS
19815 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19816 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19817 if test $ac_cv_lib_tiff_TIFFError = yes; then
19818 TIFF_LINK=" -ltiff"
19827 if test "x$TIFF_LINK" = "x" ; then
19828 if test "$wxUSE_LIBTIFF" = "sys" ; then
19829 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19830 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19831 { (exit 1); exit 1; }; }
19833 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19834 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19835 wxUSE_LIBTIFF=builtin
19844 if test "$wxUSE_EXPAT" != "no"; then
19846 cat >>confdefs.h <<\_ACEOF
19847 #define wxUSE_EXPAT 1
19850 cat >>confdefs.h <<\_ACEOF
19851 #define wxUSE_XML 1
19855 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19856 if test "${ac_cv_header_expat_h+set}" = set; then
19857 echo "$as_me:$LINENO: checking for expat.h" >&5
19858 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19859 if test "${ac_cv_header_expat_h+set}" = set; then
19860 echo $ECHO_N "(cached) $ECHO_C" >&6
19862 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19863 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19865 # Is the header compilable?
19866 echo "$as_me:$LINENO: checking expat.h usability" >&5
19867 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19868 cat >conftest.$ac_ext <<_ACEOF
19869 #line $LINENO "configure"
19872 cat confdefs.h >>conftest.$ac_ext
19873 cat >>conftest.$ac_ext <<_ACEOF
19874 /* end confdefs.h. */
19875 $ac_includes_default
19878 rm -f conftest.$ac_objext
19879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19880 (eval $ac_compile) 2>&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); } &&
19884 { ac_try='test -s conftest.$ac_objext'
19885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19886 (eval $ac_try) 2>&5
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); }; }; then
19890 ac_header_compiler=yes
19892 echo "$as_me: failed program was:" >&5
19893 sed 's/^/| /' conftest.$ac_ext >&5
19895 ac_header_compiler=no
19897 rm -f conftest.$ac_objext conftest.$ac_ext
19898 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19899 echo "${ECHO_T}$ac_header_compiler" >&6
19901 # Is the header present?
19902 echo "$as_me:$LINENO: checking expat.h presence" >&5
19903 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19904 cat >conftest.$ac_ext <<_ACEOF
19905 #line $LINENO "configure"
19908 cat confdefs.h >>conftest.$ac_ext
19909 cat >>conftest.$ac_ext <<_ACEOF
19910 /* end confdefs.h. */
19913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19914 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19916 grep -v '^ *+' conftest.er1 >conftest.err
19918 cat conftest.err >&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); } >/dev/null; then
19921 if test -s conftest.err; then
19922 ac_cpp_err=$ac_c_preproc_warn_flag
19929 if test -z "$ac_cpp_err"; then
19930 ac_header_preproc=yes
19932 echo "$as_me: failed program was:" >&5
19933 sed 's/^/| /' conftest.$ac_ext >&5
19935 ac_header_preproc=no
19937 rm -f conftest.err conftest.$ac_ext
19938 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19939 echo "${ECHO_T}$ac_header_preproc" >&6
19941 # So? What about this header?
19942 case $ac_header_compiler:$ac_header_preproc in
19944 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19945 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19946 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19947 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19950 ## ------------------------------------ ##
19951 ## Report this to bug-autoconf@gnu.org. ##
19952 ## ------------------------------------ ##
19955 sed "s/^/$as_me: WARNING: /" >&2
19958 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19959 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19960 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19961 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19962 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19963 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19966 ## ------------------------------------ ##
19967 ## Report this to bug-autoconf@gnu.org. ##
19968 ## ------------------------------------ ##
19971 sed "s/^/$as_me: WARNING: /" >&2
19974 echo "$as_me:$LINENO: checking for expat.h" >&5
19975 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19976 if test "${ac_cv_header_expat_h+set}" = set; then
19977 echo $ECHO_N "(cached) $ECHO_C" >&6
19979 ac_cv_header_expat_h=$ac_header_preproc
19981 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19982 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19985 if test $ac_cv_header_expat_h = yes; then
19990 if test "x$found_expat_h" = "x1"; then
19991 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19992 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19993 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19994 echo $ECHO_N "(cached) $ECHO_C" >&6
20000 ac_cpp='$CXXCPP $CPPFLAGS'
20001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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. */
20021 rm -f conftest.$ac_objext
20022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20023 (eval $ac_compile) 2>&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } &&
20027 { ac_try='test -s conftest.$ac_objext'
20028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20029 (eval $ac_try) 2>&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); }; }; then
20033 wx_cv_expat_is_not_broken=yes
20035 echo "$as_me: failed program was:" >&5
20036 sed 's/^/| /' conftest.$ac_ext >&5
20038 wx_cv_expat_is_not_broken=no
20041 rm -f conftest.$ac_objext conftest.$ac_ext
20043 ac_cpp='$CPP $CPPFLAGS'
20044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20051 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
20052 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
20053 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
20054 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
20055 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
20056 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
20057 echo $ECHO_N "(cached) $ECHO_C" >&6
20059 ac_check_lib_save_LIBS=$LIBS
20060 LIBS="-lexpat $LIBS"
20061 cat >conftest.$ac_ext <<_ACEOF
20062 #line $LINENO "configure"
20065 cat confdefs.h >>conftest.$ac_ext
20066 cat >>conftest.$ac_ext <<_ACEOF
20067 /* end confdefs.h. */
20069 /* Override any gcc2 internal prototype to avoid an error. */
20073 /* We use char because int might match the return type of a gcc2
20074 builtin and then its argument prototype would still apply. */
20075 char XML_ParserCreate ();
20079 XML_ParserCreate ();
20084 rm -f conftest.$ac_objext conftest$ac_exeext
20085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20086 (eval $ac_link) 2>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); } &&
20090 { ac_try='test -s conftest$ac_exeext'
20091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20092 (eval $ac_try) 2>&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); }; }; then
20096 ac_cv_lib_expat_XML_ParserCreate=yes
20098 echo "$as_me: failed program was:" >&5
20099 sed 's/^/| /' conftest.$ac_ext >&5
20101 ac_cv_lib_expat_XML_ParserCreate=no
20103 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20104 LIBS=$ac_check_lib_save_LIBS
20106 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
20107 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
20108 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
20109 EXPAT_LINK=" -lexpat"
20114 if test "x$EXPAT_LINK" = "x" ; then
20115 if test "$wxUSE_EXPAT" = "sys" ; then
20116 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
20117 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
20118 { (exit 1); exit 1; }; }
20120 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
20121 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
20122 wxUSE_EXPAT=builtin
20128 if test "$wxUSE_EXPAT" = "builtin" ; then
20131 subdirs="$subdirs src/expat"
20138 if test "$wxUSE_LIBMSPACK" != "no"; then
20140 if test "${ac_cv_header_mspack_h+set}" = set; then
20141 echo "$as_me:$LINENO: checking for mspack.h" >&5
20142 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20143 if test "${ac_cv_header_mspack_h+set}" = set; then
20144 echo $ECHO_N "(cached) $ECHO_C" >&6
20146 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20147 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20149 # Is the header compilable?
20150 echo "$as_me:$LINENO: checking mspack.h usability" >&5
20151 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
20152 cat >conftest.$ac_ext <<_ACEOF
20153 #line $LINENO "configure"
20156 cat confdefs.h >>conftest.$ac_ext
20157 cat >>conftest.$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20159 $ac_includes_default
20160 #include <mspack.h>
20162 rm -f conftest.$ac_objext
20163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20164 (eval $ac_compile) 2>&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } &&
20168 { ac_try='test -s conftest.$ac_objext'
20169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20170 (eval $ac_try) 2>&5
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); }; }; then
20174 ac_header_compiler=yes
20176 echo "$as_me: failed program was:" >&5
20177 sed 's/^/| /' conftest.$ac_ext >&5
20179 ac_header_compiler=no
20181 rm -f conftest.$ac_objext conftest.$ac_ext
20182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20183 echo "${ECHO_T}$ac_header_compiler" >&6
20185 # Is the header present?
20186 echo "$as_me:$LINENO: checking mspack.h presence" >&5
20187 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
20188 cat >conftest.$ac_ext <<_ACEOF
20189 #line $LINENO "configure"
20192 cat confdefs.h >>conftest.$ac_ext
20193 cat >>conftest.$ac_ext <<_ACEOF
20194 /* end confdefs.h. */
20195 #include <mspack.h>
20197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20198 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20200 grep -v '^ *+' conftest.er1 >conftest.err
20202 cat conftest.err >&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } >/dev/null; then
20205 if test -s conftest.err; then
20206 ac_cpp_err=$ac_c_preproc_warn_flag
20213 if test -z "$ac_cpp_err"; then
20214 ac_header_preproc=yes
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20219 ac_header_preproc=no
20221 rm -f conftest.err conftest.$ac_ext
20222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20223 echo "${ECHO_T}$ac_header_preproc" >&6
20225 # So? What about this header?
20226 case $ac_header_compiler:$ac_header_preproc in
20228 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
20229 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20230 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20231 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20234 ## ------------------------------------ ##
20235 ## Report this to bug-autoconf@gnu.org. ##
20236 ## ------------------------------------ ##
20239 sed "s/^/$as_me: WARNING: /" >&2
20242 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
20243 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
20244 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
20245 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
20246 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20247 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20250 ## ------------------------------------ ##
20251 ## Report this to bug-autoconf@gnu.org. ##
20252 ## ------------------------------------ ##
20255 sed "s/^/$as_me: WARNING: /" >&2
20258 echo "$as_me:$LINENO: checking for mspack.h" >&5
20259 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20260 if test "${ac_cv_header_mspack_h+set}" = set; then
20261 echo $ECHO_N "(cached) $ECHO_C" >&6
20263 ac_cv_header_mspack_h=$ac_header_preproc
20265 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20266 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20269 if test $ac_cv_header_mspack_h = yes; then
20274 if test "x$found_mspack_h" = "x1"; then
20275 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
20276 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
20277 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
20278 echo $ECHO_N "(cached) $ECHO_C" >&6
20280 ac_check_lib_save_LIBS=$LIBS
20281 LIBS="-lmspack $LIBS"
20282 cat >conftest.$ac_ext <<_ACEOF
20283 #line $LINENO "configure"
20286 cat confdefs.h >>conftest.$ac_ext
20287 cat >>conftest.$ac_ext <<_ACEOF
20288 /* end confdefs.h. */
20290 /* Override any gcc2 internal prototype to avoid an error. */
20294 /* We use char because int might match the return type of a gcc2
20295 builtin and then its argument prototype would still apply. */
20296 char mspack_create_chm_decompressor ();
20300 mspack_create_chm_decompressor ();
20305 rm -f conftest.$ac_objext conftest$ac_exeext
20306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20307 (eval $ac_link) 2>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); } &&
20311 { ac_try='test -s conftest$ac_exeext'
20312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20313 (eval $ac_try) 2>&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); }; }; then
20317 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
20319 echo "$as_me: failed program was:" >&5
20320 sed 's/^/| /' conftest.$ac_ext >&5
20322 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
20324 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20325 LIBS=$ac_check_lib_save_LIBS
20327 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
20328 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
20329 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
20330 MSPACK_LINK=" -lmspack"
20334 if test "x$MSPACK_LINK" = "x" ; then
20337 cat >>confdefs.h <<\_ACEOF
20338 #define wxUSE_LIBMSPACK 1
20353 if test "$USE_WIN32" = 1 ; then
20355 for ac_header in w32api.h
20357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20359 echo "$as_me:$LINENO: checking for $ac_header" >&5
20360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20362 echo $ECHO_N "(cached) $ECHO_C" >&6
20364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20367 # Is the header compilable?
20368 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20369 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20370 cat >conftest.$ac_ext <<_ACEOF
20371 #line $LINENO "configure"
20374 cat confdefs.h >>conftest.$ac_ext
20375 cat >>conftest.$ac_ext <<_ACEOF
20376 /* end confdefs.h. */
20377 $ac_includes_default
20378 #include <$ac_header>
20380 rm -f conftest.$ac_objext
20381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20382 (eval $ac_compile) 2>&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); } &&
20386 { ac_try='test -s conftest.$ac_objext'
20387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388 (eval $ac_try) 2>&5
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; }; then
20392 ac_header_compiler=yes
20394 echo "$as_me: failed program was:" >&5
20395 sed 's/^/| /' conftest.$ac_ext >&5
20397 ac_header_compiler=no
20399 rm -f conftest.$ac_objext conftest.$ac_ext
20400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20401 echo "${ECHO_T}$ac_header_compiler" >&6
20403 # Is the header present?
20404 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20406 cat >conftest.$ac_ext <<_ACEOF
20407 #line $LINENO "configure"
20410 cat confdefs.h >>conftest.$ac_ext
20411 cat >>conftest.$ac_ext <<_ACEOF
20412 /* end confdefs.h. */
20413 #include <$ac_header>
20415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20416 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20418 grep -v '^ *+' conftest.er1 >conftest.err
20420 cat conftest.err >&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); } >/dev/null; then
20423 if test -s conftest.err; then
20424 ac_cpp_err=$ac_c_preproc_warn_flag
20431 if test -z "$ac_cpp_err"; then
20432 ac_header_preproc=yes
20434 echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.$ac_ext >&5
20437 ac_header_preproc=no
20439 rm -f conftest.err conftest.$ac_ext
20440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20441 echo "${ECHO_T}$ac_header_preproc" >&6
20443 # So? What about this header?
20444 case $ac_header_compiler:$ac_header_preproc in
20446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20452 ## ------------------------------------ ##
20453 ## Report this to bug-autoconf@gnu.org. ##
20454 ## ------------------------------------ ##
20457 sed "s/^/$as_me: WARNING: /" >&2
20460 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20461 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20462 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20463 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20468 ## ------------------------------------ ##
20469 ## Report this to bug-autoconf@gnu.org. ##
20470 ## ------------------------------------ ##
20473 sed "s/^/$as_me: WARNING: /" >&2
20476 echo "$as_me:$LINENO: checking for $ac_header" >&5
20477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20479 echo $ECHO_N "(cached) $ECHO_C" >&6
20481 eval "$as_ac_Header=$ac_header_preproc"
20483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20488 cat >>confdefs.h <<_ACEOF
20489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20496 if test "${ac_cv_header_windows_h+set}" = set; then
20497 echo "$as_me:$LINENO: checking for windows.h" >&5
20498 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20499 if test "${ac_cv_header_windows_h+set}" = set; then
20500 echo $ECHO_N "(cached) $ECHO_C" >&6
20502 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20503 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20505 # Is the header compilable?
20506 echo "$as_me:$LINENO: checking windows.h usability" >&5
20507 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
20508 cat >conftest.$ac_ext <<_ACEOF
20509 #line $LINENO "configure"
20512 cat confdefs.h >>conftest.$ac_ext
20513 cat >>conftest.$ac_ext <<_ACEOF
20514 /* end confdefs.h. */
20515 $ac_includes_default
20516 #include <windows.h>
20518 rm -f conftest.$ac_objext
20519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20520 (eval $ac_compile) 2>&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } &&
20524 { ac_try='test -s conftest.$ac_objext'
20525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20526 (eval $ac_try) 2>&5
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); }; }; then
20530 ac_header_compiler=yes
20532 echo "$as_me: failed program was:" >&5
20533 sed 's/^/| /' conftest.$ac_ext >&5
20535 ac_header_compiler=no
20537 rm -f conftest.$ac_objext conftest.$ac_ext
20538 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20539 echo "${ECHO_T}$ac_header_compiler" >&6
20541 # Is the header present?
20542 echo "$as_me:$LINENO: checking windows.h presence" >&5
20543 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
20544 cat >conftest.$ac_ext <<_ACEOF
20545 #line $LINENO "configure"
20548 cat confdefs.h >>conftest.$ac_ext
20549 cat >>conftest.$ac_ext <<_ACEOF
20550 /* end confdefs.h. */
20551 #include <windows.h>
20553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20554 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20556 grep -v '^ *+' conftest.er1 >conftest.err
20558 cat conftest.err >&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } >/dev/null; then
20561 if test -s conftest.err; then
20562 ac_cpp_err=$ac_c_preproc_warn_flag
20569 if test -z "$ac_cpp_err"; then
20570 ac_header_preproc=yes
20572 echo "$as_me: failed program was:" >&5
20573 sed 's/^/| /' conftest.$ac_ext >&5
20575 ac_header_preproc=no
20577 rm -f conftest.err conftest.$ac_ext
20578 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20579 echo "${ECHO_T}$ac_header_preproc" >&6
20581 # So? What about this header?
20582 case $ac_header_compiler:$ac_header_preproc in
20584 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20585 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20586 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20587 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20590 ## ------------------------------------ ##
20591 ## Report this to bug-autoconf@gnu.org. ##
20592 ## ------------------------------------ ##
20595 sed "s/^/$as_me: WARNING: /" >&2
20598 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
20599 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
20600 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
20601 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
20602 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20603 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20606 ## ------------------------------------ ##
20607 ## Report this to bug-autoconf@gnu.org. ##
20608 ## ------------------------------------ ##
20611 sed "s/^/$as_me: WARNING: /" >&2
20614 echo "$as_me:$LINENO: checking for windows.h" >&5
20615 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20616 if test "${ac_cv_header_windows_h+set}" = set; then
20617 echo $ECHO_N "(cached) $ECHO_C" >&6
20619 ac_cv_header_windows_h=$ac_header_preproc
20621 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20622 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20625 if test $ac_cv_header_windows_h = yes; then
20629 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20630 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20631 { (exit 1); exit 1; }; }
20637 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20639 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20640 LIBS="$LIBS -loleacc"
20645 LIBS="$LIBS -lkernel32 -luser32"
20646 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
20649 if test "$wxUSE_ODBC" = "sys" ; then
20652 if test "$wxUSE_ODBC" = "yes" ; then
20653 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
20654 cat >>confdefs.h <<\_ACEOF
20655 #define wxUSE_ODBC 1
20660 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20661 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
20663 WIN32INSTALL=win32install
20666 if test "$wxUSE_GUI" = "yes"; then
20676 if test "$wxUSE_MSW" = 1 ; then
20682 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20686 if test "$wxUSE_GTK" = 1; then
20687 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20688 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20690 gtk_version_cached=1
20691 if test "${wx_cv_lib_gtk+set}" = set; then
20692 echo $ECHO_N "(cached) $ECHO_C" >&6
20695 gtk_version_cached=0
20696 echo "$as_me:$LINENO: result: " >&5
20697 echo "${ECHO_T}" >&6
20700 if test "$wxUSE_THREADS" = "yes"; then
20701 GTK_MODULES=gthread
20705 if test "x$wxUSE_GTK2" = "xyes"; then
20706 # Check whether --enable-gtktest or --disable-gtktest was given.
20707 if test "${enable_gtktest+set}" = set; then
20708 enableval="$enable_gtktest"
20714 pkg_config_args=gtk+-2.0
20715 for module in . $GTK_MODULES
20719 pkg_config_args="$pkg_config_args gthread-2.0"
20726 # Extract the first word of "pkg-config", so it can be a program name with args.
20727 set dummy pkg-config; ac_word=$2
20728 echo "$as_me:$LINENO: checking for $ac_word" >&5
20729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20730 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20731 echo $ECHO_N "(cached) $ECHO_C" >&6
20733 case $PKG_CONFIG in
20735 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20739 for as_dir in $PATH
20742 test -z "$as_dir" && as_dir=.
20743 for ac_exec_ext in '' $ac_executable_extensions; do
20744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20745 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20752 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20756 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20758 if test -n "$PKG_CONFIG"; then
20759 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20760 echo "${ECHO_T}$PKG_CONFIG" >&6
20762 echo "$as_me:$LINENO: result: no" >&5
20763 echo "${ECHO_T}no" >&6
20767 if test x$PKG_CONFIG != xno ; then
20768 if pkg-config --atleast-pkgconfig-version 0.7 ; then
20771 echo *** pkg-config too old; version 0.7 or better required.
20779 min_gtk_version=2.0.0
20780 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20781 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20783 if test x$PKG_CONFIG != xno ; then
20784 ## don't try to run the test against uninstalled libtool libs
20785 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20786 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20790 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20797 if test x"$no_gtk" = x ; then
20798 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
20799 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
20800 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20801 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20802 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20803 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20804 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20805 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20806 if test "x$enable_gtktest" = "xyes" ; then
20807 ac_save_CFLAGS="$CFLAGS"
20808 ac_save_LIBS="$LIBS"
20809 CFLAGS="$CFLAGS $GTK_CFLAGS"
20810 LIBS="$GTK_LIBS $LIBS"
20812 if test "$cross_compiling" = yes; then
20813 echo $ac_n "cross compiling; assumed OK... $ac_c"
20815 cat >conftest.$ac_ext <<_ACEOF
20816 #line $LINENO "configure"
20819 cat confdefs.h >>conftest.$ac_ext
20820 cat >>conftest.$ac_ext <<_ACEOF
20821 /* end confdefs.h. */
20823 #include <gtk/gtk.h>
20825 #include <stdlib.h>
20830 int major, minor, micro;
20833 system ("touch conf.gtktest");
20835 /* HP/UX 9 (%@#!) writes to sscanf strings */
20836 tmp_version = g_strdup("$min_gtk_version");
20837 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20838 printf("%s, bad version string\n", "$min_gtk_version");
20842 if ((gtk_major_version != $gtk_config_major_version) ||
20843 (gtk_minor_version != $gtk_config_minor_version) ||
20844 (gtk_micro_version != $gtk_config_micro_version))
20846 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20847 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20848 gtk_major_version, gtk_minor_version, gtk_micro_version);
20849 printf ("*** was found! If pkg-config was correct, then it is best\n");
20850 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20851 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20852 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20853 printf("*** required on your system.\n");
20854 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20855 printf("*** to point to the correct configuration files\n");
20857 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20858 (gtk_minor_version != GTK_MINOR_VERSION) ||
20859 (gtk_micro_version != GTK_MICRO_VERSION))
20861 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20862 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20863 printf("*** library (version %d.%d.%d)\n",
20864 gtk_major_version, gtk_minor_version, gtk_micro_version);
20868 if ((gtk_major_version > major) ||
20869 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20870 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20876 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20877 gtk_major_version, gtk_minor_version, gtk_micro_version);
20878 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20879 major, minor, micro);
20880 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20882 printf("*** If you have already installed a sufficiently new version, this error\n");
20883 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20884 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20885 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20886 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20887 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20888 printf("*** so that the correct libraries are found at run-time))\n");
20895 rm -f conftest$ac_exeext
20896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20897 (eval $ac_link) 2>&5
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20902 (eval $ac_try) 2>&5
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); }; }; then
20908 echo "$as_me: program exited with status $ac_status" >&5
20909 echo "$as_me: failed program was:" >&5
20910 sed 's/^/| /' conftest.$ac_ext >&5
20912 ( exit $ac_status )
20915 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20917 CFLAGS="$ac_save_CFLAGS"
20918 LIBS="$ac_save_LIBS"
20921 if test "x$no_gtk" = x ; then
20922 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20923 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20926 echo "$as_me:$LINENO: result: no" >&5
20927 echo "${ECHO_T}no" >&6
20928 if test "$PKG_CONFIG" = "no" ; then
20929 echo "*** A new enough version of pkg-config was not found."
20930 echo "*** See http://pkgconfig.sourceforge.net"
20932 if test -f conf.gtktest ; then
20935 echo "*** Could not run GTK+ test program, checking why..."
20936 ac_save_CFLAGS="$CFLAGS"
20937 ac_save_LIBS="$LIBS"
20938 CFLAGS="$CFLAGS $GTK_CFLAGS"
20939 LIBS="$LIBS $GTK_LIBS"
20940 cat >conftest.$ac_ext <<_ACEOF
20941 #line $LINENO "configure"
20944 cat confdefs.h >>conftest.$ac_ext
20945 cat >>conftest.$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20948 #include <gtk/gtk.h>
20954 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20959 rm -f conftest.$ac_objext conftest$ac_exeext
20960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20961 (eval $ac_link) 2>&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); } &&
20965 { ac_try='test -s conftest$ac_exeext'
20966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20967 (eval $ac_try) 2>&5
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); }; }; then
20971 echo "*** The test program compiled, but did not run. This usually means"
20972 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20973 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20974 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20975 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20976 echo "*** is required on your system"
20978 echo "*** If you have an old version installed, it is best to remove it, although"
20979 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20981 echo "$as_me: failed program was:" >&5
20982 sed 's/^/| /' conftest.$ac_ext >&5
20984 echo "*** The test program failed to compile or link. See the file config.log for the"
20985 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20988 CFLAGS="$ac_save_CFLAGS"
20989 LIBS="$ac_save_LIBS"
21002 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21003 if test "${with_gtk_prefix+set}" = set; then
21004 withval="$with_gtk_prefix"
21005 gtk_config_prefix="$withval"
21007 gtk_config_prefix=""
21010 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21011 if test "${with_gtk_exec_prefix+set}" = set; then
21012 withval="$with_gtk_exec_prefix"
21013 gtk_config_exec_prefix="$withval"
21015 gtk_config_exec_prefix=""
21017 # Check whether --enable-gtktest or --disable-gtktest was given.
21018 if test "${enable_gtktest+set}" = set; then
21019 enableval="$enable_gtktest"
21025 for module in . $GTK_MODULES
21029 gtk_config_args="$gtk_config_args gthread"
21034 if test x$gtk_config_exec_prefix != x ; then
21035 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21036 if test x${GTK_CONFIG+set} != xset ; then
21037 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
21040 if test x$gtk_config_prefix != x ; then
21041 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
21042 if test x${GTK_CONFIG+set} != xset ; then
21043 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
21047 # Extract the first word of "gtk-config", so it can be a program name with args.
21048 set dummy gtk-config; ac_word=$2
21049 echo "$as_me:$LINENO: checking for $ac_word" >&5
21050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21051 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21052 echo $ECHO_N "(cached) $ECHO_C" >&6
21054 case $GTK_CONFIG in
21056 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
21059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21060 for as_dir in $PATH
21063 test -z "$as_dir" && as_dir=.
21064 for ac_exec_ext in '' $ac_executable_extensions; do
21065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21066 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21073 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
21077 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
21079 if test -n "$GTK_CONFIG"; then
21080 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21081 echo "${ECHO_T}$GTK_CONFIG" >&6
21083 echo "$as_me:$LINENO: result: no" >&5
21084 echo "${ECHO_T}no" >&6
21087 min_gtk_version=1.2.7
21088 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21089 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21091 if test "$GTK_CONFIG" = "no" ; then
21094 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
21095 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
21096 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
21097 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21098 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
21099 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21100 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
21101 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21102 if test "x$enable_gtktest" = "xyes" ; then
21103 ac_save_CFLAGS="$CFLAGS"
21104 ac_save_LIBS="$LIBS"
21105 CFLAGS="$CFLAGS $GTK_CFLAGS"
21106 LIBS="$GTK_LIBS $LIBS"
21108 if test "$cross_compiling" = yes; then
21109 echo $ac_n "cross compiling; assumed OK... $ac_c"
21111 cat >conftest.$ac_ext <<_ACEOF
21112 #line $LINENO "configure"
21115 cat confdefs.h >>conftest.$ac_ext
21116 cat >>conftest.$ac_ext <<_ACEOF
21117 /* end confdefs.h. */
21119 #include <gtk/gtk.h>
21121 #include <stdlib.h>
21126 int major, minor, micro;
21129 system ("touch conf.gtktest");
21131 /* HP/UX 9 (%@#!) writes to sscanf strings */
21132 tmp_version = g_strdup("$min_gtk_version");
21133 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21134 printf("%s, bad version string\n", "$min_gtk_version");
21138 if ((gtk_major_version != $gtk_config_major_version) ||
21139 (gtk_minor_version != $gtk_config_minor_version) ||
21140 (gtk_micro_version != $gtk_config_micro_version))
21142 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21143 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21144 gtk_major_version, gtk_minor_version, gtk_micro_version);
21145 printf ("*** was found! If gtk-config was correct, then it is best\n");
21146 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21147 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21148 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21149 printf("*** required on your system.\n");
21150 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21151 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21152 printf("*** before re-running configure\n");
21154 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21155 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21156 (gtk_minor_version != GTK_MINOR_VERSION) ||
21157 (gtk_micro_version != GTK_MICRO_VERSION))
21159 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21160 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21161 printf("*** library (version %d.%d.%d)\n",
21162 gtk_major_version, gtk_minor_version, gtk_micro_version);
21164 #endif /* defined (GTK_MAJOR_VERSION) ... */
21167 if ((gtk_major_version > major) ||
21168 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21169 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21175 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21176 gtk_major_version, gtk_minor_version, gtk_micro_version);
21177 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21178 major, minor, micro);
21179 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21181 printf("*** If you have already installed a sufficiently new version, this error\n");
21182 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21183 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21184 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21185 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21186 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21187 printf("*** so that the correct libraries are found at run-time))\n");
21194 rm -f conftest$ac_exeext
21195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21196 (eval $ac_link) 2>&5
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21201 (eval $ac_try) 2>&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); }; }; then
21207 echo "$as_me: program exited with status $ac_status" >&5
21208 echo "$as_me: failed program was:" >&5
21209 sed 's/^/| /' conftest.$ac_ext >&5
21211 ( exit $ac_status )
21214 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21216 CFLAGS="$ac_save_CFLAGS"
21217 LIBS="$ac_save_LIBS"
21220 if test "x$no_gtk" = x ; then
21221 echo "$as_me:$LINENO: result: yes" >&5
21222 echo "${ECHO_T}yes" >&6
21223 wx_cv_lib_gtk=1.2.7
21225 echo "$as_me:$LINENO: result: no" >&5
21226 echo "${ECHO_T}no" >&6
21227 if test "$GTK_CONFIG" = "no" ; then
21228 echo "*** The gtk-config script installed by GTK could not be found"
21229 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21230 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21231 echo "*** full path to gtk-config."
21233 if test -f conf.gtktest ; then
21236 echo "*** Could not run GTK test program, checking why..."
21237 CFLAGS="$CFLAGS $GTK_CFLAGS"
21238 LIBS="$LIBS $GTK_LIBS"
21239 cat >conftest.$ac_ext <<_ACEOF
21240 #line $LINENO "configure"
21243 cat confdefs.h >>conftest.$ac_ext
21244 cat >>conftest.$ac_ext <<_ACEOF
21245 /* end confdefs.h. */
21247 #include <gtk/gtk.h>
21253 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21258 rm -f conftest.$ac_objext conftest$ac_exeext
21259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21260 (eval $ac_link) 2>&5
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); } &&
21264 { ac_try='test -s conftest$ac_exeext'
21265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21266 (eval $ac_try) 2>&5
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); }; }; then
21270 echo "*** The test program compiled, but did not run. This usually means"
21271 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21272 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21273 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21274 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21275 echo "*** is required on your system"
21277 echo "*** If you have an old version installed, it is best to remove it, although"
21278 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21280 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21281 echo "*** came with the system with the command"
21283 echo "*** rpm --erase --nodeps gtk gtk-devel"
21285 echo "$as_me: failed program was:" >&5
21286 sed 's/^/| /' conftest.$ac_ext >&5
21288 echo "*** The test program failed to compile or link. See the file config.log for the"
21289 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21290 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21291 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21294 CFLAGS="$ac_save_CFLAGS"
21295 LIBS="$ac_save_LIBS"
21307 if test -z "$wx_cv_lib_gtk"; then
21309 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21310 if test "${with_gtk_prefix+set}" = set; then
21311 withval="$with_gtk_prefix"
21312 gtk_config_prefix="$withval"
21314 gtk_config_prefix=""
21317 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21318 if test "${with_gtk_exec_prefix+set}" = set; then
21319 withval="$with_gtk_exec_prefix"
21320 gtk_config_exec_prefix="$withval"
21322 gtk_config_exec_prefix=""
21324 # Check whether --enable-gtktest or --disable-gtktest was given.
21325 if test "${enable_gtktest+set}" = set; then
21326 enableval="$enable_gtktest"
21332 for module in . $GTK_MODULES
21336 gtk_config_args="$gtk_config_args gthread"
21341 if test x$gtk_config_exec_prefix != x ; then
21342 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21343 if test x${GTK_CONFIG+set} != xset ; then
21344 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
21347 if test x$gtk_config_prefix != x ; then
21348 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
21349 if test x${GTK_CONFIG+set} != xset ; then
21350 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
21354 # Extract the first word of "gtk-config", so it can be a program name with args.
21355 set dummy gtk-config; ac_word=$2
21356 echo "$as_me:$LINENO: checking for $ac_word" >&5
21357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21358 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21359 echo $ECHO_N "(cached) $ECHO_C" >&6
21361 case $GTK_CONFIG in
21363 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
21366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21367 for as_dir in $PATH
21370 test -z "$as_dir" && as_dir=.
21371 for ac_exec_ext in '' $ac_executable_extensions; do
21372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21373 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21380 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
21384 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
21386 if test -n "$GTK_CONFIG"; then
21387 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21388 echo "${ECHO_T}$GTK_CONFIG" >&6
21390 echo "$as_me:$LINENO: result: no" >&5
21391 echo "${ECHO_T}no" >&6
21394 min_gtk_version=1.2.3
21395 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21396 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21398 if test "$GTK_CONFIG" = "no" ; then
21401 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
21402 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
21403 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
21404 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21405 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
21406 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21407 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
21408 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21409 if test "x$enable_gtktest" = "xyes" ; then
21410 ac_save_CFLAGS="$CFLAGS"
21411 ac_save_LIBS="$LIBS"
21412 CFLAGS="$CFLAGS $GTK_CFLAGS"
21413 LIBS="$GTK_LIBS $LIBS"
21415 if test "$cross_compiling" = yes; then
21416 echo $ac_n "cross compiling; assumed OK... $ac_c"
21418 cat >conftest.$ac_ext <<_ACEOF
21419 #line $LINENO "configure"
21422 cat confdefs.h >>conftest.$ac_ext
21423 cat >>conftest.$ac_ext <<_ACEOF
21424 /* end confdefs.h. */
21426 #include <gtk/gtk.h>
21428 #include <stdlib.h>
21433 int major, minor, micro;
21436 system ("touch conf.gtktest");
21438 /* HP/UX 9 (%@#!) writes to sscanf strings */
21439 tmp_version = g_strdup("$min_gtk_version");
21440 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
21441 printf("%s, bad version string\n", "$min_gtk_version");
21445 if ((gtk_major_version != $gtk_config_major_version) ||
21446 (gtk_minor_version != $gtk_config_minor_version) ||
21447 (gtk_micro_version != $gtk_config_micro_version))
21449 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21450 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21451 gtk_major_version, gtk_minor_version, gtk_micro_version);
21452 printf ("*** was found! If gtk-config was correct, then it is best\n");
21453 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21454 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21455 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21456 printf("*** required on your system.\n");
21457 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21458 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21459 printf("*** before re-running configure\n");
21461 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21462 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21463 (gtk_minor_version != GTK_MINOR_VERSION) ||
21464 (gtk_micro_version != GTK_MICRO_VERSION))
21466 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21467 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21468 printf("*** library (version %d.%d.%d)\n",
21469 gtk_major_version, gtk_minor_version, gtk_micro_version);
21471 #endif /* defined (GTK_MAJOR_VERSION) ... */
21474 if ((gtk_major_version > major) ||
21475 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21476 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21482 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21483 gtk_major_version, gtk_minor_version, gtk_micro_version);
21484 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21485 major, minor, micro);
21486 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21488 printf("*** If you have already installed a sufficiently new version, this error\n");
21489 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21490 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21491 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21492 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21493 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21494 printf("*** so that the correct libraries are found at run-time))\n");
21501 rm -f conftest$ac_exeext
21502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21503 (eval $ac_link) 2>&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21508 (eval $ac_try) 2>&5
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); }; }; then
21514 echo "$as_me: program exited with status $ac_status" >&5
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.$ac_ext >&5
21518 ( exit $ac_status )
21521 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21523 CFLAGS="$ac_save_CFLAGS"
21524 LIBS="$ac_save_LIBS"
21527 if test "x$no_gtk" = x ; then
21528 echo "$as_me:$LINENO: result: yes" >&5
21529 echo "${ECHO_T}yes" >&6
21530 wx_cv_lib_gtk=1.2.3
21532 echo "$as_me:$LINENO: result: no" >&5
21533 echo "${ECHO_T}no" >&6
21534 if test "$GTK_CONFIG" = "no" ; then
21535 echo "*** The gtk-config script installed by GTK could not be found"
21536 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21537 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21538 echo "*** full path to gtk-config."
21540 if test -f conf.gtktest ; then
21543 echo "*** Could not run GTK test program, checking why..."
21544 CFLAGS="$CFLAGS $GTK_CFLAGS"
21545 LIBS="$LIBS $GTK_LIBS"
21546 cat >conftest.$ac_ext <<_ACEOF
21547 #line $LINENO "configure"
21550 cat confdefs.h >>conftest.$ac_ext
21551 cat >>conftest.$ac_ext <<_ACEOF
21552 /* end confdefs.h. */
21554 #include <gtk/gtk.h>
21560 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21565 rm -f conftest.$ac_objext conftest$ac_exeext
21566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21567 (eval $ac_link) 2>&5
21569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570 (exit $ac_status); } &&
21571 { ac_try='test -s conftest$ac_exeext'
21572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21573 (eval $ac_try) 2>&5
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); }; }; then
21577 echo "*** The test program compiled, but did not run. This usually means"
21578 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21579 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21580 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21581 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21582 echo "*** is required on your system"
21584 echo "*** If you have an old version installed, it is best to remove it, although"
21585 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21587 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21588 echo "*** came with the system with the command"
21590 echo "*** rpm --erase --nodeps gtk gtk-devel"
21592 echo "$as_me: failed program was:" >&5
21593 sed 's/^/| /' conftest.$ac_ext >&5
21595 echo "*** The test program failed to compile or link. See the file config.log for the"
21596 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21597 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21598 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21600 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21601 CFLAGS="$ac_save_CFLAGS"
21602 LIBS="$ac_save_LIBS"
21616 if test -z "$wx_cv_lib_gtk"; then
21619 wx_cv_cflags_gtk=$GTK_CFLAGS
21620 wx_cv_libs_gtk=$GTK_LIBS
21627 if test "$gtk_version_cached" = 1; then
21628 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21629 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21632 case "$wx_cv_lib_gtk" in
21641 *) { { echo "$as_me:$LINENO: error:
21642 Please check that gtk-config is in path, the directory
21643 where GTK+ libraries are installed (returned by
21644 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21645 equivalent variable and GTK+ is version 1.2.3 or above.
21647 echo "$as_me: error:
21648 Please check that gtk-config is in path, the directory
21649 where GTK+ libraries are installed (returned by
21650 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21651 equivalent variable and GTK+ is version 1.2.3 or above.
21653 { (exit 1); exit 1; }; }
21657 if test "$WXGTK20" = 1; then
21658 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21662 if test -z "$PKG_CONFIG"; then
21663 # Extract the first word of "pkg-config", so it can be a program name with args.
21664 set dummy pkg-config; ac_word=$2
21665 echo "$as_me:$LINENO: checking for $ac_word" >&5
21666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21667 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21668 echo $ECHO_N "(cached) $ECHO_C" >&6
21670 case $PKG_CONFIG in
21672 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21676 for as_dir in $PATH
21679 test -z "$as_dir" && as_dir=.
21680 for ac_exec_ext in '' $ac_executable_extensions; do
21681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21682 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21689 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21693 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21695 if test -n "$PKG_CONFIG"; then
21696 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21697 echo "${ECHO_T}$PKG_CONFIG" >&6
21699 echo "$as_me:$LINENO: result: no" >&5
21700 echo "${ECHO_T}no" >&6
21705 if test "$PKG_CONFIG" = "no" ; then
21706 echo "*** The pkg-config script could not be found. Make sure it is"
21707 echo "*** in your path, or set the PKG_CONFIG environment variable"
21708 echo "*** to the full path to pkg-config."
21709 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21711 PKG_CONFIG_MIN_VERSION=0.9.0
21712 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21713 echo "$as_me:$LINENO: checking for pangoft2" >&5
21714 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21716 if $PKG_CONFIG --exists "pangoft2" ; then
21717 echo "$as_me:$LINENO: result: yes" >&5
21718 echo "${ECHO_T}yes" >&6
21721 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21722 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21723 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
21724 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21725 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21727 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21728 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21729 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
21730 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21731 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21735 ## If we have a custom action on failure, don't print errors, but
21736 ## do set a variable so people can do so.
21737 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21744 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21745 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21749 if test $succeeded = yes; then
21751 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
21752 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21756 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21757 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21758 wxUSE_PRINTING_ARCHITECTURE="no"
21765 if test "$wxUSE_UNICODE" = "yes"; then
21766 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21767 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21772 if test "$USE_DARWIN" != 1; then
21774 for ac_func in poll
21776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21777 echo "$as_me:$LINENO: checking for $ac_func" >&5
21778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21779 if eval "test \"\${$as_ac_var+set}\" = set"; then
21780 echo $ECHO_N "(cached) $ECHO_C" >&6
21782 cat >conftest.$ac_ext <<_ACEOF
21783 #line $LINENO "configure"
21786 cat confdefs.h >>conftest.$ac_ext
21787 cat >>conftest.$ac_ext <<_ACEOF
21788 /* end confdefs.h. */
21789 /* System header to define __stub macros and hopefully few prototypes,
21790 which can conflict with char $ac_func (); below.
21791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21792 <limits.h> exists even on freestanding compilers. */
21794 # include <limits.h>
21796 # include <assert.h>
21798 /* Override any gcc2 internal prototype to avoid an error. */
21803 /* We use char because int might match the return type of a gcc2
21804 builtin and then its argument prototype would still apply. */
21806 /* The GNU C library defines this for functions which it implements
21807 to always fail with ENOSYS. Some functions are actually named
21808 something starting with __ and the normal name is an alias. */
21809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21812 char (*f) () = $ac_func;
21821 return f != $ac_func;
21826 rm -f conftest.$ac_objext conftest$ac_exeext
21827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21828 (eval $ac_link) 2>&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); } &&
21832 { ac_try='test -s conftest$ac_exeext'
21833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21834 (eval $ac_try) 2>&5
21836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837 (exit $ac_status); }; }; then
21838 eval "$as_ac_var=yes"
21840 echo "$as_me: failed program was:" >&5
21841 sed 's/^/| /' conftest.$ac_ext >&5
21843 eval "$as_ac_var=no"
21845 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21849 if test `eval echo '${'$as_ac_var'}'` = yes; then
21850 cat >>confdefs.h <<_ACEOF
21851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21859 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21860 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21862 AFMINSTALL=afminstall
21866 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21867 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21868 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21869 echo $ECHO_N "(cached) $ECHO_C" >&6
21871 ac_check_lib_save_LIBS=$LIBS
21873 cat >conftest.$ac_ext <<_ACEOF
21874 #line $LINENO "configure"
21877 cat confdefs.h >>conftest.$ac_ext
21878 cat >>conftest.$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21881 /* Override any gcc2 internal prototype to avoid an error. */
21885 /* We use char because int might match the return type of a gcc2
21886 builtin and then its argument prototype would still apply. */
21887 char gdk_im_open ();
21896 rm -f conftest.$ac_objext conftest$ac_exeext
21897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21898 (eval $ac_link) 2>&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } &&
21902 { ac_try='test -s conftest$ac_exeext'
21903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21904 (eval $ac_try) 2>&5
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); }; }; then
21908 ac_cv_lib_gdk_gdk_im_open=yes
21910 echo "$as_me: failed program was:" >&5
21911 sed 's/^/| /' conftest.$ac_ext >&5
21913 ac_cv_lib_gdk_gdk_im_open=no
21915 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21916 LIBS=$ac_check_lib_save_LIBS
21918 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21919 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21920 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21921 cat >>confdefs.h <<\_ACEOF
21929 if test "$wxUSE_GPE" = "yes"; then
21930 echo "$as_me:$LINENO: checking for gpewidget library" >&5
21931 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
21934 for ac_dir in $SEARCH_LIB /usr/lib;
21936 for ac_extension in a so sl dylib; do
21937 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
21938 ac_find_libraries=$ac_dir
21944 if test "$ac_find_libraries" != "" ; then
21946 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
21948 if test $result = 0; then
21951 ac_path_to_link=" -L$ac_find_libraries"
21954 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
21956 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
21957 echo "${ECHO_T}found at $ac_find_libraries" >&6
21959 echo "$as_me:$LINENO: result: not found" >&5
21960 echo "${ECHO_T}not found" >&6
21966 if test "$wxUSE_MGL" = 1; then
21967 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21968 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21969 if test "x$MGL_ROOT" = x ; then
21970 echo "$as_me:$LINENO: result: not found" >&5
21971 echo "${ECHO_T}not found" >&6
21972 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21973 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21974 { (exit 1); exit 1; }; }
21976 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21977 echo "${ECHO_T}$MGL_ROOT" >&6
21980 echo "$as_me:$LINENO: checking for libmgl location" >&5
21981 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21984 if test "x$wxUSE_SHARED" = xyes ; then
21985 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21987 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21991 mgl_os_candidates="dos32/dj2"
21994 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21995 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21996 { (exit 1); exit 1; }; }
22002 for mgl_os_i in $mgl_os_candidates ; do
22003 if test "x$mgl_os" = x ; then
22004 if test "$wxUSE_DEBUG_FLAG" = yes ; then
22005 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
22006 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
22011 if test "x$mgl_lib_type" = x ; then
22012 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
22013 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
22014 mgl_lib_type=release
22021 if test "x$mgl_os" = x ; then
22022 echo "$as_me:$LINENO: result: not found" >&5
22023 echo "${ECHO_T}not found" >&6
22024 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
22025 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
22026 { (exit 1); exit 1; }; }
22028 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
22029 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
22031 wxUSE_UNIVERSAL="yes"
22033 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
22034 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
22036 AFMINSTALL=afminstall
22041 if test "$wxUSE_MICROWIN" = 1; then
22042 echo "$as_me:$LINENO: checking for MicroWindows" >&5
22043 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
22044 if test "x$MICROWINDOWS" = x ; then
22045 echo "$as_me:$LINENO: result: not found" >&5
22046 echo "${ECHO_T}not found" >&6
22047 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
22048 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
22049 { (exit 1); exit 1; }; }
22051 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
22052 echo "${ECHO_T}$MICROWINDOWS" >&6
22055 if test -f $MICROWINDOWS/lib/libmwin.a; then
22056 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
22057 echo "${ECHO_T}MicroWindows' libraries found." >&6
22059 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
22060 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
22061 { (exit 1); exit 1; }; }
22064 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
22065 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
22067 wxUSE_UNIVERSAL="yes"
22069 AFMINSTALL=afminstall
22071 GUIDIST=MICROWIN_DIST
22073 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
22076 if test "$wxUSE_X11" = 1; then
22077 echo "$as_me:$LINENO: checking for X" >&5
22078 echo $ECHO_N "checking for X... $ECHO_C" >&6
22081 # Check whether --with-x or --without-x was given.
22082 if test "${with_x+set}" = set; then
22086 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22087 if test "x$with_x" = xno; then
22088 # The user explicitly disabled X.
22091 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
22092 # Both variables are already set.
22095 if test "${ac_cv_have_x+set}" = set; then
22096 echo $ECHO_N "(cached) $ECHO_C" >&6
22098 # One or both of the vars are not set, and there is no cached value.
22099 ac_x_includes=no ac_x_libraries=no
22100 rm -fr conftest.dir
22101 if mkdir conftest.dir; then
22103 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
22104 cat >Imakefile <<'_ACEOF'
22106 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
22108 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
22109 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22110 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
22111 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22112 for ac_extension in a so sl; do
22113 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
22114 test -f $ac_im_libdir/libX11.$ac_extension; then
22115 ac_im_usrlibdir=$ac_im_libdir; break
22118 # Screen out bogus values from the imake configuration. They are
22119 # bogus both because they are the default anyway, and because
22120 # using them would break gcc on systems where it needs fixed includes.
22121 case $ac_im_incroot in
22123 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22125 case $ac_im_usrlibdir in
22126 /usr/lib | /lib) ;;
22127 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22131 rm -fr conftest.dir
22134 # Standard set of common directories for X headers.
22135 # Check X11 before X11Rn because it is often a symlink to the current release.
22147 /usr/local/X11/include
22148 /usr/local/X11R6/include
22149 /usr/local/X11R5/include
22150 /usr/local/X11R4/include
22152 /usr/local/include/X11
22153 /usr/local/include/X11R6
22154 /usr/local/include/X11R5
22155 /usr/local/include/X11R4
22159 /usr/XFree86/include/X11
22163 /usr/unsupported/include
22164 /usr/athena/include
22165 /usr/local/x11r5/include
22166 /usr/lpp/Xamples/include
22168 /usr/openwin/include
22169 /usr/openwin/share/include'
22171 if test "$ac_x_includes" = no; then
22172 # Guess where to find include files, by looking for Intrinsic.h.
22173 # First, try using that file with no special directory specified.
22174 cat >conftest.$ac_ext <<_ACEOF
22175 #line $LINENO "configure"
22178 cat confdefs.h >>conftest.$ac_ext
22179 cat >>conftest.$ac_ext <<_ACEOF
22180 /* end confdefs.h. */
22181 #include <X11/Intrinsic.h>
22183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22184 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22186 grep -v '^ *+' conftest.er1 >conftest.err
22188 cat conftest.err >&5
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); } >/dev/null; then
22191 if test -s conftest.err; then
22192 ac_cpp_err=$ac_c_preproc_warn_flag
22199 if test -z "$ac_cpp_err"; then
22200 # We can compile using X headers with no special include directory.
22203 echo "$as_me: failed program was:" >&5
22204 sed 's/^/| /' conftest.$ac_ext >&5
22206 for ac_dir in $ac_x_header_dirs; do
22207 if test -r "$ac_dir/X11/Intrinsic.h"; then
22208 ac_x_includes=$ac_dir
22213 rm -f conftest.err conftest.$ac_ext
22214 fi # $ac_x_includes = no
22216 if test "$ac_x_libraries" = no; then
22217 # Check for the libraries.
22218 # See if we find them without any special options.
22219 # Don't add to $LIBS permanently.
22222 cat >conftest.$ac_ext <<_ACEOF
22223 #line $LINENO "configure"
22226 cat confdefs.h >>conftest.$ac_ext
22227 cat >>conftest.$ac_ext <<_ACEOF
22228 /* end confdefs.h. */
22229 #include <X11/Intrinsic.h>
22238 rm -f conftest.$ac_objext conftest$ac_exeext
22239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22240 (eval $ac_link) 2>&5
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); } &&
22244 { ac_try='test -s conftest$ac_exeext'
22245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22246 (eval $ac_try) 2>&5
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); }; }; then
22251 # We can link X programs with no special library path.
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.$ac_ext >&5
22258 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22260 # Don't even attempt the hair of trying to link an X program!
22261 for ac_extension in a so sl; do
22262 if test -r $ac_dir/libXt.$ac_extension; then
22263 ac_x_libraries=$ac_dir
22269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22270 fi # $ac_x_libraries = no
22272 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
22273 # Didn't find X anywhere. Cache the known absence of X.
22274 ac_cv_have_x="have_x=no"
22276 # Record where we found X for the cache.
22277 ac_cv_have_x="have_x=yes \
22278 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
22283 eval "$ac_cv_have_x"
22286 if test "$have_x" != yes; then
22287 echo "$as_me:$LINENO: result: $have_x" >&5
22288 echo "${ECHO_T}$have_x" >&6
22291 # If each of the values was on the command line, it overrides each guess.
22292 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22293 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22294 # Update the cache value to reflect the command line values.
22295 ac_cv_have_x="have_x=yes \
22296 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
22297 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22298 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
22301 if test "$no_x" = yes; then
22302 # Not all programs may use this symbol, but it does not hurt to define it.
22304 cat >>confdefs.h <<\_ACEOF
22305 #define X_DISPLAY_MISSING 1
22308 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22310 if test -n "$x_includes"; then
22311 X_CFLAGS="$X_CFLAGS -I$x_includes"
22314 # It would also be nice to do this for all -L options, not just this one.
22315 if test -n "$x_libraries"; then
22316 X_LIBS="$X_LIBS -L$x_libraries"
22317 # For Solaris; some versions of Sun CC require a space after -R and
22318 # others require no space. Words are not sufficient . . . .
22319 case `(uname -sr) 2>/dev/null` in
22321 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22322 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22323 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22324 cat >conftest.$ac_ext <<_ACEOF
22325 #line $LINENO "configure"
22328 cat confdefs.h >>conftest.$ac_ext
22329 cat >>conftest.$ac_ext <<_ACEOF
22330 /* end confdefs.h. */
22340 rm -f conftest.$ac_objext conftest$ac_exeext
22341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22342 (eval $ac_link) 2>&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); } &&
22346 { ac_try='test -s conftest$ac_exeext'
22347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348 (eval $ac_try) 2>&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; }; then
22354 echo "$as_me: failed program was:" >&5
22355 sed 's/^/| /' conftest.$ac_ext >&5
22359 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22360 if test $ac_R_nospace = yes; then
22361 echo "$as_me:$LINENO: result: no" >&5
22362 echo "${ECHO_T}no" >&6
22363 X_LIBS="$X_LIBS -R$x_libraries"
22365 LIBS="$ac_xsave_LIBS -R $x_libraries"
22366 cat >conftest.$ac_ext <<_ACEOF
22367 #line $LINENO "configure"
22370 cat confdefs.h >>conftest.$ac_ext
22371 cat >>conftest.$ac_ext <<_ACEOF
22372 /* end confdefs.h. */
22382 rm -f conftest.$ac_objext conftest$ac_exeext
22383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22384 (eval $ac_link) 2>&5
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); } &&
22388 { ac_try='test -s conftest$ac_exeext'
22389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22390 (eval $ac_try) 2>&5
22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22393 (exit $ac_status); }; }; then
22396 echo "$as_me: failed program was:" >&5
22397 sed 's/^/| /' conftest.$ac_ext >&5
22401 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22402 if test $ac_R_space = yes; then
22403 echo "$as_me:$LINENO: result: yes" >&5
22404 echo "${ECHO_T}yes" >&6
22405 X_LIBS="$X_LIBS -R $x_libraries"
22407 echo "$as_me:$LINENO: result: neither works" >&5
22408 echo "${ECHO_T}neither works" >&6
22411 LIBS=$ac_xsave_LIBS
22415 # Check for system-dependent libraries X programs must link with.
22416 # Do this before checking for the system-independent R6 libraries
22417 # (-lICE), since we may need -lsocket or whatever for X linking.
22419 if test "$ISC" = yes; then
22420 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22422 # Martyn Johnson says this is needed for Ultrix, if the X
22423 # libraries were built with DECnet support. And Karl Berry says
22424 # the Alpha needs dnet_stub (dnet does not exist).
22425 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22426 cat >conftest.$ac_ext <<_ACEOF
22427 #line $LINENO "configure"
22430 cat confdefs.h >>conftest.$ac_ext
22431 cat >>conftest.$ac_ext <<_ACEOF
22432 /* end confdefs.h. */
22434 /* Override any gcc2 internal prototype to avoid an error. */
22438 /* We use char because int might match the return type of a gcc2
22439 builtin and then its argument prototype would still apply. */
22440 char XOpenDisplay ();
22449 rm -f conftest.$ac_objext conftest$ac_exeext
22450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22451 (eval $ac_link) 2>&5
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); } &&
22455 { ac_try='test -s conftest$ac_exeext'
22456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22457 (eval $ac_try) 2>&5
22459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22460 (exit $ac_status); }; }; then
22463 echo "$as_me: failed program was:" >&5
22464 sed 's/^/| /' conftest.$ac_ext >&5
22466 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22467 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22468 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22469 echo $ECHO_N "(cached) $ECHO_C" >&6
22471 ac_check_lib_save_LIBS=$LIBS
22472 LIBS="-ldnet $LIBS"
22473 cat >conftest.$ac_ext <<_ACEOF
22474 #line $LINENO "configure"
22477 cat confdefs.h >>conftest.$ac_ext
22478 cat >>conftest.$ac_ext <<_ACEOF
22479 /* end confdefs.h. */
22481 /* Override any gcc2 internal prototype to avoid an error. */
22485 /* We use char because int might match the return type of a gcc2
22486 builtin and then its argument prototype would still apply. */
22496 rm -f conftest.$ac_objext conftest$ac_exeext
22497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22498 (eval $ac_link) 2>&5
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); } &&
22502 { ac_try='test -s conftest$ac_exeext'
22503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22504 (eval $ac_try) 2>&5
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); }; }; then
22508 ac_cv_lib_dnet_dnet_ntoa=yes
22510 echo "$as_me: failed program was:" >&5
22511 sed 's/^/| /' conftest.$ac_ext >&5
22513 ac_cv_lib_dnet_dnet_ntoa=no
22515 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22516 LIBS=$ac_check_lib_save_LIBS
22518 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22519 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22520 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22521 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22524 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22525 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22526 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22527 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22528 echo $ECHO_N "(cached) $ECHO_C" >&6
22530 ac_check_lib_save_LIBS=$LIBS
22531 LIBS="-ldnet_stub $LIBS"
22532 cat >conftest.$ac_ext <<_ACEOF
22533 #line $LINENO "configure"
22536 cat confdefs.h >>conftest.$ac_ext
22537 cat >>conftest.$ac_ext <<_ACEOF
22538 /* end confdefs.h. */
22540 /* Override any gcc2 internal prototype to avoid an error. */
22544 /* We use char because int might match the return type of a gcc2
22545 builtin and then its argument prototype would still apply. */
22555 rm -f conftest.$ac_objext conftest$ac_exeext
22556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22557 (eval $ac_link) 2>&5
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); } &&
22561 { ac_try='test -s conftest$ac_exeext'
22562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22563 (eval $ac_try) 2>&5
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); }; }; then
22567 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22569 echo "$as_me: failed program was:" >&5
22570 sed 's/^/| /' conftest.$ac_ext >&5
22572 ac_cv_lib_dnet_stub_dnet_ntoa=no
22574 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22575 LIBS=$ac_check_lib_save_LIBS
22577 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22578 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22579 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22580 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22585 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22586 LIBS="$ac_xsave_LIBS"
22588 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22589 # to get the SysV transport functions.
22590 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22592 # The nsl library prevents programs from opening the X display
22593 # on Irix 5.2, according to T.E. Dickey.
22594 # The functions gethostbyname, getservbyname, and inet_addr are
22595 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22596 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22597 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22598 if test "${ac_cv_func_gethostbyname+set}" = set; then
22599 echo $ECHO_N "(cached) $ECHO_C" >&6
22601 cat >conftest.$ac_ext <<_ACEOF
22602 #line $LINENO "configure"
22605 cat confdefs.h >>conftest.$ac_ext
22606 cat >>conftest.$ac_ext <<_ACEOF
22607 /* end confdefs.h. */
22608 /* System header to define __stub macros and hopefully few prototypes,
22609 which can conflict with char gethostbyname (); below.
22610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22611 <limits.h> exists even on freestanding compilers. */
22613 # include <limits.h>
22615 # include <assert.h>
22617 /* Override any gcc2 internal prototype to avoid an error. */
22622 /* We use char because int might match the return type of a gcc2
22623 builtin and then its argument prototype would still apply. */
22624 char gethostbyname ();
22625 /* The GNU C library defines this for functions which it implements
22626 to always fail with ENOSYS. Some functions are actually named
22627 something starting with __ and the normal name is an alias. */
22628 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22631 char (*f) () = gethostbyname;
22640 return f != gethostbyname;
22645 rm -f conftest.$ac_objext conftest$ac_exeext
22646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22647 (eval $ac_link) 2>&5
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); } &&
22651 { ac_try='test -s conftest$ac_exeext'
22652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22653 (eval $ac_try) 2>&5
22655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656 (exit $ac_status); }; }; then
22657 ac_cv_func_gethostbyname=yes
22659 echo "$as_me: failed program was:" >&5
22660 sed 's/^/| /' conftest.$ac_ext >&5
22662 ac_cv_func_gethostbyname=no
22664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22666 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22667 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22669 if test $ac_cv_func_gethostbyname = no; then
22670 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22671 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22672 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22673 echo $ECHO_N "(cached) $ECHO_C" >&6
22675 ac_check_lib_save_LIBS=$LIBS
22677 cat >conftest.$ac_ext <<_ACEOF
22678 #line $LINENO "configure"
22681 cat confdefs.h >>conftest.$ac_ext
22682 cat >>conftest.$ac_ext <<_ACEOF
22683 /* end confdefs.h. */
22685 /* Override any gcc2 internal prototype to avoid an error. */
22689 /* We use char because int might match the return type of a gcc2
22690 builtin and then its argument prototype would still apply. */
22691 char gethostbyname ();
22700 rm -f conftest.$ac_objext conftest$ac_exeext
22701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22702 (eval $ac_link) 2>&5
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); } &&
22706 { ac_try='test -s conftest$ac_exeext'
22707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22708 (eval $ac_try) 2>&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); }; }; then
22712 ac_cv_lib_nsl_gethostbyname=yes
22714 echo "$as_me: failed program was:" >&5
22715 sed 's/^/| /' conftest.$ac_ext >&5
22717 ac_cv_lib_nsl_gethostbyname=no
22719 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22720 LIBS=$ac_check_lib_save_LIBS
22722 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22723 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22724 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22725 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22728 if test $ac_cv_lib_nsl_gethostbyname = no; then
22729 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22730 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22731 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22732 echo $ECHO_N "(cached) $ECHO_C" >&6
22734 ac_check_lib_save_LIBS=$LIBS
22736 cat >conftest.$ac_ext <<_ACEOF
22737 #line $LINENO "configure"
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h. */
22744 /* Override any gcc2 internal prototype to avoid an error. */
22748 /* We use char because int might match the return type of a gcc2
22749 builtin and then its argument prototype would still apply. */
22750 char gethostbyname ();
22759 rm -f conftest.$ac_objext conftest$ac_exeext
22760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22761 (eval $ac_link) 2>&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } &&
22765 { ac_try='test -s conftest$ac_exeext'
22766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22767 (eval $ac_try) 2>&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); }; }; then
22771 ac_cv_lib_bsd_gethostbyname=yes
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.$ac_ext >&5
22776 ac_cv_lib_bsd_gethostbyname=no
22778 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22779 LIBS=$ac_check_lib_save_LIBS
22781 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22782 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22783 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22784 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22790 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22791 # socket/setsockopt and other routines are undefined under SCO ODT
22792 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22793 # on later versions), says Simon Leinen: it contains gethostby*
22794 # variants that don't use the name server (or something). -lsocket
22795 # must be given before -lnsl if both are needed. We assume that
22796 # if connect needs -lnsl, so does gethostbyname.
22797 echo "$as_me:$LINENO: checking for connect" >&5
22798 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22799 if test "${ac_cv_func_connect+set}" = set; then
22800 echo $ECHO_N "(cached) $ECHO_C" >&6
22802 cat >conftest.$ac_ext <<_ACEOF
22803 #line $LINENO "configure"
22806 cat confdefs.h >>conftest.$ac_ext
22807 cat >>conftest.$ac_ext <<_ACEOF
22808 /* end confdefs.h. */
22809 /* System header to define __stub macros and hopefully few prototypes,
22810 which can conflict with char connect (); below.
22811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22812 <limits.h> exists even on freestanding compilers. */
22814 # include <limits.h>
22816 # include <assert.h>
22818 /* Override any gcc2 internal prototype to avoid an error. */
22823 /* We use char because int might match the return type of a gcc2
22824 builtin and then its argument prototype would still apply. */
22826 /* The GNU C library defines this for functions which it implements
22827 to always fail with ENOSYS. Some functions are actually named
22828 something starting with __ and the normal name is an alias. */
22829 #if defined (__stub_connect) || defined (__stub___connect)
22832 char (*f) () = connect;
22841 return f != connect;
22846 rm -f conftest.$ac_objext conftest$ac_exeext
22847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22848 (eval $ac_link) 2>&5
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); } &&
22852 { ac_try='test -s conftest$ac_exeext'
22853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22854 (eval $ac_try) 2>&5
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); }; }; then
22858 ac_cv_func_connect=yes
22860 echo "$as_me: failed program was:" >&5
22861 sed 's/^/| /' conftest.$ac_ext >&5
22863 ac_cv_func_connect=no
22865 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22867 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22868 echo "${ECHO_T}$ac_cv_func_connect" >&6
22870 if test $ac_cv_func_connect = no; then
22871 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22872 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22873 if test "${ac_cv_lib_socket_connect+set}" = set; then
22874 echo $ECHO_N "(cached) $ECHO_C" >&6
22876 ac_check_lib_save_LIBS=$LIBS
22877 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22878 cat >conftest.$ac_ext <<_ACEOF
22879 #line $LINENO "configure"
22882 cat confdefs.h >>conftest.$ac_ext
22883 cat >>conftest.$ac_ext <<_ACEOF
22884 /* end confdefs.h. */
22886 /* Override any gcc2 internal prototype to avoid an error. */
22890 /* We use char because int might match the return type of a gcc2
22891 builtin and then its argument prototype would still apply. */
22901 rm -f conftest.$ac_objext conftest$ac_exeext
22902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22903 (eval $ac_link) 2>&5
22905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22906 (exit $ac_status); } &&
22907 { ac_try='test -s conftest$ac_exeext'
22908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22909 (eval $ac_try) 2>&5
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); }; }; then
22913 ac_cv_lib_socket_connect=yes
22915 echo "$as_me: failed program was:" >&5
22916 sed 's/^/| /' conftest.$ac_ext >&5
22918 ac_cv_lib_socket_connect=no
22920 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22921 LIBS=$ac_check_lib_save_LIBS
22923 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22924 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22925 if test $ac_cv_lib_socket_connect = yes; then
22926 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22931 # Guillermo Gomez says -lposix is necessary on A/UX.
22932 echo "$as_me:$LINENO: checking for remove" >&5
22933 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22934 if test "${ac_cv_func_remove+set}" = set; then
22935 echo $ECHO_N "(cached) $ECHO_C" >&6
22937 cat >conftest.$ac_ext <<_ACEOF
22938 #line $LINENO "configure"
22941 cat confdefs.h >>conftest.$ac_ext
22942 cat >>conftest.$ac_ext <<_ACEOF
22943 /* end confdefs.h. */
22944 /* System header to define __stub macros and hopefully few prototypes,
22945 which can conflict with char remove (); below.
22946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22947 <limits.h> exists even on freestanding compilers. */
22949 # include <limits.h>
22951 # include <assert.h>
22953 /* Override any gcc2 internal prototype to avoid an error. */
22958 /* We use char because int might match the return type of a gcc2
22959 builtin and then its argument prototype would still apply. */
22961 /* The GNU C library defines this for functions which it implements
22962 to always fail with ENOSYS. Some functions are actually named
22963 something starting with __ and the normal name is an alias. */
22964 #if defined (__stub_remove) || defined (__stub___remove)
22967 char (*f) () = remove;
22976 return f != remove;
22981 rm -f conftest.$ac_objext conftest$ac_exeext
22982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22983 (eval $ac_link) 2>&5
22985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22986 (exit $ac_status); } &&
22987 { ac_try='test -s conftest$ac_exeext'
22988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22989 (eval $ac_try) 2>&5
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); }; }; then
22993 ac_cv_func_remove=yes
22995 echo "$as_me: failed program was:" >&5
22996 sed 's/^/| /' conftest.$ac_ext >&5
22998 ac_cv_func_remove=no
23000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23002 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23003 echo "${ECHO_T}$ac_cv_func_remove" >&6
23005 if test $ac_cv_func_remove = no; then
23006 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23007 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23008 if test "${ac_cv_lib_posix_remove+set}" = set; then
23009 echo $ECHO_N "(cached) $ECHO_C" >&6
23011 ac_check_lib_save_LIBS=$LIBS
23012 LIBS="-lposix $LIBS"
23013 cat >conftest.$ac_ext <<_ACEOF
23014 #line $LINENO "configure"
23017 cat confdefs.h >>conftest.$ac_ext
23018 cat >>conftest.$ac_ext <<_ACEOF
23019 /* end confdefs.h. */
23021 /* Override any gcc2 internal prototype to avoid an error. */
23025 /* We use char because int might match the return type of a gcc2
23026 builtin and then its argument prototype would still apply. */
23036 rm -f conftest.$ac_objext conftest$ac_exeext
23037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23038 (eval $ac_link) 2>&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } &&
23042 { ac_try='test -s conftest$ac_exeext'
23043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23044 (eval $ac_try) 2>&5
23046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23047 (exit $ac_status); }; }; then
23048 ac_cv_lib_posix_remove=yes
23050 echo "$as_me: failed program was:" >&5
23051 sed 's/^/| /' conftest.$ac_ext >&5
23053 ac_cv_lib_posix_remove=no
23055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23056 LIBS=$ac_check_lib_save_LIBS
23058 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23059 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23060 if test $ac_cv_lib_posix_remove = yes; then
23061 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23066 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23067 echo "$as_me:$LINENO: checking for shmat" >&5
23068 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23069 if test "${ac_cv_func_shmat+set}" = set; then
23070 echo $ECHO_N "(cached) $ECHO_C" >&6
23072 cat >conftest.$ac_ext <<_ACEOF
23073 #line $LINENO "configure"
23076 cat confdefs.h >>conftest.$ac_ext
23077 cat >>conftest.$ac_ext <<_ACEOF
23078 /* end confdefs.h. */
23079 /* System header to define __stub macros and hopefully few prototypes,
23080 which can conflict with char shmat (); below.
23081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23082 <limits.h> exists even on freestanding compilers. */
23084 # include <limits.h>
23086 # include <assert.h>
23088 /* Override any gcc2 internal prototype to avoid an error. */
23093 /* We use char because int might match the return type of a gcc2
23094 builtin and then its argument prototype would still apply. */
23096 /* The GNU C library defines this for functions which it implements
23097 to always fail with ENOSYS. Some functions are actually named
23098 something starting with __ and the normal name is an alias. */
23099 #if defined (__stub_shmat) || defined (__stub___shmat)
23102 char (*f) () = shmat;
23116 rm -f conftest.$ac_objext conftest$ac_exeext
23117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23118 (eval $ac_link) 2>&5
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); } &&
23122 { ac_try='test -s conftest$ac_exeext'
23123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23124 (eval $ac_try) 2>&5
23126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127 (exit $ac_status); }; }; then
23128 ac_cv_func_shmat=yes
23130 echo "$as_me: failed program was:" >&5
23131 sed 's/^/| /' conftest.$ac_ext >&5
23133 ac_cv_func_shmat=no
23135 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23137 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23138 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23140 if test $ac_cv_func_shmat = no; then
23141 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23142 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23143 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23144 echo $ECHO_N "(cached) $ECHO_C" >&6
23146 ac_check_lib_save_LIBS=$LIBS
23148 cat >conftest.$ac_ext <<_ACEOF
23149 #line $LINENO "configure"
23152 cat confdefs.h >>conftest.$ac_ext
23153 cat >>conftest.$ac_ext <<_ACEOF
23154 /* end confdefs.h. */
23156 /* Override any gcc2 internal prototype to avoid an error. */
23160 /* We use char because int might match the return type of a gcc2
23161 builtin and then its argument prototype would still apply. */
23171 rm -f conftest.$ac_objext conftest$ac_exeext
23172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23173 (eval $ac_link) 2>&5
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); } &&
23177 { ac_try='test -s conftest$ac_exeext'
23178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23179 (eval $ac_try) 2>&5
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); }; }; then
23183 ac_cv_lib_ipc_shmat=yes
23185 echo "$as_me: failed program was:" >&5
23186 sed 's/^/| /' conftest.$ac_ext >&5
23188 ac_cv_lib_ipc_shmat=no
23190 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23191 LIBS=$ac_check_lib_save_LIBS
23193 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23194 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23195 if test $ac_cv_lib_ipc_shmat = yes; then
23196 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23202 # Check for libraries that X11R6 Xt/Xaw programs need.
23203 ac_save_LDFLAGS=$LDFLAGS
23204 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23205 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23206 # check for ICE first), but we must link in the order -lSM -lICE or
23207 # we get undefined symbols. So assume we have SM if we have ICE.
23208 # These have to be linked with before -lX11, unlike the other
23209 # libraries we check for below, so use a different variable.
23210 # John Interrante, Karl Berry
23211 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23212 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23213 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23214 echo $ECHO_N "(cached) $ECHO_C" >&6
23216 ac_check_lib_save_LIBS=$LIBS
23217 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23218 cat >conftest.$ac_ext <<_ACEOF
23219 #line $LINENO "configure"
23222 cat confdefs.h >>conftest.$ac_ext
23223 cat >>conftest.$ac_ext <<_ACEOF
23224 /* end confdefs.h. */
23226 /* Override any gcc2 internal prototype to avoid an error. */
23230 /* We use char because int might match the return type of a gcc2
23231 builtin and then its argument prototype would still apply. */
23232 char IceConnectionNumber ();
23236 IceConnectionNumber ();
23241 rm -f conftest.$ac_objext conftest$ac_exeext
23242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23243 (eval $ac_link) 2>&5
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); } &&
23247 { ac_try='test -s conftest$ac_exeext'
23248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23249 (eval $ac_try) 2>&5
23251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23252 (exit $ac_status); }; }; then
23253 ac_cv_lib_ICE_IceConnectionNumber=yes
23255 echo "$as_me: failed program was:" >&5
23256 sed 's/^/| /' conftest.$ac_ext >&5
23258 ac_cv_lib_ICE_IceConnectionNumber=no
23260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23261 LIBS=$ac_check_lib_save_LIBS
23263 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23264 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23265 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23266 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23269 LDFLAGS=$ac_save_LDFLAGS
23274 if test "$no_x" = "yes"; then
23275 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23276 echo "$as_me: error: X11 not found" >&2;}
23277 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23280 GUI_TK_LIBRARY="$X_LIBS"
23281 TOOLKIT_INCLUDE="$X_CFLAGS"
23282 AFMINSTALL=afminstall
23283 COMPILED_X_PROGRAM=0
23285 if test "$wxUSE_NANOX" = "yes"; then
23286 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
23287 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
23288 if test "x$MICROWIN" = x ; then
23289 echo "$as_me:$LINENO: result: not found" >&5
23290 echo "${ECHO_T}not found" >&6
23291 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
23292 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
23293 { (exit 1); exit 1; }; }
23295 echo "$as_me:$LINENO: result: $MICROWIN" >&5
23296 echo "${ECHO_T}$MICROWIN" >&6
23297 cat >>confdefs.h <<\_ACEOF
23298 #define wxUSE_NANOX 1
23304 if test "$wxUSE_UNICODE" = "yes"; then
23308 if test -z "$PKG_CONFIG"; then
23309 # Extract the first word of "pkg-config", so it can be a program name with args.
23310 set dummy pkg-config; ac_word=$2
23311 echo "$as_me:$LINENO: checking for $ac_word" >&5
23312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23313 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23314 echo $ECHO_N "(cached) $ECHO_C" >&6
23316 case $PKG_CONFIG in
23318 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23322 for as_dir in $PATH
23325 test -z "$as_dir" && as_dir=.
23326 for ac_exec_ext in '' $ac_executable_extensions; do
23327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23328 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23335 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23339 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23341 if test -n "$PKG_CONFIG"; then
23342 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23343 echo "${ECHO_T}$PKG_CONFIG" >&6
23345 echo "$as_me:$LINENO: result: no" >&5
23346 echo "${ECHO_T}no" >&6
23351 if test "$PKG_CONFIG" = "no" ; then
23352 echo "*** The pkg-config script could not be found. Make sure it is"
23353 echo "*** in your path, or set the PKG_CONFIG environment variable"
23354 echo "*** to the full path to pkg-config."
23355 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23357 PKG_CONFIG_MIN_VERSION=0.9.0
23358 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23359 echo "$as_me:$LINENO: checking for pangox" >&5
23360 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
23362 if $PKG_CONFIG --exists "pangox" ; then
23363 echo "$as_me:$LINENO: result: yes" >&5
23364 echo "${ECHO_T}yes" >&6
23367 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
23368 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
23369 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
23370 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
23371 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
23373 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
23374 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
23375 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
23376 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
23377 echo "${ECHO_T}$PANGOX_LIBS" >&6
23381 ## If we have a custom action on failure, don't print errors, but
23382 ## do set a variable so people can do so.
23383 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
23390 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23391 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23395 if test $succeeded = yes; then
23397 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
23398 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
23402 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
23403 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
23404 { (exit 1); exit 1; }; }
23412 if test -z "$PKG_CONFIG"; then
23413 # Extract the first word of "pkg-config", so it can be a program name with args.
23414 set dummy pkg-config; ac_word=$2
23415 echo "$as_me:$LINENO: checking for $ac_word" >&5
23416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23417 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23418 echo $ECHO_N "(cached) $ECHO_C" >&6
23420 case $PKG_CONFIG in
23422 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23426 for as_dir in $PATH
23429 test -z "$as_dir" && as_dir=.
23430 for ac_exec_ext in '' $ac_executable_extensions; do
23431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23432 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23439 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23443 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23445 if test -n "$PKG_CONFIG"; then
23446 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23447 echo "${ECHO_T}$PKG_CONFIG" >&6
23449 echo "$as_me:$LINENO: result: no" >&5
23450 echo "${ECHO_T}no" >&6
23455 if test "$PKG_CONFIG" = "no" ; then
23456 echo "*** The pkg-config script could not be found. Make sure it is"
23457 echo "*** in your path, or set the PKG_CONFIG environment variable"
23458 echo "*** to the full path to pkg-config."
23459 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23461 PKG_CONFIG_MIN_VERSION=0.9.0
23462 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23463 echo "$as_me:$LINENO: checking for pangoft2" >&5
23464 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23466 if $PKG_CONFIG --exists "pangoft2" ; then
23467 echo "$as_me:$LINENO: result: yes" >&5
23468 echo "${ECHO_T}yes" >&6
23471 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23472 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23473 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
23474 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23475 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23477 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23478 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23479 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
23480 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23481 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23485 ## If we have a custom action on failure, don't print errors, but
23486 ## do set a variable so people can do so.
23487 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23494 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23495 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23499 if test $succeeded = yes; then
23501 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
23502 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23506 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23507 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23508 wxUSE_PRINTING_ARCHITECTURE="no"
23516 if test -z "$PKG_CONFIG"; then
23517 # Extract the first word of "pkg-config", so it can be a program name with args.
23518 set dummy pkg-config; ac_word=$2
23519 echo "$as_me:$LINENO: checking for $ac_word" >&5
23520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23521 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23522 echo $ECHO_N "(cached) $ECHO_C" >&6
23524 case $PKG_CONFIG in
23526 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23530 for as_dir in $PATH
23533 test -z "$as_dir" && as_dir=.
23534 for ac_exec_ext in '' $ac_executable_extensions; do
23535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23536 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23543 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23547 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23549 if test -n "$PKG_CONFIG"; then
23550 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23551 echo "${ECHO_T}$PKG_CONFIG" >&6
23553 echo "$as_me:$LINENO: result: no" >&5
23554 echo "${ECHO_T}no" >&6
23559 if test "$PKG_CONFIG" = "no" ; then
23560 echo "*** The pkg-config script could not be found. Make sure it is"
23561 echo "*** in your path, or set the PKG_CONFIG environment variable"
23562 echo "*** to the full path to pkg-config."
23563 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23565 PKG_CONFIG_MIN_VERSION=0.9.0
23566 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23567 echo "$as_me:$LINENO: checking for pangoxft" >&5
23568 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
23570 if $PKG_CONFIG --exists "pangoxft" ; then
23571 echo "$as_me:$LINENO: result: yes" >&5
23572 echo "${ECHO_T}yes" >&6
23575 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
23576 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
23577 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
23578 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
23579 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
23581 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
23582 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
23583 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
23584 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23585 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23589 ## If we have a custom action on failure, don't print errors, but
23590 ## do set a variable so people can do so.
23591 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23598 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23599 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23603 if test $succeeded = yes; then
23605 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
23606 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23610 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23611 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23618 wxUSE_UNIVERSAL="yes"
23620 if test "$wxUSE_NANOX" = "yes"; then
23621 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23622 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"
23623 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23625 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
23628 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
23633 if test "$wxUSE_MOTIF" = 1; then
23634 if test "$no_x" = yes; then
23635 # Not all programs may use this symbol, but it does not hurt to define it.
23637 cat >>confdefs.h <<\_ACEOF
23638 #define X_DISPLAY_MISSING 1
23641 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23643 if test -n "$x_includes"; then
23644 X_CFLAGS="$X_CFLAGS -I$x_includes"
23647 # It would also be nice to do this for all -L options, not just this one.
23648 if test -n "$x_libraries"; then
23649 X_LIBS="$X_LIBS -L$x_libraries"
23650 # For Solaris; some versions of Sun CC require a space after -R and
23651 # others require no space. Words are not sufficient . . . .
23652 case `(uname -sr) 2>/dev/null` in
23654 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23655 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23656 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23657 cat >conftest.$ac_ext <<_ACEOF
23658 #line $LINENO "configure"
23661 cat confdefs.h >>conftest.$ac_ext
23662 cat >>conftest.$ac_ext <<_ACEOF
23663 /* end confdefs.h. */
23673 rm -f conftest.$ac_objext conftest$ac_exeext
23674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23675 (eval $ac_link) 2>&5
23677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23678 (exit $ac_status); } &&
23679 { ac_try='test -s conftest$ac_exeext'
23680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23681 (eval $ac_try) 2>&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); }; }; then
23687 echo "$as_me: failed program was:" >&5
23688 sed 's/^/| /' conftest.$ac_ext >&5
23692 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23693 if test $ac_R_nospace = yes; then
23694 echo "$as_me:$LINENO: result: no" >&5
23695 echo "${ECHO_T}no" >&6
23696 X_LIBS="$X_LIBS -R$x_libraries"
23698 LIBS="$ac_xsave_LIBS -R $x_libraries"
23699 cat >conftest.$ac_ext <<_ACEOF
23700 #line $LINENO "configure"
23703 cat confdefs.h >>conftest.$ac_ext
23704 cat >>conftest.$ac_ext <<_ACEOF
23705 /* end confdefs.h. */
23715 rm -f conftest.$ac_objext conftest$ac_exeext
23716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23717 (eval $ac_link) 2>&5
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); } &&
23721 { ac_try='test -s conftest$ac_exeext'
23722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23723 (eval $ac_try) 2>&5
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); }; }; then
23729 echo "$as_me: failed program was:" >&5
23730 sed 's/^/| /' conftest.$ac_ext >&5
23734 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23735 if test $ac_R_space = yes; then
23736 echo "$as_me:$LINENO: result: yes" >&5
23737 echo "${ECHO_T}yes" >&6
23738 X_LIBS="$X_LIBS -R $x_libraries"
23740 echo "$as_me:$LINENO: result: neither works" >&5
23741 echo "${ECHO_T}neither works" >&6
23744 LIBS=$ac_xsave_LIBS
23748 # Check for system-dependent libraries X programs must link with.
23749 # Do this before checking for the system-independent R6 libraries
23750 # (-lICE), since we may need -lsocket or whatever for X linking.
23752 if test "$ISC" = yes; then
23753 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23755 # Martyn Johnson says this is needed for Ultrix, if the X
23756 # libraries were built with DECnet support. And Karl Berry says
23757 # the Alpha needs dnet_stub (dnet does not exist).
23758 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23759 cat >conftest.$ac_ext <<_ACEOF
23760 #line $LINENO "configure"
23763 cat confdefs.h >>conftest.$ac_ext
23764 cat >>conftest.$ac_ext <<_ACEOF
23765 /* end confdefs.h. */
23767 /* Override any gcc2 internal prototype to avoid an error. */
23771 /* We use char because int might match the return type of a gcc2
23772 builtin and then its argument prototype would still apply. */
23773 char XOpenDisplay ();
23782 rm -f conftest.$ac_objext conftest$ac_exeext
23783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23784 (eval $ac_link) 2>&5
23786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23787 (exit $ac_status); } &&
23788 { ac_try='test -s conftest$ac_exeext'
23789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23790 (eval $ac_try) 2>&5
23792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23793 (exit $ac_status); }; }; then
23796 echo "$as_me: failed program was:" >&5
23797 sed 's/^/| /' conftest.$ac_ext >&5
23799 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23800 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23801 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23802 echo $ECHO_N "(cached) $ECHO_C" >&6
23804 ac_check_lib_save_LIBS=$LIBS
23805 LIBS="-ldnet $LIBS"
23806 cat >conftest.$ac_ext <<_ACEOF
23807 #line $LINENO "configure"
23810 cat confdefs.h >>conftest.$ac_ext
23811 cat >>conftest.$ac_ext <<_ACEOF
23812 /* end confdefs.h. */
23814 /* Override any gcc2 internal prototype to avoid an error. */
23818 /* We use char because int might match the return type of a gcc2
23819 builtin and then its argument prototype would still apply. */
23829 rm -f conftest.$ac_objext conftest$ac_exeext
23830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23831 (eval $ac_link) 2>&5
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); } &&
23835 { ac_try='test -s conftest$ac_exeext'
23836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23837 (eval $ac_try) 2>&5
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); }; }; then
23841 ac_cv_lib_dnet_dnet_ntoa=yes
23843 echo "$as_me: failed program was:" >&5
23844 sed 's/^/| /' conftest.$ac_ext >&5
23846 ac_cv_lib_dnet_dnet_ntoa=no
23848 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23849 LIBS=$ac_check_lib_save_LIBS
23851 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23852 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23853 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23854 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23857 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23858 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23859 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23860 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23861 echo $ECHO_N "(cached) $ECHO_C" >&6
23863 ac_check_lib_save_LIBS=$LIBS
23864 LIBS="-ldnet_stub $LIBS"
23865 cat >conftest.$ac_ext <<_ACEOF
23866 #line $LINENO "configure"
23869 cat confdefs.h >>conftest.$ac_ext
23870 cat >>conftest.$ac_ext <<_ACEOF
23871 /* end confdefs.h. */
23873 /* Override any gcc2 internal prototype to avoid an error. */
23877 /* We use char because int might match the return type of a gcc2
23878 builtin and then its argument prototype would still apply. */
23888 rm -f conftest.$ac_objext conftest$ac_exeext
23889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23890 (eval $ac_link) 2>&5
23892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23893 (exit $ac_status); } &&
23894 { ac_try='test -s conftest$ac_exeext'
23895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23896 (eval $ac_try) 2>&5
23898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23899 (exit $ac_status); }; }; then
23900 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23902 echo "$as_me: failed program was:" >&5
23903 sed 's/^/| /' conftest.$ac_ext >&5
23905 ac_cv_lib_dnet_stub_dnet_ntoa=no
23907 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23908 LIBS=$ac_check_lib_save_LIBS
23910 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23911 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23912 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23913 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23918 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23919 LIBS="$ac_xsave_LIBS"
23921 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23922 # to get the SysV transport functions.
23923 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23925 # The nsl library prevents programs from opening the X display
23926 # on Irix 5.2, according to T.E. Dickey.
23927 # The functions gethostbyname, getservbyname, and inet_addr are
23928 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23929 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23930 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23931 if test "${ac_cv_func_gethostbyname+set}" = set; then
23932 echo $ECHO_N "(cached) $ECHO_C" >&6
23934 cat >conftest.$ac_ext <<_ACEOF
23935 #line $LINENO "configure"
23938 cat confdefs.h >>conftest.$ac_ext
23939 cat >>conftest.$ac_ext <<_ACEOF
23940 /* end confdefs.h. */
23941 /* System header to define __stub macros and hopefully few prototypes,
23942 which can conflict with char gethostbyname (); below.
23943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23944 <limits.h> exists even on freestanding compilers. */
23946 # include <limits.h>
23948 # include <assert.h>
23950 /* Override any gcc2 internal prototype to avoid an error. */
23955 /* We use char because int might match the return type of a gcc2
23956 builtin and then its argument prototype would still apply. */
23957 char gethostbyname ();
23958 /* The GNU C library defines this for functions which it implements
23959 to always fail with ENOSYS. Some functions are actually named
23960 something starting with __ and the normal name is an alias. */
23961 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23964 char (*f) () = gethostbyname;
23973 return f != gethostbyname;
23978 rm -f conftest.$ac_objext conftest$ac_exeext
23979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23980 (eval $ac_link) 2>&5
23982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23983 (exit $ac_status); } &&
23984 { ac_try='test -s conftest$ac_exeext'
23985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23986 (eval $ac_try) 2>&5
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); }; }; then
23990 ac_cv_func_gethostbyname=yes
23992 echo "$as_me: failed program was:" >&5
23993 sed 's/^/| /' conftest.$ac_ext >&5
23995 ac_cv_func_gethostbyname=no
23997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23999 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24000 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24002 if test $ac_cv_func_gethostbyname = no; then
24003 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24004 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24005 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24006 echo $ECHO_N "(cached) $ECHO_C" >&6
24008 ac_check_lib_save_LIBS=$LIBS
24010 cat >conftest.$ac_ext <<_ACEOF
24011 #line $LINENO "configure"
24014 cat confdefs.h >>conftest.$ac_ext
24015 cat >>conftest.$ac_ext <<_ACEOF
24016 /* end confdefs.h. */
24018 /* Override any gcc2 internal prototype to avoid an error. */
24022 /* We use char because int might match the return type of a gcc2
24023 builtin and then its argument prototype would still apply. */
24024 char gethostbyname ();
24033 rm -f conftest.$ac_objext conftest$ac_exeext
24034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24035 (eval $ac_link) 2>&5
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); } &&
24039 { ac_try='test -s conftest$ac_exeext'
24040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24041 (eval $ac_try) 2>&5
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); }; }; then
24045 ac_cv_lib_nsl_gethostbyname=yes
24047 echo "$as_me: failed program was:" >&5
24048 sed 's/^/| /' conftest.$ac_ext >&5
24050 ac_cv_lib_nsl_gethostbyname=no
24052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24053 LIBS=$ac_check_lib_save_LIBS
24055 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24056 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24057 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24058 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24061 if test $ac_cv_lib_nsl_gethostbyname = no; then
24062 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24063 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24064 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24065 echo $ECHO_N "(cached) $ECHO_C" >&6
24067 ac_check_lib_save_LIBS=$LIBS
24069 cat >conftest.$ac_ext <<_ACEOF
24070 #line $LINENO "configure"
24073 cat confdefs.h >>conftest.$ac_ext
24074 cat >>conftest.$ac_ext <<_ACEOF
24075 /* end confdefs.h. */
24077 /* Override any gcc2 internal prototype to avoid an error. */
24081 /* We use char because int might match the return type of a gcc2
24082 builtin and then its argument prototype would still apply. */
24083 char gethostbyname ();
24092 rm -f conftest.$ac_objext conftest$ac_exeext
24093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24094 (eval $ac_link) 2>&5
24096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24097 (exit $ac_status); } &&
24098 { ac_try='test -s conftest$ac_exeext'
24099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24100 (eval $ac_try) 2>&5
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); }; }; then
24104 ac_cv_lib_bsd_gethostbyname=yes
24106 echo "$as_me: failed program was:" >&5
24107 sed 's/^/| /' conftest.$ac_ext >&5
24109 ac_cv_lib_bsd_gethostbyname=no
24111 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24112 LIBS=$ac_check_lib_save_LIBS
24114 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24115 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24116 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24117 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24123 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24124 # socket/setsockopt and other routines are undefined under SCO ODT
24125 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24126 # on later versions), says Simon Leinen: it contains gethostby*
24127 # variants that don't use the name server (or something). -lsocket
24128 # must be given before -lnsl if both are needed. We assume that
24129 # if connect needs -lnsl, so does gethostbyname.
24130 echo "$as_me:$LINENO: checking for connect" >&5
24131 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24132 if test "${ac_cv_func_connect+set}" = set; then
24133 echo $ECHO_N "(cached) $ECHO_C" >&6
24135 cat >conftest.$ac_ext <<_ACEOF
24136 #line $LINENO "configure"
24139 cat confdefs.h >>conftest.$ac_ext
24140 cat >>conftest.$ac_ext <<_ACEOF
24141 /* end confdefs.h. */
24142 /* System header to define __stub macros and hopefully few prototypes,
24143 which can conflict with char connect (); below.
24144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24145 <limits.h> exists even on freestanding compilers. */
24147 # include <limits.h>
24149 # include <assert.h>
24151 /* Override any gcc2 internal prototype to avoid an error. */
24156 /* We use char because int might match the return type of a gcc2
24157 builtin and then its argument prototype would still apply. */
24159 /* The GNU C library defines this for functions which it implements
24160 to always fail with ENOSYS. Some functions are actually named
24161 something starting with __ and the normal name is an alias. */
24162 #if defined (__stub_connect) || defined (__stub___connect)
24165 char (*f) () = connect;
24174 return f != connect;
24179 rm -f conftest.$ac_objext conftest$ac_exeext
24180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24181 (eval $ac_link) 2>&5
24183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24184 (exit $ac_status); } &&
24185 { ac_try='test -s conftest$ac_exeext'
24186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24187 (eval $ac_try) 2>&5
24189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190 (exit $ac_status); }; }; then
24191 ac_cv_func_connect=yes
24193 echo "$as_me: failed program was:" >&5
24194 sed 's/^/| /' conftest.$ac_ext >&5
24196 ac_cv_func_connect=no
24198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24200 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24201 echo "${ECHO_T}$ac_cv_func_connect" >&6
24203 if test $ac_cv_func_connect = no; then
24204 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24205 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24206 if test "${ac_cv_lib_socket_connect+set}" = set; then
24207 echo $ECHO_N "(cached) $ECHO_C" >&6
24209 ac_check_lib_save_LIBS=$LIBS
24210 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24211 cat >conftest.$ac_ext <<_ACEOF
24212 #line $LINENO "configure"
24215 cat confdefs.h >>conftest.$ac_ext
24216 cat >>conftest.$ac_ext <<_ACEOF
24217 /* end confdefs.h. */
24219 /* Override any gcc2 internal prototype to avoid an error. */
24223 /* We use char because int might match the return type of a gcc2
24224 builtin and then its argument prototype would still apply. */
24234 rm -f conftest.$ac_objext conftest$ac_exeext
24235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24236 (eval $ac_link) 2>&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); } &&
24240 { ac_try='test -s conftest$ac_exeext'
24241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24242 (eval $ac_try) 2>&5
24244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24245 (exit $ac_status); }; }; then
24246 ac_cv_lib_socket_connect=yes
24248 echo "$as_me: failed program was:" >&5
24249 sed 's/^/| /' conftest.$ac_ext >&5
24251 ac_cv_lib_socket_connect=no
24253 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24254 LIBS=$ac_check_lib_save_LIBS
24256 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24257 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24258 if test $ac_cv_lib_socket_connect = yes; then
24259 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24264 # Guillermo Gomez says -lposix is necessary on A/UX.
24265 echo "$as_me:$LINENO: checking for remove" >&5
24266 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24267 if test "${ac_cv_func_remove+set}" = set; then
24268 echo $ECHO_N "(cached) $ECHO_C" >&6
24270 cat >conftest.$ac_ext <<_ACEOF
24271 #line $LINENO "configure"
24274 cat confdefs.h >>conftest.$ac_ext
24275 cat >>conftest.$ac_ext <<_ACEOF
24276 /* end confdefs.h. */
24277 /* System header to define __stub macros and hopefully few prototypes,
24278 which can conflict with char remove (); below.
24279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24280 <limits.h> exists even on freestanding compilers. */
24282 # include <limits.h>
24284 # include <assert.h>
24286 /* Override any gcc2 internal prototype to avoid an error. */
24291 /* We use char because int might match the return type of a gcc2
24292 builtin and then its argument prototype would still apply. */
24294 /* The GNU C library defines this for functions which it implements
24295 to always fail with ENOSYS. Some functions are actually named
24296 something starting with __ and the normal name is an alias. */
24297 #if defined (__stub_remove) || defined (__stub___remove)
24300 char (*f) () = remove;
24309 return f != remove;
24314 rm -f conftest.$ac_objext conftest$ac_exeext
24315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24316 (eval $ac_link) 2>&5
24318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319 (exit $ac_status); } &&
24320 { ac_try='test -s conftest$ac_exeext'
24321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24322 (eval $ac_try) 2>&5
24324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24325 (exit $ac_status); }; }; then
24326 ac_cv_func_remove=yes
24328 echo "$as_me: failed program was:" >&5
24329 sed 's/^/| /' conftest.$ac_ext >&5
24331 ac_cv_func_remove=no
24333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24335 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24336 echo "${ECHO_T}$ac_cv_func_remove" >&6
24338 if test $ac_cv_func_remove = no; then
24339 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24340 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24341 if test "${ac_cv_lib_posix_remove+set}" = set; then
24342 echo $ECHO_N "(cached) $ECHO_C" >&6
24344 ac_check_lib_save_LIBS=$LIBS
24345 LIBS="-lposix $LIBS"
24346 cat >conftest.$ac_ext <<_ACEOF
24347 #line $LINENO "configure"
24350 cat confdefs.h >>conftest.$ac_ext
24351 cat >>conftest.$ac_ext <<_ACEOF
24352 /* end confdefs.h. */
24354 /* Override any gcc2 internal prototype to avoid an error. */
24358 /* We use char because int might match the return type of a gcc2
24359 builtin and then its argument prototype would still apply. */
24369 rm -f conftest.$ac_objext conftest$ac_exeext
24370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24371 (eval $ac_link) 2>&5
24373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374 (exit $ac_status); } &&
24375 { ac_try='test -s conftest$ac_exeext'
24376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24377 (eval $ac_try) 2>&5
24379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24380 (exit $ac_status); }; }; then
24381 ac_cv_lib_posix_remove=yes
24383 echo "$as_me: failed program was:" >&5
24384 sed 's/^/| /' conftest.$ac_ext >&5
24386 ac_cv_lib_posix_remove=no
24388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24389 LIBS=$ac_check_lib_save_LIBS
24391 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24392 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24393 if test $ac_cv_lib_posix_remove = yes; then
24394 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24399 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24400 echo "$as_me:$LINENO: checking for shmat" >&5
24401 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24402 if test "${ac_cv_func_shmat+set}" = set; then
24403 echo $ECHO_N "(cached) $ECHO_C" >&6
24405 cat >conftest.$ac_ext <<_ACEOF
24406 #line $LINENO "configure"
24409 cat confdefs.h >>conftest.$ac_ext
24410 cat >>conftest.$ac_ext <<_ACEOF
24411 /* end confdefs.h. */
24412 /* System header to define __stub macros and hopefully few prototypes,
24413 which can conflict with char shmat (); below.
24414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24415 <limits.h> exists even on freestanding compilers. */
24417 # include <limits.h>
24419 # include <assert.h>
24421 /* Override any gcc2 internal prototype to avoid an error. */
24426 /* We use char because int might match the return type of a gcc2
24427 builtin and then its argument prototype would still apply. */
24429 /* The GNU C library defines this for functions which it implements
24430 to always fail with ENOSYS. Some functions are actually named
24431 something starting with __ and the normal name is an alias. */
24432 #if defined (__stub_shmat) || defined (__stub___shmat)
24435 char (*f) () = shmat;
24449 rm -f conftest.$ac_objext conftest$ac_exeext
24450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24451 (eval $ac_link) 2>&5
24453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24454 (exit $ac_status); } &&
24455 { ac_try='test -s conftest$ac_exeext'
24456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24457 (eval $ac_try) 2>&5
24459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24460 (exit $ac_status); }; }; then
24461 ac_cv_func_shmat=yes
24463 echo "$as_me: failed program was:" >&5
24464 sed 's/^/| /' conftest.$ac_ext >&5
24466 ac_cv_func_shmat=no
24468 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24470 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24471 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24473 if test $ac_cv_func_shmat = no; then
24474 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24475 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24476 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24477 echo $ECHO_N "(cached) $ECHO_C" >&6
24479 ac_check_lib_save_LIBS=$LIBS
24481 cat >conftest.$ac_ext <<_ACEOF
24482 #line $LINENO "configure"
24485 cat confdefs.h >>conftest.$ac_ext
24486 cat >>conftest.$ac_ext <<_ACEOF
24487 /* end confdefs.h. */
24489 /* Override any gcc2 internal prototype to avoid an error. */
24493 /* We use char because int might match the return type of a gcc2
24494 builtin and then its argument prototype would still apply. */
24504 rm -f conftest.$ac_objext conftest$ac_exeext
24505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24506 (eval $ac_link) 2>&5
24508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24509 (exit $ac_status); } &&
24510 { ac_try='test -s conftest$ac_exeext'
24511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24512 (eval $ac_try) 2>&5
24514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24515 (exit $ac_status); }; }; then
24516 ac_cv_lib_ipc_shmat=yes
24518 echo "$as_me: failed program was:" >&5
24519 sed 's/^/| /' conftest.$ac_ext >&5
24521 ac_cv_lib_ipc_shmat=no
24523 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24524 LIBS=$ac_check_lib_save_LIBS
24526 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24527 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24528 if test $ac_cv_lib_ipc_shmat = yes; then
24529 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24535 # Check for libraries that X11R6 Xt/Xaw programs need.
24536 ac_save_LDFLAGS=$LDFLAGS
24537 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24538 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24539 # check for ICE first), but we must link in the order -lSM -lICE or
24540 # we get undefined symbols. So assume we have SM if we have ICE.
24541 # These have to be linked with before -lX11, unlike the other
24542 # libraries we check for below, so use a different variable.
24543 # John Interrante, Karl Berry
24544 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24545 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24546 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24547 echo $ECHO_N "(cached) $ECHO_C" >&6
24549 ac_check_lib_save_LIBS=$LIBS
24550 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
24551 cat >conftest.$ac_ext <<_ACEOF
24552 #line $LINENO "configure"
24555 cat confdefs.h >>conftest.$ac_ext
24556 cat >>conftest.$ac_ext <<_ACEOF
24557 /* end confdefs.h. */
24559 /* Override any gcc2 internal prototype to avoid an error. */
24563 /* We use char because int might match the return type of a gcc2
24564 builtin and then its argument prototype would still apply. */
24565 char IceConnectionNumber ();
24569 IceConnectionNumber ();
24574 rm -f conftest.$ac_objext conftest$ac_exeext
24575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24576 (eval $ac_link) 2>&5
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); } &&
24580 { ac_try='test -s conftest$ac_exeext'
24581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24582 (eval $ac_try) 2>&5
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); }; }; then
24586 ac_cv_lib_ICE_IceConnectionNumber=yes
24588 echo "$as_me: failed program was:" >&5
24589 sed 's/^/| /' conftest.$ac_ext >&5
24591 ac_cv_lib_ICE_IceConnectionNumber=no
24593 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24594 LIBS=$ac_check_lib_save_LIBS
24596 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24597 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24598 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24599 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24602 LDFLAGS=$ac_save_LDFLAGS
24607 if test "$no_x" = "yes"; then
24608 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24609 echo "$as_me: error: X11 not found" >&2;}
24610 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
24613 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
24614 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
24615 AFMINSTALL=afminstall
24616 COMPILED_X_PROGRAM=0
24618 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24619 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24622 for ac_dir in $SEARCH_INCLUDE /usr/include;
24624 if test -f "$ac_dir/Xm/Xm.h"; then
24625 ac_find_includes=$ac_dir
24630 if test "$ac_find_includes" != "" ; then
24631 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24632 echo "${ECHO_T}found in $ac_find_includes" >&6
24634 if test "x$ac_find_includes" = "x/usr/include"; then
24635 ac_path_to_include=""
24637 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
24639 if test $result = 0; then
24640 ac_path_to_include=""
24642 ac_path_to_include=" -I$ac_find_includes"
24646 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
24648 cat >conftest.$ac_ext <<_ACEOF
24649 #line $LINENO "configure"
24652 cat confdefs.h >>conftest.$ac_ext
24653 cat >>conftest.$ac_ext <<_ACEOF
24654 /* end confdefs.h. */
24663 version = xmUseVersion;
24669 rm -f conftest.$ac_objext
24670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24671 (eval $ac_compile) 2>&5
24673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674 (exit $ac_status); } &&
24675 { ac_try='test -s conftest.$ac_objext'
24676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24677 (eval $ac_try) 2>&5
24679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680 (exit $ac_status); }; }; then
24682 echo "$as_me:$LINENO: result: found in default search path" >&5
24683 echo "${ECHO_T}found in default search path" >&6
24684 COMPILED_X_PROGRAM=1
24687 echo "$as_me: failed program was:" >&5
24688 sed 's/^/| /' conftest.$ac_ext >&5
24691 echo "$as_me:$LINENO: result: no" >&5
24692 echo "${ECHO_T}no" >&6
24693 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24694 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24695 { (exit 1); exit 1; }; }
24699 rm -f conftest.$ac_objext conftest.$ac_ext
24702 if test "$COMPILED_X_PROGRAM" = 0; then
24703 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24704 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24707 for ac_dir in $SEARCH_LIB /usr/lib;
24709 for ac_extension in a so sl dylib; do
24710 if test -f "$ac_dir/libXm.$ac_extension"; then
24711 ac_find_libraries=$ac_dir
24717 if test "$ac_find_libraries" != "" ; then
24718 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24719 echo "${ECHO_T}found at $ac_find_libraries" >&6
24722 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24724 if test $result = 0; then
24727 ac_path_to_link=" -L$ac_find_libraries"
24730 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24732 save_CFLAGS=$CFLAGS
24733 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24735 cat >conftest.$ac_ext <<_ACEOF
24736 #line $LINENO "configure"
24739 cat confdefs.h >>conftest.$ac_ext
24740 cat >>conftest.$ac_ext <<_ACEOF
24741 /* end confdefs.h. */
24750 version = xmUseVersion;
24756 rm -f conftest.$ac_objext
24757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24758 (eval $ac_compile) 2>&5
24760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24761 (exit $ac_status); } &&
24762 { ac_try='test -s conftest.$ac_objext'
24763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24764 (eval $ac_try) 2>&5
24766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24767 (exit $ac_status); }; }; then
24769 echo "$as_me:$LINENO: result: found in default search path" >&5
24770 echo "${ECHO_T}found in default search path" >&6
24771 COMPILED_X_PROGRAM=1
24774 echo "$as_me: failed program was:" >&5
24775 sed 's/^/| /' conftest.$ac_ext >&5
24778 echo "$as_me:$LINENO: result: no" >&5
24779 echo "${ECHO_T}no" >&6
24780 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24781 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24782 { (exit 1); exit 1; }; }
24786 rm -f conftest.$ac_objext conftest.$ac_ext
24788 CFLAGS=$save_CFLAGS
24792 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24793 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24797 for libp in "" " -lXp"; do
24798 if test "$libs_found" = "0"; then
24799 for libsm_ice in "" " -lSM -lICE"; do
24800 if test "$libs_found" = "0"; then
24802 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24803 save_CFLAGS=$CFLAGS
24804 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24806 cat >conftest.$ac_ext <<_ACEOF
24807 #line $LINENO "configure"
24810 cat confdefs.h >>conftest.$ac_ext
24811 cat >>conftest.$ac_ext <<_ACEOF
24812 /* end confdefs.h. */
24815 #include <Xm/List.h>
24821 XmString string = NULL;
24824 XmListAddItem(w, string, position);
24830 rm -f conftest.$ac_objext conftest$ac_exeext
24831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24832 (eval $ac_link) 2>&5
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); } &&
24836 { ac_try='test -s conftest$ac_exeext'
24837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24838 (eval $ac_try) 2>&5
24840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24841 (exit $ac_status); }; }; then
24844 libsm_ice_link="$libsm_ice"
24845 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24846 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24850 echo "$as_me: failed program was:" >&5
24851 sed 's/^/| /' conftest.$ac_ext >&5
24856 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24859 CFLAGS=$save_CFLAGS
24865 if test "$libs_found" = "0"; then
24866 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24867 echo "${ECHO_T}can't find the right libraries" >&6
24868 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24869 echo "$as_me: error: can't link a simple motif program" >&2;}
24870 { (exit 1); exit 1; }; }
24873 save_CFLAGS=$CFLAGS
24874 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24875 echo "$as_me:$LINENO: checking for Motif 2" >&5
24876 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24877 cat >conftest.$ac_ext <<_ACEOF
24878 #line $LINENO "configure"
24881 cat confdefs.h >>conftest.$ac_ext
24882 cat >>conftest.$ac_ext <<_ACEOF
24883 /* end confdefs.h. */
24891 #if XmVersion < 2000
24892 #error "Not Motif 2"
24899 rm -f conftest.$ac_objext
24900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24901 (eval $ac_compile) 2>&5
24903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24904 (exit $ac_status); } &&
24905 { ac_try='test -s conftest.$ac_objext'
24906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24907 (eval $ac_try) 2>&5
24909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24910 (exit $ac_status); }; }; then
24912 cat >>confdefs.h <<\_ACEOF
24913 #define __WXMOTIF20__ 1
24916 echo "$as_me:$LINENO: result: found" >&5
24917 echo "${ECHO_T}found" >&6
24920 echo "$as_me: failed program was:" >&5
24921 sed 's/^/| /' conftest.$ac_ext >&5
24924 cat >>confdefs.h <<\_ACEOF
24925 #define __WXMOTIF20__ 0
24928 echo "$as_me:$LINENO: result: not found" >&5
24929 echo "${ECHO_T}not found" >&6
24932 rm -f conftest.$ac_objext conftest.$ac_ext
24933 CFLAGS=$save_CFLAGS
24935 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24936 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24941 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24942 if test "$wxUSE_LIBXPM" = "sys"; then
24943 echo "$as_me:$LINENO: checking for Xpm library" >&5
24944 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24947 for ac_dir in $SEARCH_LIB /usr/lib;
24949 for ac_extension in a so sl dylib; do
24950 if test -f "$ac_dir/libXpm.$ac_extension"; then
24951 ac_find_libraries=$ac_dir
24957 if test "$ac_find_libraries" != "" ; then
24959 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24961 if test $result = 0; then
24964 ac_path_to_link=" -L$ac_find_libraries"
24967 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24968 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24969 echo "${ECHO_T}found at $ac_find_libraries" >&6
24971 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
24972 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
24973 if test "${wx_cv_x11_xpm_h+set}" = set; then
24974 echo $ECHO_N "(cached) $ECHO_C" >&6
24977 save_CFLAGS=$CFLAGS
24978 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24980 cat >conftest.$ac_ext <<_ACEOF
24981 #line $LINENO "configure"
24984 cat confdefs.h >>conftest.$ac_ext
24985 cat >>conftest.$ac_ext <<_ACEOF
24986 /* end confdefs.h. */
24988 #include <X11/xpm.h>
24995 version = XpmLibraryVersion();
25001 rm -f conftest.$ac_objext
25002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25003 (eval $ac_compile) 2>&5
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); } &&
25007 { ac_try='test -s conftest.$ac_objext'
25008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25009 (eval $ac_try) 2>&5
25011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25012 (exit $ac_status); }; }; then
25013 wx_cv_x11_xpm_h=yes
25015 echo "$as_me: failed program was:" >&5
25016 sed 's/^/| /' conftest.$ac_ext >&5
25021 rm -f conftest.$ac_objext conftest.$ac_ext
25023 CFLAGS=$save_CFLAGS
25027 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
25028 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
25030 if test $wx_cv_x11_xpm_h = "yes"; then
25031 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
25032 cat >>confdefs.h <<\_ACEOF
25033 #define wxHAVE_LIB_XPM 1
25037 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
25038 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
25044 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
25045 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
25046 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
25047 echo $ECHO_N "(cached) $ECHO_C" >&6
25049 ac_check_lib_save_LIBS=$LIBS
25050 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
25051 cat >conftest.$ac_ext <<_ACEOF
25052 #line $LINENO "configure"
25055 cat confdefs.h >>conftest.$ac_ext
25056 cat >>conftest.$ac_ext <<_ACEOF
25057 /* end confdefs.h. */
25059 /* Override any gcc2 internal prototype to avoid an error. */
25063 /* We use char because int might match the return type of a gcc2
25064 builtin and then its argument prototype would still apply. */
25065 char XShapeQueryExtension ();
25069 XShapeQueryExtension ();
25074 rm -f conftest.$ac_objext conftest$ac_exeext
25075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25076 (eval $ac_link) 2>&5
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); } &&
25080 { ac_try='test -s conftest$ac_exeext'
25081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25082 (eval $ac_try) 2>&5
25084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25085 (exit $ac_status); }; }; then
25086 ac_cv_lib_Xext_XShapeQueryExtension=yes
25088 echo "$as_me: failed program was:" >&5
25089 sed 's/^/| /' conftest.$ac_ext >&5
25091 ac_cv_lib_Xext_XShapeQueryExtension=no
25093 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25094 LIBS=$ac_check_lib_save_LIBS
25096 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
25097 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
25098 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
25100 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
25106 if test "$wxHAVE_XEXT_LIB" = 1; then
25107 save_CFLAGS="$CFLAGS"
25108 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25110 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
25111 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
25112 cat >conftest.$ac_ext <<_ACEOF
25113 #line $LINENO "configure"
25116 cat confdefs.h >>conftest.$ac_ext
25117 cat >>conftest.$ac_ext <<_ACEOF
25118 /* end confdefs.h. */
25120 #include <X11/Xlib.h>
25121 #include <X11/extensions/shape.h>
25127 int dummy1, dummy2;
25128 XShapeQueryExtension((Display*)NULL,
25129 (int*)NULL, (int*)NULL);
25135 rm -f conftest.$ac_objext
25136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25137 (eval $ac_compile) 2>&5
25139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140 (exit $ac_status); } &&
25141 { ac_try='test -s conftest.$ac_objext'
25142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25143 (eval $ac_try) 2>&5
25145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25146 (exit $ac_status); }; }; then
25148 cat >>confdefs.h <<\_ACEOF
25149 #define HAVE_XSHAPE 1
25152 echo "$as_me:$LINENO: result: found" >&5
25153 echo "${ECHO_T}found" >&6
25156 echo "$as_me: failed program was:" >&5
25157 sed 's/^/| /' conftest.$ac_ext >&5
25160 echo "$as_me:$LINENO: result: not found" >&5
25161 echo "${ECHO_T}not found" >&6
25164 rm -f conftest.$ac_objext conftest.$ac_ext
25165 CFLAGS="$save_CFLAGS"
25170 if test "$wxUSE_MAC" = 1; then
25171 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
25172 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
25173 if test "$GCC" = yes; then
25174 echo "$as_me:$LINENO: result: gcc" >&5
25175 echo "${ECHO_T}gcc" >&6
25176 CPPFLAGS_PASCAL="-fpascal-strings"
25177 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
25178 echo "$as_me:$LINENO: result: xlc" >&5
25179 echo "${ECHO_T}xlc" >&6
25180 CPPFLAGS_PASCAL="-qmacpstr"
25182 echo "$as_me:$LINENO: result: none" >&5
25183 echo "${ECHO_T}none" >&6
25186 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
25188 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
25191 WXBASEPORT="_carbon"
25194 if test "$wxUSE_COCOA" = 1; then
25195 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
25200 if test "$wxUSE_PM" = 1; then
25205 if test "$TOOLKIT" = "PM" ; then
25208 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
25211 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
25213 if test "$wxUSE_UNIVERSAL" = "yes"; then
25214 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
25216 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
25217 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
25219 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
25220 if test "$wxUSE_X11" = 1; then
25221 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
25223 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
25225 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
25228 ALL_OBJECTS="\$(GUIOBJS)"
25229 ALL_SOURCES="\$(ALL_SOURCES)"
25230 ALL_HEADERS="\$(ALL_HEADERS)"
25233 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
25235 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
25236 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
25239 if test "$wxUSE_HTML" = "yes"; then
25240 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
25243 if test "$wxUSE_LIBJPEG" = "builtin" ; then
25244 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
25246 if test "$wxUSE_LIBTIFF" = "builtin" ; then
25247 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
25249 if test "$wxUSE_LIBPNG" = "builtin" ; then
25250 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
25253 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
25254 DISTDIR="wx\$(TOOLKIT)"
25260 if test "$USE_WIN32" = 1 ; then
25261 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
25262 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
25266 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
25267 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
25270 ALL_SOURCES="\$(ALL_SOURCES)"
25271 ALL_HEADERS="\$(ALL_HEADERS)"
25273 PORT_FILES="\${top_srcdir}/src/files.lst"
25275 GUIDIST="BASE_DIST"
25285 if test "$TOOLKIT" != "MSW" ; then
25287 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
25289 if test "${ac_cv_header_sql_h+set}" = set; then
25290 echo "$as_me:$LINENO: checking for sql.h" >&5
25291 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
25292 if test "${ac_cv_header_sql_h+set}" = set; then
25293 echo $ECHO_N "(cached) $ECHO_C" >&6
25295 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
25296 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
25298 # Is the header compilable?
25299 echo "$as_me:$LINENO: checking sql.h usability" >&5
25300 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
25301 cat >conftest.$ac_ext <<_ACEOF
25302 #line $LINENO "configure"
25305 cat confdefs.h >>conftest.$ac_ext
25306 cat >>conftest.$ac_ext <<_ACEOF
25307 /* end confdefs.h. */
25308 $ac_includes_default
25311 rm -f conftest.$ac_objext
25312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25313 (eval $ac_compile) 2>&5
25315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25316 (exit $ac_status); } &&
25317 { ac_try='test -s conftest.$ac_objext'
25318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25319 (eval $ac_try) 2>&5
25321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25322 (exit $ac_status); }; }; then
25323 ac_header_compiler=yes
25325 echo "$as_me: failed program was:" >&5
25326 sed 's/^/| /' conftest.$ac_ext >&5
25328 ac_header_compiler=no
25330 rm -f conftest.$ac_objext conftest.$ac_ext
25331 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25332 echo "${ECHO_T}$ac_header_compiler" >&6
25334 # Is the header present?
25335 echo "$as_me:$LINENO: checking sql.h presence" >&5
25336 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
25337 cat >conftest.$ac_ext <<_ACEOF
25338 #line $LINENO "configure"
25341 cat confdefs.h >>conftest.$ac_ext
25342 cat >>conftest.$ac_ext <<_ACEOF
25343 /* end confdefs.h. */
25346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25349 grep -v '^ *+' conftest.er1 >conftest.err
25351 cat conftest.err >&5
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); } >/dev/null; then
25354 if test -s conftest.err; then
25355 ac_cpp_err=$ac_c_preproc_warn_flag
25362 if test -z "$ac_cpp_err"; then
25363 ac_header_preproc=yes
25365 echo "$as_me: failed program was:" >&5
25366 sed 's/^/| /' conftest.$ac_ext >&5
25368 ac_header_preproc=no
25370 rm -f conftest.err conftest.$ac_ext
25371 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25372 echo "${ECHO_T}$ac_header_preproc" >&6
25374 # So? What about this header?
25375 case $ac_header_compiler:$ac_header_preproc in
25377 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
25378 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25379 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
25380 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
25383 ## ------------------------------------ ##
25384 ## Report this to bug-autoconf@gnu.org. ##
25385 ## ------------------------------------ ##
25388 sed "s/^/$as_me: WARNING: /" >&2
25391 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
25392 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
25393 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
25394 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
25395 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
25396 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
25399 ## ------------------------------------ ##
25400 ## Report this to bug-autoconf@gnu.org. ##
25401 ## ------------------------------------ ##
25404 sed "s/^/$as_me: WARNING: /" >&2
25407 echo "$as_me:$LINENO: checking for sql.h" >&5
25408 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
25409 if test "${ac_cv_header_sql_h+set}" = set; then
25410 echo $ECHO_N "(cached) $ECHO_C" >&6
25412 ac_cv_header_sql_h=$ac_header_preproc
25414 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
25415 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
25418 if test $ac_cv_header_sql_h = yes; then
25423 if test "x$found_sql_h" = "x1" ; then
25424 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
25425 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
25426 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
25427 echo $ECHO_N "(cached) $ECHO_C" >&6
25429 ac_check_lib_save_LIBS=$LIBS
25430 LIBS="-liodbc $LIBS"
25431 cat >conftest.$ac_ext <<_ACEOF
25432 #line $LINENO "configure"
25435 cat confdefs.h >>conftest.$ac_ext
25436 cat >>conftest.$ac_ext <<_ACEOF
25437 /* end confdefs.h. */
25439 /* Override any gcc2 internal prototype to avoid an error. */
25443 /* We use char because int might match the return type of a gcc2
25444 builtin and then its argument prototype would still apply. */
25445 char SQLAllocEnv ();
25454 rm -f conftest.$ac_objext conftest$ac_exeext
25455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25456 (eval $ac_link) 2>&5
25458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25459 (exit $ac_status); } &&
25460 { ac_try='test -s conftest$ac_exeext'
25461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25462 (eval $ac_try) 2>&5
25464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25465 (exit $ac_status); }; }; then
25466 ac_cv_lib_iodbc_SQLAllocEnv=yes
25468 echo "$as_me: failed program was:" >&5
25469 sed 's/^/| /' conftest.$ac_ext >&5
25471 ac_cv_lib_iodbc_SQLAllocEnv=no
25473 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25474 LIBS=$ac_check_lib_save_LIBS
25476 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
25477 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
25478 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
25479 ODBC_LINK=" -liodbc"
25482 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
25483 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
25484 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
25485 echo $ECHO_N "(cached) $ECHO_C" >&6
25487 ac_check_lib_save_LIBS=$LIBS
25488 LIBS="-lunixodbc $LIBS"
25489 cat >conftest.$ac_ext <<_ACEOF
25490 #line $LINENO "configure"
25493 cat confdefs.h >>conftest.$ac_ext
25494 cat >>conftest.$ac_ext <<_ACEOF
25495 /* end confdefs.h. */
25497 /* Override any gcc2 internal prototype to avoid an error. */
25501 /* We use char because int might match the return type of a gcc2
25502 builtin and then its argument prototype would still apply. */
25503 char SQLAllocEnv ();
25512 rm -f conftest.$ac_objext conftest$ac_exeext
25513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25514 (eval $ac_link) 2>&5
25516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25517 (exit $ac_status); } &&
25518 { ac_try='test -s conftest$ac_exeext'
25519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25520 (eval $ac_try) 2>&5
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); }; }; then
25524 ac_cv_lib_unixodbc_SQLAllocEnv=yes
25526 echo "$as_me: failed program was:" >&5
25527 sed 's/^/| /' conftest.$ac_ext >&5
25529 ac_cv_lib_unixodbc_SQLAllocEnv=no
25531 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25532 LIBS=$ac_check_lib_save_LIBS
25534 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
25535 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
25536 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
25537 ODBC_LINK=" -lunixodbc"
25540 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
25541 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
25542 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
25543 echo $ECHO_N "(cached) $ECHO_C" >&6
25545 ac_check_lib_save_LIBS=$LIBS
25546 LIBS="-lodbc $LIBS"
25547 cat >conftest.$ac_ext <<_ACEOF
25548 #line $LINENO "configure"
25551 cat confdefs.h >>conftest.$ac_ext
25552 cat >>conftest.$ac_ext <<_ACEOF
25553 /* end confdefs.h. */
25555 /* Override any gcc2 internal prototype to avoid an error. */
25559 /* We use char because int might match the return type of a gcc2
25560 builtin and then its argument prototype would still apply. */
25561 char SQLAllocEnv ();
25570 rm -f conftest.$ac_objext conftest$ac_exeext
25571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25572 (eval $ac_link) 2>&5
25574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25575 (exit $ac_status); } &&
25576 { ac_try='test -s conftest$ac_exeext'
25577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25578 (eval $ac_try) 2>&5
25580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25581 (exit $ac_status); }; }; then
25582 ac_cv_lib_odbc_SQLAllocEnv=yes
25584 echo "$as_me: failed program was:" >&5
25585 sed 's/^/| /' conftest.$ac_ext >&5
25587 ac_cv_lib_odbc_SQLAllocEnv=no
25589 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25590 LIBS=$ac_check_lib_save_LIBS
25592 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
25593 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
25594 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
25595 ODBC_LINK=" -lodbc"
25605 if test "x$ODBC_LINK" = "x" ; then
25606 if test "$wxUSE_ODBC" = "sys" ; then
25607 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25608 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25609 { (exit 1); exit 1; }; }
25611 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25612 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25619 if test "$wxUSE_ODBC" != "no" ; then
25620 cat >>confdefs.h <<\_ACEOF
25621 #define wxUSE_ODBC 1
25624 if test "$wxUSE_ODBC" = "builtin" ; then
25625 cat >>confdefs.h <<\_ACEOF
25626 #define wxUSE_BUILTIN_IODBC 1
25630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
25632 WXODBCFLAG="-D_IODBC_"
25636 if test "$wxUSE_REGEX" = "builtin" ; then
25637 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
25639 if test "$wxUSE_ZLIB" = "builtin" ; then
25640 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
25643 if test "$wxUSE_DISPLAY" = "yes"; then
25644 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
25645 echo "$as_me:$LINENO: checking for Xinerama" >&5
25646 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
25649 for ac_dir in $SEARCH_LIB /usr/lib;
25651 for ac_extension in a so sl dylib; do
25652 if test -f "$ac_dir/libXinerama.$ac_extension"; then
25653 ac_find_libraries=$ac_dir
25659 if test "$ac_find_libraries" != "" ; then
25661 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25663 if test $result = 0; then
25666 ac_path_to_link=" -L$ac_find_libraries"
25669 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25670 LDFLAGS="$LDFLAGS $ac_path_to_link"
25672 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
25673 echo "$as_me:$LINENO: result: yes" >&5
25674 echo "${ECHO_T}yes" >&6
25676 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
25677 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
25680 for ac_dir in $SEARCH_LIB /usr/lib;
25682 for ac_extension in a so sl dylib; do
25683 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
25684 ac_find_libraries=$ac_dir
25690 if test "$ac_find_libraries" != "" ; then
25691 echo "$as_me:$LINENO: result: yes" >&5
25692 echo "${ECHO_T}yes" >&6
25694 for ac_header in X11/extensions/xf86vmode.h
25696 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25697 echo "$as_me:$LINENO: checking for $ac_header" >&5
25698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25700 echo $ECHO_N "(cached) $ECHO_C" >&6
25702 cat >conftest.$ac_ext <<_ACEOF
25703 #line $LINENO "configure"
25706 cat confdefs.h >>conftest.$ac_ext
25707 cat >>conftest.$ac_ext <<_ACEOF
25708 /* end confdefs.h. */
25710 #if HAVE_X11_XLIB_H
25711 #include <X11/Xlib.h>
25715 #include <$ac_header>
25717 rm -f conftest.$ac_objext
25718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25719 (eval $ac_compile) 2>&5
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); } &&
25723 { ac_try='test -s conftest.$ac_objext'
25724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25725 (eval $ac_try) 2>&5
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); }; }; then
25729 eval "$as_ac_Header=yes"
25731 echo "$as_me: failed program was:" >&5
25732 sed 's/^/| /' conftest.$ac_ext >&5
25734 eval "$as_ac_Header=no"
25736 rm -f conftest.$ac_objext conftest.$ac_ext
25738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25741 cat >>confdefs.h <<_ACEOF
25742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25745 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
25752 echo "$as_me:$LINENO: result: no" >&5
25753 echo "${ECHO_T}no" >&6
25757 echo "$as_me:$LINENO: result: no" >&5
25758 echo "${ECHO_T}no" >&6
25759 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
25760 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
25768 if test "$wxUSE_OPENGL" = "yes"; then
25769 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25770 OPENGL_LIBS="-framework OpenGL -framework AGL"
25771 elif test "$wxUSE_MSW" = 1; then
25772 OPENGL_LIBS="-lopengl32 -lglu32"
25777 for ac_dir in $SEARCH_INCLUDE /usr/include;
25779 if test -f "$ac_dir/GL/gl.h"; then
25780 ac_find_includes=$ac_dir
25785 if test "$ac_find_includes" != "" ; then
25786 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25787 echo "${ECHO_T}found in $ac_find_includes" >&6
25789 if test "x$ac_find_includes" = "x/usr/include"; then
25790 ac_path_to_include=""
25792 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
25794 if test $result = 0; then
25795 ac_path_to_include=""
25797 ac_path_to_include=" -I$ac_find_includes"
25801 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
25804 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25805 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25806 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25807 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25808 echo $ECHO_N "(cached) $ECHO_C" >&6
25810 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25811 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25813 # Is the header compilable?
25814 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25815 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25816 cat >conftest.$ac_ext <<_ACEOF
25817 #line $LINENO "configure"
25820 cat confdefs.h >>conftest.$ac_ext
25821 cat >>conftest.$ac_ext <<_ACEOF
25822 /* end confdefs.h. */
25823 $ac_includes_default
25826 rm -f conftest.$ac_objext
25827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25828 (eval $ac_compile) 2>&5
25830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25831 (exit $ac_status); } &&
25832 { ac_try='test -s conftest.$ac_objext'
25833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25834 (eval $ac_try) 2>&5
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); }; }; then
25838 ac_header_compiler=yes
25840 echo "$as_me: failed program was:" >&5
25841 sed 's/^/| /' conftest.$ac_ext >&5
25843 ac_header_compiler=no
25845 rm -f conftest.$ac_objext conftest.$ac_ext
25846 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25847 echo "${ECHO_T}$ac_header_compiler" >&6
25849 # Is the header present?
25850 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25851 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25852 cat >conftest.$ac_ext <<_ACEOF
25853 #line $LINENO "configure"
25856 cat confdefs.h >>conftest.$ac_ext
25857 cat >>conftest.$ac_ext <<_ACEOF
25858 /* end confdefs.h. */
25861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25862 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25864 grep -v '^ *+' conftest.er1 >conftest.err
25866 cat conftest.err >&5
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); } >/dev/null; then
25869 if test -s conftest.err; then
25870 ac_cpp_err=$ac_c_preproc_warn_flag
25877 if test -z "$ac_cpp_err"; then
25878 ac_header_preproc=yes
25880 echo "$as_me: failed program was:" >&5
25881 sed 's/^/| /' conftest.$ac_ext >&5
25883 ac_header_preproc=no
25885 rm -f conftest.err conftest.$ac_ext
25886 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25887 echo "${ECHO_T}$ac_header_preproc" >&6
25889 # So? What about this header?
25890 case $ac_header_compiler:$ac_header_preproc in
25892 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25893 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25894 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25895 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25898 ## ------------------------------------ ##
25899 ## Report this to bug-autoconf@gnu.org. ##
25900 ## ------------------------------------ ##
25903 sed "s/^/$as_me: WARNING: /" >&2
25906 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25907 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25908 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25909 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25910 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25911 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25914 ## ------------------------------------ ##
25915 ## Report this to bug-autoconf@gnu.org. ##
25916 ## ------------------------------------ ##
25919 sed "s/^/$as_me: WARNING: /" >&2
25922 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25923 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25924 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25925 echo $ECHO_N "(cached) $ECHO_C" >&6
25927 ac_cv_header_GL_gl_h=$ac_header_preproc
25929 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25930 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25933 if test $ac_cv_header_GL_gl_h = yes; then
25937 echo "$as_me:$LINENO: checking for -lGL" >&5
25938 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25941 for ac_dir in $SEARCH_LIB /usr/lib;
25943 for ac_extension in a so sl dylib; do
25944 if test -f "$ac_dir/libGL.$ac_extension"; then
25945 ac_find_libraries=$ac_dir
25951 if test "$ac_find_libraries" != "" ; then
25953 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25955 if test $result = 0; then
25958 ac_path_to_link=" -L$ac_find_libraries"
25961 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25962 LDFLAGS_GL="$ac_path_to_link"
25967 for ac_dir in $SEARCH_LIB /usr/lib;
25969 for ac_extension in a so sl dylib; do
25970 if test -f "$ac_dir/libGLU.$ac_extension"; then
25971 ac_find_libraries=$ac_dir
25977 if test "$ac_find_libraries" != "" ; then
25979 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25981 if test $result = 0; then
25984 ac_path_to_link=" -L$ac_find_libraries"
25987 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25988 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25989 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25993 OPENGL_LIBS="-lGL -lGLU"
25994 echo "$as_me:$LINENO: result: yes" >&5
25995 echo "${ECHO_T}yes" >&6
25999 if test "$found_gl" != 1; then
26000 echo "$as_me:$LINENO: result: no" >&5
26001 echo "${ECHO_T}no" >&6
26002 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
26003 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
26006 for ac_dir in $SEARCH_LIB /usr/lib;
26008 for ac_extension in a so sl dylib; do
26009 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
26010 ac_find_libraries=$ac_dir
26016 if test "$ac_find_libraries" != "" ; then
26018 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26020 if test $result = 0; then
26023 ac_path_to_link=" -L$ac_find_libraries"
26026 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
26027 OPENGL_LIBS="-lMesaGL -lMesaGLU"
26028 echo "$as_me:$LINENO: result: yes" >&5
26029 echo "${ECHO_T}yes" >&6
26031 echo "$as_me:$LINENO: result: no" >&5
26032 echo "${ECHO_T}no" >&6
26040 if test "x$OPENGL_LIBS" = "x"; then
26041 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
26042 echo "$as_me: error: OpenGL libraries not available" >&2;}
26043 { (exit 1); exit 1; }; }
26047 if test "$wxUSE_OPENGL" = "yes"; then
26049 cat >>confdefs.h <<\_ACEOF
26050 #define wxUSE_OPENGL 1
26053 cat >>confdefs.h <<\_ACEOF
26054 #define wxUSE_GLCANVAS 1
26057 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
26061 if test -z "$TOOLKIT_VPATH" ; then
26062 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
26065 if test -n "$TOOLKIT" ; then
26066 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
26070 lib_unicode_suffix=
26071 if test "$wxUSE_UNICODE" = "yes"; then
26072 lib_unicode_suffix=u
26078 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
26084 if test "$wxUSE_DEBUG_INFO" = "yes"; then
26088 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
26090 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
26091 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
26093 if test "$cross_compiling" = "yes"; then
26094 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
26095 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
26096 HOST_SUFFIX="-${host_alias}"
26099 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
26100 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
26101 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
26102 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
26104 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26105 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26107 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
26108 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
26109 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
26110 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26113 *-*-cygwin* | *-*-mingw32* )
26114 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
26115 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26120 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26121 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26123 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
26124 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
26125 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
26126 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26128 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
26129 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
26130 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
26135 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
26136 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
26138 WXCONFIG_LIBS="-l${WX_LIBRARY}"
26139 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
26141 if test "$wxUSE_OPENGL" = "yes"; then
26142 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
26143 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
26148 if test "$wxUSE_SHARED" = "yes"; then
26150 *-pc-os2_emx | *-pc-os2-emx | \
26153 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
26154 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
26160 if test "$wxUSE_SHARED" = "yes"; then
26164 found_versioning=no
26167 if test $found_versioning = no ; then
26168 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
26169 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
26170 if test "${wx_cv_version_script+set}" = set; then
26171 echo $ECHO_N "(cached) $ECHO_C" >&6
26174 echo "VER_1 { *; };" >conftest.sym
26175 echo "int main() { return 0; }" >conftest.cpp
26178 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
26179 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
26180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26181 (eval $ac_try) 2>&5
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); }; } ; then
26185 if test -s conftest.stderr ; then
26186 wx_cv_version_script=no
26188 wx_cv_version_script=yes
26191 wx_cv_version_script=no
26193 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
26196 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
26197 echo "${ECHO_T}$wx_cv_version_script" >&6
26198 if test $wx_cv_version_script = yes ; then
26199 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
26205 *-*-linux* | *-*-gnu* )
26206 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
26210 if test "$GCC" = yes ; then
26211 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
26213 saveLdflags="$LDFLAGS"
26214 LDFLAGS="$saveLdflags -Wl,-rpath,/"
26215 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
26216 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
26217 cat >conftest.$ac_ext <<_ACEOF
26218 #line $LINENO "configure"
26221 cat confdefs.h >>conftest.$ac_ext
26222 cat >>conftest.$ac_ext <<_ACEOF
26223 /* end confdefs.h. */
26233 rm -f conftest.$ac_objext conftest$ac_exeext
26234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26235 (eval $ac_link) 2>&5
26237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238 (exit $ac_status); } &&
26239 { ac_try='test -s conftest$ac_exeext'
26240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26241 (eval $ac_try) 2>&5
26243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244 (exit $ac_status); }; }; then
26246 echo "$as_me:$LINENO: result: yes" >&5
26247 echo "${ECHO_T}yes" >&6
26248 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
26251 echo "$as_me: failed program was:" >&5
26252 sed 's/^/| /' conftest.$ac_ext >&5
26255 echo "$as_me:$LINENO: result: no" >&5
26256 echo "${ECHO_T}no" >&6
26257 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
26258 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
26259 LDFLAGS="$saveLdflags -Wl,-R,/"
26260 cat >conftest.$ac_ext <<_ACEOF
26261 #line $LINENO "configure"
26264 cat confdefs.h >>conftest.$ac_ext
26265 cat >>conftest.$ac_ext <<_ACEOF
26266 /* end confdefs.h. */
26276 rm -f conftest.$ac_objext conftest$ac_exeext
26277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26278 (eval $ac_link) 2>&5
26280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26281 (exit $ac_status); } &&
26282 { ac_try='test -s conftest$ac_exeext'
26283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26284 (eval $ac_try) 2>&5
26286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26287 (exit $ac_status); }; }; then
26289 echo "$as_me:$LINENO: result: yes" >&5
26290 echo "${ECHO_T}yes" >&6
26291 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
26293 echo "$as_me: failed program was:" >&5
26294 sed 's/^/| /' conftest.$ac_ext >&5
26297 echo "$as_me:$LINENO: result: no" >&5
26298 echo "${ECHO_T}no" >&6
26301 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26304 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26305 LDFLAGS="$saveLdflags"
26307 SHARED_LD="${CXX} -G -o"
26309 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
26313 powerpc-*-darwin* )
26314 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
26315 cat <<EOF >change-install-names
26317 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
26318 inst_cmd="install_name_tool "
26319 for i in \${libnames} ; do
26320 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
26324 chmod +x change-install-names
26329 if test "x$WX_TARGET_LIBRARY" = "x"; then
26330 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
26331 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
26334 WX_TARGET_LIBRARY_TYPE="so"
26335 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
26338 if test "$wxUSE_SHARED" = "no"; then
26340 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
26341 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
26344 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
26345 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
26348 if test "$wxUSE_OPENGL" = "yes"; then
26349 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
26350 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
26352 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
26355 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
26356 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
26358 WX_TARGET_LIBRARY_TYPE="a"
26359 INSTALL_LIBRARY='$(INSTALL_DATA)'
26366 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
26367 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
26368 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
26369 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
26371 # Extract the first word of "Rez", so it can be a program name with args.
26372 set dummy Rez; ac_word=$2
26373 echo "$as_me:$LINENO: checking for $ac_word" >&5
26374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26375 if test "${ac_cv_prog_RESCOMP+set}" = set; then
26376 echo $ECHO_N "(cached) $ECHO_C" >&6
26378 if test -n "$RESCOMP"; then
26379 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
26381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26382 for as_dir in $PATH
26385 test -z "$as_dir" && as_dir=.
26386 for ac_exec_ext in '' $ac_executable_extensions; do
26387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26388 ac_cv_prog_RESCOMP="Rez"
26389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26395 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
26398 RESCOMP=$ac_cv_prog_RESCOMP
26399 if test -n "$RESCOMP"; then
26400 echo "$as_me:$LINENO: result: $RESCOMP" >&5
26401 echo "${ECHO_T}$RESCOMP" >&6
26403 echo "$as_me:$LINENO: result: no" >&5
26404 echo "${ECHO_T}no" >&6
26407 # Extract the first word of "DeRez", so it can be a program name with args.
26408 set dummy DeRez; ac_word=$2
26409 echo "$as_me:$LINENO: checking for $ac_word" >&5
26410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26411 if test "${ac_cv_prog_DEREZ+set}" = set; then
26412 echo $ECHO_N "(cached) $ECHO_C" >&6
26414 if test -n "$DEREZ"; then
26415 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
26417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26418 for as_dir in $PATH
26421 test -z "$as_dir" && as_dir=.
26422 for ac_exec_ext in '' $ac_executable_extensions; do
26423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26424 ac_cv_prog_DEREZ="DeRez"
26425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26431 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
26434 DEREZ=$ac_cv_prog_DEREZ
26435 if test -n "$DEREZ"; then
26436 echo "$as_me:$LINENO: result: $DEREZ" >&5
26437 echo "${ECHO_T}$DEREZ" >&6
26439 echo "$as_me:$LINENO: result: no" >&5
26440 echo "${ECHO_T}no" >&6
26443 # Extract the first word of "SetFile", so it can be a program name with args.
26444 set dummy SetFile; ac_word=$2
26445 echo "$as_me:$LINENO: checking for $ac_word" >&5
26446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26447 if test "${ac_cv_prog_SETFILE+set}" = set; then
26448 echo $ECHO_N "(cached) $ECHO_C" >&6
26450 if test -n "$SETFILE"; then
26451 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
26453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26454 for as_dir in $PATH
26457 test -z "$as_dir" && as_dir=.
26458 for ac_exec_ext in '' $ac_executable_extensions; do
26459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26460 ac_cv_prog_SETFILE="SetFile"
26461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26467 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
26470 SETFILE=$ac_cv_prog_SETFILE
26471 if test -n "$SETFILE"; then
26472 echo "$as_me:$LINENO: result: $SETFILE" >&5
26473 echo "${ECHO_T}$SETFILE" >&6
26475 echo "$as_me:$LINENO: result: no" >&5
26476 echo "${ECHO_T}no" >&6
26480 MACSETFILE="\$(SETFILE)"
26482 if test "$wxUSE_MAC" = 1; then
26483 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
26485 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
26487 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
26488 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
26494 if test "$wxUSE_PM" = 1; then
26495 MACRESCOMP="emxbind -ep"
26503 echo "$as_me:$LINENO: checking for mode_t" >&5
26504 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
26505 if test "${ac_cv_type_mode_t+set}" = set; then
26506 echo $ECHO_N "(cached) $ECHO_C" >&6
26508 cat >conftest.$ac_ext <<_ACEOF
26509 #line $LINENO "configure"
26512 cat confdefs.h >>conftest.$ac_ext
26513 cat >>conftest.$ac_ext <<_ACEOF
26514 /* end confdefs.h. */
26515 $ac_includes_default
26521 if (sizeof (mode_t))
26527 rm -f conftest.$ac_objext
26528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26529 (eval $ac_compile) 2>&5
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); } &&
26533 { ac_try='test -s conftest.$ac_objext'
26534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26535 (eval $ac_try) 2>&5
26537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538 (exit $ac_status); }; }; then
26539 ac_cv_type_mode_t=yes
26541 echo "$as_me: failed program was:" >&5
26542 sed 's/^/| /' conftest.$ac_ext >&5
26544 ac_cv_type_mode_t=no
26546 rm -f conftest.$ac_objext conftest.$ac_ext
26548 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
26549 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
26550 if test $ac_cv_type_mode_t = yes; then
26554 cat >>confdefs.h <<_ACEOF
26560 echo "$as_me:$LINENO: checking for off_t" >&5
26561 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
26562 if test "${ac_cv_type_off_t+set}" = set; then
26563 echo $ECHO_N "(cached) $ECHO_C" >&6
26565 cat >conftest.$ac_ext <<_ACEOF
26566 #line $LINENO "configure"
26569 cat confdefs.h >>conftest.$ac_ext
26570 cat >>conftest.$ac_ext <<_ACEOF
26571 /* end confdefs.h. */
26572 $ac_includes_default
26578 if (sizeof (off_t))
26584 rm -f conftest.$ac_objext
26585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26586 (eval $ac_compile) 2>&5
26588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26589 (exit $ac_status); } &&
26590 { ac_try='test -s conftest.$ac_objext'
26591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26592 (eval $ac_try) 2>&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); }; }; then
26596 ac_cv_type_off_t=yes
26598 echo "$as_me: failed program was:" >&5
26599 sed 's/^/| /' conftest.$ac_ext >&5
26601 ac_cv_type_off_t=no
26603 rm -f conftest.$ac_objext conftest.$ac_ext
26605 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26606 echo "${ECHO_T}$ac_cv_type_off_t" >&6
26607 if test $ac_cv_type_off_t = yes; then
26611 cat >>confdefs.h <<_ACEOF
26617 echo "$as_me:$LINENO: checking for pid_t" >&5
26618 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26619 if test "${ac_cv_type_pid_t+set}" = set; then
26620 echo $ECHO_N "(cached) $ECHO_C" >&6
26622 cat >conftest.$ac_ext <<_ACEOF
26623 #line $LINENO "configure"
26626 cat confdefs.h >>conftest.$ac_ext
26627 cat >>conftest.$ac_ext <<_ACEOF
26628 /* end confdefs.h. */
26629 $ac_includes_default
26635 if (sizeof (pid_t))
26641 rm -f conftest.$ac_objext
26642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26643 (eval $ac_compile) 2>&5
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); } &&
26647 { ac_try='test -s conftest.$ac_objext'
26648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26649 (eval $ac_try) 2>&5
26651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26652 (exit $ac_status); }; }; then
26653 ac_cv_type_pid_t=yes
26655 echo "$as_me: failed program was:" >&5
26656 sed 's/^/| /' conftest.$ac_ext >&5
26658 ac_cv_type_pid_t=no
26660 rm -f conftest.$ac_objext conftest.$ac_ext
26662 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26663 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26664 if test $ac_cv_type_pid_t = yes; then
26668 cat >>confdefs.h <<_ACEOF
26674 echo "$as_me:$LINENO: checking for size_t" >&5
26675 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26676 if test "${ac_cv_type_size_t+set}" = set; then
26677 echo $ECHO_N "(cached) $ECHO_C" >&6
26679 cat >conftest.$ac_ext <<_ACEOF
26680 #line $LINENO "configure"
26683 cat confdefs.h >>conftest.$ac_ext
26684 cat >>conftest.$ac_ext <<_ACEOF
26685 /* end confdefs.h. */
26686 $ac_includes_default
26692 if (sizeof (size_t))
26698 rm -f conftest.$ac_objext
26699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26700 (eval $ac_compile) 2>&5
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); } &&
26704 { ac_try='test -s conftest.$ac_objext'
26705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26706 (eval $ac_try) 2>&5
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); }; }; then
26710 ac_cv_type_size_t=yes
26712 echo "$as_me: failed program was:" >&5
26713 sed 's/^/| /' conftest.$ac_ext >&5
26715 ac_cv_type_size_t=no
26717 rm -f conftest.$ac_objext conftest.$ac_ext
26719 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26720 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26721 if test $ac_cv_type_size_t = yes; then
26725 cat >>confdefs.h <<_ACEOF
26726 #define size_t unsigned
26731 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26732 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26733 if test "${ac_cv_type_uid_t+set}" = set; then
26734 echo $ECHO_N "(cached) $ECHO_C" >&6
26736 cat >conftest.$ac_ext <<_ACEOF
26737 #line $LINENO "configure"
26740 cat confdefs.h >>conftest.$ac_ext
26741 cat >>conftest.$ac_ext <<_ACEOF
26742 /* end confdefs.h. */
26743 #include <sys/types.h>
26746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26747 $EGREP "uid_t" >/dev/null 2>&1; then
26748 ac_cv_type_uid_t=yes
26750 ac_cv_type_uid_t=no
26755 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26756 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26757 if test $ac_cv_type_uid_t = no; then
26759 cat >>confdefs.h <<\_ACEOF
26764 cat >>confdefs.h <<\_ACEOF
26774 ac_cpp='$CXXCPP $CPPFLAGS'
26775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26779 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26780 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26781 if test "${wx_cv_size_t_is_uint+set}" = set; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26785 cat >conftest.$ac_ext <<_ACEOF
26786 #line $LINENO "configure"
26789 cat confdefs.h >>conftest.$ac_ext
26790 cat >>conftest.$ac_ext <<_ACEOF
26791 /* end confdefs.h. */
26792 #include <stddef.h>
26799 struct Foo { void foo(size_t); void foo(unsigned int); };
26807 rm -f conftest.$ac_objext
26808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26809 (eval $ac_compile) 2>&5
26811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26812 (exit $ac_status); } &&
26813 { ac_try='test -s conftest.$ac_objext'
26814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26815 (eval $ac_try) 2>&5
26817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26818 (exit $ac_status); }; }; then
26819 wx_cv_size_t_is_uint=no
26821 echo "$as_me: failed program was:" >&5
26822 sed 's/^/| /' conftest.$ac_ext >&5
26824 wx_cv_size_t_is_uint=yes
26827 rm -f conftest.$ac_objext conftest.$ac_ext
26831 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26832 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26834 if test "$wx_cv_size_t_is_uint" = "yes"; then
26835 cat >>confdefs.h <<\_ACEOF
26836 #define wxSIZE_T_IS_UINT 1
26840 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26841 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26842 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26843 echo $ECHO_N "(cached) $ECHO_C" >&6
26845 cat >conftest.$ac_ext <<_ACEOF
26846 #line $LINENO "configure"
26849 cat confdefs.h >>conftest.$ac_ext
26850 cat >>conftest.$ac_ext <<_ACEOF
26851 /* end confdefs.h. */
26852 #include <stddef.h>
26859 struct Foo { void foo(size_t); void foo(unsigned long); };
26867 rm -f conftest.$ac_objext
26868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26869 (eval $ac_compile) 2>&5
26871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26872 (exit $ac_status); } &&
26873 { ac_try='test -s conftest.$ac_objext'
26874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26875 (eval $ac_try) 2>&5
26877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26878 (exit $ac_status); }; }; then
26879 wx_cv_size_t_is_ulong=no
26881 echo "$as_me: failed program was:" >&5
26882 sed 's/^/| /' conftest.$ac_ext >&5
26884 wx_cv_size_t_is_ulong=yes
26887 rm -f conftest.$ac_objext conftest.$ac_ext
26890 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26891 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26893 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26894 cat >>confdefs.h <<\_ACEOF
26895 #define wxSIZE_T_IS_ULONG 1
26902 ac_cpp='$CPP $CPPFLAGS'
26903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26909 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26910 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26911 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26912 echo $ECHO_N "(cached) $ECHO_C" >&6
26915 cat >conftest.$ac_ext <<_ACEOF
26916 #line $LINENO "configure"
26919 cat confdefs.h >>conftest.$ac_ext
26920 cat >>conftest.$ac_ext <<_ACEOF
26921 /* end confdefs.h. */
26935 rm -f conftest.$ac_objext
26936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26937 (eval $ac_compile) 2>&5
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); } &&
26941 { ac_try='test -s conftest.$ac_objext'
26942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26943 (eval $ac_try) 2>&5
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); }; }; then
26948 wx_cv_struct_pw_gecos=yes
26951 echo "$as_me: failed program was:" >&5
26952 sed 's/^/| /' conftest.$ac_ext >&5
26955 wx_cv_struct_pw_gecos=no
26959 rm -f conftest.$ac_objext conftest.$ac_ext
26963 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26964 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26966 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26967 cat >>confdefs.h <<\_ACEOF
26968 #define HAVE_PW_GECOS 1
26974 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26975 cat >>confdefs.h <<\_ACEOF
26976 #define wxUSE_WCHAR_T 1
26983 for ac_func in wcslen
26985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26986 echo "$as_me:$LINENO: checking for $ac_func" >&5
26987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26988 if eval "test \"\${$as_ac_var+set}\" = set"; then
26989 echo $ECHO_N "(cached) $ECHO_C" >&6
26991 cat >conftest.$ac_ext <<_ACEOF
26992 #line $LINENO "configure"
26995 cat confdefs.h >>conftest.$ac_ext
26996 cat >>conftest.$ac_ext <<_ACEOF
26997 /* end confdefs.h. */
26998 /* System header to define __stub macros and hopefully few prototypes,
26999 which can conflict with char $ac_func (); below.
27000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27001 <limits.h> exists even on freestanding compilers. */
27003 # include <limits.h>
27005 # include <assert.h>
27007 /* Override any gcc2 internal prototype to avoid an error. */
27012 /* We use char because int might match the return type of a gcc2
27013 builtin and then its argument prototype would still apply. */
27015 /* The GNU C library defines this for functions which it implements
27016 to always fail with ENOSYS. Some functions are actually named
27017 something starting with __ and the normal name is an alias. */
27018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27021 char (*f) () = $ac_func;
27030 return f != $ac_func;
27035 rm -f conftest.$ac_objext conftest$ac_exeext
27036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27037 (eval $ac_link) 2>&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } &&
27041 { ac_try='test -s conftest$ac_exeext'
27042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27043 (eval $ac_try) 2>&5
27045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046 (exit $ac_status); }; }; then
27047 eval "$as_ac_var=yes"
27049 echo "$as_me: failed program was:" >&5
27050 sed 's/^/| /' conftest.$ac_ext >&5
27052 eval "$as_ac_var=no"
27054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27058 if test `eval echo '${'$as_ac_var'}'` = yes; then
27059 cat >>confdefs.h <<_ACEOF
27060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27067 if test "$WCSLEN_FOUND" = 0; then
27068 if test "$TOOLKIT" = "MSW"; then
27069 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
27070 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
27071 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
27072 echo $ECHO_N "(cached) $ECHO_C" >&6
27074 ac_check_lib_save_LIBS=$LIBS
27075 LIBS="-lmsvcrt $LIBS"
27076 cat >conftest.$ac_ext <<_ACEOF
27077 #line $LINENO "configure"
27080 cat confdefs.h >>conftest.$ac_ext
27081 cat >>conftest.$ac_ext <<_ACEOF
27082 /* end confdefs.h. */
27084 /* Override any gcc2 internal prototype to avoid an error. */
27088 /* We use char because int might match the return type of a gcc2
27089 builtin and then its argument prototype would still apply. */
27099 rm -f conftest.$ac_objext conftest$ac_exeext
27100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27101 (eval $ac_link) 2>&5
27103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27104 (exit $ac_status); } &&
27105 { ac_try='test -s conftest$ac_exeext'
27106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27107 (eval $ac_try) 2>&5
27109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110 (exit $ac_status); }; }; then
27111 ac_cv_lib_msvcrt_wcslen=yes
27113 echo "$as_me: failed program was:" >&5
27114 sed 's/^/| /' conftest.$ac_ext >&5
27116 ac_cv_lib_msvcrt_wcslen=no
27118 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27119 LIBS=$ac_check_lib_save_LIBS
27121 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
27122 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
27123 if test $ac_cv_lib_msvcrt_wcslen = yes; then
27128 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
27129 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
27130 if test "${ac_cv_lib_w_wcslen+set}" = set; then
27131 echo $ECHO_N "(cached) $ECHO_C" >&6
27133 ac_check_lib_save_LIBS=$LIBS
27135 cat >conftest.$ac_ext <<_ACEOF
27136 #line $LINENO "configure"
27139 cat confdefs.h >>conftest.$ac_ext
27140 cat >>conftest.$ac_ext <<_ACEOF
27141 /* end confdefs.h. */
27143 /* Override any gcc2 internal prototype to avoid an error. */
27147 /* We use char because int might match the return type of a gcc2
27148 builtin and then its argument prototype would still apply. */
27158 rm -f conftest.$ac_objext conftest$ac_exeext
27159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27160 (eval $ac_link) 2>&5
27162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27163 (exit $ac_status); } &&
27164 { ac_try='test -s conftest$ac_exeext'
27165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27166 (eval $ac_try) 2>&5
27168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27169 (exit $ac_status); }; }; then
27170 ac_cv_lib_w_wcslen=yes
27172 echo "$as_me: failed program was:" >&5
27173 sed 's/^/| /' conftest.$ac_ext >&5
27175 ac_cv_lib_w_wcslen=no
27177 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27178 LIBS=$ac_check_lib_save_LIBS
27180 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
27181 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
27182 if test $ac_cv_lib_w_wcslen = yes; then
27192 if test "$WCSLEN_FOUND" = 1; then
27193 cat >>confdefs.h <<\_ACEOF
27194 #define HAVE_WCSLEN 1
27200 for ac_func in wcsrtombs
27202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27203 echo "$as_me:$LINENO: checking for $ac_func" >&5
27204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27205 if eval "test \"\${$as_ac_var+set}\" = set"; then
27206 echo $ECHO_N "(cached) $ECHO_C" >&6
27208 cat >conftest.$ac_ext <<_ACEOF
27209 #line $LINENO "configure"
27212 cat confdefs.h >>conftest.$ac_ext
27213 cat >>conftest.$ac_ext <<_ACEOF
27214 /* end confdefs.h. */
27215 /* System header to define __stub macros and hopefully few prototypes,
27216 which can conflict with char $ac_func (); below.
27217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27218 <limits.h> exists even on freestanding compilers. */
27220 # include <limits.h>
27222 # include <assert.h>
27224 /* Override any gcc2 internal prototype to avoid an error. */
27229 /* We use char because int might match the return type of a gcc2
27230 builtin and then its argument prototype would still apply. */
27232 /* The GNU C library defines this for functions which it implements
27233 to always fail with ENOSYS. Some functions are actually named
27234 something starting with __ and the normal name is an alias. */
27235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27238 char (*f) () = $ac_func;
27247 return f != $ac_func;
27252 rm -f conftest.$ac_objext conftest$ac_exeext
27253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27254 (eval $ac_link) 2>&5
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); } &&
27258 { ac_try='test -s conftest$ac_exeext'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; }; then
27264 eval "$as_ac_var=yes"
27266 echo "$as_me: failed program was:" >&5
27267 sed 's/^/| /' conftest.$ac_ext >&5
27269 eval "$as_ac_var=no"
27271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27275 if test `eval echo '${'$as_ac_var'}'` = yes; then
27276 cat >>confdefs.h <<_ACEOF
27277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27284 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
27285 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
27291 ac_cpp='$CXXCPP $CPPFLAGS'
27292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27298 for ac_func in vsnprintf
27300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27301 echo "$as_me:$LINENO: checking for $ac_func" >&5
27302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27303 if eval "test \"\${$as_ac_var+set}\" = set"; then
27304 echo $ECHO_N "(cached) $ECHO_C" >&6
27306 cat >conftest.$ac_ext <<_ACEOF
27307 #line $LINENO "configure"
27310 cat confdefs.h >>conftest.$ac_ext
27311 cat >>conftest.$ac_ext <<_ACEOF
27312 /* end confdefs.h. */
27313 /* System header to define __stub macros and hopefully few prototypes,
27314 which can conflict with char $ac_func (); below.
27315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27316 <limits.h> exists even on freestanding compilers. */
27318 # include <limits.h>
27320 # include <assert.h>
27322 /* Override any gcc2 internal prototype to avoid an error. */
27327 /* We use char because int might match the return type of a gcc2
27328 builtin and then its argument prototype would still apply. */
27330 /* The GNU C library defines this for functions which it implements
27331 to always fail with ENOSYS. Some functions are actually named
27332 something starting with __ and the normal name is an alias. */
27333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27336 char (*f) () = $ac_func;
27345 return f != $ac_func;
27350 rm -f conftest.$ac_objext conftest$ac_exeext
27351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27352 (eval $ac_link) 2>&5
27354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27355 (exit $ac_status); } &&
27356 { ac_try='test -s conftest$ac_exeext'
27357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27358 (eval $ac_try) 2>&5
27360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27361 (exit $ac_status); }; }; then
27362 eval "$as_ac_var=yes"
27364 echo "$as_me: failed program was:" >&5
27365 sed 's/^/| /' conftest.$ac_ext >&5
27367 eval "$as_ac_var=no"
27369 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27373 if test `eval echo '${'$as_ac_var'}'` = yes; then
27374 cat >>confdefs.h <<_ACEOF
27375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27382 if test "$ac_cv_func_vsnprintf" = "yes"; then
27383 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
27384 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
27385 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
27386 echo $ECHO_N "(cached) $ECHO_C" >&6
27389 cat >conftest.$ac_ext <<_ACEOF
27390 #line $LINENO "configure"
27393 cat confdefs.h >>conftest.$ac_ext
27394 cat >>conftest.$ac_ext <<_ACEOF
27395 /* end confdefs.h. */
27398 #include <stdarg.h>
27406 vsnprintf(buf, 10u, "%s", ap);
27412 rm -f conftest.$ac_objext
27413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27414 (eval $ac_compile) 2>&5
27416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27417 (exit $ac_status); } &&
27418 { ac_try='test -s conftest.$ac_objext'
27419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27420 (eval $ac_try) 2>&5
27422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423 (exit $ac_status); }; }; then
27424 wx_cv_func_vsnprintf_decl=yes
27426 echo "$as_me: failed program was:" >&5
27427 sed 's/^/| /' conftest.$ac_ext >&5
27429 wx_cv_func_vsnprintf_decl=no
27432 rm -f conftest.$ac_objext conftest.$ac_ext
27436 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
27437 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
27439 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
27440 cat >>confdefs.h <<\_ACEOF
27441 #define HAVE_VSNPRINTF_DECL 1
27447 if test "$wxUSE_UNICODE" = yes; then
27451 for ac_func in fputwc wprintf vswprintf
27453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27454 echo "$as_me:$LINENO: checking for $ac_func" >&5
27455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27456 if eval "test \"\${$as_ac_var+set}\" = set"; then
27457 echo $ECHO_N "(cached) $ECHO_C" >&6
27459 cat >conftest.$ac_ext <<_ACEOF
27460 #line $LINENO "configure"
27463 cat confdefs.h >>conftest.$ac_ext
27464 cat >>conftest.$ac_ext <<_ACEOF
27465 /* end confdefs.h. */
27466 /* System header to define __stub macros and hopefully few prototypes,
27467 which can conflict with char $ac_func (); below.
27468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27469 <limits.h> exists even on freestanding compilers. */
27471 # include <limits.h>
27473 # include <assert.h>
27475 /* Override any gcc2 internal prototype to avoid an error. */
27480 /* We use char because int might match the return type of a gcc2
27481 builtin and then its argument prototype would still apply. */
27483 /* The GNU C library defines this for functions which it implements
27484 to always fail with ENOSYS. Some functions are actually named
27485 something starting with __ and the normal name is an alias. */
27486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27489 char (*f) () = $ac_func;
27498 return f != $ac_func;
27503 rm -f conftest.$ac_objext conftest$ac_exeext
27504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27505 (eval $ac_link) 2>&5
27507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27508 (exit $ac_status); } &&
27509 { ac_try='test -s conftest$ac_exeext'
27510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27511 (eval $ac_try) 2>&5
27513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514 (exit $ac_status); }; }; then
27515 eval "$as_ac_var=yes"
27517 echo "$as_me: failed program was:" >&5
27518 sed 's/^/| /' conftest.$ac_ext >&5
27520 eval "$as_ac_var=no"
27522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27526 if test `eval echo '${'$as_ac_var'}'` = yes; then
27527 cat >>confdefs.h <<_ACEOF
27528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27535 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
27536 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
27537 cat >conftest.$ac_ext <<_ACEOF
27538 #line $LINENO "configure"
27541 cat confdefs.h >>conftest.$ac_ext
27542 cat >>conftest.$ac_ext <<_ACEOF
27543 /* end confdefs.h. */
27553 rm -f conftest.$ac_objext
27554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27555 (eval $ac_compile) 2>&5
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); } &&
27559 { ac_try='test -s conftest.$ac_objext'
27560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27561 (eval $ac_try) 2>&5
27563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27564 (exit $ac_status); }; }; then
27565 echo "$as_me:$LINENO: result: yes" >&5
27566 echo "${ECHO_T}yes" >&6
27567 cat >>confdefs.h <<\_ACEOF
27568 #define HAVE__VSNWPRINTF 1
27572 echo "$as_me: failed program was:" >&5
27573 sed 's/^/| /' conftest.$ac_ext >&5
27575 echo "$as_me:$LINENO: result: no" >&5
27576 echo "${ECHO_T}no" >&6
27578 rm -f conftest.$ac_objext conftest.$ac_ext;
27582 ac_cpp='$CPP $CPPFLAGS'
27583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27590 if test "$TOOLKIT" != "MSW"; then
27596 ac_cpp='$CXXCPP $CPPFLAGS'
27597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27604 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
27605 if test "${with_libiconv_prefix+set}" = set; then
27606 withval="$with_libiconv_prefix"
27608 for dir in `echo "$withval" | tr : ' '`; do
27609 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
27610 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
27615 echo "$as_me:$LINENO: checking for iconv" >&5
27616 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27617 if test "${am_cv_func_iconv+set}" = set; then
27618 echo $ECHO_N "(cached) $ECHO_C" >&6
27621 am_cv_func_iconv="no, consider installing GNU libiconv"
27623 cat >conftest.$ac_ext <<_ACEOF
27624 #line $LINENO "configure"
27627 cat confdefs.h >>conftest.$ac_ext
27628 cat >>conftest.$ac_ext <<_ACEOF
27629 /* end confdefs.h. */
27630 #include <stdlib.h>
27635 iconv_t cd = iconv_open("","");
27636 iconv(cd,NULL,NULL,NULL,NULL);
27642 rm -f conftest.$ac_objext conftest$ac_exeext
27643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27644 (eval $ac_link) 2>&5
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); } &&
27648 { ac_try='test -s conftest$ac_exeext'
27649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27650 (eval $ac_try) 2>&5
27652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653 (exit $ac_status); }; }; then
27654 am_cv_func_iconv=yes
27656 echo "$as_me: failed program was:" >&5
27657 sed 's/^/| /' conftest.$ac_ext >&5
27660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27661 if test "$am_cv_func_iconv" != yes; then
27662 am_save_LIBS="$LIBS"
27663 LIBS="$LIBS -liconv"
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 #include <stdlib.h>
27676 iconv_t cd = iconv_open("","");
27677 iconv(cd,NULL,NULL,NULL,NULL);
27683 rm -f conftest.$ac_objext conftest$ac_exeext
27684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27685 (eval $ac_link) 2>&5
27687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27688 (exit $ac_status); } &&
27689 { ac_try='test -s conftest$ac_exeext'
27690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27691 (eval $ac_try) 2>&5
27693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27694 (exit $ac_status); }; }; then
27695 am_cv_lib_iconv=yes
27696 am_cv_func_iconv=yes
27698 echo "$as_me: failed program was:" >&5
27699 sed 's/^/| /' conftest.$ac_ext >&5
27702 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27703 LIBS="$am_save_LIBS"
27707 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27708 echo "${ECHO_T}$am_cv_func_iconv" >&6
27709 if test "$am_cv_func_iconv" = yes; then
27711 cat >>confdefs.h <<\_ACEOF
27712 #define HAVE_ICONV 1
27715 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27716 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27717 if test "${wx_cv_func_iconv_const+set}" = set; then
27718 echo $ECHO_N "(cached) $ECHO_C" >&6
27720 cat >conftest.$ac_ext <<_ACEOF
27721 #line $LINENO "configure"
27724 cat confdefs.h >>conftest.$ac_ext
27725 cat >>conftest.$ac_ext <<_ACEOF
27726 /* end confdefs.h. */
27728 #include <stdlib.h>
27734 #if defined(__STDC__) || defined(__cplusplus)
27735 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27748 rm -f conftest.$ac_objext
27749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27750 (eval $ac_compile) 2>&5
27752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27753 (exit $ac_status); } &&
27754 { ac_try='test -s conftest.$ac_objext'
27755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27756 (eval $ac_try) 2>&5
27758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759 (exit $ac_status); }; }; then
27760 wx_cv_func_iconv_const="no"
27762 echo "$as_me: failed program was:" >&5
27763 sed 's/^/| /' conftest.$ac_ext >&5
27765 wx_cv_func_iconv_const="yes"
27768 rm -f conftest.$ac_objext conftest.$ac_ext
27771 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27772 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27775 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27776 iconv_const="const"
27780 cat >>confdefs.h <<_ACEOF
27781 #define ICONV_CONST $iconv_const
27786 if test "$am_cv_lib_iconv" = yes; then
27791 LIBS="$LIBICONV $LIBS"
27793 ac_cpp='$CPP $CPPFLAGS'
27794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27799 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27801 for ac_func in sigaction
27803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27804 echo "$as_me:$LINENO: checking for $ac_func" >&5
27805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27806 if eval "test \"\${$as_ac_var+set}\" = set"; then
27807 echo $ECHO_N "(cached) $ECHO_C" >&6
27809 cat >conftest.$ac_ext <<_ACEOF
27810 #line $LINENO "configure"
27813 cat confdefs.h >>conftest.$ac_ext
27814 cat >>conftest.$ac_ext <<_ACEOF
27815 /* end confdefs.h. */
27816 /* System header to define __stub macros and hopefully few prototypes,
27817 which can conflict with char $ac_func (); below.
27818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27819 <limits.h> exists even on freestanding compilers. */
27821 # include <limits.h>
27823 # include <assert.h>
27825 /* Override any gcc2 internal prototype to avoid an error. */
27830 /* We use char because int might match the return type of a gcc2
27831 builtin and then its argument prototype would still apply. */
27833 /* The GNU C library defines this for functions which it implements
27834 to always fail with ENOSYS. Some functions are actually named
27835 something starting with __ and the normal name is an alias. */
27836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27839 char (*f) () = $ac_func;
27848 return f != $ac_func;
27853 rm -f conftest.$ac_objext conftest$ac_exeext
27854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27855 (eval $ac_link) 2>&5
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); } &&
27859 { ac_try='test -s conftest$ac_exeext'
27860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27861 (eval $ac_try) 2>&5
27863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27864 (exit $ac_status); }; }; then
27865 eval "$as_ac_var=yes"
27867 echo "$as_me: failed program was:" >&5
27868 sed 's/^/| /' conftest.$ac_ext >&5
27870 eval "$as_ac_var=no"
27872 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27876 if test `eval echo '${'$as_ac_var'}'` = yes; then
27877 cat >>confdefs.h <<_ACEOF
27878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27885 if test "$ac_cv_func_sigaction" = "no"; then
27886 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27887 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27888 wxUSE_ON_FATAL_EXCEPTION=no
27891 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27895 ac_cpp='$CXXCPP $CPPFLAGS'
27896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27901 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27902 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27903 if test "${wx_cv_type_sa_handler+set}" = set; then
27904 echo $ECHO_N "(cached) $ECHO_C" >&6
27907 cat >conftest.$ac_ext <<_ACEOF
27908 #line $LINENO "configure"
27911 cat confdefs.h >>conftest.$ac_ext
27912 cat >>conftest.$ac_ext <<_ACEOF
27913 /* end confdefs.h. */
27914 #include <signal.h>
27919 extern void testSigHandler(int);
27921 struct sigaction sa;
27922 sa.sa_handler = testSigHandler;
27928 rm -f conftest.$ac_objext
27929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27930 (eval $ac_compile) 2>&5
27932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27933 (exit $ac_status); } &&
27934 { ac_try='test -s conftest.$ac_objext'
27935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27936 (eval $ac_try) 2>&5
27938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27939 (exit $ac_status); }; }; then
27941 wx_cv_type_sa_handler=int
27944 echo "$as_me: failed program was:" >&5
27945 sed 's/^/| /' conftest.$ac_ext >&5
27948 wx_cv_type_sa_handler=void
27951 rm -f conftest.$ac_objext conftest.$ac_ext
27954 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27955 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27958 ac_cpp='$CPP $CPPFLAGS'
27959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27964 cat >>confdefs.h <<_ACEOF
27965 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27973 for ac_func in mkstemp mktemp
27975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27976 echo "$as_me:$LINENO: checking for $ac_func" >&5
27977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27978 if eval "test \"\${$as_ac_var+set}\" = set"; then
27979 echo $ECHO_N "(cached) $ECHO_C" >&6
27981 cat >conftest.$ac_ext <<_ACEOF
27982 #line $LINENO "configure"
27985 cat confdefs.h >>conftest.$ac_ext
27986 cat >>conftest.$ac_ext <<_ACEOF
27987 /* end confdefs.h. */
27988 /* System header to define __stub macros and hopefully few prototypes,
27989 which can conflict with char $ac_func (); below.
27990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27991 <limits.h> exists even on freestanding compilers. */
27993 # include <limits.h>
27995 # include <assert.h>
27997 /* Override any gcc2 internal prototype to avoid an error. */
28002 /* We use char because int might match the return type of a gcc2
28003 builtin and then its argument prototype would still apply. */
28005 /* The GNU C library defines this for functions which it implements
28006 to always fail with ENOSYS. Some functions are actually named
28007 something starting with __ and the normal name is an alias. */
28008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28011 char (*f) () = $ac_func;
28020 return f != $ac_func;
28025 rm -f conftest.$ac_objext conftest$ac_exeext
28026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28027 (eval $ac_link) 2>&5
28029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030 (exit $ac_status); } &&
28031 { ac_try='test -s conftest$ac_exeext'
28032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28033 (eval $ac_try) 2>&5
28035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28036 (exit $ac_status); }; }; then
28037 eval "$as_ac_var=yes"
28039 echo "$as_me: failed program was:" >&5
28040 sed 's/^/| /' conftest.$ac_ext >&5
28042 eval "$as_ac_var=no"
28044 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28048 if test `eval echo '${'$as_ac_var'}'` = yes; then
28049 cat >>confdefs.h <<_ACEOF
28050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28057 echo "$as_me:$LINENO: checking for statfs" >&5
28058 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
28059 if test "${wx_cv_func_statfs+set}" = set; then
28060 echo $ECHO_N "(cached) $ECHO_C" >&6
28062 cat >conftest.$ac_ext <<_ACEOF
28063 #line $LINENO "configure"
28066 cat confdefs.h >>conftest.$ac_ext
28067 cat >>conftest.$ac_ext <<_ACEOF
28068 /* end confdefs.h. */
28070 #if defined(__BSD__)
28071 #include <sys/param.h>
28072 #include <sys/mount.h>
28074 #include <sys/vfs.h>
28092 rm -f conftest.$ac_objext
28093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28094 (eval $ac_compile) 2>&5
28096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28097 (exit $ac_status); } &&
28098 { ac_try='test -s conftest.$ac_objext'
28099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28100 (eval $ac_try) 2>&5
28102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28103 (exit $ac_status); }; }; then
28105 wx_cv_func_statfs=yes
28108 echo "$as_me: failed program was:" >&5
28109 sed 's/^/| /' conftest.$ac_ext >&5
28112 wx_cv_func_statfs=no
28116 rm -f conftest.$ac_objext conftest.$ac_ext
28119 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
28120 echo "${ECHO_T}$wx_cv_func_statfs" >&6
28122 if test "$wx_cv_func_statfs" = "yes"; then
28123 wx_cv_type_statvfs_t="struct statfs"
28124 cat >>confdefs.h <<\_ACEOF
28125 #define HAVE_STATFS 1
28129 echo "$as_me:$LINENO: checking for statvfs" >&5
28130 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
28131 if test "${wx_cv_func_statvfs+set}" = set; then
28132 echo $ECHO_N "(cached) $ECHO_C" >&6
28134 cat >conftest.$ac_ext <<_ACEOF
28135 #line $LINENO "configure"
28138 cat confdefs.h >>conftest.$ac_ext
28139 cat >>conftest.$ac_ext <<_ACEOF
28140 /* end confdefs.h. */
28142 #include <stddef.h>
28143 #include <sys/statvfs.h>
28149 statvfs("/", NULL);
28155 rm -f conftest.$ac_objext
28156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28157 (eval $ac_compile) 2>&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); } &&
28161 { ac_try='test -s conftest.$ac_objext'
28162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28163 (eval $ac_try) 2>&5
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); }; }; then
28167 wx_cv_func_statvfs=yes
28169 echo "$as_me: failed program was:" >&5
28170 sed 's/^/| /' conftest.$ac_ext >&5
28172 wx_cv_func_statvfs=no
28175 rm -f conftest.$ac_objext conftest.$ac_ext
28178 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
28179 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
28181 if test "$wx_cv_func_statvfs" = "yes"; then
28185 ac_cpp='$CXXCPP $CPPFLAGS'
28186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28191 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
28192 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
28193 if test "${wx_cv_type_statvfs_t+set}" = set; then
28194 echo $ECHO_N "(cached) $ECHO_C" >&6
28196 cat >conftest.$ac_ext <<_ACEOF
28197 #line $LINENO "configure"
28200 cat confdefs.h >>conftest.$ac_ext
28201 cat >>conftest.$ac_ext <<_ACEOF
28202 /* end confdefs.h. */
28204 #include <sys/statvfs.h>
28221 rm -f conftest.$ac_objext
28222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28223 (eval $ac_compile) 2>&5
28225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28226 (exit $ac_status); } &&
28227 { ac_try='test -s conftest.$ac_objext'
28228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28229 (eval $ac_try) 2>&5
28231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28232 (exit $ac_status); }; }; then
28233 wx_cv_type_statvfs_t=statvfs_t
28235 echo "$as_me: failed program was:" >&5
28236 sed 's/^/| /' conftest.$ac_ext >&5
28239 cat >conftest.$ac_ext <<_ACEOF
28240 #line $LINENO "configure"
28243 cat confdefs.h >>conftest.$ac_ext
28244 cat >>conftest.$ac_ext <<_ACEOF
28245 /* end confdefs.h. */
28247 #include <sys/statvfs.h>
28264 rm -f conftest.$ac_objext
28265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28266 (eval $ac_compile) 2>&5
28268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28269 (exit $ac_status); } &&
28270 { ac_try='test -s conftest.$ac_objext'
28271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28272 (eval $ac_try) 2>&5
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); }; }; then
28276 wx_cv_type_statvfs_t="struct statvfs"
28278 echo "$as_me: failed program was:" >&5
28279 sed 's/^/| /' conftest.$ac_ext >&5
28281 wx_cv_type_statvfs_t="unknown"
28284 rm -f conftest.$ac_objext conftest.$ac_ext
28288 rm -f conftest.$ac_objext conftest.$ac_ext
28291 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
28292 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
28295 ac_cpp='$CPP $CPPFLAGS'
28296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28301 if test "$wx_cv_type_statvfs_t" != "unknown"; then
28302 cat >>confdefs.h <<\_ACEOF
28303 #define HAVE_STATVFS 1
28308 wx_cv_type_statvfs_t="unknown"
28312 if test "$wx_cv_type_statvfs_t" != "unknown"; then
28313 cat >>confdefs.h <<_ACEOF
28314 #define WX_STATFS_T $wx_cv_type_statvfs_t
28318 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
28319 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
28322 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
28325 for ac_func in fcntl flock
28327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28328 echo "$as_me:$LINENO: checking for $ac_func" >&5
28329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28330 if eval "test \"\${$as_ac_var+set}\" = set"; then
28331 echo $ECHO_N "(cached) $ECHO_C" >&6
28333 cat >conftest.$ac_ext <<_ACEOF
28334 #line $LINENO "configure"
28337 cat confdefs.h >>conftest.$ac_ext
28338 cat >>conftest.$ac_ext <<_ACEOF
28339 /* end confdefs.h. */
28340 /* System header to define __stub macros and hopefully few prototypes,
28341 which can conflict with char $ac_func (); below.
28342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28343 <limits.h> exists even on freestanding compilers. */
28345 # include <limits.h>
28347 # include <assert.h>
28349 /* Override any gcc2 internal prototype to avoid an error. */
28354 /* We use char because int might match the return type of a gcc2
28355 builtin and then its argument prototype would still apply. */
28357 /* The GNU C library defines this for functions which it implements
28358 to always fail with ENOSYS. Some functions are actually named
28359 something starting with __ and the normal name is an alias. */
28360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28363 char (*f) () = $ac_func;
28372 return f != $ac_func;
28377 rm -f conftest.$ac_objext conftest$ac_exeext
28378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28379 (eval $ac_link) 2>&5
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); } &&
28383 { ac_try='test -s conftest$ac_exeext'
28384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28385 (eval $ac_try) 2>&5
28387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28388 (exit $ac_status); }; }; then
28389 eval "$as_ac_var=yes"
28391 echo "$as_me: failed program was:" >&5
28392 sed 's/^/| /' conftest.$ac_ext >&5
28394 eval "$as_ac_var=no"
28396 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28400 if test `eval echo '${'$as_ac_var'}'` = yes; then
28401 cat >>confdefs.h <<_ACEOF
28402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28409 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
28410 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
28411 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
28412 wxUSE_SNGLINST_CHECKER=no
28417 for ac_func in timegm
28419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28420 echo "$as_me:$LINENO: checking for $ac_func" >&5
28421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28422 if eval "test \"\${$as_ac_var+set}\" = set"; then
28423 echo $ECHO_N "(cached) $ECHO_C" >&6
28425 cat >conftest.$ac_ext <<_ACEOF
28426 #line $LINENO "configure"
28429 cat confdefs.h >>conftest.$ac_ext
28430 cat >>conftest.$ac_ext <<_ACEOF
28431 /* end confdefs.h. */
28432 /* System header to define __stub macros and hopefully few prototypes,
28433 which can conflict with char $ac_func (); below.
28434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28435 <limits.h> exists even on freestanding compilers. */
28437 # include <limits.h>
28439 # include <assert.h>
28441 /* Override any gcc2 internal prototype to avoid an error. */
28446 /* We use char because int might match the return type of a gcc2
28447 builtin and then its argument prototype would still apply. */
28449 /* The GNU C library defines this for functions which it implements
28450 to always fail with ENOSYS. Some functions are actually named
28451 something starting with __ and the normal name is an alias. */
28452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28455 char (*f) () = $ac_func;
28464 return f != $ac_func;
28469 rm -f conftest.$ac_objext conftest$ac_exeext
28470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28471 (eval $ac_link) 2>&5
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); } &&
28475 { ac_try='test -s conftest$ac_exeext'
28476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28477 (eval $ac_try) 2>&5
28479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480 (exit $ac_status); }; }; then
28481 eval "$as_ac_var=yes"
28483 echo "$as_me: failed program was:" >&5
28484 sed 's/^/| /' conftest.$ac_ext >&5
28486 eval "$as_ac_var=no"
28488 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28492 if test `eval echo '${'$as_ac_var'}'` = yes; then
28493 cat >>confdefs.h <<_ACEOF
28494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28503 for ac_func in putenv setenv
28505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28506 echo "$as_me:$LINENO: checking for $ac_func" >&5
28507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28508 if eval "test \"\${$as_ac_var+set}\" = set"; then
28509 echo $ECHO_N "(cached) $ECHO_C" >&6
28511 cat >conftest.$ac_ext <<_ACEOF
28512 #line $LINENO "configure"
28515 cat confdefs.h >>conftest.$ac_ext
28516 cat >>conftest.$ac_ext <<_ACEOF
28517 /* end confdefs.h. */
28518 /* System header to define __stub macros and hopefully few prototypes,
28519 which can conflict with char $ac_func (); below.
28520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28521 <limits.h> exists even on freestanding compilers. */
28523 # include <limits.h>
28525 # include <assert.h>
28527 /* Override any gcc2 internal prototype to avoid an error. */
28532 /* We use char because int might match the return type of a gcc2
28533 builtin and then its argument prototype would still apply. */
28535 /* The GNU C library defines this for functions which it implements
28536 to always fail with ENOSYS. Some functions are actually named
28537 something starting with __ and the normal name is an alias. */
28538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28541 char (*f) () = $ac_func;
28550 return f != $ac_func;
28555 rm -f conftest.$ac_objext conftest$ac_exeext
28556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28557 (eval $ac_link) 2>&5
28559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28560 (exit $ac_status); } &&
28561 { ac_try='test -s conftest$ac_exeext'
28562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28563 (eval $ac_try) 2>&5
28565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28566 (exit $ac_status); }; }; then
28567 eval "$as_ac_var=yes"
28569 echo "$as_me: failed program was:" >&5
28570 sed 's/^/| /' conftest.$ac_ext >&5
28572 eval "$as_ac_var=no"
28574 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28578 if test `eval echo '${'$as_ac_var'}'` = yes; then
28579 cat >>confdefs.h <<_ACEOF
28580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28587 HAVE_SOME_SLEEP_FUNC=0
28588 if test "$USE_BEOS" = 1; then
28589 cat >>confdefs.h <<\_ACEOF
28590 #define HAVE_SLEEP 1
28593 HAVE_SOME_SLEEP_FUNC=1
28596 if test "$USE_DARWIN" = 1; then
28597 cat >>confdefs.h <<\_ACEOF
28598 #define HAVE_USLEEP 1
28601 HAVE_SOME_SLEEP_FUNC=1
28604 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
28607 for ac_func in nanosleep
28609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28610 echo "$as_me:$LINENO: checking for $ac_func" >&5
28611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28612 if eval "test \"\${$as_ac_var+set}\" = set"; then
28613 echo $ECHO_N "(cached) $ECHO_C" >&6
28615 cat >conftest.$ac_ext <<_ACEOF
28616 #line $LINENO "configure"
28619 cat confdefs.h >>conftest.$ac_ext
28620 cat >>conftest.$ac_ext <<_ACEOF
28621 /* end confdefs.h. */
28622 /* System header to define __stub macros and hopefully few prototypes,
28623 which can conflict with char $ac_func (); below.
28624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28625 <limits.h> exists even on freestanding compilers. */
28627 # include <limits.h>
28629 # include <assert.h>
28631 /* Override any gcc2 internal prototype to avoid an error. */
28636 /* We use char because int might match the return type of a gcc2
28637 builtin and then its argument prototype would still apply. */
28639 /* The GNU C library defines this for functions which it implements
28640 to always fail with ENOSYS. Some functions are actually named
28641 something starting with __ and the normal name is an alias. */
28642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28645 char (*f) () = $ac_func;
28654 return f != $ac_func;
28659 rm -f conftest.$ac_objext conftest$ac_exeext
28660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28661 (eval $ac_link) 2>&5
28663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28664 (exit $ac_status); } &&
28665 { ac_try='test -s conftest$ac_exeext'
28666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28667 (eval $ac_try) 2>&5
28669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 (exit $ac_status); }; }; then
28671 eval "$as_ac_var=yes"
28673 echo "$as_me: failed program was:" >&5
28674 sed 's/^/| /' conftest.$ac_ext >&5
28676 eval "$as_ac_var=no"
28678 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28682 if test `eval echo '${'$as_ac_var'}'` = yes; then
28683 cat >>confdefs.h <<_ACEOF
28684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28686 cat >>confdefs.h <<\_ACEOF
28687 #define HAVE_NANOSLEEP 1
28692 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28693 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28694 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28695 echo $ECHO_N "(cached) $ECHO_C" >&6
28697 ac_check_lib_save_LIBS=$LIBS
28698 LIBS="-lposix4 $LIBS"
28699 cat >conftest.$ac_ext <<_ACEOF
28700 #line $LINENO "configure"
28703 cat confdefs.h >>conftest.$ac_ext
28704 cat >>conftest.$ac_ext <<_ACEOF
28705 /* end confdefs.h. */
28707 /* Override any gcc2 internal prototype to avoid an error. */
28711 /* We use char because int might match the return type of a gcc2
28712 builtin and then its argument prototype would still apply. */
28722 rm -f conftest.$ac_objext conftest$ac_exeext
28723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28724 (eval $ac_link) 2>&5
28726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28727 (exit $ac_status); } &&
28728 { ac_try='test -s conftest$ac_exeext'
28729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28730 (eval $ac_try) 2>&5
28732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28733 (exit $ac_status); }; }; then
28734 ac_cv_lib_posix4_nanosleep=yes
28736 echo "$as_me: failed program was:" >&5
28737 sed 's/^/| /' conftest.$ac_ext >&5
28739 ac_cv_lib_posix4_nanosleep=no
28741 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28742 LIBS=$ac_check_lib_save_LIBS
28744 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28745 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28746 if test $ac_cv_lib_posix4_nanosleep = yes; then
28748 cat >>confdefs.h <<\_ACEOF
28749 #define HAVE_NANOSLEEP 1
28752 POSIX4_LINK=" -lposix4"
28757 for ac_func in usleep
28759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28760 echo "$as_me:$LINENO: checking for $ac_func" >&5
28761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28762 if eval "test \"\${$as_ac_var+set}\" = set"; then
28763 echo $ECHO_N "(cached) $ECHO_C" >&6
28765 cat >conftest.$ac_ext <<_ACEOF
28766 #line $LINENO "configure"
28769 cat confdefs.h >>conftest.$ac_ext
28770 cat >>conftest.$ac_ext <<_ACEOF
28771 /* end confdefs.h. */
28772 /* System header to define __stub macros and hopefully few prototypes,
28773 which can conflict with char $ac_func (); below.
28774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28775 <limits.h> exists even on freestanding compilers. */
28777 # include <limits.h>
28779 # include <assert.h>
28781 /* Override any gcc2 internal prototype to avoid an error. */
28786 /* We use char because int might match the return type of a gcc2
28787 builtin and then its argument prototype would still apply. */
28789 /* The GNU C library defines this for functions which it implements
28790 to always fail with ENOSYS. Some functions are actually named
28791 something starting with __ and the normal name is an alias. */
28792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28795 char (*f) () = $ac_func;
28804 return f != $ac_func;
28809 rm -f conftest.$ac_objext conftest$ac_exeext
28810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28811 (eval $ac_link) 2>&5
28813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814 (exit $ac_status); } &&
28815 { ac_try='test -s conftest$ac_exeext'
28816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28817 (eval $ac_try) 2>&5
28819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28820 (exit $ac_status); }; }; then
28821 eval "$as_ac_var=yes"
28823 echo "$as_me: failed program was:" >&5
28824 sed 's/^/| /' conftest.$ac_ext >&5
28826 eval "$as_ac_var=no"
28828 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28832 if test `eval echo '${'$as_ac_var'}'` = yes; then
28833 cat >>confdefs.h <<_ACEOF
28834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28836 cat >>confdefs.h <<\_ACEOF
28837 #define HAVE_USLEEP 1
28841 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28842 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28860 for ac_func in uname gethostname
28862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28863 echo "$as_me:$LINENO: checking for $ac_func" >&5
28864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28865 if eval "test \"\${$as_ac_var+set}\" = set"; then
28866 echo $ECHO_N "(cached) $ECHO_C" >&6
28868 cat >conftest.$ac_ext <<_ACEOF
28869 #line $LINENO "configure"
28872 cat confdefs.h >>conftest.$ac_ext
28873 cat >>conftest.$ac_ext <<_ACEOF
28874 /* end confdefs.h. */
28875 /* System header to define __stub macros and hopefully few prototypes,
28876 which can conflict with char $ac_func (); below.
28877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28878 <limits.h> exists even on freestanding compilers. */
28880 # include <limits.h>
28882 # include <assert.h>
28884 /* Override any gcc2 internal prototype to avoid an error. */
28889 /* We use char because int might match the return type of a gcc2
28890 builtin and then its argument prototype would still apply. */
28892 /* The GNU C library defines this for functions which it implements
28893 to always fail with ENOSYS. Some functions are actually named
28894 something starting with __ and the normal name is an alias. */
28895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28898 char (*f) () = $ac_func;
28907 return f != $ac_func;
28912 rm -f conftest.$ac_objext conftest$ac_exeext
28913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28914 (eval $ac_link) 2>&5
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); } &&
28918 { ac_try='test -s conftest$ac_exeext'
28919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28920 (eval $ac_try) 2>&5
28922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28923 (exit $ac_status); }; }; then
28924 eval "$as_ac_var=yes"
28926 echo "$as_me: failed program was:" >&5
28927 sed 's/^/| /' conftest.$ac_ext >&5
28929 eval "$as_ac_var=no"
28931 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28935 if test `eval echo '${'$as_ac_var'}'` = yes; then
28936 cat >>confdefs.h <<_ACEOF
28937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28947 ac_cpp='$CXXCPP $CPPFLAGS'
28948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28954 for ac_func in strtok_r
28956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28957 echo "$as_me:$LINENO: checking for $ac_func" >&5
28958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28959 if eval "test \"\${$as_ac_var+set}\" = set"; then
28960 echo $ECHO_N "(cached) $ECHO_C" >&6
28962 cat >conftest.$ac_ext <<_ACEOF
28963 #line $LINENO "configure"
28966 cat confdefs.h >>conftest.$ac_ext
28967 cat >>conftest.$ac_ext <<_ACEOF
28968 /* end confdefs.h. */
28969 /* System header to define __stub macros and hopefully few prototypes,
28970 which can conflict with char $ac_func (); below.
28971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28972 <limits.h> exists even on freestanding compilers. */
28974 # include <limits.h>
28976 # include <assert.h>
28978 /* Override any gcc2 internal prototype to avoid an error. */
28983 /* We use char because int might match the return type of a gcc2
28984 builtin and then its argument prototype would still apply. */
28986 /* The GNU C library defines this for functions which it implements
28987 to always fail with ENOSYS. Some functions are actually named
28988 something starting with __ and the normal name is an alias. */
28989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28992 char (*f) () = $ac_func;
29001 return f != $ac_func;
29006 rm -f conftest.$ac_objext conftest$ac_exeext
29007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29008 (eval $ac_link) 2>&5
29010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29011 (exit $ac_status); } &&
29012 { ac_try='test -s conftest$ac_exeext'
29013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29014 (eval $ac_try) 2>&5
29016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29017 (exit $ac_status); }; }; then
29018 eval "$as_ac_var=yes"
29020 echo "$as_me: failed program was:" >&5
29021 sed 's/^/| /' conftest.$ac_ext >&5
29023 eval "$as_ac_var=no"
29025 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29029 if test `eval echo '${'$as_ac_var'}'` = yes; then
29030 cat >>confdefs.h <<_ACEOF
29031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29039 ac_cpp='$CPP $CPPFLAGS'
29040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29047 for ac_func in inet_addr
29049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29050 echo "$as_me:$LINENO: checking for $ac_func" >&5
29051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29052 if eval "test \"\${$as_ac_var+set}\" = set"; then
29053 echo $ECHO_N "(cached) $ECHO_C" >&6
29055 cat >conftest.$ac_ext <<_ACEOF
29056 #line $LINENO "configure"
29059 cat confdefs.h >>conftest.$ac_ext
29060 cat >>conftest.$ac_ext <<_ACEOF
29061 /* end confdefs.h. */
29062 /* System header to define __stub macros and hopefully few prototypes,
29063 which can conflict with char $ac_func (); below.
29064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29065 <limits.h> exists even on freestanding compilers. */
29067 # include <limits.h>
29069 # include <assert.h>
29071 /* Override any gcc2 internal prototype to avoid an error. */
29076 /* We use char because int might match the return type of a gcc2
29077 builtin and then its argument prototype would still apply. */
29079 /* The GNU C library defines this for functions which it implements
29080 to always fail with ENOSYS. Some functions are actually named
29081 something starting with __ and the normal name is an alias. */
29082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29085 char (*f) () = $ac_func;
29094 return f != $ac_func;
29099 rm -f conftest.$ac_objext conftest$ac_exeext
29100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29101 (eval $ac_link) 2>&5
29103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29104 (exit $ac_status); } &&
29105 { ac_try='test -s conftest$ac_exeext'
29106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29107 (eval $ac_try) 2>&5
29109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29110 (exit $ac_status); }; }; then
29111 eval "$as_ac_var=yes"
29113 echo "$as_me: failed program was:" >&5
29114 sed 's/^/| /' conftest.$ac_ext >&5
29116 eval "$as_ac_var=no"
29118 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29122 if test `eval echo '${'$as_ac_var'}'` = yes; then
29123 cat >>confdefs.h <<_ACEOF
29124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29126 cat >>confdefs.h <<\_ACEOF
29127 #define HAVE_INET_ADDR 1
29132 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
29133 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
29134 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
29135 echo $ECHO_N "(cached) $ECHO_C" >&6
29137 ac_check_lib_save_LIBS=$LIBS
29139 cat >conftest.$ac_ext <<_ACEOF
29140 #line $LINENO "configure"
29143 cat confdefs.h >>conftest.$ac_ext
29144 cat >>conftest.$ac_ext <<_ACEOF
29145 /* end confdefs.h. */
29147 /* Override any gcc2 internal prototype to avoid an error. */
29151 /* We use char because int might match the return type of a gcc2
29152 builtin and then its argument prototype would still apply. */
29162 rm -f conftest.$ac_objext conftest$ac_exeext
29163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29164 (eval $ac_link) 2>&5
29166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167 (exit $ac_status); } &&
29168 { ac_try='test -s conftest$ac_exeext'
29169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29170 (eval $ac_try) 2>&5
29172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29173 (exit $ac_status); }; }; then
29174 ac_cv_lib_nsl_inet_addr=yes
29176 echo "$as_me: failed program was:" >&5
29177 sed 's/^/| /' conftest.$ac_ext >&5
29179 ac_cv_lib_nsl_inet_addr=no
29181 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29182 LIBS=$ac_check_lib_save_LIBS
29184 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
29185 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
29186 if test $ac_cv_lib_nsl_inet_addr = yes; then
29190 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
29191 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
29192 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
29193 echo $ECHO_N "(cached) $ECHO_C" >&6
29195 ac_check_lib_save_LIBS=$LIBS
29196 LIBS="-lresolv $LIBS"
29197 cat >conftest.$ac_ext <<_ACEOF
29198 #line $LINENO "configure"
29201 cat confdefs.h >>conftest.$ac_ext
29202 cat >>conftest.$ac_ext <<_ACEOF
29203 /* end confdefs.h. */
29205 /* 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. */
29220 rm -f conftest.$ac_objext conftest$ac_exeext
29221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29222 (eval $ac_link) 2>&5
29224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225 (exit $ac_status); } &&
29226 { ac_try='test -s conftest$ac_exeext'
29227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29228 (eval $ac_try) 2>&5
29230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29231 (exit $ac_status); }; }; then
29232 ac_cv_lib_resolv_inet_addr=yes
29234 echo "$as_me: failed program was:" >&5
29235 sed 's/^/| /' conftest.$ac_ext >&5
29237 ac_cv_lib_resolv_inet_addr=no
29239 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29240 LIBS=$ac_check_lib_save_LIBS
29242 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
29243 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
29244 if test $ac_cv_lib_resolv_inet_addr = yes; then
29248 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
29249 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
29250 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
29251 echo $ECHO_N "(cached) $ECHO_C" >&6
29253 ac_check_lib_save_LIBS=$LIBS
29254 LIBS="-lsocket $LIBS"
29255 cat >conftest.$ac_ext <<_ACEOF
29256 #line $LINENO "configure"
29259 cat confdefs.h >>conftest.$ac_ext
29260 cat >>conftest.$ac_ext <<_ACEOF
29261 /* end confdefs.h. */
29263 /* Override any gcc2 internal prototype to avoid an error. */
29267 /* We use char because int might match the return type of a gcc2
29268 builtin and then its argument prototype would still apply. */
29278 rm -f conftest.$ac_objext conftest$ac_exeext
29279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29280 (eval $ac_link) 2>&5
29282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29283 (exit $ac_status); } &&
29284 { ac_try='test -s conftest$ac_exeext'
29285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29286 (eval $ac_try) 2>&5
29288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29289 (exit $ac_status); }; }; then
29290 ac_cv_lib_socket_inet_addr=yes
29292 echo "$as_me: failed program was:" >&5
29293 sed 's/^/| /' conftest.$ac_ext >&5
29295 ac_cv_lib_socket_inet_addr=no
29297 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29298 LIBS=$ac_check_lib_save_LIBS
29300 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
29301 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
29302 if test $ac_cv_lib_socket_inet_addr = yes; then
29322 for ac_func in inet_aton
29324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29325 echo "$as_me:$LINENO: checking for $ac_func" >&5
29326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29327 if eval "test \"\${$as_ac_var+set}\" = set"; then
29328 echo $ECHO_N "(cached) $ECHO_C" >&6
29330 cat >conftest.$ac_ext <<_ACEOF
29331 #line $LINENO "configure"
29334 cat confdefs.h >>conftest.$ac_ext
29335 cat >>conftest.$ac_ext <<_ACEOF
29336 /* end confdefs.h. */
29337 /* System header to define __stub macros and hopefully few prototypes,
29338 which can conflict with char $ac_func (); below.
29339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29340 <limits.h> exists even on freestanding compilers. */
29342 # include <limits.h>
29344 # include <assert.h>
29346 /* Override any gcc2 internal prototype to avoid an error. */
29351 /* We use char because int might match the return type of a gcc2
29352 builtin and then its argument prototype would still apply. */
29354 /* The GNU C library defines this for functions which it implements
29355 to always fail with ENOSYS. Some functions are actually named
29356 something starting with __ and the normal name is an alias. */
29357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29360 char (*f) () = $ac_func;
29369 return f != $ac_func;
29374 rm -f conftest.$ac_objext conftest$ac_exeext
29375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29376 (eval $ac_link) 2>&5
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); } &&
29380 { ac_try='test -s conftest$ac_exeext'
29381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29382 (eval $ac_try) 2>&5
29384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29385 (exit $ac_status); }; }; then
29386 eval "$as_ac_var=yes"
29388 echo "$as_me: failed program was:" >&5
29389 sed 's/^/| /' conftest.$ac_ext >&5
29391 eval "$as_ac_var=no"
29393 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29397 if test `eval echo '${'$as_ac_var'}'` = yes; then
29398 cat >>confdefs.h <<_ACEOF
29399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29401 cat >>confdefs.h <<\_ACEOF
29402 #define HAVE_INET_ATON 1
29407 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
29408 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
29409 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
29410 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
29411 echo $ECHO_N "(cached) $ECHO_C" >&6
29413 ac_check_lib_save_LIBS=$LIBS
29414 LIBS="-l$INET_LINK $LIBS"
29415 cat >conftest.$ac_ext <<_ACEOF
29416 #line $LINENO "configure"
29419 cat confdefs.h >>conftest.$ac_ext
29420 cat >>conftest.$ac_ext <<_ACEOF
29421 /* end confdefs.h. */
29423 /* Override any gcc2 internal prototype to avoid an error. */
29427 /* We use char because int might match the return type of a gcc2
29428 builtin and then its argument prototype would still apply. */
29438 rm -f conftest.$ac_objext conftest$ac_exeext
29439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29440 (eval $ac_link) 2>&5
29442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29443 (exit $ac_status); } &&
29444 { ac_try='test -s conftest$ac_exeext'
29445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29446 (eval $ac_try) 2>&5
29448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29449 (exit $ac_status); }; }; then
29450 eval "$as_ac_Lib=yes"
29452 echo "$as_me: failed program was:" >&5
29453 sed 's/^/| /' conftest.$ac_ext >&5
29455 eval "$as_ac_Lib=no"
29457 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29458 LIBS=$ac_check_lib_save_LIBS
29460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
29461 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
29462 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
29463 cat >>confdefs.h <<\_ACEOF
29464 #define HAVE_INET_ATON 1
29474 if test "x$INET_LINK" != "x"; then
29475 cat >>confdefs.h <<\_ACEOF
29476 #define HAVE_INET_ADDR 1
29479 INET_LINK=" -l$INET_LINK"
29487 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
29488 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
29489 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
29490 echo $ECHO_N "(cached) $ECHO_C" >&6
29492 ac_check_lib_save_LIBS=$LIBS
29494 cat >conftest.$ac_ext <<_ACEOF
29495 #line $LINENO "configure"
29498 cat confdefs.h >>conftest.$ac_ext
29499 cat >>conftest.$ac_ext <<_ACEOF
29500 /* end confdefs.h. */
29502 /* Override any gcc2 internal prototype to avoid an error. */
29506 /* We use char because int might match the return type of a gcc2
29507 builtin and then its argument prototype would still apply. */
29517 rm -f conftest.$ac_objext conftest$ac_exeext
29518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29519 (eval $ac_link) 2>&5
29521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29522 (exit $ac_status); } &&
29523 { ac_try='test -s conftest$ac_exeext'
29524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29525 (eval $ac_try) 2>&5
29527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29528 (exit $ac_status); }; }; then
29529 ac_cv_lib_esd_esd_close=yes
29531 echo "$as_me: failed program was:" >&5
29532 sed 's/^/| /' conftest.$ac_ext >&5
29534 ac_cv_lib_esd_esd_close=no
29536 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29537 LIBS=$ac_check_lib_save_LIBS
29539 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
29540 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
29541 if test $ac_cv_lib_esd_esd_close = yes; then
29544 for ac_header in esd.h
29546 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29548 echo "$as_me:$LINENO: checking for $ac_header" >&5
29549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29551 echo $ECHO_N "(cached) $ECHO_C" >&6
29553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29556 # Is the header compilable?
29557 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29558 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29559 cat >conftest.$ac_ext <<_ACEOF
29560 #line $LINENO "configure"
29563 cat confdefs.h >>conftest.$ac_ext
29564 cat >>conftest.$ac_ext <<_ACEOF
29565 /* end confdefs.h. */
29566 $ac_includes_default
29567 #include <$ac_header>
29569 rm -f conftest.$ac_objext
29570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29571 (eval $ac_compile) 2>&5
29573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29574 (exit $ac_status); } &&
29575 { ac_try='test -s conftest.$ac_objext'
29576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29577 (eval $ac_try) 2>&5
29579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29580 (exit $ac_status); }; }; then
29581 ac_header_compiler=yes
29583 echo "$as_me: failed program was:" >&5
29584 sed 's/^/| /' conftest.$ac_ext >&5
29586 ac_header_compiler=no
29588 rm -f conftest.$ac_objext conftest.$ac_ext
29589 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29590 echo "${ECHO_T}$ac_header_compiler" >&6
29592 # Is the header present?
29593 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29594 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29595 cat >conftest.$ac_ext <<_ACEOF
29596 #line $LINENO "configure"
29599 cat confdefs.h >>conftest.$ac_ext
29600 cat >>conftest.$ac_ext <<_ACEOF
29601 /* end confdefs.h. */
29602 #include <$ac_header>
29604 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29605 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29607 grep -v '^ *+' conftest.er1 >conftest.err
29609 cat conftest.err >&5
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); } >/dev/null; then
29612 if test -s conftest.err; then
29613 ac_cpp_err=$ac_c_preproc_warn_flag
29620 if test -z "$ac_cpp_err"; then
29621 ac_header_preproc=yes
29623 echo "$as_me: failed program was:" >&5
29624 sed 's/^/| /' conftest.$ac_ext >&5
29626 ac_header_preproc=no
29628 rm -f conftest.err conftest.$ac_ext
29629 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29630 echo "${ECHO_T}$ac_header_preproc" >&6
29632 # So? What about this header?
29633 case $ac_header_compiler:$ac_header_preproc in
29635 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29636 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29641 ## ------------------------------------ ##
29642 ## Report this to bug-autoconf@gnu.org. ##
29643 ## ------------------------------------ ##
29646 sed "s/^/$as_me: WARNING: /" >&2
29649 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29650 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29651 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29652 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29653 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29654 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29657 ## ------------------------------------ ##
29658 ## Report this to bug-autoconf@gnu.org. ##
29659 ## ------------------------------------ ##
29662 sed "s/^/$as_me: WARNING: /" >&2
29665 echo "$as_me:$LINENO: checking for $ac_header" >&5
29666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29668 echo $ECHO_N "(cached) $ECHO_C" >&6
29670 eval "$as_ac_Header=$ac_header_preproc"
29672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29676 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29677 cat >>confdefs.h <<_ACEOF
29678 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29681 EXTRALIBS_ESD="-lesd"
29692 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29693 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29694 cat >conftest.$ac_ext <<_ACEOF
29695 #line $LINENO "configure"
29698 cat confdefs.h >>conftest.$ac_ext
29699 cat >>conftest.$ac_ext <<_ACEOF
29700 /* end confdefs.h. */
29702 #include <linux/cdrom.h>
29705 #include <sys/cdio.h>
29711 struct cdrom_tocentry entry, old_entry;
29716 rm -f conftest.$ac_objext
29717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29718 (eval $ac_compile) 2>&5
29720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29721 (exit $ac_status); } &&
29722 { ac_try='test -s conftest.$ac_objext'
29723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29724 (eval $ac_try) 2>&5
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); }; }; then
29728 echo "$as_me:$LINENO: result: yes" >&5
29729 echo "${ECHO_T}yes" >&6
29730 cat >>confdefs.h <<\_ACEOF
29731 #define HAVE_KNOWN_CDROM_INTERFACE 1
29735 echo "$as_me: failed program was:" >&5
29736 sed 's/^/| /' conftest.$ac_ext >&5
29738 echo "$as_me:$LINENO: result: no" >&5
29739 echo "${ECHO_T}no" >&6
29741 rm -f conftest.$ac_objext conftest.$ac_ext
29744 cat >confcache <<\_ACEOF
29745 # This file is a shell script that caches the results of configure
29746 # tests run on this system so they can be shared between configure
29747 # scripts and configure runs, see configure's option --config-cache.
29748 # It is not useful on other systems. If it contains results you don't
29749 # want to keep, you may remove or edit it.
29751 # config.status only pays attention to the cache file if you give it
29752 # the --recheck option to rerun configure.
29754 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29755 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29756 # following values.
29760 # The following way of writing the cache mishandles newlines in values,
29761 # but we know of no workaround that is simple, portable, and efficient.
29762 # So, don't put newlines in cache variables' values.
29763 # Ultrix sh set writes to stderr and can't be redirected directly,
29764 # and sets the high bit in the cache file unless we assign to the vars.
29767 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29769 # `set' does not quote correctly, so add quotes (double-quote
29770 # substitution turns \\\\ into \\, and sed turns \\ into \).
29773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29776 # `set' quotes correctly as required by POSIX, so do not add quotes.
29778 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29785 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29787 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29789 if diff $cache_file confcache >/dev/null 2>&1; then :; else
29790 if test -w $cache_file; then
29791 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29792 cat confcache >$cache_file
29794 echo "not updating unwritable cache $cache_file"
29801 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29807 if test "$wxUSE_THREADS" = "yes" ; then
29808 if test "$USE_BEOS" = 1; then
29809 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29810 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29815 if test "$wxUSE_THREADS" = "yes" ; then
29818 THREAD_OPTS="-pthread"
29820 *-*-solaris2* | *-*-sunos4* )
29821 if test "x$GCC" = "xyes"; then
29822 THREAD_OPTS="-pthreads $THREAD_OPTS"
29824 THREAD_OPTS="-mt $THREAD_OPTS"
29828 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
29830 *-*-darwin* | *-*-cygwin* )
29834 THREAD_OPTS="pthreads"
29837 if test "x$GCC" != "xyes"; then
29843 if test "x$GCC" = "xyes"; then
29849 if test "x$GCC" != "xyes"; then
29850 THREAD_OPTS="-Ethread"
29855 THREAD_OPTS="$THREAD_OPTS pthread none"
29858 for flag in $THREAD_OPTS; do
29861 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29862 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29866 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29867 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29868 THREADS_CFLAGS="$flag"
29872 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29873 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29874 THREADS_LINK="-l$flag"
29879 save_CFLAGS="$CFLAGS"
29880 LIBS="$THREADS_LINK $LIBS"
29881 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29883 cat >conftest.$ac_ext <<_ACEOF
29884 #line $LINENO "configure"
29887 cat confdefs.h >>conftest.$ac_ext
29888 cat >>conftest.$ac_ext <<_ACEOF
29889 /* end confdefs.h. */
29890 #include <pthread.h>
29894 pthread_create(0,0,0,0);
29899 rm -f conftest.$ac_objext conftest$ac_exeext
29900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29901 (eval $ac_link) 2>&5
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); } &&
29905 { ac_try='test -s conftest$ac_exeext'
29906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29907 (eval $ac_try) 2>&5
29909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29910 (exit $ac_status); }; }; then
29913 echo "$as_me: failed program was:" >&5
29914 sed 's/^/| /' conftest.$ac_ext >&5
29917 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29920 CFLAGS="$save_CFLAGS"
29922 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29923 echo "${ECHO_T}$THREADS_OK" >&6
29924 if test "x$THREADS_OK" = "xyes"; then
29932 if test "x$THREADS_OK" != "xyes"; then
29934 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29935 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29937 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29938 LIBS="$THREADS_LINK $LIBS"
29940 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29941 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29945 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29946 flag="-D_THREAD_SAFE"
29949 flag="-D_THREAD_SAFE"
29952 flag="-D_REENTRANT"
29953 if test "x$GCC" != "xyes"; then
29954 flag="$flag -D_RWSTD_MULTI_THREAD"
29957 *solaris* | alpha*-osf*)
29958 flag="-D_REENTRANT"
29961 echo "$as_me:$LINENO: result: ${flag}" >&5
29962 echo "${ECHO_T}${flag}" >&6
29963 if test "x$flag" != xno; then
29964 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29967 if test "x$THREADS_CFLAGS" != "x"; then
29968 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29969 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29974 if test "$wxUSE_THREADS" = "yes" ; then
29976 for ac_func in thr_setconcurrency
29978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29979 echo "$as_me:$LINENO: checking for $ac_func" >&5
29980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29981 if eval "test \"\${$as_ac_var+set}\" = set"; then
29982 echo $ECHO_N "(cached) $ECHO_C" >&6
29984 cat >conftest.$ac_ext <<_ACEOF
29985 #line $LINENO "configure"
29988 cat confdefs.h >>conftest.$ac_ext
29989 cat >>conftest.$ac_ext <<_ACEOF
29990 /* end confdefs.h. */
29991 /* System header to define __stub macros and hopefully few prototypes,
29992 which can conflict with char $ac_func (); below.
29993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29994 <limits.h> exists even on freestanding compilers. */
29996 # include <limits.h>
29998 # include <assert.h>
30000 /* Override any gcc2 internal prototype to avoid an error. */
30005 /* We use char because int might match the return type of a gcc2
30006 builtin and then its argument prototype would still apply. */
30008 /* The GNU C library defines this for functions which it implements
30009 to always fail with ENOSYS. Some functions are actually named
30010 something starting with __ and the normal name is an alias. */
30011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30014 char (*f) () = $ac_func;
30023 return f != $ac_func;
30028 rm -f conftest.$ac_objext conftest$ac_exeext
30029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30030 (eval $ac_link) 2>&5
30032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30033 (exit $ac_status); } &&
30034 { ac_try='test -s conftest$ac_exeext'
30035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30036 (eval $ac_try) 2>&5
30038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30039 (exit $ac_status); }; }; then
30040 eval "$as_ac_var=yes"
30042 echo "$as_me: failed program was:" >&5
30043 sed 's/^/| /' conftest.$ac_ext >&5
30045 eval "$as_ac_var=no"
30047 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30051 if test `eval echo '${'$as_ac_var'}'` = yes; then
30052 cat >>confdefs.h <<_ACEOF
30053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30061 for ac_header in sched.h
30063 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30065 echo "$as_me:$LINENO: checking for $ac_header" >&5
30066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30068 echo $ECHO_N "(cached) $ECHO_C" >&6
30070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30073 # Is the header compilable?
30074 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30075 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30076 cat >conftest.$ac_ext <<_ACEOF
30077 #line $LINENO "configure"
30080 cat confdefs.h >>conftest.$ac_ext
30081 cat >>conftest.$ac_ext <<_ACEOF
30082 /* end confdefs.h. */
30083 $ac_includes_default
30084 #include <$ac_header>
30086 rm -f conftest.$ac_objext
30087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30088 (eval $ac_compile) 2>&5
30090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30091 (exit $ac_status); } &&
30092 { ac_try='test -s conftest.$ac_objext'
30093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30094 (eval $ac_try) 2>&5
30096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30097 (exit $ac_status); }; }; then
30098 ac_header_compiler=yes
30100 echo "$as_me: failed program was:" >&5
30101 sed 's/^/| /' conftest.$ac_ext >&5
30103 ac_header_compiler=no
30105 rm -f conftest.$ac_objext conftest.$ac_ext
30106 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30107 echo "${ECHO_T}$ac_header_compiler" >&6
30109 # Is the header present?
30110 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30111 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30112 cat >conftest.$ac_ext <<_ACEOF
30113 #line $LINENO "configure"
30116 cat confdefs.h >>conftest.$ac_ext
30117 cat >>conftest.$ac_ext <<_ACEOF
30118 /* end confdefs.h. */
30119 #include <$ac_header>
30121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30122 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30124 grep -v '^ *+' conftest.er1 >conftest.err
30126 cat conftest.err >&5
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); } >/dev/null; then
30129 if test -s conftest.err; then
30130 ac_cpp_err=$ac_c_preproc_warn_flag
30137 if test -z "$ac_cpp_err"; then
30138 ac_header_preproc=yes
30140 echo "$as_me: failed program was:" >&5
30141 sed 's/^/| /' conftest.$ac_ext >&5
30143 ac_header_preproc=no
30145 rm -f conftest.err conftest.$ac_ext
30146 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30147 echo "${ECHO_T}$ac_header_preproc" >&6
30149 # So? What about this header?
30150 case $ac_header_compiler:$ac_header_preproc in
30152 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30153 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30158 ## ------------------------------------ ##
30159 ## Report this to bug-autoconf@gnu.org. ##
30160 ## ------------------------------------ ##
30163 sed "s/^/$as_me: WARNING: /" >&2
30166 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30167 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30168 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30169 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30171 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30174 ## ------------------------------------ ##
30175 ## Report this to bug-autoconf@gnu.org. ##
30176 ## ------------------------------------ ##
30179 sed "s/^/$as_me: WARNING: /" >&2
30182 echo "$as_me:$LINENO: checking for $ac_header" >&5
30183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30185 echo $ECHO_N "(cached) $ECHO_C" >&6
30187 eval "$as_ac_Header=$ac_header_preproc"
30189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30193 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30194 cat >>confdefs.h <<_ACEOF
30195 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30202 if test "$ac_cv_header_sched_h" = "yes"; then
30203 echo "$as_me:$LINENO: checking for sched_yield" >&5
30204 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
30205 if test "${ac_cv_func_sched_yield+set}" = set; then
30206 echo $ECHO_N "(cached) $ECHO_C" >&6
30208 cat >conftest.$ac_ext <<_ACEOF
30209 #line $LINENO "configure"
30212 cat confdefs.h >>conftest.$ac_ext
30213 cat >>conftest.$ac_ext <<_ACEOF
30214 /* end confdefs.h. */
30215 /* System header to define __stub macros and hopefully few prototypes,
30216 which can conflict with char sched_yield (); below.
30217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30218 <limits.h> exists even on freestanding compilers. */
30220 # include <limits.h>
30222 # include <assert.h>
30224 /* Override any gcc2 internal prototype to avoid an error. */
30229 /* We use char because int might match the return type of a gcc2
30230 builtin and then its argument prototype would still apply. */
30231 char sched_yield ();
30232 /* The GNU C library defines this for functions which it implements
30233 to always fail with ENOSYS. Some functions are actually named
30234 something starting with __ and the normal name is an alias. */
30235 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
30238 char (*f) () = sched_yield;
30247 return f != sched_yield;
30252 rm -f conftest.$ac_objext conftest$ac_exeext
30253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30254 (eval $ac_link) 2>&5
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); } &&
30258 { ac_try='test -s conftest$ac_exeext'
30259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30260 (eval $ac_try) 2>&5
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); }; }; then
30264 ac_cv_func_sched_yield=yes
30266 echo "$as_me: failed program was:" >&5
30267 sed 's/^/| /' conftest.$ac_ext >&5
30269 ac_cv_func_sched_yield=no
30271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30273 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
30274 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
30275 if test $ac_cv_func_sched_yield = yes; then
30276 cat >>confdefs.h <<\_ACEOF
30277 #define HAVE_SCHED_YIELD 1
30282 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
30283 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
30284 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
30285 echo $ECHO_N "(cached) $ECHO_C" >&6
30287 ac_check_lib_save_LIBS=$LIBS
30288 LIBS="-lposix4 $LIBS"
30289 cat >conftest.$ac_ext <<_ACEOF
30290 #line $LINENO "configure"
30293 cat confdefs.h >>conftest.$ac_ext
30294 cat >>conftest.$ac_ext <<_ACEOF
30295 /* end confdefs.h. */
30297 /* Override any gcc2 internal prototype to avoid an error. */
30301 /* We use char because int might match the return type of a gcc2
30302 builtin and then its argument prototype would still apply. */
30303 char sched_yield ();
30312 rm -f conftest.$ac_objext conftest$ac_exeext
30313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30314 (eval $ac_link) 2>&5
30316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30317 (exit $ac_status); } &&
30318 { ac_try='test -s conftest$ac_exeext'
30319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30320 (eval $ac_try) 2>&5
30322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30323 (exit $ac_status); }; }; then
30324 ac_cv_lib_posix4_sched_yield=yes
30326 echo "$as_me: failed program was:" >&5
30327 sed 's/^/| /' conftest.$ac_ext >&5
30329 ac_cv_lib_posix4_sched_yield=no
30331 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30332 LIBS=$ac_check_lib_save_LIBS
30334 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
30335 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
30336 if test $ac_cv_lib_posix4_sched_yield = yes; then
30337 cat >>confdefs.h <<\_ACEOF
30338 #define HAVE_SCHED_YIELD 1
30340 POSIX4_LINK=" -lposix4"
30342 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
30343 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
30354 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
30355 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
30356 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
30357 echo $ECHO_N "(cached) $ECHO_C" >&6
30359 cat >conftest.$ac_ext <<_ACEOF
30360 #line $LINENO "configure"
30363 cat confdefs.h >>conftest.$ac_ext
30364 cat >>conftest.$ac_ext <<_ACEOF
30365 /* end confdefs.h. */
30366 /* System header to define __stub macros and hopefully few prototypes,
30367 which can conflict with char pthread_attr_getschedpolicy (); below.
30368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30369 <limits.h> exists even on freestanding compilers. */
30371 # include <limits.h>
30373 # include <assert.h>
30375 /* Override any gcc2 internal prototype to avoid an error. */
30380 /* We use char because int might match the return type of a gcc2
30381 builtin and then its argument prototype would still apply. */
30382 char pthread_attr_getschedpolicy ();
30383 /* The GNU C library defines this for functions which it implements
30384 to always fail with ENOSYS. Some functions are actually named
30385 something starting with __ and the normal name is an alias. */
30386 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
30389 char (*f) () = pthread_attr_getschedpolicy;
30398 return f != pthread_attr_getschedpolicy;
30403 rm -f conftest.$ac_objext conftest$ac_exeext
30404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30405 (eval $ac_link) 2>&5
30407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30408 (exit $ac_status); } &&
30409 { ac_try='test -s conftest$ac_exeext'
30410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30411 (eval $ac_try) 2>&5
30413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30414 (exit $ac_status); }; }; then
30415 ac_cv_func_pthread_attr_getschedpolicy=yes
30417 echo "$as_me: failed program was:" >&5
30418 sed 's/^/| /' conftest.$ac_ext >&5
30420 ac_cv_func_pthread_attr_getschedpolicy=no
30422 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30424 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
30425 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
30426 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
30427 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
30428 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
30429 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
30430 echo $ECHO_N "(cached) $ECHO_C" >&6
30432 cat >conftest.$ac_ext <<_ACEOF
30433 #line $LINENO "configure"
30436 cat confdefs.h >>conftest.$ac_ext
30437 cat >>conftest.$ac_ext <<_ACEOF
30438 /* end confdefs.h. */
30439 /* System header to define __stub macros and hopefully few prototypes,
30440 which can conflict with char pthread_attr_setschedparam (); below.
30441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30442 <limits.h> exists even on freestanding compilers. */
30444 # include <limits.h>
30446 # include <assert.h>
30448 /* Override any gcc2 internal prototype to avoid an error. */
30453 /* We use char because int might match the return type of a gcc2
30454 builtin and then its argument prototype would still apply. */
30455 char pthread_attr_setschedparam ();
30456 /* The GNU C library defines this for functions which it implements
30457 to always fail with ENOSYS. Some functions are actually named
30458 something starting with __ and the normal name is an alias. */
30459 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
30462 char (*f) () = pthread_attr_setschedparam;
30471 return f != pthread_attr_setschedparam;
30476 rm -f conftest.$ac_objext conftest$ac_exeext
30477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30478 (eval $ac_link) 2>&5
30480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481 (exit $ac_status); } &&
30482 { ac_try='test -s conftest$ac_exeext'
30483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30484 (eval $ac_try) 2>&5
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); }; }; then
30488 ac_cv_func_pthread_attr_setschedparam=yes
30490 echo "$as_me: failed program was:" >&5
30491 sed 's/^/| /' conftest.$ac_ext >&5
30493 ac_cv_func_pthread_attr_setschedparam=no
30495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30497 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
30498 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
30499 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
30500 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
30501 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
30502 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
30503 echo $ECHO_N "(cached) $ECHO_C" >&6
30505 cat >conftest.$ac_ext <<_ACEOF
30506 #line $LINENO "configure"
30509 cat confdefs.h >>conftest.$ac_ext
30510 cat >>conftest.$ac_ext <<_ACEOF
30511 /* end confdefs.h. */
30512 /* System header to define __stub macros and hopefully few prototypes,
30513 which can conflict with char sched_get_priority_max (); below.
30514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30515 <limits.h> exists even on freestanding compilers. */
30517 # include <limits.h>
30519 # include <assert.h>
30521 /* Override any gcc2 internal prototype to avoid an error. */
30526 /* We use char because int might match the return type of a gcc2
30527 builtin and then its argument prototype would still apply. */
30528 char sched_get_priority_max ();
30529 /* The GNU C library defines this for functions which it implements
30530 to always fail with ENOSYS. Some functions are actually named
30531 something starting with __ and the normal name is an alias. */
30532 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
30535 char (*f) () = sched_get_priority_max;
30544 return f != sched_get_priority_max;
30549 rm -f conftest.$ac_objext conftest$ac_exeext
30550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30551 (eval $ac_link) 2>&5
30553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30554 (exit $ac_status); } &&
30555 { ac_try='test -s conftest$ac_exeext'
30556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30557 (eval $ac_try) 2>&5
30559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30560 (exit $ac_status); }; }; then
30561 ac_cv_func_sched_get_priority_max=yes
30563 echo "$as_me: failed program was:" >&5
30564 sed 's/^/| /' conftest.$ac_ext >&5
30566 ac_cv_func_sched_get_priority_max=no
30568 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30570 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
30571 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
30572 if test $ac_cv_func_sched_get_priority_max = yes; then
30575 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
30576 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
30577 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
30578 echo $ECHO_N "(cached) $ECHO_C" >&6
30580 ac_check_lib_save_LIBS=$LIBS
30581 LIBS="-lposix4 $LIBS"
30582 cat >conftest.$ac_ext <<_ACEOF
30583 #line $LINENO "configure"
30586 cat confdefs.h >>conftest.$ac_ext
30587 cat >>conftest.$ac_ext <<_ACEOF
30588 /* end confdefs.h. */
30590 /* Override any gcc2 internal prototype to avoid an error. */
30594 /* We use char because int might match the return type of a gcc2
30595 builtin and then its argument prototype would still apply. */
30596 char sched_get_priority_max ();
30600 sched_get_priority_max ();
30605 rm -f conftest.$ac_objext conftest$ac_exeext
30606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30607 (eval $ac_link) 2>&5
30609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30610 (exit $ac_status); } &&
30611 { ac_try='test -s conftest$ac_exeext'
30612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30613 (eval $ac_try) 2>&5
30615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30616 (exit $ac_status); }; }; then
30617 ac_cv_lib_posix4_sched_get_priority_max=yes
30619 echo "$as_me: failed program was:" >&5
30620 sed 's/^/| /' conftest.$ac_ext >&5
30622 ac_cv_lib_posix4_sched_get_priority_max=no
30624 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30625 LIBS=$ac_check_lib_save_LIBS
30627 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30628 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30629 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30632 POSIX4_LINK=" -lposix4"
30646 if test "$HAVE_PRIOR_FUNCS" = 1; then
30647 cat >>confdefs.h <<\_ACEOF
30648 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30652 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30653 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30656 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30657 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30658 if test "${ac_cv_func_pthread_cancel+set}" = set; then
30659 echo $ECHO_N "(cached) $ECHO_C" >&6
30661 cat >conftest.$ac_ext <<_ACEOF
30662 #line $LINENO "configure"
30665 cat confdefs.h >>conftest.$ac_ext
30666 cat >>conftest.$ac_ext <<_ACEOF
30667 /* end confdefs.h. */
30668 /* System header to define __stub macros and hopefully few prototypes,
30669 which can conflict with char pthread_cancel (); below.
30670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30671 <limits.h> exists even on freestanding compilers. */
30673 # include <limits.h>
30675 # include <assert.h>
30677 /* Override any gcc2 internal prototype to avoid an error. */
30682 /* We use char because int might match the return type of a gcc2
30683 builtin and then its argument prototype would still apply. */
30684 char pthread_cancel ();
30685 /* The GNU C library defines this for functions which it implements
30686 to always fail with ENOSYS. Some functions are actually named
30687 something starting with __ and the normal name is an alias. */
30688 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30691 char (*f) () = pthread_cancel;
30700 return f != pthread_cancel;
30705 rm -f conftest.$ac_objext conftest$ac_exeext
30706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30707 (eval $ac_link) 2>&5
30709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30710 (exit $ac_status); } &&
30711 { ac_try='test -s conftest$ac_exeext'
30712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30713 (eval $ac_try) 2>&5
30715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30716 (exit $ac_status); }; }; then
30717 ac_cv_func_pthread_cancel=yes
30719 echo "$as_me: failed program was:" >&5
30720 sed 's/^/| /' conftest.$ac_ext >&5
30722 ac_cv_func_pthread_cancel=no
30724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30726 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30727 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30728 if test $ac_cv_func_pthread_cancel = yes; then
30729 cat >>confdefs.h <<\_ACEOF
30730 #define HAVE_PTHREAD_CANCEL 1
30734 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30735 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30741 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30742 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30743 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30744 echo $ECHO_N "(cached) $ECHO_C" >&6
30747 cat >conftest.$ac_ext <<_ACEOF
30748 #line $LINENO "configure"
30751 cat confdefs.h >>conftest.$ac_ext
30752 cat >>conftest.$ac_ext <<_ACEOF
30753 /* end confdefs.h. */
30754 #include <pthread.h>
30759 pthread_mutexattr_t attr;
30760 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30766 rm -f conftest.$ac_objext
30767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30768 (eval $ac_compile) 2>&5
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); } &&
30772 { ac_try='test -s conftest.$ac_objext'
30773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30774 (eval $ac_try) 2>&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); }; }; then
30779 wx_cv_type_pthread_mutexattr_t=yes
30782 echo "$as_me: failed program was:" >&5
30783 sed 's/^/| /' conftest.$ac_ext >&5
30786 wx_cv_type_pthread_mutexattr_t=no
30790 rm -f conftest.$ac_objext conftest.$ac_ext
30793 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30794 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30796 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30797 cat >>confdefs.h <<\_ACEOF
30798 #define HAVE_PTHREAD_MUTEXATTR_T 1
30802 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30803 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30804 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30805 echo $ECHO_N "(cached) $ECHO_C" >&6
30808 cat >conftest.$ac_ext <<_ACEOF
30809 #line $LINENO "configure"
30812 cat confdefs.h >>conftest.$ac_ext
30813 cat >>conftest.$ac_ext <<_ACEOF
30814 /* end confdefs.h. */
30815 #include <pthread.h>
30820 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30826 rm -f conftest.$ac_objext
30827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30828 (eval $ac_compile) 2>&5
30830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30831 (exit $ac_status); } &&
30832 { ac_try='test -s conftest.$ac_objext'
30833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30834 (eval $ac_try) 2>&5
30836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30837 (exit $ac_status); }; }; then
30839 wx_cv_type_pthread_rec_mutex_init=yes
30842 echo "$as_me: failed program was:" >&5
30843 sed 's/^/| /' conftest.$ac_ext >&5
30846 wx_cv_type_pthread_rec_mutex_init=no
30850 rm -f conftest.$ac_objext conftest.$ac_ext
30853 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30854 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30855 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30856 cat >>confdefs.h <<\_ACEOF
30857 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30861 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30862 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30868 if test "$wxUSE_THREADS" = "yes" ; then
30871 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30872 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30873 if test "${wx_cv_cflags_mthread+set}" = set; then
30874 echo $ECHO_N "(cached) $ECHO_C" >&6
30877 CFLAGS_OLD="$CFLAGS"
30878 CFLAGS="$CFLAGS -mthreads"
30879 cat >conftest.$ac_ext <<_ACEOF
30880 #line $LINENO "configure"
30883 cat confdefs.h >>conftest.$ac_ext
30884 cat >>conftest.$ac_ext <<_ACEOF
30885 /* end confdefs.h. */
30895 rm -f conftest.$ac_objext
30896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30897 (eval $ac_compile) 2>&5
30899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30900 (exit $ac_status); } &&
30901 { ac_try='test -s conftest.$ac_objext'
30902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30903 (eval $ac_try) 2>&5
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); }; }; then
30907 wx_cv_cflags_mthread=yes
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.$ac_ext >&5
30912 wx_cv_cflags_mthread=no
30915 rm -f conftest.$ac_objext conftest.$ac_ext
30919 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30920 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30922 if test "$wx_cv_cflags_mthread" = "yes"; then
30923 CXXFLAGS="$CXXFLAGS -mthreads"
30924 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30925 LDFLAGS="$LDFLAGS -mthreads"
30927 CFLAGS="$CFLAGS_OLD"
30931 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30932 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30933 LDFLAGS="$LDFLAGS -Zmt"
30939 if test "$wxUSE_THREADS" = "yes"; then
30940 cat >>confdefs.h <<\_ACEOF
30941 #define wxUSE_THREADS 1
30945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30947 if test "$ac_cv_func_strtok_r" = "yes"; then
30948 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30949 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30950 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30951 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30952 echo "$as_me:$LINENO: result: yes" >&5
30953 echo "${ECHO_T}yes" >&6
30955 echo "$as_me:$LINENO: result: no" >&5
30956 echo "${ECHO_T}no" >&6
30961 if test "$WXGTK20" = 1 ; then
30962 cat >>confdefs.h <<_ACEOF
30963 #define __WXGTK20__ $WXGTK20
30969 if test "$WXGTK12" = 1 ; then
30970 cat >>confdefs.h <<_ACEOF
30971 #define __WXGTK12__ $WXGTK12
30976 if test "$WXGTK127" = 1 ; then
30977 cat >>confdefs.h <<_ACEOF
30978 #define __WXGTK127__ $WXGTK127
30983 if test "$WXGPE" = 1 ; then
30984 cat >>confdefs.h <<_ACEOF
30985 #define __WXGPE__ $WXGPE
30992 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30997 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30998 wxUSE_DEBUG_INFO=yes
31002 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
31003 cat >>confdefs.h <<\_ACEOF
31007 WXDEBUG_DEFINE="-D__WXDEBUG__"
31009 if test "$wxUSE_GTK" = 1 ; then
31010 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
31014 if test "$wxUSE_MEM_TRACING" = "yes" ; then
31015 cat >>confdefs.h <<\_ACEOF
31016 #define wxUSE_MEMORY_TRACING 1
31019 cat >>confdefs.h <<\_ACEOF
31020 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
31023 cat >>confdefs.h <<\_ACEOF
31024 #define wxUSE_DEBUG_NEW_ALWAYS 1
31027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
31030 if test "$wxUSE_DMALLOC" = "yes" ; then
31031 DMALLOC_LIBS="-ldmalloc"
31035 if test "$wxUSE_PROFILE" = "yes" ; then
31040 CODE_GEN_FLAGS_CXX=
31041 if test "$GCC" = "yes" ; then
31042 if test "$wxUSE_NO_RTTI" = "yes" ; then
31043 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
31045 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
31046 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
31048 if test "$wxUSE_PERMISSIVE" = "yes" ; then
31049 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
31054 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
31057 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
31063 if test "$wxUSE_OPTIMISE" = "no" ; then
31064 if test "$GCC" = yes ; then
31068 if test "$GCC" = yes ; then
31072 i586-*-*|i686-*-* )
31073 OPTIMISE="${OPTIMISE} "
31082 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
31083 cat >>confdefs.h <<\_ACEOF
31084 #define WXWIN_COMPATIBILITY_2_2 1
31088 WXWIN_COMPATIBILITY_2_4="yes"
31091 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
31092 cat >>confdefs.h <<\_ACEOF
31093 #define WXWIN_COMPATIBILITY_2_4 1
31099 if test "$wxUSE_GUI" = "yes"; then
31100 cat >>confdefs.h <<\_ACEOF
31101 #define wxUSE_GUI 1
31106 cat >>confdefs.h <<\_ACEOF
31107 #define wxUSE_NOGUI 1
31113 if test "$wxUSE_UNIX" = "yes"; then
31114 cat >>confdefs.h <<\_ACEOF
31115 #define wxUSE_UNIX 1
31121 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31125 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31126 if test "$USE_DARWIN" = 1; then
31130 for ac_func in dlopen
31132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31133 echo "$as_me:$LINENO: checking for $ac_func" >&5
31134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31135 if eval "test \"\${$as_ac_var+set}\" = set"; then
31136 echo $ECHO_N "(cached) $ECHO_C" >&6
31138 cat >conftest.$ac_ext <<_ACEOF
31139 #line $LINENO "configure"
31142 cat confdefs.h >>conftest.$ac_ext
31143 cat >>conftest.$ac_ext <<_ACEOF
31144 /* end confdefs.h. */
31145 /* System header to define __stub macros and hopefully few prototypes,
31146 which can conflict with char $ac_func (); below.
31147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31148 <limits.h> exists even on freestanding compilers. */
31150 # include <limits.h>
31152 # include <assert.h>
31154 /* Override any gcc2 internal prototype to avoid an error. */
31159 /* We use char because int might match the return type of a gcc2
31160 builtin and then its argument prototype would still apply. */
31162 /* The GNU C library defines this for functions which it implements
31163 to always fail with ENOSYS. Some functions are actually named
31164 something starting with __ and the normal name is an alias. */
31165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31168 char (*f) () = $ac_func;
31177 return f != $ac_func;
31182 rm -f conftest.$ac_objext conftest$ac_exeext
31183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31184 (eval $ac_link) 2>&5
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); } &&
31188 { ac_try='test -s conftest$ac_exeext'
31189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31190 (eval $ac_try) 2>&5
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); }; }; then
31194 eval "$as_ac_var=yes"
31196 echo "$as_me: failed program was:" >&5
31197 sed 's/^/| /' conftest.$ac_ext >&5
31199 eval "$as_ac_var=no"
31201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31205 if test `eval echo '${'$as_ac_var'}'` = yes; then
31206 cat >>confdefs.h <<_ACEOF
31207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31210 cat >>confdefs.h <<\_ACEOF
31211 #define HAVE_DLOPEN 1
31218 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31219 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31220 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31221 echo $ECHO_N "(cached) $ECHO_C" >&6
31223 ac_check_lib_save_LIBS=$LIBS
31225 cat >conftest.$ac_ext <<_ACEOF
31226 #line $LINENO "configure"
31229 cat confdefs.h >>conftest.$ac_ext
31230 cat >>conftest.$ac_ext <<_ACEOF
31231 /* end confdefs.h. */
31233 /* Override any gcc2 internal prototype to avoid an error. */
31237 /* We use char because int might match the return type of a gcc2
31238 builtin and then its argument prototype would still apply. */
31248 rm -f conftest.$ac_objext conftest$ac_exeext
31249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31250 (eval $ac_link) 2>&5
31252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253 (exit $ac_status); } &&
31254 { ac_try='test -s conftest$ac_exeext'
31255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31256 (eval $ac_try) 2>&5
31258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31259 (exit $ac_status); }; }; then
31260 ac_cv_lib_dl_dlopen=yes
31262 echo "$as_me: failed program was:" >&5
31263 sed 's/^/| /' conftest.$ac_ext >&5
31265 ac_cv_lib_dl_dlopen=no
31267 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31268 LIBS=$ac_check_lib_save_LIBS
31270 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31271 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31272 if test $ac_cv_lib_dl_dlopen = yes; then
31274 cat >>confdefs.h <<\_ACEOF
31275 #define HAVE_DLOPEN 1
31279 DL_LINK=" -ldl$DL_LINK"
31284 for ac_func in shl_load
31286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31287 echo "$as_me:$LINENO: checking for $ac_func" >&5
31288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31289 if eval "test \"\${$as_ac_var+set}\" = set"; then
31290 echo $ECHO_N "(cached) $ECHO_C" >&6
31292 cat >conftest.$ac_ext <<_ACEOF
31293 #line $LINENO "configure"
31296 cat confdefs.h >>conftest.$ac_ext
31297 cat >>conftest.$ac_ext <<_ACEOF
31298 /* end confdefs.h. */
31299 /* System header to define __stub macros and hopefully few prototypes,
31300 which can conflict with char $ac_func (); below.
31301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31302 <limits.h> exists even on freestanding compilers. */
31304 # include <limits.h>
31306 # include <assert.h>
31308 /* Override any gcc2 internal prototype to avoid an error. */
31313 /* We use char because int might match the return type of a gcc2
31314 builtin and then its argument prototype would still apply. */
31316 /* The GNU C library defines this for functions which it implements
31317 to always fail with ENOSYS. Some functions are actually named
31318 something starting with __ and the normal name is an alias. */
31319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31322 char (*f) () = $ac_func;
31331 return f != $ac_func;
31336 rm -f conftest.$ac_objext conftest$ac_exeext
31337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31338 (eval $ac_link) 2>&5
31340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31341 (exit $ac_status); } &&
31342 { ac_try='test -s conftest$ac_exeext'
31343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31344 (eval $ac_try) 2>&5
31346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31347 (exit $ac_status); }; }; then
31348 eval "$as_ac_var=yes"
31350 echo "$as_me: failed program was:" >&5
31351 sed 's/^/| /' conftest.$ac_ext >&5
31353 eval "$as_ac_var=no"
31355 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31359 if test `eval echo '${'$as_ac_var'}'` = yes; then
31360 cat >>confdefs.h <<_ACEOF
31361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31364 cat >>confdefs.h <<\_ACEOF
31365 #define HAVE_SHL_LOAD 1
31372 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31373 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31374 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31375 echo $ECHO_N "(cached) $ECHO_C" >&6
31377 ac_check_lib_save_LIBS=$LIBS
31378 LIBS="-lshl_load $LIBS"
31379 cat >conftest.$ac_ext <<_ACEOF
31380 #line $LINENO "configure"
31383 cat confdefs.h >>conftest.$ac_ext
31384 cat >>conftest.$ac_ext <<_ACEOF
31385 /* end confdefs.h. */
31387 /* Override any gcc2 internal prototype to avoid an error. */
31391 /* We use char because int might match the return type of a gcc2
31392 builtin and then its argument prototype would still apply. */
31402 rm -f conftest.$ac_objext conftest$ac_exeext
31403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31404 (eval $ac_link) 2>&5
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); } &&
31408 { ac_try='test -s conftest$ac_exeext'
31409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31410 (eval $ac_try) 2>&5
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); }; }; then
31414 ac_cv_lib_shl_load_dld=yes
31416 echo "$as_me: failed program was:" >&5
31417 sed 's/^/| /' conftest.$ac_ext >&5
31419 ac_cv_lib_shl_load_dld=no
31421 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31422 LIBS=$ac_check_lib_save_LIBS
31424 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31425 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31426 if test $ac_cv_lib_shl_load_dld = yes; then
31429 DL_LINK=" -ldld$DL_LINK"
31445 if test "$HAVE_DL_FUNCS" = 1; then
31447 for ac_func in dlerror
31449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31450 echo "$as_me:$LINENO: checking for $ac_func" >&5
31451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31452 if eval "test \"\${$as_ac_var+set}\" = set"; then
31453 echo $ECHO_N "(cached) $ECHO_C" >&6
31455 cat >conftest.$ac_ext <<_ACEOF
31456 #line $LINENO "configure"
31459 cat confdefs.h >>conftest.$ac_ext
31460 cat >>conftest.$ac_ext <<_ACEOF
31461 /* end confdefs.h. */
31462 /* System header to define __stub macros and hopefully few prototypes,
31463 which can conflict with char $ac_func (); below.
31464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31465 <limits.h> exists even on freestanding compilers. */
31467 # include <limits.h>
31469 # include <assert.h>
31471 /* Override any gcc2 internal prototype to avoid an error. */
31476 /* We use char because int might match the return type of a gcc2
31477 builtin and then its argument prototype would still apply. */
31479 /* The GNU C library defines this for functions which it implements
31480 to always fail with ENOSYS. Some functions are actually named
31481 something starting with __ and the normal name is an alias. */
31482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31485 char (*f) () = $ac_func;
31494 return f != $ac_func;
31499 rm -f conftest.$ac_objext conftest$ac_exeext
31500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31501 (eval $ac_link) 2>&5
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); } &&
31505 { ac_try='test -s conftest$ac_exeext'
31506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31507 (eval $ac_try) 2>&5
31509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31510 (exit $ac_status); }; }; then
31511 eval "$as_ac_var=yes"
31513 echo "$as_me: failed program was:" >&5
31514 sed 's/^/| /' conftest.$ac_ext >&5
31516 eval "$as_ac_var=no"
31518 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31522 if test `eval echo '${'$as_ac_var'}'` = yes; then
31523 cat >>confdefs.h <<_ACEOF
31524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31526 cat >>confdefs.h <<\_ACEOF
31527 #define HAVE_DLERROR 1
31532 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31533 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31534 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31535 echo $ECHO_N "(cached) $ECHO_C" >&6
31537 ac_check_lib_save_LIBS=$LIBS
31539 cat >conftest.$ac_ext <<_ACEOF
31540 #line $LINENO "configure"
31543 cat confdefs.h >>conftest.$ac_ext
31544 cat >>conftest.$ac_ext <<_ACEOF
31545 /* end confdefs.h. */
31547 /* Override any gcc2 internal prototype to avoid an error. */
31551 /* We use char because int might match the return type of a gcc2
31552 builtin and then its argument prototype would still apply. */
31562 rm -f conftest.$ac_objext conftest$ac_exeext
31563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31564 (eval $ac_link) 2>&5
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); } &&
31568 { ac_try='test -s conftest$ac_exeext'
31569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31570 (eval $ac_try) 2>&5
31572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573 (exit $ac_status); }; }; then
31574 ac_cv_lib_dl_dlerror=yes
31576 echo "$as_me: failed program was:" >&5
31577 sed 's/^/| /' conftest.$ac_ext >&5
31579 ac_cv_lib_dl_dlerror=no
31581 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31582 LIBS=$ac_check_lib_save_LIBS
31584 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31585 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31586 if test $ac_cv_lib_dl_dlerror = yes; then
31587 cat >>confdefs.h <<\_ACEOF
31588 #define HAVE_DLERROR 1
31601 if test "$HAVE_DL_FUNCS" = 0; then
31602 if test "$HAVE_SHL_FUNCS" = 0; then
31603 if test "$USE_UNIX" = 1; then
31604 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31605 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31606 wxUSE_DYNAMIC_LOADER=no
31607 wxUSE_DYNLIB_CLASS=no
31609 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31610 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31617 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31618 cat >>confdefs.h <<\_ACEOF
31619 #define wxUSE_DYNAMIC_LOADER 1
31623 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31624 cat >>confdefs.h <<\_ACEOF
31625 #define wxUSE_DYNLIB_CLASS 1
31632 if test "$wxUSE_PLUGINS" = "yes" ; then
31633 if test "$wxUSE_SHARED" = "no" ; then
31634 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
31635 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
31638 if test "$wxUSE_MONOLITHIC" = "yes" ; then
31639 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
31640 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
31643 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
31644 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
31645 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
31648 if test "$wxUSE_PLUGINS" = "yes" ; then
31649 cat >>confdefs.h <<\_ACEOF
31650 #define wxUSE_PLUGINS 1
31657 if test "$wxUSE_STL" = "yes"; then
31658 cat >>confdefs.h <<\_ACEOF
31659 #define wxUSE_STL 1
31664 if test "$wxUSE_APPLE_IEEE" = "yes"; then
31665 cat >>confdefs.h <<\_ACEOF
31666 #define wxUSE_APPLE_IEEE 1
31671 if test "$wxUSE_TIMER" = "yes"; then
31672 cat >>confdefs.h <<\_ACEOF
31673 #define wxUSE_TIMER 1
31679 if test "$wxUSE_SOUND" = "yes"; then
31680 if test "$USE_UNIX" = "1" ; then
31682 for ac_header in sys/soundcard.h
31684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31686 echo "$as_me:$LINENO: checking for $ac_header" >&5
31687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31689 echo $ECHO_N "(cached) $ECHO_C" >&6
31691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31694 # Is the header compilable?
31695 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31696 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31697 cat >conftest.$ac_ext <<_ACEOF
31698 #line $LINENO "configure"
31701 cat confdefs.h >>conftest.$ac_ext
31702 cat >>conftest.$ac_ext <<_ACEOF
31703 /* end confdefs.h. */
31704 $ac_includes_default
31705 #include <$ac_header>
31707 rm -f conftest.$ac_objext
31708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31709 (eval $ac_compile) 2>&5
31711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712 (exit $ac_status); } &&
31713 { ac_try='test -s conftest.$ac_objext'
31714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31715 (eval $ac_try) 2>&5
31717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31718 (exit $ac_status); }; }; then
31719 ac_header_compiler=yes
31721 echo "$as_me: failed program was:" >&5
31722 sed 's/^/| /' conftest.$ac_ext >&5
31724 ac_header_compiler=no
31726 rm -f conftest.$ac_objext conftest.$ac_ext
31727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31728 echo "${ECHO_T}$ac_header_compiler" >&6
31730 # Is the header present?
31731 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31732 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31733 cat >conftest.$ac_ext <<_ACEOF
31734 #line $LINENO "configure"
31737 cat confdefs.h >>conftest.$ac_ext
31738 cat >>conftest.$ac_ext <<_ACEOF
31739 /* end confdefs.h. */
31740 #include <$ac_header>
31742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31743 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31745 grep -v '^ *+' conftest.er1 >conftest.err
31747 cat conftest.err >&5
31748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31749 (exit $ac_status); } >/dev/null; then
31750 if test -s conftest.err; then
31751 ac_cpp_err=$ac_c_preproc_warn_flag
31758 if test -z "$ac_cpp_err"; then
31759 ac_header_preproc=yes
31761 echo "$as_me: failed program was:" >&5
31762 sed 's/^/| /' conftest.$ac_ext >&5
31764 ac_header_preproc=no
31766 rm -f conftest.err conftest.$ac_ext
31767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31768 echo "${ECHO_T}$ac_header_preproc" >&6
31770 # So? What about this header?
31771 case $ac_header_compiler:$ac_header_preproc in
31773 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31774 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31779 ## ------------------------------------ ##
31780 ## Report this to bug-autoconf@gnu.org. ##
31781 ## ------------------------------------ ##
31784 sed "s/^/$as_me: WARNING: /" >&2
31787 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31788 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31789 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31790 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31792 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31795 ## ------------------------------------ ##
31796 ## Report this to bug-autoconf@gnu.org. ##
31797 ## ------------------------------------ ##
31800 sed "s/^/$as_me: WARNING: /" >&2
31803 echo "$as_me:$LINENO: checking for $ac_header" >&5
31804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31806 echo $ECHO_N "(cached) $ECHO_C" >&6
31808 eval "$as_ac_Header=$ac_header_preproc"
31810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31815 cat >>confdefs.h <<_ACEOF
31816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31824 if test "$wxUSE_LIBSDL" != "no"; then
31826 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
31827 if test "${with_sdl_prefix+set}" = set; then
31828 withval="$with_sdl_prefix"
31829 sdl_prefix="$withval"
31834 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
31835 if test "${with_sdl_exec_prefix+set}" = set; then
31836 withval="$with_sdl_exec_prefix"
31837 sdl_exec_prefix="$withval"
31841 # Check whether --enable-sdltest or --disable-sdltest was given.
31842 if test "${enable_sdltest+set}" = set; then
31843 enableval="$enable_sdltest"
31849 if test x$sdl_exec_prefix != x ; then
31850 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
31851 if test x${SDL_CONFIG+set} != xset ; then
31852 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
31855 if test x$sdl_prefix != x ; then
31856 sdl_args="$sdl_args --prefix=$sdl_prefix"
31857 if test x${SDL_CONFIG+set} != xset ; then
31858 SDL_CONFIG=$sdl_prefix/bin/sdl-config
31863 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
31864 # Extract the first word of "sdl-config", so it can be a program name with args.
31865 set dummy sdl-config; ac_word=$2
31866 echo "$as_me:$LINENO: checking for $ac_word" >&5
31867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31868 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
31869 echo $ECHO_N "(cached) $ECHO_C" >&6
31871 case $SDL_CONFIG in
31873 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
31876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31877 for as_dir in $PATH
31880 test -z "$as_dir" && as_dir=.
31881 for ac_exec_ext in '' $ac_executable_extensions; do
31882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31883 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31890 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
31894 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
31896 if test -n "$SDL_CONFIG"; then
31897 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
31898 echo "${ECHO_T}$SDL_CONFIG" >&6
31900 echo "$as_me:$LINENO: result: no" >&5
31901 echo "${ECHO_T}no" >&6
31904 min_sdl_version=1.2.0
31905 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
31906 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
31908 if test "$SDL_CONFIG" = "no" ; then
31911 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
31912 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
31914 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
31915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31916 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
31917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31918 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
31919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31920 if test "x$enable_sdltest" = "xyes" ; then
31921 ac_save_CFLAGS="$CFLAGS"
31922 ac_save_LIBS="$LIBS"
31923 CFLAGS="$CFLAGS $SDL_CFLAGS"
31924 LIBS="$LIBS $SDL_LIBS"
31926 if test "$cross_compiling" = yes; then
31927 echo $ac_n "cross compiling; assumed OK... $ac_c"
31929 cat >conftest.$ac_ext <<_ACEOF
31930 #line $LINENO "configure"
31933 cat confdefs.h >>conftest.$ac_ext
31934 cat >>conftest.$ac_ext <<_ACEOF
31935 /* end confdefs.h. */
31938 #include <stdlib.h>
31939 #include <string.h>
31943 my_strdup (char *str)
31949 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
31950 strcpy (new_str, str);
31958 int main (int argc, char *argv[])
31960 int major, minor, micro;
31963 /* This hangs on some systems (?)
31964 system ("touch conf.sdltest");
31966 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
31968 /* HP/UX 9 (%@#!) writes to sscanf strings */
31969 tmp_version = my_strdup("$min_sdl_version");
31970 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31971 printf("%s, bad version string\n", "$min_sdl_version");
31975 if (($sdl_major_version > major) ||
31976 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
31977 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
31983 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
31984 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
31985 printf("*** best to upgrade to the required version.\n");
31986 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
31987 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
31988 printf("*** config.cache before re-running configure\n");
31995 rm -f conftest$ac_exeext
31996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31997 (eval $ac_link) 2>&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32002 (eval $ac_try) 2>&5
32004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32005 (exit $ac_status); }; }; then
32008 echo "$as_me: program exited with status $ac_status" >&5
32009 echo "$as_me: failed program was:" >&5
32010 sed 's/^/| /' conftest.$ac_ext >&5
32012 ( exit $ac_status )
32015 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32017 CFLAGS="$ac_save_CFLAGS"
32018 LIBS="$ac_save_LIBS"
32021 if test "x$no_sdl" = x ; then
32022 echo "$as_me:$LINENO: result: yes" >&5
32023 echo "${ECHO_T}yes" >&6
32025 EXTRALIBS_SDL="$SDL_LIBS"
32026 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
32027 cat >>confdefs.h <<\_ACEOF
32028 #define wxUSE_LIBSDL 1
32033 echo "$as_me:$LINENO: result: no" >&5
32034 echo "${ECHO_T}no" >&6
32035 if test "$SDL_CONFIG" = "no" ; then
32036 echo "*** The sdl-config script installed by SDL could not be found"
32037 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
32038 echo "*** your path, or set the SDL_CONFIG environment variable to the"
32039 echo "*** full path to sdl-config."
32041 if test -f conf.sdltest ; then
32044 echo "*** Could not run SDL test program, checking why..."
32045 CFLAGS="$CFLAGS $SDL_CFLAGS"
32046 LIBS="$LIBS $SDL_LIBS"
32047 cat >conftest.$ac_ext <<_ACEOF
32048 #line $LINENO "configure"
32051 cat confdefs.h >>conftest.$ac_ext
32052 cat >>conftest.$ac_ext <<_ACEOF
32053 /* end confdefs.h. */
32058 int main(int argc, char *argv[])
32061 #define main K_and_R_C_main
32071 rm -f conftest.$ac_objext conftest$ac_exeext
32072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32073 (eval $ac_link) 2>&5
32075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32076 (exit $ac_status); } &&
32077 { ac_try='test -s conftest$ac_exeext'
32078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32079 (eval $ac_try) 2>&5
32081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32082 (exit $ac_status); }; }; then
32083 echo "*** The test program compiled, but did not run. This usually means"
32084 echo "*** that the run-time linker is not finding SDL or finding the wrong"
32085 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
32086 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32087 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32088 echo "*** is required on your system"
32090 echo "*** If you have an old version installed, it is best to remove it, although"
32091 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32093 echo "$as_me: failed program was:" >&5
32094 sed 's/^/| /' conftest.$ac_ext >&5
32096 echo "*** The test program failed to compile or link. See the file config.log for the"
32097 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
32098 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
32099 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
32101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32102 CFLAGS="$ac_save_CFLAGS"
32103 LIBS="$ac_save_LIBS"
32114 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
32120 cat >>confdefs.h <<\_ACEOF
32121 #define wxUSE_SOUND 1
32124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
32127 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
32128 cat >>confdefs.h <<\_ACEOF
32129 #define wxUSE_CMDLINE_PARSER 1
32134 if test "$wxUSE_STOPWATCH" = "yes"; then
32135 cat >>confdefs.h <<\_ACEOF
32136 #define wxUSE_STOPWATCH 1
32141 if test "$wxUSE_DATETIME" = "yes"; then
32142 cat >>confdefs.h <<\_ACEOF
32143 #define wxUSE_DATETIME 1
32148 if test "$wxUSE_FILE" = "yes"; then
32149 cat >>confdefs.h <<\_ACEOF
32150 #define wxUSE_FILE 1
32155 if test "$wxUSE_FFILE" = "yes"; then
32156 cat >>confdefs.h <<\_ACEOF
32157 #define wxUSE_FFILE 1
32162 if test "$wxUSE_FILESYSTEM" = "yes"; then
32163 cat >>confdefs.h <<\_ACEOF
32164 #define wxUSE_FILESYSTEM 1
32169 if test "$wxUSE_FS_ZIP" = "yes"; then
32170 cat >>confdefs.h <<\_ACEOF
32171 #define wxUSE_FS_ZIP 1
32176 if test "$wxUSE_ZIPSTREAM" = "yes"; then
32177 cat >>confdefs.h <<\_ACEOF
32178 #define wxUSE_ZIPSTREAM 1
32183 if test "$wxUSE_GZSTREAM" = "yes"; then
32184 cat >>confdefs.h <<\_ACEOF
32185 #define wxUSE_GZSTREAM 1
32190 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32191 cat >>confdefs.h <<\_ACEOF
32192 #define wxUSE_ON_FATAL_EXCEPTION 1
32197 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32198 cat >>confdefs.h <<\_ACEOF
32199 #define wxUSE_SNGLINST_CHECKER 1
32204 if test "$wxUSE_BUSYINFO" = "yes"; then
32205 cat >>confdefs.h <<\_ACEOF
32206 #define wxUSE_BUSYINFO 1
32211 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
32212 cat >>confdefs.h <<\_ACEOF
32213 #define wxUSE_STD_IOSTREAM 1
32218 if test "$wxUSE_TEXTBUFFER" = "yes"; then
32219 cat >>confdefs.h <<\_ACEOF
32220 #define wxUSE_TEXTBUFFER 1
32225 if test "$wxUSE_TEXTFILE" = "yes"; then
32226 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
32227 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
32228 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
32230 cat >>confdefs.h <<\_ACEOF
32231 #define wxUSE_TEXTFILE 1
32237 if test "$wxUSE_CONFIG" = "yes" ; then
32238 if test "$wxUSE_TEXTFILE" != "yes"; then
32239 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
32240 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
32242 cat >>confdefs.h <<\_ACEOF
32243 #define wxUSE_CONFIG 1
32246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
32250 if test "$wxUSE_INTL" = "yes" ; then
32251 if test "$wxUSE_FILE" != "yes"; then
32252 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
32253 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
32255 cat >>confdefs.h <<\_ACEOF
32256 #define wxUSE_INTL 1
32259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
32260 GUIDIST="$GUIDIST INTL_DIST"
32264 if test "$wxUSE_LOG" = "yes"; then
32265 cat >>confdefs.h <<\_ACEOF
32266 #define wxUSE_LOG 1
32270 if test "$wxUSE_LOGGUI" = "yes"; then
32271 cat >>confdefs.h <<\_ACEOF
32272 #define wxUSE_LOGGUI 1
32277 if test "$wxUSE_LOGWINDOW" = "yes"; then
32278 cat >>confdefs.h <<\_ACEOF
32279 #define wxUSE_LOGWINDOW 1
32284 if test "$wxUSE_LOGDIALOG" = "yes"; then
32285 cat >>confdefs.h <<\_ACEOF
32286 #define wxUSE_LOG_DIALOG 1
32292 if test "$wxUSE_LONGLONG" = "yes"; then
32293 cat >>confdefs.h <<\_ACEOF
32294 #define wxUSE_LONGLONG 1
32299 if test "$wxUSE_GEOMETRY" = "yes"; then
32300 cat >>confdefs.h <<\_ACEOF
32301 #define wxUSE_GEOMETRY 1
32306 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
32307 cat >>confdefs.h <<\_ACEOF
32308 #define wxUSE_DIALUP_MANAGER 1
32311 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
32314 if test "$wxUSE_STREAMS" = "yes" ; then
32315 cat >>confdefs.h <<\_ACEOF
32316 #define wxUSE_STREAMS 1
32322 if test "$wxUSE_DATETIME" = "yes"; then
32324 for ac_func in strptime
32326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32327 echo "$as_me:$LINENO: checking for $ac_func" >&5
32328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32329 if eval "test \"\${$as_ac_var+set}\" = set"; then
32330 echo $ECHO_N "(cached) $ECHO_C" >&6
32332 cat >conftest.$ac_ext <<_ACEOF
32333 #line $LINENO "configure"
32336 cat confdefs.h >>conftest.$ac_ext
32337 cat >>conftest.$ac_ext <<_ACEOF
32338 /* end confdefs.h. */
32339 /* System header to define __stub macros and hopefully few prototypes,
32340 which can conflict with char $ac_func (); below.
32341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32342 <limits.h> exists even on freestanding compilers. */
32344 # include <limits.h>
32346 # include <assert.h>
32348 /* Override any gcc2 internal prototype to avoid an error. */
32353 /* We use char because int might match the return type of a gcc2
32354 builtin and then its argument prototype would still apply. */
32356 /* The GNU C library defines this for functions which it implements
32357 to always fail with ENOSYS. Some functions are actually named
32358 something starting with __ and the normal name is an alias. */
32359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32362 char (*f) () = $ac_func;
32371 return f != $ac_func;
32376 rm -f conftest.$ac_objext conftest$ac_exeext
32377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32378 (eval $ac_link) 2>&5
32380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32381 (exit $ac_status); } &&
32382 { ac_try='test -s conftest$ac_exeext'
32383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32384 (eval $ac_try) 2>&5
32386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32387 (exit $ac_status); }; }; then
32388 eval "$as_ac_var=yes"
32390 echo "$as_me: failed program was:" >&5
32391 sed 's/^/| /' conftest.$ac_ext >&5
32393 eval "$as_ac_var=no"
32395 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32399 if test `eval echo '${'$as_ac_var'}'` = yes; then
32400 cat >>confdefs.h <<_ACEOF
32401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32408 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
32409 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
32410 if test "${wx_cv_var_timezone+set}" = set; then
32411 echo $ECHO_N "(cached) $ECHO_C" >&6
32414 cat >conftest.$ac_ext <<_ACEOF
32415 #line $LINENO "configure"
32418 cat confdefs.h >>conftest.$ac_ext
32419 cat >>conftest.$ac_ext <<_ACEOF
32420 /* end confdefs.h. */
32435 rm -f conftest.$ac_objext
32436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32437 (eval $ac_compile) 2>&5
32439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32440 (exit $ac_status); } &&
32441 { ac_try='test -s conftest.$ac_objext'
32442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32443 (eval $ac_try) 2>&5
32445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32446 (exit $ac_status); }; }; then
32448 wx_cv_var_timezone=timezone
32451 echo "$as_me: failed program was:" >&5
32452 sed 's/^/| /' conftest.$ac_ext >&5
32455 cat >conftest.$ac_ext <<_ACEOF
32456 #line $LINENO "configure"
32459 cat confdefs.h >>conftest.$ac_ext
32460 cat >>conftest.$ac_ext <<_ACEOF
32461 /* end confdefs.h. */
32476 rm -f conftest.$ac_objext
32477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32478 (eval $ac_compile) 2>&5
32480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481 (exit $ac_status); } &&
32482 { ac_try='test -s conftest.$ac_objext'
32483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32484 (eval $ac_try) 2>&5
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); }; }; then
32489 wx_cv_var_timezone=_timezone
32492 echo "$as_me: failed program was:" >&5
32493 sed 's/^/| /' conftest.$ac_ext >&5
32496 cat >conftest.$ac_ext <<_ACEOF
32497 #line $LINENO "configure"
32500 cat confdefs.h >>conftest.$ac_ext
32501 cat >>conftest.$ac_ext <<_ACEOF
32502 /* end confdefs.h. */
32517 rm -f conftest.$ac_objext
32518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32519 (eval $ac_compile) 2>&5
32521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32522 (exit $ac_status); } &&
32523 { ac_try='test -s conftest.$ac_objext'
32524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32525 (eval $ac_try) 2>&5
32527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32528 (exit $ac_status); }; }; then
32530 wx_cv_var_timezone=__timezone
32533 echo "$as_me: failed program was:" >&5
32534 sed 's/^/| /' conftest.$ac_ext >&5
32537 if test "$USE_DOS" = 0 ; then
32538 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
32539 echo "$as_me: WARNING: no timezone variable" >&2;}
32544 rm -f conftest.$ac_objext conftest.$ac_ext
32548 rm -f conftest.$ac_objext conftest.$ac_ext
32552 rm -f conftest.$ac_objext conftest.$ac_ext
32556 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
32557 echo "${ECHO_T}$wx_cv_var_timezone" >&6
32559 if test "x$wx_cv_var_timezone" != x ; then
32560 cat >>confdefs.h <<_ACEOF
32561 #define WX_TIMEZONE $wx_cv_var_timezone
32567 for ac_func in localtime
32569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32570 echo "$as_me:$LINENO: checking for $ac_func" >&5
32571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32572 if eval "test \"\${$as_ac_var+set}\" = set"; then
32573 echo $ECHO_N "(cached) $ECHO_C" >&6
32575 cat >conftest.$ac_ext <<_ACEOF
32576 #line $LINENO "configure"
32579 cat confdefs.h >>conftest.$ac_ext
32580 cat >>conftest.$ac_ext <<_ACEOF
32581 /* end confdefs.h. */
32582 /* System header to define __stub macros and hopefully few prototypes,
32583 which can conflict with char $ac_func (); below.
32584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32585 <limits.h> exists even on freestanding compilers. */
32587 # include <limits.h>
32589 # include <assert.h>
32591 /* Override any gcc2 internal prototype to avoid an error. */
32596 /* We use char because int might match the return type of a gcc2
32597 builtin and then its argument prototype would still apply. */
32599 /* The GNU C library defines this for functions which it implements
32600 to always fail with ENOSYS. Some functions are actually named
32601 something starting with __ and the normal name is an alias. */
32602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32605 char (*f) () = $ac_func;
32614 return f != $ac_func;
32619 rm -f conftest.$ac_objext conftest$ac_exeext
32620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32621 (eval $ac_link) 2>&5
32623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32624 (exit $ac_status); } &&
32625 { ac_try='test -s conftest$ac_exeext'
32626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32627 (eval $ac_try) 2>&5
32629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630 (exit $ac_status); }; }; then
32631 eval "$as_ac_var=yes"
32633 echo "$as_me: failed program was:" >&5
32634 sed 's/^/| /' conftest.$ac_ext >&5
32636 eval "$as_ac_var=no"
32638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32642 if test `eval echo '${'$as_ac_var'}'` = yes; then
32643 cat >>confdefs.h <<_ACEOF
32644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32651 if test "$ac_cv_func_localtime" = "yes"; then
32652 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
32653 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
32654 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
32655 echo $ECHO_N "(cached) $ECHO_C" >&6
32658 cat >conftest.$ac_ext <<_ACEOF
32659 #line $LINENO "configure"
32662 cat confdefs.h >>conftest.$ac_ext
32663 cat >>conftest.$ac_ext <<_ACEOF
32664 /* end confdefs.h. */
32679 rm -f conftest.$ac_objext
32680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32681 (eval $ac_compile) 2>&5
32683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32684 (exit $ac_status); } &&
32685 { ac_try='test -s conftest.$ac_objext'
32686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32687 (eval $ac_try) 2>&5
32689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32690 (exit $ac_status); }; }; then
32692 wx_cv_struct_tm_has_gmtoff=yes
32695 echo "$as_me: failed program was:" >&5
32696 sed 's/^/| /' conftest.$ac_ext >&5
32698 wx_cv_struct_tm_has_gmtoff=no
32701 rm -f conftest.$ac_objext conftest.$ac_ext
32704 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
32705 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
32708 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
32709 cat >>confdefs.h <<\_ACEOF
32710 #define WX_GMTOFF_IN_TM 1
32717 for ac_func in gettimeofday ftime
32719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32720 echo "$as_me:$LINENO: checking for $ac_func" >&5
32721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32722 if eval "test \"\${$as_ac_var+set}\" = set"; then
32723 echo $ECHO_N "(cached) $ECHO_C" >&6
32725 cat >conftest.$ac_ext <<_ACEOF
32726 #line $LINENO "configure"
32729 cat confdefs.h >>conftest.$ac_ext
32730 cat >>conftest.$ac_ext <<_ACEOF
32731 /* end confdefs.h. */
32732 /* System header to define __stub macros and hopefully few prototypes,
32733 which can conflict with char $ac_func (); below.
32734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32735 <limits.h> exists even on freestanding compilers. */
32737 # include <limits.h>
32739 # include <assert.h>
32741 /* Override any gcc2 internal prototype to avoid an error. */
32746 /* We use char because int might match the return type of a gcc2
32747 builtin and then its argument prototype would still apply. */
32749 /* The GNU C library defines this for functions which it implements
32750 to always fail with ENOSYS. Some functions are actually named
32751 something starting with __ and the normal name is an alias. */
32752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32755 char (*f) () = $ac_func;
32764 return f != $ac_func;
32769 rm -f conftest.$ac_objext conftest$ac_exeext
32770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32771 (eval $ac_link) 2>&5
32773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32774 (exit $ac_status); } &&
32775 { ac_try='test -s conftest$ac_exeext'
32776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32777 (eval $ac_try) 2>&5
32779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32780 (exit $ac_status); }; }; then
32781 eval "$as_ac_var=yes"
32783 echo "$as_me: failed program was:" >&5
32784 sed 's/^/| /' conftest.$ac_ext >&5
32786 eval "$as_ac_var=no"
32788 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32792 if test `eval echo '${'$as_ac_var'}'` = yes; then
32793 cat >>confdefs.h <<_ACEOF
32794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32801 if test "$ac_cv_func_gettimeofday" = "yes"; then
32802 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
32803 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
32804 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
32805 echo $ECHO_N "(cached) $ECHO_C" >&6
32811 ac_cpp='$CXXCPP $CPPFLAGS'
32812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32817 cat >conftest.$ac_ext <<_ACEOF
32818 #line $LINENO "configure"
32821 cat confdefs.h >>conftest.$ac_ext
32822 cat >>conftest.$ac_ext <<_ACEOF
32823 /* end confdefs.h. */
32825 #include <sys/time.h>
32826 #include <unistd.h>
32833 gettimeofday(&tv, NULL);
32839 rm -f conftest.$ac_objext
32840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32841 (eval $ac_compile) 2>&5
32843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32844 (exit $ac_status); } &&
32845 { ac_try='test -s conftest.$ac_objext'
32846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32847 (eval $ac_try) 2>&5
32849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850 (exit $ac_status); }; }; then
32851 wx_cv_func_gettimeofday_has_2_args=yes
32853 echo "$as_me: failed program was:" >&5
32854 sed 's/^/| /' conftest.$ac_ext >&5
32856 cat >conftest.$ac_ext <<_ACEOF
32857 #line $LINENO "configure"
32860 cat confdefs.h >>conftest.$ac_ext
32861 cat >>conftest.$ac_ext <<_ACEOF
32862 /* end confdefs.h. */
32864 #include <sys/time.h>
32865 #include <unistd.h>
32878 rm -f conftest.$ac_objext
32879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32880 (eval $ac_compile) 2>&5
32882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32883 (exit $ac_status); } &&
32884 { ac_try='test -s conftest.$ac_objext'
32885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32886 (eval $ac_try) 2>&5
32888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32889 (exit $ac_status); }; }; then
32890 wx_cv_func_gettimeofday_has_2_args=no
32892 echo "$as_me: failed program was:" >&5
32893 sed 's/^/| /' conftest.$ac_ext >&5
32896 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
32897 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
32898 wx_cv_func_gettimeofday_has_2_args=unknown
32902 rm -f conftest.$ac_objext conftest.$ac_ext
32905 rm -f conftest.$ac_objext conftest.$ac_ext
32907 ac_cpp='$CPP $CPPFLAGS'
32908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32914 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
32915 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
32917 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
32918 cat >>confdefs.h <<\_ACEOF
32919 #define WX_GETTIMEOFDAY_NO_TZ 1
32925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
32929 if test "$wxUSE_SOCKETS" = "yes"; then
32930 if test "$wxUSE_MGL" = "1"; then
32931 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
32932 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
32937 if test "$wxUSE_SOCKETS" = "yes"; then
32938 if test "$TOOLKIT" != "MSW"; then
32939 echo "$as_me:$LINENO: checking for socket" >&5
32940 echo $ECHO_N "checking for socket... $ECHO_C" >&6
32941 if test "${ac_cv_func_socket+set}" = set; then
32942 echo $ECHO_N "(cached) $ECHO_C" >&6
32944 cat >conftest.$ac_ext <<_ACEOF
32945 #line $LINENO "configure"
32948 cat confdefs.h >>conftest.$ac_ext
32949 cat >>conftest.$ac_ext <<_ACEOF
32950 /* end confdefs.h. */
32951 /* System header to define __stub macros and hopefully few prototypes,
32952 which can conflict with char socket (); below.
32953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32954 <limits.h> exists even on freestanding compilers. */
32956 # include <limits.h>
32958 # include <assert.h>
32960 /* Override any gcc2 internal prototype to avoid an error. */
32965 /* We use char because int might match the return type of a gcc2
32966 builtin and then its argument prototype would still apply. */
32968 /* The GNU C library defines this for functions which it implements
32969 to always fail with ENOSYS. Some functions are actually named
32970 something starting with __ and the normal name is an alias. */
32971 #if defined (__stub_socket) || defined (__stub___socket)
32974 char (*f) () = socket;
32983 return f != socket;
32988 rm -f conftest.$ac_objext conftest$ac_exeext
32989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32990 (eval $ac_link) 2>&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); } &&
32994 { ac_try='test -s conftest$ac_exeext'
32995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32996 (eval $ac_try) 2>&5
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); }; }; then
33000 ac_cv_func_socket=yes
33002 echo "$as_me: failed program was:" >&5
33003 sed 's/^/| /' conftest.$ac_ext >&5
33005 ac_cv_func_socket=no
33007 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33009 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
33010 echo "${ECHO_T}$ac_cv_func_socket" >&6
33011 if test $ac_cv_func_socket = yes; then
33015 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
33016 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
33017 if test "${ac_cv_lib_socket_socket+set}" = set; then
33018 echo $ECHO_N "(cached) $ECHO_C" >&6
33020 ac_check_lib_save_LIBS=$LIBS
33021 LIBS="-lsocket $LIBS"
33022 cat >conftest.$ac_ext <<_ACEOF
33023 #line $LINENO "configure"
33026 cat confdefs.h >>conftest.$ac_ext
33027 cat >>conftest.$ac_ext <<_ACEOF
33028 /* end confdefs.h. */
33030 /* Override any gcc2 internal prototype to avoid an error. */
33034 /* We use char because int might match the return type of a gcc2
33035 builtin and then its argument prototype would still apply. */
33045 rm -f conftest.$ac_objext conftest$ac_exeext
33046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33047 (eval $ac_link) 2>&5
33049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33050 (exit $ac_status); } &&
33051 { ac_try='test -s conftest$ac_exeext'
33052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33053 (eval $ac_try) 2>&5
33055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33056 (exit $ac_status); }; }; then
33057 ac_cv_lib_socket_socket=yes
33059 echo "$as_me: failed program was:" >&5
33060 sed 's/^/| /' conftest.$ac_ext >&5
33062 ac_cv_lib_socket_socket=no
33064 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33065 LIBS=$ac_check_lib_save_LIBS
33067 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
33068 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
33069 if test $ac_cv_lib_socket_socket = yes; then
33070 if test "$INET_LINK" != " -lsocket"; then
33071 INET_LINK="$INET_LINK -lsocket"
33075 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
33076 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
33089 if test "$wxUSE_SOCKETS" = "yes" ; then
33090 if test "$TOOLKIT" != "MSW"; then
33091 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
33092 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
33093 if test "${wx_cv_type_getsockname3+set}" = set; then
33094 echo $ECHO_N "(cached) $ECHO_C" >&6
33097 cat >conftest.$ac_ext <<_ACEOF
33098 #line $LINENO "configure"
33101 cat confdefs.h >>conftest.$ac_ext
33102 cat >>conftest.$ac_ext <<_ACEOF
33103 /* end confdefs.h. */
33105 #include <sys/types.h>
33106 #include <sys/socket.h>
33113 getsockname(0, 0, &len);
33119 rm -f conftest.$ac_objext
33120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33121 (eval $ac_compile) 2>&5
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); } &&
33125 { ac_try='test -s conftest.$ac_objext'
33126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33127 (eval $ac_try) 2>&5
33129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130 (exit $ac_status); }; }; then
33131 wx_cv_type_getsockname3=socklen_t
33133 echo "$as_me: failed program was:" >&5
33134 sed 's/^/| /' conftest.$ac_ext >&5
33137 CFLAGS_OLD="$CFLAGS"
33138 if test "$GCC" = yes ; then
33139 CFLAGS="$CFLAGS -Werror"
33142 cat >conftest.$ac_ext <<_ACEOF
33143 #line $LINENO "configure"
33146 cat confdefs.h >>conftest.$ac_ext
33147 cat >>conftest.$ac_ext <<_ACEOF
33148 /* end confdefs.h. */
33150 #include <sys/types.h>
33151 #include <sys/socket.h>
33158 getsockname(0, 0, &len);
33164 rm -f conftest.$ac_objext
33165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33166 (eval $ac_compile) 2>&5
33168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33169 (exit $ac_status); } &&
33170 { ac_try='test -s conftest.$ac_objext'
33171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33172 (eval $ac_try) 2>&5
33174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33175 (exit $ac_status); }; }; then
33176 wx_cv_type_getsockname3=size_t
33178 echo "$as_me: failed program was:" >&5
33179 sed 's/^/| /' conftest.$ac_ext >&5
33181 cat >conftest.$ac_ext <<_ACEOF
33182 #line $LINENO "configure"
33185 cat confdefs.h >>conftest.$ac_ext
33186 cat >>conftest.$ac_ext <<_ACEOF
33187 /* end confdefs.h. */
33189 #include <sys/types.h>
33190 #include <sys/socket.h>
33197 getsockname(0, 0, &len);
33203 rm -f conftest.$ac_objext
33204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33205 (eval $ac_compile) 2>&5
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); } &&
33209 { ac_try='test -s conftest.$ac_objext'
33210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33211 (eval $ac_try) 2>&5
33213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214 (exit $ac_status); }; }; then
33215 wx_cv_type_getsockname3=int
33217 echo "$as_me: failed program was:" >&5
33218 sed 's/^/| /' conftest.$ac_ext >&5
33220 wx_cv_type_getsockname3=unknown
33223 rm -f conftest.$ac_objext conftest.$ac_ext
33226 rm -f conftest.$ac_objext conftest.$ac_ext
33228 CFLAGS="$CFLAGS_OLD"
33232 rm -f conftest.$ac_objext conftest.$ac_ext
33235 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
33236 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
33238 if test "$wx_cv_type_getsockname3" = "unknown"; then
33240 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
33241 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
33243 cat >>confdefs.h <<_ACEOF
33244 #define SOCKLEN_T $wx_cv_type_getsockname3
33251 if test "$wxUSE_SOCKETS" = "yes" ; then
33252 cat >>confdefs.h <<\_ACEOF
33253 #define wxUSE_SOCKETS 1
33256 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
33259 if test "$wxUSE_PROTOCOL" = "yes"; then
33260 if test "$wxUSE_SOCKETS" != "yes"; then
33261 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
33262 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
33267 if test "$wxUSE_PROTOCOL" = "yes"; then
33268 cat >>confdefs.h <<\_ACEOF
33269 #define wxUSE_PROTOCOL 1
33273 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
33274 cat >>confdefs.h <<\_ACEOF
33275 #define wxUSE_PROTOCOL_HTTP 1
33279 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
33280 cat >>confdefs.h <<\_ACEOF
33281 #define wxUSE_PROTOCOL_FTP 1
33285 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
33286 cat >>confdefs.h <<\_ACEOF
33287 #define wxUSE_PROTOCOL_FILE 1
33292 if test "$wxUSE_FS_INET" = "yes"; then
33293 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
33294 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
33299 if test "$wxUSE_URL" = "yes"; then
33300 if test "$wxUSE_PROTOCOL" != "yes"; then
33301 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
33302 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
33305 if test "$wxUSE_URL" = "yes"; then
33306 cat >>confdefs.h <<\_ACEOF
33307 #define wxUSE_URL 1
33313 if test "$wxUSE_FS_INET" = "yes"; then
33314 cat >>confdefs.h <<\_ACEOF
33315 #define wxUSE_FS_INET 1
33321 if test "$wxUSE_GUI" = "yes"; then
33323 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
33324 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
33325 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
33329 if test "$TOOLKIT" != "MSW"; then
33330 if test "$wxUSE_JOYSTICK" = "yes"; then
33332 for ac_header in linux/joystick.h
33334 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33336 echo "$as_me:$LINENO: checking for $ac_header" >&5
33337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33339 echo $ECHO_N "(cached) $ECHO_C" >&6
33341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33344 # Is the header compilable?
33345 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33347 cat >conftest.$ac_ext <<_ACEOF
33348 #line $LINENO "configure"
33351 cat confdefs.h >>conftest.$ac_ext
33352 cat >>conftest.$ac_ext <<_ACEOF
33353 /* end confdefs.h. */
33354 $ac_includes_default
33355 #include <$ac_header>
33357 rm -f conftest.$ac_objext
33358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33359 (eval $ac_compile) 2>&5
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); } &&
33363 { ac_try='test -s conftest.$ac_objext'
33364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33365 (eval $ac_try) 2>&5
33367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368 (exit $ac_status); }; }; then
33369 ac_header_compiler=yes
33371 echo "$as_me: failed program was:" >&5
33372 sed 's/^/| /' conftest.$ac_ext >&5
33374 ac_header_compiler=no
33376 rm -f conftest.$ac_objext conftest.$ac_ext
33377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33378 echo "${ECHO_T}$ac_header_compiler" >&6
33380 # Is the header present?
33381 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33383 cat >conftest.$ac_ext <<_ACEOF
33384 #line $LINENO "configure"
33387 cat confdefs.h >>conftest.$ac_ext
33388 cat >>conftest.$ac_ext <<_ACEOF
33389 /* end confdefs.h. */
33390 #include <$ac_header>
33392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33395 grep -v '^ *+' conftest.er1 >conftest.err
33397 cat conftest.err >&5
33398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33399 (exit $ac_status); } >/dev/null; then
33400 if test -s conftest.err; then
33401 ac_cpp_err=$ac_c_preproc_warn_flag
33408 if test -z "$ac_cpp_err"; then
33409 ac_header_preproc=yes
33411 echo "$as_me: failed program was:" >&5
33412 sed 's/^/| /' conftest.$ac_ext >&5
33414 ac_header_preproc=no
33416 rm -f conftest.err conftest.$ac_ext
33417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33418 echo "${ECHO_T}$ac_header_preproc" >&6
33420 # So? What about this header?
33421 case $ac_header_compiler:$ac_header_preproc in
33423 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33424 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33426 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33429 ## ------------------------------------ ##
33430 ## Report this to bug-autoconf@gnu.org. ##
33431 ## ------------------------------------ ##
33434 sed "s/^/$as_me: WARNING: /" >&2
33437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33442 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33445 ## ------------------------------------ ##
33446 ## Report this to bug-autoconf@gnu.org. ##
33447 ## ------------------------------------ ##
33450 sed "s/^/$as_me: WARNING: /" >&2
33453 echo "$as_me:$LINENO: checking for $ac_header" >&5
33454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33456 echo $ECHO_N "(cached) $ECHO_C" >&6
33458 eval "$as_ac_Header=$ac_header_preproc"
33460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33465 cat >>confdefs.h <<_ACEOF
33466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33473 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
33475 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
33476 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
33481 if test "$wxUSE_JOYSTICK" = "yes"; then
33482 cat >>confdefs.h <<\_ACEOF
33483 #define wxUSE_JOYSTICK 1
33486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
33493 if test "$wxUSE_FONTMAP" = "yes" ; then
33494 cat >>confdefs.h <<\_ACEOF
33495 #define wxUSE_FONTMAP 1
33500 if test "$wxUSE_UNICODE" = "yes" ; then
33501 cat >>confdefs.h <<\_ACEOF
33502 #define wxUSE_UNICODE 1
33506 if test "$USE_WIN32" != 1; then
33507 wxUSE_UNICODE_MSLU=no
33510 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
33511 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
33512 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
33513 if test "${ac_cv_lib_unicows_main+set}" = set; then
33514 echo $ECHO_N "(cached) $ECHO_C" >&6
33516 ac_check_lib_save_LIBS=$LIBS
33517 LIBS="-lunicows $LIBS"
33518 cat >conftest.$ac_ext <<_ACEOF
33519 #line $LINENO "configure"
33522 cat confdefs.h >>conftest.$ac_ext
33523 cat >>conftest.$ac_ext <<_ACEOF
33524 /* end confdefs.h. */
33535 rm -f conftest.$ac_objext conftest$ac_exeext
33536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33537 (eval $ac_link) 2>&5
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); } &&
33541 { ac_try='test -s conftest$ac_exeext'
33542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33543 (eval $ac_try) 2>&5
33545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546 (exit $ac_status); }; }; then
33547 ac_cv_lib_unicows_main=yes
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.$ac_ext >&5
33552 ac_cv_lib_unicows_main=no
33554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33555 LIBS=$ac_check_lib_save_LIBS
33557 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
33558 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
33559 if test $ac_cv_lib_unicows_main = yes; then
33561 cat >>confdefs.h <<\_ACEOF
33562 #define wxUSE_UNICODE_MSLU 1
33568 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
33569 Applications will only run on Windows NT/2000/XP!" >&5
33570 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
33571 Applications will only run on Windows NT/2000/XP!" >&2;}
33572 wxUSE_UNICODE_MSLU=no
33579 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
33580 cat >>confdefs.h <<\_ACEOF
33581 #define wxUSE_EXPERIMENTAL_PRINTF 1
33587 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
33588 cat >>confdefs.h <<\_ACEOF
33589 #define wxUSE_POSTSCRIPT 1
33594 cat >>confdefs.h <<\_ACEOF
33595 #define wxUSE_AFM_FOR_POSTSCRIPT 1
33599 cat >>confdefs.h <<\_ACEOF
33600 #define wxUSE_NORMALIZED_PS_FONTS 1
33605 if test "$wxUSE_CONSTRAINTS" = "yes"; then
33606 cat >>confdefs.h <<\_ACEOF
33607 #define wxUSE_CONSTRAINTS 1
33610 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
33613 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
33614 cat >>confdefs.h <<\_ACEOF
33615 #define wxUSE_MDI_ARCHITECTURE 1
33618 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
33621 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
33622 cat >>confdefs.h <<\_ACEOF
33623 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
33626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
33627 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
33628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
33632 if test "$wxUSE_HELP" = "yes"; then
33633 cat >>confdefs.h <<\_ACEOF
33634 #define wxUSE_HELP 1
33637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
33639 if test "$wxUSE_MSW" = 1; then
33640 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
33641 cat >>confdefs.h <<\_ACEOF
33642 #define wxUSE_MS_HTML_HELP 1
33648 if test "$wxUSE_WXHTML_HELP" = "yes"; then
33649 if test "$wxUSE_HTML" = "yes"; then
33650 cat >>confdefs.h <<\_ACEOF
33651 #define wxUSE_WXHTML_HELP 1
33655 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
33656 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
33657 wxUSE_WXHTML_HELP=no
33662 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33663 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33664 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
33665 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
33667 cat >>confdefs.h <<\_ACEOF
33668 #define wxUSE_PRINTING_ARCHITECTURE 1
33672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
33675 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
33676 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
33677 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
33678 { (exit 1); exit 1; }; }
33682 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
33683 -o "$wxUSE_CLIPBOARD" = "yes" \
33684 -o "$wxUSE_OLE" = "yes" \
33685 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
33687 for ac_header in ole2.h
33689 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33691 echo "$as_me:$LINENO: checking for $ac_header" >&5
33692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33694 echo $ECHO_N "(cached) $ECHO_C" >&6
33696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33697 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33699 # Is the header compilable?
33700 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33701 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33702 cat >conftest.$ac_ext <<_ACEOF
33703 #line $LINENO "configure"
33706 cat confdefs.h >>conftest.$ac_ext
33707 cat >>conftest.$ac_ext <<_ACEOF
33708 /* end confdefs.h. */
33709 $ac_includes_default
33710 #include <$ac_header>
33712 rm -f conftest.$ac_objext
33713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33714 (eval $ac_compile) 2>&5
33716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33717 (exit $ac_status); } &&
33718 { ac_try='test -s conftest.$ac_objext'
33719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33720 (eval $ac_try) 2>&5
33722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33723 (exit $ac_status); }; }; then
33724 ac_header_compiler=yes
33726 echo "$as_me: failed program was:" >&5
33727 sed 's/^/| /' conftest.$ac_ext >&5
33729 ac_header_compiler=no
33731 rm -f conftest.$ac_objext conftest.$ac_ext
33732 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33733 echo "${ECHO_T}$ac_header_compiler" >&6
33735 # Is the header present?
33736 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33737 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33738 cat >conftest.$ac_ext <<_ACEOF
33739 #line $LINENO "configure"
33742 cat confdefs.h >>conftest.$ac_ext
33743 cat >>conftest.$ac_ext <<_ACEOF
33744 /* end confdefs.h. */
33745 #include <$ac_header>
33747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33748 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33750 grep -v '^ *+' conftest.er1 >conftest.err
33752 cat conftest.err >&5
33753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754 (exit $ac_status); } >/dev/null; then
33755 if test -s conftest.err; then
33756 ac_cpp_err=$ac_c_preproc_warn_flag
33763 if test -z "$ac_cpp_err"; then
33764 ac_header_preproc=yes
33766 echo "$as_me: failed program was:" >&5
33767 sed 's/^/| /' conftest.$ac_ext >&5
33769 ac_header_preproc=no
33771 rm -f conftest.err conftest.$ac_ext
33772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33773 echo "${ECHO_T}$ac_header_preproc" >&6
33775 # So? What about this header?
33776 case $ac_header_compiler:$ac_header_preproc in
33778 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33779 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33784 ## ------------------------------------ ##
33785 ## Report this to bug-autoconf@gnu.org. ##
33786 ## ------------------------------------ ##
33789 sed "s/^/$as_me: WARNING: /" >&2
33792 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33793 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33794 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33795 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33796 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33797 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33800 ## ------------------------------------ ##
33801 ## Report this to bug-autoconf@gnu.org. ##
33802 ## ------------------------------------ ##
33805 sed "s/^/$as_me: WARNING: /" >&2
33808 echo "$as_me:$LINENO: checking for $ac_header" >&5
33809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33811 echo $ECHO_N "(cached) $ECHO_C" >&6
33813 eval "$as_ac_Header=$ac_header_preproc"
33815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33820 cat >>confdefs.h <<_ACEOF
33821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33829 if test "$ac_cv_header_ole2_h" = "yes" ; then
33830 if test "$GCC" = yes ; then
33834 ac_cpp='$CXXCPP $CPPFLAGS'
33835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33840 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
33841 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
33842 cat >conftest.$ac_ext <<_ACEOF
33843 #line $LINENO "configure"
33846 cat confdefs.h >>conftest.$ac_ext
33847 cat >>conftest.$ac_ext <<_ACEOF
33848 /* end confdefs.h. */
33849 #include <windows.h>
33859 rm -f conftest.$ac_objext
33860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33861 (eval $ac_compile) 2>&5
33863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33864 (exit $ac_status); } &&
33865 { ac_try='test -s conftest.$ac_objext'
33866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33867 (eval $ac_try) 2>&5
33869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33870 (exit $ac_status); }; }; then
33871 echo "$as_me:$LINENO: result: no" >&5
33872 echo "${ECHO_T}no" >&6
33874 echo "$as_me: failed program was:" >&5
33875 sed 's/^/| /' conftest.$ac_ext >&5
33877 echo "$as_me:$LINENO: result: yes" >&5
33878 echo "${ECHO_T}yes" >&6
33879 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
33881 rm -f conftest.$ac_objext conftest.$ac_ext
33883 ac_cpp='$CPP $CPPFLAGS'
33884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33888 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
33889 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
33890 if test "$wxUSE_OLE" = "yes" ; then
33891 cat >>confdefs.h <<\_ACEOF
33892 #define wxUSE_OLE 1
33898 if test "$wxUSE_DATAOBJ" = "yes" ; then
33899 cat >>confdefs.h <<\_ACEOF
33900 #define wxUSE_DATAOBJ 1
33905 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
33906 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
33909 wxUSE_DRAG_AND_DROP=no
33914 if test "$wxUSE_METAFILE" = "yes"; then
33915 cat >>confdefs.h <<\_ACEOF
33916 #define wxUSE_METAFILE 1
33920 cat >>confdefs.h <<\_ACEOF
33921 #define wxUSE_ENH_METAFILE 1
33927 if test "$wxUSE_IPC" = "yes"; then
33928 if test "$wxUSE_SOCKETS" != "yes"; then
33929 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
33930 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
33933 cat >>confdefs.h <<\_ACEOF
33934 #define wxUSE_IPC 1
33939 if test "$wxUSE_CLIPBOARD" = "yes"; then
33940 if test "$wxUSE_MGL" = 1; then
33941 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
33942 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
33946 if test "$wxUSE_CLIPBOARD" = "yes"; then
33947 cat >>confdefs.h <<\_ACEOF
33948 #define wxUSE_CLIPBOARD 1
33952 cat >>confdefs.h <<\_ACEOF
33953 #define wxUSE_DATAOBJ 1
33959 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
33960 if test "$wxUSE_GTK" = 1; then
33961 if test "$WXGTK12" != 1; then
33962 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
33963 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
33964 wxUSE_DRAG_AND_DROP=no
33968 if test "$wxUSE_MOTIF" = 1; then
33969 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
33970 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
33971 wxUSE_DRAG_AND_DROP=no
33974 if test "$wxUSE_X11" = 1; then
33975 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
33976 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
33977 wxUSE_DRAG_AND_DROP=no
33980 if test "$wxUSE_MGL" = 1; then
33981 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
33982 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
33983 wxUSE_DRAG_AND_DROP=no
33986 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
33987 cat >>confdefs.h <<\_ACEOF
33988 #define wxUSE_DRAG_AND_DROP 1
33991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
33996 if test "$wxUSE_SPLINES" = "yes" ; then
33997 cat >>confdefs.h <<\_ACEOF
33998 #define wxUSE_SPLINES 1
34005 if test "$wxUSE_CONTROLS" = "yes"; then
34009 if test "$wxUSE_ACCEL" = "yes"; then
34010 cat >>confdefs.h <<\_ACEOF
34011 #define wxUSE_ACCEL 1
34017 if test "$wxUSE_BUTTON" = "yes"; then
34018 cat >>confdefs.h <<\_ACEOF
34019 #define wxUSE_BUTTON 1
34025 if test "$wxUSE_BMPBUTTON" = "yes"; then
34026 cat >>confdefs.h <<\_ACEOF
34027 #define wxUSE_BMPBUTTON 1
34033 if test "$wxUSE_CALCTRL" = "yes"; then
34034 cat >>confdefs.h <<\_ACEOF
34035 #define wxUSE_CALENDARCTRL 1
34039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
34042 if test "$wxUSE_CARET" = "yes"; then
34043 cat >>confdefs.h <<\_ACEOF
34044 #define wxUSE_CARET 1
34048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
34051 if test "$wxUSE_COMBOBOX" = "yes"; then
34052 cat >>confdefs.h <<\_ACEOF
34053 #define wxUSE_COMBOBOX 1
34059 if test "$wxUSE_CHOICE" = "yes"; then
34060 cat >>confdefs.h <<\_ACEOF
34061 #define wxUSE_CHOICE 1
34067 if test "$wxUSE_CHECKBOX" = "yes"; then
34068 cat >>confdefs.h <<\_ACEOF
34069 #define wxUSE_CHECKBOX 1
34075 if test "$wxUSE_CHECKLST" = "yes"; then
34076 cat >>confdefs.h <<\_ACEOF
34077 #define wxUSE_CHECKLISTBOX 1
34081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
34084 if test "$wxUSE_DISPLAY" = "yes"; then
34085 cat >>confdefs.h <<\_ACEOF
34086 #define wxUSE_DISPLAY 1
34089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
34092 if test "$wxUSE_GAUGE" = "yes"; then
34093 cat >>confdefs.h <<\_ACEOF
34094 #define wxUSE_GAUGE 1
34100 if test "$wxUSE_GRID" = "yes"; then
34101 cat >>confdefs.h <<\_ACEOF
34102 #define wxUSE_GRID 1
34106 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
34109 if test "$wxUSE_IMAGLIST" = "yes"; then
34110 cat >>confdefs.h <<\_ACEOF
34111 #define wxUSE_IMAGLIST 1
34116 if test "$wxUSE_LISTBOOK" = "yes"; then
34117 cat >>confdefs.h <<\_ACEOF
34118 #define wxUSE_LISTBOOK 1
34124 if test "$wxUSE_LISTBOX" = "yes"; then
34125 cat >>confdefs.h <<\_ACEOF
34126 #define wxUSE_LISTBOX 1
34132 if test "$wxUSE_LISTCTRL" = "yes"; then
34133 if test "$wxUSE_IMAGLIST" = "yes"; then
34134 cat >>confdefs.h <<\_ACEOF
34135 #define wxUSE_LISTCTRL 1
34139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
34141 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
34142 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
34146 if test "$wxUSE_NOTEBOOK" = "yes"; then
34147 cat >>confdefs.h <<\_ACEOF
34148 #define wxUSE_NOTEBOOK 1
34152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
34156 if test "$wxUSE_RADIOBOX" = "yes"; then
34157 cat >>confdefs.h <<\_ACEOF
34158 #define wxUSE_RADIOBOX 1
34164 if test "$wxUSE_RADIOBTN" = "yes"; then
34165 cat >>confdefs.h <<\_ACEOF
34166 #define wxUSE_RADIOBTN 1
34172 if test "$wxUSE_SASH" = "yes"; then
34173 cat >>confdefs.h <<\_ACEOF
34174 #define wxUSE_SASH 1
34177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
34180 if test "$wxUSE_SCROLLBAR" = "yes"; then
34181 cat >>confdefs.h <<\_ACEOF
34182 #define wxUSE_SCROLLBAR 1
34186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
34189 if test "$wxUSE_SLIDER" = "yes"; then
34190 cat >>confdefs.h <<\_ACEOF
34191 #define wxUSE_SLIDER 1
34197 if test "$wxUSE_SPINBTN" = "yes"; then
34198 cat >>confdefs.h <<\_ACEOF
34199 #define wxUSE_SPINBTN 1
34205 if test "$wxUSE_SPINCTRL" = "yes"; then
34206 cat >>confdefs.h <<\_ACEOF
34207 #define wxUSE_SPINCTRL 1
34213 if test "$wxUSE_SPLITTER" = "yes"; then
34214 cat >>confdefs.h <<\_ACEOF
34215 #define wxUSE_SPLITTER 1
34218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
34221 if test "$wxUSE_STATBMP" = "yes"; then
34222 cat >>confdefs.h <<\_ACEOF
34223 #define wxUSE_STATBMP 1
34229 if test "$wxUSE_STATBOX" = "yes"; then
34230 cat >>confdefs.h <<\_ACEOF
34231 #define wxUSE_STATBOX 1
34237 if test "$wxUSE_STATTEXT" = "yes"; then
34238 cat >>confdefs.h <<\_ACEOF
34239 #define wxUSE_STATTEXT 1
34245 if test "$wxUSE_STATLINE" = "yes"; then
34246 cat >>confdefs.h <<\_ACEOF
34247 #define wxUSE_STATLINE 1
34253 if test "$wxUSE_STATUSBAR" = "yes"; then
34254 cat >>confdefs.h <<\_ACEOF
34255 #define wxUSE_STATUSBAR 1
34260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
34263 if test "$wxUSE_TABDIALOG" = "yes"; then
34264 cat >>confdefs.h <<\_ACEOF
34265 #define wxUSE_TAB_DIALOG 1
34268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
34271 if test "$wxUSE_TEXTCTRL" = "yes"; then
34272 cat >>confdefs.h <<\_ACEOF
34273 #define wxUSE_TEXTCTRL 1
34277 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
34280 if test "$wxUSE_TOGGLEBTN" = "yes"; then
34281 if test "$wxUSE_COCOA" = 1 ; then
34282 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
34283 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
34286 if test "$wxUSE_UNIVERSAL" = "yes"; then
34287 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
34288 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
34292 if test "$wxUSE_TOGGLEBTN" = "yes"; then
34293 cat >>confdefs.h <<\_ACEOF
34294 #define wxUSE_TOGGLEBTN 1
34301 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
34302 cat >>confdefs.h <<\_ACEOF
34303 #define wxUSE_TOOLBAR_SIMPLE 1
34306 wxUSE_TOOLBAR="yes"
34310 if test "$wxUSE_TOOLBAR" = "yes"; then
34311 cat >>confdefs.h <<\_ACEOF
34312 #define wxUSE_TOOLBAR 1
34317 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
34318 wxUSE_TOOLBAR_NATIVE="yes"
34321 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
34322 cat >>confdefs.h <<\_ACEOF
34323 #define wxUSE_TOOLBAR_NATIVE 1
34329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
34332 if test "$wxUSE_TOOLTIPS" = "yes"; then
34333 if test "$wxUSE_MOTIF" = 1; then
34334 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
34335 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
34337 if test "$wxUSE_UNIVERSAL" = "yes"; then
34338 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
34339 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
34341 cat >>confdefs.h <<\_ACEOF
34342 #define wxUSE_TOOLTIPS 1
34349 if test "$wxUSE_TREECTRL" = "yes"; then
34350 if test "$wxUSE_IMAGLIST" = "yes"; then
34351 cat >>confdefs.h <<\_ACEOF
34352 #define wxUSE_TREECTRL 1
34356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
34358 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
34359 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
34363 if test "$wxUSE_POPUPWIN" = "yes"; then
34364 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
34365 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
34366 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
34368 if test "$wxUSE_PM" = 1; then
34369 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
34370 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
34372 cat >>confdefs.h <<\_ACEOF
34373 #define wxUSE_POPUPWIN 1
34382 if test "$wxUSE_TIPWINDOW" = "yes"; then
34383 if test "$wxUSE_PM" = 1; then
34384 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
34385 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
34387 cat >>confdefs.h <<\_ACEOF
34388 #define wxUSE_TIPWINDOW 1
34394 if test "$USES_CONTROLS" = 1; then
34395 cat >>confdefs.h <<\_ACEOF
34396 #define wxUSE_CONTROLS 1
34402 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
34403 cat >>confdefs.h <<\_ACEOF
34404 #define wxUSE_ACCESSIBILITY 1
34407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
34410 if test "$wxUSE_DRAGIMAGE" = "yes"; then
34411 cat >>confdefs.h <<\_ACEOF
34412 #define wxUSE_DRAGIMAGE 1
34415 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
34418 if test "$wxUSE_EXCEPTIONS" = "yes"; then
34419 cat >>confdefs.h <<\_ACEOF
34420 #define wxUSE_EXCEPTIONS 1
34426 if test "$wxUSE_HTML" = "yes"; then
34427 cat >>confdefs.h <<\_ACEOF
34428 #define wxUSE_HTML 1
34432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
34435 if test "$wxUSE_MENUS" = "yes"; then
34436 cat >>confdefs.h <<\_ACEOF
34437 #define wxUSE_MENUS 1
34440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
34443 if test "$wxUSE_METAFILE" = "yes"; then
34444 cat >>confdefs.h <<\_ACEOF
34445 #define wxUSE_METAFILE 1
34450 if test "$wxUSE_MIMETYPE" = "yes"; then
34451 cat >>confdefs.h <<\_ACEOF
34452 #define wxUSE_MIMETYPE 1
34457 if test "$wxUSE_MINIFRAME" = "yes"; then
34458 cat >>confdefs.h <<\_ACEOF
34459 #define wxUSE_MINIFRAME 1
34462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
34465 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
34466 cat >>confdefs.h <<\_ACEOF
34467 #define wxUSE_SYSTEM_OPTIONS 1
34470 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
34471 "$TOOLKIT" = "MOTIF"; then
34472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
34477 if test "$wxUSE_VALIDATORS" = "yes"; then
34478 cat >>confdefs.h <<\_ACEOF
34479 #define wxUSE_VALIDATORS 1
34482 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
34485 if test "$wxUSE_PALETTE" = "yes" ; then
34486 cat >>confdefs.h <<\_ACEOF
34487 #define wxUSE_PALETTE 1
34492 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
34493 LIBS=" -lunicows $LIBS"
34497 if test "$wxUSE_IMAGE" = "yes" ; then
34498 cat >>confdefs.h <<\_ACEOF
34499 #define wxUSE_IMAGE 1
34503 if test "$wxUSE_GIF" = "yes" ; then
34504 cat >>confdefs.h <<\_ACEOF
34505 #define wxUSE_GIF 1
34510 if test "$wxUSE_PCX" = "yes" ; then
34511 cat >>confdefs.h <<\_ACEOF
34512 #define wxUSE_PCX 1
34517 if test "$wxUSE_IFF" = "yes" ; then
34518 cat >>confdefs.h <<\_ACEOF
34519 #define wxUSE_IFF 1
34524 if test "$wxUSE_PNM" = "yes" ; then
34525 cat >>confdefs.h <<\_ACEOF
34526 #define wxUSE_PNM 1
34531 if test "$wxUSE_XPM" = "yes" ; then
34532 cat >>confdefs.h <<\_ACEOF
34533 #define wxUSE_XPM 1
34538 if test "$wxUSE_ICO_CUR" = "yes" ; then
34539 cat >>confdefs.h <<\_ACEOF
34540 #define wxUSE_ICO_CUR 1
34547 if test "$wxUSE_CHOICEDLG" = "yes"; then
34548 cat >>confdefs.h <<\_ACEOF
34549 #define wxUSE_CHOICEDLG 1
34554 if test "$wxUSE_COLOURDLG" = "yes"; then
34555 cat >>confdefs.h <<\_ACEOF
34556 #define wxUSE_COLOURDLG 1
34561 if test "$wxUSE_FILEDLG" = "yes"; then
34562 cat >>confdefs.h <<\_ACEOF
34563 #define wxUSE_FILEDLG 1
34568 if test "$wxUSE_FINDREPLDLG" = "yes"; then
34569 cat >>confdefs.h <<\_ACEOF
34570 #define wxUSE_FINDREPLDLG 1
34575 if test "$wxUSE_FONTDLG" = "yes"; then
34576 cat >>confdefs.h <<\_ACEOF
34577 #define wxUSE_FONTDLG 1
34582 if test "$wxUSE_DIRDLG" = "yes"; then
34583 if test "$wxUSE_TREECTRL" != "yes"; then
34584 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
34585 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
34587 cat >>confdefs.h <<\_ACEOF
34588 #define wxUSE_DIRDLG 1
34594 if test "$wxUSE_MSGDLG" = "yes"; then
34595 cat >>confdefs.h <<\_ACEOF
34596 #define wxUSE_MSGDLG 1
34601 if test "$wxUSE_NUMBERDLG" = "yes"; then
34602 cat >>confdefs.h <<\_ACEOF
34603 #define wxUSE_NUMBERDLG 1
34608 if test "$wxUSE_PROGRESSDLG" = "yes"; then
34609 if test "$wxUSE_CONSTRAINTS" != "yes"; then
34610 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
34611 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
34613 cat >>confdefs.h <<\_ACEOF
34614 #define wxUSE_PROGRESSDLG 1
34620 if test "$wxUSE_SPLASH" = "yes"; then
34621 cat >>confdefs.h <<\_ACEOF
34622 #define wxUSE_SPLASH 1
34627 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
34628 if test "$wxUSE_CONSTRAINTS" != "yes"; then
34629 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
34630 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
34632 cat >>confdefs.h <<\_ACEOF
34633 #define wxUSE_STARTUP_TIPS 1
34639 if test "$wxUSE_TEXTDLG" = "yes"; then
34640 cat >>confdefs.h <<\_ACEOF
34641 #define wxUSE_TEXTDLG 1
34646 if test "$wxUSE_WIZARDDLG" = "yes"; then
34647 cat >>confdefs.h <<\_ACEOF
34648 #define wxUSE_WIZARDDLG 1
34651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
34655 if test "$cross_compiling" = "yes"; then
34658 OSINFO=`uname -s -r -m`
34659 OSINFO="\"$OSINFO\""
34662 cat >>confdefs.h <<_ACEOF
34663 #define WXWIN_OS_DESCRIPTION $OSINFO
34668 if test "x$prefix" != "xNONE"; then
34671 wxPREFIX=$ac_default_prefix
34674 cat >>confdefs.h <<_ACEOF
34675 #define wxINSTALL_PREFIX "$wxPREFIX"
34679 top_builddir_wxconfig=`pwd`
34683 CORE_BASE_LIBS="net base"
34684 CORE_GUI_LIBS="adv core"
34686 if test "$wxUSE_XML" = "yes" ; then
34687 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
34689 if test "$wxUSE_ODBC" != "no" ; then
34690 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
34691 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
34693 if test "$wxUSE_HTML" = "yes" ; then
34694 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
34697 if test "$wxUSE_GUI" != "yes"; then
34708 if test "$wxUSE_MAC" = 1 ; then
34709 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
34711 if test "$wxUSE_COCOA" = 1 ; then
34712 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
34716 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
34723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34724 echo "$as_me:$LINENO: checking for $ac_func" >&5
34725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34726 if eval "test \"\${$as_ac_var+set}\" = set"; then
34727 echo $ECHO_N "(cached) $ECHO_C" >&6
34729 cat >conftest.$ac_ext <<_ACEOF
34730 #line $LINENO "configure"
34733 cat confdefs.h >>conftest.$ac_ext
34734 cat >>conftest.$ac_ext <<_ACEOF
34735 /* end confdefs.h. */
34736 /* System header to define __stub macros and hopefully few prototypes,
34737 which can conflict with char $ac_func (); below.
34738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34739 <limits.h> exists even on freestanding compilers. */
34741 # include <limits.h>
34743 # include <assert.h>
34745 /* Override any gcc2 internal prototype to avoid an error. */
34750 /* We use char because int might match the return type of a gcc2
34751 builtin and then its argument prototype would still apply. */
34753 /* The GNU C library defines this for functions which it implements
34754 to always fail with ENOSYS. Some functions are actually named
34755 something starting with __ and the normal name is an alias. */
34756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34759 char (*f) () = $ac_func;
34768 return f != $ac_func;
34773 rm -f conftest.$ac_objext conftest$ac_exeext
34774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34775 (eval $ac_link) 2>&5
34777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34778 (exit $ac_status); } &&
34779 { ac_try='test -s conftest$ac_exeext'
34780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34781 (eval $ac_try) 2>&5
34783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34784 (exit $ac_status); }; }; then
34785 eval "$as_ac_var=yes"
34787 echo "$as_me: failed program was:" >&5
34788 sed 's/^/| /' conftest.$ac_ext >&5
34790 eval "$as_ac_var=no"
34792 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34796 if test `eval echo '${'$as_ac_var'}'` = yes; then
34797 cat >>confdefs.h <<_ACEOF
34798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34805 for ac_func in floor
34807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34808 echo "$as_me:$LINENO: checking for $ac_func" >&5
34809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34810 if eval "test \"\${$as_ac_var+set}\" = set"; then
34811 echo $ECHO_N "(cached) $ECHO_C" >&6
34813 cat >conftest.$ac_ext <<_ACEOF
34814 #line $LINENO "configure"
34817 cat confdefs.h >>conftest.$ac_ext
34818 cat >>conftest.$ac_ext <<_ACEOF
34819 /* end confdefs.h. */
34820 /* System header to define __stub macros and hopefully few prototypes,
34821 which can conflict with char $ac_func (); below.
34822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34823 <limits.h> exists even on freestanding compilers. */
34825 # include <limits.h>
34827 # include <assert.h>
34829 /* Override any gcc2 internal prototype to avoid an error. */
34834 /* We use char because int might match the return type of a gcc2
34835 builtin and then its argument prototype would still apply. */
34837 /* The GNU C library defines this for functions which it implements
34838 to always fail with ENOSYS. Some functions are actually named
34839 something starting with __ and the normal name is an alias. */
34840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34843 char (*f) () = $ac_func;
34852 return f != $ac_func;
34857 rm -f conftest.$ac_objext conftest$ac_exeext
34858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34859 (eval $ac_link) 2>&5
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); } &&
34863 { ac_try='test -s conftest$ac_exeext'
34864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34865 (eval $ac_try) 2>&5
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); }; }; then
34869 eval "$as_ac_var=yes"
34871 echo "$as_me: failed program was:" >&5
34872 sed 's/^/| /' conftest.$ac_ext >&5
34874 eval "$as_ac_var=no"
34876 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34880 if test `eval echo '${'$as_ac_var'}'` = yes; then
34881 cat >>confdefs.h <<_ACEOF
34882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34888 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
34889 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
34890 if test "$have_cos" = 1 -a "$have_floor" = 1; then
34891 echo "$as_me:$LINENO: result: yes" >&5
34892 echo "${ECHO_T}yes" >&6
34894 echo "$as_me:$LINENO: result: no" >&5
34895 echo "${ECHO_T}no" >&6
34897 # use different functions to avoid configure caching
34903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34904 echo "$as_me:$LINENO: checking for $ac_func" >&5
34905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34906 if eval "test \"\${$as_ac_var+set}\" = set"; then
34907 echo $ECHO_N "(cached) $ECHO_C" >&6
34909 cat >conftest.$ac_ext <<_ACEOF
34910 #line $LINENO "configure"
34913 cat confdefs.h >>conftest.$ac_ext
34914 cat >>conftest.$ac_ext <<_ACEOF
34915 /* end confdefs.h. */
34916 /* System header to define __stub macros and hopefully few prototypes,
34917 which can conflict with char $ac_func (); below.
34918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34919 <limits.h> exists even on freestanding compilers. */
34921 # include <limits.h>
34923 # include <assert.h>
34925 /* Override any gcc2 internal prototype to avoid an error. */
34930 /* We use char because int might match the return type of a gcc2
34931 builtin and then its argument prototype would still apply. */
34933 /* The GNU C library defines this for functions which it implements
34934 to always fail with ENOSYS. Some functions are actually named
34935 something starting with __ and the normal name is an alias. */
34936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34939 char (*f) () = $ac_func;
34948 return f != $ac_func;
34953 rm -f conftest.$ac_objext conftest$ac_exeext
34954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34955 (eval $ac_link) 2>&5
34957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34958 (exit $ac_status); } &&
34959 { ac_try='test -s conftest$ac_exeext'
34960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34961 (eval $ac_try) 2>&5
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); }; }; then
34965 eval "$as_ac_var=yes"
34967 echo "$as_me: failed program was:" >&5
34968 sed 's/^/| /' conftest.$ac_ext >&5
34970 eval "$as_ac_var=no"
34972 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34976 if test `eval echo '${'$as_ac_var'}'` = yes; then
34977 cat >>confdefs.h <<_ACEOF
34978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34985 for ac_func in ceil
34987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34988 echo "$as_me:$LINENO: checking for $ac_func" >&5
34989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34990 if eval "test \"\${$as_ac_var+set}\" = set"; then
34991 echo $ECHO_N "(cached) $ECHO_C" >&6
34993 cat >conftest.$ac_ext <<_ACEOF
34994 #line $LINENO "configure"
34997 cat confdefs.h >>conftest.$ac_ext
34998 cat >>conftest.$ac_ext <<_ACEOF
34999 /* end confdefs.h. */
35000 /* System header to define __stub macros and hopefully few prototypes,
35001 which can conflict with char $ac_func (); below.
35002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35003 <limits.h> exists even on freestanding compilers. */
35005 # include <limits.h>
35007 # include <assert.h>
35009 /* Override any gcc2 internal prototype to avoid an error. */
35014 /* We use char because int might match the return type of a gcc2
35015 builtin and then its argument prototype would still apply. */
35017 /* The GNU C library defines this for functions which it implements
35018 to always fail with ENOSYS. Some functions are actually named
35019 something starting with __ and the normal name is an alias. */
35020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35023 char (*f) () = $ac_func;
35032 return f != $ac_func;
35037 rm -f conftest.$ac_objext conftest$ac_exeext
35038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35039 (eval $ac_link) 2>&5
35041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35042 (exit $ac_status); } &&
35043 { ac_try='test -s conftest$ac_exeext'
35044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35045 (eval $ac_try) 2>&5
35047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35048 (exit $ac_status); }; }; then
35049 eval "$as_ac_var=yes"
35051 echo "$as_me: failed program was:" >&5
35052 sed 's/^/| /' conftest.$ac_ext >&5
35054 eval "$as_ac_var=no"
35056 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35060 if test `eval echo '${'$as_ac_var'}'` = yes; then
35061 cat >>confdefs.h <<_ACEOF
35062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35068 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
35069 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
35070 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
35071 echo "$as_me:$LINENO: result: yes" >&5
35072 echo "${ECHO_T}yes" >&6
35074 echo "$as_me:$LINENO: result: no" >&5
35075 echo "${ECHO_T}no" >&6
35076 # not sure we should warn the user, crash, etc.
35080 if test "$wxUSE_GUI" = "yes"; then
35083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
35084 drawing dynamic erase event exec font image \
35085 minimal propsize rotate shaped widgets render"
35087 if test "$wxUSE_MONOLITHIC" != "yes"; then
35088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
35091 SAMPLES_SUBDIRS="console"
35095 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
35096 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
35098 if test "$GXX" = yes ; then
35099 CXXWARNINGS="-Wall"
35102 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
35104 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
35105 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
35106 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
35109 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
35110 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
35111 EXTRALIBS_XML="$EXPAT_LINK"
35112 EXTRALIBS_HTML="$MSPACK_LINK"
35113 EXTRALIBS_ODBC="$ODBC_LINK"
35114 if test "$wxUSE_GUI" = "yes"; then
35115 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
35117 if test "$wxUSE_OPENGL" = "yes"; then
35118 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
35121 LDFLAGS="$LDFLAGS $PROFILE"
35123 if test "$wxUSE_GTK" = 1; then
35126 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
35129 WXCONFIG_EXTRALIBS="$LIBS"
35131 if test "$wxUSE_REGEX" = "builtin" ; then
35132 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
35134 if test "$wxUSE_EXPAT" = "builtin" ; then
35135 wxconfig_3rdparty="$wxconfig_3rdparty expat"
35137 if test "$wxUSE_ODBC" = "builtin" ; then
35138 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
35140 if test "$wxUSE_LIBTIFF" = "builtin" ; then
35141 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
35143 if test "$wxUSE_LIBJPEG" = "builtin" ; then
35144 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
35146 if test "$wxUSE_LIBPNG" = "builtin" ; then
35147 wxconfig_3rdparty="$wxconfig_3rdparty png"
35149 if test "$wxUSE_ZLIB" = "builtin" ; then
35150 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
35152 if test "$wxUSE_ODBC" = "builtin" ; then
35153 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
35156 for i in $wxconfig_3rdparty ; do
35157 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
35161 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
35175 if test $wxUSE_MONOLITHIC = "yes" ; then
35181 if test $wxUSE_PLUGINS = "yes" ; then
35187 if test $wxUSE_ODBC != "no" ; then
35193 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
35219 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
35227 if test "x$BAKEFILE_HOST" = "x"; then
35228 BAKEFILE_HOST="${host}"
35231 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
35233 if test -n "$ac_tool_prefix"; then
35234 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
35235 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
35236 echo "$as_me:$LINENO: checking for $ac_word" >&5
35237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35238 if test "${ac_cv_prog_RANLIB+set}" = set; then
35239 echo $ECHO_N "(cached) $ECHO_C" >&6
35241 if test -n "$RANLIB"; then
35242 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
35244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35245 for as_dir in $PATH
35248 test -z "$as_dir" && as_dir=.
35249 for ac_exec_ext in '' $ac_executable_extensions; do
35250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35251 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
35252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35260 RANLIB=$ac_cv_prog_RANLIB
35261 if test -n "$RANLIB"; then
35262 echo "$as_me:$LINENO: result: $RANLIB" >&5
35263 echo "${ECHO_T}$RANLIB" >&6
35265 echo "$as_me:$LINENO: result: no" >&5
35266 echo "${ECHO_T}no" >&6
35270 if test -z "$ac_cv_prog_RANLIB"; then
35271 ac_ct_RANLIB=$RANLIB
35272 # Extract the first word of "ranlib", so it can be a program name with args.
35273 set dummy ranlib; ac_word=$2
35274 echo "$as_me:$LINENO: checking for $ac_word" >&5
35275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35276 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
35277 echo $ECHO_N "(cached) $ECHO_C" >&6
35279 if test -n "$ac_ct_RANLIB"; then
35280 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
35282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35283 for as_dir in $PATH
35286 test -z "$as_dir" && as_dir=.
35287 for ac_exec_ext in '' $ac_executable_extensions; do
35288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35289 ac_cv_prog_ac_ct_RANLIB="ranlib"
35290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35296 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
35299 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
35300 if test -n "$ac_ct_RANLIB"; then
35301 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
35302 echo "${ECHO_T}$ac_ct_RANLIB" >&6
35304 echo "$as_me:$LINENO: result: no" >&5
35305 echo "${ECHO_T}no" >&6
35308 RANLIB=$ac_ct_RANLIB
35310 RANLIB="$ac_cv_prog_RANLIB"
35313 # Find a good install program. We prefer a C program (faster),
35314 # so one script is as good as another. But avoid the broken or
35315 # incompatible versions:
35316 # SysV /etc/install, /usr/sbin/install
35317 # SunOS /usr/etc/install
35318 # IRIX /sbin/install
35320 # AmigaOS /C/install, which installs bootblocks on floppy discs
35321 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
35322 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
35323 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
35324 # ./install, which can be erroneously created by make from ./install.sh.
35325 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
35326 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
35327 if test -z "$INSTALL"; then
35328 if test "${ac_cv_path_install+set}" = set; then
35329 echo $ECHO_N "(cached) $ECHO_C" >&6
35331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35332 for as_dir in $PATH
35335 test -z "$as_dir" && as_dir=.
35336 # Account for people who put trailing slashes in PATH elements.
35338 ./ | .// | /cC/* | \
35339 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
35342 # OSF1 and SCO ODT 3.0 have their own names for install.
35343 # Don't use installbsd from OSF since it installs stuff as root
35345 for ac_prog in ginstall scoinst install; do
35346 for ac_exec_ext in '' $ac_executable_extensions; do
35347 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
35348 if test $ac_prog = install &&
35349 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
35350 # AIX install. It has an incompatible calling convention.
35352 elif test $ac_prog = install &&
35353 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
35354 # program-specific install script used by HP pwplus--don't use.
35357 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
35369 if test "${ac_cv_path_install+set}" = set; then
35370 INSTALL=$ac_cv_path_install
35372 # As a last resort, use the slow shell script. We don't cache a
35373 # path for INSTALL within a source directory, because that will
35374 # break other packages using the cache if that directory is
35375 # removed, or if the path is relative.
35376 INSTALL=$ac_install_sh
35379 echo "$as_me:$LINENO: result: $INSTALL" >&5
35380 echo "${ECHO_T}$INSTALL" >&6
35382 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
35383 # It thinks the first close brace ends the variable substitution.
35384 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
35386 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
35388 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
35390 echo "$as_me:$LINENO: checking whether ln -s works" >&5
35391 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
35393 if test "$LN_S" = "ln -s"; then
35394 echo "$as_me:$LINENO: result: yes" >&5
35395 echo "${ECHO_T}yes" >&6
35397 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
35398 echo "${ECHO_T}no, using $LN_S" >&6
35402 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35403 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35404 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35405 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35406 echo $ECHO_N "(cached) $ECHO_C" >&6
35408 cat >conftest.make <<\_ACEOF
35410 @echo 'ac_maketemp="$(MAKE)"'
35412 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35413 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35414 if test -n "$ac_maketemp"; then
35415 eval ac_cv_prog_make_${ac_make}_set=yes
35417 eval ac_cv_prog_make_${ac_make}_set=no
35419 rm -f conftest.make
35421 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35422 echo "$as_me:$LINENO: result: yes" >&5
35423 echo "${ECHO_T}yes" >&6
35426 echo "$as_me:$LINENO: result: no" >&5
35427 echo "${ECHO_T}no" >&6
35428 SET_MAKE="MAKE=${MAKE-make}"
35433 if test -n "$ac_tool_prefix"; then
35434 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
35435 set dummy ${ac_tool_prefix}ar; ac_word=$2
35436 echo "$as_me:$LINENO: checking for $ac_word" >&5
35437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35438 if test "${ac_cv_prog_AR+set}" = set; then
35439 echo $ECHO_N "(cached) $ECHO_C" >&6
35441 if test -n "$AR"; then
35442 ac_cv_prog_AR="$AR" # Let the user override the test.
35444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35445 for as_dir in $PATH
35448 test -z "$as_dir" && as_dir=.
35449 for ac_exec_ext in '' $ac_executable_extensions; do
35450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35451 ac_cv_prog_AR="${ac_tool_prefix}ar"
35452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35461 if test -n "$AR"; then
35462 echo "$as_me:$LINENO: result: $AR" >&5
35463 echo "${ECHO_T}$AR" >&6
35465 echo "$as_me:$LINENO: result: no" >&5
35466 echo "${ECHO_T}no" >&6
35470 if test -z "$ac_cv_prog_AR"; then
35472 # Extract the first word of "ar", so it can be a program name with args.
35473 set dummy ar; ac_word=$2
35474 echo "$as_me:$LINENO: checking for $ac_word" >&5
35475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35476 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
35477 echo $ECHO_N "(cached) $ECHO_C" >&6
35479 if test -n "$ac_ct_AR"; then
35480 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
35482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35483 for as_dir in $PATH
35486 test -z "$as_dir" && as_dir=.
35487 for ac_exec_ext in '' $ac_executable_extensions; do
35488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35489 ac_cv_prog_ac_ct_AR="ar"
35490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35496 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
35499 ac_ct_AR=$ac_cv_prog_ac_ct_AR
35500 if test -n "$ac_ct_AR"; then
35501 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
35502 echo "${ECHO_T}$ac_ct_AR" >&6
35504 echo "$as_me:$LINENO: result: no" >&5
35505 echo "${ECHO_T}no" >&6
35510 AR="$ac_cv_prog_AR"
35513 if test -n "$ac_tool_prefix"; then
35514 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
35515 set dummy ${ac_tool_prefix}strip; ac_word=$2
35516 echo "$as_me:$LINENO: checking for $ac_word" >&5
35517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35518 if test "${ac_cv_prog_STRIP+set}" = set; then
35519 echo $ECHO_N "(cached) $ECHO_C" >&6
35521 if test -n "$STRIP"; then
35522 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
35524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35525 for as_dir in $PATH
35528 test -z "$as_dir" && as_dir=.
35529 for ac_exec_ext in '' $ac_executable_extensions; do
35530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35531 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
35532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35540 STRIP=$ac_cv_prog_STRIP
35541 if test -n "$STRIP"; then
35542 echo "$as_me:$LINENO: result: $STRIP" >&5
35543 echo "${ECHO_T}$STRIP" >&6
35545 echo "$as_me:$LINENO: result: no" >&5
35546 echo "${ECHO_T}no" >&6
35550 if test -z "$ac_cv_prog_STRIP"; then
35552 # Extract the first word of "strip", so it can be a program name with args.
35553 set dummy strip; ac_word=$2
35554 echo "$as_me:$LINENO: checking for $ac_word" >&5
35555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35556 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
35557 echo $ECHO_N "(cached) $ECHO_C" >&6
35559 if test -n "$ac_ct_STRIP"; then
35560 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
35562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35563 for as_dir in $PATH
35566 test -z "$as_dir" && as_dir=.
35567 for ac_exec_ext in '' $ac_executable_extensions; do
35568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35569 ac_cv_prog_ac_ct_STRIP="strip"
35570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35576 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
35579 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
35580 if test -n "$ac_ct_STRIP"; then
35581 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
35582 echo "${ECHO_T}$ac_ct_STRIP" >&6
35584 echo "$as_me:$LINENO: result: no" >&5
35585 echo "${ECHO_T}no" >&6
35590 STRIP="$ac_cv_prog_STRIP"
35593 if test -n "$ac_tool_prefix"; then
35594 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
35595 set dummy ${ac_tool_prefix}nm; ac_word=$2
35596 echo "$as_me:$LINENO: checking for $ac_word" >&5
35597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35598 if test "${ac_cv_prog_NM+set}" = set; then
35599 echo $ECHO_N "(cached) $ECHO_C" >&6
35601 if test -n "$NM"; then
35602 ac_cv_prog_NM="$NM" # Let the user override the test.
35604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35605 for as_dir in $PATH
35608 test -z "$as_dir" && as_dir=.
35609 for ac_exec_ext in '' $ac_executable_extensions; do
35610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35611 ac_cv_prog_NM="${ac_tool_prefix}nm"
35612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35621 if test -n "$NM"; then
35622 echo "$as_me:$LINENO: result: $NM" >&5
35623 echo "${ECHO_T}$NM" >&6
35625 echo "$as_me:$LINENO: result: no" >&5
35626 echo "${ECHO_T}no" >&6
35630 if test -z "$ac_cv_prog_NM"; then
35632 # Extract the first word of "nm", so it can be a program name with args.
35633 set dummy nm; ac_word=$2
35634 echo "$as_me:$LINENO: checking for $ac_word" >&5
35635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35636 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
35637 echo $ECHO_N "(cached) $ECHO_C" >&6
35639 if test -n "$ac_ct_NM"; then
35640 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
35642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35643 for as_dir in $PATH
35646 test -z "$as_dir" && as_dir=.
35647 for ac_exec_ext in '' $ac_executable_extensions; do
35648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35649 ac_cv_prog_ac_ct_NM="nm"
35650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35656 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
35659 ac_ct_NM=$ac_cv_prog_ac_ct_NM
35660 if test -n "$ac_ct_NM"; then
35661 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
35662 echo "${ECHO_T}$ac_ct_NM" >&6
35664 echo "$as_me:$LINENO: result: no" >&5
35665 echo "${ECHO_T}no" >&6
35670 NM="$ac_cv_prog_NM"
35674 case ${BAKEFILE_HOST} in
35676 INSTALL_DIR="mkdir"
35678 *) INSTALL_DIR="$INSTALL -d"
35684 case ${BAKEFILE_HOST} in
35685 *-*-cygwin* | *-*-mingw32* )
35686 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
35692 echo "$as_me:$LINENO: checking if make is GNU make" >&5
35693 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
35694 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
35695 echo $ECHO_N "(cached) $ECHO_C" >&6
35698 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
35699 egrep -s GNU > /dev/null); then
35700 bakefile_cv_prog_makeisgnu="yes"
35702 bakefile_cv_prog_makeisgnu="no"
35706 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
35707 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
35709 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
35724 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
35725 case "${BAKEFILE_HOST}" in
35726 *-*-cygwin* | *-*-mingw32* )
35732 *-pc-os2_emx | *-pc-os2-emx )
35735 powerpc-*-darwin* )
35744 case "$BAKEFILE_FORCE_PLATFORM" in
35762 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
35763 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
35764 { (exit 1); exit 1; }; }
35778 SO_SUFFIX_MODULE="so"
35784 case "${BAKEFILE_HOST}" in
35787 SO_SUFFIX_MODULE="sl"
35791 SO_SUFFIX_MODULE="a"
35793 *-*-cygwin* | *-*-mingw32* )
35795 SO_SUFFIX_MODULE="dll"
35803 *-pc-os2_emx | *-pc-os2-emx )
35808 powerpc-*-darwin* )
35810 SO_SUFFIX_MODULE="bundle"
35822 SHARED_LD_CC="\$(CC) -shared -o"
35823 SHARED_LD_CXX="\$(CXX) -shared -o"
35825 if test "x$GCC" = "xyes"; then
35829 case "${BAKEFILE_HOST}" in
35831 if test "x$GCC" = "xyes"; then
35832 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
35833 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
35835 LDFLAGS="$LDFLAGS -L/usr/lib"
35837 SHARED_LD_CC="${CC} -b -o"
35838 SHARED_LD_CXX="${CXX} -b -o"
35844 if test "x$GCC" != "xyes"; then
35845 echo "$as_me:$LINENO: checking for Intel compiler" >&5
35846 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
35847 if test "${bakefile_cv_prog_icc+set}" = set; then
35848 echo $ECHO_N "(cached) $ECHO_C" >&6
35851 cat >conftest.$ac_ext <<_ACEOF
35852 #line $LINENO "configure"
35855 cat confdefs.h >>conftest.$ac_ext
35856 cat >>conftest.$ac_ext <<_ACEOF
35857 /* end confdefs.h. */
35863 #ifndef __INTEL_COMPILER
35871 rm -f conftest.$ac_objext
35872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35873 (eval $ac_compile) 2>&5
35875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876 (exit $ac_status); } &&
35877 { ac_try='test -s conftest.$ac_objext'
35878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35879 (eval $ac_try) 2>&5
35881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35882 (exit $ac_status); }; }; then
35883 bakefile_cv_prog_icc=yes
35885 echo "$as_me: failed program was:" >&5
35886 sed 's/^/| /' conftest.$ac_ext >&5
35888 bakefile_cv_prog_icc=no
35891 rm -f conftest.$ac_objext conftest.$ac_ext
35894 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
35895 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
35896 if test "$bakefile_cv_prog_icc" = "yes"; then
35903 if test "x$GCC" != xyes ; then
35904 SHARED_LD_CC="${CC} -G -o"
35905 SHARED_LD_CXX="${CXX} -G -o"
35911 CFLAGS="$CFLAGS -fno-common"
35912 CXXFLAGS="$CXXFLAGS -fno-common"
35915 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
35916 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
35917 if test "${wx_cv_gcc31+set}" = set; then
35918 echo $ECHO_N "(cached) $ECHO_C" >&6
35921 cat >conftest.$ac_ext <<_ACEOF
35922 #line $LINENO "configure"
35925 cat confdefs.h >>conftest.$ac_ext
35926 cat >>conftest.$ac_ext <<_ACEOF
35927 /* end confdefs.h. */
35933 #if (__GNUC__ < 3) || \
35934 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
35942 rm -f conftest.$ac_objext
35943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35944 (eval $ac_compile) 2>&5
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); } &&
35948 { ac_try='test -s conftest.$ac_objext'
35949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35950 (eval $ac_try) 2>&5
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); }; }; then
35958 echo "$as_me: failed program was:" >&5
35959 sed 's/^/| /' conftest.$ac_ext >&5
35966 rm -f conftest.$ac_objext conftest.$ac_ext
35969 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
35970 echo "${ECHO_T}$wx_cv_gcc31" >&6
35971 if test "$wx_cv_gcc31" = "no"; then
35972 cat <<EOF >shared-ld-sh
35974 #-----------------------------------------------------------------------------
35975 #-- Name: distrib/mac/shared-ld-sh
35976 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
35977 #-- Author: Gilles Depeyrot
35978 #-- Copyright: (c) 2002 Gilles Depeyrot
35979 #-- Licence: any use permitted
35980 #-----------------------------------------------------------------------------
35985 linking_flag="-dynamiclib"
35987 while test \${#} -gt 0; do
35994 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
35995 # collect these options and values
35996 args="\${args} \${1} \${2}"
36000 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
36001 # collect these options
36002 args="\${args} \${1}"
36005 -dynamiclib|-bundle)
36006 linking_flag="\${1}"
36010 echo "shared-ld: unhandled option '\${1}'"
36014 *.o | *.a | *.dylib)
36015 # collect object files
36016 objects="\${objects} \${1}"
36020 echo "shared-ld: unhandled argument '\${1}'"
36029 # Link one module containing all the others
36031 if test \${verbose} = 1; then
36032 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
36034 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
36036 if test \${status} != 0; then
36041 # Link the shared library from the single module created
36043 if test \${verbose} = 1; then
36044 echo "cc \${linking_flag} master.\$\$.o \${args}"
36046 c++ \${linking_flag} master.\$\$.o \${args}
36048 if test \${status} != 0; then
36053 # Remove intermediate module
36055 rm -f master.\$\$.o
36059 chmod +x shared-ld-sh
36061 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
36062 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
36063 SHARED_LD_CXX="$SHARED_LD_CC"
36064 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
36066 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
36067 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
36068 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
36069 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
36072 PIC_FLAG="-dynamic -fPIC"
36076 if test "x$GCC" != "xyes"; then
36077 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
36078 set dummy makeC++SharedLib; ac_word=$2
36079 echo "$as_me:$LINENO: checking for $ac_word" >&5
36080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36081 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
36082 echo $ECHO_N "(cached) $ECHO_C" >&6
36084 if test -n "$AIX_CXX_LD"; then
36085 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
36087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36088 for as_dir in $PATH
36091 test -z "$as_dir" && as_dir=.
36092 for ac_exec_ext in '' $ac_executable_extensions; do
36093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36094 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
36095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36101 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
36104 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
36105 if test -n "$AIX_CXX_LD"; then
36106 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
36107 echo "${ECHO_T}$AIX_CXX_LD" >&6
36109 echo "$as_me:$LINENO: result: no" >&5
36110 echo "${ECHO_T}no" >&6
36113 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
36114 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
36119 SHARED_LD_CC="${LD} -shared -o"
36120 SHARED_LD_CXX="${LD} -shared -o"
36124 if test "x$GCC" != "xyes"; then
36129 *-*-cygwin* | *-*-mingw32* )
36133 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
36137 *-pc-os2_emx | *-pc-os2-emx | \
36142 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
36143 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
36144 { (exit 1); exit 1; }; }
36147 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
36148 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
36150 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
36151 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
36168 case "${BAKEFILE_HOST}" in
36170 SONAME_FLAG="-Wl,-soname,"
36198 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
36199 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
36202 if test "x$GCC" = "xyes"; then
36205 case "${BAKEFILE_HOST}" in
36206 powerpc-*-darwin* )
36207 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
36210 DEPSFLAG_GCC="-MMD"
36213 echo "$as_me:$LINENO: result: gcc" >&5
36214 echo "${ECHO_T}gcc" >&6
36216 echo "$as_me:$LINENO: result: none" >&5
36217 echo "${ECHO_T}none" >&6
36220 if test $DEPS_TRACKING = 1 ; then
36224 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
36225 # script. It is used to track C/C++ files dependencies in portable way.
36227 # Permission is given to use this file in any way.
36231 DEPSFLAG_GCC="$DEPSFLAG_GCC"
36235 if test \$DEPSMODE = gcc ; then
36236 \${*} \${DEPSFLAG_GCC}
36238 if test \${status} != 0 ; then
36241 # move created file to the location we want it in:
36242 while test \${#} -gt 0; do
36256 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
36257 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
36258 if test -f \$depfile ; then
36259 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
36262 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
36263 if test -f \$depfile ; then
36264 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
36283 case ${BAKEFILE_HOST} in
36284 *-*-cygwin* | *-*-mingw32* )
36285 if test "$build" != "$host" ; then
36286 RESCOMP=$host_alias-windres
36288 # Extract the first word of "windres", so it can be a program name with args.
36289 set dummy windres; ac_word=$2
36290 echo "$as_me:$LINENO: checking for $ac_word" >&5
36291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36292 if test "${ac_cv_prog_RESCOMP+set}" = set; then
36293 echo $ECHO_N "(cached) $ECHO_C" >&6
36295 if test -n "$RESCOMP"; then
36296 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
36298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36299 for as_dir in $PATH
36302 test -z "$as_dir" && as_dir=.
36303 for ac_exec_ext in '' $ac_executable_extensions; do
36304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36305 ac_cv_prog_RESCOMP="windres"
36306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36312 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
36315 RESCOMP=$ac_cv_prog_RESCOMP
36316 if test -n "$RESCOMP"; then
36317 echo "$as_me:$LINENO: result: $RESCOMP" >&5
36318 echo "${ECHO_T}$RESCOMP" >&6
36320 echo "$as_me:$LINENO: result: no" >&5
36321 echo "${ECHO_T}no" >&6
36328 # Extract the first word of "Rez", so it can be a program name with args.
36329 set dummy Rez; ac_word=$2
36330 echo "$as_me:$LINENO: checking for $ac_word" >&5
36331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36332 if test "${ac_cv_prog_RESCOMP+set}" = set; then
36333 echo $ECHO_N "(cached) $ECHO_C" >&6
36335 if test -n "$RESCOMP"; then
36336 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
36338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36339 for as_dir in $PATH
36342 test -z "$as_dir" && as_dir=.
36343 for ac_exec_ext in '' $ac_executable_extensions; do
36344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36345 ac_cv_prog_RESCOMP="Rez"
36346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36352 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
36355 RESCOMP=$ac_cv_prog_RESCOMP
36356 if test -n "$RESCOMP"; then
36357 echo "$as_me:$LINENO: result: $RESCOMP" >&5
36358 echo "${ECHO_T}$RESCOMP" >&6
36360 echo "$as_me:$LINENO: result: no" >&5
36361 echo "${ECHO_T}no" >&6
36364 # Extract the first word of "SetFile", so it can be a program name with args.
36365 set dummy SetFile; ac_word=$2
36366 echo "$as_me:$LINENO: checking for $ac_word" >&5
36367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36368 if test "${ac_cv_prog_SETFILE+set}" = set; then
36369 echo $ECHO_N "(cached) $ECHO_C" >&6
36371 if test -n "$SETFILE"; then
36372 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36375 for as_dir in $PATH
36378 test -z "$as_dir" && as_dir=.
36379 for ac_exec_ext in '' $ac_executable_extensions; do
36380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36381 ac_cv_prog_SETFILE="SetFile"
36382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36388 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36391 SETFILE=$ac_cv_prog_SETFILE
36392 if test -n "$SETFILE"; then
36393 echo "$as_me:$LINENO: result: $SETFILE" >&5
36394 echo "${ECHO_T}$SETFILE" >&6
36396 echo "$as_me:$LINENO: result: no" >&5
36397 echo "${ECHO_T}no" >&6
36412 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
36413 if test "${enable_precomp_headers+set}" = set; then
36414 enableval="$enable_precomp_headers"
36415 bk_use_pch="$enableval"
36420 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
36421 if test "x$GCC" = "xyes"; then
36422 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
36423 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
36424 cat >conftest.$ac_ext <<_ACEOF
36425 #line $LINENO "configure"
36428 cat confdefs.h >>conftest.$ac_ext
36429 cat >>conftest.$ac_ext <<_ACEOF
36430 /* end confdefs.h. */
36436 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
36437 #error "no pch support"
36440 #error "no pch support"
36442 #if (__GNUC__ == 3) && \
36443 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
36444 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
36445 #error "no pch support"
36452 rm -f conftest.$ac_objext
36453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36454 (eval $ac_compile) 2>&5
36456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36457 (exit $ac_status); } &&
36458 { ac_try='test -s conftest.$ac_objext'
36459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36460 (eval $ac_try) 2>&5
36462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36463 (exit $ac_status); }; }; then
36465 echo "$as_me:$LINENO: result: yes" >&5
36466 echo "${ECHO_T}yes" >&6
36467 CPPFLAGS="-fpch-deps $CPPFLAGS"
36471 echo "$as_me: failed program was:" >&5
36472 sed 's/^/| /' conftest.$ac_ext >&5
36475 echo "$as_me:$LINENO: result: no" >&5
36476 echo "${ECHO_T}no" >&6
36479 rm -f conftest.$ac_objext conftest.$ac_ext
36480 if test $GCC_PCH = 1 ; then
36481 cat <<EOF >bk-make-pch
36484 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
36485 # script. It is used to generated precompiled headers.
36487 # Permission is given to use this file in any way.
36496 while test \${#} -gt 0; do
36499 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
36500 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
36501 headerfile="\${incdir}/\${header}"
36505 compiler="\${compiler} \${1}"
36509 if test "x\${headerfile}" = "x" ; then
36510 echo "error: can't find header \${header} in include paths" >2
36512 if test -f \${outfile} ; then
36515 mkdir -p \`dirname \${outfile}\`
36517 depsfile=".deps/\`basename \${outfile}\`.d"
36519 # can do this because gcc is >= 3.4:
36520 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
36524 chmod +x bk-make-pch
36533 COND_BUILD_DEBUG="#"
36534 if test "x$BUILD" = "xdebug" ; then
36535 COND_BUILD_DEBUG=""
36538 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
36539 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
36540 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
36543 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
36544 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
36545 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
36548 COND_BUILD_DEBUG_UNICODE_0="#"
36549 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
36550 COND_BUILD_DEBUG_UNICODE_0=""
36553 COND_BUILD_DEBUG_UNICODE_1="#"
36554 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
36555 COND_BUILD_DEBUG_UNICODE_1=""
36558 COND_BUILD_RELEASE="#"
36559 if test "x$BUILD" = "xrelease" ; then
36560 COND_BUILD_RELEASE=""
36563 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
36564 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
36565 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
36568 COND_BUILD_RELEASE_UNICODE_0="#"
36569 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
36570 COND_BUILD_RELEASE_UNICODE_0=""
36573 COND_BUILD_RELEASE_UNICODE_1="#"
36574 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
36575 COND_BUILD_RELEASE_UNICODE_1=""
36578 COND_DEBUG_FLAG_1="#"
36579 if test "x$DEBUG_FLAG" = "x1" ; then
36580 COND_DEBUG_FLAG_1=""
36583 COND_DEBUG_INFO_0="#"
36584 if test "x$DEBUG_INFO" = "x0" ; then
36585 COND_DEBUG_INFO_0=""
36588 COND_DEBUG_INFO_1="#"
36589 if test "x$DEBUG_INFO" = "x1" ; then
36590 COND_DEBUG_INFO_1=""
36593 COND_DEPS_TRACKING_0="#"
36594 if test "x$DEPS_TRACKING" = "x0" ; then
36595 COND_DEPS_TRACKING_0=""
36598 COND_DEPS_TRACKING_1="#"
36599 if test "x$DEPS_TRACKING" = "x1" ; then
36600 COND_DEPS_TRACKING_1=""
36604 if test "x$GCC_PCH" = "x1" ; then
36608 COND_MONOLITHIC_0="#"
36609 if test "x$MONOLITHIC" = "x0" ; then
36610 COND_MONOLITHIC_0=""
36613 COND_MONOLITHIC_0_SHARED_0="#"
36614 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
36615 COND_MONOLITHIC_0_SHARED_0=""
36618 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
36619 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
36620 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
36623 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
36624 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
36625 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
36628 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
36629 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
36630 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
36633 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
36634 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
36635 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
36638 COND_MONOLITHIC_0_SHARED_1="#"
36639 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
36640 COND_MONOLITHIC_0_SHARED_1=""
36643 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
36644 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
36645 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
36648 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
36649 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
36650 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
36653 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
36654 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
36655 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
36658 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
36659 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
36660 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
36663 COND_MONOLITHIC_0_USE_ODBC_1="#"
36664 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
36665 COND_MONOLITHIC_0_USE_ODBC_1=""
36668 COND_MONOLITHIC_1="#"
36669 if test "x$MONOLITHIC" = "x1" ; then
36670 COND_MONOLITHIC_1=""
36673 COND_MONOLITHIC_1_SHARED_0="#"
36674 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
36675 COND_MONOLITHIC_1_SHARED_0=""
36678 COND_MONOLITHIC_1_SHARED_1="#"
36679 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
36680 COND_MONOLITHIC_1_SHARED_1=""
36683 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
36684 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
36685 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
36688 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
36689 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
36690 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
36693 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
36694 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
36695 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
36698 COND_PLATFORM_MACOSX_1="#"
36699 if test "x$PLATFORM_MACOSX" = "x1" ; then
36700 COND_PLATFORM_MACOSX_1=""
36703 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
36704 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
36705 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
36708 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
36709 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
36710 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
36713 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
36714 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
36715 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
36718 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
36719 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
36720 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
36723 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
36724 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
36725 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
36728 COND_PLATFORM_MAC_1="#"
36729 if test "x$PLATFORM_MAC" = "x1" ; then
36730 COND_PLATFORM_MAC_1=""
36733 COND_PLATFORM_OS2_1="#"
36734 if test "x$PLATFORM_OS2" = "x1" ; then
36735 COND_PLATFORM_OS2_1=""
36738 COND_PLATFORM_UNIX_0="#"
36739 if test "x$PLATFORM_UNIX" = "x0" ; then
36740 COND_PLATFORM_UNIX_0=""
36743 COND_PLATFORM_UNIX_1="#"
36744 if test "x$PLATFORM_UNIX" = "x1" ; then
36745 COND_PLATFORM_UNIX_1=""
36748 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
36749 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
36750 COND_PLATFORM_UNIX_1_USE_GUI_1=""
36753 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
36754 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
36755 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
36758 COND_PLATFORM_WIN32_0="#"
36759 if test "x$PLATFORM_WIN32" = "x0" ; then
36760 COND_PLATFORM_WIN32_0=""
36763 COND_PLATFORM_WIN32_1="#"
36764 if test "x$PLATFORM_WIN32" = "x1" ; then
36765 COND_PLATFORM_WIN32_1=""
36769 if test "x$SHARED" = "x0" ; then
36773 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
36774 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
36775 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
36778 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
36779 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36780 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
36783 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
36784 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36785 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
36788 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
36789 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36790 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
36793 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
36794 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
36795 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
36798 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
36799 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
36800 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
36803 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
36804 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
36805 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
36808 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
36809 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
36810 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
36814 if test "x$SHARED" = "x1" ; then
36818 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
36819 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
36820 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
36823 COND_TOOLKIT_COCOA="#"
36824 if test "x$TOOLKIT" = "xCOCOA" ; then
36825 COND_TOOLKIT_COCOA=""
36828 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
36829 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36830 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
36833 COND_TOOLKIT_GTK="#"
36834 if test "x$TOOLKIT" = "xGTK" ; then
36835 COND_TOOLKIT_GTK=""
36838 COND_TOOLKIT_GTK_USE_GUI_1="#"
36839 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
36840 COND_TOOLKIT_GTK_USE_GUI_1=""
36843 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
36844 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36845 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
36848 COND_TOOLKIT_MAC="#"
36849 if test "x$TOOLKIT" = "xMAC" ; then
36850 COND_TOOLKIT_MAC=""
36853 COND_TOOLKIT_MAC_USE_GUI_1="#"
36854 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
36855 COND_TOOLKIT_MAC_USE_GUI_1=""
36858 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
36859 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36860 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
36863 COND_TOOLKIT_MGL="#"
36864 if test "x$TOOLKIT" = "xMGL" ; then
36865 COND_TOOLKIT_MGL=""
36868 COND_TOOLKIT_MGL_USE_GUI_1="#"
36869 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
36870 COND_TOOLKIT_MGL_USE_GUI_1=""
36873 COND_TOOLKIT_MOTIF="#"
36874 if test "x$TOOLKIT" = "xMOTIF" ; then
36875 COND_TOOLKIT_MOTIF=""
36878 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
36879 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
36880 COND_TOOLKIT_MOTIF_USE_GUI_1=""
36883 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
36884 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36885 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
36888 COND_TOOLKIT_MSW="#"
36889 if test "x$TOOLKIT" = "xMSW" ; then
36890 COND_TOOLKIT_MSW=""
36893 COND_TOOLKIT_MSW_USE_GUI_1="#"
36894 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
36895 COND_TOOLKIT_MSW_USE_GUI_1=""
36898 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
36899 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36900 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
36903 COND_TOOLKIT_PM="#"
36904 if test "x$TOOLKIT" = "xPM" ; then
36908 COND_TOOLKIT_PM_USE_GUI_1="#"
36909 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
36910 COND_TOOLKIT_PM_USE_GUI_1=""
36913 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
36914 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36915 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
36918 COND_TOOLKIT_X11="#"
36919 if test "x$TOOLKIT" = "xX11" ; then
36920 COND_TOOLKIT_X11=""
36923 COND_TOOLKIT_X11_USE_GUI_1="#"
36924 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
36925 COND_TOOLKIT_X11_USE_GUI_1=""
36929 if test "x$UNICODE" = "x1" ; then
36933 COND_USE_EXCEPTIONS_0="#"
36934 if test "x$USE_EXCEPTIONS" = "x0" ; then
36935 COND_USE_EXCEPTIONS_0=""
36938 COND_USE_EXCEPTIONS_1="#"
36939 if test "x$USE_EXCEPTIONS" = "x1" ; then
36940 COND_USE_EXCEPTIONS_1=""
36944 if test "x$USE_GUI" = "x0" ; then
36949 if test "x$USE_GUI" = "x1" ; then
36953 COND_USE_GUI_1_WXUNIV_0="#"
36954 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36955 COND_USE_GUI_1_WXUNIV_0=""
36958 COND_USE_GUI_1_WXUNIV_1="#"
36959 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
36960 COND_USE_GUI_1_WXUNIV_1=""
36963 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
36964 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36965 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
36968 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
36969 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36970 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
36973 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
36974 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36975 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
36978 COND_USE_ODBC_1="#"
36979 if test "x$USE_ODBC" = "x1" ; then
36983 COND_USE_PLUGINS_0="#"
36984 if test "x$USE_PLUGINS" = "x0" ; then
36985 COND_USE_PLUGINS_0=""
36988 COND_USE_SOSYMLINKS_1="#"
36989 if test "x$USE_SOSYMLINKS" = "x1" ; then
36990 COND_USE_SOSYMLINKS_1=""
36993 COND_USE_SOVERLINUX_1="#"
36994 if test "x$USE_SOVERLINUX" = "x1" ; then
36995 COND_USE_SOVERLINUX_1=""
36998 COND_USE_SOVERSION_0="#"
36999 if test "x$USE_SOVERSION" = "x0" ; then
37000 COND_USE_SOVERSION_0=""
37003 COND_USE_SOVERSOLARIS_1="#"
37004 if test "x$USE_SOVERSOLARIS" = "x1" ; then
37005 COND_USE_SOVERSOLARIS_1=""
37008 COND_WITH_PLUGIN_SDL_1="#"
37009 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
37010 COND_WITH_PLUGIN_SDL_1=""
37013 COND_WITH_SDL_1="#"
37014 if test "x$WITH_SDL" = "x1" ; then
37019 if test "x$WXUNIV" = "x1" ; then
37023 COND_WXUSE_EXPAT_BUILTIN="#"
37024 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
37025 COND_WXUSE_EXPAT_BUILTIN=""
37028 COND_WXUSE_LIBJPEG_BUILTIN="#"
37029 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
37030 COND_WXUSE_LIBJPEG_BUILTIN=""
37033 COND_WXUSE_LIBPNG_BUILTIN="#"
37034 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
37035 COND_WXUSE_LIBPNG_BUILTIN=""
37038 COND_WXUSE_LIBTIFF_BUILTIN="#"
37039 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
37040 COND_WXUSE_LIBTIFF_BUILTIN=""
37043 COND_WXUSE_ODBC_BUILTIN="#"
37044 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
37045 COND_WXUSE_ODBC_BUILTIN=""
37048 COND_WXUSE_REGEX_BUILTIN="#"
37049 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
37050 COND_WXUSE_REGEX_BUILTIN=""
37053 COND_WXUSE_ZLIB_BUILTIN="#"
37054 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
37055 COND_WXUSE_ZLIB_BUILTIN=""
37062 if test $GCC_PCH = 1 ; then
37063 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
37064 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
37067 powerpc-*-darwin* )
37068 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
37069 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
37075 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
37176 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37177 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
37178 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
37179 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
37180 echo $ECHO_N "(cached) $ECHO_C" >&6
37182 cat >conftest.make <<\_ACEOF
37184 @echo 'ac_maketemp="$(MAKE)"'
37186 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
37187 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
37188 if test -n "$ac_maketemp"; then
37189 eval ac_cv_prog_make_${ac_make}_set=yes
37191 eval ac_cv_prog_make_${ac_make}_set=no
37193 rm -f conftest.make
37195 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
37196 echo "$as_me:$LINENO: result: yes" >&5
37197 echo "${ECHO_T}yes" >&6
37200 echo "$as_me:$LINENO: result: no" >&5
37201 echo "${ECHO_T}no" >&6
37202 SET_MAKE="MAKE=${MAKE-make}"
37206 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
37207 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
37210 ac_config_headers="$ac_config_headers setup.h"
37213 ac_config_files="$ac_config_files wx-config version-script Makefile"
37216 ac_config_commands="$ac_config_commands default"
37220 if test "$wxUSE_GUI" = "yes"; then
37221 SUBDIRS="samples demos utils contrib"
37222 else SUBDIRS="samples utils"
37225 for subdir in `echo $SUBDIRS`; do
37226 if test -d ${srcdir}/${subdir} ; then
37227 if test "$wxUSE_GUI" = "yes"; then
37228 if test ${subdir} = "samples"; then
37229 makefiles="samples/Makefile.in $makefiles"
37230 for sample in `echo $SAMPLES_SUBDIRS`; do
37231 if test -d $srcdir/samples/$sample; then
37232 makefiles="samples/$sample/Makefile.in $makefiles"
37235 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
37237 else if test ${subdir} = "samples"; then
37238 makefiles="samples/Makefile.in samples/console/Makefile.in"
37239 else makefiles="utils/HelpGen/Makefile.in \
37240 utils/HelpGen/src/Makefile.in \
37241 utils/tex2rtf/Makefile.in \
37242 utils/tex2rtf/src/Makefile.in"
37246 for mkin in $makefiles ; do
37247 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
37248 ac_config_files="$ac_config_files $mk"
37255 cat >confcache <<\_ACEOF
37256 # This file is a shell script that caches the results of configure
37257 # tests run on this system so they can be shared between configure
37258 # scripts and configure runs, see configure's option --config-cache.
37259 # It is not useful on other systems. If it contains results you don't
37260 # want to keep, you may remove or edit it.
37262 # config.status only pays attention to the cache file if you give it
37263 # the --recheck option to rerun configure.
37265 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37266 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37267 # following values.
37271 # The following way of writing the cache mishandles newlines in values,
37272 # but we know of no workaround that is simple, portable, and efficient.
37273 # So, don't put newlines in cache variables' values.
37274 # Ultrix sh set writes to stderr and can't be redirected directly,
37275 # and sets the high bit in the cache file unless we assign to the vars.
37278 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37280 # `set' does not quote correctly, so add quotes (double-quote
37281 # substitution turns \\\\ into \\, and sed turns \\ into \).
37284 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37287 # `set' quotes correctly as required by POSIX, so do not add quotes.
37289 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37296 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37298 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37300 if diff $cache_file confcache >/dev/null 2>&1; then :; else
37301 if test -w $cache_file; then
37302 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37303 cat confcache >$cache_file
37305 echo "not updating unwritable cache $cache_file"
37310 test "x$prefix" = xNONE && prefix=$ac_default_prefix
37311 # Let make expand exec_prefix.
37312 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
37314 # VPATH may cause trouble with some makes, so we remove $(srcdir),
37315 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
37316 # trailing colons and then remove the whole line if VPATH becomes empty
37317 # (actually we leave an empty line to preserve line numbers).
37318 if test "x$srcdir" = x.; then
37319 ac_vpsub='/^[ ]*VPATH[ ]*=/{
37320 s/:*\$(srcdir):*/:/;
37321 s/:*\${srcdir}:*/:/;
37323 s/^\([^=]*=[ ]*\):*/\1/;
37329 DEFS=-DHAVE_CONFIG_H
37333 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
37334 # 1. Remove the extension, and $U if already installed.
37335 ac_i=`echo "$ac_i" |
37336 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
37338 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
37339 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
37341 LIBOBJS=$ac_libobjs
37343 LTLIBOBJS=$ac_ltlibobjs
37347 : ${CONFIG_STATUS=./config.status}
37348 ac_clean_files_save=$ac_clean_files
37349 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
37350 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
37351 echo "$as_me: creating $CONFIG_STATUS" >&6;}
37352 cat >$CONFIG_STATUS <<_ACEOF
37354 # Generated by $as_me.
37355 # Run this file to recreate the current configuration.
37356 # Compiler output produced by configure, useful for debugging
37357 # configure, is in config.log if it exists.
37360 ac_cs_recheck=false
37362 SHELL=\${CONFIG_SHELL-$SHELL}
37365 cat >>$CONFIG_STATUS <<\_ACEOF
37366 ## --------------------- ##
37367 ## M4sh Initialization. ##
37368 ## --------------------- ##
37370 # Be Bourne compatible
37371 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
37374 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
37375 # is contrary to our usage. Disable this feature.
37376 alias -g '${1+"$@"}'='"$@"'
37377 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
37381 # Support unset when possible.
37382 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
37389 # Work around bugs in pre-3.0 UWIN ksh.
37390 $as_unset ENV MAIL MAILPATH
37397 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
37398 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
37399 LC_TELEPHONE LC_TIME
37401 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
37402 eval $as_var=C; export $as_var
37408 # Required to use basename.
37409 if expr a : '\(a\)' >/dev/null 2>&1; then
37415 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
37416 as_basename=basename
37422 # Name of the executable.
37423 as_me=`$as_basename "$0" ||
37424 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
37425 X"$0" : 'X\(//\)$' \| \
37426 X"$0" : 'X\(/\)$' \| \
37427 . : '\(.\)' 2>/dev/null ||
37429 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
37430 /^X\/\(\/\/\)$/{ s//\1/; q; }
37431 /^X\/\(\/\).*/{ s//\1/; q; }
37435 # PATH needs CR, and LINENO needs CR and PATH.
37436 # Avoid depending upon Character Ranges.
37437 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37438 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37439 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37440 as_cr_digits='0123456789'
37441 as_cr_alnum=$as_cr_Letters$as_cr_digits
37443 # The user is always right.
37444 if test "${PATH_SEPARATOR+set}" != set; then
37445 echo "#! /bin/sh" >conf$$.sh
37446 echo "exit 0" >>conf$$.sh
37448 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
37457 as_lineno_1=$LINENO
37458 as_lineno_2=$LINENO
37459 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
37460 test "x$as_lineno_1" != "x$as_lineno_2" &&
37461 test "x$as_lineno_3" = "x$as_lineno_2" || {
37462 # Find who we are. Look in the path if we contain no path at all
37465 *[\\/]* ) as_myself=$0 ;;
37466 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37467 for as_dir in $PATH
37470 test -z "$as_dir" && as_dir=.
37471 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
37476 # We did not find ourselves, most probably we were run as `sh COMMAND'
37477 # in which case we are not to be found in the path.
37478 if test "x$as_myself" = x; then
37481 if test ! -f "$as_myself"; then
37482 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
37483 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
37484 { (exit 1); exit 1; }; }
37486 case $CONFIG_SHELL in
37488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37489 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
37492 test -z "$as_dir" && as_dir=.
37493 for as_base in sh bash ksh sh5; do
37496 if ("$as_dir/$as_base" -c '
37497 as_lineno_1=$LINENO
37498 as_lineno_2=$LINENO
37499 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
37500 test "x$as_lineno_1" != "x$as_lineno_2" &&
37501 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
37502 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
37503 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
37504 CONFIG_SHELL=$as_dir/$as_base
37505 export CONFIG_SHELL
37506 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
37514 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
37515 # uniformly replaced by the line number. The first 'sed' inserts a
37516 # line-number line before each line; the second 'sed' does the real
37517 # work. The second script uses 'N' to pair each line-number line
37518 # with the numbered line, and appends trailing '-' during
37519 # substitution so that $LINENO is not a special case at line end.
37520 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
37521 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
37522 sed '=' <$as_myself |
37527 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
37530 s,^['$as_cr_digits']*\n,,
37531 ' >$as_me.lineno &&
37532 chmod +x $as_me.lineno ||
37533 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
37534 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
37535 { (exit 1); exit 1; }; }
37537 # Don't try to exec as it changes $[0], causing all sort of problems
37538 # (the dirname of $[0] is not the place where we might find the
37539 # original and so on. Autoconf is especially sensible to this).
37541 # Exit status is that of the last command.
37546 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
37547 *c*,-n*) ECHO_N= ECHO_C='
37549 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
37550 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
37553 if expr a : '\(a\)' >/dev/null 2>&1; then
37559 rm -f conf$$ conf$$.exe conf$$.file
37561 if ln -s conf$$.file conf$$ 2>/dev/null; then
37562 # We could just check for DJGPP; but this test a) works b) is more generic
37563 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
37564 if test -f conf$$.exe; then
37565 # Don't use ln at all; we don't have any links
37570 elif ln conf$$.file conf$$ 2>/dev/null; then
37575 rm -f conf$$ conf$$.exe conf$$.file
37577 if mkdir -p . 2>/dev/null; then
37583 as_executable_p="test -f"
37585 # Sed expression to map a string onto a valid CPP name.
37586 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
37588 # Sed expression to map a string onto a valid variable name.
37589 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
37593 # We need space, tab and new line, in precisely that order.
37603 # Open the log real soon, to keep \$[0] and so on meaningful, and to
37604 # report actual input values of CONFIG_FILES etc. instead of their
37605 # values after options handling. Logging --version etc. is OK.
37609 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
37610 ## Running $as_me. ##
37615 This file was extended by wxWindows $as_me 2.5.1, which was
37616 generated by GNU Autoconf 2.57. Invocation command line was
37618 CONFIG_FILES = $CONFIG_FILES
37619 CONFIG_HEADERS = $CONFIG_HEADERS
37620 CONFIG_LINKS = $CONFIG_LINKS
37621 CONFIG_COMMANDS = $CONFIG_COMMANDS
37625 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
37629 # Files that config.status was made for.
37630 if test -n "$ac_config_files"; then
37631 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
37634 if test -n "$ac_config_headers"; then
37635 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
37638 if test -n "$ac_config_links"; then
37639 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
37642 if test -n "$ac_config_commands"; then
37643 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
37646 cat >>$CONFIG_STATUS <<\_ACEOF
37649 \`$as_me' instantiates files from templates according to the
37650 current configuration.
37652 Usage: $0 [OPTIONS] [FILE]...
37654 -h, --help print this help, then exit
37655 -V, --version print version number, then exit
37656 -q, --quiet do not print progress messages
37657 -d, --debug don't remove temporary files
37658 --recheck update $as_me by reconfiguring in the same conditions
37659 --file=FILE[:TEMPLATE]
37660 instantiate the configuration file FILE
37661 --header=FILE[:TEMPLATE]
37662 instantiate the configuration header FILE
37664 Configuration files:
37667 Configuration headers:
37670 Configuration commands:
37673 Report bugs to <bug-autoconf@gnu.org>."
37676 cat >>$CONFIG_STATUS <<_ACEOF
37678 wxWindows config.status 2.5.1
37679 configured by $0, generated by GNU Autoconf 2.57,
37680 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
37682 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
37683 Free Software Foundation, Inc.
37684 This config.status script is free software; the Free Software Foundation
37685 gives unlimited permission to copy, distribute and modify it."
37690 cat >>$CONFIG_STATUS <<\_ACEOF
37691 # If no file are specified by the user, then we need to provide default
37692 # value. By we need to know if files were specified by the user.
37698 ac_option=`expr "x$1" : 'x\([^=]*\)='`
37699 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
37707 *) # This is not an option, so the user has probably given explicit
37710 ac_need_defaults=false;;
37714 # Handling of the options.
37716 cat >>$CONFIG_STATUS <<\_ACEOF
37717 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
37719 --version | --vers* | -V )
37720 echo "$ac_cs_version"; exit 0 ;;
37722 # Conflict between --help and --header
37723 { { echo "$as_me:$LINENO: error: ambiguous option: $1
37724 Try \`$0 --help' for more information." >&5
37725 echo "$as_me: error: ambiguous option: $1
37726 Try \`$0 --help' for more information." >&2;}
37727 { (exit 1); exit 1; }; };;
37728 --help | --hel | -h )
37729 echo "$ac_cs_usage"; exit 0 ;;
37730 --debug | --d* | -d )
37732 --file | --fil | --fi | --f )
37734 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
37735 ac_need_defaults=false;;
37736 --header | --heade | --head | --hea )
37738 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
37739 ac_need_defaults=false;;
37740 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
37741 | -silent | --silent | --silen | --sile | --sil | --si | --s)
37744 # This is an error.
37745 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
37746 Try \`$0 --help' for more information." >&5
37747 echo "$as_me: error: unrecognized option: $1
37748 Try \`$0 --help' for more information." >&2;}
37749 { (exit 1); exit 1; }; } ;;
37751 *) ac_config_targets="$ac_config_targets $1" ;;
37757 ac_configure_extra_args=
37759 if $ac_cs_silent; then
37761 ac_configure_extra_args="$ac_configure_extra_args --silent"
37765 cat >>$CONFIG_STATUS <<_ACEOF
37766 if \$ac_cs_recheck; then
37767 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
37768 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
37773 cat >>$CONFIG_STATUS <<_ACEOF
37775 # INIT-COMMANDS section.
37779 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
37788 cat >>$CONFIG_STATUS <<\_ACEOF
37789 for ac_config_target in $ac_config_targets
37791 case "$ac_config_target" in
37792 # Handling of arguments.
37793 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
37794 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
37795 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
37796 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
37797 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
37798 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
37799 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
37800 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
37801 { (exit 1); exit 1; }; };;
37805 # If the user did not use the arguments to specify the items to instantiate,
37806 # then the envvar interface is used. Set only those that are not.
37807 # We use the long form for the default assignment because of an extremely
37808 # bizarre bug on SunOS 4.1.3.
37809 if $ac_need_defaults; then
37810 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
37811 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
37812 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
37815 # Have a temporary directory for convenience. Make it in the build tree
37816 # simply because there is no reason to put it here, and in addition,
37817 # creating and moving files from /tmp can sometimes cause problems.
37818 # Create a temporary directory, and hook for its removal unless debugging.
37821 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
37822 trap '{ (exit 1); exit 1; }' 1 2 13 15
37825 # Create a (secure) tmp directory for tmp files.
37828 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
37829 test -n "$tmp" && test -d "$tmp"
37832 tmp=./confstat$$-$RANDOM
37833 (umask 077 && mkdir $tmp)
37836 echo "$me: cannot create a temporary directory in ." >&2
37837 { (exit 1); exit 1; }
37842 cat >>$CONFIG_STATUS <<_ACEOF
37845 # CONFIG_FILES section.
37848 # No need to generate the scripts if there are no CONFIG_FILES.
37849 # This happens for instance when ./config.status config.h
37850 if test -n "\$CONFIG_FILES"; then
37851 # Protect against being on the right side of a sed subst in config.status.
37852 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
37853 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
37854 s,@SHELL@,$SHELL,;t t
37855 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
37856 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
37857 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
37858 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
37859 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
37860 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
37861 s,@exec_prefix@,$exec_prefix,;t t
37862 s,@prefix@,$prefix,;t t
37863 s,@program_transform_name@,$program_transform_name,;t t
37864 s,@bindir@,$bindir,;t t
37865 s,@sbindir@,$sbindir,;t t
37866 s,@libexecdir@,$libexecdir,;t t
37867 s,@datadir@,$datadir,;t t
37868 s,@sysconfdir@,$sysconfdir,;t t
37869 s,@sharedstatedir@,$sharedstatedir,;t t
37870 s,@localstatedir@,$localstatedir,;t t
37871 s,@libdir@,$libdir,;t t
37872 s,@includedir@,$includedir,;t t
37873 s,@oldincludedir@,$oldincludedir,;t t
37874 s,@infodir@,$infodir,;t t
37875 s,@mandir@,$mandir,;t t
37876 s,@build_alias@,$build_alias,;t t
37877 s,@host_alias@,$host_alias,;t t
37878 s,@target_alias@,$target_alias,;t t
37879 s,@DEFS@,$DEFS,;t t
37880 s,@ECHO_C@,$ECHO_C,;t t
37881 s,@ECHO_N@,$ECHO_N,;t t
37882 s,@ECHO_T@,$ECHO_T,;t t
37883 s,@LIBS@,$LIBS,;t t
37884 s,@build@,$build,;t t
37885 s,@build_cpu@,$build_cpu,;t t
37886 s,@build_vendor@,$build_vendor,;t t
37887 s,@build_os@,$build_os,;t t
37888 s,@host@,$host,;t t
37889 s,@host_cpu@,$host_cpu,;t t
37890 s,@host_vendor@,$host_vendor,;t t
37891 s,@host_os@,$host_os,;t t
37892 s,@target@,$target,;t t
37893 s,@target_cpu@,$target_cpu,;t t
37894 s,@target_vendor@,$target_vendor,;t t
37895 s,@target_os@,$target_os,;t t
37897 s,@CFLAGS@,$CFLAGS,;t t
37898 s,@LDFLAGS@,$LDFLAGS,;t t
37899 s,@CPPFLAGS@,$CPPFLAGS,;t t
37900 s,@ac_ct_CC@,$ac_ct_CC,;t t
37901 s,@EXEEXT@,$EXEEXT,;t t
37902 s,@OBJEXT@,$OBJEXT,;t t
37904 s,@EGREP@,$EGREP,;t t
37906 s,@CXXFLAGS@,$CXXFLAGS,;t t
37907 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
37908 s,@RANLIB@,$RANLIB,;t t
37909 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
37911 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
37912 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
37913 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
37914 s,@STRIP@,$STRIP,;t t
37915 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
37916 s,@LN_S@,$LN_S,;t t
37917 s,@CXXCPP@,$CXXCPP,;t t
37918 s,@subdirs@,$subdirs,;t t
37919 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
37920 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
37921 s,@GTK_LIBS@,$GTK_LIBS,;t t
37922 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
37923 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
37924 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
37925 s,@X_CFLAGS@,$X_CFLAGS,;t t
37926 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
37927 s,@X_LIBS@,$X_LIBS,;t t
37928 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
37929 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
37930 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
37931 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
37932 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
37933 s,@RESCOMP@,$RESCOMP,;t t
37934 s,@DEREZ@,$DEREZ,;t t
37935 s,@SETFILE@,$SETFILE,;t t
37936 s,@LIBICONV@,$LIBICONV,;t t
37937 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
37938 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
37939 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
37940 s,@SDL_LIBS@,$SDL_LIBS,;t t
37941 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
37942 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
37943 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
37944 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
37945 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
37946 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
37947 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
37948 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
37949 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
37950 s,@VENDOR@,$VENDOR,;t t
37951 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
37952 s,@WXUNIV@,$WXUNIV,;t t
37953 s,@MONOLITHIC@,$MONOLITHIC,;t t
37954 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
37955 s,@EXTRALIBS@,$EXTRALIBS,;t t
37956 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
37957 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
37958 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
37959 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
37960 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
37961 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
37962 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
37963 s,@UNICODE@,$UNICODE,;t t
37964 s,@BUILD@,$BUILD,;t t
37965 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
37966 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
37967 s,@SHARED@,$SHARED,;t t
37968 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
37969 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
37970 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
37971 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
37972 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
37973 s,@SET_MAKE@,$SET_MAKE,;t t
37974 s,@MAKE_SET@,$MAKE_SET,;t t
37975 s,@ac_ct_AR@,$ac_ct_AR,;t t
37976 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
37978 s,@ac_ct_NM@,$ac_ct_NM,;t t
37979 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
37980 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
37981 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
37982 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
37983 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
37984 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
37985 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
37986 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
37987 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
37988 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
37989 s,@LIBPREFIX@,$LIBPREFIX,;t t
37990 s,@DLLPREFIX@,$DLLPREFIX,;t t
37991 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
37992 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
37993 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
37994 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
37995 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
37996 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
37997 s,@PIC_FLAG@,$PIC_FLAG,;t t
37998 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
37999 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
38000 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
38001 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
38002 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
38003 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
38004 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
38005 s,@GCC_PCH@,$GCC_PCH,;t t
38006 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
38007 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
38008 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
38009 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
38010 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
38011 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
38012 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
38013 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
38014 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
38015 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
38016 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
38017 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
38018 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
38019 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
38020 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
38021 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
38022 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
38023 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
38024 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
38025 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
38026 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
38027 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
38028 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
38029 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
38030 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
38031 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
38032 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
38033 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
38034 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
38035 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
38036 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
38037 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
38038 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
38039 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
38040 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
38041 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
38042 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
38043 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
38044 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
38045 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
38046 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
38047 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
38048 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
38049 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
38050 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
38051 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
38052 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
38053 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
38054 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
38055 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
38056 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
38057 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
38058 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
38059 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
38060 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
38061 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
38062 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
38063 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
38064 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
38065 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
38066 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
38067 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
38068 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
38069 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
38070 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
38071 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
38072 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
38073 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
38074 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
38075 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
38076 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
38077 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
38078 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
38079 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
38080 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
38081 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
38082 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
38083 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
38084 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
38085 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
38086 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
38087 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
38088 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
38089 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
38090 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
38091 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
38092 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
38093 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
38094 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
38095 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
38096 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
38097 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
38098 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
38099 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
38100 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
38101 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
38102 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
38103 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
38104 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
38105 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
38106 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
38107 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
38108 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
38109 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
38110 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
38111 s,@PATH_IFS@,$PATH_IFS,;t t
38112 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
38113 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
38114 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
38115 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
38116 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
38117 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
38118 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
38119 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
38120 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
38121 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
38122 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
38123 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
38124 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
38125 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
38126 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
38127 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
38128 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
38129 s,@WX_ALL@,$WX_ALL,;t t
38130 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
38131 s,@SHARED_LD@,$SHARED_LD,;t t
38132 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
38133 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
38134 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
38135 s,@USE_GUI@,$USE_GUI,;t t
38136 s,@AFMINSTALL@,$AFMINSTALL,;t t
38137 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
38138 s,@TOOLKIT@,$TOOLKIT,;t t
38139 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
38140 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
38141 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
38142 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
38143 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
38144 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
38145 s,@cross_compiling@,$cross_compiling,;t t
38146 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
38147 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
38148 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
38149 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
38150 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
38151 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
38152 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
38153 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
38154 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
38155 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
38156 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
38157 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
38158 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
38159 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
38160 s,@GUIDIST@,$GUIDIST,;t t
38161 s,@PORT_FILES@,$PORT_FILES,;t t
38162 s,@DISTDIR@,$DISTDIR,;t t
38163 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
38164 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
38165 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
38166 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
38167 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
38168 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
38169 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
38170 s,@RESFLAGS@,$RESFLAGS,;t t
38171 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
38172 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
38173 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
38174 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
38175 s,@MACRESCOMP@,$MACRESCOMP,;t t
38176 s,@MACSETFILE@,$MACSETFILE,;t t
38177 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
38179 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
38180 s,@DLLTOOL@,$DLLTOOL,;t t
38183 s,@MAKEINFO@,$MAKEINFO,;t t
38184 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
38185 s,@LIBOBJS@,$LIBOBJS,;t t
38186 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
38191 cat >>$CONFIG_STATUS <<\_ACEOF
38192 # Split the substitutions into bite-sized pieces for seds with
38193 # small command number limits, like on Digital OSF/1 and HP-UX.
38194 ac_max_sed_lines=48
38195 ac_sed_frag=1 # Number of current file.
38196 ac_beg=1 # First line for current file.
38197 ac_end=$ac_max_sed_lines # Line after last line for current file.
38200 while $ac_more_lines; do
38201 if test $ac_beg -gt 1; then
38202 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
38204 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
38206 if test ! -s $tmp/subs.frag; then
38207 ac_more_lines=false
38209 # The purpose of the label and of the branching condition is to
38210 # speed up the sed processing (if there are no `@' at all, there
38211 # is no need to browse any of the substitutions).
38212 # These are the two extra sed commands mentioned above.
38214 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
38215 if test -z "$ac_sed_cmds"; then
38216 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
38218 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
38220 ac_sed_frag=`expr $ac_sed_frag + 1`
38222 ac_end=`expr $ac_end + $ac_max_sed_lines`
38225 if test -z "$ac_sed_cmds"; then
38228 fi # test -n "$CONFIG_FILES"
38231 cat >>$CONFIG_STATUS <<\_ACEOF
38232 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
38233 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
38235 - | *:- | *:-:* ) # input from stdin
38237 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
38238 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
38239 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
38240 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
38241 * ) ac_file_in=$ac_file.in ;;
38244 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
38245 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
38246 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38247 X"$ac_file" : 'X\(//\)[^/]' \| \
38248 X"$ac_file" : 'X\(//\)$' \| \
38249 X"$ac_file" : 'X\(/\)' \| \
38250 . : '\(.\)' 2>/dev/null ||
38252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38253 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38254 /^X\(\/\/\)$/{ s//\1/; q; }
38255 /^X\(\/\).*/{ s//\1/; q; }
38257 { if $as_mkdir_p; then
38262 while test ! -d "$as_dir"; do
38263 as_dirs="$as_dir $as_dirs"
38264 as_dir=`(dirname "$as_dir") 2>/dev/null ||
38265 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38266 X"$as_dir" : 'X\(//\)[^/]' \| \
38267 X"$as_dir" : 'X\(//\)$' \| \
38268 X"$as_dir" : 'X\(/\)' \| \
38269 . : '\(.\)' 2>/dev/null ||
38271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38272 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38273 /^X\(\/\/\)$/{ s//\1/; q; }
38274 /^X\(\/\).*/{ s//\1/; q; }
38277 test ! -n "$as_dirs" || mkdir $as_dirs
38278 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38279 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38280 { (exit 1); exit 1; }; }; }
38284 if test "$ac_dir" != .; then
38285 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38286 # A "../" for each directory in $ac_dir_suffix.
38287 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38289 ac_dir_suffix= ac_top_builddir=
38293 .) # No --srcdir option. We are building in place.
38295 if test -z "$ac_top_builddir"; then
38298 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
38300 [\\/]* | ?:[\\/]* ) # Absolute path.
38301 ac_srcdir=$srcdir$ac_dir_suffix;
38302 ac_top_srcdir=$srcdir ;;
38303 *) # Relative path.
38304 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
38305 ac_top_srcdir=$ac_top_builddir$srcdir ;;
38307 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
38309 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
38310 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
38311 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
38312 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
38316 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
38317 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
38320 if test x"$ac_file" != x-; then
38321 { echo "$as_me:$LINENO: creating $ac_file" >&5
38322 echo "$as_me: creating $ac_file" >&6;}
38325 # Let's still pretend it is `configure' which instantiates (i.e., don't
38326 # use $as_me), people would be surprised to read:
38327 # /* config.h. Generated by config.status. */
38328 if test x"$ac_file" = x-; then
38331 configure_input="$ac_file. "
38333 configure_input=$configure_input"Generated from `echo $ac_file_in |
38334 sed 's,.*/,,'` by configure."
38336 # First look for the input files in the build tree, otherwise in the
38338 ac_file_inputs=`IFS=:
38339 for f in $ac_file_in; do
38341 -) echo $tmp/stdin ;;
38343 # Absolute (can't be DOS-style, as IFS=:)
38344 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38345 echo "$as_me: error: cannot find input file: $f" >&2;}
38346 { (exit 1); exit 1; }; }
38349 if test -f "$f"; then
38352 elif test -f "$srcdir/$f"; then
38357 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38358 echo "$as_me: error: cannot find input file: $f" >&2;}
38359 { (exit 1); exit 1; }; }
38362 done` || { (exit 1); exit 1; }
38364 cat >>$CONFIG_STATUS <<_ACEOF
38368 cat >>$CONFIG_STATUS <<\_ACEOF
38370 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
38371 s,@configure_input@,$configure_input,;t t
38372 s,@srcdir@,$ac_srcdir,;t t
38373 s,@abs_srcdir@,$ac_abs_srcdir,;t t
38374 s,@top_srcdir@,$ac_top_srcdir,;t t
38375 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
38376 s,@builddir@,$ac_builddir,;t t
38377 s,@abs_builddir@,$ac_abs_builddir,;t t
38378 s,@top_builddir@,$ac_top_builddir,;t t
38379 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
38380 s,@INSTALL@,$ac_INSTALL,;t t
38381 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
38383 if test x"$ac_file" != x-; then
38384 mv $tmp/out $ac_file
38392 cat >>$CONFIG_STATUS <<\_ACEOF
38395 # CONFIG_HEADER section.
38398 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
38399 # NAME is the cpp macro being defined and VALUE is the value it is being given.
38401 # ac_d sets the value in "#define NAME VALUE" lines.
38402 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
38403 ac_dB='[ ].*$,\1#\2'
38406 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
38407 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
38408 ac_uB='$,\1#\2define\3'
38412 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
38413 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
38415 - | *:- | *:-:* ) # input from stdin
38417 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
38418 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
38419 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
38420 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
38421 * ) ac_file_in=$ac_file.in ;;
38424 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
38425 echo "$as_me: creating $ac_file" >&6;}
38427 # First look for the input files in the build tree, otherwise in the
38429 ac_file_inputs=`IFS=:
38430 for f in $ac_file_in; do
38432 -) echo $tmp/stdin ;;
38434 # Absolute (can't be DOS-style, as IFS=:)
38435 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38436 echo "$as_me: error: cannot find input file: $f" >&2;}
38437 { (exit 1); exit 1; }; }
38440 if test -f "$f"; then
38443 elif test -f "$srcdir/$f"; then
38448 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38449 echo "$as_me: error: cannot find input file: $f" >&2;}
38450 { (exit 1); exit 1; }; }
38453 done` || { (exit 1); exit 1; }
38454 # Remove the trailing spaces.
38455 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
38459 # Transform confdefs.h into two sed scripts, `conftest.defines' and
38460 # `conftest.undefs', that substitutes the proper values into
38461 # config.h.in to produce config.h. The first handles `#define'
38462 # templates, and the second `#undef' templates.
38463 # And first: Protect against being on the right side of a sed subst in
38464 # config.status. Protect against being in an unquoted here document
38465 # in config.status.
38466 rm -f conftest.defines conftest.undefs
38467 # Using a here document instead of a string reduces the quoting nightmare.
38468 # Putting comments in sed scripts is not portable.
38470 # `end' is used to avoid that the second main sed command (meant for
38471 # 0-ary CPP macros) applies to n-ary macro definitions.
38472 # See the Autoconf documentation for `clear'.
38473 cat >confdef2sed.sed <<\_ACEOF
38478 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
38480 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
38483 # If some macros were called several times there might be several times
38484 # the same #defines, which is useless. Nevertheless, we may not want to
38485 # sort them, since we want the *last* AC-DEFINE to be honored.
38486 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
38487 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
38488 rm -f confdef2sed.sed
38490 # This sed command replaces #undef with comments. This is necessary, for
38491 # example, in the case of _POSIX_SOURCE, which is predefined and required
38492 # on some systems where configure will not decide to define it.
38493 cat >>conftest.undefs <<\_ACEOF
38494 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
38497 # Break up conftest.defines because some shells have a limit on the size
38498 # of here documents, and old seds have small limits too (100 cmds).
38499 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
38500 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
38501 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
38502 echo ' :' >>$CONFIG_STATUS
38503 rm -f conftest.tail
38504 while grep . conftest.defines >/dev/null
38506 # Write a limited-size here document to $tmp/defines.sed.
38507 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
38508 # Speed up: don't consider the non `#define' lines.
38509 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
38510 # Work around the forget-to-reset-the-flag bug.
38511 echo 't clr' >>$CONFIG_STATUS
38512 echo ': clr' >>$CONFIG_STATUS
38513 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
38515 sed -f $tmp/defines.sed $tmp/in >$tmp/out
38517 mv $tmp/out $tmp/in
38519 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
38520 rm -f conftest.defines
38521 mv conftest.tail conftest.defines
38523 rm -f conftest.defines
38524 echo ' fi # grep' >>$CONFIG_STATUS
38525 echo >>$CONFIG_STATUS
38527 # Break up conftest.undefs because some shells have a limit on the size
38528 # of here documents, and old seds have small limits too (100 cmds).
38529 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
38530 rm -f conftest.tail
38531 while grep . conftest.undefs >/dev/null
38533 # Write a limited-size here document to $tmp/undefs.sed.
38534 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
38535 # Speed up: don't consider the non `#undef'
38536 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
38537 # Work around the forget-to-reset-the-flag bug.
38538 echo 't clr' >>$CONFIG_STATUS
38539 echo ': clr' >>$CONFIG_STATUS
38540 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
38542 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
38544 mv $tmp/out $tmp/in
38546 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
38547 rm -f conftest.undefs
38548 mv conftest.tail conftest.undefs
38550 rm -f conftest.undefs
38552 cat >>$CONFIG_STATUS <<\_ACEOF
38553 # Let's still pretend it is `configure' which instantiates (i.e., don't
38554 # use $as_me), people would be surprised to read:
38555 # /* config.h. Generated by config.status. */
38556 if test x"$ac_file" = x-; then
38557 echo "/* Generated by configure. */" >$tmp/config.h
38559 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
38561 cat $tmp/in >>$tmp/config.h
38563 if test x"$ac_file" != x-; then
38564 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
38565 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
38566 echo "$as_me: $ac_file is unchanged" >&6;}
38568 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
38569 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38570 X"$ac_file" : 'X\(//\)[^/]' \| \
38571 X"$ac_file" : 'X\(//\)$' \| \
38572 X"$ac_file" : 'X\(/\)' \| \
38573 . : '\(.\)' 2>/dev/null ||
38575 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38576 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38577 /^X\(\/\/\)$/{ s//\1/; q; }
38578 /^X\(\/\).*/{ s//\1/; q; }
38580 { if $as_mkdir_p; then
38585 while test ! -d "$as_dir"; do
38586 as_dirs="$as_dir $as_dirs"
38587 as_dir=`(dirname "$as_dir") 2>/dev/null ||
38588 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38589 X"$as_dir" : 'X\(//\)[^/]' \| \
38590 X"$as_dir" : 'X\(//\)$' \| \
38591 X"$as_dir" : 'X\(/\)' \| \
38592 . : '\(.\)' 2>/dev/null ||
38594 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38595 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38596 /^X\(\/\/\)$/{ s//\1/; q; }
38597 /^X\(\/\).*/{ s//\1/; q; }
38600 test ! -n "$as_dirs" || mkdir $as_dirs
38601 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38602 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38603 { (exit 1); exit 1; }; }; }
38606 mv $tmp/config.h $ac_file
38610 rm -f $tmp/config.h
38614 cat >>$CONFIG_STATUS <<\_ACEOF
38617 # CONFIG_COMMANDS section.
38619 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
38620 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
38621 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
38622 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
38623 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38624 X"$ac_dest" : 'X\(//\)[^/]' \| \
38625 X"$ac_dest" : 'X\(//\)$' \| \
38626 X"$ac_dest" : 'X\(/\)' \| \
38627 . : '\(.\)' 2>/dev/null ||
38629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38630 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38631 /^X\(\/\/\)$/{ s//\1/; q; }
38632 /^X\(\/\).*/{ s//\1/; q; }
38636 if test "$ac_dir" != .; then
38637 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38638 # A "../" for each directory in $ac_dir_suffix.
38639 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38641 ac_dir_suffix= ac_top_builddir=
38645 .) # No --srcdir option. We are building in place.
38647 if test -z "$ac_top_builddir"; then
38650 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
38652 [\\/]* | ?:[\\/]* ) # Absolute path.
38653 ac_srcdir=$srcdir$ac_dir_suffix;
38654 ac_top_srcdir=$srcdir ;;
38655 *) # Relative path.
38656 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
38657 ac_top_srcdir=$ac_top_builddir$srcdir ;;
38659 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
38661 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
38662 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
38663 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
38664 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
38667 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
38668 echo "$as_me: executing $ac_dest commands" >&6;}
38671 if test ! -h wx-config; then
38673 mv wx-config wx${TOOLCHAIN_NAME}-config
38674 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
38677 if test ! -d lib; then
38680 if test ! -d lib/wx; then
38683 if test ! -d lib/wx/include; then
38684 mkdir lib/wx/include
38686 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
38687 mkdir lib/wx/include/${TOOLCHAIN_NAME}
38689 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
38690 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
38692 if test -f setup.h; then
38693 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
38700 cat >>$CONFIG_STATUS <<\_ACEOF
38702 { (exit 0); exit 0; }
38704 chmod +x $CONFIG_STATUS
38705 ac_clean_files=$ac_clean_files_save
38708 # configure is writing to config.log, and then calls config.status.
38709 # config.status does its own redirection, appending to config.log.
38710 # Unfortunately, on DOS this fails, as config.log is still kept open
38711 # by configure, so config.status won't be able to write to it; its
38712 # output is simply discarded. So we exec the FD to /dev/null,
38713 # effectively closing config.log, so it can be properly (re)opened and
38714 # appended to by config.status. When coming back to configure, we
38715 # need to make the FD available again.
38716 if test "$no_create" != yes; then
38718 ac_config_status_args=
38719 test "$silent" = yes &&
38720 ac_config_status_args="$ac_config_status_args --quiet"
38722 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
38724 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
38725 # would make configure fail if this is the last instruction.
38726 $ac_cs_success || { (exit 1); exit 1; }
38730 # CONFIG_SUBDIRS section.
38732 if test "$no_recursion" != yes; then
38734 # Remove --cache-file and --srcdir arguments so they do not pile up.
38735 ac_sub_configure_args=
38737 for ac_arg in $ac_configure_args; do
38738 if test -n "$ac_prev"; then
38743 -cache-file | --cache-file | --cache-fil | --cache-fi \
38744 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
38745 ac_prev=cache_file ;;
38746 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
38747 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
38750 --config-cache | -C)
38752 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
38754 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
38756 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
38758 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
38760 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
38764 # Always prepend --prefix to ensure using the same prefix
38765 # in subdir configurations.
38766 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
38769 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
38771 # Do not complain, so a configure script can configure whichever
38772 # parts of a large source tree are present.
38773 test -d $srcdir/$ac_dir || continue
38775 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
38776 echo "$as_me: configuring in $ac_dir" >&6;}
38777 { if $as_mkdir_p; then
38782 while test ! -d "$as_dir"; do
38783 as_dirs="$as_dir $as_dirs"
38784 as_dir=`(dirname "$as_dir") 2>/dev/null ||
38785 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38786 X"$as_dir" : 'X\(//\)[^/]' \| \
38787 X"$as_dir" : 'X\(//\)$' \| \
38788 X"$as_dir" : 'X\(/\)' \| \
38789 . : '\(.\)' 2>/dev/null ||
38791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38792 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38793 /^X\(\/\/\)$/{ s//\1/; q; }
38794 /^X\(\/\).*/{ s//\1/; q; }
38797 test ! -n "$as_dirs" || mkdir $as_dirs
38798 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38799 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38800 { (exit 1); exit 1; }; }; }
38804 if test "$ac_dir" != .; then
38805 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38806 # A "../" for each directory in $ac_dir_suffix.
38807 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38809 ac_dir_suffix= ac_top_builddir=
38813 .) # No --srcdir option. We are building in place.
38815 if test -z "$ac_top_builddir"; then
38818 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
38820 [\\/]* | ?:[\\/]* ) # Absolute path.
38821 ac_srcdir=$srcdir$ac_dir_suffix;
38822 ac_top_srcdir=$srcdir ;;
38823 *) # Relative path.
38824 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
38825 ac_top_srcdir=$ac_top_builddir$srcdir ;;
38827 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
38829 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
38830 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
38831 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
38832 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
38837 # Check for guested configure; otherwise get Cygnus style configure.
38838 if test -f $ac_srcdir/configure.gnu; then
38839 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
38840 elif test -f $ac_srcdir/configure; then
38841 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
38842 elif test -f $ac_srcdir/configure.in; then
38843 ac_sub_configure=$ac_configure
38845 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
38846 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
38850 # The recursion is here.
38851 if test -n "$ac_sub_configure"; then
38852 # Make the cache file name correct relative to the subdirectory.
38853 case $cache_file in
38854 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
38855 *) # Relative path.
38856 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
38859 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
38860 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
38861 # The eval makes quoting arguments work.
38862 eval $ac_sub_configure $ac_sub_configure_args \
38863 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
38864 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
38865 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
38866 { (exit 1); exit 1; }; }
38875 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
38877 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
38878 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
38880 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
38881 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
38882 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
38884 echo " What level of wxWindows compatibility should be enabled?"
38885 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
38886 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
38888 echo " Which libraries should wxWindows use?"
38889 echo " jpeg ${wxUSE_LIBJPEG-none}"
38890 echo " png ${wxUSE_LIBPNG-none}"
38891 echo " regex ${wxUSE_REGEX}"
38892 echo " tiff ${wxUSE_LIBTIFF-none}"
38893 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
38894 echo " xpm ${wxUSE_LIBXPM-none}"
38896 echo " zlib ${wxUSE_ZLIB}"
38897 echo " odbc ${wxUSE_ODBC}"
38898 echo " expat ${wxUSE_EXPAT}"
38899 echo " libmspack ${wxUSE_LIBMSPACK}"
38900 echo " sdl ${wxUSE_LIBSDL}"