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.0.
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.0'
273 PACKAGE_STRING='wxWindows 2.5.0'
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 YACC LEX LEXLIB LEX_OUTPUT_ROOT 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 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 EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX SO_SUFFIX_MODULE 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_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT 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_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_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_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 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_OS2 COND_TOOLKIT_OS2_USE_GUI_1 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_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_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_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 LEX_STEM 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 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 MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS NM 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.0 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.0:";;
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 --disable-monolithic don't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat20 enable wxWindows 2.0 compatibility
889 --enable-compat22 enable wxWindows 2.2 compatibility
890 --disable-compat24 disable wxWindows 2.4 compatibility
891 --enable-rpath=DIR output the rpath flag from wx-config
892 --enable-intl use internationalization system
893 --enable-config use wxConfig (and derived) classes
894 --enable-protocols use wxProtocol and derived classes
895 --enable-ftp use wxFTP (requires wxProtocol
896 --enable-http use wxHTTP (requires wxProtocol
897 --enable-fileproto use wxFileProto class (requires wxProtocol
898 --enable-sockets use socket/network classes
899 --enable-ole use OLE classes
900 --enable-dataobj use data object classes
901 --enable-ipc use interprocess communication (wxSocket etc.)
902 --enable-cmdline use wxCmdLineParser class
903 --enable-datetime use wxDateTime class
904 --enable-stopwatch use wxStopWatch class
905 --enable-dialupman use dialup network classes
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-timer use wxTimer class
908 --enable-wave use wxWave class
909 --enable-fraction use wxFraction class
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-longlong use wxLongLong class
913 --enable-geometry use geometry class
914 --enable-log use logging system
915 --enable-streams use wxStream etc classes
916 --enable-file use wxFile classes
917 --enable-ffile use wxFFile classes
918 --enable-textbuf use wxTextBuffer class
919 --enable-textfile use wxTextFile class
920 --enable-fontmap use font encodings conversion classes
921 --enable-unicode compile wxString with Unicode support
922 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
923 --enable-wxprintfv use wxWindows implementation of vprintf()
924 --enable-std_iostreams use standard C++ stream classes
925 --enable-filesystem use virtual file systems classes
926 --enable-fs_inet use virtual HTTP/FTP filesystems
927 --enable-fs_zip use virtual ZIP filesystems
928 --enable-zipstream use wxZipInputStream
929 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
930 --enable-snglinst use wxSingleInstanceChecker class
931 --enable-mimetype use wxMimeTypesManager
932 --enable-sysoptions use wxSystemOptions
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbox use wxListBox class
971 --enable-listctrl use wxListCtrl class
972 --enable-notebook use wxNotebook class
973 --enable-radiobox use wxRadioBox class
974 --enable-radiobtn use wxRadioButton class
975 --enable-sash use wxSashWindow class
976 --enable-scrollbar use wxScrollBar class and scrollable windows
977 --enable-slider use wxSlider class
978 --enable-spinbtn use wxSpinButton class
979 --enable-spinctrl use wxSpinCtrl class
980 --enable-splitter use wxSplitterWindow class
981 --enable-statbmp use wxStaticBitmap class
982 --enable-statbox use wxStaticBox class
983 --enable-statline use wxStaticLine class
984 --enable-stattext use wxStaticText class
985 --enable-statusbar use wxStatusBar class
986 --enable-tabdialog use wxTabControl class
987 --enable-textctrl use wxTextCtrl class
988 --enable-togglebtn use wxToggleButton class
989 --enable-toolbar use wxToolBar class
990 --enable-tbarnative use native wxToolBar class
991 --enable-tbarsmpl use wxToolBarSimple class
992 --enable-treectrl use wxTreeCtrl class
993 --enable-tipwindow use wxTipWindow class
994 --enable-popupwin use wxPopUpWindow class
995 --enable-commondlg use all common dialogs
996 --enable-choicedlg use wxChoiceDialog
997 --enable-coldlg use wxColourDialog
998 --enable-filedlg use wxFileDialog
999 --enable-finddlg use wxFindReplaceDialog
1000 --enable-fontdlg use wxFontDialog
1001 --enable-dirdlg use wxDirDialog
1002 --enable-msgdlg use wxMessageDialog
1003 --enable-numberdlg use wxNumberEntryDialog
1004 --enable-splash use wxSplashScreen
1005 --enable-textdlg use wxTextDialog
1006 --enable-tipdlg use startup tips
1007 --enable-progressdlg use wxProgressDialog
1008 --enable-wizarddlg use wxWizard
1009 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1010 --enable-miniframe use wxMiniFrame class
1011 --enable-tooltips use wxToolTip class
1012 --enable-splines use spline drawing code
1013 --enable-validators use wxValidator and derived classes
1014 --enable-busyinfo use wxBusyInfo
1015 --enable-joystick use wxJoystick (Linux only)
1016 --enable-metafiles use wxMetaFile (Windows only)
1017 --enable-dragimage use wxDragImage
1018 --enable-accessibility enable accessibility support
1019 --enable-palette use wxPalette class
1020 --enable-image use wxImage class
1021 --enable-gif use gif images (GIF file format)
1022 --enable-pcx use pcx images (PCX file format)
1023 --enable-iff use iff images (IFF file format)
1024 --enable-pnm use pnm images (PNM file format)
1025 --enable-xpm use xpm images (XPM file format)
1026 --enable-icocur use Windows ICO and CUR formats
1027 --enable-official_build official build of wxWindows (win32 DLL only)
1028 --enable-vendor=VENDOR vendor name (win32 DLL only)
1029 --disable-largefile omit support for large files
1030 --disable-gtktest do not try to compile and run a test GTK+ program
1031 --disable-gtktest Do not try to compile and run a test GTK program
1032 --disable-precomp-headers don't use precompiled headers even if compiler can
1035 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1036 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1038 --with-motif use Motif/Lesstif
1039 --with-mac use Mac OS X
1040 --with-cocoa use Cocoa
1041 --with-wine use Wine
1042 --with-msw use MS-Windows
1043 --with-pm use OS/2 Presentation Manager
1044 --with-mgl use SciTech MGL
1045 --with-microwin use MicroWindows
1047 --with-libpng use libpng (PNG image format)
1048 --with-libjpeg use libjpeg (JPEG file format)
1049 --with-libtiff use libtiff (TIFF file format)
1050 --with-opengl use OpenGL (or Mesa)
1051 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1052 --with-regex enable support for wxRegEx class
1053 --with-zlib use zlib for LZW compression
1054 --with-odbc use the IODBC and wxODBC classes
1055 --with-expat enable XML support using expat parser
1056 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1057 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1058 --with-x use the X Window System
1059 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1061 Some influential environment variables:
1062 CC C compiler command
1063 CFLAGS C compiler flags
1064 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1065 nonstandard directory <lib dir>
1066 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1067 headers in a nonstandard directory <include dir>
1069 CXX C++ compiler command
1070 CXXFLAGS C++ compiler flags
1071 CXXCPP C++ preprocessor
1073 Use these variables to override the choices made by `configure' or to help
1074 it to find libraries and programs with nonstandard names/locations.
1076 Report bugs to <wx-dev@lists.wxwindows.org>.
1080 if test "$ac_init_help" = "recursive"; then
1081 # If there are subdirs, report their specific --help.
1083 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1084 test -d $ac_dir || continue
1087 if test "$ac_dir" != .; then
1088 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1089 # A "../" for each directory in $ac_dir_suffix.
1090 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1092 ac_dir_suffix= ac_top_builddir=
1096 .) # No --srcdir option. We are building in place.
1098 if test -z "$ac_top_builddir"; then
1101 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1103 [\\/]* | ?:[\\/]* ) # Absolute path.
1104 ac_srcdir=$srcdir$ac_dir_suffix;
1105 ac_top_srcdir=$srcdir ;;
1107 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1108 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1110 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1112 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1113 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1114 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1115 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1118 # Check for guested configure; otherwise get Cygnus style configure.
1119 if test -f $ac_srcdir/configure.gnu; then
1121 $SHELL $ac_srcdir/configure.gnu --help=recursive
1122 elif test -f $ac_srcdir/configure; then
1124 $SHELL $ac_srcdir/configure --help=recursive
1125 elif test -f $ac_srcdir/configure.ac ||
1126 test -f $ac_srcdir/configure.in; then
1128 $ac_configure --help
1130 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1136 test -n "$ac_init_help" && exit 0
1137 if $ac_init_version; then
1139 wxWindows configure 2.5.0
1140 generated by GNU Autoconf 2.57
1142 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1143 Free Software Foundation, Inc.
1144 This configure script is free software; the Free Software Foundation
1145 gives unlimited permission to copy, distribute and modify it.
1151 This file contains any messages produced by compilers while
1152 running configure, to aid debugging if configure makes a mistake.
1154 It was created by wxWindows $as_me 2.5.0, which was
1155 generated by GNU Autoconf 2.57. Invocation command line was
1166 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1167 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1168 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1169 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1170 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1172 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1173 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1175 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1176 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1177 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1178 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1179 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1180 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1181 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1189 test -z "$as_dir" && as_dir=.
1190 echo "PATH: $as_dir"
1205 # Keep a trace of the command line.
1206 # Strip out --no-create and --no-recursion so they do not pile up.
1207 # Strip out --silent because we don't want to record it for future runs.
1208 # Also quote any args containing shell meta-characters.
1209 # Make two passes to allow for proper duplicate-argument suppression.
1214 ac_must_keep_next=false
1220 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222 | -silent | --silent | --silen | --sile | --sil)
1224 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1225 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1228 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1230 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1231 if test $ac_must_keep_next = true; then
1232 ac_must_keep_next=false # Got value, back to normal.
1235 *=* | --config-cache | -C | -disable-* | --disable-* \
1236 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1237 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1238 | -with-* | --with-* | -without-* | --without-* | --x)
1239 case "$ac_configure_args0 " in
1240 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1243 -* ) ac_must_keep_next=true ;;
1246 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1247 # Get rid of the leading space.
1253 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1254 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1256 # When interrupted or exit'd, cleanup temporary files, and complete
1257 # config.log. We remove comments because anyway the quotes in there
1258 # would cause problems or look ugly.
1259 # WARNING: Be sure not to use single quotes in there, as some shells,
1260 # such as our DU 5.0 friend, will then `close' the trap.
1261 trap 'exit_status=$?
1262 # Save into config.log some information that might help in debugging.
1267 ## ---------------- ##
1268 ## Cache variables. ##
1269 ## ---------------- ##
1272 # The following way of writing the cache mishandles newlines in values,
1275 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1278 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1283 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1290 ## ----------------- ##
1291 ## Output variables. ##
1292 ## ----------------- ##
1295 for ac_var in $ac_subst_vars
1297 eval ac_val=$`echo $ac_var`
1298 echo "$ac_var='"'"'$ac_val'"'"'"
1302 if test -n "$ac_subst_files"; then
1309 for ac_var in $ac_subst_files
1311 eval ac_val=$`echo $ac_var`
1312 echo "$ac_var='"'"'$ac_val'"'"'"
1317 if test -s confdefs.h; then
1324 sed "/^$/d" confdefs.h | sort
1327 test "$ac_signal" != 0 &&
1328 echo "$as_me: caught signal $ac_signal"
1329 echo "$as_me: exit $exit_status"
1331 rm -f core core.* *.core &&
1332 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1335 for ac_signal in 1 2 13 15; do
1336 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1340 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1341 rm -rf conftest* confdefs.h
1342 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1345 # Predefined preprocessor variables.
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_NAME "$PACKAGE_NAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_STRING "$PACKAGE_STRING"
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1372 # Let the site file select an alternate cache file if it wants to.
1373 # Prefer explicitly selected file to automatically selected ones.
1374 if test -z "$CONFIG_SITE"; then
1375 if test "x$prefix" != xNONE; then
1376 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1378 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1381 for ac_site_file in $CONFIG_SITE; do
1382 if test -r "$ac_site_file"; then
1383 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1384 echo "$as_me: loading site script $ac_site_file" >&6;}
1385 sed 's/^/| /' "$ac_site_file" >&5
1390 if test -r "$cache_file"; then
1391 # Some versions of bash will fail to source /dev/null (special
1392 # files actually), so we avoid doing that.
1393 if test -f "$cache_file"; then
1394 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1395 echo "$as_me: loading cache $cache_file" >&6;}
1397 [\\/]* | ?:[\\/]* ) . $cache_file;;
1398 *) . ./$cache_file;;
1402 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1403 echo "$as_me: creating cache $cache_file" >&6;}
1407 # Check that the precious variables saved in the cache have kept the same
1409 ac_cache_corrupted=false
1410 for ac_var in `(set) 2>&1 |
1411 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1412 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1413 eval ac_new_set=\$ac_env_${ac_var}_set
1414 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1415 eval ac_new_val="\$ac_env_${ac_var}_value"
1416 case $ac_old_set,$ac_new_set in
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1420 ac_cache_corrupted=: ;;
1422 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1424 ac_cache_corrupted=: ;;
1427 if test "x$ac_old_val" != "x$ac_new_val"; then
1428 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1429 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1430 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1431 echo "$as_me: former value: $ac_old_val" >&2;}
1432 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1433 echo "$as_me: current value: $ac_new_val" >&2;}
1434 ac_cache_corrupted=:
1437 # Pass precious variables to config.status.
1438 if test "$ac_new_set" = set; then
1440 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1441 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1442 *) ac_arg=$ac_var=$ac_new_val ;;
1444 case " $ac_configure_args " in
1445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1446 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1450 if $ac_cache_corrupted; then
1451 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1452 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1453 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1454 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1455 { (exit 1); exit 1; }; }
1459 ac_cpp='$CPP $CPPFLAGS'
1460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1494 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1495 if test -f $ac_dir/install-sh; then
1497 ac_install_sh="$ac_aux_dir/install-sh -c"
1499 elif test -f $ac_dir/install.sh; then
1501 ac_install_sh="$ac_aux_dir/install.sh -c"
1503 elif test -f $ac_dir/shtool; then
1505 ac_install_sh="$ac_aux_dir/shtool install -c"
1509 if test -z "$ac_aux_dir"; then
1510 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1511 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1512 { (exit 1); exit 1; }; }
1514 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1515 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1516 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1518 # Make sure we can run config.sub.
1519 $ac_config_sub sun4 >/dev/null 2>&1 ||
1520 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1521 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1522 { (exit 1); exit 1; }; }
1524 echo "$as_me:$LINENO: checking build system type" >&5
1525 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1526 if test "${ac_cv_build+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1529 ac_cv_build_alias=$build_alias
1530 test -z "$ac_cv_build_alias" &&
1531 ac_cv_build_alias=`$ac_config_guess`
1532 test -z "$ac_cv_build_alias" &&
1533 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1534 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1535 { (exit 1); exit 1; }; }
1536 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1537 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1538 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1539 { (exit 1); exit 1; }; }
1542 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1543 echo "${ECHO_T}$ac_cv_build" >&6
1545 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1546 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1547 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1550 echo "$as_me:$LINENO: checking host system type" >&5
1551 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1552 if test "${ac_cv_host+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 ac_cv_host_alias=$host_alias
1556 test -z "$ac_cv_host_alias" &&
1557 ac_cv_host_alias=$ac_cv_build_alias
1558 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1559 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1560 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1561 { (exit 1); exit 1; }; }
1564 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1565 echo "${ECHO_T}$ac_cv_host" >&6
1567 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1568 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1569 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1572 echo "$as_me:$LINENO: checking target system type" >&5
1573 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1574 if test "${ac_cv_target+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 ac_cv_target_alias=$target_alias
1578 test "x$ac_cv_target_alias" = "x" &&
1579 ac_cv_target_alias=$ac_cv_host_alias
1580 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1581 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1582 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1583 { (exit 1); exit 1; }; }
1586 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1587 echo "${ECHO_T}$ac_cv_target" >&6
1588 target=$ac_cv_target
1589 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1590 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1591 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1594 # The aliases save the names the user supplied, while $host etc.
1595 # will get canonicalized.
1596 test -n "$target_alias" &&
1597 test "$program_prefix$program_suffix$program_transform_name" = \
1599 program_prefix=${target_alias}-
1603 WX_MAJOR_VERSION_NUMBER=2
1604 WX_MINOR_VERSION_NUMBER=5
1607 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1608 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1610 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1625 USE_BSD= USE_DARWIN= USE_FREEBSD=
1631 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1637 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1639 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1641 DEFAULT_wxUSE_COCOA=0
1645 DEFAULT_wxUSE_MICROWIN=0
1646 DEFAULT_wxUSE_MOTIF=0
1651 DEFAULT_DEFAULT_wxUSE_COCOA=0
1652 DEFAULT_DEFAULT_wxUSE_GTK=0
1653 DEFAULT_DEFAULT_wxUSE_MAC=0
1654 DEFAULT_DEFAULT_wxUSE_MGL=0
1655 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1656 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1657 DEFAULT_DEFAULT_wxUSE_MSW=0
1658 DEFAULT_DEFAULT_wxUSE_PM=0
1659 DEFAULT_DEFAULT_wxUSE_X11=0
1664 SAMPLES_RPATH_POSTLINK=
1669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1670 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1672 cat >>confdefs.h <<\_ACEOF
1679 cat >>confdefs.h <<\_ACEOF
1684 if test "x$TMP" = "xalpha"; then
1686 cat >>confdefs.h <<\_ACEOF
1691 DEFAULT_DEFAULT_wxUSE_GTK=1
1695 cat >>confdefs.h <<\_ACEOF
1700 if test "x$TMP" = "xalpha"; then
1702 cat >>confdefs.h <<\_ACEOF
1707 DEFAULT_DEFAULT_wxUSE_GTK=1
1709 *-*-irix5* | *-*-irix6* )
1712 cat >>confdefs.h <<\_ACEOF
1716 cat >>confdefs.h <<\_ACEOF
1720 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1726 cat >>confdefs.h <<\_ACEOF
1730 cat >>confdefs.h <<\_ACEOF
1731 #define __SOLARIS__ 1
1734 cat >>confdefs.h <<\_ACEOF
1738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1745 cat >>confdefs.h <<\_ACEOF
1749 cat >>confdefs.h <<\_ACEOF
1753 cat >>confdefs.h <<\_ACEOF
1757 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1762 cat >>confdefs.h <<\_ACEOF
1763 #define __FREEBSD__ 1
1766 cat >>confdefs.h <<\_ACEOF
1770 DEFAULT_DEFAULT_wxUSE_GTK=1
1775 cat >>confdefs.h <<\_ACEOF
1776 #define __OPENBSD__ 1
1779 cat >>confdefs.h <<\_ACEOF
1783 DEFAULT_DEFAULT_wxUSE_GTK=1
1788 cat >>confdefs.h <<\_ACEOF
1789 #define __NETBSD__ 1
1792 cat >>confdefs.h <<\_ACEOF
1796 DEFAULT_DEFAULT_wxUSE_GTK=1
1801 cat >>confdefs.h <<\_ACEOF
1805 cat >>confdefs.h <<\_ACEOF
1809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1810 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1815 cat >>confdefs.h <<\_ACEOF
1819 cat >>confdefs.h <<\_ACEOF
1823 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1828 cat >>confdefs.h <<\_ACEOF
1832 cat >>confdefs.h <<\_ACEOF
1836 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1843 cat >>confdefs.h <<\_ACEOF
1847 cat >>confdefs.h <<\_ACEOF
1851 cat >>confdefs.h <<\_ACEOF
1855 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __UNIXWARE__ 1
1868 *-*-cygwin* | *-*-mingw32* )
1872 DEFAULT_DEFAULT_wxUSE_MSW=1
1878 cat >>confdefs.h <<\_ACEOF
1883 DEFAULT_DEFAULT_wxUSE_MGL=1
1884 LIBS="$LIBS -lstdc++"
1887 *-pc-os2_emx | *-pc-os2-emx )
1888 cat >>confdefs.h <<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_PM=1
1900 cat >>confdefs.h <<\_ACEOF
1904 cat >>confdefs.h <<\_ACEOF
1905 #define __DARWIN__ 1
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __POWERPC__ 1
1912 cat >>confdefs.h <<\_ACEOF
1913 #define TARGET_CARBON 1
1916 DEFAULT_DEFAULT_wxUSE_MAC=1
1921 cat >>confdefs.h <<\_ACEOF
1928 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1929 echo "$as_me: error: unknown system type ${host}." >&2;}
1930 { (exit 1); exit 1; }; }
1936 wx_arg_cache_file="configarg.cache"
1937 echo "loading argument cache $wx_arg_cache_file"
1938 rm -f ${wx_arg_cache_file}.tmp
1939 touch ${wx_arg_cache_file}.tmp
1940 touch ${wx_arg_cache_file}
1944 if test $DEBUG_CONFIGURE = 1; then
1945 DEFAULT_wxUSE_UNIVERSAL=no
1946 DEFAULT_wxUSE_STL=no
1948 DEFAULT_wxUSE_NANOX=no
1950 DEFAULT_wxUSE_THREADS=yes
1952 DEFAULT_wxUSE_SHARED=yes
1953 DEFAULT_wxUSE_OPTIMISE=no
1954 DEFAULT_wxUSE_PROFILE=no
1955 DEFAULT_wxUSE_NO_DEPS=no
1956 DEFAULT_wxUSE_NO_RTTI=no
1957 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1958 DEFAULT_wxUSE_PERMISSIVE=no
1959 DEFAULT_wxUSE_DEBUG_FLAG=yes
1960 DEFAULT_wxUSE_DEBUG_INFO=yes
1961 DEFAULT_wxUSE_DEBUG_GDB=yes
1962 DEFAULT_wxUSE_MEM_TRACING=no
1963 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1964 DEFAULT_wxUSE_DMALLOC=no
1965 DEFAULT_wxUSE_APPLE_IEEE=no
1967 DEFAULT_wxUSE_LOG=yes
1968 DEFAULT_wxUSE_LOGWINDOW=no
1969 DEFAULT_wxUSE_LOGGUI=no
1970 DEFAULT_wxUSE_LOGDIALOG=no
1972 DEFAULT_wxUSE_GUI=yes
1973 DEFAULT_wxUSE_CONTROLS=no
1975 DEFAULT_wxUSE_REGEX=no
1976 DEFAULT_wxUSE_XML=no
1977 DEFAULT_wxUSE_EXPAT=no
1978 DEFAULT_wxUSE_ZLIB=no
1979 DEFAULT_wxUSE_LIBPNG=no
1980 DEFAULT_wxUSE_LIBJPEG=no
1981 DEFAULT_wxUSE_LIBTIFF=no
1982 DEFAULT_wxUSE_ODBC=no
1983 DEFAULT_wxUSE_OPENGL=no
1985 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1986 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1987 DEFAULT_wxUSE_STD_IOSTREAM=no
1988 DEFAULT_wxUSE_CMDLINE_PARSER=no
1989 DEFAULT_wxUSE_DATETIME=no
1990 DEFAULT_wxUSE_TIMER=no
1991 DEFAULT_wxUSE_STOPWATCH=no
1992 DEFAULT_wxUSE_FILE=no
1993 DEFAULT_wxUSE_FFILE=no
1994 DEFAULT_wxUSE_TEXTBUFFER=no
1995 DEFAULT_wxUSE_TEXTFILE=no
1996 DEFAULT_wxUSE_WAVE=no
1997 DEFAULT_wxUSE_INTL=no
1998 DEFAULT_wxUSE_CONFIG=no
1999 DEFAULT_wxUSE_FONTMAP=no
2000 DEFAULT_wxUSE_STREAMS=no
2001 DEFAULT_wxUSE_SOCKETS=no
2002 DEFAULT_wxUSE_OLE=no
2003 DEFAULT_wxUSE_DATAOBJ=no
2004 DEFAULT_wxUSE_DIALUP_MANAGER=no
2005 DEFAULT_wxUSE_JOYSTICK=no
2006 DEFAULT_wxUSE_DYNLIB_CLASS=no
2007 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2008 DEFAULT_wxUSE_LONGLONG=no
2009 DEFAULT_wxUSE_GEOMETRY=no
2011 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2012 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2013 DEFAULT_wxUSE_POSTSCRIPT=no
2015 DEFAULT_wxUSE_CLIPBOARD=no
2016 DEFAULT_wxUSE_TOOLTIPS=no
2017 DEFAULT_wxUSE_DRAG_AND_DROP=no
2018 DEFAULT_wxUSE_DRAGIMAGE=no
2019 DEFAULT_wxUSE_SPLINES=no
2021 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2022 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2023 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2025 DEFAULT_wxUSE_RESOURCES=no
2026 DEFAULT_wxUSE_CONSTRAINTS=no
2027 DEFAULT_wxUSE_IPC=no
2028 DEFAULT_wxUSE_HELP=no
2029 DEFAULT_wxUSE_MS_HTML_HELP=no
2030 DEFAULT_wxUSE_WXHTML_HELP=no
2031 DEFAULT_wxUSE_TREELAYOUT=no
2032 DEFAULT_wxUSE_METAFILE=no
2033 DEFAULT_wxUSE_MIMETYPE=no
2034 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2035 DEFAULT_wxUSE_PROTOCOL=no
2036 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2037 DEFAULT_wxUSE_PROTOCOL_FTP=no
2038 DEFAULT_wxUSE_PROTOCOL_FILE=no
2039 DEFAULT_wxUSE_URL=no
2041 DEFAULT_wxUSE_COMMONDLGS=no
2042 DEFAULT_wxUSE_CHOICEDLG=no
2043 DEFAULT_wxUSE_COLOURDLG=no
2044 DEFAULT_wxUSE_DIRDLG=no
2045 DEFAULT_wxUSE_FILEDLG=no
2046 DEFAULT_wxUSE_FINDREPLDLG=no
2047 DEFAULT_wxUSE_FONTDLG=no
2048 DEFAULT_wxUSE_MSGDLG=no
2049 DEFAULT_wxUSE_NUMBERDLG=no
2050 DEFAULT_wxUSE_TEXTDLG=no
2051 DEFAULT_wxUSE_SPLASH=no
2052 DEFAULT_wxUSE_STARTUP_TIPS=no
2053 DEFAULT_wxUSE_PROGRESSDLG=no
2054 DEFAULT_wxUSE_WIZARDDLG=no
2056 DEFAULT_wxUSE_MENUS=no
2057 DEFAULT_wxUSE_MINIFRAME=no
2058 DEFAULT_wxUSE_HTML=no
2059 DEFAULT_wxUSE_FILESYSTEM=no
2060 DEFAULT_wxUSE_FS_INET=no
2061 DEFAULT_wxUSE_FS_ZIP=no
2062 DEFAULT_wxUSE_BUSYINFO=no
2063 DEFAULT_wxUSE_ZIPSTREAM=no
2064 DEFAULT_wxUSE_VALIDATORS=no
2066 DEFAULT_wxUSE_ACCEL=no
2067 DEFAULT_wxUSE_BUTTON=no
2068 DEFAULT_wxUSE_BMPBUTTON=no
2069 DEFAULT_wxUSE_CALCTRL=no
2070 DEFAULT_wxUSE_CARET=no
2071 DEFAULT_wxUSE_CHECKBOX=no
2072 DEFAULT_wxUSE_CHECKLST=no
2073 DEFAULT_wxUSE_CHOICE=no
2074 DEFAULT_wxUSE_COMBOBOX=no
2075 DEFAULT_wxUSE_DISPLAY=no
2076 DEFAULT_wxUSE_GAUGE=no
2077 DEFAULT_wxUSE_GRID=no
2078 DEFAULT_wxUSE_IMAGLIST=no
2079 DEFAULT_wxUSE_LISTBOX=no
2080 DEFAULT_wxUSE_LISTCTRL=no
2081 DEFAULT_wxUSE_NOTEBOOK=no
2082 DEFAULT_wxUSE_RADIOBOX=no
2083 DEFAULT_wxUSE_RADIOBTN=no
2084 DEFAULT_wxUSE_SASH=no
2085 DEFAULT_wxUSE_SCROLLBAR=no
2086 DEFAULT_wxUSE_SLIDER=no
2087 DEFAULT_wxUSE_SPINBTN=no
2088 DEFAULT_wxUSE_SPINCTRL=no
2089 DEFAULT_wxUSE_SPLITTER=no
2090 DEFAULT_wxUSE_STATBMP=no
2091 DEFAULT_wxUSE_STATBOX=no
2092 DEFAULT_wxUSE_STATLINE=no
2093 DEFAULT_wxUSE_STATTEXT=no
2094 DEFAULT_wxUSE_STATUSBAR=yes
2095 DEFAULT_wxUSE_TABDIALOG=no
2096 DEFAULT_wxUSE_TEXTCTRL=no
2097 DEFAULT_wxUSE_TOGGLEBTN=no
2098 DEFAULT_wxUSE_TOOLBAR=no
2099 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2100 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2101 DEFAULT_wxUSE_TREECTRL=no
2102 DEFAULT_wxUSE_POPUPWIN=no
2103 DEFAULT_wxUSE_TIPWINDOW=no
2105 DEFAULT_wxUSE_UNICODE=no
2106 DEFAULT_wxUSE_UNICODE_MSLU=no
2107 DEFAULT_wxUSE_WCSRTOMBS=no
2109 DEFAULT_wxUSE_PALETTE=no
2110 DEFAULT_wxUSE_IMAGE=no
2111 DEFAULT_wxUSE_GIF=no
2112 DEFAULT_wxUSE_PCX=no
2113 DEFAULT_wxUSE_PNM=no
2114 DEFAULT_wxUSE_IFF=no
2115 DEFAULT_wxUSE_XPM=no
2116 DEFAULT_wxUSE_ICO_CUR=no
2117 DEFAULT_wxUSE_ACCESSIBILITY=no
2119 DEFAULT_wxUSE_MONOLITHIC=no
2120 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2122 DEFAULT_wxUSE_UNIVERSAL=no
2123 DEFAULT_wxUSE_STL=no
2125 DEFAULT_wxUSE_NANOX=no
2127 DEFAULT_wxUSE_THREADS=yes
2129 DEFAULT_wxUSE_SHARED=yes
2130 DEFAULT_wxUSE_OPTIMISE=yes
2131 DEFAULT_wxUSE_PROFILE=no
2132 DEFAULT_wxUSE_NO_DEPS=no
2133 DEFAULT_wxUSE_NO_RTTI=no
2134 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2135 DEFAULT_wxUSE_PERMISSIVE=no
2136 DEFAULT_wxUSE_DEBUG_FLAG=no
2137 DEFAULT_wxUSE_DEBUG_INFO=no
2138 DEFAULT_wxUSE_DEBUG_GDB=no
2139 DEFAULT_wxUSE_MEM_TRACING=no
2140 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2141 DEFAULT_wxUSE_DMALLOC=no
2142 DEFAULT_wxUSE_APPLE_IEEE=yes
2144 DEFAULT_wxUSE_LOG=yes
2145 DEFAULT_wxUSE_LOGWINDOW=yes
2146 DEFAULT_wxUSE_LOGGUI=yes
2147 DEFAULT_wxUSE_LOGDIALOG=yes
2149 DEFAULT_wxUSE_GUI=yes
2151 DEFAULT_wxUSE_REGEX=yes
2152 DEFAULT_wxUSE_XML=yes
2153 DEFAULT_wxUSE_EXPAT=yes
2154 DEFAULT_wxUSE_ZLIB=yes
2155 DEFAULT_wxUSE_LIBPNG=yes
2156 DEFAULT_wxUSE_LIBJPEG=yes
2157 DEFAULT_wxUSE_LIBTIFF=yes
2158 DEFAULT_wxUSE_ODBC=no
2159 DEFAULT_wxUSE_OPENGL=no
2161 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2162 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2163 DEFAULT_wxUSE_STD_IOSTREAM=no
2164 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2165 DEFAULT_wxUSE_DATETIME=yes
2166 DEFAULT_wxUSE_TIMER=yes
2167 DEFAULT_wxUSE_STOPWATCH=yes
2168 DEFAULT_wxUSE_FILE=yes
2169 DEFAULT_wxUSE_FFILE=yes
2170 DEFAULT_wxUSE_TEXTBUFFER=yes
2171 DEFAULT_wxUSE_TEXTFILE=yes
2172 DEFAULT_wxUSE_WAVE=no
2173 DEFAULT_wxUSE_INTL=yes
2174 DEFAULT_wxUSE_CONFIG=yes
2175 DEFAULT_wxUSE_FONTMAP=yes
2176 DEFAULT_wxUSE_STREAMS=yes
2177 DEFAULT_wxUSE_SOCKETS=yes
2178 DEFAULT_wxUSE_OLE=yes
2179 DEFAULT_wxUSE_DATAOBJ=yes
2180 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2181 DEFAULT_wxUSE_JOYSTICK=yes
2182 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2183 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2184 DEFAULT_wxUSE_LONGLONG=yes
2185 DEFAULT_wxUSE_GEOMETRY=yes
2187 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2188 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2189 DEFAULT_wxUSE_POSTSCRIPT=yes
2191 DEFAULT_wxUSE_CLIPBOARD=yes
2192 DEFAULT_wxUSE_TOOLTIPS=yes
2193 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2194 DEFAULT_wxUSE_DRAGIMAGE=yes
2195 DEFAULT_wxUSE_SPLINES=yes
2197 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2198 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2199 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2201 DEFAULT_wxUSE_RESOURCES=no
2202 DEFAULT_wxUSE_CONSTRAINTS=yes
2203 DEFAULT_wxUSE_IPC=yes
2204 DEFAULT_wxUSE_HELP=yes
2205 DEFAULT_wxUSE_MS_HTML_HELP=yes
2206 DEFAULT_wxUSE_WXHTML_HELP=yes
2207 DEFAULT_wxUSE_TREELAYOUT=yes
2208 DEFAULT_wxUSE_METAFILE=yes
2209 DEFAULT_wxUSE_MIMETYPE=yes
2210 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2211 DEFAULT_wxUSE_PROTOCOL=yes
2212 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2213 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2214 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2215 DEFAULT_wxUSE_URL=yes
2217 DEFAULT_wxUSE_COMMONDLGS=yes
2218 DEFAULT_wxUSE_CHOICEDLG=yes
2219 DEFAULT_wxUSE_COLOURDLG=yes
2220 DEFAULT_wxUSE_DIRDLG=yes
2221 DEFAULT_wxUSE_FILEDLG=yes
2222 DEFAULT_wxUSE_FINDREPLDLG=yes
2223 DEFAULT_wxUSE_FONTDLG=yes
2224 DEFAULT_wxUSE_MSGDLG=yes
2225 DEFAULT_wxUSE_NUMBERDLG=yes
2226 DEFAULT_wxUSE_TEXTDLG=yes
2227 DEFAULT_wxUSE_SPLASH=yes
2228 DEFAULT_wxUSE_STARTUP_TIPS=yes
2229 DEFAULT_wxUSE_PROGRESSDLG=yes
2230 DEFAULT_wxUSE_WIZARDDLG=yes
2232 DEFAULT_wxUSE_MENUS=yes
2233 DEFAULT_wxUSE_MINIFRAME=yes
2234 DEFAULT_wxUSE_HTML=yes
2235 DEFAULT_wxUSE_FILESYSTEM=yes
2236 DEFAULT_wxUSE_FS_INET=yes
2237 DEFAULT_wxUSE_FS_ZIP=yes
2238 DEFAULT_wxUSE_BUSYINFO=yes
2239 DEFAULT_wxUSE_ZIPSTREAM=yes
2240 DEFAULT_wxUSE_VALIDATORS=yes
2242 DEFAULT_wxUSE_ACCEL=yes
2243 DEFAULT_wxUSE_BUTTON=yes
2244 DEFAULT_wxUSE_BMPBUTTON=yes
2245 DEFAULT_wxUSE_CALCTRL=yes
2246 DEFAULT_wxUSE_CARET=yes
2247 DEFAULT_wxUSE_CHECKBOX=yes
2248 DEFAULT_wxUSE_CHECKLST=yes
2249 DEFAULT_wxUSE_CHOICE=yes
2250 DEFAULT_wxUSE_COMBOBOX=yes
2251 DEFAULT_wxUSE_DISPLAY=no
2252 DEFAULT_wxUSE_GAUGE=yes
2253 DEFAULT_wxUSE_GRID=yes
2254 DEFAULT_wxUSE_IMAGLIST=yes
2255 DEFAULT_wxUSE_LISTBOX=yes
2256 DEFAULT_wxUSE_LISTCTRL=yes
2257 DEFAULT_wxUSE_NOTEBOOK=yes
2258 DEFAULT_wxUSE_RADIOBOX=yes
2259 DEFAULT_wxUSE_RADIOBTN=yes
2260 DEFAULT_wxUSE_SASH=yes
2261 DEFAULT_wxUSE_SCROLLBAR=yes
2262 DEFAULT_wxUSE_SLIDER=yes
2263 DEFAULT_wxUSE_SPINBTN=yes
2264 DEFAULT_wxUSE_SPINCTRL=yes
2265 DEFAULT_wxUSE_SPLITTER=yes
2266 DEFAULT_wxUSE_STATBMP=yes
2267 DEFAULT_wxUSE_STATBOX=yes
2268 DEFAULT_wxUSE_STATLINE=yes
2269 DEFAULT_wxUSE_STATTEXT=yes
2270 DEFAULT_wxUSE_STATUSBAR=yes
2271 DEFAULT_wxUSE_TABDIALOG=no
2272 DEFAULT_wxUSE_TEXTCTRL=yes
2273 DEFAULT_wxUSE_TOGGLEBTN=yes
2274 DEFAULT_wxUSE_TOOLBAR=yes
2275 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2276 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2277 DEFAULT_wxUSE_TREECTRL=yes
2278 DEFAULT_wxUSE_POPUPWIN=yes
2279 DEFAULT_wxUSE_TIPWINDOW=yes
2281 DEFAULT_wxUSE_UNICODE=no
2282 DEFAULT_wxUSE_UNICODE_MSLU=yes
2283 DEFAULT_wxUSE_WCSRTOMBS=no
2285 DEFAULT_wxUSE_PALETTE=yes
2286 DEFAULT_wxUSE_IMAGE=yes
2287 DEFAULT_wxUSE_GIF=yes
2288 DEFAULT_wxUSE_PCX=yes
2289 DEFAULT_wxUSE_IFF=no
2290 DEFAULT_wxUSE_PNM=yes
2291 DEFAULT_wxUSE_XPM=yes
2292 DEFAULT_wxUSE_ICO_CUR=yes
2293 DEFAULT_wxUSE_ACCESSIBILITY=no
2295 DEFAULT_wxUSE_MONOLITHIC=no
2296 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2301 for toolkit in `echo $ALL_TOOLKITS`; do
2302 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2303 if test "x$LINE" != "x" ; then
2304 has_toolkit_in_cache=1
2305 eval "DEFAULT_$LINE"
2306 eval "CACHE_$toolkit=1"
2313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2314 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2316 # Check whether --enable-gui or --disable-gui was given.
2317 if test "${enable_gui+set}" = set; then
2318 enableval="$enable_gui"
2320 if test "$enableval" = yes; then
2321 ac_cv_use_gui='wxUSE_GUI=yes'
2323 ac_cv_use_gui='wxUSE_GUI=no'
2328 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2329 if test "x$LINE" != x ; then
2330 eval "DEFAULT_$LINE"
2335 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2339 eval "$ac_cv_use_gui"
2340 if test "$no_cache" != 1; then
2341 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2344 if test "$wxUSE_GUI" = yes; then
2345 echo "$as_me:$LINENO: result: yes" >&5
2346 echo "${ECHO_T}yes" >&6
2348 echo "$as_me:$LINENO: result: no" >&5
2349 echo "${ECHO_T}no" >&6
2354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2355 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2357 # Check whether --enable-monolithic or --disable-monolithic was given.
2358 if test "${enable_monolithic+set}" = set; then
2359 enableval="$enable_monolithic"
2361 if test "$enableval" = yes; then
2362 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2364 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2369 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2370 if test "x$LINE" != x ; then
2371 eval "DEFAULT_$LINE"
2376 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2380 eval "$ac_cv_use_monolithic"
2381 if test "$no_cache" != 1; then
2382 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2385 if test "$wxUSE_MONOLITHIC" = yes; then
2386 echo "$as_me:$LINENO: result: yes" >&5
2387 echo "${ECHO_T}yes" >&6
2389 echo "$as_me:$LINENO: result: no" >&5
2390 echo "${ECHO_T}no" >&6
2394 if test "$wxUSE_GUI" = "yes"; then
2398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2399 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2401 # Check whether --enable-universal or --disable-universal was given.
2402 if test "${enable_universal+set}" = set; then
2403 enableval="$enable_universal"
2405 if test "$enableval" = yes; then
2406 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2408 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2413 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2414 if test "x$LINE" != x ; then
2415 eval "DEFAULT_$LINE"
2420 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2424 eval "$ac_cv_use_universal"
2425 if test "$no_cache" != 1; then
2426 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2429 if test "$wxUSE_UNIVERSAL" = yes; then
2430 echo "$as_me:$LINENO: result: yes" >&5
2431 echo "${ECHO_T}yes" >&6
2433 echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6
2438 # Check whether --with-gtk or --without-gtk was given.
2439 if test "${with_gtk+set}" = set; then
2441 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2444 # Check whether --with-motif or --without-motif was given.
2445 if test "${with_motif+set}" = set; then
2446 withval="$with_motif"
2447 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2450 # Check whether --with-mac or --without-mac was given.
2451 if test "${with_mac+set}" = set; then
2453 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2456 # Check whether --with-cocoa or --without-cocoa was given.
2457 if test "${with_cocoa+set}" = set; then
2458 withval="$with_cocoa"
2459 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2462 # Check whether --with-wine or --without-wine was given.
2463 if test "${with_wine+set}" = set; then
2464 withval="$with_wine"
2465 wxUSE_WINE="$withval" CACHE_WINE=1
2468 # Check whether --with-msw or --without-msw was given.
2469 if test "${with_msw+set}" = set; then
2471 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2474 # Check whether --with-pm or --without-pm was given.
2475 if test "${with_pm+set}" = set; then
2477 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2480 # Check whether --with-mgl or --without-mgl was given.
2481 if test "${with_mgl+set}" = set; then
2483 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2486 # Check whether --with-microwin or --without-microwin was given.
2487 if test "${with_microwin+set}" = set; then
2488 withval="$with_microwin"
2489 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2492 # Check whether --with-x11 or --without-x11 was given.
2493 if test "${with_x11+set}" = set; then
2495 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2500 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2502 # Check whether --enable-nanox or --disable-nanox was given.
2503 if test "${enable_nanox+set}" = set; then
2504 enableval="$enable_nanox"
2506 if test "$enableval" = yes; then
2507 ac_cv_use_nanox='wxUSE_NANOX=yes'
2509 ac_cv_use_nanox='wxUSE_NANOX=no'
2514 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2515 if test "x$LINE" != x ; then
2516 eval "DEFAULT_$LINE"
2521 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2525 eval "$ac_cv_use_nanox"
2526 if test "$no_cache" != 1; then
2527 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2530 if test "$wxUSE_NANOX" = yes; then
2531 echo "$as_me:$LINENO: result: yes" >&5
2532 echo "${ECHO_T}yes" >&6
2534 echo "$as_me:$LINENO: result: no" >&5
2535 echo "${ECHO_T}no" >&6
2541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2542 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2544 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2545 if test "${enable_gtk2+set}" = set; then
2546 enableval="$enable_gtk2"
2548 if test "$enableval" = yes; then
2549 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2551 ac_cv_use_gtk2='wxUSE_GTK2=no'
2556 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2557 if test "x$LINE" != x ; then
2558 eval "DEFAULT_$LINE"
2563 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2567 eval "$ac_cv_use_gtk2"
2568 if test "$no_cache" != 1; then
2569 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2572 if test "$wxUSE_GTK2" = yes; then
2573 echo "$as_me:$LINENO: result: yes" >&5
2574 echo "${ECHO_T}yes" >&6
2576 echo "$as_me:$LINENO: result: no" >&5
2577 echo "${ECHO_T}no" >&6
2582 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2583 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2586 # Check whether --with-libpng or --without-libpng was given.
2587 if test "${with_libpng+set}" = set; then
2588 withval="$with_libpng"
2590 if test "$withval" = yes; then
2591 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2592 elif test "$withval" = no; then
2593 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2594 elif test "$withval" = sys; then
2595 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2596 elif test "$withval" = builtin; then
2597 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2599 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2600 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2601 { (exit 1); exit 1; }; }
2606 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2607 if test "x$LINE" != x ; then
2608 eval "DEFAULT_$LINE"
2613 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2617 eval "$ac_cv_use_libpng"
2618 if test "$no_cache" != 1; then
2619 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2622 if test "$wxUSE_LIBPNG" = yes; then
2623 echo "$as_me:$LINENO: result: yes" >&5
2624 echo "${ECHO_T}yes" >&6
2625 elif test "$wxUSE_LIBPNG" = no; then
2626 echo "$as_me:$LINENO: result: no" >&5
2627 echo "${ECHO_T}no" >&6
2628 elif test "$wxUSE_LIBPNG" = sys; then
2629 echo "$as_me:$LINENO: result: system version" >&5
2630 echo "${ECHO_T}system version" >&6
2631 elif test "$wxUSE_LIBPNG" = builtin; then
2632 echo "$as_me:$LINENO: result: builtin version" >&5
2633 echo "${ECHO_T}builtin version" >&6
2635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2636 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2637 { (exit 1); exit 1; }; }
2641 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2642 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2645 # Check whether --with-libjpeg or --without-libjpeg was given.
2646 if test "${with_libjpeg+set}" = set; then
2647 withval="$with_libjpeg"
2649 if test "$withval" = yes; then
2650 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2651 elif test "$withval" = no; then
2652 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2653 elif test "$withval" = sys; then
2654 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2655 elif test "$withval" = builtin; then
2656 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2658 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2659 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2660 { (exit 1); exit 1; }; }
2665 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2666 if test "x$LINE" != x ; then
2667 eval "DEFAULT_$LINE"
2672 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2676 eval "$ac_cv_use_libjpeg"
2677 if test "$no_cache" != 1; then
2678 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2681 if test "$wxUSE_LIBJPEG" = yes; then
2682 echo "$as_me:$LINENO: result: yes" >&5
2683 echo "${ECHO_T}yes" >&6
2684 elif test "$wxUSE_LIBJPEG" = no; then
2685 echo "$as_me:$LINENO: result: no" >&5
2686 echo "${ECHO_T}no" >&6
2687 elif test "$wxUSE_LIBJPEG" = sys; then
2688 echo "$as_me:$LINENO: result: system version" >&5
2689 echo "${ECHO_T}system version" >&6
2690 elif test "$wxUSE_LIBJPEG" = builtin; then
2691 echo "$as_me:$LINENO: result: builtin version" >&5
2692 echo "${ECHO_T}builtin version" >&6
2694 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2695 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2696 { (exit 1); exit 1; }; }
2700 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2701 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2704 # Check whether --with-libtiff or --without-libtiff was given.
2705 if test "${with_libtiff+set}" = set; then
2706 withval="$with_libtiff"
2708 if test "$withval" = yes; then
2709 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2710 elif test "$withval" = no; then
2711 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2712 elif test "$withval" = sys; then
2713 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2714 elif test "$withval" = builtin; then
2715 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2717 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2718 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2719 { (exit 1); exit 1; }; }
2724 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2725 if test "x$LINE" != x ; then
2726 eval "DEFAULT_$LINE"
2731 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2735 eval "$ac_cv_use_libtiff"
2736 if test "$no_cache" != 1; then
2737 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2740 if test "$wxUSE_LIBTIFF" = yes; then
2741 echo "$as_me:$LINENO: result: yes" >&5
2742 echo "${ECHO_T}yes" >&6
2743 elif test "$wxUSE_LIBTIFF" = no; then
2744 echo "$as_me:$LINENO: result: no" >&5
2745 echo "${ECHO_T}no" >&6
2746 elif test "$wxUSE_LIBTIFF" = sys; then
2747 echo "$as_me:$LINENO: result: system version" >&5
2748 echo "${ECHO_T}system version" >&6
2749 elif test "$wxUSE_LIBTIFF" = builtin; then
2750 echo "$as_me:$LINENO: result: builtin version" >&5
2751 echo "${ECHO_T}builtin version" >&6
2753 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2754 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2755 { (exit 1); exit 1; }; }
2759 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2760 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2763 # Check whether --with-opengl or --without-opengl was given.
2764 if test "${with_opengl+set}" = set; then
2765 withval="$with_opengl"
2767 if test "$withval" = yes; then
2768 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2770 ac_cv_use_opengl='wxUSE_OPENGL=no'
2775 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2776 if test "x$LINE" != x ; then
2777 eval "DEFAULT_$LINE"
2782 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2786 eval "$ac_cv_use_opengl"
2787 if test "$no_cache" != 1; then
2788 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2791 if test "$wxUSE_OPENGL" = yes; then
2792 echo "$as_me:$LINENO: result: yes" >&5
2793 echo "${ECHO_T}yes" >&6
2795 echo "$as_me:$LINENO: result: no" >&5
2796 echo "${ECHO_T}no" >&6
2803 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2804 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2807 # Check whether --with-dmalloc or --without-dmalloc was given.
2808 if test "${with_dmalloc+set}" = set; then
2809 withval="$with_dmalloc"
2811 if test "$withval" = yes; then
2812 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2814 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2819 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2820 if test "x$LINE" != x ; then
2821 eval "DEFAULT_$LINE"
2826 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2830 eval "$ac_cv_use_dmalloc"
2831 if test "$no_cache" != 1; then
2832 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2835 if test "$wxUSE_DMALLOC" = yes; then
2836 echo "$as_me:$LINENO: result: yes" >&5
2837 echo "${ECHO_T}yes" >&6
2839 echo "$as_me:$LINENO: result: no" >&5
2840 echo "${ECHO_T}no" >&6
2844 echo "$as_me:$LINENO: checking for --with-regex" >&5
2845 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2848 # Check whether --with-regex or --without-regex was given.
2849 if test "${with_regex+set}" = set; then
2850 withval="$with_regex"
2852 if test "$withval" = yes; then
2853 ac_cv_use_regex='wxUSE_REGEX=yes'
2854 elif test "$withval" = no; then
2855 ac_cv_use_regex='wxUSE_REGEX=no'
2856 elif test "$withval" = sys; then
2857 ac_cv_use_regex='wxUSE_REGEX=sys'
2858 elif test "$withval" = builtin; then
2859 ac_cv_use_regex='wxUSE_REGEX=builtin'
2861 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2862 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2863 { (exit 1); exit 1; }; }
2868 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x ; then
2870 eval "DEFAULT_$LINE"
2875 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2879 eval "$ac_cv_use_regex"
2880 if test "$no_cache" != 1; then
2881 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2884 if test "$wxUSE_REGEX" = yes; then
2885 echo "$as_me:$LINENO: result: yes" >&5
2886 echo "${ECHO_T}yes" >&6
2887 elif test "$wxUSE_REGEX" = no; then
2888 echo "$as_me:$LINENO: result: no" >&5
2889 echo "${ECHO_T}no" >&6
2890 elif test "$wxUSE_REGEX" = sys; then
2891 echo "$as_me:$LINENO: result: system version" >&5
2892 echo "${ECHO_T}system version" >&6
2893 elif test "$wxUSE_REGEX" = builtin; then
2894 echo "$as_me:$LINENO: result: builtin version" >&5
2895 echo "${ECHO_T}builtin version" >&6
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2903 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2904 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2907 # Check whether --with-zlib or --without-zlib was given.
2908 if test "${with_zlib+set}" = set; then
2909 withval="$with_zlib"
2911 if test "$withval" = yes; then
2912 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2913 elif test "$withval" = no; then
2914 ac_cv_use_zlib='wxUSE_ZLIB=no'
2915 elif test "$withval" = sys; then
2916 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2917 elif test "$withval" = builtin; then
2918 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2927 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2928 if test "x$LINE" != x ; then
2929 eval "DEFAULT_$LINE"
2934 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2938 eval "$ac_cv_use_zlib"
2939 if test "$no_cache" != 1; then
2940 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2943 if test "$wxUSE_ZLIB" = yes; then
2944 echo "$as_me:$LINENO: result: yes" >&5
2945 echo "${ECHO_T}yes" >&6
2946 elif test "$wxUSE_ZLIB" = no; then
2947 echo "$as_me:$LINENO: result: no" >&5
2948 echo "${ECHO_T}no" >&6
2949 elif test "$wxUSE_ZLIB" = sys; then
2950 echo "$as_me:$LINENO: result: system version" >&5
2951 echo "${ECHO_T}system version" >&6
2952 elif test "$wxUSE_ZLIB" = builtin; then
2953 echo "$as_me:$LINENO: result: builtin version" >&5
2954 echo "${ECHO_T}builtin version" >&6
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2962 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2963 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2966 # Check whether --with-odbc or --without-odbc was given.
2967 if test "${with_odbc+set}" = set; then
2968 withval="$with_odbc"
2970 if test "$withval" = yes; then
2971 ac_cv_use_odbc='wxUSE_ODBC=yes'
2972 elif test "$withval" = no; then
2973 ac_cv_use_odbc='wxUSE_ODBC=no'
2974 elif test "$withval" = sys; then
2975 ac_cv_use_odbc='wxUSE_ODBC=sys'
2976 elif test "$withval" = builtin; then
2977 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2979 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2980 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2981 { (exit 1); exit 1; }; }
2986 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x ; then
2988 eval "DEFAULT_$LINE"
2993 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2997 eval "$ac_cv_use_odbc"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3002 if test "$wxUSE_ODBC" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 elif test "$wxUSE_ODBC" = no; then
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 elif test "$wxUSE_ODBC" = sys; then
3009 echo "$as_me:$LINENO: result: system version" >&5
3010 echo "${ECHO_T}system version" >&6
3011 elif test "$wxUSE_ODBC" = builtin; then
3012 echo "$as_me:$LINENO: result: builtin version" >&5
3013 echo "${ECHO_T}builtin version" >&6
3015 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3016 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3017 { (exit 1); exit 1; }; }
3021 echo "$as_me:$LINENO: checking for --with-expat" >&5
3022 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3025 # Check whether --with-expat or --without-expat was given.
3026 if test "${with_expat+set}" = set; then
3027 withval="$with_expat"
3029 if test "$withval" = yes; then
3030 ac_cv_use_expat='wxUSE_EXPAT=yes'
3031 elif test "$withval" = no; then
3032 ac_cv_use_expat='wxUSE_EXPAT=no'
3033 elif test "$withval" = sys; then
3034 ac_cv_use_expat='wxUSE_EXPAT=sys'
3035 elif test "$withval" = builtin; then
3036 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3038 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3039 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3040 { (exit 1); exit 1; }; }
3045 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3046 if test "x$LINE" != x ; then
3047 eval "DEFAULT_$LINE"
3052 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3056 eval "$ac_cv_use_expat"
3057 if test "$no_cache" != 1; then
3058 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3061 if test "$wxUSE_EXPAT" = yes; then
3062 echo "$as_me:$LINENO: result: yes" >&5
3063 echo "${ECHO_T}yes" >&6
3064 elif test "$wxUSE_EXPAT" = no; then
3065 echo "$as_me:$LINENO: result: no" >&5
3066 echo "${ECHO_T}no" >&6
3067 elif test "$wxUSE_EXPAT" = sys; then
3068 echo "$as_me:$LINENO: result: system version" >&5
3069 echo "${ECHO_T}system version" >&6
3070 elif test "$wxUSE_EXPAT" = builtin; then
3071 echo "$as_me:$LINENO: result: builtin version" >&5
3072 echo "${ECHO_T}builtin version" >&6
3074 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3075 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3076 { (exit 1); exit 1; }; }
3083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3084 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3086 # Check whether --enable-shared or --disable-shared was given.
3087 if test "${enable_shared+set}" = set; then
3088 enableval="$enable_shared"
3090 if test "$enableval" = yes; then
3091 ac_cv_use_shared='wxUSE_SHARED=yes'
3093 ac_cv_use_shared='wxUSE_SHARED=no'
3098 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x ; then
3100 eval "DEFAULT_$LINE"
3105 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3109 eval "$ac_cv_use_shared"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3114 if test "$wxUSE_SHARED" = yes; then
3115 echo "$as_me:$LINENO: result: yes" >&5
3116 echo "${ECHO_T}yes" >&6
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3125 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3127 # Check whether --enable-optimise or --disable-optimise was given.
3128 if test "${enable_optimise+set}" = set; then
3129 enableval="$enable_optimise"
3131 if test "$enableval" = yes; then
3132 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3134 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3139 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3140 if test "x$LINE" != x ; then
3141 eval "DEFAULT_$LINE"
3146 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3150 eval "$ac_cv_use_optimise"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3155 if test "$wxUSE_OPTIMISE" = yes; then
3156 echo "$as_me:$LINENO: result: yes" >&5
3157 echo "${ECHO_T}yes" >&6
3159 echo "$as_me:$LINENO: result: no" >&5
3160 echo "${ECHO_T}no" >&6
3165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3166 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3168 # Check whether --enable-debug or --disable-debug was given.
3169 if test "${enable_debug+set}" = set; then
3170 enableval="$enable_debug"
3172 if test "$enableval" = yes; then
3173 ac_cv_use_debug='wxUSE_DEBUG=yes'
3175 ac_cv_use_debug='wxUSE_DEBUG=no'
3180 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x ; then
3182 eval "DEFAULT_$LINE"
3187 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3191 eval "$ac_cv_use_debug"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3196 if test "$wxUSE_DEBUG" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198 echo "${ECHO_T}yes" >&6
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3207 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3209 # Check whether --enable-stl or --disable-stl was given.
3210 if test "${enable_stl+set}" = set; then
3211 enableval="$enable_stl"
3213 if test "$enableval" = yes; then
3214 ac_cv_use_stl='wxUSE_STL=yes'
3216 ac_cv_use_stl='wxUSE_STL=no'
3221 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3222 if test "x$LINE" != x ; then
3223 eval "DEFAULT_$LINE"
3228 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3232 eval "$ac_cv_use_stl"
3233 if test "$no_cache" != 1; then
3234 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3237 if test "$wxUSE_STL" = yes; then
3238 echo "$as_me:$LINENO: result: yes" >&5
3239 echo "${ECHO_T}yes" >&6
3241 echo "$as_me:$LINENO: result: no" >&5
3242 echo "${ECHO_T}no" >&6
3246 if test "$wxUSE_DEBUG" = "yes"; then
3247 DEFAULT_wxUSE_DEBUG_FLAG=yes
3248 DEFAULT_wxUSE_DEBUG_INFO=yes
3250 elif test "$wxUSE_DEBUG" = "no"; then
3251 DEFAULT_wxUSE_DEBUG_FLAG=no
3252 DEFAULT_wxUSE_DEBUG_INFO=no
3258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3259 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3261 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3262 if test "${enable_debug_flag+set}" = set; then
3263 enableval="$enable_debug_flag"
3265 if test "$enableval" = yes; then
3266 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3268 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3273 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3274 if test "x$LINE" != x ; then
3275 eval "DEFAULT_$LINE"
3280 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3284 eval "$ac_cv_use_debug_flag"
3285 if test "$no_cache" != 1; then
3286 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3289 if test "$wxUSE_DEBUG_FLAG" = yes; then
3290 echo "$as_me:$LINENO: result: yes" >&5
3291 echo "${ECHO_T}yes" >&6
3293 echo "$as_me:$LINENO: result: no" >&5
3294 echo "${ECHO_T}no" >&6
3299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3300 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3302 # Check whether --enable-debug_info or --disable-debug_info was given.
3303 if test "${enable_debug_info+set}" = set; then
3304 enableval="$enable_debug_info"
3306 if test "$enableval" = yes; then
3307 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3309 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3314 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3315 if test "x$LINE" != x ; then
3316 eval "DEFAULT_$LINE"
3321 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3325 eval "$ac_cv_use_debug_info"
3326 if test "$no_cache" != 1; then
3327 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3330 if test "$wxUSE_DEBUG_INFO" = yes; then
3331 echo "$as_me:$LINENO: result: yes" >&5
3332 echo "${ECHO_T}yes" >&6
3334 echo "$as_me:$LINENO: result: no" >&5
3335 echo "${ECHO_T}no" >&6
3340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3341 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3343 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3344 if test "${enable_debug_gdb+set}" = set; then
3345 enableval="$enable_debug_gdb"
3347 if test "$enableval" = yes; then
3348 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3350 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3355 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3356 if test "x$LINE" != x ; then
3357 eval "DEFAULT_$LINE"
3362 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3366 eval "$ac_cv_use_debug_gdb"
3367 if test "$no_cache" != 1; then
3368 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3371 if test "$wxUSE_DEBUG_GDB" = yes; then
3372 echo "$as_me:$LINENO: result: yes" >&5
3373 echo "${ECHO_T}yes" >&6
3375 echo "$as_me:$LINENO: result: no" >&5
3376 echo "${ECHO_T}no" >&6
3381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3382 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3384 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3385 if test "${enable_debug_cntxt+set}" = set; then
3386 enableval="$enable_debug_cntxt"
3388 if test "$enableval" = yes; then
3389 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3391 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3396 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3397 if test "x$LINE" != x ; then
3398 eval "DEFAULT_$LINE"
3403 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3407 eval "$ac_cv_use_debug_cntxt"
3408 if test "$no_cache" != 1; then
3409 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3412 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3413 echo "$as_me:$LINENO: result: yes" >&5
3414 echo "${ECHO_T}yes" >&6
3416 echo "$as_me:$LINENO: result: no" >&5
3417 echo "${ECHO_T}no" >&6
3422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3423 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3425 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3426 if test "${enable_mem_tracing+set}" = set; then
3427 enableval="$enable_mem_tracing"
3429 if test "$enableval" = yes; then
3430 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3432 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3437 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3438 if test "x$LINE" != x ; then
3439 eval "DEFAULT_$LINE"
3444 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3448 eval "$ac_cv_use_mem_tracing"
3449 if test "$no_cache" != 1; then
3450 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3453 if test "$wxUSE_MEM_TRACING" = yes; then
3454 echo "$as_me:$LINENO: result: yes" >&5
3455 echo "${ECHO_T}yes" >&6
3457 echo "$as_me:$LINENO: result: no" >&5
3458 echo "${ECHO_T}no" >&6
3463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3464 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3466 # Check whether --enable-profile or --disable-profile was given.
3467 if test "${enable_profile+set}" = set; then
3468 enableval="$enable_profile"
3470 if test "$enableval" = yes; then
3471 ac_cv_use_profile='wxUSE_PROFILE=yes'
3473 ac_cv_use_profile='wxUSE_PROFILE=no'
3478 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3479 if test "x$LINE" != x ; then
3480 eval "DEFAULT_$LINE"
3485 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3489 eval "$ac_cv_use_profile"
3490 if test "$no_cache" != 1; then
3491 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3494 if test "$wxUSE_PROFILE" = yes; then
3495 echo "$as_me:$LINENO: result: yes" >&5
3496 echo "${ECHO_T}yes" >&6
3498 echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6
3504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3505 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3507 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3508 if test "${enable_no_rtti+set}" = set; then
3509 enableval="$enable_no_rtti"
3511 if test "$enableval" = yes; then
3512 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3514 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3519 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3520 if test "x$LINE" != x ; then
3521 eval "DEFAULT_$LINE"
3526 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3530 eval "$ac_cv_use_no_rtti"
3531 if test "$no_cache" != 1; then
3532 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3535 if test "$wxUSE_NO_RTTI" = yes; then
3536 echo "$as_me:$LINENO: result: yes" >&5
3537 echo "${ECHO_T}yes" >&6
3539 echo "$as_me:$LINENO: result: no" >&5
3540 echo "${ECHO_T}no" >&6
3545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3546 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3548 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3549 if test "${enable_no_exceptions+set}" = set; then
3550 enableval="$enable_no_exceptions"
3552 if test "$enableval" = yes; then
3553 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3555 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3560 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3561 if test "x$LINE" != x ; then
3562 eval "DEFAULT_$LINE"
3567 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3571 eval "$ac_cv_use_no_exceptions"
3572 if test "$no_cache" != 1; then
3573 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3576 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3577 echo "$as_me:$LINENO: result: yes" >&5
3578 echo "${ECHO_T}yes" >&6
3580 echo "$as_me:$LINENO: result: no" >&5
3581 echo "${ECHO_T}no" >&6
3586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3587 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3589 # Check whether --enable-permissive or --disable-permissive was given.
3590 if test "${enable_permissive+set}" = set; then
3591 enableval="$enable_permissive"
3593 if test "$enableval" = yes; then
3594 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3596 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3601 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3602 if test "x$LINE" != x ; then
3603 eval "DEFAULT_$LINE"
3608 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3612 eval "$ac_cv_use_permissive"
3613 if test "$no_cache" != 1; then
3614 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3617 if test "$wxUSE_PERMISSIVE" = yes; then
3618 echo "$as_me:$LINENO: result: yes" >&5
3619 echo "${ECHO_T}yes" >&6
3621 echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6
3627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3628 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3630 # Check whether --enable-no_deps or --disable-no_deps was given.
3631 if test "${enable_no_deps+set}" = set; then
3632 enableval="$enable_no_deps"
3634 if test "$enableval" = yes; then
3635 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3637 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3642 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x ; then
3644 eval "DEFAULT_$LINE"
3649 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3653 eval "$ac_cv_use_no_deps"
3654 if test "$no_cache" != 1; then
3655 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3658 if test "$wxUSE_NO_DEPS" = yes; then
3659 echo "$as_me:$LINENO: result: yes" >&5
3660 echo "${ECHO_T}yes" >&6
3662 echo "$as_me:$LINENO: result: no" >&5
3663 echo "${ECHO_T}no" >&6
3669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3670 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3672 # Check whether --enable-compat20 or --disable-compat20 was given.
3673 if test "${enable_compat20+set}" = set; then
3674 enableval="$enable_compat20"
3676 if test "$enableval" = yes; then
3677 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3679 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3684 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3685 if test "x$LINE" != x ; then
3686 eval "DEFAULT_$LINE"
3691 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3695 eval "$ac_cv_use_compat20"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3700 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3701 echo "$as_me:$LINENO: result: yes" >&5
3702 echo "${ECHO_T}yes" >&6
3704 echo "$as_me:$LINENO: result: no" >&5
3705 echo "${ECHO_T}no" >&6
3710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3711 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3713 # Check whether --enable-compat22 or --disable-compat22 was given.
3714 if test "${enable_compat22+set}" = set; then
3715 enableval="$enable_compat22"
3717 if test "$enableval" = yes; then
3718 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3720 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3725 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3726 if test "x$LINE" != x ; then
3727 eval "DEFAULT_$LINE"
3732 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3736 eval "$ac_cv_use_compat22"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3741 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3742 echo "$as_me:$LINENO: result: yes" >&5
3743 echo "${ECHO_T}yes" >&6
3745 echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6
3750 enablestring=disable
3751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3752 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3754 # Check whether --enable-compat24 or --disable-compat24 was given.
3755 if test "${enable_compat24+set}" = set; then
3756 enableval="$enable_compat24"
3758 if test "$enableval" = yes; then
3759 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3761 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3766 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3767 if test "x$LINE" != x ; then
3768 eval "DEFAULT_$LINE"
3773 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3777 eval "$ac_cv_use_compat24"
3778 if test "$no_cache" != 1; then
3779 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3782 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3783 echo "$as_me:$LINENO: result: yes" >&5
3784 echo "${ECHO_T}yes" >&6
3786 echo "$as_me:$LINENO: result: no" >&5
3787 echo "${ECHO_T}no" >&6
3791 # Check whether --enable-rpath or --disable-rpath was given.
3792 if test "${enable_rpath+set}" = set; then
3793 enableval="$enable_rpath"
3794 wxRPATH_DIR="$enableval"
3797 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3798 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3806 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3808 # Check whether --enable-intl or --disable-intl was given.
3809 if test "${enable_intl+set}" = set; then
3810 enableval="$enable_intl"
3812 if test "$enableval" = yes; then
3813 ac_cv_use_intl='wxUSE_INTL=yes'
3815 ac_cv_use_intl='wxUSE_INTL=no'
3820 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3821 if test "x$LINE" != x ; then
3822 eval "DEFAULT_$LINE"
3827 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3831 eval "$ac_cv_use_intl"
3832 if test "$no_cache" != 1; then
3833 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3836 if test "$wxUSE_INTL" = yes; then
3837 echo "$as_me:$LINENO: result: yes" >&5
3838 echo "${ECHO_T}yes" >&6
3840 echo "$as_me:$LINENO: result: no" >&5
3841 echo "${ECHO_T}no" >&6
3846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3847 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3849 # Check whether --enable-config or --disable-config was given.
3850 if test "${enable_config+set}" = set; then
3851 enableval="$enable_config"
3853 if test "$enableval" = yes; then
3854 ac_cv_use_config='wxUSE_CONFIG=yes'
3856 ac_cv_use_config='wxUSE_CONFIG=no'
3861 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3862 if test "x$LINE" != x ; then
3863 eval "DEFAULT_$LINE"
3868 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3872 eval "$ac_cv_use_config"
3873 if test "$no_cache" != 1; then
3874 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3877 if test "$wxUSE_CONFIG" = yes; then
3878 echo "$as_me:$LINENO: result: yes" >&5
3879 echo "${ECHO_T}yes" >&6
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3889 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3891 # Check whether --enable-protocols or --disable-protocols was given.
3892 if test "${enable_protocols+set}" = set; then
3893 enableval="$enable_protocols"
3895 if test "$enableval" = yes; then
3896 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3898 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3903 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3904 if test "x$LINE" != x ; then
3905 eval "DEFAULT_$LINE"
3910 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3914 eval "$ac_cv_use_protocols"
3915 if test "$no_cache" != 1; then
3916 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3919 if test "$wxUSE_PROTOCOL" = yes; then
3920 echo "$as_me:$LINENO: result: yes" >&5
3921 echo "${ECHO_T}yes" >&6
3923 echo "$as_me:$LINENO: result: no" >&5
3924 echo "${ECHO_T}no" >&6
3929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3930 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3932 # Check whether --enable-ftp or --disable-ftp was given.
3933 if test "${enable_ftp+set}" = set; then
3934 enableval="$enable_ftp"
3936 if test "$enableval" = yes; then
3937 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3939 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3944 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3945 if test "x$LINE" != x ; then
3946 eval "DEFAULT_$LINE"
3951 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3955 eval "$ac_cv_use_ftp"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3960 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3961 echo "$as_me:$LINENO: result: yes" >&5
3962 echo "${ECHO_T}yes" >&6
3964 echo "$as_me:$LINENO: result: no" >&5
3965 echo "${ECHO_T}no" >&6
3970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3971 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3973 # Check whether --enable-http or --disable-http was given.
3974 if test "${enable_http+set}" = set; then
3975 enableval="$enable_http"
3977 if test "$enableval" = yes; then
3978 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3980 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3985 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3986 if test "x$LINE" != x ; then
3987 eval "DEFAULT_$LINE"
3992 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3996 eval "$ac_cv_use_http"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4001 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4002 echo "$as_me:$LINENO: result: yes" >&5
4003 echo "${ECHO_T}yes" >&6
4005 echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6
4011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4012 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4014 # Check whether --enable-fileproto or --disable-fileproto was given.
4015 if test "${enable_fileproto+set}" = set; then
4016 enableval="$enable_fileproto"
4018 if test "$enableval" = yes; then
4019 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4021 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4026 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4027 if test "x$LINE" != x ; then
4028 eval "DEFAULT_$LINE"
4033 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4037 eval "$ac_cv_use_fileproto"
4038 if test "$no_cache" != 1; then
4039 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4042 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4043 echo "$as_me:$LINENO: result: yes" >&5
4044 echo "${ECHO_T}yes" >&6
4046 echo "$as_me:$LINENO: result: no" >&5
4047 echo "${ECHO_T}no" >&6
4052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4053 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4055 # Check whether --enable-sockets or --disable-sockets was given.
4056 if test "${enable_sockets+set}" = set; then
4057 enableval="$enable_sockets"
4059 if test "$enableval" = yes; then
4060 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4062 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4067 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4068 if test "x$LINE" != x ; then
4069 eval "DEFAULT_$LINE"
4074 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4078 eval "$ac_cv_use_sockets"
4079 if test "$no_cache" != 1; then
4080 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4083 if test "$wxUSE_SOCKETS" = yes; then
4084 echo "$as_me:$LINENO: result: yes" >&5
4085 echo "${ECHO_T}yes" >&6
4087 echo "$as_me:$LINENO: result: no" >&5
4088 echo "${ECHO_T}no" >&6
4093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4094 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4096 # Check whether --enable-ole or --disable-ole was given.
4097 if test "${enable_ole+set}" = set; then
4098 enableval="$enable_ole"
4100 if test "$enableval" = yes; then
4101 ac_cv_use_ole='wxUSE_OLE=yes'
4103 ac_cv_use_ole='wxUSE_OLE=no'
4108 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4109 if test "x$LINE" != x ; then
4110 eval "DEFAULT_$LINE"
4115 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4119 eval "$ac_cv_use_ole"
4120 if test "$no_cache" != 1; then
4121 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4124 if test "$wxUSE_OLE" = yes; then
4125 echo "$as_me:$LINENO: result: yes" >&5
4126 echo "${ECHO_T}yes" >&6
4128 echo "$as_me:$LINENO: result: no" >&5
4129 echo "${ECHO_T}no" >&6
4134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4135 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4137 # Check whether --enable-dataobj or --disable-dataobj was given.
4138 if test "${enable_dataobj+set}" = set; then
4139 enableval="$enable_dataobj"
4141 if test "$enableval" = yes; then
4142 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4144 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4149 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4150 if test "x$LINE" != x ; then
4151 eval "DEFAULT_$LINE"
4156 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4160 eval "$ac_cv_use_dataobj"
4161 if test "$no_cache" != 1; then
4162 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4165 if test "$wxUSE_DATAOBJ" = yes; then
4166 echo "$as_me:$LINENO: result: yes" >&5
4167 echo "${ECHO_T}yes" >&6
4169 echo "$as_me:$LINENO: result: no" >&5
4170 echo "${ECHO_T}no" >&6
4176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4177 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4179 # Check whether --enable-ipc or --disable-ipc was given.
4180 if test "${enable_ipc+set}" = set; then
4181 enableval="$enable_ipc"
4183 if test "$enableval" = yes; then
4184 ac_cv_use_ipc='wxUSE_IPC=yes'
4186 ac_cv_use_ipc='wxUSE_IPC=no'
4191 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x ; then
4193 eval "DEFAULT_$LINE"
4198 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4202 eval "$ac_cv_use_ipc"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4207 if test "$wxUSE_IPC" = yes; then
4208 echo "$as_me:$LINENO: result: yes" >&5
4209 echo "${ECHO_T}yes" >&6
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4219 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4221 # Check whether --enable-cmdline or --disable-cmdline was given.
4222 if test "${enable_cmdline+set}" = set; then
4223 enableval="$enable_cmdline"
4225 if test "$enableval" = yes; then
4226 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4228 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4233 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4234 if test "x$LINE" != x ; then
4235 eval "DEFAULT_$LINE"
4240 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4244 eval "$ac_cv_use_cmdline"
4245 if test "$no_cache" != 1; then
4246 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4249 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4250 echo "$as_me:$LINENO: result: yes" >&5
4251 echo "${ECHO_T}yes" >&6
4253 echo "$as_me:$LINENO: result: no" >&5
4254 echo "${ECHO_T}no" >&6
4259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4260 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4262 # Check whether --enable-datetime or --disable-datetime was given.
4263 if test "${enable_datetime+set}" = set; then
4264 enableval="$enable_datetime"
4266 if test "$enableval" = yes; then
4267 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4269 ac_cv_use_datetime='wxUSE_DATETIME=no'
4274 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4275 if test "x$LINE" != x ; then
4276 eval "DEFAULT_$LINE"
4281 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4285 eval "$ac_cv_use_datetime"
4286 if test "$no_cache" != 1; then
4287 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4290 if test "$wxUSE_DATETIME" = yes; then
4291 echo "$as_me:$LINENO: result: yes" >&5
4292 echo "${ECHO_T}yes" >&6
4294 echo "$as_me:$LINENO: result: no" >&5
4295 echo "${ECHO_T}no" >&6
4300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4301 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4303 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4304 if test "${enable_stopwatch+set}" = set; then
4305 enableval="$enable_stopwatch"
4307 if test "$enableval" = yes; then
4308 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4310 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4315 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4316 if test "x$LINE" != x ; then
4317 eval "DEFAULT_$LINE"
4322 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4326 eval "$ac_cv_use_stopwatch"
4327 if test "$no_cache" != 1; then
4328 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4331 if test "$wxUSE_STOPWATCH" = yes; then
4332 echo "$as_me:$LINENO: result: yes" >&5
4333 echo "${ECHO_T}yes" >&6
4335 echo "$as_me:$LINENO: result: no" >&5
4336 echo "${ECHO_T}no" >&6
4341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4342 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4344 # Check whether --enable-dialupman or --disable-dialupman was given.
4345 if test "${enable_dialupman+set}" = set; then
4346 enableval="$enable_dialupman"
4348 if test "$enableval" = yes; then
4349 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4351 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4356 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4357 if test "x$LINE" != x ; then
4358 eval "DEFAULT_$LINE"
4363 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4367 eval "$ac_cv_use_dialupman"
4368 if test "$no_cache" != 1; then
4369 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4372 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4373 echo "$as_me:$LINENO: result: yes" >&5
4374 echo "${ECHO_T}yes" >&6
4376 echo "$as_me:$LINENO: result: no" >&5
4377 echo "${ECHO_T}no" >&6
4382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4383 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4385 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4386 if test "${enable_apple_ieee+set}" = set; then
4387 enableval="$enable_apple_ieee"
4389 if test "$enableval" = yes; then
4390 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4392 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4397 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4398 if test "x$LINE" != x ; then
4399 eval "DEFAULT_$LINE"
4404 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4408 eval "$ac_cv_use_apple_ieee"
4409 if test "$no_cache" != 1; then
4410 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4413 if test "$wxUSE_APPLE_IEEE" = yes; then
4414 echo "$as_me:$LINENO: result: yes" >&5
4415 echo "${ECHO_T}yes" >&6
4417 echo "$as_me:$LINENO: result: no" >&5
4418 echo "${ECHO_T}no" >&6
4423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4424 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4426 # Check whether --enable-timer or --disable-timer was given.
4427 if test "${enable_timer+set}" = set; then
4428 enableval="$enable_timer"
4430 if test "$enableval" = yes; then
4431 ac_cv_use_timer='wxUSE_TIMER=yes'
4433 ac_cv_use_timer='wxUSE_TIMER=no'
4438 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4439 if test "x$LINE" != x ; then
4440 eval "DEFAULT_$LINE"
4445 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4449 eval "$ac_cv_use_timer"
4450 if test "$no_cache" != 1; then
4451 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4454 if test "$wxUSE_TIMER" = yes; then
4455 echo "$as_me:$LINENO: result: yes" >&5
4456 echo "${ECHO_T}yes" >&6
4458 echo "$as_me:$LINENO: result: no" >&5
4459 echo "${ECHO_T}no" >&6
4464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4465 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4467 # Check whether --enable-wave or --disable-wave was given.
4468 if test "${enable_wave+set}" = set; then
4469 enableval="$enable_wave"
4471 if test "$enableval" = yes; then
4472 ac_cv_use_wave='wxUSE_WAVE=yes'
4474 ac_cv_use_wave='wxUSE_WAVE=no'
4479 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4480 if test "x$LINE" != x ; then
4481 eval "DEFAULT_$LINE"
4486 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4490 eval "$ac_cv_use_wave"
4491 if test "$no_cache" != 1; then
4492 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4495 if test "$wxUSE_WAVE" = yes; then
4496 echo "$as_me:$LINENO: result: yes" >&5
4497 echo "${ECHO_T}yes" >&6
4499 echo "$as_me:$LINENO: result: no" >&5
4500 echo "${ECHO_T}no" >&6
4505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4506 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4508 # Check whether --enable-fraction or --disable-fraction was given.
4509 if test "${enable_fraction+set}" = set; then
4510 enableval="$enable_fraction"
4512 if test "$enableval" = yes; then
4513 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4515 ac_cv_use_fraction='wxUSE_FRACTION=no'
4520 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4521 if test "x$LINE" != x ; then
4522 eval "DEFAULT_$LINE"
4527 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4531 eval "$ac_cv_use_fraction"
4532 if test "$no_cache" != 1; then
4533 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4536 if test "$wxUSE_FRACTION" = yes; then
4537 echo "$as_me:$LINENO: result: yes" >&5
4538 echo "${ECHO_T}yes" >&6
4540 echo "$as_me:$LINENO: result: no" >&5
4541 echo "${ECHO_T}no" >&6
4546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4547 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4549 # Check whether --enable-dynlib or --disable-dynlib was given.
4550 if test "${enable_dynlib+set}" = set; then
4551 enableval="$enable_dynlib"
4553 if test "$enableval" = yes; then
4554 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4556 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4561 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4562 if test "x$LINE" != x ; then
4563 eval "DEFAULT_$LINE"
4568 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4572 eval "$ac_cv_use_dynlib"
4573 if test "$no_cache" != 1; then
4574 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4577 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4578 echo "$as_me:$LINENO: result: yes" >&5
4579 echo "${ECHO_T}yes" >&6
4581 echo "$as_me:$LINENO: result: no" >&5
4582 echo "${ECHO_T}no" >&6
4587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4590 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4591 if test "${enable_dynamicloader+set}" = set; then
4592 enableval="$enable_dynamicloader"
4594 if test "$enableval" = yes; then
4595 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4597 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4602 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x ; then
4604 eval "DEFAULT_$LINE"
4609 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4613 eval "$ac_cv_use_dynamicloader"
4614 if test "$no_cache" != 1; then
4615 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4618 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4619 echo "$as_me:$LINENO: result: yes" >&5
4620 echo "${ECHO_T}yes" >&6
4622 echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4629 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4631 # Check whether --enable-longlong or --disable-longlong was given.
4632 if test "${enable_longlong+set}" = set; then
4633 enableval="$enable_longlong"
4635 if test "$enableval" = yes; then
4636 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4638 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4643 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4644 if test "x$LINE" != x ; then
4645 eval "DEFAULT_$LINE"
4650 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4654 eval "$ac_cv_use_longlong"
4655 if test "$no_cache" != 1; then
4656 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4659 if test "$wxUSE_LONGLONG" = yes; then
4660 echo "$as_me:$LINENO: result: yes" >&5
4661 echo "${ECHO_T}yes" >&6
4663 echo "$as_me:$LINENO: result: no" >&5
4664 echo "${ECHO_T}no" >&6
4669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4670 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4672 # Check whether --enable-geometry or --disable-geometry was given.
4673 if test "${enable_geometry+set}" = set; then
4674 enableval="$enable_geometry"
4676 if test "$enableval" = yes; then
4677 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4679 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4684 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4685 if test "x$LINE" != x ; then
4686 eval "DEFAULT_$LINE"
4691 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4695 eval "$ac_cv_use_geometry"
4696 if test "$no_cache" != 1; then
4697 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4700 if test "$wxUSE_GEOMETRY" = yes; then
4701 echo "$as_me:$LINENO: result: yes" >&5
4702 echo "${ECHO_T}yes" >&6
4704 echo "$as_me:$LINENO: result: no" >&5
4705 echo "${ECHO_T}no" >&6
4710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4711 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4713 # Check whether --enable-log or --disable-log was given.
4714 if test "${enable_log+set}" = set; then
4715 enableval="$enable_log"
4717 if test "$enableval" = yes; then
4718 ac_cv_use_log='wxUSE_LOG=yes'
4720 ac_cv_use_log='wxUSE_LOG=no'
4725 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4726 if test "x$LINE" != x ; then
4727 eval "DEFAULT_$LINE"
4732 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4736 eval "$ac_cv_use_log"
4737 if test "$no_cache" != 1; then
4738 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4741 if test "$wxUSE_LOG" = yes; then
4742 echo "$as_me:$LINENO: result: yes" >&5
4743 echo "${ECHO_T}yes" >&6
4745 echo "$as_me:$LINENO: result: no" >&5
4746 echo "${ECHO_T}no" >&6
4751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4752 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4754 # Check whether --enable-streams or --disable-streams was given.
4755 if test "${enable_streams+set}" = set; then
4756 enableval="$enable_streams"
4758 if test "$enableval" = yes; then
4759 ac_cv_use_streams='wxUSE_STREAMS=yes'
4761 ac_cv_use_streams='wxUSE_STREAMS=no'
4766 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4767 if test "x$LINE" != x ; then
4768 eval "DEFAULT_$LINE"
4773 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4777 eval "$ac_cv_use_streams"
4778 if test "$no_cache" != 1; then
4779 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4782 if test "$wxUSE_STREAMS" = yes; then
4783 echo "$as_me:$LINENO: result: yes" >&5
4784 echo "${ECHO_T}yes" >&6
4786 echo "$as_me:$LINENO: result: no" >&5
4787 echo "${ECHO_T}no" >&6
4792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4795 # Check whether --enable-file or --disable-file was given.
4796 if test "${enable_file+set}" = set; then
4797 enableval="$enable_file"
4799 if test "$enableval" = yes; then
4800 ac_cv_use_file='wxUSE_FILE=yes'
4802 ac_cv_use_file='wxUSE_FILE=no'
4807 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4808 if test "x$LINE" != x ; then
4809 eval "DEFAULT_$LINE"
4814 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4818 eval "$ac_cv_use_file"
4819 if test "$no_cache" != 1; then
4820 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4823 if test "$wxUSE_FILE" = yes; then
4824 echo "$as_me:$LINENO: result: yes" >&5
4825 echo "${ECHO_T}yes" >&6
4827 echo "$as_me:$LINENO: result: no" >&5
4828 echo "${ECHO_T}no" >&6
4833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4834 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4836 # Check whether --enable-ffile or --disable-ffile was given.
4837 if test "${enable_ffile+set}" = set; then
4838 enableval="$enable_ffile"
4840 if test "$enableval" = yes; then
4841 ac_cv_use_ffile='wxUSE_FFILE=yes'
4843 ac_cv_use_ffile='wxUSE_FFILE=no'
4848 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4849 if test "x$LINE" != x ; then
4850 eval "DEFAULT_$LINE"
4855 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4859 eval "$ac_cv_use_ffile"
4860 if test "$no_cache" != 1; then
4861 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4864 if test "$wxUSE_FFILE" = yes; then
4865 echo "$as_me:$LINENO: result: yes" >&5
4866 echo "${ECHO_T}yes" >&6
4868 echo "$as_me:$LINENO: result: no" >&5
4869 echo "${ECHO_T}no" >&6
4874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4875 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4877 # Check whether --enable-textbuf or --disable-textbuf was given.
4878 if test "${enable_textbuf+set}" = set; then
4879 enableval="$enable_textbuf"
4881 if test "$enableval" = yes; then
4882 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4884 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4889 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4890 if test "x$LINE" != x ; then
4891 eval "DEFAULT_$LINE"
4896 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4900 eval "$ac_cv_use_textbuf"
4901 if test "$no_cache" != 1; then
4902 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4905 if test "$wxUSE_TEXTBUFFER" = yes; then
4906 echo "$as_me:$LINENO: result: yes" >&5
4907 echo "${ECHO_T}yes" >&6
4909 echo "$as_me:$LINENO: result: no" >&5
4910 echo "${ECHO_T}no" >&6
4915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4916 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4918 # Check whether --enable-textfile or --disable-textfile was given.
4919 if test "${enable_textfile+set}" = set; then
4920 enableval="$enable_textfile"
4922 if test "$enableval" = yes; then
4923 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4925 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4930 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4931 if test "x$LINE" != x ; then
4932 eval "DEFAULT_$LINE"
4937 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4941 eval "$ac_cv_use_textfile"
4942 if test "$no_cache" != 1; then
4943 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4946 if test "$wxUSE_TEXTFILE" = yes; then
4947 echo "$as_me:$LINENO: result: yes" >&5
4948 echo "${ECHO_T}yes" >&6
4950 echo "$as_me:$LINENO: result: no" >&5
4951 echo "${ECHO_T}no" >&6
4956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4957 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4959 # Check whether --enable-fontmap or --disable-fontmap was given.
4960 if test "${enable_fontmap+set}" = set; then
4961 enableval="$enable_fontmap"
4963 if test "$enableval" = yes; then
4964 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4966 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4971 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4972 if test "x$LINE" != x ; then
4973 eval "DEFAULT_$LINE"
4978 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4982 eval "$ac_cv_use_fontmap"
4983 if test "$no_cache" != 1; then
4984 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4987 if test "$wxUSE_FONTMAP" = yes; then
4988 echo "$as_me:$LINENO: result: yes" >&5
4989 echo "${ECHO_T}yes" >&6
4991 echo "$as_me:$LINENO: result: no" >&5
4992 echo "${ECHO_T}no" >&6
4997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4998 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5000 # Check whether --enable-unicode or --disable-unicode was given.
5001 if test "${enable_unicode+set}" = set; then
5002 enableval="$enable_unicode"
5004 if test "$enableval" = yes; then
5005 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5007 ac_cv_use_unicode='wxUSE_UNICODE=no'
5012 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5013 if test "x$LINE" != x ; then
5014 eval "DEFAULT_$LINE"
5019 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5023 eval "$ac_cv_use_unicode"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5028 if test "$wxUSE_UNICODE" = yes; then
5029 echo "$as_me:$LINENO: result: yes" >&5
5030 echo "${ECHO_T}yes" >&6
5032 echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6
5038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5039 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5041 # Check whether --enable-mslu or --disable-mslu was given.
5042 if test "${enable_mslu+set}" = set; then
5043 enableval="$enable_mslu"
5045 if test "$enableval" = yes; then
5046 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5048 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5053 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5054 if test "x$LINE" != x ; then
5055 eval "DEFAULT_$LINE"
5060 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5064 eval "$ac_cv_use_mslu"
5065 if test "$no_cache" != 1; then
5066 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5069 if test "$wxUSE_UNICODE_MSLU" = yes; then
5070 echo "$as_me:$LINENO: result: yes" >&5
5071 echo "${ECHO_T}yes" >&6
5073 echo "$as_me:$LINENO: result: no" >&5
5074 echo "${ECHO_T}no" >&6
5079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5080 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5082 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5083 if test "${enable_wxprintfv+set}" = set; then
5084 enableval="$enable_wxprintfv"
5086 if test "$enableval" = yes; then
5087 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5089 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5094 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5095 if test "x$LINE" != x ; then
5096 eval "DEFAULT_$LINE"
5101 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5105 eval "$ac_cv_use_wxprintfv"
5106 if test "$no_cache" != 1; then
5107 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5110 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5111 echo "$as_me:$LINENO: result: yes" >&5
5112 echo "${ECHO_T}yes" >&6
5114 echo "$as_me:$LINENO: result: no" >&5
5115 echo "${ECHO_T}no" >&6
5120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5123 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5124 if test "${enable_std_iostreams+set}" = set; then
5125 enableval="$enable_std_iostreams"
5127 if test "$enableval" = yes; then
5128 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5130 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5135 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5136 if test "x$LINE" != x ; then
5137 eval "DEFAULT_$LINE"
5142 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5146 eval "$ac_cv_use_std_iostreams"
5147 if test "$no_cache" != 1; then
5148 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5151 if test "$wxUSE_STD_IOSTREAM" = yes; then
5152 echo "$as_me:$LINENO: result: yes" >&5
5153 echo "${ECHO_T}yes" >&6
5155 echo "$as_me:$LINENO: result: no" >&5
5156 echo "${ECHO_T}no" >&6
5161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5162 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5164 # Check whether --enable-filesystem or --disable-filesystem was given.
5165 if test "${enable_filesystem+set}" = set; then
5166 enableval="$enable_filesystem"
5168 if test "$enableval" = yes; then
5169 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5171 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5176 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5177 if test "x$LINE" != x ; then
5178 eval "DEFAULT_$LINE"
5183 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5187 eval "$ac_cv_use_filesystem"
5188 if test "$no_cache" != 1; then
5189 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5192 if test "$wxUSE_FILESYSTEM" = yes; then
5193 echo "$as_me:$LINENO: result: yes" >&5
5194 echo "${ECHO_T}yes" >&6
5196 echo "$as_me:$LINENO: result: no" >&5
5197 echo "${ECHO_T}no" >&6
5202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5203 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5205 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5206 if test "${enable_fs_inet+set}" = set; then
5207 enableval="$enable_fs_inet"
5209 if test "$enableval" = yes; then
5210 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5212 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5217 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5218 if test "x$LINE" != x ; then
5219 eval "DEFAULT_$LINE"
5224 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5228 eval "$ac_cv_use_fs_inet"
5229 if test "$no_cache" != 1; then
5230 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5233 if test "$wxUSE_FS_INET" = yes; then
5234 echo "$as_me:$LINENO: result: yes" >&5
5235 echo "${ECHO_T}yes" >&6
5237 echo "$as_me:$LINENO: result: no" >&5
5238 echo "${ECHO_T}no" >&6
5243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5244 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5246 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5247 if test "${enable_fs_zip+set}" = set; then
5248 enableval="$enable_fs_zip"
5250 if test "$enableval" = yes; then
5251 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5253 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5258 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5259 if test "x$LINE" != x ; then
5260 eval "DEFAULT_$LINE"
5265 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5269 eval "$ac_cv_use_fs_zip"
5270 if test "$no_cache" != 1; then
5271 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5274 if test "$wxUSE_FS_ZIP" = yes; then
5275 echo "$as_me:$LINENO: result: yes" >&5
5276 echo "${ECHO_T}yes" >&6
5278 echo "$as_me:$LINENO: result: no" >&5
5279 echo "${ECHO_T}no" >&6
5284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5285 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5287 # Check whether --enable-zipstream or --disable-zipstream was given.
5288 if test "${enable_zipstream+set}" = set; then
5289 enableval="$enable_zipstream"
5291 if test "$enableval" = yes; then
5292 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5294 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5299 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5300 if test "x$LINE" != x ; then
5301 eval "DEFAULT_$LINE"
5306 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5310 eval "$ac_cv_use_zipstream"
5311 if test "$no_cache" != 1; then
5312 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5315 if test "$wxUSE_ZIPSTREAM" = yes; then
5316 echo "$as_me:$LINENO: result: yes" >&5
5317 echo "${ECHO_T}yes" >&6
5319 echo "$as_me:$LINENO: result: no" >&5
5320 echo "${ECHO_T}no" >&6
5326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5327 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5329 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5330 if test "${enable_catch_segvs+set}" = set; then
5331 enableval="$enable_catch_segvs"
5333 if test "$enableval" = yes; then
5334 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5336 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5341 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x ; then
5343 eval "DEFAULT_$LINE"
5348 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5352 eval "$ac_cv_use_catch_segvs"
5353 if test "$no_cache" != 1; then
5354 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5357 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5358 echo "$as_me:$LINENO: result: yes" >&5
5359 echo "${ECHO_T}yes" >&6
5361 echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6
5367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5368 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5370 # Check whether --enable-snglinst or --disable-snglinst was given.
5371 if test "${enable_snglinst+set}" = set; then
5372 enableval="$enable_snglinst"
5374 if test "$enableval" = yes; then
5375 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5377 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5382 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x ; then
5384 eval "DEFAULT_$LINE"
5389 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5393 eval "$ac_cv_use_snglinst"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5398 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5399 echo "$as_me:$LINENO: result: yes" >&5
5400 echo "${ECHO_T}yes" >&6
5402 echo "$as_me:$LINENO: result: no" >&5
5403 echo "${ECHO_T}no" >&6
5409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5410 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5412 # Check whether --enable-mimetype or --disable-mimetype was given.
5413 if test "${enable_mimetype+set}" = set; then
5414 enableval="$enable_mimetype"
5416 if test "$enableval" = yes; then
5417 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5419 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5424 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5425 if test "x$LINE" != x ; then
5426 eval "DEFAULT_$LINE"
5431 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5435 eval "$ac_cv_use_mimetype"
5436 if test "$no_cache" != 1; then
5437 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5440 if test "$wxUSE_MIMETYPE" = yes; then
5441 echo "$as_me:$LINENO: result: yes" >&5
5442 echo "${ECHO_T}yes" >&6
5444 echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6
5450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5451 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5453 # Check whether --enable-system_options or --disable-system_options was given.
5454 if test "${enable_system_options+set}" = set; then
5455 enableval="$enable_system_options"
5457 if test "$enableval" = yes; then
5458 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5460 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5465 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5466 if test "x$LINE" != x ; then
5467 eval "DEFAULT_$LINE"
5472 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5476 eval "$ac_cv_use_system_options"
5477 if test "$no_cache" != 1; then
5478 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5481 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5482 echo "$as_me:$LINENO: result: yes" >&5
5483 echo "${ECHO_T}yes" >&6
5485 echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6
5492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5493 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5495 # Check whether --enable-url or --disable-url was given.
5496 if test "${enable_url+set}" = set; then
5497 enableval="$enable_url"
5499 if test "$enableval" = yes; then
5500 ac_cv_use_url='wxUSE_URL=yes'
5502 ac_cv_use_url='wxUSE_URL=no'
5507 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5508 if test "x$LINE" != x ; then
5509 eval "DEFAULT_$LINE"
5514 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5518 eval "$ac_cv_use_url"
5519 if test "$no_cache" != 1; then
5520 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5523 if test "$wxUSE_URL" = yes; then
5524 echo "$as_me:$LINENO: result: yes" >&5
5525 echo "${ECHO_T}yes" >&6
5527 echo "$as_me:$LINENO: result: no" >&5
5528 echo "${ECHO_T}no" >&6
5533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5534 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5536 # Check whether --enable-protocol or --disable-protocol was given.
5537 if test "${enable_protocol+set}" = set; then
5538 enableval="$enable_protocol"
5540 if test "$enableval" = yes; then
5541 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5543 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5548 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5549 if test "x$LINE" != x ; then
5550 eval "DEFAULT_$LINE"
5555 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5559 eval "$ac_cv_use_protocol"
5560 if test "$no_cache" != 1; then
5561 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5564 if test "$wxUSE_PROTOCOL" = yes; then
5565 echo "$as_me:$LINENO: result: yes" >&5
5566 echo "${ECHO_T}yes" >&6
5568 echo "$as_me:$LINENO: result: no" >&5
5569 echo "${ECHO_T}no" >&6
5574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5575 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5577 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5578 if test "${enable_protocol_http+set}" = set; then
5579 enableval="$enable_protocol_http"
5581 if test "$enableval" = yes; then
5582 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5584 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5589 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5590 if test "x$LINE" != x ; then
5591 eval "DEFAULT_$LINE"
5596 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5600 eval "$ac_cv_use_protocol_http"
5601 if test "$no_cache" != 1; then
5602 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5605 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5606 echo "$as_me:$LINENO: result: yes" >&5
5607 echo "${ECHO_T}yes" >&6
5609 echo "$as_me:$LINENO: result: no" >&5
5610 echo "${ECHO_T}no" >&6
5615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5616 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5618 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5619 if test "${enable_protocol_ftp+set}" = set; then
5620 enableval="$enable_protocol_ftp"
5622 if test "$enableval" = yes; then
5623 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5625 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5630 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5631 if test "x$LINE" != x ; then
5632 eval "DEFAULT_$LINE"
5637 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5641 eval "$ac_cv_use_protocol_ftp"
5642 if test "$no_cache" != 1; then
5643 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5646 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5647 echo "$as_me:$LINENO: result: yes" >&5
5648 echo "${ECHO_T}yes" >&6
5650 echo "$as_me:$LINENO: result: no" >&5
5651 echo "${ECHO_T}no" >&6
5656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5657 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5659 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5660 if test "${enable_protocol_file+set}" = set; then
5661 enableval="$enable_protocol_file"
5663 if test "$enableval" = yes; then
5664 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5666 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5671 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5672 if test "x$LINE" != x ; then
5673 eval "DEFAULT_$LINE"
5678 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5682 eval "$ac_cv_use_protocol_file"
5683 if test "$no_cache" != 1; then
5684 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5687 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5688 echo "$as_me:$LINENO: result: yes" >&5
5689 echo "${ECHO_T}yes" >&6
5691 echo "$as_me:$LINENO: result: no" >&5
5692 echo "${ECHO_T}no" >&6
5700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5701 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5703 # Check whether --enable-threads or --disable-threads was given.
5704 if test "${enable_threads+set}" = set; then
5705 enableval="$enable_threads"
5707 if test "$enableval" = yes; then
5708 ac_cv_use_threads='wxUSE_THREADS=yes'
5710 ac_cv_use_threads='wxUSE_THREADS=no'
5715 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5716 if test "x$LINE" != x ; then
5717 eval "DEFAULT_$LINE"
5722 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5726 eval "$ac_cv_use_threads"
5727 if test "$no_cache" != 1; then
5728 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5731 if test "$wxUSE_THREADS" = yes; then
5732 echo "$as_me:$LINENO: result: yes" >&5
5733 echo "${ECHO_T}yes" >&6
5735 echo "$as_me:$LINENO: result: no" >&5
5736 echo "${ECHO_T}no" >&6
5740 if test "$wxUSE_GUI" = "yes"; then
5745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5748 # Check whether --enable-docview or --disable-docview was given.
5749 if test "${enable_docview+set}" = set; then
5750 enableval="$enable_docview"
5752 if test "$enableval" = yes; then
5753 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5755 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5760 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5761 if test "x$LINE" != x ; then
5762 eval "DEFAULT_$LINE"
5767 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5771 eval "$ac_cv_use_docview"
5772 if test "$no_cache" != 1; then
5773 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5776 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5777 echo "$as_me:$LINENO: result: yes" >&5
5778 echo "${ECHO_T}yes" >&6
5780 echo "$as_me:$LINENO: result: no" >&5
5781 echo "${ECHO_T}no" >&6
5786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5787 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5789 # Check whether --enable-help or --disable-help was given.
5790 if test "${enable_help+set}" = set; then
5791 enableval="$enable_help"
5793 if test "$enableval" = yes; then
5794 ac_cv_use_help='wxUSE_HELP=yes'
5796 ac_cv_use_help='wxUSE_HELP=no'
5801 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x ; then
5803 eval "DEFAULT_$LINE"
5808 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5812 eval "$ac_cv_use_help"
5813 if test "$no_cache" != 1; then
5814 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5817 if test "$wxUSE_HELP" = yes; then
5818 echo "$as_me:$LINENO: result: yes" >&5
5819 echo "${ECHO_T}yes" >&6
5821 echo "$as_me:$LINENO: result: no" >&5
5822 echo "${ECHO_T}no" >&6
5827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5828 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5830 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5831 if test "${enable_mshtmlhelp+set}" = set; then
5832 enableval="$enable_mshtmlhelp"
5834 if test "$enableval" = yes; then
5835 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5837 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5842 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x ; then
5844 eval "DEFAULT_$LINE"
5849 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5853 eval "$ac_cv_use_mshtmlhelp"
5854 if test "$no_cache" != 1; then
5855 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5858 if test "$wxUSE_MS_HTML_HELP" = yes; then
5859 echo "$as_me:$LINENO: result: yes" >&5
5860 echo "${ECHO_T}yes" >&6
5862 echo "$as_me:$LINENO: result: no" >&5
5863 echo "${ECHO_T}no" >&6
5868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5869 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5871 # Check whether --enable-html or --disable-html was given.
5872 if test "${enable_html+set}" = set; then
5873 enableval="$enable_html"
5875 if test "$enableval" = yes; then
5876 ac_cv_use_html='wxUSE_HTML=yes'
5878 ac_cv_use_html='wxUSE_HTML=no'
5883 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5884 if test "x$LINE" != x ; then
5885 eval "DEFAULT_$LINE"
5890 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5894 eval "$ac_cv_use_html"
5895 if test "$no_cache" != 1; then
5896 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5899 if test "$wxUSE_HTML" = yes; then
5900 echo "$as_me:$LINENO: result: yes" >&5
5901 echo "${ECHO_T}yes" >&6
5903 echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6
5909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5910 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5912 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5913 if test "${enable_htmlhelp+set}" = set; then
5914 enableval="$enable_htmlhelp"
5916 if test "$enableval" = yes; then
5917 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5919 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5924 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5925 if test "x$LINE" != x ; then
5926 eval "DEFAULT_$LINE"
5931 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5935 eval "$ac_cv_use_htmlhelp"
5936 if test "$no_cache" != 1; then
5937 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5940 if test "$wxUSE_WXHTML_HELP" = yes; then
5941 echo "$as_me:$LINENO: result: yes" >&5
5942 echo "${ECHO_T}yes" >&6
5944 echo "$as_me:$LINENO: result: no" >&5
5945 echo "${ECHO_T}no" >&6
5950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5951 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5953 # Check whether --enable-constraints or --disable-constraints was given.
5954 if test "${enable_constraints+set}" = set; then
5955 enableval="$enable_constraints"
5957 if test "$enableval" = yes; then
5958 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5960 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5965 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5966 if test "x$LINE" != x ; then
5967 eval "DEFAULT_$LINE"
5972 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5976 eval "$ac_cv_use_constraints"
5977 if test "$no_cache" != 1; then
5978 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5981 if test "$wxUSE_CONSTRAINTS" = yes; then
5982 echo "$as_me:$LINENO: result: yes" >&5
5983 echo "${ECHO_T}yes" >&6
5985 echo "$as_me:$LINENO: result: no" >&5
5986 echo "${ECHO_T}no" >&6
5991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5992 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5994 # Check whether --enable-printarch or --disable-printarch was given.
5995 if test "${enable_printarch+set}" = set; then
5996 enableval="$enable_printarch"
5998 if test "$enableval" = yes; then
5999 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6001 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6006 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x ; then
6008 eval "DEFAULT_$LINE"
6013 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6017 eval "$ac_cv_use_printarch"
6018 if test "$no_cache" != 1; then
6019 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6022 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6023 echo "$as_me:$LINENO: result: yes" >&5
6024 echo "${ECHO_T}yes" >&6
6026 echo "$as_me:$LINENO: result: no" >&5
6027 echo "${ECHO_T}no" >&6
6032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6033 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6035 # Check whether --enable-mdi or --disable-mdi was given.
6036 if test "${enable_mdi+set}" = set; then
6037 enableval="$enable_mdi"
6039 if test "$enableval" = yes; then
6040 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6042 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6047 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6048 if test "x$LINE" != x ; then
6049 eval "DEFAULT_$LINE"
6054 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6058 eval "$ac_cv_use_mdi"
6059 if test "$no_cache" != 1; then
6060 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6063 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6064 echo "$as_me:$LINENO: result: yes" >&5
6065 echo "${ECHO_T}yes" >&6
6067 echo "$as_me:$LINENO: result: no" >&5
6068 echo "${ECHO_T}no" >&6
6073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6074 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6076 # Check whether --enable-loggui or --disable-loggui was given.
6077 if test "${enable_loggui+set}" = set; then
6078 enableval="$enable_loggui"
6080 if test "$enableval" = yes; then
6081 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6083 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6088 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6089 if test "x$LINE" != x ; then
6090 eval "DEFAULT_$LINE"
6095 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6099 eval "$ac_cv_use_loggui"
6100 if test "$no_cache" != 1; then
6101 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6104 if test "$wxUSE_LOGGUI" = yes; then
6105 echo "$as_me:$LINENO: result: yes" >&5
6106 echo "${ECHO_T}yes" >&6
6108 echo "$as_me:$LINENO: result: no" >&5
6109 echo "${ECHO_T}no" >&6
6114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6117 # Check whether --enable-logwin or --disable-logwin was given.
6118 if test "${enable_logwin+set}" = set; then
6119 enableval="$enable_logwin"
6121 if test "$enableval" = yes; then
6122 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6124 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6129 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x ; then
6131 eval "DEFAULT_$LINE"
6136 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6140 eval "$ac_cv_use_logwin"
6141 if test "$no_cache" != 1; then
6142 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6145 if test "$wxUSE_LOGWINDOW" = yes; then
6146 echo "$as_me:$LINENO: result: yes" >&5
6147 echo "${ECHO_T}yes" >&6
6149 echo "$as_me:$LINENO: result: no" >&5
6150 echo "${ECHO_T}no" >&6
6155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6158 # Check whether --enable-logdialog or --disable-logdialog was given.
6159 if test "${enable_logdialog+set}" = set; then
6160 enableval="$enable_logdialog"
6162 if test "$enableval" = yes; then
6163 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6165 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6170 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6171 if test "x$LINE" != x ; then
6172 eval "DEFAULT_$LINE"
6177 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6181 eval "$ac_cv_use_logdialog"
6182 if test "$no_cache" != 1; then
6183 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6186 if test "$wxUSE_LOGDIALOG" = yes; then
6187 echo "$as_me:$LINENO: result: yes" >&5
6188 echo "${ECHO_T}yes" >&6
6190 echo "$as_me:$LINENO: result: no" >&5
6191 echo "${ECHO_T}no" >&6
6197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6198 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6200 # Check whether --enable-postscript or --disable-postscript was given.
6201 if test "${enable_postscript+set}" = set; then
6202 enableval="$enable_postscript"
6204 if test "$enableval" = yes; then
6205 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6207 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6212 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6213 if test "x$LINE" != x ; then
6214 eval "DEFAULT_$LINE"
6219 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6223 eval "$ac_cv_use_postscript"
6224 if test "$no_cache" != 1; then
6225 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6228 if test "$wxUSE_POSTSCRIPT" = yes; then
6229 echo "$as_me:$LINENO: result: yes" >&5
6230 echo "${ECHO_T}yes" >&6
6232 echo "$as_me:$LINENO: result: no" >&5
6233 echo "${ECHO_T}no" >&6
6241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6244 # Check whether --enable-prologio or --disable-prologio was given.
6245 if test "${enable_prologio+set}" = set; then
6246 enableval="$enable_prologio"
6248 if test "$enableval" = yes; then
6249 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6251 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6256 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x ; then
6258 eval "DEFAULT_$LINE"
6263 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6267 eval "$ac_cv_use_prologio"
6268 if test "$no_cache" != 1; then
6269 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6272 if test "$wxUSE_PROLOGIO" = yes; then
6273 echo "$as_me:$LINENO: result: yes" >&5
6274 echo "${ECHO_T}yes" >&6
6276 echo "$as_me:$LINENO: result: no" >&5
6277 echo "${ECHO_T}no" >&6
6282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6283 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6285 # Check whether --enable-resources or --disable-resources was given.
6286 if test "${enable_resources+set}" = set; then
6287 enableval="$enable_resources"
6289 if test "$enableval" = yes; then
6290 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6292 ac_cv_use_resources='wxUSE_RESOURCES=no'
6297 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6298 if test "x$LINE" != x ; then
6299 eval "DEFAULT_$LINE"
6304 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6308 eval "$ac_cv_use_resources"
6309 if test "$no_cache" != 1; then
6310 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6313 if test "$wxUSE_RESOURCES" = yes; then
6314 echo "$as_me:$LINENO: result: yes" >&5
6315 echo "${ECHO_T}yes" >&6
6317 echo "$as_me:$LINENO: result: no" >&5
6318 echo "${ECHO_T}no" >&6
6325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6326 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6328 # Check whether --enable-clipboard or --disable-clipboard was given.
6329 if test "${enable_clipboard+set}" = set; then
6330 enableval="$enable_clipboard"
6332 if test "$enableval" = yes; then
6333 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6335 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6340 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6341 if test "x$LINE" != x ; then
6342 eval "DEFAULT_$LINE"
6347 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6351 eval "$ac_cv_use_clipboard"
6352 if test "$no_cache" != 1; then
6353 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6356 if test "$wxUSE_CLIPBOARD" = yes; then
6357 echo "$as_me:$LINENO: result: yes" >&5
6358 echo "${ECHO_T}yes" >&6
6360 echo "$as_me:$LINENO: result: no" >&5
6361 echo "${ECHO_T}no" >&6
6366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6367 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6369 # Check whether --enable-dnd or --disable-dnd was given.
6370 if test "${enable_dnd+set}" = set; then
6371 enableval="$enable_dnd"
6373 if test "$enableval" = yes; then
6374 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6376 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6381 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6382 if test "x$LINE" != x ; then
6383 eval "DEFAULT_$LINE"
6388 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6392 eval "$ac_cv_use_dnd"
6393 if test "$no_cache" != 1; then
6394 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6397 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6398 echo "$as_me:$LINENO: result: yes" >&5
6399 echo "${ECHO_T}yes" >&6
6401 echo "$as_me:$LINENO: result: no" >&5
6402 echo "${ECHO_T}no" >&6
6407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6408 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6410 # Check whether --enable-metafile or --disable-metafile was given.
6411 if test "${enable_metafile+set}" = set; then
6412 enableval="$enable_metafile"
6414 if test "$enableval" = yes; then
6415 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6417 ac_cv_use_metafile='wxUSE_METAFILE=no'
6422 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6423 if test "x$LINE" != x ; then
6424 eval "DEFAULT_$LINE"
6429 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6433 eval "$ac_cv_use_metafile"
6434 if test "$no_cache" != 1; then
6435 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6438 if test "$wxUSE_METAFILE" = yes; then
6439 echo "$as_me:$LINENO: result: yes" >&5
6440 echo "${ECHO_T}yes" >&6
6442 echo "$as_me:$LINENO: result: no" >&5
6443 echo "${ECHO_T}no" >&6
6451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6452 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6454 # Check whether --enable-controls or --disable-controls was given.
6455 if test "${enable_controls+set}" = set; then
6456 enableval="$enable_controls"
6458 if test "$enableval" = yes; then
6459 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6461 ac_cv_use_controls='wxUSE_CONTROLS=no'
6466 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6467 if test "x$LINE" != x ; then
6468 eval "DEFAULT_$LINE"
6473 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6477 eval "$ac_cv_use_controls"
6478 if test "$no_cache" != 1; then
6479 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6482 if test "$wxUSE_CONTROLS" = yes; then
6483 echo "$as_me:$LINENO: result: yes" >&5
6484 echo "${ECHO_T}yes" >&6
6486 echo "$as_me:$LINENO: result: no" >&5
6487 echo "${ECHO_T}no" >&6
6491 if test "$wxUSE_CONTROLS" = "yes"; then
6492 DEFAULT_wxUSE_ACCEL=yes
6493 DEFAULT_wxUSE_BMPBUTTON=yes
6494 DEFAULT_wxUSE_BUTTON=yes
6495 DEFAULT_wxUSE_CALCTRL=no
6496 DEFAULT_wxUSE_CARET=yes
6497 DEFAULT_wxUSE_COMBOBOX=yes
6498 DEFAULT_wxUSE_CHECKBOX=yes
6499 DEFAULT_wxUSE_CHECKLISTBOX=yes
6500 DEFAULT_wxUSE_CHOICE=yes
6501 DEFAULT_wxUSE_GAUGE=yes
6502 DEFAULT_wxUSE_GRID=yes
6503 DEFAULT_wxUSE_IMAGLIST=yes
6504 DEFAULT_wxUSE_LISTBOX=yes
6505 DEFAULT_wxUSE_LISTCTRL=yes
6506 DEFAULT_wxUSE_NOTEBOOK=yes
6507 DEFAULT_wxUSE_RADIOBOX=yes
6508 DEFAULT_wxUSE_RADIOBTN=yes
6509 DEFAULT_wxUSE_SASH=yes
6510 DEFAULT_wxUSE_SCROLLBAR=yes
6511 DEFAULT_wxUSE_SLIDER=yes
6512 DEFAULT_wxUSE_SPINBTN=yes
6513 DEFAULT_wxUSE_SPINCTRL=yes
6514 DEFAULT_wxUSE_SPLITTER=yes
6515 DEFAULT_wxUSE_STATBMP=yes
6516 DEFAULT_wxUSE_STATBOX=yes
6517 DEFAULT_wxUSE_STATLINE=yes
6518 DEFAULT_wxUSE_STATUSBAR=yes
6519 DEFAULT_wxUSE_TAB_DIALOG=yes
6520 DEFAULT_wxUSE_TOGGLEBTN=yes
6521 DEFAULT_wxUSE_TOOLBAR=yes
6522 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6523 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6524 DEFAULT_wxUSE_TOOLTIPS=yes
6525 DEFAULT_wxUSE_TREECTRL=yes
6526 DEFAULT_wxUSE_POPUPWIN=yes
6527 DEFAULT_wxUSE_TIPWINDOW=yes
6528 elif test "$wxUSE_CONTROLS" = "no"; then
6529 DEFAULT_wxUSE_ACCEL=no
6530 DEFAULT_wxUSE_BMPBUTTON=no
6531 DEFAULT_wxUSE_BUTTON=no
6532 DEFAULT_wxUSE_CALCTRL=no
6533 DEFAULT_wxUSE_CARET=no
6534 DEFAULT_wxUSE_COMBOBOX=no
6535 DEFAULT_wxUSE_CHECKBOX=no
6536 DEFAULT_wxUSE_CHECKLISTBOX=no
6537 DEFAULT_wxUSE_CHOICE=no
6538 DEFAULT_wxUSE_GAUGE=no
6539 DEFAULT_wxUSE_GRID=no
6540 DEFAULT_wxUSE_IMAGLIST=no
6541 DEFAULT_wxUSE_LISTBOX=no
6542 DEFAULT_wxUSE_LISTCTRL=no
6543 DEFAULT_wxUSE_NOTEBOOK=no
6544 DEFAULT_wxUSE_RADIOBOX=no
6545 DEFAULT_wxUSE_RADIOBTN=no
6546 DEFAULT_wxUSE_SASH=no
6547 DEFAULT_wxUSE_SCROLLBAR=no
6548 DEFAULT_wxUSE_SLIDER=no
6549 DEFAULT_wxUSE_SPINBTN=no
6550 DEFAULT_wxUSE_SPINCTRL=no
6551 DEFAULT_wxUSE_SPLITTER=no
6552 DEFAULT_wxUSE_STATBMP=no
6553 DEFAULT_wxUSE_STATBOX=no
6554 DEFAULT_wxUSE_STATLINE=no
6555 DEFAULT_wxUSE_STATUSBAR=no
6556 DEFAULT_wxUSE_TAB_DIALOG=no
6557 DEFAULT_wxUSE_TOGGLEBTN=no
6558 DEFAULT_wxUSE_TOOLBAR=no
6559 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6560 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6561 DEFAULT_wxUSE_TOOLTIPS=no
6562 DEFAULT_wxUSE_TREECTRL=no
6563 DEFAULT_wxUSE_POPUPWIN=no
6564 DEFAULT_wxUSE_TIPWINDOW=no
6567 ## FIXME: This is a blatant hack
6568 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6569 wxUSE_PRINTING_ARCHITECTURE=no
6570 wxUSE_DRAG_AND_DROP=no
6571 # Generic notebook requires tab dialog
6572 DEFAULT_wxUSE_TABDIALOG=yes
6573 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6574 DEFAULT_wxUSE_SCROLLBAR=no
6575 DEFAULT_wxUSE_TOOLTIPS=no
6576 DEFAULT_wxUSE_DRAGIMAGE=no
6581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6582 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6584 # Check whether --enable-accel or --disable-accel was given.
6585 if test "${enable_accel+set}" = set; then
6586 enableval="$enable_accel"
6588 if test "$enableval" = yes; then
6589 ac_cv_use_accel='wxUSE_ACCEL=yes'
6591 ac_cv_use_accel='wxUSE_ACCEL=no'
6596 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6597 if test "x$LINE" != x ; then
6598 eval "DEFAULT_$LINE"
6603 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6607 eval "$ac_cv_use_accel"
6608 if test "$no_cache" != 1; then
6609 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6612 if test "$wxUSE_ACCEL" = yes; then
6613 echo "$as_me:$LINENO: result: yes" >&5
6614 echo "${ECHO_T}yes" >&6
6616 echo "$as_me:$LINENO: result: no" >&5
6617 echo "${ECHO_T}no" >&6
6622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6623 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6625 # Check whether --enable-button or --disable-button was given.
6626 if test "${enable_button+set}" = set; then
6627 enableval="$enable_button"
6629 if test "$enableval" = yes; then
6630 ac_cv_use_button='wxUSE_BUTTON=yes'
6632 ac_cv_use_button='wxUSE_BUTTON=no'
6637 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6638 if test "x$LINE" != x ; then
6639 eval "DEFAULT_$LINE"
6644 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6648 eval "$ac_cv_use_button"
6649 if test "$no_cache" != 1; then
6650 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6653 if test "$wxUSE_BUTTON" = yes; then
6654 echo "$as_me:$LINENO: result: yes" >&5
6655 echo "${ECHO_T}yes" >&6
6657 echo "$as_me:$LINENO: result: no" >&5
6658 echo "${ECHO_T}no" >&6
6663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6664 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6666 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6667 if test "${enable_bmpbutton+set}" = set; then
6668 enableval="$enable_bmpbutton"
6670 if test "$enableval" = yes; then
6671 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6673 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6678 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6679 if test "x$LINE" != x ; then
6680 eval "DEFAULT_$LINE"
6685 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6689 eval "$ac_cv_use_bmpbutton"
6690 if test "$no_cache" != 1; then
6691 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6694 if test "$wxUSE_BMPBUTTON" = yes; then
6695 echo "$as_me:$LINENO: result: yes" >&5
6696 echo "${ECHO_T}yes" >&6
6698 echo "$as_me:$LINENO: result: no" >&5
6699 echo "${ECHO_T}no" >&6
6704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6705 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6707 # Check whether --enable-calendar or --disable-calendar was given.
6708 if test "${enable_calendar+set}" = set; then
6709 enableval="$enable_calendar"
6711 if test "$enableval" = yes; then
6712 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6714 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6719 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6720 if test "x$LINE" != x ; then
6721 eval "DEFAULT_$LINE"
6726 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6730 eval "$ac_cv_use_calendar"
6731 if test "$no_cache" != 1; then
6732 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6735 if test "$wxUSE_CALCTRL" = yes; then
6736 echo "$as_me:$LINENO: result: yes" >&5
6737 echo "${ECHO_T}yes" >&6
6739 echo "$as_me:$LINENO: result: no" >&5
6740 echo "${ECHO_T}no" >&6
6745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6746 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6748 # Check whether --enable-caret or --disable-caret was given.
6749 if test "${enable_caret+set}" = set; then
6750 enableval="$enable_caret"
6752 if test "$enableval" = yes; then
6753 ac_cv_use_caret='wxUSE_CARET=yes'
6755 ac_cv_use_caret='wxUSE_CARET=no'
6760 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6761 if test "x$LINE" != x ; then
6762 eval "DEFAULT_$LINE"
6767 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6771 eval "$ac_cv_use_caret"
6772 if test "$no_cache" != 1; then
6773 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6776 if test "$wxUSE_CARET" = yes; then
6777 echo "$as_me:$LINENO: result: yes" >&5
6778 echo "${ECHO_T}yes" >&6
6780 echo "$as_me:$LINENO: result: no" >&5
6781 echo "${ECHO_T}no" >&6
6786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6787 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6789 # Check whether --enable-checkbox or --disable-checkbox was given.
6790 if test "${enable_checkbox+set}" = set; then
6791 enableval="$enable_checkbox"
6793 if test "$enableval" = yes; then
6794 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6796 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6801 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6802 if test "x$LINE" != x ; then
6803 eval "DEFAULT_$LINE"
6808 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6812 eval "$ac_cv_use_checkbox"
6813 if test "$no_cache" != 1; then
6814 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6817 if test "$wxUSE_CHECKBOX" = yes; then
6818 echo "$as_me:$LINENO: result: yes" >&5
6819 echo "${ECHO_T}yes" >&6
6821 echo "$as_me:$LINENO: result: no" >&5
6822 echo "${ECHO_T}no" >&6
6827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6828 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6830 # Check whether --enable-checklst or --disable-checklst was given.
6831 if test "${enable_checklst+set}" = set; then
6832 enableval="$enable_checklst"
6834 if test "$enableval" = yes; then
6835 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6837 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6842 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6843 if test "x$LINE" != x ; then
6844 eval "DEFAULT_$LINE"
6849 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6853 eval "$ac_cv_use_checklst"
6854 if test "$no_cache" != 1; then
6855 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6858 if test "$wxUSE_CHECKLST" = yes; then
6859 echo "$as_me:$LINENO: result: yes" >&5
6860 echo "${ECHO_T}yes" >&6
6862 echo "$as_me:$LINENO: result: no" >&5
6863 echo "${ECHO_T}no" >&6
6868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6869 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6871 # Check whether --enable-choice or --disable-choice was given.
6872 if test "${enable_choice+set}" = set; then
6873 enableval="$enable_choice"
6875 if test "$enableval" = yes; then
6876 ac_cv_use_choice='wxUSE_CHOICE=yes'
6878 ac_cv_use_choice='wxUSE_CHOICE=no'
6883 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6884 if test "x$LINE" != x ; then
6885 eval "DEFAULT_$LINE"
6890 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6894 eval "$ac_cv_use_choice"
6895 if test "$no_cache" != 1; then
6896 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6899 if test "$wxUSE_CHOICE" = yes; then
6900 echo "$as_me:$LINENO: result: yes" >&5
6901 echo "${ECHO_T}yes" >&6
6903 echo "$as_me:$LINENO: result: no" >&5
6904 echo "${ECHO_T}no" >&6
6909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6910 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6912 # Check whether --enable-combobox or --disable-combobox was given.
6913 if test "${enable_combobox+set}" = set; then
6914 enableval="$enable_combobox"
6916 if test "$enableval" = yes; then
6917 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6919 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6924 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6925 if test "x$LINE" != x ; then
6926 eval "DEFAULT_$LINE"
6931 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6935 eval "$ac_cv_use_combobox"
6936 if test "$no_cache" != 1; then
6937 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6940 if test "$wxUSE_COMBOBOX" = yes; then
6941 echo "$as_me:$LINENO: result: yes" >&5
6942 echo "${ECHO_T}yes" >&6
6944 echo "$as_me:$LINENO: result: no" >&5
6945 echo "${ECHO_T}no" >&6
6950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6951 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6953 # Check whether --enable-display or --disable-display was given.
6954 if test "${enable_display+set}" = set; then
6955 enableval="$enable_display"
6957 if test "$enableval" = yes; then
6958 ac_cv_use_display='wxUSE_DISPLAY=yes'
6960 ac_cv_use_display='wxUSE_DISPLAY=no'
6965 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6966 if test "x$LINE" != x ; then
6967 eval "DEFAULT_$LINE"
6972 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6976 eval "$ac_cv_use_display"
6977 if test "$no_cache" != 1; then
6978 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6981 if test "$wxUSE_DISPLAY" = yes; then
6982 echo "$as_me:$LINENO: result: yes" >&5
6983 echo "${ECHO_T}yes" >&6
6985 echo "$as_me:$LINENO: result: no" >&5
6986 echo "${ECHO_T}no" >&6
6991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6992 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6994 # Check whether --enable-gauge or --disable-gauge was given.
6995 if test "${enable_gauge+set}" = set; then
6996 enableval="$enable_gauge"
6998 if test "$enableval" = yes; then
6999 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7001 ac_cv_use_gauge='wxUSE_GAUGE=no'
7006 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7007 if test "x$LINE" != x ; then
7008 eval "DEFAULT_$LINE"
7013 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7017 eval "$ac_cv_use_gauge"
7018 if test "$no_cache" != 1; then
7019 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7022 if test "$wxUSE_GAUGE" = yes; then
7023 echo "$as_me:$LINENO: result: yes" >&5
7024 echo "${ECHO_T}yes" >&6
7026 echo "$as_me:$LINENO: result: no" >&5
7027 echo "${ECHO_T}no" >&6
7032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7033 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7035 # Check whether --enable-grid or --disable-grid was given.
7036 if test "${enable_grid+set}" = set; then
7037 enableval="$enable_grid"
7039 if test "$enableval" = yes; then
7040 ac_cv_use_grid='wxUSE_GRID=yes'
7042 ac_cv_use_grid='wxUSE_GRID=no'
7047 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7048 if test "x$LINE" != x ; then
7049 eval "DEFAULT_$LINE"
7054 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7058 eval "$ac_cv_use_grid"
7059 if test "$no_cache" != 1; then
7060 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7063 if test "$wxUSE_GRID" = yes; then
7064 echo "$as_me:$LINENO: result: yes" >&5
7065 echo "${ECHO_T}yes" >&6
7067 echo "$as_me:$LINENO: result: no" >&5
7068 echo "${ECHO_T}no" >&6
7073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7074 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7076 # Check whether --enable-imaglist or --disable-imaglist was given.
7077 if test "${enable_imaglist+set}" = set; then
7078 enableval="$enable_imaglist"
7080 if test "$enableval" = yes; then
7081 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7083 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7088 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7089 if test "x$LINE" != x ; then
7090 eval "DEFAULT_$LINE"
7095 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7099 eval "$ac_cv_use_imaglist"
7100 if test "$no_cache" != 1; then
7101 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7104 if test "$wxUSE_IMAGLIST" = yes; then
7105 echo "$as_me:$LINENO: result: yes" >&5
7106 echo "${ECHO_T}yes" >&6
7108 echo "$as_me:$LINENO: result: no" >&5
7109 echo "${ECHO_T}no" >&6
7114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7115 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7117 # Check whether --enable-listbox or --disable-listbox was given.
7118 if test "${enable_listbox+set}" = set; then
7119 enableval="$enable_listbox"
7121 if test "$enableval" = yes; then
7122 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7124 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7129 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7130 if test "x$LINE" != x ; then
7131 eval "DEFAULT_$LINE"
7136 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7140 eval "$ac_cv_use_listbox"
7141 if test "$no_cache" != 1; then
7142 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7145 if test "$wxUSE_LISTBOX" = yes; then
7146 echo "$as_me:$LINENO: result: yes" >&5
7147 echo "${ECHO_T}yes" >&6
7149 echo "$as_me:$LINENO: result: no" >&5
7150 echo "${ECHO_T}no" >&6
7155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7156 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7158 # Check whether --enable-listctrl or --disable-listctrl was given.
7159 if test "${enable_listctrl+set}" = set; then
7160 enableval="$enable_listctrl"
7162 if test "$enableval" = yes; then
7163 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7165 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7170 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7171 if test "x$LINE" != x ; then
7172 eval "DEFAULT_$LINE"
7177 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7181 eval "$ac_cv_use_listctrl"
7182 if test "$no_cache" != 1; then
7183 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7186 if test "$wxUSE_LISTCTRL" = yes; then
7187 echo "$as_me:$LINENO: result: yes" >&5
7188 echo "${ECHO_T}yes" >&6
7190 echo "$as_me:$LINENO: result: no" >&5
7191 echo "${ECHO_T}no" >&6
7196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7197 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7199 # Check whether --enable-notebook or --disable-notebook was given.
7200 if test "${enable_notebook+set}" = set; then
7201 enableval="$enable_notebook"
7203 if test "$enableval" = yes; then
7204 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7206 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7211 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x ; then
7213 eval "DEFAULT_$LINE"
7218 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7222 eval "$ac_cv_use_notebook"
7223 if test "$no_cache" != 1; then
7224 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7227 if test "$wxUSE_NOTEBOOK" = yes; then
7228 echo "$as_me:$LINENO: result: yes" >&5
7229 echo "${ECHO_T}yes" >&6
7231 echo "$as_me:$LINENO: result: no" >&5
7232 echo "${ECHO_T}no" >&6
7237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7238 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7240 # Check whether --enable-radiobox or --disable-radiobox was given.
7241 if test "${enable_radiobox+set}" = set; then
7242 enableval="$enable_radiobox"
7244 if test "$enableval" = yes; then
7245 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7247 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7252 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7253 if test "x$LINE" != x ; then
7254 eval "DEFAULT_$LINE"
7259 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7263 eval "$ac_cv_use_radiobox"
7264 if test "$no_cache" != 1; then
7265 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7268 if test "$wxUSE_RADIOBOX" = yes; then
7269 echo "$as_me:$LINENO: result: yes" >&5
7270 echo "${ECHO_T}yes" >&6
7272 echo "$as_me:$LINENO: result: no" >&5
7273 echo "${ECHO_T}no" >&6
7278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7279 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7281 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7282 if test "${enable_radiobtn+set}" = set; then
7283 enableval="$enable_radiobtn"
7285 if test "$enableval" = yes; then
7286 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7288 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7293 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7294 if test "x$LINE" != x ; then
7295 eval "DEFAULT_$LINE"
7300 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7304 eval "$ac_cv_use_radiobtn"
7305 if test "$no_cache" != 1; then
7306 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7309 if test "$wxUSE_RADIOBTN" = yes; then
7310 echo "$as_me:$LINENO: result: yes" >&5
7311 echo "${ECHO_T}yes" >&6
7313 echo "$as_me:$LINENO: result: no" >&5
7314 echo "${ECHO_T}no" >&6
7319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7320 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7322 # Check whether --enable-sash or --disable-sash was given.
7323 if test "${enable_sash+set}" = set; then
7324 enableval="$enable_sash"
7326 if test "$enableval" = yes; then
7327 ac_cv_use_sash='wxUSE_SASH=yes'
7329 ac_cv_use_sash='wxUSE_SASH=no'
7334 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7335 if test "x$LINE" != x ; then
7336 eval "DEFAULT_$LINE"
7341 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7345 eval "$ac_cv_use_sash"
7346 if test "$no_cache" != 1; then
7347 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7350 if test "$wxUSE_SASH" = yes; then
7351 echo "$as_me:$LINENO: result: yes" >&5
7352 echo "${ECHO_T}yes" >&6
7354 echo "$as_me:$LINENO: result: no" >&5
7355 echo "${ECHO_T}no" >&6
7360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7361 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7363 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7364 if test "${enable_scrollbar+set}" = set; then
7365 enableval="$enable_scrollbar"
7367 if test "$enableval" = yes; then
7368 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7370 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7375 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7376 if test "x$LINE" != x ; then
7377 eval "DEFAULT_$LINE"
7382 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7386 eval "$ac_cv_use_scrollbar"
7387 if test "$no_cache" != 1; then
7388 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7391 if test "$wxUSE_SCROLLBAR" = yes; then
7392 echo "$as_me:$LINENO: result: yes" >&5
7393 echo "${ECHO_T}yes" >&6
7395 echo "$as_me:$LINENO: result: no" >&5
7396 echo "${ECHO_T}no" >&6
7401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7402 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7404 # Check whether --enable-slider or --disable-slider was given.
7405 if test "${enable_slider+set}" = set; then
7406 enableval="$enable_slider"
7408 if test "$enableval" = yes; then
7409 ac_cv_use_slider='wxUSE_SLIDER=yes'
7411 ac_cv_use_slider='wxUSE_SLIDER=no'
7416 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7417 if test "x$LINE" != x ; then
7418 eval "DEFAULT_$LINE"
7423 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7427 eval "$ac_cv_use_slider"
7428 if test "$no_cache" != 1; then
7429 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7432 if test "$wxUSE_SLIDER" = yes; then
7433 echo "$as_me:$LINENO: result: yes" >&5
7434 echo "${ECHO_T}yes" >&6
7436 echo "$as_me:$LINENO: result: no" >&5
7437 echo "${ECHO_T}no" >&6
7442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7443 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7445 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7446 if test "${enable_spinbtn+set}" = set; then
7447 enableval="$enable_spinbtn"
7449 if test "$enableval" = yes; then
7450 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7452 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7457 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7458 if test "x$LINE" != x ; then
7459 eval "DEFAULT_$LINE"
7464 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7468 eval "$ac_cv_use_spinbtn"
7469 if test "$no_cache" != 1; then
7470 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7473 if test "$wxUSE_SPINBTN" = yes; then
7474 echo "$as_me:$LINENO: result: yes" >&5
7475 echo "${ECHO_T}yes" >&6
7477 echo "$as_me:$LINENO: result: no" >&5
7478 echo "${ECHO_T}no" >&6
7483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7484 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7486 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7487 if test "${enable_spinctrl+set}" = set; then
7488 enableval="$enable_spinctrl"
7490 if test "$enableval" = yes; then
7491 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7493 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7498 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7499 if test "x$LINE" != x ; then
7500 eval "DEFAULT_$LINE"
7505 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7509 eval "$ac_cv_use_spinctrl"
7510 if test "$no_cache" != 1; then
7511 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7514 if test "$wxUSE_SPINCTRL" = yes; then
7515 echo "$as_me:$LINENO: result: yes" >&5
7516 echo "${ECHO_T}yes" >&6
7518 echo "$as_me:$LINENO: result: no" >&5
7519 echo "${ECHO_T}no" >&6
7524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7525 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7527 # Check whether --enable-splitter or --disable-splitter was given.
7528 if test "${enable_splitter+set}" = set; then
7529 enableval="$enable_splitter"
7531 if test "$enableval" = yes; then
7532 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7534 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7539 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7540 if test "x$LINE" != x ; then
7541 eval "DEFAULT_$LINE"
7546 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7550 eval "$ac_cv_use_splitter"
7551 if test "$no_cache" != 1; then
7552 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7555 if test "$wxUSE_SPLITTER" = yes; then
7556 echo "$as_me:$LINENO: result: yes" >&5
7557 echo "${ECHO_T}yes" >&6
7559 echo "$as_me:$LINENO: result: no" >&5
7560 echo "${ECHO_T}no" >&6
7565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7566 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7568 # Check whether --enable-statbmp or --disable-statbmp was given.
7569 if test "${enable_statbmp+set}" = set; then
7570 enableval="$enable_statbmp"
7572 if test "$enableval" = yes; then
7573 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7575 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7580 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7581 if test "x$LINE" != x ; then
7582 eval "DEFAULT_$LINE"
7587 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7591 eval "$ac_cv_use_statbmp"
7592 if test "$no_cache" != 1; then
7593 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7596 if test "$wxUSE_STATBMP" = yes; then
7597 echo "$as_me:$LINENO: result: yes" >&5
7598 echo "${ECHO_T}yes" >&6
7600 echo "$as_me:$LINENO: result: no" >&5
7601 echo "${ECHO_T}no" >&6
7606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7607 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7609 # Check whether --enable-statbox or --disable-statbox was given.
7610 if test "${enable_statbox+set}" = set; then
7611 enableval="$enable_statbox"
7613 if test "$enableval" = yes; then
7614 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7616 ac_cv_use_statbox='wxUSE_STATBOX=no'
7621 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7622 if test "x$LINE" != x ; then
7623 eval "DEFAULT_$LINE"
7628 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7632 eval "$ac_cv_use_statbox"
7633 if test "$no_cache" != 1; then
7634 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7637 if test "$wxUSE_STATBOX" = yes; then
7638 echo "$as_me:$LINENO: result: yes" >&5
7639 echo "${ECHO_T}yes" >&6
7641 echo "$as_me:$LINENO: result: no" >&5
7642 echo "${ECHO_T}no" >&6
7647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7648 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7650 # Check whether --enable-statline or --disable-statline was given.
7651 if test "${enable_statline+set}" = set; then
7652 enableval="$enable_statline"
7654 if test "$enableval" = yes; then
7655 ac_cv_use_statline='wxUSE_STATLINE=yes'
7657 ac_cv_use_statline='wxUSE_STATLINE=no'
7662 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7663 if test "x$LINE" != x ; then
7664 eval "DEFAULT_$LINE"
7669 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7673 eval "$ac_cv_use_statline"
7674 if test "$no_cache" != 1; then
7675 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7678 if test "$wxUSE_STATLINE" = yes; then
7679 echo "$as_me:$LINENO: result: yes" >&5
7680 echo "${ECHO_T}yes" >&6
7682 echo "$as_me:$LINENO: result: no" >&5
7683 echo "${ECHO_T}no" >&6
7688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7689 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7691 # Check whether --enable-stattext or --disable-stattext was given.
7692 if test "${enable_stattext+set}" = set; then
7693 enableval="$enable_stattext"
7695 if test "$enableval" = yes; then
7696 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7698 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7703 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7704 if test "x$LINE" != x ; then
7705 eval "DEFAULT_$LINE"
7710 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7714 eval "$ac_cv_use_stattext"
7715 if test "$no_cache" != 1; then
7716 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7719 if test "$wxUSE_STATTEXT" = yes; then
7720 echo "$as_me:$LINENO: result: yes" >&5
7721 echo "${ECHO_T}yes" >&6
7723 echo "$as_me:$LINENO: result: no" >&5
7724 echo "${ECHO_T}no" >&6
7729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7730 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7732 # Check whether --enable-statusbar or --disable-statusbar was given.
7733 if test "${enable_statusbar+set}" = set; then
7734 enableval="$enable_statusbar"
7736 if test "$enableval" = yes; then
7737 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7739 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7744 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7745 if test "x$LINE" != x ; then
7746 eval "DEFAULT_$LINE"
7751 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7755 eval "$ac_cv_use_statusbar"
7756 if test "$no_cache" != 1; then
7757 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7760 if test "$wxUSE_STATUSBAR" = yes; then
7761 echo "$as_me:$LINENO: result: yes" >&5
7762 echo "${ECHO_T}yes" >&6
7764 echo "$as_me:$LINENO: result: no" >&5
7765 echo "${ECHO_T}no" >&6
7770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7771 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7773 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7774 if test "${enable_tabdialog+set}" = set; then
7775 enableval="$enable_tabdialog"
7777 if test "$enableval" = yes; then
7778 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7780 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7785 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7786 if test "x$LINE" != x ; then
7787 eval "DEFAULT_$LINE"
7792 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7796 eval "$ac_cv_use_tabdialog"
7797 if test "$no_cache" != 1; then
7798 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7801 if test "$wxUSE_TABDIALOG" = yes; then
7802 echo "$as_me:$LINENO: result: yes" >&5
7803 echo "${ECHO_T}yes" >&6
7805 echo "$as_me:$LINENO: result: no" >&5
7806 echo "${ECHO_T}no" >&6
7811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7812 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7814 # Check whether --enable-textctrl or --disable-textctrl was given.
7815 if test "${enable_textctrl+set}" = set; then
7816 enableval="$enable_textctrl"
7818 if test "$enableval" = yes; then
7819 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7821 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7826 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7827 if test "x$LINE" != x ; then
7828 eval "DEFAULT_$LINE"
7833 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7837 eval "$ac_cv_use_textctrl"
7838 if test "$no_cache" != 1; then
7839 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7842 if test "$wxUSE_TEXTCTRL" = yes; then
7843 echo "$as_me:$LINENO: result: yes" >&5
7844 echo "${ECHO_T}yes" >&6
7846 echo "$as_me:$LINENO: result: no" >&5
7847 echo "${ECHO_T}no" >&6
7852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7853 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7855 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7856 if test "${enable_togglebtn+set}" = set; then
7857 enableval="$enable_togglebtn"
7859 if test "$enableval" = yes; then
7860 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7862 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7867 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7868 if test "x$LINE" != x ; then
7869 eval "DEFAULT_$LINE"
7874 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7878 eval "$ac_cv_use_togglebtn"
7879 if test "$no_cache" != 1; then
7880 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7883 if test "$wxUSE_TOGGLEBTN" = yes; then
7884 echo "$as_me:$LINENO: result: yes" >&5
7885 echo "${ECHO_T}yes" >&6
7887 echo "$as_me:$LINENO: result: no" >&5
7888 echo "${ECHO_T}no" >&6
7893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7894 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7896 # Check whether --enable-toolbar or --disable-toolbar was given.
7897 if test "${enable_toolbar+set}" = set; then
7898 enableval="$enable_toolbar"
7900 if test "$enableval" = yes; then
7901 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7903 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7908 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7909 if test "x$LINE" != x ; then
7910 eval "DEFAULT_$LINE"
7915 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7919 eval "$ac_cv_use_toolbar"
7920 if test "$no_cache" != 1; then
7921 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7924 if test "$wxUSE_TOOLBAR" = yes; then
7925 echo "$as_me:$LINENO: result: yes" >&5
7926 echo "${ECHO_T}yes" >&6
7928 echo "$as_me:$LINENO: result: no" >&5
7929 echo "${ECHO_T}no" >&6
7934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7935 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7937 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7938 if test "${enable_tbarnative+set}" = set; then
7939 enableval="$enable_tbarnative"
7941 if test "$enableval" = yes; then
7942 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7944 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7949 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7950 if test "x$LINE" != x ; then
7951 eval "DEFAULT_$LINE"
7956 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7960 eval "$ac_cv_use_tbarnative"
7961 if test "$no_cache" != 1; then
7962 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7965 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7966 echo "$as_me:$LINENO: result: yes" >&5
7967 echo "${ECHO_T}yes" >&6
7969 echo "$as_me:$LINENO: result: no" >&5
7970 echo "${ECHO_T}no" >&6
7975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7976 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7978 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7979 if test "${enable_tbarsmpl+set}" = set; then
7980 enableval="$enable_tbarsmpl"
7982 if test "$enableval" = yes; then
7983 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7985 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7990 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7991 if test "x$LINE" != x ; then
7992 eval "DEFAULT_$LINE"
7997 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8001 eval "$ac_cv_use_tbarsmpl"
8002 if test "$no_cache" != 1; then
8003 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8006 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8007 echo "$as_me:$LINENO: result: yes" >&5
8008 echo "${ECHO_T}yes" >&6
8010 echo "$as_me:$LINENO: result: no" >&5
8011 echo "${ECHO_T}no" >&6
8016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8017 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8019 # Check whether --enable-treectrl or --disable-treectrl was given.
8020 if test "${enable_treectrl+set}" = set; then
8021 enableval="$enable_treectrl"
8023 if test "$enableval" = yes; then
8024 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8026 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8031 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8032 if test "x$LINE" != x ; then
8033 eval "DEFAULT_$LINE"
8038 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8042 eval "$ac_cv_use_treectrl"
8043 if test "$no_cache" != 1; then
8044 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8047 if test "$wxUSE_TREECTRL" = yes; then
8048 echo "$as_me:$LINENO: result: yes" >&5
8049 echo "${ECHO_T}yes" >&6
8051 echo "$as_me:$LINENO: result: no" >&5
8052 echo "${ECHO_T}no" >&6
8057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8058 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8060 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8061 if test "${enable_tipwindow+set}" = set; then
8062 enableval="$enable_tipwindow"
8064 if test "$enableval" = yes; then
8065 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8067 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8072 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8073 if test "x$LINE" != x ; then
8074 eval "DEFAULT_$LINE"
8079 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8083 eval "$ac_cv_use_tipwindow"
8084 if test "$no_cache" != 1; then
8085 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8088 if test "$wxUSE_TIPWINDOW" = yes; then
8089 echo "$as_me:$LINENO: result: yes" >&5
8090 echo "${ECHO_T}yes" >&6
8092 echo "$as_me:$LINENO: result: no" >&5
8093 echo "${ECHO_T}no" >&6
8098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8099 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8101 # Check whether --enable-popupwin or --disable-popupwin was given.
8102 if test "${enable_popupwin+set}" = set; then
8103 enableval="$enable_popupwin"
8105 if test "$enableval" = yes; then
8106 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8108 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8113 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8114 if test "x$LINE" != x ; then
8115 eval "DEFAULT_$LINE"
8120 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8124 eval "$ac_cv_use_popupwin"
8125 if test "$no_cache" != 1; then
8126 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8129 if test "$wxUSE_POPUPWIN" = yes; then
8130 echo "$as_me:$LINENO: result: yes" >&5
8131 echo "${ECHO_T}yes" >&6
8133 echo "$as_me:$LINENO: result: no" >&5
8134 echo "${ECHO_T}no" >&6
8141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8142 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8144 # Check whether --enable-commondlg or --disable-commondlg was given.
8145 if test "${enable_commondlg+set}" = set; then
8146 enableval="$enable_commondlg"
8148 if test "$enableval" = yes; then
8149 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8151 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8156 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8157 if test "x$LINE" != x ; then
8158 eval "DEFAULT_$LINE"
8163 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8167 eval "$ac_cv_use_commondlg"
8168 if test "$no_cache" != 1; then
8169 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8172 if test "$wxUSE_COMMONDLGS" = yes; then
8173 echo "$as_me:$LINENO: result: yes" >&5
8174 echo "${ECHO_T}yes" >&6
8176 echo "$as_me:$LINENO: result: no" >&5
8177 echo "${ECHO_T}no" >&6
8182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8185 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8186 if test "${enable_choicedlg+set}" = set; then
8187 enableval="$enable_choicedlg"
8189 if test "$enableval" = yes; then
8190 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8192 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8197 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8198 if test "x$LINE" != x ; then
8199 eval "DEFAULT_$LINE"
8204 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8208 eval "$ac_cv_use_choicedlg"
8209 if test "$no_cache" != 1; then
8210 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8213 if test "$wxUSE_CHOICEDLG" = yes; then
8214 echo "$as_me:$LINENO: result: yes" >&5
8215 echo "${ECHO_T}yes" >&6
8217 echo "$as_me:$LINENO: result: no" >&5
8218 echo "${ECHO_T}no" >&6
8223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8224 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8226 # Check whether --enable-coldlg or --disable-coldlg was given.
8227 if test "${enable_coldlg+set}" = set; then
8228 enableval="$enable_coldlg"
8230 if test "$enableval" = yes; then
8231 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8233 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8238 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8239 if test "x$LINE" != x ; then
8240 eval "DEFAULT_$LINE"
8245 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8249 eval "$ac_cv_use_coldlg"
8250 if test "$no_cache" != 1; then
8251 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8254 if test "$wxUSE_COLOURDLG" = yes; then
8255 echo "$as_me:$LINENO: result: yes" >&5
8256 echo "${ECHO_T}yes" >&6
8258 echo "$as_me:$LINENO: result: no" >&5
8259 echo "${ECHO_T}no" >&6
8264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8265 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8267 # Check whether --enable-filedlg or --disable-filedlg was given.
8268 if test "${enable_filedlg+set}" = set; then
8269 enableval="$enable_filedlg"
8271 if test "$enableval" = yes; then
8272 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8274 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8279 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8280 if test "x$LINE" != x ; then
8281 eval "DEFAULT_$LINE"
8286 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8290 eval "$ac_cv_use_filedlg"
8291 if test "$no_cache" != 1; then
8292 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8295 if test "$wxUSE_FILEDLG" = yes; then
8296 echo "$as_me:$LINENO: result: yes" >&5
8297 echo "${ECHO_T}yes" >&6
8299 echo "$as_me:$LINENO: result: no" >&5
8300 echo "${ECHO_T}no" >&6
8305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8306 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8308 # Check whether --enable-finddlg or --disable-finddlg was given.
8309 if test "${enable_finddlg+set}" = set; then
8310 enableval="$enable_finddlg"
8312 if test "$enableval" = yes; then
8313 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8315 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8320 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8321 if test "x$LINE" != x ; then
8322 eval "DEFAULT_$LINE"
8327 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8331 eval "$ac_cv_use_finddlg"
8332 if test "$no_cache" != 1; then
8333 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8336 if test "$wxUSE_FINDREPLDLG" = yes; then
8337 echo "$as_me:$LINENO: result: yes" >&5
8338 echo "${ECHO_T}yes" >&6
8340 echo "$as_me:$LINENO: result: no" >&5
8341 echo "${ECHO_T}no" >&6
8346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8347 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8349 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8350 if test "${enable_fontdlg+set}" = set; then
8351 enableval="$enable_fontdlg"
8353 if test "$enableval" = yes; then
8354 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8356 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8361 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8362 if test "x$LINE" != x ; then
8363 eval "DEFAULT_$LINE"
8368 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8372 eval "$ac_cv_use_fontdlg"
8373 if test "$no_cache" != 1; then
8374 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8377 if test "$wxUSE_FONTDLG" = yes; then
8378 echo "$as_me:$LINENO: result: yes" >&5
8379 echo "${ECHO_T}yes" >&6
8381 echo "$as_me:$LINENO: result: no" >&5
8382 echo "${ECHO_T}no" >&6
8387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8388 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8390 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8391 if test "${enable_dirdlg+set}" = set; then
8392 enableval="$enable_dirdlg"
8394 if test "$enableval" = yes; then
8395 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8397 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8402 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8403 if test "x$LINE" != x ; then
8404 eval "DEFAULT_$LINE"
8409 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8413 eval "$ac_cv_use_dirdlg"
8414 if test "$no_cache" != 1; then
8415 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8418 if test "$wxUSE_DIRDLG" = yes; then
8419 echo "$as_me:$LINENO: result: yes" >&5
8420 echo "${ECHO_T}yes" >&6
8422 echo "$as_me:$LINENO: result: no" >&5
8423 echo "${ECHO_T}no" >&6
8428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8429 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8431 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8432 if test "${enable_msgdlg+set}" = set; then
8433 enableval="$enable_msgdlg"
8435 if test "$enableval" = yes; then
8436 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8438 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8443 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8444 if test "x$LINE" != x ; then
8445 eval "DEFAULT_$LINE"
8450 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8454 eval "$ac_cv_use_msgdlg"
8455 if test "$no_cache" != 1; then
8456 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8459 if test "$wxUSE_MSGDLG" = yes; then
8460 echo "$as_me:$LINENO: result: yes" >&5
8461 echo "${ECHO_T}yes" >&6
8463 echo "$as_me:$LINENO: result: no" >&5
8464 echo "${ECHO_T}no" >&6
8469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8470 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8472 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8473 if test "${enable_numberdlg+set}" = set; then
8474 enableval="$enable_numberdlg"
8476 if test "$enableval" = yes; then
8477 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8479 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8484 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8485 if test "x$LINE" != x ; then
8486 eval "DEFAULT_$LINE"
8491 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8495 eval "$ac_cv_use_numberdlg"
8496 if test "$no_cache" != 1; then
8497 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8500 if test "$wxUSE_NUMBERDLG" = yes; then
8501 echo "$as_me:$LINENO: result: yes" >&5
8502 echo "${ECHO_T}yes" >&6
8504 echo "$as_me:$LINENO: result: no" >&5
8505 echo "${ECHO_T}no" >&6
8510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8511 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8513 # Check whether --enable-splash or --disable-splash was given.
8514 if test "${enable_splash+set}" = set; then
8515 enableval="$enable_splash"
8517 if test "$enableval" = yes; then
8518 ac_cv_use_splash='wxUSE_SPLASH=yes'
8520 ac_cv_use_splash='wxUSE_SPLASH=no'
8525 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8526 if test "x$LINE" != x ; then
8527 eval "DEFAULT_$LINE"
8532 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8536 eval "$ac_cv_use_splash"
8537 if test "$no_cache" != 1; then
8538 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8541 if test "$wxUSE_SPLASH" = yes; then
8542 echo "$as_me:$LINENO: result: yes" >&5
8543 echo "${ECHO_T}yes" >&6
8545 echo "$as_me:$LINENO: result: no" >&5
8546 echo "${ECHO_T}no" >&6
8551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8552 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8554 # Check whether --enable-textdlg or --disable-textdlg was given.
8555 if test "${enable_textdlg+set}" = set; then
8556 enableval="$enable_textdlg"
8558 if test "$enableval" = yes; then
8559 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8561 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8566 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8567 if test "x$LINE" != x ; then
8568 eval "DEFAULT_$LINE"
8573 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8577 eval "$ac_cv_use_textdlg"
8578 if test "$no_cache" != 1; then
8579 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8582 if test "$wxUSE_TEXTDLG" = yes; then
8583 echo "$as_me:$LINENO: result: yes" >&5
8584 echo "${ECHO_T}yes" >&6
8586 echo "$as_me:$LINENO: result: no" >&5
8587 echo "${ECHO_T}no" >&6
8592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8593 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8595 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8596 if test "${enable_tipdlg+set}" = set; then
8597 enableval="$enable_tipdlg"
8599 if test "$enableval" = yes; then
8600 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8602 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8607 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8608 if test "x$LINE" != x ; then
8609 eval "DEFAULT_$LINE"
8614 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8618 eval "$ac_cv_use_tipdlg"
8619 if test "$no_cache" != 1; then
8620 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8623 if test "$wxUSE_STARTUP_TIPS" = yes; then
8624 echo "$as_me:$LINENO: result: yes" >&5
8625 echo "${ECHO_T}yes" >&6
8627 echo "$as_me:$LINENO: result: no" >&5
8628 echo "${ECHO_T}no" >&6
8633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8634 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8636 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8637 if test "${enable_progressdlg+set}" = set; then
8638 enableval="$enable_progressdlg"
8640 if test "$enableval" = yes; then
8641 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8643 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8648 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8649 if test "x$LINE" != x ; then
8650 eval "DEFAULT_$LINE"
8655 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8659 eval "$ac_cv_use_progressdlg"
8660 if test "$no_cache" != 1; then
8661 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8664 if test "$wxUSE_PROGRESSDLG" = yes; then
8665 echo "$as_me:$LINENO: result: yes" >&5
8666 echo "${ECHO_T}yes" >&6
8668 echo "$as_me:$LINENO: result: no" >&5
8669 echo "${ECHO_T}no" >&6
8674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8675 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8677 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8678 if test "${enable_wizarddlg+set}" = set; then
8679 enableval="$enable_wizarddlg"
8681 if test "$enableval" = yes; then
8682 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8684 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8689 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8690 if test "x$LINE" != x ; then
8691 eval "DEFAULT_$LINE"
8696 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8700 eval "$ac_cv_use_wizarddlg"
8701 if test "$no_cache" != 1; then
8702 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8705 if test "$wxUSE_WIZARDDLG" = yes; then
8706 echo "$as_me:$LINENO: result: yes" >&5
8707 echo "${ECHO_T}yes" >&6
8709 echo "$as_me:$LINENO: result: no" >&5
8710 echo "${ECHO_T}no" >&6
8717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8718 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8720 # Check whether --enable-menus or --disable-menus was given.
8721 if test "${enable_menus+set}" = set; then
8722 enableval="$enable_menus"
8724 if test "$enableval" = yes; then
8725 ac_cv_use_menus='wxUSE_MENUS=yes'
8727 ac_cv_use_menus='wxUSE_MENUS=no'
8732 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8733 if test "x$LINE" != x ; then
8734 eval "DEFAULT_$LINE"
8739 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8743 eval "$ac_cv_use_menus"
8744 if test "$no_cache" != 1; then
8745 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8748 if test "$wxUSE_MENUS" = yes; then
8749 echo "$as_me:$LINENO: result: yes" >&5
8750 echo "${ECHO_T}yes" >&6
8752 echo "$as_me:$LINENO: result: no" >&5
8753 echo "${ECHO_T}no" >&6
8758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8759 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8761 # Check whether --enable-miniframe or --disable-miniframe was given.
8762 if test "${enable_miniframe+set}" = set; then
8763 enableval="$enable_miniframe"
8765 if test "$enableval" = yes; then
8766 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8768 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8773 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8774 if test "x$LINE" != x ; then
8775 eval "DEFAULT_$LINE"
8780 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8784 eval "$ac_cv_use_miniframe"
8785 if test "$no_cache" != 1; then
8786 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8789 if test "$wxUSE_MINIFRAME" = yes; then
8790 echo "$as_me:$LINENO: result: yes" >&5
8791 echo "${ECHO_T}yes" >&6
8793 echo "$as_me:$LINENO: result: no" >&5
8794 echo "${ECHO_T}no" >&6
8799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8800 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8802 # Check whether --enable-tooltips or --disable-tooltips was given.
8803 if test "${enable_tooltips+set}" = set; then
8804 enableval="$enable_tooltips"
8806 if test "$enableval" = yes; then
8807 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8809 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8814 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8815 if test "x$LINE" != x ; then
8816 eval "DEFAULT_$LINE"
8821 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8825 eval "$ac_cv_use_tooltips"
8826 if test "$no_cache" != 1; then
8827 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8830 if test "$wxUSE_TOOLTIPS" = yes; then
8831 echo "$as_me:$LINENO: result: yes" >&5
8832 echo "${ECHO_T}yes" >&6
8834 echo "$as_me:$LINENO: result: no" >&5
8835 echo "${ECHO_T}no" >&6
8840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8841 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8843 # Check whether --enable-splines or --disable-splines was given.
8844 if test "${enable_splines+set}" = set; then
8845 enableval="$enable_splines"
8847 if test "$enableval" = yes; then
8848 ac_cv_use_splines='wxUSE_SPLINES=yes'
8850 ac_cv_use_splines='wxUSE_SPLINES=no'
8855 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8856 if test "x$LINE" != x ; then
8857 eval "DEFAULT_$LINE"
8862 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8866 eval "$ac_cv_use_splines"
8867 if test "$no_cache" != 1; then
8868 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8871 if test "$wxUSE_SPLINES" = yes; then
8872 echo "$as_me:$LINENO: result: yes" >&5
8873 echo "${ECHO_T}yes" >&6
8875 echo "$as_me:$LINENO: result: no" >&5
8876 echo "${ECHO_T}no" >&6
8881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8882 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8884 # Check whether --enable-validators or --disable-validators was given.
8885 if test "${enable_validators+set}" = set; then
8886 enableval="$enable_validators"
8888 if test "$enableval" = yes; then
8889 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8891 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8896 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8897 if test "x$LINE" != x ; then
8898 eval "DEFAULT_$LINE"
8903 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8907 eval "$ac_cv_use_validators"
8908 if test "$no_cache" != 1; then
8909 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8912 if test "$wxUSE_VALIDATORS" = yes; then
8913 echo "$as_me:$LINENO: result: yes" >&5
8914 echo "${ECHO_T}yes" >&6
8916 echo "$as_me:$LINENO: result: no" >&5
8917 echo "${ECHO_T}no" >&6
8922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8923 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8925 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8926 if test "${enable_busyinfo+set}" = set; then
8927 enableval="$enable_busyinfo"
8929 if test "$enableval" = yes; then
8930 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8932 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8937 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8938 if test "x$LINE" != x ; then
8939 eval "DEFAULT_$LINE"
8944 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8948 eval "$ac_cv_use_busyinfo"
8949 if test "$no_cache" != 1; then
8950 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8953 if test "$wxUSE_BUSYINFO" = yes; then
8954 echo "$as_me:$LINENO: result: yes" >&5
8955 echo "${ECHO_T}yes" >&6
8957 echo "$as_me:$LINENO: result: no" >&5
8958 echo "${ECHO_T}no" >&6
8963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8964 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8966 # Check whether --enable-joystick or --disable-joystick was given.
8967 if test "${enable_joystick+set}" = set; then
8968 enableval="$enable_joystick"
8970 if test "$enableval" = yes; then
8971 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8973 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8978 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8979 if test "x$LINE" != x ; then
8980 eval "DEFAULT_$LINE"
8985 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8989 eval "$ac_cv_use_joystick"
8990 if test "$no_cache" != 1; then
8991 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8994 if test "$wxUSE_JOYSTICK" = yes; then
8995 echo "$as_me:$LINENO: result: yes" >&5
8996 echo "${ECHO_T}yes" >&6
8998 echo "$as_me:$LINENO: result: no" >&5
8999 echo "${ECHO_T}no" >&6
9004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9005 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9007 # Check whether --enable-metafile or --disable-metafile was given.
9008 if test "${enable_metafile+set}" = set; then
9009 enableval="$enable_metafile"
9011 if test "$enableval" = yes; then
9012 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9014 ac_cv_use_metafile='wxUSE_METAFILE=no'
9019 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9020 if test "x$LINE" != x ; then
9021 eval "DEFAULT_$LINE"
9026 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9030 eval "$ac_cv_use_metafile"
9031 if test "$no_cache" != 1; then
9032 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9035 if test "$wxUSE_METAFILE" = yes; then
9036 echo "$as_me:$LINENO: result: yes" >&5
9037 echo "${ECHO_T}yes" >&6
9039 echo "$as_me:$LINENO: result: no" >&5
9040 echo "${ECHO_T}no" >&6
9045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9046 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9048 # Check whether --enable-dragimage or --disable-dragimage was given.
9049 if test "${enable_dragimage+set}" = set; then
9050 enableval="$enable_dragimage"
9052 if test "$enableval" = yes; then
9053 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9055 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9060 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9061 if test "x$LINE" != x ; then
9062 eval "DEFAULT_$LINE"
9067 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9071 eval "$ac_cv_use_dragimage"
9072 if test "$no_cache" != 1; then
9073 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9076 if test "$wxUSE_DRAGIMAGE" = yes; then
9077 echo "$as_me:$LINENO: result: yes" >&5
9078 echo "${ECHO_T}yes" >&6
9080 echo "$as_me:$LINENO: result: no" >&5
9081 echo "${ECHO_T}no" >&6
9086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9087 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9089 # Check whether --enable-accessibility or --disable-accessibility was given.
9090 if test "${enable_accessibility+set}" = set; then
9091 enableval="$enable_accessibility"
9093 if test "$enableval" = yes; then
9094 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9096 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9101 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9102 if test "x$LINE" != x ; then
9103 eval "DEFAULT_$LINE"
9108 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9112 eval "$ac_cv_use_accessibility"
9113 if test "$no_cache" != 1; then
9114 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9117 if test "$wxUSE_ACCESSIBILITY" = yes; then
9118 echo "$as_me:$LINENO: result: yes" >&5
9119 echo "${ECHO_T}yes" >&6
9121 echo "$as_me:$LINENO: result: no" >&5
9122 echo "${ECHO_T}no" >&6
9129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9130 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9132 # Check whether --enable-palette or --disable-palette was given.
9133 if test "${enable_palette+set}" = set; then
9134 enableval="$enable_palette"
9136 if test "$enableval" = yes; then
9137 ac_cv_use_palette='wxUSE_PALETTE=yes'
9139 ac_cv_use_palette='wxUSE_PALETTE=no'
9144 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9145 if test "x$LINE" != x ; then
9146 eval "DEFAULT_$LINE"
9151 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9155 eval "$ac_cv_use_palette"
9156 if test "$no_cache" != 1; then
9157 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9160 if test "$wxUSE_PALETTE" = yes; then
9161 echo "$as_me:$LINENO: result: yes" >&5
9162 echo "${ECHO_T}yes" >&6
9164 echo "$as_me:$LINENO: result: no" >&5
9165 echo "${ECHO_T}no" >&6
9170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9171 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9173 # Check whether --enable-image or --disable-image was given.
9174 if test "${enable_image+set}" = set; then
9175 enableval="$enable_image"
9177 if test "$enableval" = yes; then
9178 ac_cv_use_image='wxUSE_IMAGE=yes'
9180 ac_cv_use_image='wxUSE_IMAGE=no'
9185 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9186 if test "x$LINE" != x ; then
9187 eval "DEFAULT_$LINE"
9192 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9196 eval "$ac_cv_use_image"
9197 if test "$no_cache" != 1; then
9198 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9201 if test "$wxUSE_IMAGE" = yes; then
9202 echo "$as_me:$LINENO: result: yes" >&5
9203 echo "${ECHO_T}yes" >&6
9205 echo "$as_me:$LINENO: result: no" >&5
9206 echo "${ECHO_T}no" >&6
9211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9212 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9214 # Check whether --enable-gif or --disable-gif was given.
9215 if test "${enable_gif+set}" = set; then
9216 enableval="$enable_gif"
9218 if test "$enableval" = yes; then
9219 ac_cv_use_gif='wxUSE_GIF=yes'
9221 ac_cv_use_gif='wxUSE_GIF=no'
9226 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9227 if test "x$LINE" != x ; then
9228 eval "DEFAULT_$LINE"
9233 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9237 eval "$ac_cv_use_gif"
9238 if test "$no_cache" != 1; then
9239 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9242 if test "$wxUSE_GIF" = yes; then
9243 echo "$as_me:$LINENO: result: yes" >&5
9244 echo "${ECHO_T}yes" >&6
9246 echo "$as_me:$LINENO: result: no" >&5
9247 echo "${ECHO_T}no" >&6
9252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9253 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9255 # Check whether --enable-pcx or --disable-pcx was given.
9256 if test "${enable_pcx+set}" = set; then
9257 enableval="$enable_pcx"
9259 if test "$enableval" = yes; then
9260 ac_cv_use_pcx='wxUSE_PCX=yes'
9262 ac_cv_use_pcx='wxUSE_PCX=no'
9267 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9268 if test "x$LINE" != x ; then
9269 eval "DEFAULT_$LINE"
9274 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9278 eval "$ac_cv_use_pcx"
9279 if test "$no_cache" != 1; then
9280 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9283 if test "$wxUSE_PCX" = yes; then
9284 echo "$as_me:$LINENO: result: yes" >&5
9285 echo "${ECHO_T}yes" >&6
9287 echo "$as_me:$LINENO: result: no" >&5
9288 echo "${ECHO_T}no" >&6
9293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9294 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9296 # Check whether --enable-iff or --disable-iff was given.
9297 if test "${enable_iff+set}" = set; then
9298 enableval="$enable_iff"
9300 if test "$enableval" = yes; then
9301 ac_cv_use_iff='wxUSE_IFF=yes'
9303 ac_cv_use_iff='wxUSE_IFF=no'
9308 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9309 if test "x$LINE" != x ; then
9310 eval "DEFAULT_$LINE"
9315 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9319 eval "$ac_cv_use_iff"
9320 if test "$no_cache" != 1; then
9321 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9324 if test "$wxUSE_IFF" = yes; then
9325 echo "$as_me:$LINENO: result: yes" >&5
9326 echo "${ECHO_T}yes" >&6
9328 echo "$as_me:$LINENO: result: no" >&5
9329 echo "${ECHO_T}no" >&6
9334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9335 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9337 # Check whether --enable-pnm or --disable-pnm was given.
9338 if test "${enable_pnm+set}" = set; then
9339 enableval="$enable_pnm"
9341 if test "$enableval" = yes; then
9342 ac_cv_use_pnm='wxUSE_PNM=yes'
9344 ac_cv_use_pnm='wxUSE_PNM=no'
9349 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9350 if test "x$LINE" != x ; then
9351 eval "DEFAULT_$LINE"
9356 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9360 eval "$ac_cv_use_pnm"
9361 if test "$no_cache" != 1; then
9362 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9365 if test "$wxUSE_PNM" = yes; then
9366 echo "$as_me:$LINENO: result: yes" >&5
9367 echo "${ECHO_T}yes" >&6
9369 echo "$as_me:$LINENO: result: no" >&5
9370 echo "${ECHO_T}no" >&6
9375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9378 # Check whether --enable-xpm or --disable-xpm was given.
9379 if test "${enable_xpm+set}" = set; then
9380 enableval="$enable_xpm"
9382 if test "$enableval" = yes; then
9383 ac_cv_use_xpm='wxUSE_XPM=yes'
9385 ac_cv_use_xpm='wxUSE_XPM=no'
9390 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9391 if test "x$LINE" != x ; then
9392 eval "DEFAULT_$LINE"
9397 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9401 eval "$ac_cv_use_xpm"
9402 if test "$no_cache" != 1; then
9403 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9406 if test "$wxUSE_XPM" = yes; then
9407 echo "$as_me:$LINENO: result: yes" >&5
9408 echo "${ECHO_T}yes" >&6
9410 echo "$as_me:$LINENO: result: no" >&5
9411 echo "${ECHO_T}no" >&6
9416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9417 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9419 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9420 if test "${enable_ico_cur+set}" = set; then
9421 enableval="$enable_ico_cur"
9423 if test "$enableval" = yes; then
9424 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9426 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9431 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9432 if test "x$LINE" != x ; then
9433 eval "DEFAULT_$LINE"
9438 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9442 eval "$ac_cv_use_ico_cur"
9443 if test "$no_cache" != 1; then
9444 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9447 if test "$wxUSE_ICO_CUR" = yes; then
9448 echo "$as_me:$LINENO: result: yes" >&5
9449 echo "${ECHO_T}yes" >&6
9451 echo "$as_me:$LINENO: result: no" >&5
9452 echo "${ECHO_T}no" >&6
9461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9462 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9464 # Check whether --enable-official_build or --disable-official_build was given.
9465 if test "${enable_official_build+set}" = set; then
9466 enableval="$enable_official_build"
9468 if test "$enableval" = yes; then
9469 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9471 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9476 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9477 if test "x$LINE" != x ; then
9478 eval "DEFAULT_$LINE"
9483 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9487 eval "$ac_cv_use_official_build"
9488 if test "$no_cache" != 1; then
9489 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9492 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9493 echo "$as_me:$LINENO: result: yes" >&5
9494 echo "${ECHO_T}yes" >&6
9496 echo "$as_me:$LINENO: result: no" >&5
9497 echo "${ECHO_T}no" >&6
9500 # Check whether --enable-vendor or --disable-vendor was given.
9501 if test "${enable_vendor+set}" = set; then
9502 enableval="$enable_vendor"
9505 if test "x$VENDOR" = "x"; then
9510 *-pc-os2_emx | *-pc-os2-emx )
9522 echo "saving argument cache $wx_arg_cache_file"
9523 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9527 echo "$as_me:$LINENO: checking for toolkit" >&5
9528 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9530 # In Wine, we need to default to MSW, not GTK or MOTIF
9531 if test "$wxUSE_WINE" = "yes"; then
9532 DEFAULT_DEFAULT_wxUSE_GTK=0
9533 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9534 DEFAULT_DEFAULT_wxUSE_MSW=1
9537 if test "$wxUSE_GUI" = "yes"; then
9539 if test "$USE_BEOS" = 1; then
9540 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9541 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9542 { (exit 1); exit 1; }; }
9545 if test "$TOOLKIT_GIVEN" = 1; then
9546 for toolkit in `echo $ALL_TOOLKITS`; do
9548 eval "value=\$${var}"
9549 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9552 for toolkit in `echo $ALL_TOOLKITS`; do
9553 if test "$has_toolkit_in_cache" != 1; then
9554 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9556 var=DEFAULT_wxUSE_$toolkit
9558 eval "wxUSE_$toolkit=\$${var}"
9562 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9563 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9564 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9567 *-pc-os2_emx | *-pc-os2-emx )
9568 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9571 case "$NUM_TOOLKITS" in
9575 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9576 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9577 { (exit 1); exit 1; }; }
9580 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9581 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9582 { (exit 1); exit 1; }; }
9585 for toolkit in `echo $ALL_TOOLKITS`; do
9587 eval "value=\$${var}"
9588 if test "x$value" != x; then
9589 cache_var=CACHE_$toolkit
9590 eval "cache=\$${cache_var}"
9591 if test "$cache" = 1; then
9592 echo "$var=$value" >> ${wx_arg_cache_file}
9594 if test "$value" = 1; then
9595 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9596 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9597 echo "${ECHO_T}$toolkit_echo" >&6
9602 if test "x$host_alias" != "x"; then
9603 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9604 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9606 echo "$as_me:$LINENO: result: base only" >&5
9607 echo "${ECHO_T}base only" >&6
9615 if test "$wxUSE_MSW" = 1 ; then
9626 if test "$wxUSE_WINE" = "yes"; then
9633 if test "$wants_win32" = 1 ; then
9636 cat >>confdefs.h <<\_ACEOF
9640 cat >>confdefs.h <<\_ACEOF
9644 cat >>confdefs.h <<\_ACEOF
9645 #define __WINDOWS__ 1
9648 cat >>confdefs.h <<\_ACEOF
9649 #define __GNUWIN32__ 1
9652 cat >>confdefs.h <<\_ACEOF
9656 cat >>confdefs.h <<\_ACEOF
9657 #define WINVER 0x0400
9661 if test "$doesnt_want_win32" = 1 ; then
9666 if test "$USE_UNIX" = 1 ; then
9668 cat >>confdefs.h <<\_ACEOF
9675 cat >confcache <<\_ACEOF
9676 # This file is a shell script that caches the results of configure
9677 # tests run on this system so they can be shared between configure
9678 # scripts and configure runs, see configure's option --config-cache.
9679 # It is not useful on other systems. If it contains results you don't
9680 # want to keep, you may remove or edit it.
9682 # config.status only pays attention to the cache file if you give it
9683 # the --recheck option to rerun configure.
9685 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9686 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9691 # The following way of writing the cache mishandles newlines in values,
9692 # but we know of no workaround that is simple, portable, and efficient.
9693 # So, don't put newlines in cache variables' values.
9694 # Ultrix sh set writes to stderr and can't be redirected directly,
9695 # and sets the high bit in the cache file unless we assign to the vars.
9698 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9700 # `set' does not quote correctly, so add quotes (double-quote
9701 # substitution turns \\\\ into \\, and sed turns \\ into \).
9704 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9707 # `set' quotes correctly as required by POSIX, so do not add quotes.
9709 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9716 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9718 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9720 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9721 if test -w $cache_file; then
9722 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9723 cat confcache >$cache_file
9725 echo "not updating unwritable cache $cache_file"
9730 if test "$build" != "$host" ; then
9731 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9735 RANLIB=$host_alias-ranlib
9736 DLLTOOL=$host_alias-dlltool
9737 RESCOMP=$host_alias-windres
9740 STRIP=$host_alias-strip
9742 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9743 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9744 { (exit 1); exit 1; }; }
9750 ac_cpp='$CPP $CPPFLAGS'
9751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9754 if test -n "$ac_tool_prefix"; then
9755 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9756 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9757 echo "$as_me:$LINENO: checking for $ac_word" >&5
9758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9759 if test "${ac_cv_prog_CC+set}" = set; then
9760 echo $ECHO_N "(cached) $ECHO_C" >&6
9762 if test -n "$CC"; then
9763 ac_cv_prog_CC="$CC" # Let the user override the test.
9765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9769 test -z "$as_dir" && as_dir=.
9770 for ac_exec_ext in '' $ac_executable_extensions; do
9771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9772 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9782 if test -n "$CC"; then
9783 echo "$as_me:$LINENO: result: $CC" >&5
9784 echo "${ECHO_T}$CC" >&6
9786 echo "$as_me:$LINENO: result: no" >&5
9787 echo "${ECHO_T}no" >&6
9791 if test -z "$ac_cv_prog_CC"; then
9793 # Extract the first word of "gcc", so it can be a program name with args.
9794 set dummy gcc; ac_word=$2
9795 echo "$as_me:$LINENO: checking for $ac_word" >&5
9796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9798 echo $ECHO_N "(cached) $ECHO_C" >&6
9800 if test -n "$ac_ct_CC"; then
9801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9807 test -z "$as_dir" && as_dir=.
9808 for ac_exec_ext in '' $ac_executable_extensions; do
9809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9810 ac_cv_prog_ac_ct_CC="gcc"
9811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9819 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9820 if test -n "$ac_ct_CC"; then
9821 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9822 echo "${ECHO_T}$ac_ct_CC" >&6
9824 echo "$as_me:$LINENO: result: no" >&5
9825 echo "${ECHO_T}no" >&6
9833 if test -z "$CC"; then
9834 if test -n "$ac_tool_prefix"; then
9835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9836 set dummy ${ac_tool_prefix}cc; ac_word=$2
9837 echo "$as_me:$LINENO: checking for $ac_word" >&5
9838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9839 if test "${ac_cv_prog_CC+set}" = set; then
9840 echo $ECHO_N "(cached) $ECHO_C" >&6
9842 if test -n "$CC"; then
9843 ac_cv_prog_CC="$CC" # Let the user override the test.
9845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9849 test -z "$as_dir" && as_dir=.
9850 for ac_exec_ext in '' $ac_executable_extensions; do
9851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9852 ac_cv_prog_CC="${ac_tool_prefix}cc"
9853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9862 if test -n "$CC"; then
9863 echo "$as_me:$LINENO: result: $CC" >&5
9864 echo "${ECHO_T}$CC" >&6
9866 echo "$as_me:$LINENO: result: no" >&5
9867 echo "${ECHO_T}no" >&6
9871 if test -z "$ac_cv_prog_CC"; then
9873 # Extract the first word of "cc", so it can be a program name with args.
9874 set dummy cc; ac_word=$2
9875 echo "$as_me:$LINENO: checking for $ac_word" >&5
9876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9878 echo $ECHO_N "(cached) $ECHO_C" >&6
9880 if test -n "$ac_ct_CC"; then
9881 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9887 test -z "$as_dir" && as_dir=.
9888 for ac_exec_ext in '' $ac_executable_extensions; do
9889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9890 ac_cv_prog_ac_ct_CC="cc"
9891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9900 if test -n "$ac_ct_CC"; then
9901 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9902 echo "${ECHO_T}$ac_ct_CC" >&6
9904 echo "$as_me:$LINENO: result: no" >&5
9905 echo "${ECHO_T}no" >&6
9914 if test -z "$CC"; then
9915 # Extract the first word of "cc", so it can be a program name with args.
9916 set dummy cc; ac_word=$2
9917 echo "$as_me:$LINENO: checking for $ac_word" >&5
9918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9919 if test "${ac_cv_prog_CC+set}" = set; then
9920 echo $ECHO_N "(cached) $ECHO_C" >&6
9922 if test -n "$CC"; then
9923 ac_cv_prog_CC="$CC" # Let the user override the test.
9926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9930 test -z "$as_dir" && as_dir=.
9931 for ac_exec_ext in '' $ac_executable_extensions; do
9932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9933 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9934 ac_prog_rejected=yes
9938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9944 if test $ac_prog_rejected = yes; then
9945 # We found a bogon in the path, so make sure we never use it.
9946 set dummy $ac_cv_prog_CC
9948 if test $# != 0; then
9949 # We chose a different compiler from the bogus one.
9950 # However, it has the same basename, so the bogon will be chosen
9951 # first if we set CC to just the basename; use the full file name.
9953 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9959 if test -n "$CC"; then
9960 echo "$as_me:$LINENO: result: $CC" >&5
9961 echo "${ECHO_T}$CC" >&6
9963 echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6
9968 if test -z "$CC"; then
9969 if test -n "$ac_tool_prefix"; then
9972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9974 echo "$as_me:$LINENO: checking for $ac_word" >&5
9975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9976 if test "${ac_cv_prog_CC+set}" = set; then
9977 echo $ECHO_N "(cached) $ECHO_C" >&6
9979 if test -n "$CC"; then
9980 ac_cv_prog_CC="$CC" # Let the user override the test.
9982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9986 test -z "$as_dir" && as_dir=.
9987 for ac_exec_ext in '' $ac_executable_extensions; do
9988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9989 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9999 if test -n "$CC"; then
10000 echo "$as_me:$LINENO: result: $CC" >&5
10001 echo "${ECHO_T}$CC" >&6
10003 echo "$as_me:$LINENO: result: no" >&5
10004 echo "${ECHO_T}no" >&6
10007 test -n "$CC" && break
10010 if test -z "$CC"; then
10014 # Extract the first word of "$ac_prog", so it can be a program name with args.
10015 set dummy $ac_prog; ac_word=$2
10016 echo "$as_me:$LINENO: checking for $ac_word" >&5
10017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10019 echo $ECHO_N "(cached) $ECHO_C" >&6
10021 if test -n "$ac_ct_CC"; then
10022 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10025 for as_dir in $PATH
10028 test -z "$as_dir" && as_dir=.
10029 for ac_exec_ext in '' $ac_executable_extensions; do
10030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10031 ac_cv_prog_ac_ct_CC="$ac_prog"
10032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10040 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10041 if test -n "$ac_ct_CC"; then
10042 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10043 echo "${ECHO_T}$ac_ct_CC" >&6
10045 echo "$as_me:$LINENO: result: no" >&5
10046 echo "${ECHO_T}no" >&6
10049 test -n "$ac_ct_CC" && break
10058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10059 See \`config.log' for more details." >&5
10060 echo "$as_me: error: no acceptable C compiler found in \$PATH
10061 See \`config.log' for more details." >&2;}
10062 { (exit 1); exit 1; }; }
10064 # Provide some information about the compiler.
10065 echo "$as_me:$LINENO:" \
10066 "checking for C compiler version" >&5
10067 ac_compiler=`set X $ac_compile; echo $2`
10068 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10069 (eval $ac_compiler --version </dev/null >&5) 2>&5
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }
10073 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10074 (eval $ac_compiler -v </dev/null >&5) 2>&5
10076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077 (exit $ac_status); }
10078 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10079 (eval $ac_compiler -V </dev/null >&5) 2>&5
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 (exit $ac_status); }
10084 cat >conftest.$ac_ext <<_ACEOF
10085 #line $LINENO "configure"
10088 cat confdefs.h >>conftest.$ac_ext
10089 cat >>conftest.$ac_ext <<_ACEOF
10090 /* end confdefs.h. */
10100 ac_clean_files_save=$ac_clean_files
10101 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10102 # Try to create an executable without -o first, disregard a.out.
10103 # It will help us diagnose broken compilers, and finding out an intuition
10105 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10106 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10107 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10108 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10109 (eval $ac_link_default) 2>&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); }; then
10113 # Find the output, starting from the most likely. This scheme is
10114 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10117 # Be careful to initialize this variable, since it used to be cached.
10118 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10120 # b.out is created by i960 compilers.
10121 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10123 test -f "$ac_file" || continue
10125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10128 # This is the source file.
10131 # We found the default executable, but exeext='' is most
10135 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10136 # FIXME: I believe we export ac_cv_exeext for Libtool,
10137 # but it would be cool to find out if it's true. Does anybody
10138 # maintain Libtool? --akim.
10139 export ac_cv_exeext
10146 echo "$as_me: failed program was:" >&5
10147 sed 's/^/| /' conftest.$ac_ext >&5
10149 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10150 See \`config.log' for more details." >&5
10151 echo "$as_me: error: C compiler cannot create executables
10152 See \`config.log' for more details." >&2;}
10153 { (exit 77); exit 77; }; }
10156 ac_exeext=$ac_cv_exeext
10157 echo "$as_me:$LINENO: result: $ac_file" >&5
10158 echo "${ECHO_T}$ac_file" >&6
10160 # Check the compiler produces executables we can run. If not, either
10161 # the compiler is broken, or we cross compile.
10162 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10163 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10164 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10165 # If not cross compiling, check that we can run a simple program.
10166 if test "$cross_compiling" != yes; then
10167 if { ac_try='./$ac_file'
10168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10169 (eval $ac_try) 2>&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); }; }; then
10175 if test "$cross_compiling" = maybe; then
10176 cross_compiling=yes
10178 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10179 If you meant to cross compile, use \`--host'.
10180 See \`config.log' for more details." >&5
10181 echo "$as_me: error: cannot run C compiled programs.
10182 If you meant to cross compile, use \`--host'.
10183 See \`config.log' for more details." >&2;}
10184 { (exit 1); exit 1; }; }
10188 echo "$as_me:$LINENO: result: yes" >&5
10189 echo "${ECHO_T}yes" >&6
10191 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10192 ac_clean_files=$ac_clean_files_save
10193 # Check the compiler produces executables we can run. If not, either
10194 # the compiler is broken, or we cross compile.
10195 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10196 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10197 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10198 echo "${ECHO_T}$cross_compiling" >&6
10200 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10201 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10203 (eval $ac_link) 2>&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); }; then
10207 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10208 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10209 # work properly (i.e., refer to `conftest.exe'), while it won't with
10211 for ac_file in conftest.exe conftest conftest.*; do
10212 test -f "$ac_file" || continue
10214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10215 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10216 export ac_cv_exeext
10222 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10223 See \`config.log' for more details." >&5
10224 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10225 See \`config.log' for more details." >&2;}
10226 { (exit 1); exit 1; }; }
10229 rm -f conftest$ac_cv_exeext
10230 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10231 echo "${ECHO_T}$ac_cv_exeext" >&6
10233 rm -f conftest.$ac_ext
10234 EXEEXT=$ac_cv_exeext
10236 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10237 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10238 if test "${ac_cv_objext+set}" = set; then
10239 echo $ECHO_N "(cached) $ECHO_C" >&6
10241 cat >conftest.$ac_ext <<_ACEOF
10242 #line $LINENO "configure"
10245 cat confdefs.h >>conftest.$ac_ext
10246 cat >>conftest.$ac_ext <<_ACEOF
10247 /* end confdefs.h. */
10257 rm -f conftest.o conftest.obj
10258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10259 (eval $ac_compile) 2>&5
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); }; then
10263 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10266 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10271 echo "$as_me: failed program was:" >&5
10272 sed 's/^/| /' conftest.$ac_ext >&5
10274 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10275 See \`config.log' for more details." >&5
10276 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10277 See \`config.log' for more details." >&2;}
10278 { (exit 1); exit 1; }; }
10281 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10283 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10284 echo "${ECHO_T}$ac_cv_objext" >&6
10285 OBJEXT=$ac_cv_objext
10287 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10288 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10289 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10290 echo $ECHO_N "(cached) $ECHO_C" >&6
10292 cat >conftest.$ac_ext <<_ACEOF
10293 #line $LINENO "configure"
10296 cat confdefs.h >>conftest.$ac_ext
10297 cat >>conftest.$ac_ext <<_ACEOF
10298 /* end confdefs.h. */
10311 rm -f conftest.$ac_objext
10312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10313 (eval $ac_compile) 2>&5
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); } &&
10317 { ac_try='test -s conftest.$ac_objext'
10318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10319 (eval $ac_try) 2>&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); }; }; then
10323 ac_compiler_gnu=yes
10325 echo "$as_me: failed program was:" >&5
10326 sed 's/^/| /' conftest.$ac_ext >&5
10330 rm -f conftest.$ac_objext conftest.$ac_ext
10331 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10334 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10335 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10336 GCC=`test $ac_compiler_gnu = yes && echo yes`
10337 ac_test_CFLAGS=${CFLAGS+set}
10338 ac_save_CFLAGS=$CFLAGS
10340 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10341 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10342 if test "${ac_cv_prog_cc_g+set}" = set; then
10343 echo $ECHO_N "(cached) $ECHO_C" >&6
10345 cat >conftest.$ac_ext <<_ACEOF
10346 #line $LINENO "configure"
10349 cat confdefs.h >>conftest.$ac_ext
10350 cat >>conftest.$ac_ext <<_ACEOF
10351 /* end confdefs.h. */
10361 rm -f conftest.$ac_objext
10362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10363 (eval $ac_compile) 2>&5
10365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366 (exit $ac_status); } &&
10367 { ac_try='test -s conftest.$ac_objext'
10368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10369 (eval $ac_try) 2>&5
10371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); }; }; then
10373 ac_cv_prog_cc_g=yes
10375 echo "$as_me: failed program was:" >&5
10376 sed 's/^/| /' conftest.$ac_ext >&5
10380 rm -f conftest.$ac_objext conftest.$ac_ext
10382 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10383 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10384 if test "$ac_test_CFLAGS" = set; then
10385 CFLAGS=$ac_save_CFLAGS
10386 elif test $ac_cv_prog_cc_g = yes; then
10387 if test "$GCC" = yes; then
10393 if test "$GCC" = yes; then
10399 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10400 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10401 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10402 echo $ECHO_N "(cached) $ECHO_C" >&6
10404 ac_cv_prog_cc_stdc=no
10406 cat >conftest.$ac_ext <<_ACEOF
10407 #line $LINENO "configure"
10410 cat confdefs.h >>conftest.$ac_ext
10411 cat >>conftest.$ac_ext <<_ACEOF
10412 /* end confdefs.h. */
10413 #include <stdarg.h>
10415 #include <sys/types.h>
10416 #include <sys/stat.h>
10417 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10418 struct buf { int x; };
10419 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10420 static char *e (p, i)
10426 static char *f (char * (*g) (char **, int), char **p, ...)
10431 s = g (p, va_arg (v,int));
10435 int test (int i, double x);
10436 struct s1 {int (*f) (int a);};
10437 struct s2 {int (*f) (double a);};
10438 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10444 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10449 # Don't try gcc -ansi; that turns off useful extensions and
10450 # breaks some systems' header files.
10451 # AIX -qlanglvl=ansi
10452 # Ultrix and OSF/1 -std1
10453 # HP-UX 10.20 and later -Ae
10454 # HP-UX older versions -Aa -D_HPUX_SOURCE
10455 # SVR4 -Xc -D__EXTENSIONS__
10456 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10458 CC="$ac_save_CC $ac_arg"
10459 rm -f conftest.$ac_objext
10460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10461 (eval $ac_compile) 2>&5
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); } &&
10465 { ac_try='test -s conftest.$ac_objext'
10466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10467 (eval $ac_try) 2>&5
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); }; }; then
10471 ac_cv_prog_cc_stdc=$ac_arg
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.$ac_ext >&5
10478 rm -f conftest.$ac_objext
10480 rm -f conftest.$ac_ext conftest.$ac_objext
10485 case "x$ac_cv_prog_cc_stdc" in
10487 echo "$as_me:$LINENO: result: none needed" >&5
10488 echo "${ECHO_T}none needed" >&6 ;;
10490 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10491 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10492 CC="$CC $ac_cv_prog_cc_stdc" ;;
10495 # Some people use a C++ compiler to compile C. Since we use `exit',
10496 # in C++ we need to declare it. In case someone uses the same compiler
10497 # for both compiling C and C++ we need to have the C++ compiler decide
10498 # the declaration of exit, since it's the most demanding environment.
10499 cat >conftest.$ac_ext <<_ACEOF
10500 #ifndef __cplusplus
10504 rm -f conftest.$ac_objext
10505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10506 (eval $ac_compile) 2>&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } &&
10510 { ac_try='test -s conftest.$ac_objext'
10511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10512 (eval $ac_try) 2>&5
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); }; }; then
10516 for ac_declaration in \
10518 '#include <stdlib.h>' \
10519 'extern "C" void std::exit (int) throw (); using std::exit;' \
10520 'extern "C" void std::exit (int); using std::exit;' \
10521 'extern "C" void exit (int) throw ();' \
10522 'extern "C" void exit (int);' \
10525 cat >conftest.$ac_ext <<_ACEOF
10526 #line $LINENO "configure"
10529 cat confdefs.h >>conftest.$ac_ext
10530 cat >>conftest.$ac_ext <<_ACEOF
10531 /* end confdefs.h. */
10532 #include <stdlib.h>
10542 rm -f conftest.$ac_objext
10543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10544 (eval $ac_compile) 2>&5
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); } &&
10548 { ac_try='test -s conftest.$ac_objext'
10549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10550 (eval $ac_try) 2>&5
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); }; }; then
10556 echo "$as_me: failed program was:" >&5
10557 sed 's/^/| /' conftest.$ac_ext >&5
10561 rm -f conftest.$ac_objext conftest.$ac_ext
10562 cat >conftest.$ac_ext <<_ACEOF
10563 #line $LINENO "configure"
10566 cat confdefs.h >>conftest.$ac_ext
10567 cat >>conftest.$ac_ext <<_ACEOF
10568 /* end confdefs.h. */
10578 rm -f conftest.$ac_objext
10579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10580 (eval $ac_compile) 2>&5
10582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583 (exit $ac_status); } &&
10584 { ac_try='test -s conftest.$ac_objext'
10585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10586 (eval $ac_try) 2>&5
10588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589 (exit $ac_status); }; }; then
10592 echo "$as_me: failed program was:" >&5
10593 sed 's/^/| /' conftest.$ac_ext >&5
10596 rm -f conftest.$ac_objext conftest.$ac_ext
10599 if test -n "$ac_declaration"; then
10600 echo '#ifdef __cplusplus' >>confdefs.h
10601 echo $ac_declaration >>confdefs.h
10602 echo '#endif' >>confdefs.h
10606 echo "$as_me: failed program was:" >&5
10607 sed 's/^/| /' conftest.$ac_ext >&5
10610 rm -f conftest.$ac_objext conftest.$ac_ext
10612 ac_cpp='$CPP $CPPFLAGS'
10613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10620 ac_cpp='$CPP $CPPFLAGS'
10621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10624 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10625 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10626 # On Suns, sometimes $CPP names a directory.
10627 if test -n "$CPP" && test -d "$CPP"; then
10630 if test -z "$CPP"; then
10631 if test "${ac_cv_prog_CPP+set}" = set; then
10632 echo $ECHO_N "(cached) $ECHO_C" >&6
10634 # Double quotes because CPP needs to be expanded
10635 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10637 ac_preproc_ok=false
10638 for ac_c_preproc_warn_flag in '' yes
10640 # Use a header file that comes with gcc, so configuring glibc
10641 # with a fresh cross-compiler works.
10642 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10643 # <limits.h> exists even on freestanding compilers.
10644 # On the NeXT, cc -E runs the code through the compiler's parser,
10645 # not just through cpp. "Syntax error" is here to catch this case.
10646 cat >conftest.$ac_ext <<_ACEOF
10647 #line $LINENO "configure"
10650 cat confdefs.h >>conftest.$ac_ext
10651 cat >>conftest.$ac_ext <<_ACEOF
10652 /* end confdefs.h. */
10654 # include <limits.h>
10656 # include <assert.h>
10660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10661 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10663 grep -v '^ *+' conftest.er1 >conftest.err
10665 cat conftest.err >&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); } >/dev/null; then
10668 if test -s conftest.err; then
10669 ac_cpp_err=$ac_c_preproc_warn_flag
10676 if test -z "$ac_cpp_err"; then
10679 echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.$ac_ext >&5
10682 # Broken: fails on valid input.
10685 rm -f conftest.err conftest.$ac_ext
10687 # OK, works on sane cases. Now check whether non-existent headers
10688 # can be detected and how.
10689 cat >conftest.$ac_ext <<_ACEOF
10690 #line $LINENO "configure"
10693 cat confdefs.h >>conftest.$ac_ext
10694 cat >>conftest.$ac_ext <<_ACEOF
10695 /* end confdefs.h. */
10696 #include <ac_nonexistent.h>
10698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10699 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10701 grep -v '^ *+' conftest.er1 >conftest.err
10703 cat conftest.err >&5
10704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705 (exit $ac_status); } >/dev/null; then
10706 if test -s conftest.err; then
10707 ac_cpp_err=$ac_c_preproc_warn_flag
10714 if test -z "$ac_cpp_err"; then
10715 # Broken: success on invalid input.
10718 echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.$ac_ext >&5
10721 # Passes both tests.
10725 rm -f conftest.err conftest.$ac_ext
10728 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10729 rm -f conftest.err conftest.$ac_ext
10730 if $ac_preproc_ok; then
10735 ac_cv_prog_CPP=$CPP
10738 CPP=$ac_cv_prog_CPP
10740 ac_cv_prog_CPP=$CPP
10742 echo "$as_me:$LINENO: result: $CPP" >&5
10743 echo "${ECHO_T}$CPP" >&6
10744 ac_preproc_ok=false
10745 for ac_c_preproc_warn_flag in '' yes
10747 # Use a header file that comes with gcc, so configuring glibc
10748 # with a fresh cross-compiler works.
10749 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10750 # <limits.h> exists even on freestanding compilers.
10751 # On the NeXT, cc -E runs the code through the compiler's parser,
10752 # not just through cpp. "Syntax error" is here to catch this case.
10753 cat >conftest.$ac_ext <<_ACEOF
10754 #line $LINENO "configure"
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10761 # include <limits.h>
10763 # include <assert.h>
10767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10768 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10770 grep -v '^ *+' conftest.er1 >conftest.err
10772 cat conftest.err >&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); } >/dev/null; then
10775 if test -s conftest.err; then
10776 ac_cpp_err=$ac_c_preproc_warn_flag
10783 if test -z "$ac_cpp_err"; then
10786 echo "$as_me: failed program was:" >&5
10787 sed 's/^/| /' conftest.$ac_ext >&5
10789 # Broken: fails on valid input.
10792 rm -f conftest.err conftest.$ac_ext
10794 # OK, works on sane cases. Now check whether non-existent headers
10795 # can be detected and how.
10796 cat >conftest.$ac_ext <<_ACEOF
10797 #line $LINENO "configure"
10800 cat confdefs.h >>conftest.$ac_ext
10801 cat >>conftest.$ac_ext <<_ACEOF
10802 /* end confdefs.h. */
10803 #include <ac_nonexistent.h>
10805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10806 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10808 grep -v '^ *+' conftest.er1 >conftest.err
10810 cat conftest.err >&5
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); } >/dev/null; then
10813 if test -s conftest.err; then
10814 ac_cpp_err=$ac_c_preproc_warn_flag
10821 if test -z "$ac_cpp_err"; then
10822 # Broken: success on invalid input.
10825 echo "$as_me: failed program was:" >&5
10826 sed 's/^/| /' conftest.$ac_ext >&5
10828 # Passes both tests.
10832 rm -f conftest.err conftest.$ac_ext
10835 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10836 rm -f conftest.err conftest.$ac_ext
10837 if $ac_preproc_ok; then
10840 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10841 See \`config.log' for more details." >&5
10842 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10843 See \`config.log' for more details." >&2;}
10844 { (exit 1); exit 1; }; }
10848 ac_cpp='$CPP $CPPFLAGS'
10849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10854 echo "$as_me:$LINENO: checking for egrep" >&5
10855 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10856 if test "${ac_cv_prog_egrep+set}" = set; then
10857 echo $ECHO_N "(cached) $ECHO_C" >&6
10859 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10860 then ac_cv_prog_egrep='grep -E'
10861 else ac_cv_prog_egrep='egrep'
10864 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10865 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10866 EGREP=$ac_cv_prog_egrep
10869 if test $ac_cv_c_compiler_gnu = yes; then
10870 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10871 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10872 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10875 ac_pattern="Autoconf.*'x'"
10876 cat >conftest.$ac_ext <<_ACEOF
10877 #line $LINENO "configure"
10880 cat confdefs.h >>conftest.$ac_ext
10881 cat >>conftest.$ac_ext <<_ACEOF
10882 /* end confdefs.h. */
10886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10887 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10888 ac_cv_prog_gcc_traditional=yes
10890 ac_cv_prog_gcc_traditional=no
10895 if test $ac_cv_prog_gcc_traditional = no; then
10896 cat >conftest.$ac_ext <<_ACEOF
10897 #line $LINENO "configure"
10900 cat confdefs.h >>conftest.$ac_ext
10901 cat >>conftest.$ac_ext <<_ACEOF
10902 /* end confdefs.h. */
10903 #include <termio.h>
10906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10907 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10908 ac_cv_prog_gcc_traditional=yes
10914 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10915 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10916 if test $ac_cv_prog_gcc_traditional = yes; then
10917 CC="$CC -traditional"
10925 ac_cpp='$CXXCPP $CPPFLAGS'
10926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10931 CXXFLAGS=${CXXFLAGS:=}
10933 ac_cpp='$CXXCPP $CPPFLAGS'
10934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10937 if test -n "$ac_tool_prefix"; then
10938 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10941 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10942 echo "$as_me:$LINENO: checking for $ac_word" >&5
10943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10944 if test "${ac_cv_prog_CXX+set}" = set; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10947 if test -n "$CXX"; then
10948 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10951 for as_dir in $PATH
10954 test -z "$as_dir" && as_dir=.
10955 for ac_exec_ext in '' $ac_executable_extensions; do
10956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10957 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10966 CXX=$ac_cv_prog_CXX
10967 if test -n "$CXX"; then
10968 echo "$as_me:$LINENO: result: $CXX" >&5
10969 echo "${ECHO_T}$CXX" >&6
10971 echo "$as_me:$LINENO: result: no" >&5
10972 echo "${ECHO_T}no" >&6
10975 test -n "$CXX" && break
10978 if test -z "$CXX"; then
10980 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10982 # Extract the first word of "$ac_prog", so it can be a program name with args.
10983 set dummy $ac_prog; ac_word=$2
10984 echo "$as_me:$LINENO: checking for $ac_word" >&5
10985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10986 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10987 echo $ECHO_N "(cached) $ECHO_C" >&6
10989 if test -n "$ac_ct_CXX"; then
10990 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10993 for as_dir in $PATH
10996 test -z "$as_dir" && as_dir=.
10997 for ac_exec_ext in '' $ac_executable_extensions; do
10998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10999 ac_cv_prog_ac_ct_CXX="$ac_prog"
11000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11008 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11009 if test -n "$ac_ct_CXX"; then
11010 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11011 echo "${ECHO_T}$ac_ct_CXX" >&6
11013 echo "$as_me:$LINENO: result: no" >&5
11014 echo "${ECHO_T}no" >&6
11017 test -n "$ac_ct_CXX" && break
11019 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11025 # Provide some information about the compiler.
11026 echo "$as_me:$LINENO:" \
11027 "checking for C++ compiler version" >&5
11028 ac_compiler=`set X $ac_compile; echo $2`
11029 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11030 (eval $ac_compiler --version </dev/null >&5) 2>&5
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }
11034 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11035 (eval $ac_compiler -v </dev/null >&5) 2>&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }
11039 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11040 (eval $ac_compiler -V </dev/null >&5) 2>&5
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); }
11045 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11046 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11047 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11050 cat >conftest.$ac_ext <<_ACEOF
11051 #line $LINENO "configure"
11054 cat confdefs.h >>conftest.$ac_ext
11055 cat >>conftest.$ac_ext <<_ACEOF
11056 /* end confdefs.h. */
11069 rm -f conftest.$ac_objext
11070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11071 (eval $ac_compile) 2>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); } &&
11075 { ac_try='test -s conftest.$ac_objext'
11076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11077 (eval $ac_try) 2>&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); }; }; then
11081 ac_compiler_gnu=yes
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.$ac_ext >&5
11088 rm -f conftest.$ac_objext conftest.$ac_ext
11089 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11092 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11093 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11094 GXX=`test $ac_compiler_gnu = yes && echo yes`
11095 ac_test_CXXFLAGS=${CXXFLAGS+set}
11096 ac_save_CXXFLAGS=$CXXFLAGS
11098 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11099 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11100 if test "${ac_cv_prog_cxx_g+set}" = set; then
11101 echo $ECHO_N "(cached) $ECHO_C" >&6
11103 cat >conftest.$ac_ext <<_ACEOF
11104 #line $LINENO "configure"
11107 cat confdefs.h >>conftest.$ac_ext
11108 cat >>conftest.$ac_ext <<_ACEOF
11109 /* end confdefs.h. */
11119 rm -f conftest.$ac_objext
11120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11121 (eval $ac_compile) 2>&5
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); } &&
11125 { ac_try='test -s conftest.$ac_objext'
11126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11127 (eval $ac_try) 2>&5
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); }; }; then
11131 ac_cv_prog_cxx_g=yes
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.$ac_ext >&5
11136 ac_cv_prog_cxx_g=no
11138 rm -f conftest.$ac_objext conftest.$ac_ext
11140 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11141 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11142 if test "$ac_test_CXXFLAGS" = set; then
11143 CXXFLAGS=$ac_save_CXXFLAGS
11144 elif test $ac_cv_prog_cxx_g = yes; then
11145 if test "$GXX" = yes; then
11151 if test "$GXX" = yes; then
11157 for ac_declaration in \
11159 '#include <stdlib.h>' \
11160 'extern "C" void std::exit (int) throw (); using std::exit;' \
11161 'extern "C" void std::exit (int); using std::exit;' \
11162 'extern "C" void exit (int) throw ();' \
11163 'extern "C" void exit (int);' \
11166 cat >conftest.$ac_ext <<_ACEOF
11167 #line $LINENO "configure"
11170 cat confdefs.h >>conftest.$ac_ext
11171 cat >>conftest.$ac_ext <<_ACEOF
11172 /* end confdefs.h. */
11173 #include <stdlib.h>
11183 rm -f conftest.$ac_objext
11184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11185 (eval $ac_compile) 2>&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } &&
11189 { ac_try='test -s conftest.$ac_objext'
11190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11191 (eval $ac_try) 2>&5
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); }; }; then
11197 echo "$as_me: failed program was:" >&5
11198 sed 's/^/| /' conftest.$ac_ext >&5
11202 rm -f conftest.$ac_objext conftest.$ac_ext
11203 cat >conftest.$ac_ext <<_ACEOF
11204 #line $LINENO "configure"
11207 cat confdefs.h >>conftest.$ac_ext
11208 cat >>conftest.$ac_ext <<_ACEOF
11209 /* end confdefs.h. */
11219 rm -f conftest.$ac_objext
11220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11221 (eval $ac_compile) 2>&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); } &&
11225 { ac_try='test -s conftest.$ac_objext'
11226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11227 (eval $ac_try) 2>&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); }; }; then
11233 echo "$as_me: failed program was:" >&5
11234 sed 's/^/| /' conftest.$ac_ext >&5
11237 rm -f conftest.$ac_objext conftest.$ac_ext
11240 if test -n "$ac_declaration"; then
11241 echo '#ifdef __cplusplus' >>confdefs.h
11242 echo $ac_declaration >>confdefs.h
11243 echo '#endif' >>confdefs.h
11247 ac_cpp='$CXXCPP $CPPFLAGS'
11248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11254 ac_cpp='$CPP $CPPFLAGS'
11255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11260 if test -n "$ac_tool_prefix"; then
11261 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11262 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11263 echo "$as_me:$LINENO: checking for $ac_word" >&5
11264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11265 if test "${ac_cv_prog_RANLIB+set}" = set; then
11266 echo $ECHO_N "(cached) $ECHO_C" >&6
11268 if test -n "$RANLIB"; then
11269 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11272 for as_dir in $PATH
11275 test -z "$as_dir" && as_dir=.
11276 for ac_exec_ext in '' $ac_executable_extensions; do
11277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11278 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11287 RANLIB=$ac_cv_prog_RANLIB
11288 if test -n "$RANLIB"; then
11289 echo "$as_me:$LINENO: result: $RANLIB" >&5
11290 echo "${ECHO_T}$RANLIB" >&6
11292 echo "$as_me:$LINENO: result: no" >&5
11293 echo "${ECHO_T}no" >&6
11297 if test -z "$ac_cv_prog_RANLIB"; then
11298 ac_ct_RANLIB=$RANLIB
11299 # Extract the first word of "ranlib", so it can be a program name with args.
11300 set dummy ranlib; ac_word=$2
11301 echo "$as_me:$LINENO: checking for $ac_word" >&5
11302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11303 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11306 if test -n "$ac_ct_RANLIB"; then
11307 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11310 for as_dir in $PATH
11313 test -z "$as_dir" && as_dir=.
11314 for ac_exec_ext in '' $ac_executable_extensions; do
11315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11316 ac_cv_prog_ac_ct_RANLIB="ranlib"
11317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11323 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11326 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11327 if test -n "$ac_ct_RANLIB"; then
11328 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11329 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11331 echo "$as_me:$LINENO: result: no" >&5
11332 echo "${ECHO_T}no" >&6
11335 RANLIB=$ac_ct_RANLIB
11337 RANLIB="$ac_cv_prog_RANLIB"
11341 # Extract the first word of "ar", so it can be a program name with args.
11342 set dummy ar; ac_word=$2
11343 echo "$as_me:$LINENO: checking for $ac_word" >&5
11344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11345 if test "${ac_cv_prog_AR+set}" = set; then
11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 if test -n "$AR"; then
11349 ac_cv_prog_AR="$AR" # Let the user override the test.
11351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11352 for as_dir in $PATH
11355 test -z "$as_dir" && as_dir=.
11356 for ac_exec_ext in '' $ac_executable_extensions; do
11357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11365 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11369 if test -n "$AR"; then
11370 echo "$as_me:$LINENO: result: $AR" >&5
11371 echo "${ECHO_T}$AR" >&6
11373 echo "$as_me:$LINENO: result: no" >&5
11374 echo "${ECHO_T}no" >&6
11378 # Find a good install program. We prefer a C program (faster),
11379 # so one script is as good as another. But avoid the broken or
11380 # incompatible versions:
11381 # SysV /etc/install, /usr/sbin/install
11382 # SunOS /usr/etc/install
11383 # IRIX /sbin/install
11385 # AmigaOS /C/install, which installs bootblocks on floppy discs
11386 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11387 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11388 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11389 # ./install, which can be erroneously created by make from ./install.sh.
11390 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11391 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11392 if test -z "$INSTALL"; then
11393 if test "${ac_cv_path_install+set}" = set; then
11394 echo $ECHO_N "(cached) $ECHO_C" >&6
11396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11397 for as_dir in $PATH
11400 test -z "$as_dir" && as_dir=.
11401 # Account for people who put trailing slashes in PATH elements.
11403 ./ | .// | /cC/* | \
11404 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11407 # OSF1 and SCO ODT 3.0 have their own names for install.
11408 # Don't use installbsd from OSF since it installs stuff as root
11410 for ac_prog in ginstall scoinst install; do
11411 for ac_exec_ext in '' $ac_executable_extensions; do
11412 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11413 if test $ac_prog = install &&
11414 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11415 # AIX install. It has an incompatible calling convention.
11417 elif test $ac_prog = install &&
11418 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11419 # program-specific install script used by HP pwplus--don't use.
11422 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11434 if test "${ac_cv_path_install+set}" = set; then
11435 INSTALL=$ac_cv_path_install
11437 # As a last resort, use the slow shell script. We don't cache a
11438 # path for INSTALL within a source directory, because that will
11439 # break other packages using the cache if that directory is
11440 # removed, or if the path is relative.
11441 INSTALL=$ac_install_sh
11444 echo "$as_me:$LINENO: result: $INSTALL" >&5
11445 echo "${ECHO_T}$INSTALL" >&6
11447 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11448 # It thinks the first close brace ends the variable substitution.
11449 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11451 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11453 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11459 ?:* ) # Drive letter, considered as absolute.
11462 INSTALL=`pwd`/${INSTALL} ;;
11467 INSTALL_DIR="mkdir"
11470 *) INSTALL_DIR="$INSTALL -d"
11477 powerpc-*-darwin* )
11478 INSTALL_PROGRAM="cp -fp"
11479 INSTALL_DATA="cp -fp"
11485 # Extract the first word of "strip", so it can be a program name with args.
11486 set dummy strip; ac_word=$2
11487 echo "$as_me:$LINENO: checking for $ac_word" >&5
11488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11489 if test "${ac_cv_prog_STRIP+set}" = set; then
11490 echo $ECHO_N "(cached) $ECHO_C" >&6
11492 if test -n "$STRIP"; then
11493 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11496 for as_dir in $PATH
11499 test -z "$as_dir" && as_dir=.
11500 for ac_exec_ext in '' $ac_executable_extensions; do
11501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11502 ac_cv_prog_STRIP="strip"
11503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11509 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11512 STRIP=$ac_cv_prog_STRIP
11513 if test -n "$STRIP"; then
11514 echo "$as_me:$LINENO: result: $STRIP" >&5
11515 echo "${ECHO_T}$STRIP" >&6
11517 echo "$as_me:$LINENO: result: no" >&5
11518 echo "${ECHO_T}no" >&6
11522 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11523 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11524 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11525 echo $ECHO_N "(cached) $ECHO_C" >&6
11528 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11529 egrep -s GNU > /dev/null); then
11530 wx_cv_prog_makeisgnu="yes"
11532 wx_cv_prog_makeisgnu="no"
11536 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11537 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11539 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11547 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11548 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11549 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11550 if test "${wx_cv_prog_makevpath+set}" = set; then
11551 echo $ECHO_N "(cached) $ECHO_C" >&6
11554 cat - << EOF > confMake
11560 if test ! -d sub ; then
11563 echo dummy > sub/file
11564 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11566 rm -f sub/file check final_file confMake
11568 if test "$RESULT" = 0; then
11569 wx_cv_prog_makevpath="yes"
11571 wx_cv_prog_makevpath="no"
11575 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11576 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11578 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11579 { { echo "$as_me:$LINENO: error:
11580 You need a make-utility that is able to use the variable
11582 If your version of make does not support VPATH correctly,
11583 please install GNU-make (possibly as gmake), and start
11584 configure with the following command:
11585 export MAKE=gmake; ./configure for sh-type shells
11586 setenv MAKE gmake; ./configure for csh-type shells
11587 Also please do remember to use gmake in this case every time
11588 you are trying to compile.
11590 echo "$as_me: error:
11591 You need a make-utility that is able to use the variable
11593 If your version of make does not support VPATH correctly,
11594 please install GNU-make (possibly as gmake), and start
11595 configure with the following command:
11596 export MAKE=gmake; ./configure for sh-type shells
11597 setenv MAKE gmake; ./configure for csh-type shells
11598 Also please do remember to use gmake in this case every time
11599 you are trying to compile.
11601 { (exit 1); exit 1; }; }
11603 for ac_prog in 'bison -y' byacc
11605 # Extract the first word of "$ac_prog", so it can be a program name with args.
11606 set dummy $ac_prog; ac_word=$2
11607 echo "$as_me:$LINENO: checking for $ac_word" >&5
11608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11609 if test "${ac_cv_prog_YACC+set}" = set; then
11610 echo $ECHO_N "(cached) $ECHO_C" >&6
11612 if test -n "$YACC"; then
11613 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11616 for as_dir in $PATH
11619 test -z "$as_dir" && as_dir=.
11620 for ac_exec_ext in '' $ac_executable_extensions; do
11621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11622 ac_cv_prog_YACC="$ac_prog"
11623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11631 YACC=$ac_cv_prog_YACC
11632 if test -n "$YACC"; then
11633 echo "$as_me:$LINENO: result: $YACC" >&5
11634 echo "${ECHO_T}$YACC" >&6
11636 echo "$as_me:$LINENO: result: no" >&5
11637 echo "${ECHO_T}no" >&6
11640 test -n "$YACC" && break
11642 test -n "$YACC" || YACC="yacc"
11645 for ac_prog in flex lex
11647 # Extract the first word of "$ac_prog", so it can be a program name with args.
11648 set dummy $ac_prog; ac_word=$2
11649 echo "$as_me:$LINENO: checking for $ac_word" >&5
11650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11651 if test "${ac_cv_prog_LEX+set}" = set; then
11652 echo $ECHO_N "(cached) $ECHO_C" >&6
11654 if test -n "$LEX"; then
11655 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11658 for as_dir in $PATH
11661 test -z "$as_dir" && as_dir=.
11662 for ac_exec_ext in '' $ac_executable_extensions; do
11663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11664 ac_cv_prog_LEX="$ac_prog"
11665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11673 LEX=$ac_cv_prog_LEX
11674 if test -n "$LEX"; then
11675 echo "$as_me:$LINENO: result: $LEX" >&5
11676 echo "${ECHO_T}$LEX" >&6
11678 echo "$as_me:$LINENO: result: no" >&5
11679 echo "${ECHO_T}no" >&6
11682 test -n "$LEX" && break
11684 test -n "$LEX" || LEX=":"
11686 if test -z "$LEXLIB"
11688 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11689 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11690 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11691 echo $ECHO_N "(cached) $ECHO_C" >&6
11693 ac_check_lib_save_LIBS=$LIBS
11695 cat >conftest.$ac_ext <<_ACEOF
11696 #line $LINENO "configure"
11699 cat confdefs.h >>conftest.$ac_ext
11700 cat >>conftest.$ac_ext <<_ACEOF
11701 /* end confdefs.h. */
11703 /* Override any gcc2 internal prototype to avoid an error. */
11707 /* We use char because int might match the return type of a gcc2
11708 builtin and then its argument prototype would still apply. */
11718 rm -f conftest.$ac_objext conftest$ac_exeext
11719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11720 (eval $ac_link) 2>&5
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); } &&
11724 { ac_try='test -s conftest$ac_exeext'
11725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11726 (eval $ac_try) 2>&5
11728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); }; }; then
11730 ac_cv_lib_fl_yywrap=yes
11732 echo "$as_me: failed program was:" >&5
11733 sed 's/^/| /' conftest.$ac_ext >&5
11735 ac_cv_lib_fl_yywrap=no
11737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11738 LIBS=$ac_check_lib_save_LIBS
11740 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11741 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11742 if test $ac_cv_lib_fl_yywrap = yes; then
11745 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11746 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11747 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11748 echo $ECHO_N "(cached) $ECHO_C" >&6
11750 ac_check_lib_save_LIBS=$LIBS
11752 cat >conftest.$ac_ext <<_ACEOF
11753 #line $LINENO "configure"
11756 cat confdefs.h >>conftest.$ac_ext
11757 cat >>conftest.$ac_ext <<_ACEOF
11758 /* end confdefs.h. */
11760 /* Override any gcc2 internal prototype to avoid an error. */
11764 /* We use char because int might match the return type of a gcc2
11765 builtin and then its argument prototype would still apply. */
11775 rm -f conftest.$ac_objext conftest$ac_exeext
11776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11777 (eval $ac_link) 2>&5
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); } &&
11781 { ac_try='test -s conftest$ac_exeext'
11782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11783 (eval $ac_try) 2>&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); }; }; then
11787 ac_cv_lib_l_yywrap=yes
11789 echo "$as_me: failed program was:" >&5
11790 sed 's/^/| /' conftest.$ac_ext >&5
11792 ac_cv_lib_l_yywrap=no
11794 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11795 LIBS=$ac_check_lib_save_LIBS
11797 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11798 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11799 if test $ac_cv_lib_l_yywrap = yes; then
11807 if test "x$LEX" != "x:"; then
11808 echo "$as_me:$LINENO: checking lex output file root" >&5
11809 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11810 if test "${ac_cv_prog_lex_root+set}" = set; then
11811 echo $ECHO_N "(cached) $ECHO_C" >&6
11813 # The minimal lex program is just a single line: %%. But some broken lexes
11814 # (Solaris, I think it was) want two %% lines, so accommodate them.
11815 cat >conftest.l <<_ACEOF
11819 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11820 (eval $LEX conftest.l) 2>&5
11822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 (exit $ac_status); }
11824 if test -f lex.yy.c; then
11825 ac_cv_prog_lex_root=lex.yy
11826 elif test -f lexyy.c; then
11827 ac_cv_prog_lex_root=lexyy
11829 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11830 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11831 { (exit 1); exit 1; }; }
11834 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11835 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11837 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11839 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11840 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11841 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11842 echo $ECHO_N "(cached) $ECHO_C" >&6
11844 # POSIX says lex can declare yytext either as a pointer or an array; the
11845 # default is implementation-dependent. Figure out which it is, since
11846 # not all implementations provide the %pointer and %array declarations.
11847 ac_cv_prog_lex_yytext_pointer=no
11848 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11850 LIBS="$LIBS $LEXLIB"
11851 cat >conftest.$ac_ext <<_ACEOF
11852 `cat $LEX_OUTPUT_ROOT.c`
11854 rm -f conftest.$ac_objext conftest$ac_exeext
11855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11856 (eval $ac_link) 2>&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); } &&
11860 { ac_try='test -s conftest$ac_exeext'
11861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11862 (eval $ac_try) 2>&5
11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 (exit $ac_status); }; }; then
11866 ac_cv_prog_lex_yytext_pointer=yes
11868 echo "$as_me: failed program was:" >&5
11869 sed 's/^/| /' conftest.$ac_ext >&5
11872 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11874 rm -f "${LEX_OUTPUT_ROOT}.c"
11877 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11878 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11879 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11881 cat >>confdefs.h <<\_ACEOF
11882 #define YYTEXT_POINTER 1
11889 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11890 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11892 if test "$LN_S" = "ln -s"; then
11893 echo "$as_me:$LINENO: result: yes" >&5
11894 echo "${ECHO_T}yes" >&6
11896 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11897 echo "${ECHO_T}no, using $LN_S" >&6
11902 *-pc-os2_emx | *-pc-os2-emx )
11903 LIBS="$LIBS -lstdcpp"
11904 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11905 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11906 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11907 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11908 echo $ECHO_N "(cached) $ECHO_C" >&6
11910 ac_check_lib_save_LIBS=$LIBS
11911 LIBS="-lcExt $LIBS"
11912 cat >conftest.$ac_ext <<_ACEOF
11913 #line $LINENO "configure"
11916 cat confdefs.h >>conftest.$ac_ext
11917 cat >>conftest.$ac_ext <<_ACEOF
11918 /* end confdefs.h. */
11920 /* Override any gcc2 internal prototype to avoid an error. */
11924 /* We use char because int might match the return type of a gcc2
11925 builtin and then its argument prototype would still apply. */
11935 rm -f conftest.$ac_objext conftest$ac_exeext
11936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11937 (eval $ac_link) 2>&5
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); } &&
11941 { ac_try='test -s conftest$ac_exeext'
11942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11943 (eval $ac_try) 2>&5
11945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); }; }; then
11947 ac_cv_lib_cExt_drand48=yes
11949 echo "$as_me: failed program was:" >&5
11950 sed 's/^/| /' conftest.$ac_ext >&5
11952 ac_cv_lib_cExt_drand48=no
11954 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11955 LIBS=$ac_check_lib_save_LIBS
11957 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11958 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11959 if test $ac_cv_lib_cExt_drand48 = yes; then
11960 LIBS="$LIBS -lcExt"
11964 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11970 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11971 echo "$as_me:$LINENO: checking for strings.h" >&5
11972 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11973 if test "${ac_cv_header_strings_h+set}" = set; then
11974 echo $ECHO_N "(cached) $ECHO_C" >&6
11976 ac_cv_header_strings_h=no
11978 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11979 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11980 if test "$ac_cv_header_strings_h" = "no"; then
11981 echo "$as_me:$LINENO: result: forced no into cache" >&5
11982 echo "${ECHO_T}forced no into cache" >&6
11984 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11985 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11988 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11989 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11990 if test "${ac_cv_header_stdc+set}" = set; then
11991 echo $ECHO_N "(cached) $ECHO_C" >&6
11993 cat >conftest.$ac_ext <<_ACEOF
11994 #line $LINENO "configure"
11997 cat confdefs.h >>conftest.$ac_ext
11998 cat >>conftest.$ac_ext <<_ACEOF
11999 /* end confdefs.h. */
12000 #include <stdlib.h>
12001 #include <stdarg.h>
12002 #include <string.h>
12013 rm -f conftest.$ac_objext
12014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12015 (eval $ac_compile) 2>&5
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); } &&
12019 { ac_try='test -s conftest.$ac_objext'
12020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12021 (eval $ac_try) 2>&5
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); }; }; then
12025 ac_cv_header_stdc=yes
12027 echo "$as_me: failed program was:" >&5
12028 sed 's/^/| /' conftest.$ac_ext >&5
12030 ac_cv_header_stdc=no
12032 rm -f conftest.$ac_objext conftest.$ac_ext
12034 if test $ac_cv_header_stdc = yes; then
12035 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12036 cat >conftest.$ac_ext <<_ACEOF
12037 #line $LINENO "configure"
12040 cat confdefs.h >>conftest.$ac_ext
12041 cat >>conftest.$ac_ext <<_ACEOF
12042 /* end confdefs.h. */
12043 #include <string.h>
12046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12047 $EGREP "memchr" >/dev/null 2>&1; then
12050 ac_cv_header_stdc=no
12056 if test $ac_cv_header_stdc = yes; then
12057 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12058 cat >conftest.$ac_ext <<_ACEOF
12059 #line $LINENO "configure"
12062 cat confdefs.h >>conftest.$ac_ext
12063 cat >>conftest.$ac_ext <<_ACEOF
12064 /* end confdefs.h. */
12065 #include <stdlib.h>
12068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12069 $EGREP "free" >/dev/null 2>&1; then
12072 ac_cv_header_stdc=no
12078 if test $ac_cv_header_stdc = yes; then
12079 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12080 if test "$cross_compiling" = yes; then
12083 cat >conftest.$ac_ext <<_ACEOF
12084 #line $LINENO "configure"
12087 cat confdefs.h >>conftest.$ac_ext
12088 cat >>conftest.$ac_ext <<_ACEOF
12089 /* end confdefs.h. */
12091 #if ((' ' & 0x0FF) == 0x020)
12092 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12093 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12095 # define ISLOWER(c) \
12096 (('a' <= (c) && (c) <= 'i') \
12097 || ('j' <= (c) && (c) <= 'r') \
12098 || ('s' <= (c) && (c) <= 'z'))
12099 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12102 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12107 for (i = 0; i < 256; i++)
12108 if (XOR (islower (i), ISLOWER (i))
12109 || toupper (i) != TOUPPER (i))
12114 rm -f conftest$ac_exeext
12115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12116 (eval $ac_link) 2>&5
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121 (eval $ac_try) 2>&5
12123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); }; }; then
12127 echo "$as_me: program exited with status $ac_status" >&5
12128 echo "$as_me: failed program was:" >&5
12129 sed 's/^/| /' conftest.$ac_ext >&5
12131 ( exit $ac_status )
12132 ac_cv_header_stdc=no
12134 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12138 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12139 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12140 if test $ac_cv_header_stdc = yes; then
12142 cat >>confdefs.h <<\_ACEOF
12143 #define STDC_HEADERS 1
12148 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12158 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12159 inttypes.h stdint.h unistd.h
12161 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12162 echo "$as_me:$LINENO: checking for $ac_header" >&5
12163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12165 echo $ECHO_N "(cached) $ECHO_C" >&6
12167 cat >conftest.$ac_ext <<_ACEOF
12168 #line $LINENO "configure"
12171 cat confdefs.h >>conftest.$ac_ext
12172 cat >>conftest.$ac_ext <<_ACEOF
12173 /* end confdefs.h. */
12174 $ac_includes_default
12176 #include <$ac_header>
12178 rm -f conftest.$ac_objext
12179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12180 (eval $ac_compile) 2>&5
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); } &&
12184 { ac_try='test -s conftest.$ac_objext'
12185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12186 (eval $ac_try) 2>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); }; }; then
12190 eval "$as_ac_Header=yes"
12192 echo "$as_me: failed program was:" >&5
12193 sed 's/^/| /' conftest.$ac_ext >&5
12195 eval "$as_ac_Header=no"
12197 rm -f conftest.$ac_objext conftest.$ac_ext
12199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12202 cat >>confdefs.h <<_ACEOF
12203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12212 for ac_header in strings.h
12214 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12216 echo "$as_me:$LINENO: checking for $ac_header" >&5
12217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12219 echo $ECHO_N "(cached) $ECHO_C" >&6
12221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12224 # Is the header compilable?
12225 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12226 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12227 cat >conftest.$ac_ext <<_ACEOF
12228 #line $LINENO "configure"
12231 cat confdefs.h >>conftest.$ac_ext
12232 cat >>conftest.$ac_ext <<_ACEOF
12233 /* end confdefs.h. */
12234 $ac_includes_default
12235 #include <$ac_header>
12237 rm -f conftest.$ac_objext
12238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12239 (eval $ac_compile) 2>&5
12241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12242 (exit $ac_status); } &&
12243 { ac_try='test -s conftest.$ac_objext'
12244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12245 (eval $ac_try) 2>&5
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); }; }; then
12249 ac_header_compiler=yes
12251 echo "$as_me: failed program was:" >&5
12252 sed 's/^/| /' conftest.$ac_ext >&5
12254 ac_header_compiler=no
12256 rm -f conftest.$ac_objext conftest.$ac_ext
12257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12258 echo "${ECHO_T}$ac_header_compiler" >&6
12260 # Is the header present?
12261 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12263 cat >conftest.$ac_ext <<_ACEOF
12264 #line $LINENO "configure"
12267 cat confdefs.h >>conftest.$ac_ext
12268 cat >>conftest.$ac_ext <<_ACEOF
12269 /* end confdefs.h. */
12270 #include <$ac_header>
12272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12275 grep -v '^ *+' conftest.er1 >conftest.err
12277 cat conftest.err >&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); } >/dev/null; then
12280 if test -s conftest.err; then
12281 ac_cpp_err=$ac_c_preproc_warn_flag
12288 if test -z "$ac_cpp_err"; then
12289 ac_header_preproc=yes
12291 echo "$as_me: failed program was:" >&5
12292 sed 's/^/| /' conftest.$ac_ext >&5
12294 ac_header_preproc=no
12296 rm -f conftest.err conftest.$ac_ext
12297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12298 echo "${ECHO_T}$ac_header_preproc" >&6
12300 # So? What about this header?
12301 case $ac_header_compiler:$ac_header_preproc in
12303 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12306 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12309 ## ------------------------------------ ##
12310 ## Report this to bug-autoconf@gnu.org. ##
12311 ## ------------------------------------ ##
12314 sed "s/^/$as_me: WARNING: /" >&2
12317 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12318 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12319 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12320 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12325 ## ------------------------------------ ##
12326 ## Report this to bug-autoconf@gnu.org. ##
12327 ## ------------------------------------ ##
12330 sed "s/^/$as_me: WARNING: /" >&2
12333 echo "$as_me:$LINENO: checking for $ac_header" >&5
12334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12336 echo $ECHO_N "(cached) $ECHO_C" >&6
12338 eval "$as_ac_Header=$ac_header_preproc"
12340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12345 cat >>confdefs.h <<_ACEOF
12346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12355 for ac_header in stdlib.h
12357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12359 echo "$as_me:$LINENO: checking for $ac_header" >&5
12360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12362 echo $ECHO_N "(cached) $ECHO_C" >&6
12364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12367 # Is the header compilable?
12368 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12369 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12370 cat >conftest.$ac_ext <<_ACEOF
12371 #line $LINENO "configure"
12374 cat confdefs.h >>conftest.$ac_ext
12375 cat >>conftest.$ac_ext <<_ACEOF
12376 /* end confdefs.h. */
12377 $ac_includes_default
12378 #include <$ac_header>
12380 rm -f conftest.$ac_objext
12381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12382 (eval $ac_compile) 2>&5
12384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 (exit $ac_status); } &&
12386 { ac_try='test -s conftest.$ac_objext'
12387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388 (eval $ac_try) 2>&5
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); }; }; then
12392 ac_header_compiler=yes
12394 echo "$as_me: failed program was:" >&5
12395 sed 's/^/| /' conftest.$ac_ext >&5
12397 ac_header_compiler=no
12399 rm -f conftest.$ac_objext conftest.$ac_ext
12400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12401 echo "${ECHO_T}$ac_header_compiler" >&6
12403 # Is the header present?
12404 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12406 cat >conftest.$ac_ext <<_ACEOF
12407 #line $LINENO "configure"
12410 cat confdefs.h >>conftest.$ac_ext
12411 cat >>conftest.$ac_ext <<_ACEOF
12412 /* end confdefs.h. */
12413 #include <$ac_header>
12415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12416 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12418 grep -v '^ *+' conftest.er1 >conftest.err
12420 cat conftest.err >&5
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); } >/dev/null; then
12423 if test -s conftest.err; then
12424 ac_cpp_err=$ac_c_preproc_warn_flag
12431 if test -z "$ac_cpp_err"; then
12432 ac_header_preproc=yes
12434 echo "$as_me: failed program was:" >&5
12435 sed 's/^/| /' conftest.$ac_ext >&5
12437 ac_header_preproc=no
12439 rm -f conftest.err conftest.$ac_ext
12440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12441 echo "${ECHO_T}$ac_header_preproc" >&6
12443 # So? What about this header?
12444 case $ac_header_compiler:$ac_header_preproc in
12446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12452 ## ------------------------------------ ##
12453 ## Report this to bug-autoconf@gnu.org. ##
12454 ## ------------------------------------ ##
12457 sed "s/^/$as_me: WARNING: /" >&2
12460 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12461 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12462 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12463 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12468 ## ------------------------------------ ##
12469 ## Report this to bug-autoconf@gnu.org. ##
12470 ## ------------------------------------ ##
12473 sed "s/^/$as_me: WARNING: /" >&2
12476 echo "$as_me:$LINENO: checking for $ac_header" >&5
12477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12479 echo $ECHO_N "(cached) $ECHO_C" >&6
12481 eval "$as_ac_Header=$ac_header_preproc"
12483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12488 cat >>confdefs.h <<_ACEOF
12489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12497 for ac_header in malloc.h
12499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12501 echo "$as_me:$LINENO: checking for $ac_header" >&5
12502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12504 echo $ECHO_N "(cached) $ECHO_C" >&6
12506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12509 # Is the header compilable?
12510 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12511 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12512 cat >conftest.$ac_ext <<_ACEOF
12513 #line $LINENO "configure"
12516 cat confdefs.h >>conftest.$ac_ext
12517 cat >>conftest.$ac_ext <<_ACEOF
12518 /* end confdefs.h. */
12519 $ac_includes_default
12520 #include <$ac_header>
12522 rm -f conftest.$ac_objext
12523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12524 (eval $ac_compile) 2>&5
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); } &&
12528 { ac_try='test -s conftest.$ac_objext'
12529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12530 (eval $ac_try) 2>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); }; }; then
12534 ac_header_compiler=yes
12536 echo "$as_me: failed program was:" >&5
12537 sed 's/^/| /' conftest.$ac_ext >&5
12539 ac_header_compiler=no
12541 rm -f conftest.$ac_objext conftest.$ac_ext
12542 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12543 echo "${ECHO_T}$ac_header_compiler" >&6
12545 # Is the header present?
12546 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12547 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12548 cat >conftest.$ac_ext <<_ACEOF
12549 #line $LINENO "configure"
12552 cat confdefs.h >>conftest.$ac_ext
12553 cat >>conftest.$ac_ext <<_ACEOF
12554 /* end confdefs.h. */
12555 #include <$ac_header>
12557 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12558 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12560 grep -v '^ *+' conftest.er1 >conftest.err
12562 cat conftest.err >&5
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); } >/dev/null; then
12565 if test -s conftest.err; then
12566 ac_cpp_err=$ac_c_preproc_warn_flag
12573 if test -z "$ac_cpp_err"; then
12574 ac_header_preproc=yes
12576 echo "$as_me: failed program was:" >&5
12577 sed 's/^/| /' conftest.$ac_ext >&5
12579 ac_header_preproc=no
12581 rm -f conftest.err conftest.$ac_ext
12582 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12583 echo "${ECHO_T}$ac_header_preproc" >&6
12585 # So? What about this header?
12586 case $ac_header_compiler:$ac_header_preproc in
12588 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12589 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12594 ## ------------------------------------ ##
12595 ## Report this to bug-autoconf@gnu.org. ##
12596 ## ------------------------------------ ##
12599 sed "s/^/$as_me: WARNING: /" >&2
12602 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12603 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12604 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12605 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12607 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12610 ## ------------------------------------ ##
12611 ## Report this to bug-autoconf@gnu.org. ##
12612 ## ------------------------------------ ##
12615 sed "s/^/$as_me: WARNING: /" >&2
12618 echo "$as_me:$LINENO: checking for $ac_header" >&5
12619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12621 echo $ECHO_N "(cached) $ECHO_C" >&6
12623 eval "$as_ac_Header=$ac_header_preproc"
12625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12626 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12629 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12630 cat >>confdefs.h <<_ACEOF
12631 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12639 for ac_header in unistd.h
12641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12643 echo "$as_me:$LINENO: checking for $ac_header" >&5
12644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12646 echo $ECHO_N "(cached) $ECHO_C" >&6
12648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12651 # Is the header compilable?
12652 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12653 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12654 cat >conftest.$ac_ext <<_ACEOF
12655 #line $LINENO "configure"
12658 cat confdefs.h >>conftest.$ac_ext
12659 cat >>conftest.$ac_ext <<_ACEOF
12660 /* end confdefs.h. */
12661 $ac_includes_default
12662 #include <$ac_header>
12664 rm -f conftest.$ac_objext
12665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12666 (eval $ac_compile) 2>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); } &&
12670 { ac_try='test -s conftest.$ac_objext'
12671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12672 (eval $ac_try) 2>&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); }; }; then
12676 ac_header_compiler=yes
12678 echo "$as_me: failed program was:" >&5
12679 sed 's/^/| /' conftest.$ac_ext >&5
12681 ac_header_compiler=no
12683 rm -f conftest.$ac_objext conftest.$ac_ext
12684 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12685 echo "${ECHO_T}$ac_header_compiler" >&6
12687 # Is the header present?
12688 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12689 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12690 cat >conftest.$ac_ext <<_ACEOF
12691 #line $LINENO "configure"
12694 cat confdefs.h >>conftest.$ac_ext
12695 cat >>conftest.$ac_ext <<_ACEOF
12696 /* end confdefs.h. */
12697 #include <$ac_header>
12699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12702 grep -v '^ *+' conftest.er1 >conftest.err
12704 cat conftest.err >&5
12705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706 (exit $ac_status); } >/dev/null; then
12707 if test -s conftest.err; then
12708 ac_cpp_err=$ac_c_preproc_warn_flag
12715 if test -z "$ac_cpp_err"; then
12716 ac_header_preproc=yes
12718 echo "$as_me: failed program was:" >&5
12719 sed 's/^/| /' conftest.$ac_ext >&5
12721 ac_header_preproc=no
12723 rm -f conftest.err conftest.$ac_ext
12724 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12725 echo "${ECHO_T}$ac_header_preproc" >&6
12727 # So? What about this header?
12728 case $ac_header_compiler:$ac_header_preproc in
12730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12731 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12736 ## ------------------------------------ ##
12737 ## Report this to bug-autoconf@gnu.org. ##
12738 ## ------------------------------------ ##
12741 sed "s/^/$as_me: WARNING: /" >&2
12744 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12745 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12746 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12747 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12752 ## ------------------------------------ ##
12753 ## Report this to bug-autoconf@gnu.org. ##
12754 ## ------------------------------------ ##
12757 sed "s/^/$as_me: WARNING: /" >&2
12760 echo "$as_me:$LINENO: checking for $ac_header" >&5
12761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12765 eval "$as_ac_Header=$ac_header_preproc"
12767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12772 cat >>confdefs.h <<_ACEOF
12773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12781 for ac_header in wchar.h
12783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12785 echo "$as_me:$LINENO: checking for $ac_header" >&5
12786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12788 echo $ECHO_N "(cached) $ECHO_C" >&6
12790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12793 # Is the header compilable?
12794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12796 cat >conftest.$ac_ext <<_ACEOF
12797 #line $LINENO "configure"
12800 cat confdefs.h >>conftest.$ac_ext
12801 cat >>conftest.$ac_ext <<_ACEOF
12802 /* end confdefs.h. */
12803 $ac_includes_default
12804 #include <$ac_header>
12806 rm -f conftest.$ac_objext
12807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12808 (eval $ac_compile) 2>&5
12810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811 (exit $ac_status); } &&
12812 { ac_try='test -s conftest.$ac_objext'
12813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12814 (eval $ac_try) 2>&5
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); }; }; then
12818 ac_header_compiler=yes
12820 echo "$as_me: failed program was:" >&5
12821 sed 's/^/| /' conftest.$ac_ext >&5
12823 ac_header_compiler=no
12825 rm -f conftest.$ac_objext conftest.$ac_ext
12826 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12827 echo "${ECHO_T}$ac_header_compiler" >&6
12829 # Is the header present?
12830 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12831 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12832 cat >conftest.$ac_ext <<_ACEOF
12833 #line $LINENO "configure"
12836 cat confdefs.h >>conftest.$ac_ext
12837 cat >>conftest.$ac_ext <<_ACEOF
12838 /* end confdefs.h. */
12839 #include <$ac_header>
12841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12844 grep -v '^ *+' conftest.er1 >conftest.err
12846 cat conftest.err >&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); } >/dev/null; then
12849 if test -s conftest.err; then
12850 ac_cpp_err=$ac_c_preproc_warn_flag
12857 if test -z "$ac_cpp_err"; then
12858 ac_header_preproc=yes
12860 echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.$ac_ext >&5
12863 ac_header_preproc=no
12865 rm -f conftest.err conftest.$ac_ext
12866 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12867 echo "${ECHO_T}$ac_header_preproc" >&6
12869 # So? What about this header?
12870 case $ac_header_compiler:$ac_header_preproc in
12872 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12873 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12875 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12878 ## ------------------------------------ ##
12879 ## Report this to bug-autoconf@gnu.org. ##
12880 ## ------------------------------------ ##
12883 sed "s/^/$as_me: WARNING: /" >&2
12886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12887 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12889 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12894 ## ------------------------------------ ##
12895 ## Report this to bug-autoconf@gnu.org. ##
12896 ## ------------------------------------ ##
12899 sed "s/^/$as_me: WARNING: /" >&2
12902 echo "$as_me:$LINENO: checking for $ac_header" >&5
12903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12905 echo $ECHO_N "(cached) $ECHO_C" >&6
12907 eval "$as_ac_Header=$ac_header_preproc"
12909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12914 cat >>confdefs.h <<_ACEOF
12915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12923 if test "$ac_cv_header_wchar_h" != "yes"; then
12925 for ac_header in wcstr.h
12927 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12929 echo "$as_me:$LINENO: checking for $ac_header" >&5
12930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12932 echo $ECHO_N "(cached) $ECHO_C" >&6
12934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12937 # Is the header compilable?
12938 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12939 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12940 cat >conftest.$ac_ext <<_ACEOF
12941 #line $LINENO "configure"
12944 cat confdefs.h >>conftest.$ac_ext
12945 cat >>conftest.$ac_ext <<_ACEOF
12946 /* end confdefs.h. */
12947 $ac_includes_default
12948 #include <$ac_header>
12950 rm -f conftest.$ac_objext
12951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12952 (eval $ac_compile) 2>&5
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); } &&
12956 { ac_try='test -s conftest.$ac_objext'
12957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12958 (eval $ac_try) 2>&5
12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 (exit $ac_status); }; }; then
12962 ac_header_compiler=yes
12964 echo "$as_me: failed program was:" >&5
12965 sed 's/^/| /' conftest.$ac_ext >&5
12967 ac_header_compiler=no
12969 rm -f conftest.$ac_objext conftest.$ac_ext
12970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12971 echo "${ECHO_T}$ac_header_compiler" >&6
12973 # Is the header present?
12974 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12975 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12976 cat >conftest.$ac_ext <<_ACEOF
12977 #line $LINENO "configure"
12980 cat confdefs.h >>conftest.$ac_ext
12981 cat >>conftest.$ac_ext <<_ACEOF
12982 /* end confdefs.h. */
12983 #include <$ac_header>
12985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12986 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12988 grep -v '^ *+' conftest.er1 >conftest.err
12990 cat conftest.err >&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } >/dev/null; then
12993 if test -s conftest.err; then
12994 ac_cpp_err=$ac_c_preproc_warn_flag
13001 if test -z "$ac_cpp_err"; then
13002 ac_header_preproc=yes
13004 echo "$as_me: failed program was:" >&5
13005 sed 's/^/| /' conftest.$ac_ext >&5
13007 ac_header_preproc=no
13009 rm -f conftest.err conftest.$ac_ext
13010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13011 echo "${ECHO_T}$ac_header_preproc" >&6
13013 # So? What about this header?
13014 case $ac_header_compiler:$ac_header_preproc in
13016 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13017 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13022 ## ------------------------------------ ##
13023 ## Report this to bug-autoconf@gnu.org. ##
13024 ## ------------------------------------ ##
13027 sed "s/^/$as_me: WARNING: /" >&2
13030 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13031 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13032 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13033 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13038 ## ------------------------------------ ##
13039 ## Report this to bug-autoconf@gnu.org. ##
13040 ## ------------------------------------ ##
13043 sed "s/^/$as_me: WARNING: /" >&2
13046 echo "$as_me:$LINENO: checking for $ac_header" >&5
13047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13049 echo $ECHO_N "(cached) $ECHO_C" >&6
13051 eval "$as_ac_Header=$ac_header_preproc"
13053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13058 cat >>confdefs.h <<_ACEOF
13059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13069 for ac_header in fnmatch.h
13071 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13073 echo "$as_me:$LINENO: checking for $ac_header" >&5
13074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13076 echo $ECHO_N "(cached) $ECHO_C" >&6
13078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13081 # Is the header compilable?
13082 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13083 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13084 cat >conftest.$ac_ext <<_ACEOF
13085 #line $LINENO "configure"
13088 cat confdefs.h >>conftest.$ac_ext
13089 cat >>conftest.$ac_ext <<_ACEOF
13090 /* end confdefs.h. */
13091 $ac_includes_default
13092 #include <$ac_header>
13094 rm -f conftest.$ac_objext
13095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13096 (eval $ac_compile) 2>&5
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); } &&
13100 { ac_try='test -s conftest.$ac_objext'
13101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13102 (eval $ac_try) 2>&5
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); }; }; then
13106 ac_header_compiler=yes
13108 echo "$as_me: failed program was:" >&5
13109 sed 's/^/| /' conftest.$ac_ext >&5
13111 ac_header_compiler=no
13113 rm -f conftest.$ac_objext conftest.$ac_ext
13114 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13115 echo "${ECHO_T}$ac_header_compiler" >&6
13117 # Is the header present?
13118 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13119 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13120 cat >conftest.$ac_ext <<_ACEOF
13121 #line $LINENO "configure"
13124 cat confdefs.h >>conftest.$ac_ext
13125 cat >>conftest.$ac_ext <<_ACEOF
13126 /* end confdefs.h. */
13127 #include <$ac_header>
13129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13130 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13132 grep -v '^ *+' conftest.er1 >conftest.err
13134 cat conftest.err >&5
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); } >/dev/null; then
13137 if test -s conftest.err; then
13138 ac_cpp_err=$ac_c_preproc_warn_flag
13145 if test -z "$ac_cpp_err"; then
13146 ac_header_preproc=yes
13148 echo "$as_me: failed program was:" >&5
13149 sed 's/^/| /' conftest.$ac_ext >&5
13151 ac_header_preproc=no
13153 rm -f conftest.err conftest.$ac_ext
13154 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13155 echo "${ECHO_T}$ac_header_preproc" >&6
13157 # So? What about this header?
13158 case $ac_header_compiler:$ac_header_preproc in
13160 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13161 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13163 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13166 ## ------------------------------------ ##
13167 ## Report this to bug-autoconf@gnu.org. ##
13168 ## ------------------------------------ ##
13171 sed "s/^/$as_me: WARNING: /" >&2
13174 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13175 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13176 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13177 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13179 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13182 ## ------------------------------------ ##
13183 ## Report this to bug-autoconf@gnu.org. ##
13184 ## ------------------------------------ ##
13187 sed "s/^/$as_me: WARNING: /" >&2
13190 echo "$as_me:$LINENO: checking for $ac_header" >&5
13191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13193 echo $ECHO_N "(cached) $ECHO_C" >&6
13195 eval "$as_ac_Header=$ac_header_preproc"
13197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13202 cat >>confdefs.h <<_ACEOF
13203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13211 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13213 for ac_func in fnmatch
13215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13216 echo "$as_me:$LINENO: checking for $ac_func" >&5
13217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13218 if eval "test \"\${$as_ac_var+set}\" = set"; then
13219 echo $ECHO_N "(cached) $ECHO_C" >&6
13221 cat >conftest.$ac_ext <<_ACEOF
13222 #line $LINENO "configure"
13225 cat confdefs.h >>conftest.$ac_ext
13226 cat >>conftest.$ac_ext <<_ACEOF
13227 /* end confdefs.h. */
13228 /* System header to define __stub macros and hopefully few prototypes,
13229 which can conflict with char $ac_func (); below.
13230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13231 <limits.h> exists even on freestanding compilers. */
13233 # include <limits.h>
13235 # include <assert.h>
13237 /* Override any gcc2 internal prototype to avoid an error. */
13242 /* We use char because int might match the return type of a gcc2
13243 builtin and then its argument prototype would still apply. */
13245 /* The GNU C library defines this for functions which it implements
13246 to always fail with ENOSYS. Some functions are actually named
13247 something starting with __ and the normal name is an alias. */
13248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13251 char (*f) () = $ac_func;
13260 return f != $ac_func;
13265 rm -f conftest.$ac_objext conftest$ac_exeext
13266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13267 (eval $ac_link) 2>&5
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 (exit $ac_status); } &&
13271 { ac_try='test -s conftest$ac_exeext'
13272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13273 (eval $ac_try) 2>&5
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); }; }; then
13277 eval "$as_ac_var=yes"
13279 echo "$as_me: failed program was:" >&5
13280 sed 's/^/| /' conftest.$ac_ext >&5
13282 eval "$as_ac_var=no"
13284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13288 if test `eval echo '${'$as_ac_var'}'` = yes; then
13289 cat >>confdefs.h <<_ACEOF
13290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13299 for ac_header in langinfo.h
13301 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13303 echo "$as_me:$LINENO: checking for $ac_header" >&5
13304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13306 echo $ECHO_N "(cached) $ECHO_C" >&6
13308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13311 # Is the header compilable?
13312 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13313 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13314 cat >conftest.$ac_ext <<_ACEOF
13315 #line $LINENO "configure"
13318 cat confdefs.h >>conftest.$ac_ext
13319 cat >>conftest.$ac_ext <<_ACEOF
13320 /* end confdefs.h. */
13321 $ac_includes_default
13322 #include <$ac_header>
13324 rm -f conftest.$ac_objext
13325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13326 (eval $ac_compile) 2>&5
13328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329 (exit $ac_status); } &&
13330 { ac_try='test -s conftest.$ac_objext'
13331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13332 (eval $ac_try) 2>&5
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); }; }; then
13336 ac_header_compiler=yes
13338 echo "$as_me: failed program was:" >&5
13339 sed 's/^/| /' conftest.$ac_ext >&5
13341 ac_header_compiler=no
13343 rm -f conftest.$ac_objext conftest.$ac_ext
13344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13345 echo "${ECHO_T}$ac_header_compiler" >&6
13347 # Is the header present?
13348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13350 cat >conftest.$ac_ext <<_ACEOF
13351 #line $LINENO "configure"
13354 cat confdefs.h >>conftest.$ac_ext
13355 cat >>conftest.$ac_ext <<_ACEOF
13356 /* end confdefs.h. */
13357 #include <$ac_header>
13359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13360 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13362 grep -v '^ *+' conftest.er1 >conftest.err
13364 cat conftest.err >&5
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); } >/dev/null; then
13367 if test -s conftest.err; then
13368 ac_cpp_err=$ac_c_preproc_warn_flag
13375 if test -z "$ac_cpp_err"; then
13376 ac_header_preproc=yes
13378 echo "$as_me: failed program was:" >&5
13379 sed 's/^/| /' conftest.$ac_ext >&5
13381 ac_header_preproc=no
13383 rm -f conftest.err conftest.$ac_ext
13384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13385 echo "${ECHO_T}$ac_header_preproc" >&6
13387 # So? What about this header?
13388 case $ac_header_compiler:$ac_header_preproc in
13390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13393 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13396 ## ------------------------------------ ##
13397 ## Report this to bug-autoconf@gnu.org. ##
13398 ## ------------------------------------ ##
13401 sed "s/^/$as_me: WARNING: /" >&2
13404 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13405 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13406 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13407 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13409 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13412 ## ------------------------------------ ##
13413 ## Report this to bug-autoconf@gnu.org. ##
13414 ## ------------------------------------ ##
13417 sed "s/^/$as_me: WARNING: /" >&2
13420 echo "$as_me:$LINENO: checking for $ac_header" >&5
13421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13423 echo $ECHO_N "(cached) $ECHO_C" >&6
13425 eval "$as_ac_Header=$ac_header_preproc"
13427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13432 cat >>confdefs.h <<_ACEOF
13433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13442 *-pc-os2_emx | *-pc-os2-emx )
13443 if test $ac_cv_header_langinfo_h = "yes"; then
13444 LIBS="$LIBS -lintl"
13449 if test "$wxUSE_GUI" = "yes"; then
13450 if test "$wxUSE_UNIX" = "yes"; then
13452 for ac_header in X11/XKBlib.h
13454 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13456 echo "$as_me:$LINENO: checking for $ac_header" >&5
13457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13459 echo $ECHO_N "(cached) $ECHO_C" >&6
13461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13464 # Is the header compilable?
13465 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13466 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13467 cat >conftest.$ac_ext <<_ACEOF
13468 #line $LINENO "configure"
13471 cat confdefs.h >>conftest.$ac_ext
13472 cat >>conftest.$ac_ext <<_ACEOF
13473 /* end confdefs.h. */
13474 $ac_includes_default
13475 #include <$ac_header>
13477 rm -f conftest.$ac_objext
13478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13479 (eval $ac_compile) 2>&5
13481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13482 (exit $ac_status); } &&
13483 { ac_try='test -s conftest.$ac_objext'
13484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13485 (eval $ac_try) 2>&5
13487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13488 (exit $ac_status); }; }; then
13489 ac_header_compiler=yes
13491 echo "$as_me: failed program was:" >&5
13492 sed 's/^/| /' conftest.$ac_ext >&5
13494 ac_header_compiler=no
13496 rm -f conftest.$ac_objext conftest.$ac_ext
13497 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13498 echo "${ECHO_T}$ac_header_compiler" >&6
13500 # Is the header present?
13501 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13502 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13503 cat >conftest.$ac_ext <<_ACEOF
13504 #line $LINENO "configure"
13507 cat confdefs.h >>conftest.$ac_ext
13508 cat >>conftest.$ac_ext <<_ACEOF
13509 /* end confdefs.h. */
13510 #include <$ac_header>
13512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13515 grep -v '^ *+' conftest.er1 >conftest.err
13517 cat conftest.err >&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); } >/dev/null; then
13520 if test -s conftest.err; then
13521 ac_cpp_err=$ac_c_preproc_warn_flag
13528 if test -z "$ac_cpp_err"; then
13529 ac_header_preproc=yes
13531 echo "$as_me: failed program was:" >&5
13532 sed 's/^/| /' conftest.$ac_ext >&5
13534 ac_header_preproc=no
13536 rm -f conftest.err conftest.$ac_ext
13537 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13538 echo "${ECHO_T}$ac_header_preproc" >&6
13540 # So? What about this header?
13541 case $ac_header_compiler:$ac_header_preproc in
13543 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13544 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13549 ## ------------------------------------ ##
13550 ## Report this to bug-autoconf@gnu.org. ##
13551 ## ------------------------------------ ##
13554 sed "s/^/$as_me: WARNING: /" >&2
13557 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13558 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13559 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13560 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13562 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13565 ## ------------------------------------ ##
13566 ## Report this to bug-autoconf@gnu.org. ##
13567 ## ------------------------------------ ##
13570 sed "s/^/$as_me: WARNING: /" >&2
13573 echo "$as_me:$LINENO: checking for $ac_header" >&5
13574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13576 echo $ECHO_N "(cached) $ECHO_C" >&6
13578 eval "$as_ac_Header=$ac_header_preproc"
13580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13581 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13585 cat >>confdefs.h <<_ACEOF
13586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13597 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13598 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13599 if test "${ac_cv_c_const+set}" = set; then
13600 echo $ECHO_N "(cached) $ECHO_C" >&6
13602 cat >conftest.$ac_ext <<_ACEOF
13603 #line $LINENO "configure"
13606 cat confdefs.h >>conftest.$ac_ext
13607 cat >>conftest.$ac_ext <<_ACEOF
13608 /* end confdefs.h. */
13613 /* FIXME: Include the comments suggested by Paul. */
13614 #ifndef __cplusplus
13615 /* Ultrix mips cc rejects this. */
13616 typedef int charset[2];
13618 /* SunOS 4.1.1 cc rejects this. */
13619 char const *const *ccp;
13621 /* NEC SVR4.0.2 mips cc rejects this. */
13622 struct point {int x, y;};
13623 static struct point const zero = {0,0};
13624 /* AIX XL C 1.02.0.0 rejects this.
13625 It does not let you subtract one const X* pointer from another in
13626 an arm of an if-expression whose if-part is not a constant
13628 const char *g = "string";
13629 ccp = &g + (g ? g-g : 0);
13630 /* HPUX 7.0 cc rejects these. */
13633 ccp = (char const *const *) p;
13634 { /* SCO 3.2v4 cc rejects this. */
13636 char const *s = 0 ? (char *) 0 : (char const *) 0;
13640 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13641 int x[] = {25, 17};
13642 const int *foo = &x[0];
13645 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13646 typedef const int *iptr;
13650 { /* AIX XL C 1.02.0.0 rejects this saying
13651 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13652 struct s { int j; const int *ap[3]; };
13653 struct s *b; b->j = 5;
13655 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13656 const int foo = 10;
13664 rm -f conftest.$ac_objext
13665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13666 (eval $ac_compile) 2>&5
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); } &&
13670 { ac_try='test -s conftest.$ac_objext'
13671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13672 (eval $ac_try) 2>&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); }; }; then
13678 echo "$as_me: failed program was:" >&5
13679 sed 's/^/| /' conftest.$ac_ext >&5
13683 rm -f conftest.$ac_objext conftest.$ac_ext
13685 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13686 echo "${ECHO_T}$ac_cv_c_const" >&6
13687 if test $ac_cv_c_const = no; then
13689 cat >>confdefs.h <<\_ACEOF
13695 echo "$as_me:$LINENO: checking for inline" >&5
13696 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13697 if test "${ac_cv_c_inline+set}" = set; then
13698 echo $ECHO_N "(cached) $ECHO_C" >&6
13701 for ac_kw in inline __inline__ __inline; do
13702 cat >conftest.$ac_ext <<_ACEOF
13703 #line $LINENO "configure"
13706 cat confdefs.h >>conftest.$ac_ext
13707 cat >>conftest.$ac_ext <<_ACEOF
13708 /* end confdefs.h. */
13709 #ifndef __cplusplus
13711 static $ac_kw foo_t static_foo () {return 0; }
13712 $ac_kw foo_t foo () {return 0; }
13716 rm -f conftest.$ac_objext
13717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13718 (eval $ac_compile) 2>&5
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); } &&
13722 { ac_try='test -s conftest.$ac_objext'
13723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13724 (eval $ac_try) 2>&5
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); }; }; then
13728 ac_cv_c_inline=$ac_kw; break
13730 echo "$as_me: failed program was:" >&5
13731 sed 's/^/| /' conftest.$ac_ext >&5
13734 rm -f conftest.$ac_objext conftest.$ac_ext
13738 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13739 echo "${ECHO_T}$ac_cv_c_inline" >&6
13740 case $ac_cv_c_inline in
13743 cat >>confdefs.h <<\_ACEOF
13747 *) cat >>confdefs.h <<_ACEOF
13748 #define inline $ac_cv_c_inline
13754 echo "$as_me:$LINENO: checking for char" >&5
13755 echo $ECHO_N "checking for char... $ECHO_C" >&6
13756 if test "${ac_cv_type_char+set}" = set; then
13757 echo $ECHO_N "(cached) $ECHO_C" >&6
13759 cat >conftest.$ac_ext <<_ACEOF
13760 #line $LINENO "configure"
13763 cat confdefs.h >>conftest.$ac_ext
13764 cat >>conftest.$ac_ext <<_ACEOF
13765 /* end confdefs.h. */
13766 $ac_includes_default
13778 rm -f conftest.$ac_objext
13779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13780 (eval $ac_compile) 2>&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); } &&
13784 { ac_try='test -s conftest.$ac_objext'
13785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13786 (eval $ac_try) 2>&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); }; }; then
13790 ac_cv_type_char=yes
13792 echo "$as_me: failed program was:" >&5
13793 sed 's/^/| /' conftest.$ac_ext >&5
13797 rm -f conftest.$ac_objext conftest.$ac_ext
13799 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13800 echo "${ECHO_T}$ac_cv_type_char" >&6
13802 echo "$as_me:$LINENO: checking size of char" >&5
13803 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13804 if test "${ac_cv_sizeof_char+set}" = set; then
13805 echo $ECHO_N "(cached) $ECHO_C" >&6
13807 if test "$ac_cv_type_char" = yes; then
13808 # The cast to unsigned long works around a bug in the HP C Compiler
13809 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13810 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13811 # This bug is HP SR number 8606223364.
13812 if test "$cross_compiling" = yes; then
13813 # Depending upon the size, compute the lo and hi bounds.
13814 cat >conftest.$ac_ext <<_ACEOF
13815 #line $LINENO "configure"
13818 cat confdefs.h >>conftest.$ac_ext
13819 cat >>conftest.$ac_ext <<_ACEOF
13820 /* end confdefs.h. */
13821 $ac_includes_default
13825 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13832 rm -f conftest.$ac_objext
13833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13834 (eval $ac_compile) 2>&5
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); } &&
13838 { ac_try='test -s conftest.$ac_objext'
13839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13840 (eval $ac_try) 2>&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); }; }; then
13846 cat >conftest.$ac_ext <<_ACEOF
13847 #line $LINENO "configure"
13850 cat confdefs.h >>conftest.$ac_ext
13851 cat >>conftest.$ac_ext <<_ACEOF
13852 /* end confdefs.h. */
13853 $ac_includes_default
13857 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13864 rm -f conftest.$ac_objext
13865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13866 (eval $ac_compile) 2>&5
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); } &&
13870 { ac_try='test -s conftest.$ac_objext'
13871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13872 (eval $ac_try) 2>&5
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); }; }; then
13876 ac_hi=$ac_mid; break
13878 echo "$as_me: failed program was:" >&5
13879 sed 's/^/| /' conftest.$ac_ext >&5
13881 ac_lo=`expr $ac_mid + 1`
13882 if test $ac_lo -le $ac_mid; then
13886 ac_mid=`expr 2 '*' $ac_mid + 1`
13888 rm -f conftest.$ac_objext conftest.$ac_ext
13891 echo "$as_me: failed program was:" >&5
13892 sed 's/^/| /' conftest.$ac_ext >&5
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
13905 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13912 rm -f conftest.$ac_objext
13913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13914 (eval $ac_compile) 2>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); } &&
13918 { ac_try='test -s conftest.$ac_objext'
13919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920 (eval $ac_try) 2>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); }; }; then
13926 cat >conftest.$ac_ext <<_ACEOF
13927 #line $LINENO "configure"
13930 cat confdefs.h >>conftest.$ac_ext
13931 cat >>conftest.$ac_ext <<_ACEOF
13932 /* end confdefs.h. */
13933 $ac_includes_default
13937 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13944 rm -f conftest.$ac_objext
13945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13946 (eval $ac_compile) 2>&5
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); } &&
13950 { ac_try='test -s conftest.$ac_objext'
13951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13952 (eval $ac_try) 2>&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); }; }; then
13956 ac_lo=$ac_mid; break
13958 echo "$as_me: failed program was:" >&5
13959 sed 's/^/| /' conftest.$ac_ext >&5
13961 ac_hi=`expr '(' $ac_mid ')' - 1`
13962 if test $ac_mid -le $ac_hi; then
13966 ac_mid=`expr 2 '*' $ac_mid`
13968 rm -f conftest.$ac_objext conftest.$ac_ext
13971 echo "$as_me: failed program was:" >&5
13972 sed 's/^/| /' conftest.$ac_ext >&5
13976 rm -f conftest.$ac_objext conftest.$ac_ext
13978 rm -f conftest.$ac_objext conftest.$ac_ext
13979 # Binary search between lo and hi bounds.
13980 while test "x$ac_lo" != "x$ac_hi"; do
13981 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13982 cat >conftest.$ac_ext <<_ACEOF
13983 #line $LINENO "configure"
13986 cat confdefs.h >>conftest.$ac_ext
13987 cat >>conftest.$ac_ext <<_ACEOF
13988 /* end confdefs.h. */
13989 $ac_includes_default
13993 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14000 rm -f conftest.$ac_objext
14001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14002 (eval $ac_compile) 2>&5
14004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14005 (exit $ac_status); } &&
14006 { ac_try='test -s conftest.$ac_objext'
14007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14008 (eval $ac_try) 2>&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); }; }; then
14014 echo "$as_me: failed program was:" >&5
14015 sed 's/^/| /' conftest.$ac_ext >&5
14017 ac_lo=`expr '(' $ac_mid ')' + 1`
14019 rm -f conftest.$ac_objext conftest.$ac_ext
14022 ?*) ac_cv_sizeof_char=$ac_lo;;
14023 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14024 See \`config.log' for more details." >&5
14025 echo "$as_me: error: cannot compute sizeof (char), 77
14026 See \`config.log' for more details." >&2;}
14027 { (exit 1); exit 1; }; } ;;
14030 if test "$cross_compiling" = yes; then
14031 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14032 See \`config.log' for more details." >&5
14033 echo "$as_me: error: cannot run test program while cross compiling
14034 See \`config.log' for more details." >&2;}
14035 { (exit 1); exit 1; }; }
14037 cat >conftest.$ac_ext <<_ACEOF
14038 #line $LINENO "configure"
14041 cat confdefs.h >>conftest.$ac_ext
14042 cat >>conftest.$ac_ext <<_ACEOF
14043 /* end confdefs.h. */
14044 $ac_includes_default
14045 long longval () { return (long) (sizeof (char)); }
14046 unsigned long ulongval () { return (long) (sizeof (char)); }
14048 #include <stdlib.h>
14053 FILE *f = fopen ("conftest.val", "w");
14056 if (((long) (sizeof (char))) < 0)
14058 long i = longval ();
14059 if (i != ((long) (sizeof (char))))
14061 fprintf (f, "%ld\n", i);
14065 unsigned long i = ulongval ();
14066 if (i != ((long) (sizeof (char))))
14068 fprintf (f, "%lu\n", i);
14070 exit (ferror (f) || fclose (f) != 0);
14076 rm -f conftest$ac_exeext
14077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14078 (eval $ac_link) 2>&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14083 (eval $ac_try) 2>&5
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); }; }; then
14087 ac_cv_sizeof_char=`cat conftest.val`
14089 echo "$as_me: program exited with status $ac_status" >&5
14090 echo "$as_me: failed program was:" >&5
14091 sed 's/^/| /' conftest.$ac_ext >&5
14093 ( exit $ac_status )
14094 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14095 See \`config.log' for more details." >&5
14096 echo "$as_me: error: cannot compute sizeof (char), 77
14097 See \`config.log' for more details." >&2;}
14098 { (exit 1); exit 1; }; }
14100 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14105 ac_cv_sizeof_char=0
14108 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14109 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14110 cat >>confdefs.h <<_ACEOF
14111 #define SIZEOF_CHAR $ac_cv_sizeof_char
14115 echo "$as_me:$LINENO: checking for short" >&5
14116 echo $ECHO_N "checking for short... $ECHO_C" >&6
14117 if test "${ac_cv_type_short+set}" = set; then
14118 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 cat >conftest.$ac_ext <<_ACEOF
14121 #line $LINENO "configure"
14124 cat confdefs.h >>conftest.$ac_ext
14125 cat >>conftest.$ac_ext <<_ACEOF
14126 /* end confdefs.h. */
14127 $ac_includes_default
14133 if (sizeof (short))
14139 rm -f conftest.$ac_objext
14140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14141 (eval $ac_compile) 2>&5
14143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 (exit $ac_status); } &&
14145 { ac_try='test -s conftest.$ac_objext'
14146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14147 (eval $ac_try) 2>&5
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); }; }; then
14151 ac_cv_type_short=yes
14153 echo "$as_me: failed program was:" >&5
14154 sed 's/^/| /' conftest.$ac_ext >&5
14156 ac_cv_type_short=no
14158 rm -f conftest.$ac_objext conftest.$ac_ext
14160 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14161 echo "${ECHO_T}$ac_cv_type_short" >&6
14163 echo "$as_me:$LINENO: checking size of short" >&5
14164 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14165 if test "${ac_cv_sizeof_short+set}" = set; then
14166 echo $ECHO_N "(cached) $ECHO_C" >&6
14168 if test "$ac_cv_type_short" = yes; then
14169 # The cast to unsigned long works around a bug in the HP C Compiler
14170 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14171 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14172 # This bug is HP SR number 8606223364.
14173 if test "$cross_compiling" = yes; then
14174 # Depending upon the size, compute the lo and hi bounds.
14175 cat >conftest.$ac_ext <<_ACEOF
14176 #line $LINENO "configure"
14179 cat confdefs.h >>conftest.$ac_ext
14180 cat >>conftest.$ac_ext <<_ACEOF
14181 /* end confdefs.h. */
14182 $ac_includes_default
14186 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14193 rm -f conftest.$ac_objext
14194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14195 (eval $ac_compile) 2>&5
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 (exit $ac_status); } &&
14199 { ac_try='test -s conftest.$ac_objext'
14200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14201 (eval $ac_try) 2>&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); }; }; then
14207 cat >conftest.$ac_ext <<_ACEOF
14208 #line $LINENO "configure"
14211 cat confdefs.h >>conftest.$ac_ext
14212 cat >>conftest.$ac_ext <<_ACEOF
14213 /* end confdefs.h. */
14214 $ac_includes_default
14218 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14225 rm -f conftest.$ac_objext
14226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14227 (eval $ac_compile) 2>&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); } &&
14231 { ac_try='test -s conftest.$ac_objext'
14232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14233 (eval $ac_try) 2>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); }; }; then
14237 ac_hi=$ac_mid; break
14239 echo "$as_me: failed program was:" >&5
14240 sed 's/^/| /' conftest.$ac_ext >&5
14242 ac_lo=`expr $ac_mid + 1`
14243 if test $ac_lo -le $ac_mid; then
14247 ac_mid=`expr 2 '*' $ac_mid + 1`
14249 rm -f conftest.$ac_objext conftest.$ac_ext
14252 echo "$as_me: failed program was:" >&5
14253 sed 's/^/| /' conftest.$ac_ext >&5
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
14266 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14273 rm -f conftest.$ac_objext
14274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14275 (eval $ac_compile) 2>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); } &&
14279 { ac_try='test -s conftest.$ac_objext'
14280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14281 (eval $ac_try) 2>&5
14283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); }; }; then
14287 cat >conftest.$ac_ext <<_ACEOF
14288 #line $LINENO "configure"
14291 cat confdefs.h >>conftest.$ac_ext
14292 cat >>conftest.$ac_ext <<_ACEOF
14293 /* end confdefs.h. */
14294 $ac_includes_default
14298 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14305 rm -f conftest.$ac_objext
14306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14307 (eval $ac_compile) 2>&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } &&
14311 { ac_try='test -s conftest.$ac_objext'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; }; then
14317 ac_lo=$ac_mid; break
14319 echo "$as_me: failed program was:" >&5
14320 sed 's/^/| /' conftest.$ac_ext >&5
14322 ac_hi=`expr '(' $ac_mid ')' - 1`
14323 if test $ac_mid -le $ac_hi; then
14327 ac_mid=`expr 2 '*' $ac_mid`
14329 rm -f conftest.$ac_objext conftest.$ac_ext
14332 echo "$as_me: failed program was:" >&5
14333 sed 's/^/| /' conftest.$ac_ext >&5
14337 rm -f conftest.$ac_objext conftest.$ac_ext
14339 rm -f conftest.$ac_objext conftest.$ac_ext
14340 # Binary search between lo and hi bounds.
14341 while test "x$ac_lo" != "x$ac_hi"; do
14342 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14343 cat >conftest.$ac_ext <<_ACEOF
14344 #line $LINENO "configure"
14347 cat confdefs.h >>conftest.$ac_ext
14348 cat >>conftest.$ac_ext <<_ACEOF
14349 /* end confdefs.h. */
14350 $ac_includes_default
14354 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14361 rm -f conftest.$ac_objext
14362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14363 (eval $ac_compile) 2>&5
14365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366 (exit $ac_status); } &&
14367 { ac_try='test -s conftest.$ac_objext'
14368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14369 (eval $ac_try) 2>&5
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); }; }; then
14375 echo "$as_me: failed program was:" >&5
14376 sed 's/^/| /' conftest.$ac_ext >&5
14378 ac_lo=`expr '(' $ac_mid ')' + 1`
14380 rm -f conftest.$ac_objext conftest.$ac_ext
14383 ?*) ac_cv_sizeof_short=$ac_lo;;
14384 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14385 See \`config.log' for more details." >&5
14386 echo "$as_me: error: cannot compute sizeof (short), 77
14387 See \`config.log' for more details." >&2;}
14388 { (exit 1); exit 1; }; } ;;
14391 if test "$cross_compiling" = yes; then
14392 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14393 See \`config.log' for more details." >&5
14394 echo "$as_me: error: cannot run test program while cross compiling
14395 See \`config.log' for more details." >&2;}
14396 { (exit 1); exit 1; }; }
14398 cat >conftest.$ac_ext <<_ACEOF
14399 #line $LINENO "configure"
14402 cat confdefs.h >>conftest.$ac_ext
14403 cat >>conftest.$ac_ext <<_ACEOF
14404 /* end confdefs.h. */
14405 $ac_includes_default
14406 long longval () { return (long) (sizeof (short)); }
14407 unsigned long ulongval () { return (long) (sizeof (short)); }
14409 #include <stdlib.h>
14414 FILE *f = fopen ("conftest.val", "w");
14417 if (((long) (sizeof (short))) < 0)
14419 long i = longval ();
14420 if (i != ((long) (sizeof (short))))
14422 fprintf (f, "%ld\n", i);
14426 unsigned long i = ulongval ();
14427 if (i != ((long) (sizeof (short))))
14429 fprintf (f, "%lu\n", i);
14431 exit (ferror (f) || fclose (f) != 0);
14437 rm -f conftest$ac_exeext
14438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14439 (eval $ac_link) 2>&5
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14444 (eval $ac_try) 2>&5
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); }; }; then
14448 ac_cv_sizeof_short=`cat conftest.val`
14450 echo "$as_me: program exited with status $ac_status" >&5
14451 echo "$as_me: failed program was:" >&5
14452 sed 's/^/| /' conftest.$ac_ext >&5
14454 ( exit $ac_status )
14455 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14456 See \`config.log' for more details." >&5
14457 echo "$as_me: error: cannot compute sizeof (short), 77
14458 See \`config.log' for more details." >&2;}
14459 { (exit 1); exit 1; }; }
14461 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14466 ac_cv_sizeof_short=0
14469 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14470 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14471 cat >>confdefs.h <<_ACEOF
14472 #define SIZEOF_SHORT $ac_cv_sizeof_short
14476 echo "$as_me:$LINENO: checking for void *" >&5
14477 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14478 if test "${ac_cv_type_void_p+set}" = set; then
14479 echo $ECHO_N "(cached) $ECHO_C" >&6
14481 cat >conftest.$ac_ext <<_ACEOF
14482 #line $LINENO "configure"
14485 cat confdefs.h >>conftest.$ac_ext
14486 cat >>conftest.$ac_ext <<_ACEOF
14487 /* end confdefs.h. */
14488 $ac_includes_default
14494 if (sizeof (void *))
14500 rm -f conftest.$ac_objext
14501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14502 (eval $ac_compile) 2>&5
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); } &&
14506 { ac_try='test -s conftest.$ac_objext'
14507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14508 (eval $ac_try) 2>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; }; then
14512 ac_cv_type_void_p=yes
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14517 ac_cv_type_void_p=no
14519 rm -f conftest.$ac_objext conftest.$ac_ext
14521 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14522 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14524 echo "$as_me:$LINENO: checking size of void *" >&5
14525 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14526 if test "${ac_cv_sizeof_void_p+set}" = set; then
14527 echo $ECHO_N "(cached) $ECHO_C" >&6
14529 if test "$ac_cv_type_void_p" = yes; then
14530 # The cast to unsigned long works around a bug in the HP C Compiler
14531 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14532 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14533 # This bug is HP SR number 8606223364.
14534 if test "$cross_compiling" = yes; then
14535 # Depending upon the size, compute the lo and hi bounds.
14536 cat >conftest.$ac_ext <<_ACEOF
14537 #line $LINENO "configure"
14540 cat confdefs.h >>conftest.$ac_ext
14541 cat >>conftest.$ac_ext <<_ACEOF
14542 /* end confdefs.h. */
14543 $ac_includes_default
14547 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14554 rm -f conftest.$ac_objext
14555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14556 (eval $ac_compile) 2>&5
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); } &&
14560 { ac_try='test -s conftest.$ac_objext'
14561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562 (eval $ac_try) 2>&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; }; then
14568 cat >conftest.$ac_ext <<_ACEOF
14569 #line $LINENO "configure"
14572 cat confdefs.h >>conftest.$ac_ext
14573 cat >>conftest.$ac_ext <<_ACEOF
14574 /* end confdefs.h. */
14575 $ac_includes_default
14579 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14586 rm -f conftest.$ac_objext
14587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14588 (eval $ac_compile) 2>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); } &&
14592 { ac_try='test -s conftest.$ac_objext'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; }; then
14598 ac_hi=$ac_mid; break
14600 echo "$as_me: failed program was:" >&5
14601 sed 's/^/| /' conftest.$ac_ext >&5
14603 ac_lo=`expr $ac_mid + 1`
14604 if test $ac_lo -le $ac_mid; then
14608 ac_mid=`expr 2 '*' $ac_mid + 1`
14610 rm -f conftest.$ac_objext conftest.$ac_ext
14613 echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.$ac_ext >&5
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
14627 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14634 rm -f conftest.$ac_objext
14635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14636 (eval $ac_compile) 2>&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } &&
14640 { ac_try='test -s conftest.$ac_objext'
14641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14642 (eval $ac_try) 2>&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); }; }; then
14648 cat >conftest.$ac_ext <<_ACEOF
14649 #line $LINENO "configure"
14652 cat confdefs.h >>conftest.$ac_ext
14653 cat >>conftest.$ac_ext <<_ACEOF
14654 /* end confdefs.h. */
14655 $ac_includes_default
14659 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14666 rm -f conftest.$ac_objext
14667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14668 (eval $ac_compile) 2>&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); } &&
14672 { ac_try='test -s conftest.$ac_objext'
14673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14674 (eval $ac_try) 2>&5
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); }; }; then
14678 ac_lo=$ac_mid; break
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.$ac_ext >&5
14683 ac_hi=`expr '(' $ac_mid ')' - 1`
14684 if test $ac_mid -le $ac_hi; then
14688 ac_mid=`expr 2 '*' $ac_mid`
14690 rm -f conftest.$ac_objext conftest.$ac_ext
14693 echo "$as_me: failed program was:" >&5
14694 sed 's/^/| /' conftest.$ac_ext >&5
14698 rm -f conftest.$ac_objext conftest.$ac_ext
14700 rm -f conftest.$ac_objext conftest.$ac_ext
14701 # Binary search between lo and hi bounds.
14702 while test "x$ac_lo" != "x$ac_hi"; do
14703 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14704 cat >conftest.$ac_ext <<_ACEOF
14705 #line $LINENO "configure"
14708 cat confdefs.h >>conftest.$ac_ext
14709 cat >>conftest.$ac_ext <<_ACEOF
14710 /* end confdefs.h. */
14711 $ac_includes_default
14715 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14722 rm -f conftest.$ac_objext
14723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14724 (eval $ac_compile) 2>&5
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 (exit $ac_status); } &&
14728 { ac_try='test -s conftest.$ac_objext'
14729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14730 (eval $ac_try) 2>&5
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); }; }; then
14736 echo "$as_me: failed program was:" >&5
14737 sed 's/^/| /' conftest.$ac_ext >&5
14739 ac_lo=`expr '(' $ac_mid ')' + 1`
14741 rm -f conftest.$ac_objext conftest.$ac_ext
14744 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14745 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14746 See \`config.log' for more details." >&5
14747 echo "$as_me: error: cannot compute sizeof (void *), 77
14748 See \`config.log' for more details." >&2;}
14749 { (exit 1); exit 1; }; } ;;
14752 if test "$cross_compiling" = yes; then
14753 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14754 See \`config.log' for more details." >&5
14755 echo "$as_me: error: cannot run test program while cross compiling
14756 See \`config.log' for more details." >&2;}
14757 { (exit 1); exit 1; }; }
14759 cat >conftest.$ac_ext <<_ACEOF
14760 #line $LINENO "configure"
14763 cat confdefs.h >>conftest.$ac_ext
14764 cat >>conftest.$ac_ext <<_ACEOF
14765 /* end confdefs.h. */
14766 $ac_includes_default
14767 long longval () { return (long) (sizeof (void *)); }
14768 unsigned long ulongval () { return (long) (sizeof (void *)); }
14770 #include <stdlib.h>
14775 FILE *f = fopen ("conftest.val", "w");
14778 if (((long) (sizeof (void *))) < 0)
14780 long i = longval ();
14781 if (i != ((long) (sizeof (void *))))
14783 fprintf (f, "%ld\n", i);
14787 unsigned long i = ulongval ();
14788 if (i != ((long) (sizeof (void *))))
14790 fprintf (f, "%lu\n", i);
14792 exit (ferror (f) || fclose (f) != 0);
14798 rm -f conftest$ac_exeext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14800 (eval $ac_link) 2>&5
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14805 (eval $ac_try) 2>&5
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); }; }; then
14809 ac_cv_sizeof_void_p=`cat conftest.val`
14811 echo "$as_me: program exited with status $ac_status" >&5
14812 echo "$as_me: failed program was:" >&5
14813 sed 's/^/| /' conftest.$ac_ext >&5
14815 ( exit $ac_status )
14816 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14817 See \`config.log' for more details." >&5
14818 echo "$as_me: error: cannot compute sizeof (void *), 77
14819 See \`config.log' for more details." >&2;}
14820 { (exit 1); exit 1; }; }
14822 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14827 ac_cv_sizeof_void_p=0
14830 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14831 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14832 cat >>confdefs.h <<_ACEOF
14833 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14837 echo "$as_me:$LINENO: checking for int" >&5
14838 echo $ECHO_N "checking for int... $ECHO_C" >&6
14839 if test "${ac_cv_type_int+set}" = set; then
14840 echo $ECHO_N "(cached) $ECHO_C" >&6
14842 cat >conftest.$ac_ext <<_ACEOF
14843 #line $LINENO "configure"
14846 cat confdefs.h >>conftest.$ac_ext
14847 cat >>conftest.$ac_ext <<_ACEOF
14848 /* end confdefs.h. */
14849 $ac_includes_default
14861 rm -f conftest.$ac_objext
14862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14863 (eval $ac_compile) 2>&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); } &&
14867 { ac_try='test -s conftest.$ac_objext'
14868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14869 (eval $ac_try) 2>&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; }; then
14875 echo "$as_me: failed program was:" >&5
14876 sed 's/^/| /' conftest.$ac_ext >&5
14880 rm -f conftest.$ac_objext conftest.$ac_ext
14882 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14883 echo "${ECHO_T}$ac_cv_type_int" >&6
14885 echo "$as_me:$LINENO: checking size of int" >&5
14886 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14887 if test "${ac_cv_sizeof_int+set}" = set; then
14888 echo $ECHO_N "(cached) $ECHO_C" >&6
14890 if test "$ac_cv_type_int" = yes; then
14891 # The cast to unsigned long works around a bug in the HP C Compiler
14892 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14893 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14894 # This bug is HP SR number 8606223364.
14895 if test "$cross_compiling" = yes; then
14896 # Depending upon the size, compute the lo and hi bounds.
14897 cat >conftest.$ac_ext <<_ACEOF
14898 #line $LINENO "configure"
14901 cat confdefs.h >>conftest.$ac_ext
14902 cat >>conftest.$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14904 $ac_includes_default
14908 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14915 rm -f conftest.$ac_objext
14916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14917 (eval $ac_compile) 2>&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); } &&
14921 { ac_try='test -s conftest.$ac_objext'
14922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14923 (eval $ac_try) 2>&5
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); }; }; then
14929 cat >conftest.$ac_ext <<_ACEOF
14930 #line $LINENO "configure"
14933 cat confdefs.h >>conftest.$ac_ext
14934 cat >>conftest.$ac_ext <<_ACEOF
14935 /* end confdefs.h. */
14936 $ac_includes_default
14940 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14947 rm -f conftest.$ac_objext
14948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14949 (eval $ac_compile) 2>&5
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); } &&
14953 { ac_try='test -s conftest.$ac_objext'
14954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14955 (eval $ac_try) 2>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); }; }; then
14959 ac_hi=$ac_mid; break
14961 echo "$as_me: failed program was:" >&5
14962 sed 's/^/| /' conftest.$ac_ext >&5
14964 ac_lo=`expr $ac_mid + 1`
14965 if test $ac_lo -le $ac_mid; then
14969 ac_mid=`expr 2 '*' $ac_mid + 1`
14971 rm -f conftest.$ac_objext conftest.$ac_ext
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.$ac_ext >&5
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
14988 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14995 rm -f conftest.$ac_objext
14996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14997 (eval $ac_compile) 2>&5
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); } &&
15001 { ac_try='test -s conftest.$ac_objext'
15002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003 (eval $ac_try) 2>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }; }; then
15009 cat >conftest.$ac_ext <<_ACEOF
15010 #line $LINENO "configure"
15013 cat confdefs.h >>conftest.$ac_ext
15014 cat >>conftest.$ac_ext <<_ACEOF
15015 /* end confdefs.h. */
15016 $ac_includes_default
15020 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15027 rm -f conftest.$ac_objext
15028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15029 (eval $ac_compile) 2>&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); } &&
15033 { ac_try='test -s conftest.$ac_objext'
15034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15035 (eval $ac_try) 2>&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); }; }; then
15039 ac_lo=$ac_mid; break
15041 echo "$as_me: failed program was:" >&5
15042 sed 's/^/| /' conftest.$ac_ext >&5
15044 ac_hi=`expr '(' $ac_mid ')' - 1`
15045 if test $ac_mid -le $ac_hi; then
15049 ac_mid=`expr 2 '*' $ac_mid`
15051 rm -f conftest.$ac_objext conftest.$ac_ext
15054 echo "$as_me: failed program was:" >&5
15055 sed 's/^/| /' conftest.$ac_ext >&5
15059 rm -f conftest.$ac_objext conftest.$ac_ext
15061 rm -f conftest.$ac_objext conftest.$ac_ext
15062 # Binary search between lo and hi bounds.
15063 while test "x$ac_lo" != "x$ac_hi"; do
15064 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15065 cat >conftest.$ac_ext <<_ACEOF
15066 #line $LINENO "configure"
15069 cat confdefs.h >>conftest.$ac_ext
15070 cat >>conftest.$ac_ext <<_ACEOF
15071 /* end confdefs.h. */
15072 $ac_includes_default
15076 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15083 rm -f conftest.$ac_objext
15084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15085 (eval $ac_compile) 2>&5
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); } &&
15089 { ac_try='test -s conftest.$ac_objext'
15090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15091 (eval $ac_try) 2>&5
15093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15094 (exit $ac_status); }; }; then
15097 echo "$as_me: failed program was:" >&5
15098 sed 's/^/| /' conftest.$ac_ext >&5
15100 ac_lo=`expr '(' $ac_mid ')' + 1`
15102 rm -f conftest.$ac_objext conftest.$ac_ext
15105 ?*) ac_cv_sizeof_int=$ac_lo;;
15106 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15107 See \`config.log' for more details." >&5
15108 echo "$as_me: error: cannot compute sizeof (int), 77
15109 See \`config.log' for more details." >&2;}
15110 { (exit 1); exit 1; }; } ;;
15113 if test "$cross_compiling" = yes; then
15114 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15115 See \`config.log' for more details." >&5
15116 echo "$as_me: error: cannot run test program while cross compiling
15117 See \`config.log' for more details." >&2;}
15118 { (exit 1); exit 1; }; }
15120 cat >conftest.$ac_ext <<_ACEOF
15121 #line $LINENO "configure"
15124 cat confdefs.h >>conftest.$ac_ext
15125 cat >>conftest.$ac_ext <<_ACEOF
15126 /* end confdefs.h. */
15127 $ac_includes_default
15128 long longval () { return (long) (sizeof (int)); }
15129 unsigned long ulongval () { return (long) (sizeof (int)); }
15131 #include <stdlib.h>
15136 FILE *f = fopen ("conftest.val", "w");
15139 if (((long) (sizeof (int))) < 0)
15141 long i = longval ();
15142 if (i != ((long) (sizeof (int))))
15144 fprintf (f, "%ld\n", i);
15148 unsigned long i = ulongval ();
15149 if (i != ((long) (sizeof (int))))
15151 fprintf (f, "%lu\n", i);
15153 exit (ferror (f) || fclose (f) != 0);
15159 rm -f conftest$ac_exeext
15160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15161 (eval $ac_link) 2>&5
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15166 (eval $ac_try) 2>&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); }; }; then
15170 ac_cv_sizeof_int=`cat conftest.val`
15172 echo "$as_me: program exited with status $ac_status" >&5
15173 echo "$as_me: failed program was:" >&5
15174 sed 's/^/| /' conftest.$ac_ext >&5
15176 ( exit $ac_status )
15177 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15178 See \`config.log' for more details." >&5
15179 echo "$as_me: error: cannot compute sizeof (int), 77
15180 See \`config.log' for more details." >&2;}
15181 { (exit 1); exit 1; }; }
15183 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15191 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15192 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15193 cat >>confdefs.h <<_ACEOF
15194 #define SIZEOF_INT $ac_cv_sizeof_int
15198 echo "$as_me:$LINENO: checking for long" >&5
15199 echo $ECHO_N "checking for long... $ECHO_C" >&6
15200 if test "${ac_cv_type_long+set}" = set; then
15201 echo $ECHO_N "(cached) $ECHO_C" >&6
15203 cat >conftest.$ac_ext <<_ACEOF
15204 #line $LINENO "configure"
15207 cat confdefs.h >>conftest.$ac_ext
15208 cat >>conftest.$ac_ext <<_ACEOF
15209 /* end confdefs.h. */
15210 $ac_includes_default
15222 rm -f conftest.$ac_objext
15223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15224 (eval $ac_compile) 2>&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } &&
15228 { ac_try='test -s conftest.$ac_objext'
15229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15230 (eval $ac_try) 2>&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); }; }; then
15234 ac_cv_type_long=yes
15236 echo "$as_me: failed program was:" >&5
15237 sed 's/^/| /' conftest.$ac_ext >&5
15241 rm -f conftest.$ac_objext conftest.$ac_ext
15243 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15244 echo "${ECHO_T}$ac_cv_type_long" >&6
15246 echo "$as_me:$LINENO: checking size of long" >&5
15247 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15248 if test "${ac_cv_sizeof_long+set}" = set; then
15249 echo $ECHO_N "(cached) $ECHO_C" >&6
15251 if test "$ac_cv_type_long" = yes; then
15252 # The cast to unsigned long works around a bug in the HP C Compiler
15253 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15254 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15255 # This bug is HP SR number 8606223364.
15256 if test "$cross_compiling" = yes; then
15257 # Depending upon the size, compute the lo and hi bounds.
15258 cat >conftest.$ac_ext <<_ACEOF
15259 #line $LINENO "configure"
15262 cat confdefs.h >>conftest.$ac_ext
15263 cat >>conftest.$ac_ext <<_ACEOF
15264 /* end confdefs.h. */
15265 $ac_includes_default
15269 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15276 rm -f conftest.$ac_objext
15277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15278 (eval $ac_compile) 2>&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); } &&
15282 { ac_try='test -s conftest.$ac_objext'
15283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15284 (eval $ac_try) 2>&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); }; }; then
15290 cat >conftest.$ac_ext <<_ACEOF
15291 #line $LINENO "configure"
15294 cat confdefs.h >>conftest.$ac_ext
15295 cat >>conftest.$ac_ext <<_ACEOF
15296 /* end confdefs.h. */
15297 $ac_includes_default
15301 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15308 rm -f conftest.$ac_objext
15309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15310 (eval $ac_compile) 2>&5
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); } &&
15314 { ac_try='test -s conftest.$ac_objext'
15315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15316 (eval $ac_try) 2>&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); }; }; then
15320 ac_hi=$ac_mid; break
15322 echo "$as_me: failed program was:" >&5
15323 sed 's/^/| /' conftest.$ac_ext >&5
15325 ac_lo=`expr $ac_mid + 1`
15326 if test $ac_lo -le $ac_mid; then
15330 ac_mid=`expr 2 '*' $ac_mid + 1`
15332 rm -f conftest.$ac_objext conftest.$ac_ext
15335 echo "$as_me: failed program was:" >&5
15336 sed 's/^/| /' conftest.$ac_ext >&5
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
15349 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15356 rm -f conftest.$ac_objext
15357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15358 (eval $ac_compile) 2>&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } &&
15362 { ac_try='test -s conftest.$ac_objext'
15363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15364 (eval $ac_try) 2>&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); }; }; then
15370 cat >conftest.$ac_ext <<_ACEOF
15371 #line $LINENO "configure"
15374 cat confdefs.h >>conftest.$ac_ext
15375 cat >>conftest.$ac_ext <<_ACEOF
15376 /* end confdefs.h. */
15377 $ac_includes_default
15381 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15388 rm -f conftest.$ac_objext
15389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15390 (eval $ac_compile) 2>&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } &&
15394 { ac_try='test -s conftest.$ac_objext'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; }; then
15400 ac_lo=$ac_mid; break
15402 echo "$as_me: failed program was:" >&5
15403 sed 's/^/| /' conftest.$ac_ext >&5
15405 ac_hi=`expr '(' $ac_mid ')' - 1`
15406 if test $ac_mid -le $ac_hi; then
15410 ac_mid=`expr 2 '*' $ac_mid`
15412 rm -f conftest.$ac_objext conftest.$ac_ext
15415 echo "$as_me: failed program was:" >&5
15416 sed 's/^/| /' conftest.$ac_ext >&5
15420 rm -f conftest.$ac_objext conftest.$ac_ext
15422 rm -f conftest.$ac_objext conftest.$ac_ext
15423 # Binary search between lo and hi bounds.
15424 while test "x$ac_lo" != "x$ac_hi"; do
15425 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15426 cat >conftest.$ac_ext <<_ACEOF
15427 #line $LINENO "configure"
15430 cat confdefs.h >>conftest.$ac_ext
15431 cat >>conftest.$ac_ext <<_ACEOF
15432 /* end confdefs.h. */
15433 $ac_includes_default
15437 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15444 rm -f conftest.$ac_objext
15445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15446 (eval $ac_compile) 2>&5
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); } &&
15450 { ac_try='test -s conftest.$ac_objext'
15451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15452 (eval $ac_try) 2>&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }; }; then
15458 echo "$as_me: failed program was:" >&5
15459 sed 's/^/| /' conftest.$ac_ext >&5
15461 ac_lo=`expr '(' $ac_mid ')' + 1`
15463 rm -f conftest.$ac_objext conftest.$ac_ext
15466 ?*) ac_cv_sizeof_long=$ac_lo;;
15467 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15468 See \`config.log' for more details." >&5
15469 echo "$as_me: error: cannot compute sizeof (long), 77
15470 See \`config.log' for more details." >&2;}
15471 { (exit 1); exit 1; }; } ;;
15474 if test "$cross_compiling" = yes; then
15475 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15476 See \`config.log' for more details." >&5
15477 echo "$as_me: error: cannot run test program while cross compiling
15478 See \`config.log' for more details." >&2;}
15479 { (exit 1); exit 1; }; }
15481 cat >conftest.$ac_ext <<_ACEOF
15482 #line $LINENO "configure"
15485 cat confdefs.h >>conftest.$ac_ext
15486 cat >>conftest.$ac_ext <<_ACEOF
15487 /* end confdefs.h. */
15488 $ac_includes_default
15489 long longval () { return (long) (sizeof (long)); }
15490 unsigned long ulongval () { return (long) (sizeof (long)); }
15492 #include <stdlib.h>
15497 FILE *f = fopen ("conftest.val", "w");
15500 if (((long) (sizeof (long))) < 0)
15502 long i = longval ();
15503 if (i != ((long) (sizeof (long))))
15505 fprintf (f, "%ld\n", i);
15509 unsigned long i = ulongval ();
15510 if (i != ((long) (sizeof (long))))
15512 fprintf (f, "%lu\n", i);
15514 exit (ferror (f) || fclose (f) != 0);
15520 rm -f conftest$ac_exeext
15521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15522 (eval $ac_link) 2>&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15527 (eval $ac_try) 2>&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); }; }; then
15531 ac_cv_sizeof_long=`cat conftest.val`
15533 echo "$as_me: program exited with status $ac_status" >&5
15534 echo "$as_me: failed program was:" >&5
15535 sed 's/^/| /' conftest.$ac_ext >&5
15537 ( exit $ac_status )
15538 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15539 See \`config.log' for more details." >&5
15540 echo "$as_me: error: cannot compute sizeof (long), 77
15541 See \`config.log' for more details." >&2;}
15542 { (exit 1); exit 1; }; }
15544 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15549 ac_cv_sizeof_long=0
15552 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15553 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15554 cat >>confdefs.h <<_ACEOF
15555 #define SIZEOF_LONG $ac_cv_sizeof_long
15562 echo "$as_me:$LINENO: checking for long long" >&5
15563 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15564 if test "${ac_cv_type_long_long+set}" = set; then
15565 echo $ECHO_N "(cached) $ECHO_C" >&6
15567 cat >conftest.$ac_ext <<_ACEOF
15568 #line $LINENO "configure"
15571 cat confdefs.h >>conftest.$ac_ext
15572 cat >>conftest.$ac_ext <<_ACEOF
15573 /* end confdefs.h. */
15574 $ac_includes_default
15578 if ((long long *) 0)
15580 if (sizeof (long long))
15586 rm -f conftest.$ac_objext
15587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15588 (eval $ac_compile) 2>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } &&
15592 { ac_try='test -s conftest.$ac_objext'
15593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15594 (eval $ac_try) 2>&5
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); }; }; then
15598 ac_cv_type_long_long=yes
15600 echo "$as_me: failed program was:" >&5
15601 sed 's/^/| /' conftest.$ac_ext >&5
15603 ac_cv_type_long_long=no
15605 rm -f conftest.$ac_objext conftest.$ac_ext
15607 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15608 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15610 echo "$as_me:$LINENO: checking size of long long" >&5
15611 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15612 if test "${ac_cv_sizeof_long_long+set}" = set; then
15613 echo $ECHO_N "(cached) $ECHO_C" >&6
15615 if test "$ac_cv_type_long_long" = yes; then
15616 # The cast to unsigned long works around a bug in the HP C Compiler
15617 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15618 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15619 # This bug is HP SR number 8606223364.
15620 if test "$cross_compiling" = yes; then
15621 # Depending upon the size, compute the lo and hi bounds.
15622 cat >conftest.$ac_ext <<_ACEOF
15623 #line $LINENO "configure"
15626 cat confdefs.h >>conftest.$ac_ext
15627 cat >>conftest.$ac_ext <<_ACEOF
15628 /* end confdefs.h. */
15629 $ac_includes_default
15633 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15640 rm -f conftest.$ac_objext
15641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15642 (eval $ac_compile) 2>&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); } &&
15646 { ac_try='test -s conftest.$ac_objext'
15647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15648 (eval $ac_try) 2>&5
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); }; }; then
15654 cat >conftest.$ac_ext <<_ACEOF
15655 #line $LINENO "configure"
15658 cat confdefs.h >>conftest.$ac_ext
15659 cat >>conftest.$ac_ext <<_ACEOF
15660 /* end confdefs.h. */
15661 $ac_includes_default
15665 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15672 rm -f conftest.$ac_objext
15673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15674 (eval $ac_compile) 2>&5
15676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15677 (exit $ac_status); } &&
15678 { ac_try='test -s conftest.$ac_objext'
15679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15680 (eval $ac_try) 2>&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); }; }; then
15684 ac_hi=$ac_mid; break
15686 echo "$as_me: failed program was:" >&5
15687 sed 's/^/| /' conftest.$ac_ext >&5
15689 ac_lo=`expr $ac_mid + 1`
15690 if test $ac_lo -le $ac_mid; then
15694 ac_mid=`expr 2 '*' $ac_mid + 1`
15696 rm -f conftest.$ac_objext conftest.$ac_ext
15699 echo "$as_me: failed program was:" >&5
15700 sed 's/^/| /' conftest.$ac_ext >&5
15702 cat >conftest.$ac_ext <<_ACEOF
15703 #line $LINENO "configure"
15706 cat confdefs.h >>conftest.$ac_ext
15707 cat >>conftest.$ac_ext <<_ACEOF
15708 /* end confdefs.h. */
15709 $ac_includes_default
15713 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15720 rm -f conftest.$ac_objext
15721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15722 (eval $ac_compile) 2>&5
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); } &&
15726 { ac_try='test -s conftest.$ac_objext'
15727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15728 (eval $ac_try) 2>&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); }; }; then
15734 cat >conftest.$ac_ext <<_ACEOF
15735 #line $LINENO "configure"
15738 cat confdefs.h >>conftest.$ac_ext
15739 cat >>conftest.$ac_ext <<_ACEOF
15740 /* end confdefs.h. */
15741 $ac_includes_default
15745 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15752 rm -f conftest.$ac_objext
15753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15754 (eval $ac_compile) 2>&5
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); } &&
15758 { ac_try='test -s conftest.$ac_objext'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; }; then
15764 ac_lo=$ac_mid; break
15766 echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.$ac_ext >&5
15769 ac_hi=`expr '(' $ac_mid ')' - 1`
15770 if test $ac_mid -le $ac_hi; then
15774 ac_mid=`expr 2 '*' $ac_mid`
15776 rm -f conftest.$ac_objext conftest.$ac_ext
15779 echo "$as_me: failed program was:" >&5
15780 sed 's/^/| /' conftest.$ac_ext >&5
15784 rm -f conftest.$ac_objext conftest.$ac_ext
15786 rm -f conftest.$ac_objext conftest.$ac_ext
15787 # Binary search between lo and hi bounds.
15788 while test "x$ac_lo" != "x$ac_hi"; do
15789 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15790 cat >conftest.$ac_ext <<_ACEOF
15791 #line $LINENO "configure"
15794 cat confdefs.h >>conftest.$ac_ext
15795 cat >>conftest.$ac_ext <<_ACEOF
15796 /* end confdefs.h. */
15797 $ac_includes_default
15801 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15808 rm -f conftest.$ac_objext
15809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15810 (eval $ac_compile) 2>&5
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); } &&
15814 { ac_try='test -s conftest.$ac_objext'
15815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15816 (eval $ac_try) 2>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); }; }; then
15822 echo "$as_me: failed program was:" >&5
15823 sed 's/^/| /' conftest.$ac_ext >&5
15825 ac_lo=`expr '(' $ac_mid ')' + 1`
15827 rm -f conftest.$ac_objext conftest.$ac_ext
15830 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15831 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15832 See \`config.log' for more details." >&5
15833 echo "$as_me: error: cannot compute sizeof (long long), 77
15834 See \`config.log' for more details." >&2;}
15835 { (exit 1); exit 1; }; } ;;
15838 if test "$cross_compiling" = yes; then
15839 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15840 See \`config.log' for more details." >&5
15841 echo "$as_me: error: cannot run test program while cross compiling
15842 See \`config.log' for more details." >&2;}
15843 { (exit 1); exit 1; }; }
15845 cat >conftest.$ac_ext <<_ACEOF
15846 #line $LINENO "configure"
15849 cat confdefs.h >>conftest.$ac_ext
15850 cat >>conftest.$ac_ext <<_ACEOF
15851 /* end confdefs.h. */
15852 $ac_includes_default
15853 long longval () { return (long) (sizeof (long long)); }
15854 unsigned long ulongval () { return (long) (sizeof (long long)); }
15856 #include <stdlib.h>
15861 FILE *f = fopen ("conftest.val", "w");
15864 if (((long) (sizeof (long long))) < 0)
15866 long i = longval ();
15867 if (i != ((long) (sizeof (long long))))
15869 fprintf (f, "%ld\n", i);
15873 unsigned long i = ulongval ();
15874 if (i != ((long) (sizeof (long long))))
15876 fprintf (f, "%lu\n", i);
15878 exit (ferror (f) || fclose (f) != 0);
15884 rm -f conftest$ac_exeext
15885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15886 (eval $ac_link) 2>&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891 (eval $ac_try) 2>&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); }; }; then
15895 ac_cv_sizeof_long_long=`cat conftest.val`
15897 echo "$as_me: program exited with status $ac_status" >&5
15898 echo "$as_me: failed program was:" >&5
15899 sed 's/^/| /' conftest.$ac_ext >&5
15901 ( exit $ac_status )
15902 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15903 See \`config.log' for more details." >&5
15904 echo "$as_me: error: cannot compute sizeof (long long), 77
15905 See \`config.log' for more details." >&2;}
15906 { (exit 1); exit 1; }; }
15908 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15913 ac_cv_sizeof_long_long=0
15916 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15917 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15918 cat >>confdefs.h <<_ACEOF
15919 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15925 echo "$as_me:$LINENO: checking for long long" >&5
15926 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15927 if test "${ac_cv_type_long_long+set}" = set; then
15928 echo $ECHO_N "(cached) $ECHO_C" >&6
15930 cat >conftest.$ac_ext <<_ACEOF
15931 #line $LINENO "configure"
15934 cat confdefs.h >>conftest.$ac_ext
15935 cat >>conftest.$ac_ext <<_ACEOF
15936 /* end confdefs.h. */
15937 $ac_includes_default
15941 if ((long long *) 0)
15943 if (sizeof (long long))
15949 rm -f conftest.$ac_objext
15950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15951 (eval $ac_compile) 2>&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); } &&
15955 { ac_try='test -s conftest.$ac_objext'
15956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15957 (eval $ac_try) 2>&5
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); }; }; then
15961 ac_cv_type_long_long=yes
15963 echo "$as_me: failed program was:" >&5
15964 sed 's/^/| /' conftest.$ac_ext >&5
15966 ac_cv_type_long_long=no
15968 rm -f conftest.$ac_objext conftest.$ac_ext
15970 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15971 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15973 echo "$as_me:$LINENO: checking size of long long" >&5
15974 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15975 if test "${ac_cv_sizeof_long_long+set}" = set; then
15976 echo $ECHO_N "(cached) $ECHO_C" >&6
15978 if test "$ac_cv_type_long_long" = yes; then
15979 # The cast to unsigned long works around a bug in the HP C Compiler
15980 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15981 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15982 # This bug is HP SR number 8606223364.
15983 if test "$cross_compiling" = yes; then
15984 # Depending upon the size, compute the lo and hi bounds.
15985 cat >conftest.$ac_ext <<_ACEOF
15986 #line $LINENO "configure"
15989 cat confdefs.h >>conftest.$ac_ext
15990 cat >>conftest.$ac_ext <<_ACEOF
15991 /* end confdefs.h. */
15992 $ac_includes_default
15996 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16003 rm -f conftest.$ac_objext
16004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16005 (eval $ac_compile) 2>&5
16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008 (exit $ac_status); } &&
16009 { ac_try='test -s conftest.$ac_objext'
16010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16011 (eval $ac_try) 2>&5
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); }; }; then
16017 cat >conftest.$ac_ext <<_ACEOF
16018 #line $LINENO "configure"
16021 cat confdefs.h >>conftest.$ac_ext
16022 cat >>conftest.$ac_ext <<_ACEOF
16023 /* end confdefs.h. */
16024 $ac_includes_default
16028 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16035 rm -f conftest.$ac_objext
16036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16037 (eval $ac_compile) 2>&5
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); } &&
16041 { ac_try='test -s conftest.$ac_objext'
16042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16043 (eval $ac_try) 2>&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); }; }; then
16047 ac_hi=$ac_mid; break
16049 echo "$as_me: failed program was:" >&5
16050 sed 's/^/| /' conftest.$ac_ext >&5
16052 ac_lo=`expr $ac_mid + 1`
16053 if test $ac_lo -le $ac_mid; then
16057 ac_mid=`expr 2 '*' $ac_mid + 1`
16059 rm -f conftest.$ac_objext conftest.$ac_ext
16062 echo "$as_me: failed program was:" >&5
16063 sed 's/^/| /' conftest.$ac_ext >&5
16065 cat >conftest.$ac_ext <<_ACEOF
16066 #line $LINENO "configure"
16069 cat confdefs.h >>conftest.$ac_ext
16070 cat >>conftest.$ac_ext <<_ACEOF
16071 /* end confdefs.h. */
16072 $ac_includes_default
16076 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16083 rm -f conftest.$ac_objext
16084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16085 (eval $ac_compile) 2>&5
16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); } &&
16089 { ac_try='test -s conftest.$ac_objext'
16090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16091 (eval $ac_try) 2>&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); }; }; then
16097 cat >conftest.$ac_ext <<_ACEOF
16098 #line $LINENO "configure"
16101 cat confdefs.h >>conftest.$ac_ext
16102 cat >>conftest.$ac_ext <<_ACEOF
16103 /* end confdefs.h. */
16104 $ac_includes_default
16108 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16115 rm -f conftest.$ac_objext
16116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16117 (eval $ac_compile) 2>&5
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); } &&
16121 { ac_try='test -s conftest.$ac_objext'
16122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16123 (eval $ac_try) 2>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; }; then
16127 ac_lo=$ac_mid; break
16129 echo "$as_me: failed program was:" >&5
16130 sed 's/^/| /' conftest.$ac_ext >&5
16132 ac_hi=`expr '(' $ac_mid ')' - 1`
16133 if test $ac_mid -le $ac_hi; then
16137 ac_mid=`expr 2 '*' $ac_mid`
16139 rm -f conftest.$ac_objext conftest.$ac_ext
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.$ac_ext >&5
16147 rm -f conftest.$ac_objext conftest.$ac_ext
16149 rm -f conftest.$ac_objext conftest.$ac_ext
16150 # Binary search between lo and hi bounds.
16151 while test "x$ac_lo" != "x$ac_hi"; do
16152 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16153 cat >conftest.$ac_ext <<_ACEOF
16154 #line $LINENO "configure"
16157 cat confdefs.h >>conftest.$ac_ext
16158 cat >>conftest.$ac_ext <<_ACEOF
16159 /* end confdefs.h. */
16160 $ac_includes_default
16164 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16171 rm -f conftest.$ac_objext
16172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16173 (eval $ac_compile) 2>&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } &&
16177 { ac_try='test -s conftest.$ac_objext'
16178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16179 (eval $ac_try) 2>&5
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); }; }; then
16185 echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.$ac_ext >&5
16188 ac_lo=`expr '(' $ac_mid ')' + 1`
16190 rm -f conftest.$ac_objext conftest.$ac_ext
16193 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16194 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16195 See \`config.log' for more details." >&5
16196 echo "$as_me: error: cannot compute sizeof (long long), 77
16197 See \`config.log' for more details." >&2;}
16198 { (exit 1); exit 1; }; } ;;
16201 if test "$cross_compiling" = yes; then
16202 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16203 See \`config.log' for more details." >&5
16204 echo "$as_me: error: cannot run test program while cross compiling
16205 See \`config.log' for more details." >&2;}
16206 { (exit 1); exit 1; }; }
16208 cat >conftest.$ac_ext <<_ACEOF
16209 #line $LINENO "configure"
16212 cat confdefs.h >>conftest.$ac_ext
16213 cat >>conftest.$ac_ext <<_ACEOF
16214 /* end confdefs.h. */
16215 $ac_includes_default
16216 long longval () { return (long) (sizeof (long long)); }
16217 unsigned long ulongval () { return (long) (sizeof (long long)); }
16219 #include <stdlib.h>
16224 FILE *f = fopen ("conftest.val", "w");
16227 if (((long) (sizeof (long long))) < 0)
16229 long i = longval ();
16230 if (i != ((long) (sizeof (long long))))
16232 fprintf (f, "%ld\n", i);
16236 unsigned long i = ulongval ();
16237 if (i != ((long) (sizeof (long long))))
16239 fprintf (f, "%lu\n", i);
16241 exit (ferror (f) || fclose (f) != 0);
16247 rm -f conftest$ac_exeext
16248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16249 (eval $ac_link) 2>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; }; then
16258 ac_cv_sizeof_long_long=`cat conftest.val`
16260 echo "$as_me: program exited with status $ac_status" >&5
16261 echo "$as_me: failed program was:" >&5
16262 sed 's/^/| /' conftest.$ac_ext >&5
16264 ( exit $ac_status )
16265 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16266 See \`config.log' for more details." >&5
16267 echo "$as_me: error: cannot compute sizeof (long long), 77
16268 See \`config.log' for more details." >&2;}
16269 { (exit 1); exit 1; }; }
16271 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16276 ac_cv_sizeof_long_long=0
16279 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16280 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16281 cat >>confdefs.h <<_ACEOF
16282 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16286 if test "$ac_cv_sizeof_long_long" != "0"; then
16287 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16291 echo "$as_me:$LINENO: checking for long long" >&5
16292 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16293 if test "${ac_cv_type_long_long+set}" = set; then
16294 echo $ECHO_N "(cached) $ECHO_C" >&6
16296 cat >conftest.$ac_ext <<_ACEOF
16297 #line $LINENO "configure"
16300 cat confdefs.h >>conftest.$ac_ext
16301 cat >>conftest.$ac_ext <<_ACEOF
16302 /* end confdefs.h. */
16303 $ac_includes_default
16307 if ((long long *) 0)
16309 if (sizeof (long long))
16315 rm -f conftest.$ac_objext
16316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16317 (eval $ac_compile) 2>&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); } &&
16321 { ac_try='test -s conftest.$ac_objext'
16322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16323 (eval $ac_try) 2>&5
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); }; }; then
16327 ac_cv_type_long_long=yes
16329 echo "$as_me: failed program was:" >&5
16330 sed 's/^/| /' conftest.$ac_ext >&5
16332 ac_cv_type_long_long=no
16334 rm -f conftest.$ac_objext conftest.$ac_ext
16336 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16337 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16339 echo "$as_me:$LINENO: checking size of long long" >&5
16340 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16341 if test "${ac_cv_sizeof_long_long+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 if test "$ac_cv_type_long_long" = yes; then
16345 # The cast to unsigned long works around a bug in the HP C Compiler
16346 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16347 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16348 # This bug is HP SR number 8606223364.
16349 if test "$cross_compiling" = yes; then
16350 # Depending upon the size, compute the lo and hi bounds.
16351 cat >conftest.$ac_ext <<_ACEOF
16352 #line $LINENO "configure"
16355 cat confdefs.h >>conftest.$ac_ext
16356 cat >>conftest.$ac_ext <<_ACEOF
16357 /* end confdefs.h. */
16358 $ac_includes_default
16362 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16369 rm -f conftest.$ac_objext
16370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16371 (eval $ac_compile) 2>&5
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); } &&
16375 { ac_try='test -s conftest.$ac_objext'
16376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16377 (eval $ac_try) 2>&5
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); }; }; then
16383 cat >conftest.$ac_ext <<_ACEOF
16384 #line $LINENO "configure"
16387 cat confdefs.h >>conftest.$ac_ext
16388 cat >>conftest.$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16390 $ac_includes_default
16394 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16401 rm -f conftest.$ac_objext
16402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16403 (eval $ac_compile) 2>&5
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 (exit $ac_status); } &&
16407 { ac_try='test -s conftest.$ac_objext'
16408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16409 (eval $ac_try) 2>&5
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); }; }; then
16413 ac_hi=$ac_mid; break
16415 echo "$as_me: failed program was:" >&5
16416 sed 's/^/| /' conftest.$ac_ext >&5
16418 ac_lo=`expr $ac_mid + 1`
16419 if test $ac_lo -le $ac_mid; then
16423 ac_mid=`expr 2 '*' $ac_mid + 1`
16425 rm -f conftest.$ac_objext conftest.$ac_ext
16428 echo "$as_me: failed program was:" >&5
16429 sed 's/^/| /' conftest.$ac_ext >&5
16431 cat >conftest.$ac_ext <<_ACEOF
16432 #line $LINENO "configure"
16435 cat confdefs.h >>conftest.$ac_ext
16436 cat >>conftest.$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16438 $ac_includes_default
16442 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16449 rm -f conftest.$ac_objext
16450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16451 (eval $ac_compile) 2>&5
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); } &&
16455 { ac_try='test -s conftest.$ac_objext'
16456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16457 (eval $ac_try) 2>&5
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); }; }; then
16463 cat >conftest.$ac_ext <<_ACEOF
16464 #line $LINENO "configure"
16467 cat confdefs.h >>conftest.$ac_ext
16468 cat >>conftest.$ac_ext <<_ACEOF
16469 /* end confdefs.h. */
16470 $ac_includes_default
16474 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16481 rm -f conftest.$ac_objext
16482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16483 (eval $ac_compile) 2>&5
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); } &&
16487 { ac_try='test -s conftest.$ac_objext'
16488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16489 (eval $ac_try) 2>&5
16491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492 (exit $ac_status); }; }; then
16493 ac_lo=$ac_mid; break
16495 echo "$as_me: failed program was:" >&5
16496 sed 's/^/| /' conftest.$ac_ext >&5
16498 ac_hi=`expr '(' $ac_mid ')' - 1`
16499 if test $ac_mid -le $ac_hi; then
16503 ac_mid=`expr 2 '*' $ac_mid`
16505 rm -f conftest.$ac_objext conftest.$ac_ext
16508 echo "$as_me: failed program was:" >&5
16509 sed 's/^/| /' conftest.$ac_ext >&5
16513 rm -f conftest.$ac_objext conftest.$ac_ext
16515 rm -f conftest.$ac_objext conftest.$ac_ext
16516 # Binary search between lo and hi bounds.
16517 while test "x$ac_lo" != "x$ac_hi"; do
16518 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16519 cat >conftest.$ac_ext <<_ACEOF
16520 #line $LINENO "configure"
16523 cat confdefs.h >>conftest.$ac_ext
16524 cat >>conftest.$ac_ext <<_ACEOF
16525 /* end confdefs.h. */
16526 $ac_includes_default
16530 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16537 rm -f conftest.$ac_objext
16538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16539 (eval $ac_compile) 2>&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } &&
16543 { ac_try='test -s conftest.$ac_objext'
16544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16545 (eval $ac_try) 2>&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); }; }; then
16551 echo "$as_me: failed program was:" >&5
16552 sed 's/^/| /' conftest.$ac_ext >&5
16554 ac_lo=`expr '(' $ac_mid ')' + 1`
16556 rm -f conftest.$ac_objext conftest.$ac_ext
16559 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16560 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16561 See \`config.log' for more details." >&5
16562 echo "$as_me: error: cannot compute sizeof (long long), 77
16563 See \`config.log' for more details." >&2;}
16564 { (exit 1); exit 1; }; } ;;
16567 if test "$cross_compiling" = yes; then
16568 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16569 See \`config.log' for more details." >&5
16570 echo "$as_me: error: cannot run test program while cross compiling
16571 See \`config.log' for more details." >&2;}
16572 { (exit 1); exit 1; }; }
16574 cat >conftest.$ac_ext <<_ACEOF
16575 #line $LINENO "configure"
16578 cat confdefs.h >>conftest.$ac_ext
16579 cat >>conftest.$ac_ext <<_ACEOF
16580 /* end confdefs.h. */
16581 $ac_includes_default
16582 long longval () { return (long) (sizeof (long long)); }
16583 unsigned long ulongval () { return (long) (sizeof (long long)); }
16585 #include <stdlib.h>
16590 FILE *f = fopen ("conftest.val", "w");
16593 if (((long) (sizeof (long long))) < 0)
16595 long i = longval ();
16596 if (i != ((long) (sizeof (long long))))
16598 fprintf (f, "%ld\n", i);
16602 unsigned long i = ulongval ();
16603 if (i != ((long) (sizeof (long long))))
16605 fprintf (f, "%lu\n", i);
16607 exit (ferror (f) || fclose (f) != 0);
16613 rm -f conftest$ac_exeext
16614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16615 (eval $ac_link) 2>&5
16617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16620 (eval $ac_try) 2>&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); }; }; then
16624 ac_cv_sizeof_long_long=`cat conftest.val`
16626 echo "$as_me: program exited with status $ac_status" >&5
16627 echo "$as_me: failed program was:" >&5
16628 sed 's/^/| /' conftest.$ac_ext >&5
16630 ( exit $ac_status )
16631 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16632 See \`config.log' for more details." >&5
16633 echo "$as_me: error: cannot compute sizeof (long long), 77
16634 See \`config.log' for more details." >&2;}
16635 { (exit 1); exit 1; }; }
16637 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16642 ac_cv_sizeof_long_long=0
16645 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16646 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16647 cat >>confdefs.h <<_ACEOF
16648 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16654 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16655 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16656 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16657 echo $ECHO_N "(cached) $ECHO_C" >&6
16660 if test "$cross_compiling" = yes; then
16664 wx_cv_sizeof_wchar_t=0
16667 wx_cv_sizeof_wchar_t=4
16673 cat >conftest.$ac_ext <<_ACEOF
16674 #line $LINENO "configure"
16677 cat confdefs.h >>conftest.$ac_ext
16678 cat >>conftest.$ac_ext <<_ACEOF
16679 /* end confdefs.h. */
16681 /* DJGPP only has fake wchar_t: */
16683 # error "fake wchar_t"
16685 #ifdef HAVE_WCHAR_H
16687 # include <stddef.h>
16689 # include <wchar.h>
16691 #ifdef HAVE_STDLIB_H
16692 # include <stdlib.h>
16697 FILE *f=fopen("conftestval", "w");
16699 fprintf(f, "%i", sizeof(wchar_t));
16704 rm -f conftest$ac_exeext
16705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16706 (eval $ac_link) 2>&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; }; then
16715 wx_cv_sizeof_wchar_t=`cat conftestval`
16717 echo "$as_me: program exited with status $ac_status" >&5
16718 echo "$as_me: failed program was:" >&5
16719 sed 's/^/| /' conftest.$ac_ext >&5
16721 ( exit $ac_status )
16722 wx_cv_sizeof_wchar_t=0
16724 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16728 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16729 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16731 cat >>confdefs.h <<_ACEOF
16732 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16736 # Check whether --enable-largefile or --disable-largefile was given.
16737 if test "${enable_largefile+set}" = set; then
16738 enableval="$enable_largefile"
16741 if test "$enable_largefile" != no; then
16744 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16745 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16746 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16747 echo $ECHO_N "(cached) $ECHO_C" >&6
16750 cat >conftest.$ac_ext <<_ACEOF
16751 #line $LINENO "configure"
16754 cat confdefs.h >>conftest.$ac_ext
16755 cat >>conftest.$ac_ext <<_ACEOF
16756 /* end confdefs.h. */
16757 #define _FILE_OFFSET_BITS 64
16758 #include <sys/types.h>
16763 unsigned int field: sizeof(off_t) == 8;
16770 rm -f conftest.$ac_objext
16771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16772 (eval $ac_compile) 2>&5
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); } &&
16776 { ac_try='test -s conftest.$ac_objext'
16777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16778 (eval $ac_try) 2>&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); }; }; then
16782 ac_cv_sys_file_offset_bits=64
16784 echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.$ac_ext >&5
16787 ac_cv_sys_file_offset_bits=no
16789 rm -f conftest.$ac_objext conftest.$ac_ext
16793 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16794 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16796 if test "$ac_cv_sys_file_offset_bits" != no; then
16798 cat >>confdefs.h <<_ACEOF
16799 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16804 if test "x$wx_largefile" != "xyes"; then
16806 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16807 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16808 if test "${ac_cv_sys_large_files+set}" = set; then
16809 echo $ECHO_N "(cached) $ECHO_C" >&6
16812 cat >conftest.$ac_ext <<_ACEOF
16813 #line $LINENO "configure"
16816 cat confdefs.h >>conftest.$ac_ext
16817 cat >>conftest.$ac_ext <<_ACEOF
16818 /* end confdefs.h. */
16819 #define _LARGE_FILES 1
16820 #include <sys/types.h>
16825 unsigned int field: sizeof(off_t) == 8;
16832 rm -f conftest.$ac_objext
16833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16834 (eval $ac_compile) 2>&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); } &&
16838 { ac_try='test -s conftest.$ac_objext'
16839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16840 (eval $ac_try) 2>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); }; }; then
16844 ac_cv_sys_large_files=1
16846 echo "$as_me: failed program was:" >&5
16847 sed 's/^/| /' conftest.$ac_ext >&5
16849 ac_cv_sys_large_files=no
16851 rm -f conftest.$ac_objext conftest.$ac_ext
16855 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16856 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16858 if test "$ac_cv_sys_large_files" != no; then
16860 cat >>confdefs.h <<_ACEOF
16861 #define _LARGE_FILES $ac_cv_sys_large_files
16868 echo "$as_me:$LINENO: checking if large file support is available" >&5
16869 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16870 if test "x$wx_largefile" = "xyes"; then
16871 cat >>confdefs.h <<\_ACEOF
16872 #define HAVE_LARGEFILE_SUPPORT 1
16876 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16877 echo "${ECHO_T}$wx_largefile" >&6
16881 if test "x$wx_largefile" = "xyes"; then
16882 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16883 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16885 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16887 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16890 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16891 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16892 if test "${ac_cv_c_bigendian+set}" = set; then
16893 echo $ECHO_N "(cached) $ECHO_C" >&6
16895 ac_cv_c_bigendian=unknown
16896 # See if sys/param.h defines the BYTE_ORDER macro.
16897 cat >conftest.$ac_ext <<_ACEOF
16898 #line $LINENO "configure"
16901 cat confdefs.h >>conftest.$ac_ext
16902 cat >>conftest.$ac_ext <<_ACEOF
16903 /* end confdefs.h. */
16904 #include <sys/types.h>
16905 #include <sys/param.h>
16910 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16911 bogus endian macros
16917 rm -f conftest.$ac_objext
16918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16919 (eval $ac_compile) 2>&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } &&
16923 { ac_try='test -s conftest.$ac_objext'
16924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16925 (eval $ac_try) 2>&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); }; }; then
16929 # It does; now see whether it defined to BIG_ENDIAN or not.
16930 cat >conftest.$ac_ext <<_ACEOF
16931 #line $LINENO "configure"
16934 cat confdefs.h >>conftest.$ac_ext
16935 cat >>conftest.$ac_ext <<_ACEOF
16936 /* end confdefs.h. */
16937 #include <sys/types.h>
16938 #include <sys/param.h>
16943 #if BYTE_ORDER != BIG_ENDIAN
16950 rm -f conftest.$ac_objext
16951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16952 (eval $ac_compile) 2>&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); } &&
16956 { ac_try='test -s conftest.$ac_objext'
16957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16958 (eval $ac_try) 2>&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }; }; then
16962 ac_cv_c_bigendian=yes
16964 echo "$as_me: failed program was:" >&5
16965 sed 's/^/| /' conftest.$ac_ext >&5
16967 ac_cv_c_bigendian=no
16969 rm -f conftest.$ac_objext conftest.$ac_ext
16971 echo "$as_me: failed program was:" >&5
16972 sed 's/^/| /' conftest.$ac_ext >&5
16975 rm -f conftest.$ac_objext conftest.$ac_ext
16976 if test $ac_cv_c_bigendian = unknown; then
16977 if test "$cross_compiling" = yes; then
16978 ac_cv_c_bigendian=unknown
16980 cat >conftest.$ac_ext <<_ACEOF
16981 #line $LINENO "configure"
16984 cat confdefs.h >>conftest.$ac_ext
16985 cat >>conftest.$ac_ext <<_ACEOF
16986 /* end confdefs.h. */
16988 /* Are we little or big endian? From Harbison&Steele. */
16992 char c[sizeof (long)];
16995 exit (u.c[sizeof (long) - 1] == 1);
16998 rm -f conftest$ac_exeext
16999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17000 (eval $ac_link) 2>&5
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17005 (eval $ac_try) 2>&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }; }; then
17009 ac_cv_c_bigendian=no
17011 echo "$as_me: program exited with status $ac_status" >&5
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.$ac_ext >&5
17015 ( exit $ac_status )
17016 ac_cv_c_bigendian=yes
17018 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17022 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17023 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17024 if test $ac_cv_c_bigendian = unknown; then
17025 { 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
17026 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;}
17028 if test $ac_cv_c_bigendian = yes; then
17029 cat >>confdefs.h <<\_ACEOF
17030 #define WORDS_BIGENDIAN 1
17038 ac_cpp='$CXXCPP $CPPFLAGS'
17039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17042 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17043 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17044 if test -z "$CXXCPP"; then
17045 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17046 echo $ECHO_N "(cached) $ECHO_C" >&6
17048 # Double quotes because CXXCPP needs to be expanded
17049 for CXXCPP in "$CXX -E" "/lib/cpp"
17051 ac_preproc_ok=false
17052 for ac_cxx_preproc_warn_flag in '' yes
17054 # Use a header file that comes with gcc, so configuring glibc
17055 # with a fresh cross-compiler works.
17056 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17057 # <limits.h> exists even on freestanding compilers.
17058 # On the NeXT, cc -E runs the code through the compiler's parser,
17059 # not just through cpp. "Syntax error" is here to catch this case.
17060 cat >conftest.$ac_ext <<_ACEOF
17061 #line $LINENO "configure"
17064 cat confdefs.h >>conftest.$ac_ext
17065 cat >>conftest.$ac_ext <<_ACEOF
17066 /* end confdefs.h. */
17068 # include <limits.h>
17070 # include <assert.h>
17074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17077 grep -v '^ *+' conftest.er1 >conftest.err
17079 cat conftest.err >&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); } >/dev/null; then
17082 if test -s conftest.err; then
17083 ac_cpp_err=$ac_cxx_preproc_warn_flag
17090 if test -z "$ac_cpp_err"; then
17093 echo "$as_me: failed program was:" >&5
17094 sed 's/^/| /' conftest.$ac_ext >&5
17096 # Broken: fails on valid input.
17099 rm -f conftest.err conftest.$ac_ext
17101 # OK, works on sane cases. Now check whether non-existent headers
17102 # can be detected and how.
17103 cat >conftest.$ac_ext <<_ACEOF
17104 #line $LINENO "configure"
17107 cat confdefs.h >>conftest.$ac_ext
17108 cat >>conftest.$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110 #include <ac_nonexistent.h>
17112 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17113 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17115 grep -v '^ *+' conftest.er1 >conftest.err
17117 cat conftest.err >&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); } >/dev/null; then
17120 if test -s conftest.err; then
17121 ac_cpp_err=$ac_cxx_preproc_warn_flag
17128 if test -z "$ac_cpp_err"; then
17129 # Broken: success on invalid input.
17132 echo "$as_me: failed program was:" >&5
17133 sed 's/^/| /' conftest.$ac_ext >&5
17135 # Passes both tests.
17139 rm -f conftest.err conftest.$ac_ext
17142 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17143 rm -f conftest.err conftest.$ac_ext
17144 if $ac_preproc_ok; then
17149 ac_cv_prog_CXXCPP=$CXXCPP
17152 CXXCPP=$ac_cv_prog_CXXCPP
17154 ac_cv_prog_CXXCPP=$CXXCPP
17156 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17157 echo "${ECHO_T}$CXXCPP" >&6
17158 ac_preproc_ok=false
17159 for ac_cxx_preproc_warn_flag in '' yes
17161 # Use a header file that comes with gcc, so configuring glibc
17162 # with a fresh cross-compiler works.
17163 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17164 # <limits.h> exists even on freestanding compilers.
17165 # On the NeXT, cc -E runs the code through the compiler's parser,
17166 # not just through cpp. "Syntax error" is here to catch this case.
17167 cat >conftest.$ac_ext <<_ACEOF
17168 #line $LINENO "configure"
17171 cat confdefs.h >>conftest.$ac_ext
17172 cat >>conftest.$ac_ext <<_ACEOF
17173 /* end confdefs.h. */
17175 # include <limits.h>
17177 # include <assert.h>
17181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17184 grep -v '^ *+' conftest.er1 >conftest.err
17186 cat conftest.err >&5
17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); } >/dev/null; then
17189 if test -s conftest.err; then
17190 ac_cpp_err=$ac_cxx_preproc_warn_flag
17197 if test -z "$ac_cpp_err"; then
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.$ac_ext >&5
17203 # Broken: fails on valid input.
17206 rm -f conftest.err conftest.$ac_ext
17208 # OK, works on sane cases. Now check whether non-existent headers
17209 # can be detected and how.
17210 cat >conftest.$ac_ext <<_ACEOF
17211 #line $LINENO "configure"
17214 cat confdefs.h >>conftest.$ac_ext
17215 cat >>conftest.$ac_ext <<_ACEOF
17216 /* end confdefs.h. */
17217 #include <ac_nonexistent.h>
17219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17222 grep -v '^ *+' conftest.er1 >conftest.err
17224 cat conftest.err >&5
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); } >/dev/null; then
17227 if test -s conftest.err; then
17228 ac_cpp_err=$ac_cxx_preproc_warn_flag
17235 if test -z "$ac_cpp_err"; then
17236 # Broken: success on invalid input.
17239 echo "$as_me: failed program was:" >&5
17240 sed 's/^/| /' conftest.$ac_ext >&5
17242 # Passes both tests.
17246 rm -f conftest.err conftest.$ac_ext
17249 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17250 rm -f conftest.err conftest.$ac_ext
17251 if $ac_preproc_ok; then
17254 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17255 See \`config.log' for more details." >&5
17256 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17257 See \`config.log' for more details." >&2;}
17258 { (exit 1); exit 1; }; }
17262 ac_cpp='$CXXCPP $CPPFLAGS'
17263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17269 if test "$cross_compiling" = "yes"; then
17270 cat >>confdefs.h <<\_ACEOF
17271 #define wxUSE_IOSTREAMH 1
17278 ac_cpp='$CXXCPP $CPPFLAGS'
17279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17285 for ac_header in iostream
17287 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17289 echo "$as_me:$LINENO: checking for $ac_header" >&5
17290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17292 echo $ECHO_N "(cached) $ECHO_C" >&6
17294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17297 # Is the header compilable?
17298 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17299 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17300 cat >conftest.$ac_ext <<_ACEOF
17301 #line $LINENO "configure"
17304 cat confdefs.h >>conftest.$ac_ext
17305 cat >>conftest.$ac_ext <<_ACEOF
17306 /* end confdefs.h. */
17307 $ac_includes_default
17308 #include <$ac_header>
17310 rm -f conftest.$ac_objext
17311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17312 (eval $ac_compile) 2>&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } &&
17316 { ac_try='test -s conftest.$ac_objext'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; }; then
17322 ac_header_compiler=yes
17324 echo "$as_me: failed program was:" >&5
17325 sed 's/^/| /' conftest.$ac_ext >&5
17327 ac_header_compiler=no
17329 rm -f conftest.$ac_objext conftest.$ac_ext
17330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17331 echo "${ECHO_T}$ac_header_compiler" >&6
17333 # Is the header present?
17334 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17335 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17336 cat >conftest.$ac_ext <<_ACEOF
17337 #line $LINENO "configure"
17340 cat confdefs.h >>conftest.$ac_ext
17341 cat >>conftest.$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17343 #include <$ac_header>
17345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17346 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17348 grep -v '^ *+' conftest.er1 >conftest.err
17350 cat conftest.err >&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); } >/dev/null; then
17353 if test -s conftest.err; then
17354 ac_cpp_err=$ac_cxx_preproc_warn_flag
17361 if test -z "$ac_cpp_err"; then
17362 ac_header_preproc=yes
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17367 ac_header_preproc=no
17369 rm -f conftest.err conftest.$ac_ext
17370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17371 echo "${ECHO_T}$ac_header_preproc" >&6
17373 # So? What about this header?
17374 case $ac_header_compiler:$ac_header_preproc in
17376 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17377 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17379 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17382 ## ------------------------------------ ##
17383 ## Report this to bug-autoconf@gnu.org. ##
17384 ## ------------------------------------ ##
17387 sed "s/^/$as_me: WARNING: /" >&2
17390 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17391 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17392 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17393 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17398 ## ------------------------------------ ##
17399 ## Report this to bug-autoconf@gnu.org. ##
17400 ## ------------------------------------ ##
17403 sed "s/^/$as_me: WARNING: /" >&2
17406 echo "$as_me:$LINENO: checking for $ac_header" >&5
17407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17409 echo $ECHO_N "(cached) $ECHO_C" >&6
17411 eval "$as_ac_Header=$ac_header_preproc"
17413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17417 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17418 cat >>confdefs.h <<_ACEOF
17419 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17427 if test "$ac_cv_header_iostream" = "yes" ; then
17430 cat >>confdefs.h <<\_ACEOF
17431 #define wxUSE_IOSTREAMH 1
17437 ac_cpp='$CPP $CPPFLAGS'
17438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17446 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17447 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17448 if test "${wx_cv_cpp_bool+set}" = set; then
17449 echo $ECHO_N "(cached) $ECHO_C" >&6
17455 ac_cpp='$CXXCPP $CPPFLAGS'
17456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17461 cat >conftest.$ac_ext <<_ACEOF
17462 #line $LINENO "configure"
17465 cat confdefs.h >>conftest.$ac_ext
17466 cat >>conftest.$ac_ext <<_ACEOF
17467 /* end confdefs.h. */
17482 rm -f conftest.$ac_objext
17483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17484 (eval $ac_compile) 2>&5
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); } &&
17488 { ac_try='test -s conftest.$ac_objext'
17489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17490 (eval $ac_try) 2>&5
17492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17493 (exit $ac_status); }; }; then
17498 echo "$as_me: failed program was:" >&5
17499 sed 's/^/| /' conftest.$ac_ext >&5
17506 rm -f conftest.$ac_objext conftest.$ac_ext
17509 ac_cpp='$CPP $CPPFLAGS'
17510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17516 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17517 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17519 if test "$wx_cv_cpp_bool" = "yes"; then
17520 cat >>confdefs.h <<\_ACEOF
17521 #define HAVE_BOOL 1
17528 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17529 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17530 if test "${wx_cv_explicit+set}" = set; then
17531 echo $ECHO_N "(cached) $ECHO_C" >&6
17537 ac_cpp='$CXXCPP $CPPFLAGS'
17538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17543 cat >conftest.$ac_ext <<_ACEOF
17544 #line $LINENO "configure"
17547 cat confdefs.h >>conftest.$ac_ext
17548 cat >>conftest.$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17551 class Foo { public: explicit Foo(int) {} };
17563 rm -f conftest.$ac_objext
17564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17565 (eval $ac_compile) 2>&5
17567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17568 (exit $ac_status); } &&
17569 { ac_try='test -s conftest.$ac_objext'
17570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17571 (eval $ac_try) 2>&5
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); }; }; then
17576 cat >conftest.$ac_ext <<_ACEOF
17577 #line $LINENO "configure"
17580 cat confdefs.h >>conftest.$ac_ext
17581 cat >>conftest.$ac_ext <<_ACEOF
17582 /* end confdefs.h. */
17584 class Foo { public: explicit Foo(int) {} };
17585 static void TakeFoo(const Foo& foo) { }
17598 rm -f conftest.$ac_objext
17599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17600 (eval $ac_compile) 2>&5
17602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603 (exit $ac_status); } &&
17604 { ac_try='test -s conftest.$ac_objext'
17605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17606 (eval $ac_try) 2>&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); }; }; then
17612 echo "$as_me: failed program was:" >&5
17613 sed 's/^/| /' conftest.$ac_ext >&5
17618 rm -f conftest.$ac_objext conftest.$ac_ext
17621 echo "$as_me: failed program was:" >&5
17622 sed 's/^/| /' conftest.$ac_ext >&5
17627 rm -f conftest.$ac_objext conftest.$ac_ext
17630 ac_cpp='$CPP $CPPFLAGS'
17631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17637 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17638 echo "${ECHO_T}$wx_cv_explicit" >&6
17640 if test "$wx_cv_explicit" = "yes"; then
17641 cat >>confdefs.h <<\_ACEOF
17642 #define HAVE_EXPLICIT 1
17648 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17649 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17650 if test "${ac_cv_cxx_const_cast+set}" = set; then
17651 echo $ECHO_N "(cached) $ECHO_C" >&6
17656 ac_cpp='$CXXCPP $CPPFLAGS'
17657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17661 cat >conftest.$ac_ext <<_ACEOF
17662 #line $LINENO "configure"
17665 cat confdefs.h >>conftest.$ac_ext
17666 cat >>conftest.$ac_ext <<_ACEOF
17667 /* end confdefs.h. */
17672 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17677 rm -f conftest.$ac_objext
17678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17679 (eval $ac_compile) 2>&5
17681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682 (exit $ac_status); } &&
17683 { ac_try='test -s conftest.$ac_objext'
17684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17685 (eval $ac_try) 2>&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); }; }; then
17689 ac_cv_cxx_const_cast=yes
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.$ac_ext >&5
17694 ac_cv_cxx_const_cast=no
17696 rm -f conftest.$ac_objext conftest.$ac_ext
17698 ac_cpp='$CPP $CPPFLAGS'
17699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17705 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17706 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17707 if test "$ac_cv_cxx_const_cast" = yes; then
17709 cat >>confdefs.h <<\_ACEOF
17710 #define HAVE_CONST_CAST
17716 if test "$wxUSE_STL" = "yes"; then
17718 ac_cpp='$CXXCPP $CPPFLAGS'
17719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17724 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17725 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17726 cat >conftest.$ac_ext <<_ACEOF
17727 #line $LINENO "configure"
17730 cat confdefs.h >>conftest.$ac_ext
17731 cat >>conftest.$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17734 #include <functional>
17735 #include <algorithm>
17741 std::vector<int> moo;
17742 std::list<int> foo;
17743 std::vector<int>::iterator it =
17744 std::find_if(moo.begin(), moo.end(),
17745 std::bind2nd(std::less<int>(), 3));
17750 rm -f conftest.$ac_objext
17751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17752 (eval $ac_compile) 2>&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); } &&
17756 { ac_try='test -s conftest.$ac_objext'
17757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758 (eval $ac_try) 2>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; }; then
17762 echo "$as_me:$LINENO: result: yes" >&5
17763 echo "${ECHO_T}yes" >&6
17765 echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.$ac_ext >&5
17768 echo "$as_me:$LINENO: result: no" >&5
17769 echo "${ECHO_T}no" >&6
17770 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17771 echo "$as_me: error: Basic STL functionality missing" >&2;}
17772 { (exit 1); exit 1; }; }
17774 rm -f conftest.$ac_objext conftest.$ac_ext
17776 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17777 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17778 cat >conftest.$ac_ext <<_ACEOF
17779 #line $LINENO "configure"
17782 cat confdefs.h >>conftest.$ac_ext
17783 cat >>conftest.$ac_ext <<_ACEOF
17784 /* end confdefs.h. */
17794 rm -f conftest.$ac_objext
17795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17796 (eval $ac_compile) 2>&5
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); } &&
17800 { ac_try='test -s conftest.$ac_objext'
17801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802 (eval $ac_try) 2>&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); }; }; then
17806 echo "$as_me:$LINENO: result: yes" >&5
17807 echo "${ECHO_T}yes" >&6
17808 cat >>confdefs.h <<\_ACEOF
17809 #define HAVE_STD_WSTRING 1
17813 echo "$as_me: failed program was:" >&5
17814 sed 's/^/| /' conftest.$ac_ext >&5
17816 echo "$as_me:$LINENO: result: no" >&5
17817 echo "${ECHO_T}no" >&6
17819 rm -f conftest.$ac_objext conftest.$ac_ext
17821 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17822 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17823 cat >conftest.$ac_ext <<_ACEOF
17824 #line $LINENO "configure"
17827 cat confdefs.h >>conftest.$ac_ext
17828 cat >>conftest.$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17834 std::string foo, bar;
17836 foo.compare(1, 1, bar);
17837 foo.compare(1, 1, bar, 1, 1);
17839 foo.compare(1, 1, "");
17840 foo.compare(1, 1, "", 2);
17845 rm -f conftest.$ac_objext
17846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17847 (eval $ac_compile) 2>&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); } &&
17851 { ac_try='test -s conftest.$ac_objext'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; }; then
17857 echo "$as_me:$LINENO: result: yes" >&5
17858 echo "${ECHO_T}yes" >&6
17859 cat >>confdefs.h <<\_ACEOF
17860 #define HAVE_STD_STRING_COMPARE 1
17864 echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.$ac_ext >&5
17867 echo "$as_me:$LINENO: result: no" >&5
17868 echo "${ECHO_T}no" >&6
17870 rm -f conftest.$ac_objext conftest.$ac_ext
17873 ac_cpp='$CPP $CPPFLAGS'
17874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17882 /usr/local/include \
17884 /usr/Motif-1.2/include \
17885 /usr/Motif-2.1/include \
17887 /usr/include/Motif1.2 \
17888 /opt/xpm/include/X11 \
17889 /opt/GBxpm/include/ \
17890 /opt/GBxpm/X11/include/ \
17892 /usr/Motif1.2/include \
17894 /usr/openwin/include \
17898 /usr/X11R6/include \
17899 /usr/X11R6.4/include \
17900 /usr/X11R5/include \
17901 /usr/X11R4/include \
17903 /usr/include/X11R6 \
17904 /usr/include/X11R5 \
17905 /usr/include/X11R4 \
17907 /usr/local/X11R6/include \
17908 /usr/local/X11R5/include \
17909 /usr/local/X11R4/include \
17911 /usr/local/include/X11R6 \
17912 /usr/local/include/X11R5 \
17913 /usr/local/include/X11R4 \
17917 /usr/local/X11/include \
17918 /usr/local/include/X11 \
17920 /usr/X386/include \
17921 /usr/x386/include \
17922 /usr/XFree86/include/X11 \
17924 X:/XFree86/include \
17925 X:/XFree86/include/X11 \
17928 /usr/local/include/gtk \
17929 /usr/include/glib \
17930 /usr/local/include/glib \
17933 /usr/local/include/qt \
17935 /usr/include/windows \
17936 /usr/include/wine \
17937 /usr/local/include/wine \
17939 /usr/unsupported/include \
17940 /usr/athena/include \
17941 /usr/local/x11r5/include \
17942 /usr/lpp/Xamples/include \
17944 /usr/openwin/share/include"
17946 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17949 cat >confcache <<\_ACEOF
17950 # This file is a shell script that caches the results of configure
17951 # tests run on this system so they can be shared between configure
17952 # scripts and configure runs, see configure's option --config-cache.
17953 # It is not useful on other systems. If it contains results you don't
17954 # want to keep, you may remove or edit it.
17956 # config.status only pays attention to the cache file if you give it
17957 # the --recheck option to rerun configure.
17959 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17960 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17961 # following values.
17965 # The following way of writing the cache mishandles newlines in values,
17966 # but we know of no workaround that is simple, portable, and efficient.
17967 # So, don't put newlines in cache variables' values.
17968 # Ultrix sh set writes to stderr and can't be redirected directly,
17969 # and sets the high bit in the cache file unless we assign to the vars.
17972 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17974 # `set' does not quote correctly, so add quotes (double-quote
17975 # substitution turns \\\\ into \\, and sed turns \\ into \).
17978 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17981 # `set' quotes correctly as required by POSIX, so do not add quotes.
17983 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17990 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17992 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17994 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17995 if test -w $cache_file; then
17996 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17997 cat confcache >$cache_file
17999 echo "not updating unwritable cache $cache_file"
18004 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18005 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18006 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18007 if test "${wx_cv_lib_glibc21+set}" = set; then
18008 echo $ECHO_N "(cached) $ECHO_C" >&6
18011 cat >conftest.$ac_ext <<_ACEOF
18012 #line $LINENO "configure"
18015 cat confdefs.h >>conftest.$ac_ext
18016 cat >>conftest.$ac_ext <<_ACEOF
18017 /* end confdefs.h. */
18018 #include <features.h>
18023 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18024 #error not glibc2.1
18031 rm -f conftest.$ac_objext
18032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18033 (eval $ac_compile) 2>&5
18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); } &&
18037 { ac_try='test -s conftest.$ac_objext'
18038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18039 (eval $ac_try) 2>&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); }; }; then
18044 wx_cv_lib_glibc21=yes
18047 echo "$as_me: failed program was:" >&5
18048 sed 's/^/| /' conftest.$ac_ext >&5
18051 wx_cv_lib_glibc21=no
18055 rm -f conftest.$ac_objext conftest.$ac_ext
18058 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18059 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18060 if test "$wx_cv_lib_glibc21" = "yes"; then
18061 cat >>confdefs.h <<\_ACEOF
18062 #define wxHAVE_GLIBC2 1
18068 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18069 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18070 cat >>confdefs.h <<\_ACEOF
18071 #define _GNU_SOURCE 1
18080 if test "$wxUSE_REGEX" != "no"; then
18081 cat >>confdefs.h <<\_ACEOF
18082 #define wxUSE_REGEX 1
18086 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18087 if test "${ac_cv_header_regex_h+set}" = set; then
18088 echo "$as_me:$LINENO: checking for regex.h" >&5
18089 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18090 if test "${ac_cv_header_regex_h+set}" = set; then
18091 echo $ECHO_N "(cached) $ECHO_C" >&6
18093 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18094 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18096 # Is the header compilable?
18097 echo "$as_me:$LINENO: checking regex.h usability" >&5
18098 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18099 cat >conftest.$ac_ext <<_ACEOF
18100 #line $LINENO "configure"
18103 cat confdefs.h >>conftest.$ac_ext
18104 cat >>conftest.$ac_ext <<_ACEOF
18105 /* end confdefs.h. */
18106 $ac_includes_default
18109 rm -f conftest.$ac_objext
18110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18111 (eval $ac_compile) 2>&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); } &&
18115 { ac_try='test -s conftest.$ac_objext'
18116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18117 (eval $ac_try) 2>&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); }; }; then
18121 ac_header_compiler=yes
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.$ac_ext >&5
18126 ac_header_compiler=no
18128 rm -f conftest.$ac_objext conftest.$ac_ext
18129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18130 echo "${ECHO_T}$ac_header_compiler" >&6
18132 # Is the header present?
18133 echo "$as_me:$LINENO: checking regex.h presence" >&5
18134 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18135 cat >conftest.$ac_ext <<_ACEOF
18136 #line $LINENO "configure"
18139 cat confdefs.h >>conftest.$ac_ext
18140 cat >>conftest.$ac_ext <<_ACEOF
18141 /* end confdefs.h. */
18144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18147 grep -v '^ *+' conftest.er1 >conftest.err
18149 cat conftest.err >&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); } >/dev/null; then
18152 if test -s conftest.err; then
18153 ac_cpp_err=$ac_c_preproc_warn_flag
18160 if test -z "$ac_cpp_err"; then
18161 ac_header_preproc=yes
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.$ac_ext >&5
18166 ac_header_preproc=no
18168 rm -f conftest.err conftest.$ac_ext
18169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18170 echo "${ECHO_T}$ac_header_preproc" >&6
18172 # So? What about this header?
18173 case $ac_header_compiler:$ac_header_preproc in
18175 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18176 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18177 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18178 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18181 ## ------------------------------------ ##
18182 ## Report this to bug-autoconf@gnu.org. ##
18183 ## ------------------------------------ ##
18186 sed "s/^/$as_me: WARNING: /" >&2
18189 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18190 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18191 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18192 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18193 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18194 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18197 ## ------------------------------------ ##
18198 ## Report this to bug-autoconf@gnu.org. ##
18199 ## ------------------------------------ ##
18202 sed "s/^/$as_me: WARNING: /" >&2
18205 echo "$as_me:$LINENO: checking for regex.h" >&5
18206 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18207 if test "${ac_cv_header_regex_h+set}" = set; then
18208 echo $ECHO_N "(cached) $ECHO_C" >&6
18210 ac_cv_header_regex_h=$ac_header_preproc
18212 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18213 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18216 if test $ac_cv_header_regex_h = yes; then
18218 for ac_func in regcomp
18220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18221 echo "$as_me:$LINENO: checking for $ac_func" >&5
18222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18223 if eval "test \"\${$as_ac_var+set}\" = set"; then
18224 echo $ECHO_N "(cached) $ECHO_C" >&6
18226 cat >conftest.$ac_ext <<_ACEOF
18227 #line $LINENO "configure"
18230 cat confdefs.h >>conftest.$ac_ext
18231 cat >>conftest.$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233 /* System header to define __stub macros and hopefully few prototypes,
18234 which can conflict with char $ac_func (); below.
18235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18236 <limits.h> exists even on freestanding compilers. */
18238 # include <limits.h>
18240 # include <assert.h>
18242 /* Override any gcc2 internal prototype to avoid an error. */
18247 /* We use char because int might match the return type of a gcc2
18248 builtin and then its argument prototype would still apply. */
18250 /* The GNU C library defines this for functions which it implements
18251 to always fail with ENOSYS. Some functions are actually named
18252 something starting with __ and the normal name is an alias. */
18253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18256 char (*f) () = $ac_func;
18265 return f != $ac_func;
18270 rm -f conftest.$ac_objext conftest$ac_exeext
18271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18272 (eval $ac_link) 2>&5
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); } &&
18276 { ac_try='test -s conftest$ac_exeext'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; }; then
18282 eval "$as_ac_var=yes"
18284 echo "$as_me: failed program was:" >&5
18285 sed 's/^/| /' conftest.$ac_ext >&5
18287 eval "$as_ac_var=no"
18289 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18293 if test `eval echo '${'$as_ac_var'}'` = yes; then
18294 cat >>confdefs.h <<_ACEOF
18295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18305 if test "x$ac_cv_func_regcomp" != "xyes"; then
18306 if test "$wxUSE_REGEX" = "sys" ; then
18307 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18308 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18309 { (exit 1); exit 1; }; }
18311 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18312 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18313 wxUSE_REGEX=builtin
18320 if test "$wxUSE_REGEX" = "builtin" ; then
18321 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18328 if test "$wxUSE_ZLIB" != "no" ; then
18329 cat >>confdefs.h <<\_ACEOF
18330 #define wxUSE_ZLIB 1
18334 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18335 if test "$USE_DARWIN" = 1; then
18336 system_zlib_h_ok="yes"
18338 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18339 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18340 if test "${ac_cv_header_zlib_h+set}" = set; then
18341 echo $ECHO_N "(cached) $ECHO_C" >&6
18343 if test "$cross_compiling" = yes; then
18344 unset ac_cv_header_zlib_h
18347 cat >conftest.$ac_ext <<_ACEOF
18348 #line $LINENO "configure"
18351 cat confdefs.h >>conftest.$ac_ext
18352 cat >>conftest.$ac_ext <<_ACEOF
18353 /* end confdefs.h. */
18360 FILE *f=fopen("conftestval", "w");
18363 ZLIB_VERSION[0] == '1' &&
18364 (ZLIB_VERSION[2] > '1' ||
18365 (ZLIB_VERSION[2] == '1' &&
18366 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18371 rm -f conftest$ac_exeext
18372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18373 (eval $ac_link) 2>&5
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18378 (eval $ac_try) 2>&5
18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381 (exit $ac_status); }; }; then
18382 ac_cv_header_zlib_h=`cat conftestval`
18384 echo "$as_me: program exited with status $ac_status" >&5
18385 echo "$as_me: failed program was:" >&5
18386 sed 's/^/| /' conftest.$ac_ext >&5
18388 ( exit $ac_status )
18389 ac_cv_header_zlib_h=no
18391 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18395 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18396 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18397 if test "${ac_cv_header_zlib_h+set}" = set; then
18398 echo "$as_me:$LINENO: checking for zlib.h" >&5
18399 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18400 if test "${ac_cv_header_zlib_h+set}" = set; then
18401 echo $ECHO_N "(cached) $ECHO_C" >&6
18403 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18404 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18406 # Is the header compilable?
18407 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18408 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18409 cat >conftest.$ac_ext <<_ACEOF
18410 #line $LINENO "configure"
18413 cat confdefs.h >>conftest.$ac_ext
18414 cat >>conftest.$ac_ext <<_ACEOF
18415 /* end confdefs.h. */
18416 $ac_includes_default
18419 rm -f conftest.$ac_objext
18420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18421 (eval $ac_compile) 2>&5
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); } &&
18425 { ac_try='test -s conftest.$ac_objext'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; }; then
18431 ac_header_compiler=yes
18433 echo "$as_me: failed program was:" >&5
18434 sed 's/^/| /' conftest.$ac_ext >&5
18436 ac_header_compiler=no
18438 rm -f conftest.$ac_objext conftest.$ac_ext
18439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18440 echo "${ECHO_T}$ac_header_compiler" >&6
18442 # Is the header present?
18443 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18444 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18445 cat >conftest.$ac_ext <<_ACEOF
18446 #line $LINENO "configure"
18449 cat confdefs.h >>conftest.$ac_ext
18450 cat >>conftest.$ac_ext <<_ACEOF
18451 /* end confdefs.h. */
18454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18455 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18457 grep -v '^ *+' conftest.er1 >conftest.err
18459 cat conftest.err >&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); } >/dev/null; then
18462 if test -s conftest.err; then
18463 ac_cpp_err=$ac_c_preproc_warn_flag
18470 if test -z "$ac_cpp_err"; then
18471 ac_header_preproc=yes
18473 echo "$as_me: failed program was:" >&5
18474 sed 's/^/| /' conftest.$ac_ext >&5
18476 ac_header_preproc=no
18478 rm -f conftest.err conftest.$ac_ext
18479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18480 echo "${ECHO_T}$ac_header_preproc" >&6
18482 # So? What about this header?
18483 case $ac_header_compiler:$ac_header_preproc in
18485 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18486 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18487 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18488 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18491 ## ------------------------------------ ##
18492 ## Report this to bug-autoconf@gnu.org. ##
18493 ## ------------------------------------ ##
18496 sed "s/^/$as_me: WARNING: /" >&2
18499 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18500 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18501 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18502 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18503 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18504 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18507 ## ------------------------------------ ##
18508 ## Report this to bug-autoconf@gnu.org. ##
18509 ## ------------------------------------ ##
18512 sed "s/^/$as_me: WARNING: /" >&2
18515 echo "$as_me:$LINENO: checking for zlib.h" >&5
18516 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18517 if test "${ac_cv_header_zlib_h+set}" = set; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18520 ac_cv_header_zlib_h=$ac_header_preproc
18522 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18523 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18529 system_zlib_h_ok=$ac_cv_header_zlib_h
18532 if test "$system_zlib_h_ok" = "yes"; then
18533 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18534 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18535 if test "${ac_cv_lib_z_deflate+set}" = set; then
18536 echo $ECHO_N "(cached) $ECHO_C" >&6
18538 ac_check_lib_save_LIBS=$LIBS
18540 cat >conftest.$ac_ext <<_ACEOF
18541 #line $LINENO "configure"
18544 cat confdefs.h >>conftest.$ac_ext
18545 cat >>conftest.$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18548 /* Override any gcc2 internal prototype to avoid an error. */
18552 /* We use char because int might match the return type of a gcc2
18553 builtin and then its argument prototype would still apply. */
18563 rm -f conftest.$ac_objext conftest$ac_exeext
18564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18565 (eval $ac_link) 2>&5
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); } &&
18569 { ac_try='test -s conftest$ac_exeext'
18570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18571 (eval $ac_try) 2>&5
18573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574 (exit $ac_status); }; }; then
18575 ac_cv_lib_z_deflate=yes
18577 echo "$as_me: failed program was:" >&5
18578 sed 's/^/| /' conftest.$ac_ext >&5
18580 ac_cv_lib_z_deflate=no
18582 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18583 LIBS=$ac_check_lib_save_LIBS
18585 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18586 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18587 if test $ac_cv_lib_z_deflate = yes; then
18593 if test "x$ZLIB_LINK" = "x" ; then
18594 if test "$wxUSE_ZLIB" = "sys" ; then
18595 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18596 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18597 { (exit 1); exit 1; }; }
18599 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18600 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18608 if test "$wxUSE_ZLIB" = "builtin" ; then
18609 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18616 if test "$wxUSE_LIBPNG" != "no" ; then
18617 cat >>confdefs.h <<\_ACEOF
18618 #define wxUSE_LIBPNG 1
18622 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18623 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18624 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18628 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18629 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18630 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18631 wxUSE_LIBPNG=builtin
18634 if test "$wxUSE_MGL" != 1 ; then
18635 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18636 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18637 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18638 if test "${ac_cv_header_png_h+set}" = set; then
18639 echo $ECHO_N "(cached) $ECHO_C" >&6
18641 if test "$cross_compiling" = yes; then
18642 unset ac_cv_header_png_h
18645 cat >conftest.$ac_ext <<_ACEOF
18646 #line $LINENO "configure"
18649 cat confdefs.h >>conftest.$ac_ext
18650 cat >>conftest.$ac_ext <<_ACEOF
18651 /* end confdefs.h. */
18658 FILE *f=fopen("conftestval", "w");
18661 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18666 rm -f conftest$ac_exeext
18667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18668 (eval $ac_link) 2>&5
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673 (eval $ac_try) 2>&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); }; }; then
18677 ac_cv_header_png_h=`cat conftestval`
18679 echo "$as_me: program exited with status $ac_status" >&5
18680 echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.$ac_ext >&5
18683 ( exit $ac_status )
18684 ac_cv_header_png_h=no
18686 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18690 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18691 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18692 if test "${ac_cv_header_png_h+set}" = set; then
18693 echo "$as_me:$LINENO: checking for png.h" >&5
18694 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18695 if test "${ac_cv_header_png_h+set}" = set; then
18696 echo $ECHO_N "(cached) $ECHO_C" >&6
18698 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18699 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18701 # Is the header compilable?
18702 echo "$as_me:$LINENO: checking png.h usability" >&5
18703 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18704 cat >conftest.$ac_ext <<_ACEOF
18705 #line $LINENO "configure"
18708 cat confdefs.h >>conftest.$ac_ext
18709 cat >>conftest.$ac_ext <<_ACEOF
18710 /* end confdefs.h. */
18711 $ac_includes_default
18714 rm -f conftest.$ac_objext
18715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18716 (eval $ac_compile) 2>&5
18718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18719 (exit $ac_status); } &&
18720 { ac_try='test -s conftest.$ac_objext'
18721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18722 (eval $ac_try) 2>&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); }; }; then
18726 ac_header_compiler=yes
18728 echo "$as_me: failed program was:" >&5
18729 sed 's/^/| /' conftest.$ac_ext >&5
18731 ac_header_compiler=no
18733 rm -f conftest.$ac_objext conftest.$ac_ext
18734 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18735 echo "${ECHO_T}$ac_header_compiler" >&6
18737 # Is the header present?
18738 echo "$as_me:$LINENO: checking png.h presence" >&5
18739 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18740 cat >conftest.$ac_ext <<_ACEOF
18741 #line $LINENO "configure"
18744 cat confdefs.h >>conftest.$ac_ext
18745 cat >>conftest.$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18750 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18752 grep -v '^ *+' conftest.er1 >conftest.err
18754 cat conftest.err >&5
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); } >/dev/null; then
18757 if test -s conftest.err; then
18758 ac_cpp_err=$ac_c_preproc_warn_flag
18765 if test -z "$ac_cpp_err"; then
18766 ac_header_preproc=yes
18768 echo "$as_me: failed program was:" >&5
18769 sed 's/^/| /' conftest.$ac_ext >&5
18771 ac_header_preproc=no
18773 rm -f conftest.err conftest.$ac_ext
18774 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18775 echo "${ECHO_T}$ac_header_preproc" >&6
18777 # So? What about this header?
18778 case $ac_header_compiler:$ac_header_preproc in
18780 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18781 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18782 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18783 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18786 ## ------------------------------------ ##
18787 ## Report this to bug-autoconf@gnu.org. ##
18788 ## ------------------------------------ ##
18791 sed "s/^/$as_me: WARNING: /" >&2
18794 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18795 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18796 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18797 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18798 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18799 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18802 ## ------------------------------------ ##
18803 ## Report this to bug-autoconf@gnu.org. ##
18804 ## ------------------------------------ ##
18807 sed "s/^/$as_me: WARNING: /" >&2
18810 echo "$as_me:$LINENO: checking for png.h" >&5
18811 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18812 if test "${ac_cv_header_png_h+set}" = set; then
18813 echo $ECHO_N "(cached) $ECHO_C" >&6
18815 ac_cv_header_png_h=$ac_header_preproc
18817 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18818 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18824 if test "$ac_cv_header_png_h" = "yes"; then
18825 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18826 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18827 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18828 echo $ECHO_N "(cached) $ECHO_C" >&6
18830 ac_check_lib_save_LIBS=$LIBS
18831 LIBS="-lpng -lz -lm $LIBS"
18832 cat >conftest.$ac_ext <<_ACEOF
18833 #line $LINENO "configure"
18836 cat confdefs.h >>conftest.$ac_ext
18837 cat >>conftest.$ac_ext <<_ACEOF
18838 /* end confdefs.h. */
18840 /* Override any gcc2 internal prototype to avoid an error. */
18844 /* We use char because int might match the return type of a gcc2
18845 builtin and then its argument prototype would still apply. */
18846 char png_check_sig ();
18855 rm -f conftest.$ac_objext conftest$ac_exeext
18856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18857 (eval $ac_link) 2>&5
18859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18860 (exit $ac_status); } &&
18861 { ac_try='test -s conftest$ac_exeext'
18862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18863 (eval $ac_try) 2>&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); }; }; then
18867 ac_cv_lib_png_png_check_sig=yes
18869 echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.$ac_ext >&5
18872 ac_cv_lib_png_png_check_sig=no
18874 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18875 LIBS=$ac_check_lib_save_LIBS
18877 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18878 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18879 if test $ac_cv_lib_png_png_check_sig = yes; then
18885 if test "x$PNG_LINK" = "x" ; then
18886 if test "$wxUSE_LIBPNG" = "sys" ; then
18887 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18888 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18889 { (exit 1); exit 1; }; }
18891 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18892 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18893 wxUSE_LIBPNG=builtin
18901 if test "$wxUSE_LIBPNG" = "builtin" ; then
18902 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18911 if test "$wxUSE_LIBJPEG" != "no" ; then
18912 cat >>confdefs.h <<\_ACEOF
18913 #define wxUSE_LIBJPEG 1
18917 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18918 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18919 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18923 if test "$wxUSE_MGL" != 1 ; then
18924 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18925 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18926 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18927 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18928 echo $ECHO_N "(cached) $ECHO_C" >&6
18930 cat >conftest.$ac_ext <<_ACEOF
18931 #line $LINENO "configure"
18934 cat confdefs.h >>conftest.$ac_ext
18935 cat >>conftest.$ac_ext <<_ACEOF
18936 /* end confdefs.h. */
18938 #undef HAVE_STDLIB_H
18940 #include <jpeglib.h>
18951 rm -f conftest.$ac_objext
18952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18953 (eval $ac_compile) 2>&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); } &&
18957 { ac_try='test -s conftest.$ac_objext'
18958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959 (eval $ac_try) 2>&5
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); }; }; then
18963 ac_cv_header_jpeglib_h=yes
18965 echo "$as_me: failed program was:" >&5
18966 sed 's/^/| /' conftest.$ac_ext >&5
18968 ac_cv_header_jpeglib_h=no
18971 rm -f conftest.$ac_objext conftest.$ac_ext
18975 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18976 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18978 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18979 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18980 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18981 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18982 echo $ECHO_N "(cached) $ECHO_C" >&6
18984 ac_check_lib_save_LIBS=$LIBS
18985 LIBS="-ljpeg $LIBS"
18986 cat >conftest.$ac_ext <<_ACEOF
18987 #line $LINENO "configure"
18990 cat confdefs.h >>conftest.$ac_ext
18991 cat >>conftest.$ac_ext <<_ACEOF
18992 /* end confdefs.h. */
18994 /* Override any gcc2 internal prototype to avoid an error. */
18998 /* We use char because int might match the return type of a gcc2
18999 builtin and then its argument prototype would still apply. */
19000 char jpeg_read_header ();
19004 jpeg_read_header ();
19009 rm -f conftest.$ac_objext conftest$ac_exeext
19010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19011 (eval $ac_link) 2>&5
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); } &&
19015 { ac_try='test -s conftest$ac_exeext'
19016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19017 (eval $ac_try) 2>&5
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); }; }; then
19021 ac_cv_lib_jpeg_jpeg_read_header=yes
19023 echo "$as_me: failed program was:" >&5
19024 sed 's/^/| /' conftest.$ac_ext >&5
19026 ac_cv_lib_jpeg_jpeg_read_header=no
19028 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19029 LIBS=$ac_check_lib_save_LIBS
19031 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19032 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19033 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19034 JPEG_LINK=" -ljpeg"
19039 if test "x$JPEG_LINK" = "x" ; then
19040 if test "$wxUSE_LIBJPEG" = "sys" ; then
19041 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19042 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19043 { (exit 1); exit 1; }; }
19045 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19046 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19047 wxUSE_LIBJPEG=builtin
19055 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19056 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
19063 TIFF_PREREQ_LINKS=-lm
19064 if test "$wxUSE_LIBTIFF" != "no" ; then
19065 cat >>confdefs.h <<\_ACEOF
19066 #define wxUSE_LIBTIFF 1
19070 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19071 if test "$wxUSE_LIBJPEG" = "sys"; then
19072 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19074 if test "$wxUSE_ZLIB" = "sys"; then
19075 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19077 if test "${ac_cv_header_tiffio_h+set}" = set; then
19078 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19079 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19080 if test "${ac_cv_header_tiffio_h+set}" = set; then
19081 echo $ECHO_N "(cached) $ECHO_C" >&6
19083 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19084 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19086 # Is the header compilable?
19087 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19088 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19089 cat >conftest.$ac_ext <<_ACEOF
19090 #line $LINENO "configure"
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19096 $ac_includes_default
19097 #include <tiffio.h>
19099 rm -f conftest.$ac_objext
19100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19101 (eval $ac_compile) 2>&5
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); } &&
19105 { ac_try='test -s conftest.$ac_objext'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; }; then
19111 ac_header_compiler=yes
19113 echo "$as_me: failed program was:" >&5
19114 sed 's/^/| /' conftest.$ac_ext >&5
19116 ac_header_compiler=no
19118 rm -f conftest.$ac_objext conftest.$ac_ext
19119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19120 echo "${ECHO_T}$ac_header_compiler" >&6
19122 # Is the header present?
19123 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19124 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19125 cat >conftest.$ac_ext <<_ACEOF
19126 #line $LINENO "configure"
19129 cat confdefs.h >>conftest.$ac_ext
19130 cat >>conftest.$ac_ext <<_ACEOF
19131 /* end confdefs.h. */
19132 #include <tiffio.h>
19134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19135 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19137 grep -v '^ *+' conftest.er1 >conftest.err
19139 cat conftest.err >&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } >/dev/null; then
19142 if test -s conftest.err; then
19143 ac_cpp_err=$ac_c_preproc_warn_flag
19150 if test -z "$ac_cpp_err"; then
19151 ac_header_preproc=yes
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19156 ac_header_preproc=no
19158 rm -f conftest.err conftest.$ac_ext
19159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19160 echo "${ECHO_T}$ac_header_preproc" >&6
19162 # So? What about this header?
19163 case $ac_header_compiler:$ac_header_preproc in
19165 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19166 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19167 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19168 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19171 ## ------------------------------------ ##
19172 ## Report this to bug-autoconf@gnu.org. ##
19173 ## ------------------------------------ ##
19176 sed "s/^/$as_me: WARNING: /" >&2
19179 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19180 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19181 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19182 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19183 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19184 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19187 ## ------------------------------------ ##
19188 ## Report this to bug-autoconf@gnu.org. ##
19189 ## ------------------------------------ ##
19192 sed "s/^/$as_me: WARNING: /" >&2
19195 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19196 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19197 if test "${ac_cv_header_tiffio_h+set}" = set; then
19198 echo $ECHO_N "(cached) $ECHO_C" >&6
19200 ac_cv_header_tiffio_h=$ac_header_preproc
19202 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19203 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19206 if test $ac_cv_header_tiffio_h = yes; then
19207 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19208 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19209 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19210 echo $ECHO_N "(cached) $ECHO_C" >&6
19212 ac_check_lib_save_LIBS=$LIBS
19213 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19214 cat >conftest.$ac_ext <<_ACEOF
19215 #line $LINENO "configure"
19218 cat confdefs.h >>conftest.$ac_ext
19219 cat >>conftest.$ac_ext <<_ACEOF
19220 /* end confdefs.h. */
19222 /* Override any gcc2 internal prototype to avoid an error. */
19226 /* We use char because int might match the return type of a gcc2
19227 builtin and then its argument prototype would still apply. */
19237 rm -f conftest.$ac_objext conftest$ac_exeext
19238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19239 (eval $ac_link) 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } &&
19243 { ac_try='test -s conftest$ac_exeext'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; }; then
19249 ac_cv_lib_tiff_TIFFError=yes
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19254 ac_cv_lib_tiff_TIFFError=no
19256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19257 LIBS=$ac_check_lib_save_LIBS
19259 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19260 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19261 if test $ac_cv_lib_tiff_TIFFError = yes; then
19262 TIFF_LINK=" -ltiff"
19270 if test "x$TIFF_LINK" = "x" ; then
19271 if test "$wxUSE_LIBTIFF" = "sys" ; then
19272 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19273 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19274 { (exit 1); exit 1; }; }
19276 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19277 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19278 wxUSE_LIBTIFF=builtin
19285 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19286 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19291 if test "$wxUSE_EXPAT" != "no"; then
19293 cat >>confdefs.h <<\_ACEOF
19294 #define wxUSE_EXPAT 1
19297 cat >>confdefs.h <<\_ACEOF
19298 #define wxUSE_XML 1
19302 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19303 if test "${ac_cv_header_expat_h+set}" = set; then
19304 echo "$as_me:$LINENO: checking for expat.h" >&5
19305 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19306 if test "${ac_cv_header_expat_h+set}" = set; then
19307 echo $ECHO_N "(cached) $ECHO_C" >&6
19309 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19310 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19312 # Is the header compilable?
19313 echo "$as_me:$LINENO: checking expat.h usability" >&5
19314 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19315 cat >conftest.$ac_ext <<_ACEOF
19316 #line $LINENO "configure"
19319 cat confdefs.h >>conftest.$ac_ext
19320 cat >>conftest.$ac_ext <<_ACEOF
19321 /* end confdefs.h. */
19322 $ac_includes_default
19325 rm -f conftest.$ac_objext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19327 (eval $ac_compile) 2>&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); } &&
19331 { ac_try='test -s conftest.$ac_objext'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; }; then
19337 ac_header_compiler=yes
19339 echo "$as_me: failed program was:" >&5
19340 sed 's/^/| /' conftest.$ac_ext >&5
19342 ac_header_compiler=no
19344 rm -f conftest.$ac_objext conftest.$ac_ext
19345 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19346 echo "${ECHO_T}$ac_header_compiler" >&6
19348 # Is the header present?
19349 echo "$as_me:$LINENO: checking expat.h presence" >&5
19350 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19351 cat >conftest.$ac_ext <<_ACEOF
19352 #line $LINENO "configure"
19355 cat confdefs.h >>conftest.$ac_ext
19356 cat >>conftest.$ac_ext <<_ACEOF
19357 /* end confdefs.h. */
19360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19363 grep -v '^ *+' conftest.er1 >conftest.err
19365 cat conftest.err >&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); } >/dev/null; then
19368 if test -s conftest.err; then
19369 ac_cpp_err=$ac_c_preproc_warn_flag
19376 if test -z "$ac_cpp_err"; then
19377 ac_header_preproc=yes
19379 echo "$as_me: failed program was:" >&5
19380 sed 's/^/| /' conftest.$ac_ext >&5
19382 ac_header_preproc=no
19384 rm -f conftest.err conftest.$ac_ext
19385 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19386 echo "${ECHO_T}$ac_header_preproc" >&6
19388 # So? What about this header?
19389 case $ac_header_compiler:$ac_header_preproc in
19391 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19392 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19393 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19394 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19397 ## ------------------------------------ ##
19398 ## Report this to bug-autoconf@gnu.org. ##
19399 ## ------------------------------------ ##
19402 sed "s/^/$as_me: WARNING: /" >&2
19405 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19406 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19407 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19408 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19409 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19410 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19413 ## ------------------------------------ ##
19414 ## Report this to bug-autoconf@gnu.org. ##
19415 ## ------------------------------------ ##
19418 sed "s/^/$as_me: WARNING: /" >&2
19421 echo "$as_me:$LINENO: checking for expat.h" >&5
19422 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19423 if test "${ac_cv_header_expat_h+set}" = set; then
19424 echo $ECHO_N "(cached) $ECHO_C" >&6
19426 ac_cv_header_expat_h=$ac_header_preproc
19428 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19429 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19432 if test $ac_cv_header_expat_h = yes; then
19437 if test "x$found_expat_h" = "x1"; then
19438 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19439 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19440 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19441 echo $ECHO_N "(cached) $ECHO_C" >&6
19447 ac_cpp='$CXXCPP $CPPFLAGS'
19448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19452 cat >conftest.$ac_ext <<_ACEOF
19453 #line $LINENO "configure"
19456 cat confdefs.h >>conftest.$ac_ext
19457 cat >>conftest.$ac_ext <<_ACEOF
19458 /* end confdefs.h. */
19468 rm -f conftest.$ac_objext
19469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19470 (eval $ac_compile) 2>&5
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); } &&
19474 { ac_try='test -s conftest.$ac_objext'
19475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19476 (eval $ac_try) 2>&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); }; }; then
19480 wx_cv_expat_is_not_broken=yes
19482 echo "$as_me: failed program was:" >&5
19483 sed 's/^/| /' conftest.$ac_ext >&5
19485 wx_cv_expat_is_not_broken=no
19488 rm -f conftest.$ac_objext conftest.$ac_ext
19490 ac_cpp='$CPP $CPPFLAGS'
19491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19498 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19499 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19500 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19501 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19502 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19503 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19504 echo $ECHO_N "(cached) $ECHO_C" >&6
19506 ac_check_lib_save_LIBS=$LIBS
19507 LIBS="-lexpat $LIBS"
19508 cat >conftest.$ac_ext <<_ACEOF
19509 #line $LINENO "configure"
19512 cat confdefs.h >>conftest.$ac_ext
19513 cat >>conftest.$ac_ext <<_ACEOF
19514 /* end confdefs.h. */
19516 /* Override any gcc2 internal prototype to avoid an error. */
19520 /* We use char because int might match the return type of a gcc2
19521 builtin and then its argument prototype would still apply. */
19522 char XML_ParserCreate ();
19526 XML_ParserCreate ();
19531 rm -f conftest.$ac_objext conftest$ac_exeext
19532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19533 (eval $ac_link) 2>&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); } &&
19537 { ac_try='test -s conftest$ac_exeext'
19538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19539 (eval $ac_try) 2>&5
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); }; }; then
19543 ac_cv_lib_expat_XML_ParserCreate=yes
19545 echo "$as_me: failed program was:" >&5
19546 sed 's/^/| /' conftest.$ac_ext >&5
19548 ac_cv_lib_expat_XML_ParserCreate=no
19550 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19551 LIBS=$ac_check_lib_save_LIBS
19553 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19554 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19555 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19556 EXPAT_LINK=" -lexpat"
19561 if test "x$EXPAT_LINK" = "x" ; then
19562 if test "$wxUSE_EXPAT" = "sys" ; then
19563 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19564 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19565 { (exit 1); exit 1; }; }
19567 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19568 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19569 wxUSE_EXPAT=builtin
19575 if test "$wxUSE_EXPAT" = "builtin" ; then
19578 subdirs="$subdirs src/expat"
19592 if test "$USE_WIN32" = 1 ; then
19594 for ac_header in w32api.h
19596 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19598 echo "$as_me:$LINENO: checking for $ac_header" >&5
19599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19601 echo $ECHO_N "(cached) $ECHO_C" >&6
19603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19606 # Is the header compilable?
19607 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19608 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19609 cat >conftest.$ac_ext <<_ACEOF
19610 #line $LINENO "configure"
19613 cat confdefs.h >>conftest.$ac_ext
19614 cat >>conftest.$ac_ext <<_ACEOF
19615 /* end confdefs.h. */
19616 $ac_includes_default
19617 #include <$ac_header>
19619 rm -f conftest.$ac_objext
19620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19621 (eval $ac_compile) 2>&5
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); } &&
19625 { ac_try='test -s conftest.$ac_objext'
19626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19627 (eval $ac_try) 2>&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); }; }; then
19631 ac_header_compiler=yes
19633 echo "$as_me: failed program was:" >&5
19634 sed 's/^/| /' conftest.$ac_ext >&5
19636 ac_header_compiler=no
19638 rm -f conftest.$ac_objext conftest.$ac_ext
19639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19640 echo "${ECHO_T}$ac_header_compiler" >&6
19642 # Is the header present?
19643 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19644 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19645 cat >conftest.$ac_ext <<_ACEOF
19646 #line $LINENO "configure"
19649 cat confdefs.h >>conftest.$ac_ext
19650 cat >>conftest.$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 #include <$ac_header>
19654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19655 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19657 grep -v '^ *+' conftest.er1 >conftest.err
19659 cat conftest.err >&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); } >/dev/null; then
19662 if test -s conftest.err; then
19663 ac_cpp_err=$ac_c_preproc_warn_flag
19670 if test -z "$ac_cpp_err"; then
19671 ac_header_preproc=yes
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.$ac_ext >&5
19676 ac_header_preproc=no
19678 rm -f conftest.err conftest.$ac_ext
19679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19680 echo "${ECHO_T}$ac_header_preproc" >&6
19682 # So? What about this header?
19683 case $ac_header_compiler:$ac_header_preproc in
19685 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19686 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19688 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19691 ## ------------------------------------ ##
19692 ## Report this to bug-autoconf@gnu.org. ##
19693 ## ------------------------------------ ##
19696 sed "s/^/$as_me: WARNING: /" >&2
19699 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19700 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19701 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19702 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19704 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19707 ## ------------------------------------ ##
19708 ## Report this to bug-autoconf@gnu.org. ##
19709 ## ------------------------------------ ##
19712 sed "s/^/$as_me: WARNING: /" >&2
19715 echo "$as_me:$LINENO: checking for $ac_header" >&5
19716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19718 echo $ECHO_N "(cached) $ECHO_C" >&6
19720 eval "$as_ac_Header=$ac_header_preproc"
19722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19727 cat >>confdefs.h <<_ACEOF
19728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19735 if test "${ac_cv_header_windows_h+set}" = set; then
19736 echo "$as_me:$LINENO: checking for windows.h" >&5
19737 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19738 if test "${ac_cv_header_windows_h+set}" = set; then
19739 echo $ECHO_N "(cached) $ECHO_C" >&6
19741 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19742 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19744 # Is the header compilable?
19745 echo "$as_me:$LINENO: checking windows.h usability" >&5
19746 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19747 cat >conftest.$ac_ext <<_ACEOF
19748 #line $LINENO "configure"
19751 cat confdefs.h >>conftest.$ac_ext
19752 cat >>conftest.$ac_ext <<_ACEOF
19753 /* end confdefs.h. */
19754 $ac_includes_default
19755 #include <windows.h>
19757 rm -f conftest.$ac_objext
19758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19759 (eval $ac_compile) 2>&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } &&
19763 { ac_try='test -s conftest.$ac_objext'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; }; then
19769 ac_header_compiler=yes
19771 echo "$as_me: failed program was:" >&5
19772 sed 's/^/| /' conftest.$ac_ext >&5
19774 ac_header_compiler=no
19776 rm -f conftest.$ac_objext conftest.$ac_ext
19777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19778 echo "${ECHO_T}$ac_header_compiler" >&6
19780 # Is the header present?
19781 echo "$as_me:$LINENO: checking windows.h presence" >&5
19782 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19783 cat >conftest.$ac_ext <<_ACEOF
19784 #line $LINENO "configure"
19787 cat confdefs.h >>conftest.$ac_ext
19788 cat >>conftest.$ac_ext <<_ACEOF
19789 /* end confdefs.h. */
19790 #include <windows.h>
19792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19795 grep -v '^ *+' conftest.er1 >conftest.err
19797 cat conftest.err >&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } >/dev/null; then
19800 if test -s conftest.err; then
19801 ac_cpp_err=$ac_c_preproc_warn_flag
19808 if test -z "$ac_cpp_err"; then
19809 ac_header_preproc=yes
19811 echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.$ac_ext >&5
19814 ac_header_preproc=no
19816 rm -f conftest.err conftest.$ac_ext
19817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19818 echo "${ECHO_T}$ac_header_preproc" >&6
19820 # So? What about this header?
19821 case $ac_header_compiler:$ac_header_preproc in
19823 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19824 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19825 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19826 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19829 ## ------------------------------------ ##
19830 ## Report this to bug-autoconf@gnu.org. ##
19831 ## ------------------------------------ ##
19834 sed "s/^/$as_me: WARNING: /" >&2
19837 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19838 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19839 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19840 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19841 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19842 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19845 ## ------------------------------------ ##
19846 ## Report this to bug-autoconf@gnu.org. ##
19847 ## ------------------------------------ ##
19850 sed "s/^/$as_me: WARNING: /" >&2
19853 echo "$as_me:$LINENO: checking for windows.h" >&5
19854 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19855 if test "${ac_cv_header_windows_h+set}" = set; then
19856 echo $ECHO_N "(cached) $ECHO_C" >&6
19858 ac_cv_header_windows_h=$ac_header_preproc
19860 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19861 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19864 if test $ac_cv_header_windows_h = yes; then
19868 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19869 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19870 { (exit 1); exit 1; }; }
19876 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19878 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19879 LIBS="$LIBS -loleacc"
19884 LIBS="$LIBS -lkernel32 -luser32"
19885 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19888 if test "$wxUSE_ODBC" = "sys" ; then
19891 if test "$wxUSE_ODBC" = "yes" ; then
19892 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19893 cat >>confdefs.h <<\_ACEOF
19894 #define wxUSE_ODBC 1
19899 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19900 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19902 WIN32INSTALL=win32install
19905 if test "$wxUSE_GUI" = "yes"; then
19914 if test "$wxUSE_MSW" = 1 ; then
19919 if test "$wxUSE_GTK" = 1; then
19920 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19921 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19923 gtk_version_cached=1
19924 if test "${wx_cv_lib_gtk+set}" = set; then
19925 echo $ECHO_N "(cached) $ECHO_C" >&6
19928 gtk_version_cached=0
19929 echo "$as_me:$LINENO: result: " >&5
19930 echo "${ECHO_T}" >&6
19933 if test "$wxUSE_THREADS" = "yes"; then
19934 GTK_MODULES=gthread
19938 if test "x$wxUSE_GTK2" = "xyes"; then
19939 # Check whether --enable-gtktest or --disable-gtktest was given.
19940 if test "${enable_gtktest+set}" = set; then
19941 enableval="$enable_gtktest"
19947 pkg_config_args=gtk+-2.0
19948 for module in . $GTK_MODULES
19952 pkg_config_args="$pkg_config_args gthread-2.0"
19959 # Extract the first word of "pkg-config", so it can be a program name with args.
19960 set dummy pkg-config; ac_word=$2
19961 echo "$as_me:$LINENO: checking for $ac_word" >&5
19962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19963 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19964 echo $ECHO_N "(cached) $ECHO_C" >&6
19966 case $PKG_CONFIG in
19968 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19972 for as_dir in $PATH
19975 test -z "$as_dir" && as_dir=.
19976 for ac_exec_ext in '' $ac_executable_extensions; do
19977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19978 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19985 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19989 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19991 if test -n "$PKG_CONFIG"; then
19992 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19993 echo "${ECHO_T}$PKG_CONFIG" >&6
19995 echo "$as_me:$LINENO: result: no" >&5
19996 echo "${ECHO_T}no" >&6
20000 if test x$PKG_CONFIG != xno ; then
20001 if pkg-config --atleast-pkgconfig-version 0.7 ; then
20004 echo *** pkg-config too old; version 0.7 or better required.
20012 min_gtk_version=2.0.0
20013 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20014 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20016 if test x$PKG_CONFIG != xno ; then
20017 ## don't try to run the test against uninstalled libtool libs
20018 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20019 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20023 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20030 if test x"$no_gtk" = x ; then
20031 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
20032 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
20033 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20035 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20037 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20039 if test "x$enable_gtktest" = "xyes" ; then
20040 ac_save_CFLAGS="$CFLAGS"
20041 ac_save_LIBS="$LIBS"
20042 CFLAGS="$CFLAGS $GTK_CFLAGS"
20043 LIBS="$GTK_LIBS $LIBS"
20045 if test "$cross_compiling" = yes; then
20046 echo $ac_n "cross compiling; assumed OK... $ac_c"
20048 cat >conftest.$ac_ext <<_ACEOF
20049 #line $LINENO "configure"
20052 cat confdefs.h >>conftest.$ac_ext
20053 cat >>conftest.$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20056 #include <gtk/gtk.h>
20058 #include <stdlib.h>
20063 int major, minor, micro;
20066 system ("touch conf.gtktest");
20068 /* HP/UX 9 (%@#!) writes to sscanf strings */
20069 tmp_version = g_strdup("$min_gtk_version");
20070 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20071 printf("%s, bad version string\n", "$min_gtk_version");
20075 if ((gtk_major_version != $gtk_config_major_version) ||
20076 (gtk_minor_version != $gtk_config_minor_version) ||
20077 (gtk_micro_version != $gtk_config_micro_version))
20079 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20080 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20081 gtk_major_version, gtk_minor_version, gtk_micro_version);
20082 printf ("*** was found! If pkg-config was correct, then it is best\n");
20083 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20084 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20085 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20086 printf("*** required on your system.\n");
20087 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20088 printf("*** to point to the correct configuration files\n");
20090 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20091 (gtk_minor_version != GTK_MINOR_VERSION) ||
20092 (gtk_micro_version != GTK_MICRO_VERSION))
20094 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20095 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20096 printf("*** library (version %d.%d.%d)\n",
20097 gtk_major_version, gtk_minor_version, gtk_micro_version);
20101 if ((gtk_major_version > major) ||
20102 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20103 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20109 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20110 gtk_major_version, gtk_minor_version, gtk_micro_version);
20111 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20112 major, minor, micro);
20113 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20115 printf("*** If you have already installed a sufficiently new version, this error\n");
20116 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20117 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20118 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20119 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20120 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20121 printf("*** so that the correct libraries are found at run-time))\n");
20128 rm -f conftest$ac_exeext
20129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20130 (eval $ac_link) 2>&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20135 (eval $ac_try) 2>&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); }; }; then
20141 echo "$as_me: program exited with status $ac_status" >&5
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.$ac_ext >&5
20145 ( exit $ac_status )
20148 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20150 CFLAGS="$ac_save_CFLAGS"
20151 LIBS="$ac_save_LIBS"
20154 if test "x$no_gtk" = x ; then
20155 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20156 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20159 echo "$as_me:$LINENO: result: no" >&5
20160 echo "${ECHO_T}no" >&6
20161 if test "$PKG_CONFIG" = "no" ; then
20162 echo "*** A new enough version of pkg-config was not found."
20163 echo "*** See http://pkgconfig.sourceforge.net"
20165 if test -f conf.gtktest ; then
20168 echo "*** Could not run GTK+ test program, checking why..."
20169 ac_save_CFLAGS="$CFLAGS"
20170 ac_save_LIBS="$LIBS"
20171 CFLAGS="$CFLAGS $GTK_CFLAGS"
20172 LIBS="$LIBS $GTK_LIBS"
20173 cat >conftest.$ac_ext <<_ACEOF
20174 #line $LINENO "configure"
20177 cat confdefs.h >>conftest.$ac_ext
20178 cat >>conftest.$ac_ext <<_ACEOF
20179 /* end confdefs.h. */
20181 #include <gtk/gtk.h>
20187 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20192 rm -f conftest.$ac_objext conftest$ac_exeext
20193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20194 (eval $ac_link) 2>&5
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); } &&
20198 { ac_try='test -s conftest$ac_exeext'
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; }; then
20204 echo "*** The test program compiled, but did not run. This usually means"
20205 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20206 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20207 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20208 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20209 echo "*** is required on your system"
20211 echo "*** If you have an old version installed, it is best to remove it, although"
20212 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20214 echo "$as_me: failed program was:" >&5
20215 sed 's/^/| /' conftest.$ac_ext >&5
20217 echo "*** The test program failed to compile or link. See the file config.log for the"
20218 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20220 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20221 CFLAGS="$ac_save_CFLAGS"
20222 LIBS="$ac_save_LIBS"
20235 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20236 if test "${with_gtk_prefix+set}" = set; then
20237 withval="$with_gtk_prefix"
20238 gtk_config_prefix="$withval"
20240 gtk_config_prefix=""
20243 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20244 if test "${with_gtk_exec_prefix+set}" = set; then
20245 withval="$with_gtk_exec_prefix"
20246 gtk_config_exec_prefix="$withval"
20248 gtk_config_exec_prefix=""
20250 # Check whether --enable-gtktest or --disable-gtktest was given.
20251 if test "${enable_gtktest+set}" = set; then
20252 enableval="$enable_gtktest"
20258 for module in . $GTK_MODULES
20262 gtk_config_args="$gtk_config_args gthread"
20267 if test x$gtk_config_exec_prefix != x ; then
20268 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20269 if test x${GTK_CONFIG+set} != xset ; then
20270 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20273 if test x$gtk_config_prefix != x ; then
20274 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20275 if test x${GTK_CONFIG+set} != xset ; then
20276 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20280 # Extract the first word of "gtk-config", so it can be a program name with args.
20281 set dummy gtk-config; ac_word=$2
20282 echo "$as_me:$LINENO: checking for $ac_word" >&5
20283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20284 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20285 echo $ECHO_N "(cached) $ECHO_C" >&6
20287 case $GTK_CONFIG in
20289 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20293 for as_dir in $PATH
20296 test -z "$as_dir" && as_dir=.
20297 for ac_exec_ext in '' $ac_executable_extensions; do
20298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20299 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20306 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20310 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20312 if test -n "$GTK_CONFIG"; then
20313 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20314 echo "${ECHO_T}$GTK_CONFIG" >&6
20316 echo "$as_me:$LINENO: result: no" >&5
20317 echo "${ECHO_T}no" >&6
20320 min_gtk_version=1.2.7
20321 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20322 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20324 if test "$GTK_CONFIG" = "no" ; then
20327 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20328 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20329 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20330 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20331 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20332 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20333 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20334 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20335 if test "x$enable_gtktest" = "xyes" ; then
20336 ac_save_CFLAGS="$CFLAGS"
20337 ac_save_LIBS="$LIBS"
20338 CFLAGS="$CFLAGS $GTK_CFLAGS"
20339 LIBS="$GTK_LIBS $LIBS"
20341 if test "$cross_compiling" = yes; then
20342 echo $ac_n "cross compiling; assumed OK... $ac_c"
20344 cat >conftest.$ac_ext <<_ACEOF
20345 #line $LINENO "configure"
20348 cat confdefs.h >>conftest.$ac_ext
20349 cat >>conftest.$ac_ext <<_ACEOF
20350 /* end confdefs.h. */
20352 #include <gtk/gtk.h>
20354 #include <stdlib.h>
20359 int major, minor, micro;
20362 system ("touch conf.gtktest");
20364 /* HP/UX 9 (%@#!) writes to sscanf strings */
20365 tmp_version = g_strdup("$min_gtk_version");
20366 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20367 printf("%s, bad version string\n", "$min_gtk_version");
20371 if ((gtk_major_version != $gtk_config_major_version) ||
20372 (gtk_minor_version != $gtk_config_minor_version) ||
20373 (gtk_micro_version != $gtk_config_micro_version))
20375 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20376 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20377 gtk_major_version, gtk_minor_version, gtk_micro_version);
20378 printf ("*** was found! If gtk-config was correct, then it is best\n");
20379 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20380 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20381 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20382 printf("*** required on your system.\n");
20383 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20384 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20385 printf("*** before re-running configure\n");
20387 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20388 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20389 (gtk_minor_version != GTK_MINOR_VERSION) ||
20390 (gtk_micro_version != GTK_MICRO_VERSION))
20392 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20393 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20394 printf("*** library (version %d.%d.%d)\n",
20395 gtk_major_version, gtk_minor_version, gtk_micro_version);
20397 #endif /* defined (GTK_MAJOR_VERSION) ... */
20400 if ((gtk_major_version > major) ||
20401 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20402 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20408 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20409 gtk_major_version, gtk_minor_version, gtk_micro_version);
20410 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20411 major, minor, micro);
20412 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20414 printf("*** If you have already installed a sufficiently new version, this error\n");
20415 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20416 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20417 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20418 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20419 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20420 printf("*** so that the correct libraries are found at run-time))\n");
20427 rm -f conftest$ac_exeext
20428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20429 (eval $ac_link) 2>&5
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20434 (eval $ac_try) 2>&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); }; }; then
20440 echo "$as_me: program exited with status $ac_status" >&5
20441 echo "$as_me: failed program was:" >&5
20442 sed 's/^/| /' conftest.$ac_ext >&5
20444 ( exit $ac_status )
20447 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20449 CFLAGS="$ac_save_CFLAGS"
20450 LIBS="$ac_save_LIBS"
20453 if test "x$no_gtk" = x ; then
20454 echo "$as_me:$LINENO: result: yes" >&5
20455 echo "${ECHO_T}yes" >&6
20456 wx_cv_lib_gtk=1.2.7
20458 echo "$as_me:$LINENO: result: no" >&5
20459 echo "${ECHO_T}no" >&6
20460 if test "$GTK_CONFIG" = "no" ; then
20461 echo "*** The gtk-config script installed by GTK could not be found"
20462 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20463 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20464 echo "*** full path to gtk-config."
20466 if test -f conf.gtktest ; then
20469 echo "*** Could not run GTK test program, checking why..."
20470 CFLAGS="$CFLAGS $GTK_CFLAGS"
20471 LIBS="$LIBS $GTK_LIBS"
20472 cat >conftest.$ac_ext <<_ACEOF
20473 #line $LINENO "configure"
20476 cat confdefs.h >>conftest.$ac_ext
20477 cat >>conftest.$ac_ext <<_ACEOF
20478 /* end confdefs.h. */
20480 #include <gtk/gtk.h>
20486 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20491 rm -f conftest.$ac_objext conftest$ac_exeext
20492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20493 (eval $ac_link) 2>&5
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); } &&
20497 { ac_try='test -s conftest$ac_exeext'
20498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20499 (eval $ac_try) 2>&5
20501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502 (exit $ac_status); }; }; then
20503 echo "*** The test program compiled, but did not run. This usually means"
20504 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20505 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20506 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20507 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20508 echo "*** is required on your system"
20510 echo "*** If you have an old version installed, it is best to remove it, although"
20511 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20513 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20514 echo "*** came with the system with the command"
20516 echo "*** rpm --erase --nodeps gtk gtk-devel"
20518 echo "$as_me: failed program was:" >&5
20519 sed 's/^/| /' conftest.$ac_ext >&5
20521 echo "*** The test program failed to compile or link. See the file config.log for the"
20522 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20523 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20524 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20526 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20527 CFLAGS="$ac_save_CFLAGS"
20528 LIBS="$ac_save_LIBS"
20540 if test -z "$wx_cv_lib_gtk"; then
20542 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20543 if test "${with_gtk_prefix+set}" = set; then
20544 withval="$with_gtk_prefix"
20545 gtk_config_prefix="$withval"
20547 gtk_config_prefix=""
20550 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20551 if test "${with_gtk_exec_prefix+set}" = set; then
20552 withval="$with_gtk_exec_prefix"
20553 gtk_config_exec_prefix="$withval"
20555 gtk_config_exec_prefix=""
20557 # Check whether --enable-gtktest or --disable-gtktest was given.
20558 if test "${enable_gtktest+set}" = set; then
20559 enableval="$enable_gtktest"
20565 for module in . $GTK_MODULES
20569 gtk_config_args="$gtk_config_args gthread"
20574 if test x$gtk_config_exec_prefix != x ; then
20575 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20576 if test x${GTK_CONFIG+set} != xset ; then
20577 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20580 if test x$gtk_config_prefix != x ; then
20581 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20582 if test x${GTK_CONFIG+set} != xset ; then
20583 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20587 # Extract the first word of "gtk-config", so it can be a program name with args.
20588 set dummy gtk-config; ac_word=$2
20589 echo "$as_me:$LINENO: checking for $ac_word" >&5
20590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20591 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20592 echo $ECHO_N "(cached) $ECHO_C" >&6
20594 case $GTK_CONFIG in
20596 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20600 for as_dir in $PATH
20603 test -z "$as_dir" && as_dir=.
20604 for ac_exec_ext in '' $ac_executable_extensions; do
20605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20606 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20613 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20617 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20619 if test -n "$GTK_CONFIG"; then
20620 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20621 echo "${ECHO_T}$GTK_CONFIG" >&6
20623 echo "$as_me:$LINENO: result: no" >&5
20624 echo "${ECHO_T}no" >&6
20627 min_gtk_version=1.2.3
20628 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20629 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20631 if test "$GTK_CONFIG" = "no" ; then
20634 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20635 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20636 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20637 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20638 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20640 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20641 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20642 if test "x$enable_gtktest" = "xyes" ; then
20643 ac_save_CFLAGS="$CFLAGS"
20644 ac_save_LIBS="$LIBS"
20645 CFLAGS="$CFLAGS $GTK_CFLAGS"
20646 LIBS="$GTK_LIBS $LIBS"
20648 if test "$cross_compiling" = yes; then
20649 echo $ac_n "cross compiling; assumed OK... $ac_c"
20651 cat >conftest.$ac_ext <<_ACEOF
20652 #line $LINENO "configure"
20655 cat confdefs.h >>conftest.$ac_ext
20656 cat >>conftest.$ac_ext <<_ACEOF
20657 /* end confdefs.h. */
20659 #include <gtk/gtk.h>
20661 #include <stdlib.h>
20666 int major, minor, micro;
20669 system ("touch conf.gtktest");
20671 /* HP/UX 9 (%@#!) writes to sscanf strings */
20672 tmp_version = g_strdup("$min_gtk_version");
20673 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20674 printf("%s, bad version string\n", "$min_gtk_version");
20678 if ((gtk_major_version != $gtk_config_major_version) ||
20679 (gtk_minor_version != $gtk_config_minor_version) ||
20680 (gtk_micro_version != $gtk_config_micro_version))
20682 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20683 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20684 gtk_major_version, gtk_minor_version, gtk_micro_version);
20685 printf ("*** was found! If gtk-config was correct, then it is best\n");
20686 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20687 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20688 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20689 printf("*** required on your system.\n");
20690 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20691 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20692 printf("*** before re-running configure\n");
20694 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20695 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20696 (gtk_minor_version != GTK_MINOR_VERSION) ||
20697 (gtk_micro_version != GTK_MICRO_VERSION))
20699 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20700 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20701 printf("*** library (version %d.%d.%d)\n",
20702 gtk_major_version, gtk_minor_version, gtk_micro_version);
20704 #endif /* defined (GTK_MAJOR_VERSION) ... */
20707 if ((gtk_major_version > major) ||
20708 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20709 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20715 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20716 gtk_major_version, gtk_minor_version, gtk_micro_version);
20717 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20718 major, minor, micro);
20719 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20721 printf("*** If you have already installed a sufficiently new version, this error\n");
20722 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20723 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20724 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20725 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20726 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20727 printf("*** so that the correct libraries are found at run-time))\n");
20734 rm -f conftest$ac_exeext
20735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20736 (eval $ac_link) 2>&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20741 (eval $ac_try) 2>&5
20743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20744 (exit $ac_status); }; }; then
20747 echo "$as_me: program exited with status $ac_status" >&5
20748 echo "$as_me: failed program was:" >&5
20749 sed 's/^/| /' conftest.$ac_ext >&5
20751 ( exit $ac_status )
20754 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20756 CFLAGS="$ac_save_CFLAGS"
20757 LIBS="$ac_save_LIBS"
20760 if test "x$no_gtk" = x ; then
20761 echo "$as_me:$LINENO: result: yes" >&5
20762 echo "${ECHO_T}yes" >&6
20763 wx_cv_lib_gtk=1.2.3
20765 echo "$as_me:$LINENO: result: no" >&5
20766 echo "${ECHO_T}no" >&6
20767 if test "$GTK_CONFIG" = "no" ; then
20768 echo "*** The gtk-config script installed by GTK could not be found"
20769 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20770 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20771 echo "*** full path to gtk-config."
20773 if test -f conf.gtktest ; then
20776 echo "*** Could not run GTK test program, checking why..."
20777 CFLAGS="$CFLAGS $GTK_CFLAGS"
20778 LIBS="$LIBS $GTK_LIBS"
20779 cat >conftest.$ac_ext <<_ACEOF
20780 #line $LINENO "configure"
20783 cat confdefs.h >>conftest.$ac_ext
20784 cat >>conftest.$ac_ext <<_ACEOF
20785 /* end confdefs.h. */
20787 #include <gtk/gtk.h>
20793 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20798 rm -f conftest.$ac_objext conftest$ac_exeext
20799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20800 (eval $ac_link) 2>&5
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); } &&
20804 { ac_try='test -s conftest$ac_exeext'
20805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20806 (eval $ac_try) 2>&5
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); }; }; then
20810 echo "*** The test program compiled, but did not run. This usually means"
20811 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20812 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20813 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20814 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20815 echo "*** is required on your system"
20817 echo "*** If you have an old version installed, it is best to remove it, although"
20818 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20820 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20821 echo "*** came with the system with the command"
20823 echo "*** rpm --erase --nodeps gtk gtk-devel"
20825 echo "$as_me: failed program was:" >&5
20826 sed 's/^/| /' conftest.$ac_ext >&5
20828 echo "*** The test program failed to compile or link. See the file config.log for the"
20829 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20830 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20831 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20833 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20834 CFLAGS="$ac_save_CFLAGS"
20835 LIBS="$ac_save_LIBS"
20849 if test -z "$wx_cv_lib_gtk"; then
20852 wx_cv_cflags_gtk=$GTK_CFLAGS
20853 wx_cv_libs_gtk=$GTK_LIBS
20860 if test "$gtk_version_cached" = 1; then
20861 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20862 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20865 case "$wx_cv_lib_gtk" in
20874 *) { { echo "$as_me:$LINENO: error:
20875 Please check that gtk-config is in path, the directory
20876 where GTK+ libraries are installed (returned by
20877 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20878 equivalent variable and GTK+ is version 1.2.3 or above.
20880 echo "$as_me: error:
20881 Please check that gtk-config is in path, the directory
20882 where GTK+ libraries are installed (returned by
20883 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20884 equivalent variable and GTK+ is version 1.2.3 or above.
20886 { (exit 1); exit 1; }; }
20890 if test "$WXGTK20" = 1; then
20891 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20895 if test -z "$PKG_CONFIG"; then
20896 # Extract the first word of "pkg-config", so it can be a program name with args.
20897 set dummy pkg-config; ac_word=$2
20898 echo "$as_me:$LINENO: checking for $ac_word" >&5
20899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20900 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20901 echo $ECHO_N "(cached) $ECHO_C" >&6
20903 case $PKG_CONFIG in
20905 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20909 for as_dir in $PATH
20912 test -z "$as_dir" && as_dir=.
20913 for ac_exec_ext in '' $ac_executable_extensions; do
20914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20915 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20922 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20926 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20928 if test -n "$PKG_CONFIG"; then
20929 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20930 echo "${ECHO_T}$PKG_CONFIG" >&6
20932 echo "$as_me:$LINENO: result: no" >&5
20933 echo "${ECHO_T}no" >&6
20938 if test "$PKG_CONFIG" = "no" ; then
20939 echo "*** The pkg-config script could not be found. Make sure it is"
20940 echo "*** in your path, or set the PKG_CONFIG environment variable"
20941 echo "*** to the full path to pkg-config."
20942 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20944 PKG_CONFIG_MIN_VERSION=0.9.0
20945 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20946 echo "$as_me:$LINENO: checking for pangoft2" >&5
20947 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20949 if $PKG_CONFIG --exists "pangoft2" ; then
20950 echo "$as_me:$LINENO: result: yes" >&5
20951 echo "${ECHO_T}yes" >&6
20954 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20955 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20956 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20957 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20958 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20960 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20961 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20962 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20963 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20964 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20968 ## If we have a custom action on failure, don't print errors, but
20969 ## do set a variable so people can do so.
20970 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20977 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20978 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20982 if test $succeeded = yes; then
20984 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20985 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20989 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20990 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20991 wxUSE_PRINTING_ARCHITECTURE="no"
20998 if test "$wxUSE_UNICODE" = "yes"; then
20999 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21000 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21005 if test "$USE_DARWIN" != 1; then
21007 for ac_func in poll
21009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21010 echo "$as_me:$LINENO: checking for $ac_func" >&5
21011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21012 if eval "test \"\${$as_ac_var+set}\" = set"; then
21013 echo $ECHO_N "(cached) $ECHO_C" >&6
21015 cat >conftest.$ac_ext <<_ACEOF
21016 #line $LINENO "configure"
21019 cat confdefs.h >>conftest.$ac_ext
21020 cat >>conftest.$ac_ext <<_ACEOF
21021 /* end confdefs.h. */
21022 /* System header to define __stub macros and hopefully few prototypes,
21023 which can conflict with char $ac_func (); below.
21024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21025 <limits.h> exists even on freestanding compilers. */
21027 # include <limits.h>
21029 # include <assert.h>
21031 /* Override any gcc2 internal prototype to avoid an error. */
21036 /* We use char because int might match the return type of a gcc2
21037 builtin and then its argument prototype would still apply. */
21039 /* The GNU C library defines this for functions which it implements
21040 to always fail with ENOSYS. Some functions are actually named
21041 something starting with __ and the normal name is an alias. */
21042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21045 char (*f) () = $ac_func;
21054 return f != $ac_func;
21059 rm -f conftest.$ac_objext conftest$ac_exeext
21060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21061 (eval $ac_link) 2>&5
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); } &&
21065 { ac_try='test -s conftest$ac_exeext'
21066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21067 (eval $ac_try) 2>&5
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); }; }; then
21071 eval "$as_ac_var=yes"
21073 echo "$as_me: failed program was:" >&5
21074 sed 's/^/| /' conftest.$ac_ext >&5
21076 eval "$as_ac_var=no"
21078 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21082 if test `eval echo '${'$as_ac_var'}'` = yes; then
21083 cat >>confdefs.h <<_ACEOF
21084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21092 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21093 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21095 AFMINSTALL=afminstall
21099 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21100 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21101 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21102 echo $ECHO_N "(cached) $ECHO_C" >&6
21104 ac_check_lib_save_LIBS=$LIBS
21106 cat >conftest.$ac_ext <<_ACEOF
21107 #line $LINENO "configure"
21110 cat confdefs.h >>conftest.$ac_ext
21111 cat >>conftest.$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21114 /* Override any gcc2 internal prototype to avoid an error. */
21118 /* We use char because int might match the return type of a gcc2
21119 builtin and then its argument prototype would still apply. */
21120 char gdk_im_open ();
21129 rm -f conftest.$ac_objext conftest$ac_exeext
21130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21131 (eval $ac_link) 2>&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); } &&
21135 { ac_try='test -s conftest$ac_exeext'
21136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21137 (eval $ac_try) 2>&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); }; }; then
21141 ac_cv_lib_gdk_gdk_im_open=yes
21143 echo "$as_me: failed program was:" >&5
21144 sed 's/^/| /' conftest.$ac_ext >&5
21146 ac_cv_lib_gdk_gdk_im_open=no
21148 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21149 LIBS=$ac_check_lib_save_LIBS
21151 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21152 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21153 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21154 cat >>confdefs.h <<\_ACEOF
21162 if test "$wxUSE_MGL" = 1; then
21163 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21164 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21165 if test "x$MGL_ROOT" = x ; then
21166 echo "$as_me:$LINENO: result: not found" >&5
21167 echo "${ECHO_T}not found" >&6
21168 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21169 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21170 { (exit 1); exit 1; }; }
21172 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21173 echo "${ECHO_T}$MGL_ROOT" >&6
21176 echo "$as_me:$LINENO: checking for libmgl location" >&5
21177 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21180 if test "x$wxUSE_SHARED" = xyes ; then
21181 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
21183 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
21187 mgl_os_candidates="dos32/dj2"
21190 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21191 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21192 { (exit 1); exit 1; }; }
21198 for mgl_os_i in $mgl_os_candidates ; do
21199 if test "x$mgl_os" = x ; then
21200 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21201 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21202 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21207 if test "x$mgl_lib_type" = x ; then
21208 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21209 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21210 mgl_lib_type=release
21217 if test "x$mgl_os" = x ; then
21218 echo "$as_me:$LINENO: result: not found" >&5
21219 echo "${ECHO_T}not found" >&6
21220 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21221 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21222 { (exit 1); exit 1; }; }
21224 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21225 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21227 wxUSE_UNIVERSAL="yes"
21229 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21230 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21232 AFMINSTALL=afminstall
21237 if test "$wxUSE_MICROWIN" = 1; then
21238 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21239 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21240 if test "x$MICROWINDOWS" = x ; then
21241 echo "$as_me:$LINENO: result: not found" >&5
21242 echo "${ECHO_T}not found" >&6
21243 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21244 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21245 { (exit 1); exit 1; }; }
21247 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21248 echo "${ECHO_T}$MICROWINDOWS" >&6
21251 if test -f $MICROWINDOWS/lib/libmwin.a; then
21252 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21253 echo "${ECHO_T}MicroWindows' libraries found." >&6
21255 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21256 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21257 { (exit 1); exit 1; }; }
21260 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21261 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21263 wxUSE_UNIVERSAL="yes"
21265 AFMINSTALL=afminstall
21267 GUIDIST=MICROWIN_DIST
21269 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21272 if test "$wxUSE_X11" = 1; then
21273 echo "$as_me:$LINENO: checking for X" >&5
21274 echo $ECHO_N "checking for X... $ECHO_C" >&6
21277 # Check whether --with-x or --without-x was given.
21278 if test "${with_x+set}" = set; then
21282 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21283 if test "x$with_x" = xno; then
21284 # The user explicitly disabled X.
21287 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21288 # Both variables are already set.
21291 if test "${ac_cv_have_x+set}" = set; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 # One or both of the vars are not set, and there is no cached value.
21295 ac_x_includes=no ac_x_libraries=no
21296 rm -fr conftest.dir
21297 if mkdir conftest.dir; then
21299 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21300 cat >Imakefile <<'_ACEOF'
21302 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21304 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21305 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21306 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21307 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21308 for ac_extension in a so sl; do
21309 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21310 test -f $ac_im_libdir/libX11.$ac_extension; then
21311 ac_im_usrlibdir=$ac_im_libdir; break
21314 # Screen out bogus values from the imake configuration. They are
21315 # bogus both because they are the default anyway, and because
21316 # using them would break gcc on systems where it needs fixed includes.
21317 case $ac_im_incroot in
21319 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21321 case $ac_im_usrlibdir in
21322 /usr/lib | /lib) ;;
21323 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21327 rm -fr conftest.dir
21330 # Standard set of common directories for X headers.
21331 # Check X11 before X11Rn because it is often a symlink to the current release.
21343 /usr/local/X11/include
21344 /usr/local/X11R6/include
21345 /usr/local/X11R5/include
21346 /usr/local/X11R4/include
21348 /usr/local/include/X11
21349 /usr/local/include/X11R6
21350 /usr/local/include/X11R5
21351 /usr/local/include/X11R4
21355 /usr/XFree86/include/X11
21359 /usr/unsupported/include
21360 /usr/athena/include
21361 /usr/local/x11r5/include
21362 /usr/lpp/Xamples/include
21364 /usr/openwin/include
21365 /usr/openwin/share/include'
21367 if test "$ac_x_includes" = no; then
21368 # Guess where to find include files, by looking for Intrinsic.h.
21369 # First, try using that file with no special directory specified.
21370 cat >conftest.$ac_ext <<_ACEOF
21371 #line $LINENO "configure"
21374 cat confdefs.h >>conftest.$ac_ext
21375 cat >>conftest.$ac_ext <<_ACEOF
21376 /* end confdefs.h. */
21377 #include <X11/Intrinsic.h>
21379 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21380 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21382 grep -v '^ *+' conftest.er1 >conftest.err
21384 cat conftest.err >&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); } >/dev/null; then
21387 if test -s conftest.err; then
21388 ac_cpp_err=$ac_c_preproc_warn_flag
21395 if test -z "$ac_cpp_err"; then
21396 # We can compile using X headers with no special include directory.
21399 echo "$as_me: failed program was:" >&5
21400 sed 's/^/| /' conftest.$ac_ext >&5
21402 for ac_dir in $ac_x_header_dirs; do
21403 if test -r "$ac_dir/X11/Intrinsic.h"; then
21404 ac_x_includes=$ac_dir
21409 rm -f conftest.err conftest.$ac_ext
21410 fi # $ac_x_includes = no
21412 if test "$ac_x_libraries" = no; then
21413 # Check for the libraries.
21414 # See if we find them without any special options.
21415 # Don't add to $LIBS permanently.
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. */
21425 #include <X11/Intrinsic.h>
21434 rm -f conftest.$ac_objext conftest$ac_exeext
21435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21436 (eval $ac_link) 2>&5
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); } &&
21440 { ac_try='test -s conftest$ac_exeext'
21441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21442 (eval $ac_try) 2>&5
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); }; }; then
21447 # We can link X programs with no special library path.
21450 echo "$as_me: failed program was:" >&5
21451 sed 's/^/| /' conftest.$ac_ext >&5
21454 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21456 # Don't even attempt the hair of trying to link an X program!
21457 for ac_extension in a so sl; do
21458 if test -r $ac_dir/libXt.$ac_extension; then
21459 ac_x_libraries=$ac_dir
21465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21466 fi # $ac_x_libraries = no
21468 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21469 # Didn't find X anywhere. Cache the known absence of X.
21470 ac_cv_have_x="have_x=no"
21472 # Record where we found X for the cache.
21473 ac_cv_have_x="have_x=yes \
21474 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21479 eval "$ac_cv_have_x"
21482 if test "$have_x" != yes; then
21483 echo "$as_me:$LINENO: result: $have_x" >&5
21484 echo "${ECHO_T}$have_x" >&6
21487 # If each of the values was on the command line, it overrides each guess.
21488 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21489 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21490 # Update the cache value to reflect the command line values.
21491 ac_cv_have_x="have_x=yes \
21492 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21493 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21494 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21497 if test "$no_x" = yes; then
21498 # Not all programs may use this symbol, but it does not hurt to define it.
21500 cat >>confdefs.h <<\_ACEOF
21501 #define X_DISPLAY_MISSING 1
21504 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21506 if test -n "$x_includes"; then
21507 X_CFLAGS="$X_CFLAGS -I$x_includes"
21510 # It would also be nice to do this for all -L options, not just this one.
21511 if test -n "$x_libraries"; then
21512 X_LIBS="$X_LIBS -L$x_libraries"
21513 # For Solaris; some versions of Sun CC require a space after -R and
21514 # others require no space. Words are not sufficient . . . .
21515 case `(uname -sr) 2>/dev/null` in
21517 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21518 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21519 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21520 cat >conftest.$ac_ext <<_ACEOF
21521 #line $LINENO "configure"
21524 cat confdefs.h >>conftest.$ac_ext
21525 cat >>conftest.$ac_ext <<_ACEOF
21526 /* end confdefs.h. */
21536 rm -f conftest.$ac_objext conftest$ac_exeext
21537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21538 (eval $ac_link) 2>&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); } &&
21542 { ac_try='test -s conftest$ac_exeext'
21543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21544 (eval $ac_try) 2>&5
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); }; }; then
21550 echo "$as_me: failed program was:" >&5
21551 sed 's/^/| /' conftest.$ac_ext >&5
21555 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21556 if test $ac_R_nospace = yes; then
21557 echo "$as_me:$LINENO: result: no" >&5
21558 echo "${ECHO_T}no" >&6
21559 X_LIBS="$X_LIBS -R$x_libraries"
21561 LIBS="$ac_xsave_LIBS -R $x_libraries"
21562 cat >conftest.$ac_ext <<_ACEOF
21563 #line $LINENO "configure"
21566 cat confdefs.h >>conftest.$ac_ext
21567 cat >>conftest.$ac_ext <<_ACEOF
21568 /* end confdefs.h. */
21578 rm -f conftest.$ac_objext conftest$ac_exeext
21579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21580 (eval $ac_link) 2>&5
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); } &&
21584 { ac_try='test -s conftest$ac_exeext'
21585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21586 (eval $ac_try) 2>&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); }; }; then
21592 echo "$as_me: failed program was:" >&5
21593 sed 's/^/| /' conftest.$ac_ext >&5
21597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21598 if test $ac_R_space = yes; then
21599 echo "$as_me:$LINENO: result: yes" >&5
21600 echo "${ECHO_T}yes" >&6
21601 X_LIBS="$X_LIBS -R $x_libraries"
21603 echo "$as_me:$LINENO: result: neither works" >&5
21604 echo "${ECHO_T}neither works" >&6
21607 LIBS=$ac_xsave_LIBS
21611 # Check for system-dependent libraries X programs must link with.
21612 # Do this before checking for the system-independent R6 libraries
21613 # (-lICE), since we may need -lsocket or whatever for X linking.
21615 if test "$ISC" = yes; then
21616 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21618 # Martyn Johnson says this is needed for Ultrix, if the X
21619 # libraries were built with DECnet support. And Karl Berry says
21620 # the Alpha needs dnet_stub (dnet does not exist).
21621 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21622 cat >conftest.$ac_ext <<_ACEOF
21623 #line $LINENO "configure"
21626 cat confdefs.h >>conftest.$ac_ext
21627 cat >>conftest.$ac_ext <<_ACEOF
21628 /* end confdefs.h. */
21630 /* Override any gcc2 internal prototype to avoid an error. */
21634 /* We use char because int might match the return type of a gcc2
21635 builtin and then its argument prototype would still apply. */
21636 char XOpenDisplay ();
21645 rm -f conftest.$ac_objext conftest$ac_exeext
21646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21647 (eval $ac_link) 2>&5
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); } &&
21651 { ac_try='test -s conftest$ac_exeext'
21652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21653 (eval $ac_try) 2>&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); }; }; then
21659 echo "$as_me: failed program was:" >&5
21660 sed 's/^/| /' conftest.$ac_ext >&5
21662 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21663 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21664 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21665 echo $ECHO_N "(cached) $ECHO_C" >&6
21667 ac_check_lib_save_LIBS=$LIBS
21668 LIBS="-ldnet $LIBS"
21669 cat >conftest.$ac_ext <<_ACEOF
21670 #line $LINENO "configure"
21673 cat confdefs.h >>conftest.$ac_ext
21674 cat >>conftest.$ac_ext <<_ACEOF
21675 /* end confdefs.h. */
21677 /* Override any gcc2 internal prototype to avoid an error. */
21681 /* We use char because int might match the return type of a gcc2
21682 builtin and then its argument prototype would still apply. */
21692 rm -f conftest.$ac_objext conftest$ac_exeext
21693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21694 (eval $ac_link) 2>&5
21696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21697 (exit $ac_status); } &&
21698 { ac_try='test -s conftest$ac_exeext'
21699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21700 (eval $ac_try) 2>&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); }; }; then
21704 ac_cv_lib_dnet_dnet_ntoa=yes
21706 echo "$as_me: failed program was:" >&5
21707 sed 's/^/| /' conftest.$ac_ext >&5
21709 ac_cv_lib_dnet_dnet_ntoa=no
21711 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21712 LIBS=$ac_check_lib_save_LIBS
21714 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21715 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21716 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21717 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21720 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21721 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21722 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21723 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21724 echo $ECHO_N "(cached) $ECHO_C" >&6
21726 ac_check_lib_save_LIBS=$LIBS
21727 LIBS="-ldnet_stub $LIBS"
21728 cat >conftest.$ac_ext <<_ACEOF
21729 #line $LINENO "configure"
21732 cat confdefs.h >>conftest.$ac_ext
21733 cat >>conftest.$ac_ext <<_ACEOF
21734 /* end confdefs.h. */
21736 /* Override any gcc2 internal prototype to avoid an error. */
21740 /* We use char because int might match the return type of a gcc2
21741 builtin and then its argument prototype would still apply. */
21751 rm -f conftest.$ac_objext conftest$ac_exeext
21752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21753 (eval $ac_link) 2>&5
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); } &&
21757 { ac_try='test -s conftest$ac_exeext'
21758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21759 (eval $ac_try) 2>&5
21761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762 (exit $ac_status); }; }; then
21763 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21765 echo "$as_me: failed program was:" >&5
21766 sed 's/^/| /' conftest.$ac_ext >&5
21768 ac_cv_lib_dnet_stub_dnet_ntoa=no
21770 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21771 LIBS=$ac_check_lib_save_LIBS
21773 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21774 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21775 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21776 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21782 LIBS="$ac_xsave_LIBS"
21784 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21785 # to get the SysV transport functions.
21786 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21788 # The nsl library prevents programs from opening the X display
21789 # on Irix 5.2, according to T.E. Dickey.
21790 # The functions gethostbyname, getservbyname, and inet_addr are
21791 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21792 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21793 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21794 if test "${ac_cv_func_gethostbyname+set}" = set; then
21795 echo $ECHO_N "(cached) $ECHO_C" >&6
21797 cat >conftest.$ac_ext <<_ACEOF
21798 #line $LINENO "configure"
21801 cat confdefs.h >>conftest.$ac_ext
21802 cat >>conftest.$ac_ext <<_ACEOF
21803 /* end confdefs.h. */
21804 /* System header to define __stub macros and hopefully few prototypes,
21805 which can conflict with char gethostbyname (); below.
21806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21807 <limits.h> exists even on freestanding compilers. */
21809 # include <limits.h>
21811 # include <assert.h>
21813 /* Override any gcc2 internal prototype to avoid an error. */
21818 /* We use char because int might match the return type of a gcc2
21819 builtin and then its argument prototype would still apply. */
21820 char gethostbyname ();
21821 /* The GNU C library defines this for functions which it implements
21822 to always fail with ENOSYS. Some functions are actually named
21823 something starting with __ and the normal name is an alias. */
21824 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21827 char (*f) () = gethostbyname;
21836 return f != gethostbyname;
21841 rm -f conftest.$ac_objext conftest$ac_exeext
21842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21843 (eval $ac_link) 2>&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } &&
21847 { ac_try='test -s conftest$ac_exeext'
21848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21849 (eval $ac_try) 2>&5
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); }; }; then
21853 ac_cv_func_gethostbyname=yes
21855 echo "$as_me: failed program was:" >&5
21856 sed 's/^/| /' conftest.$ac_ext >&5
21858 ac_cv_func_gethostbyname=no
21860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21862 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21863 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21865 if test $ac_cv_func_gethostbyname = no; then
21866 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21867 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21868 if test "${ac_cv_lib_nsl_gethostbyname+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 gethostbyname ();
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_nsl_gethostbyname=yes
21910 echo "$as_me: failed program was:" >&5
21911 sed 's/^/| /' conftest.$ac_ext >&5
21913 ac_cv_lib_nsl_gethostbyname=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_nsl_gethostbyname" >&5
21919 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21920 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21921 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21924 if test $ac_cv_lib_nsl_gethostbyname = no; then
21925 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21926 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21927 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21928 echo $ECHO_N "(cached) $ECHO_C" >&6
21930 ac_check_lib_save_LIBS=$LIBS
21932 cat >conftest.$ac_ext <<_ACEOF
21933 #line $LINENO "configure"
21936 cat confdefs.h >>conftest.$ac_ext
21937 cat >>conftest.$ac_ext <<_ACEOF
21938 /* end confdefs.h. */
21940 /* Override any gcc2 internal prototype to avoid an error. */
21944 /* We use char because int might match the return type of a gcc2
21945 builtin and then its argument prototype would still apply. */
21946 char gethostbyname ();
21955 rm -f conftest.$ac_objext conftest$ac_exeext
21956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21957 (eval $ac_link) 2>&5
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); } &&
21961 { ac_try='test -s conftest$ac_exeext'
21962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963 (eval $ac_try) 2>&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); }; }; then
21967 ac_cv_lib_bsd_gethostbyname=yes
21969 echo "$as_me: failed program was:" >&5
21970 sed 's/^/| /' conftest.$ac_ext >&5
21972 ac_cv_lib_bsd_gethostbyname=no
21974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21975 LIBS=$ac_check_lib_save_LIBS
21977 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21978 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21979 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21980 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21986 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21987 # socket/setsockopt and other routines are undefined under SCO ODT
21988 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21989 # on later versions), says Simon Leinen: it contains gethostby*
21990 # variants that don't use the name server (or something). -lsocket
21991 # must be given before -lnsl if both are needed. We assume that
21992 # if connect needs -lnsl, so does gethostbyname.
21993 echo "$as_me:$LINENO: checking for connect" >&5
21994 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21995 if test "${ac_cv_func_connect+set}" = set; then
21996 echo $ECHO_N "(cached) $ECHO_C" >&6
21998 cat >conftest.$ac_ext <<_ACEOF
21999 #line $LINENO "configure"
22002 cat confdefs.h >>conftest.$ac_ext
22003 cat >>conftest.$ac_ext <<_ACEOF
22004 /* end confdefs.h. */
22005 /* System header to define __stub macros and hopefully few prototypes,
22006 which can conflict with char connect (); below.
22007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22008 <limits.h> exists even on freestanding compilers. */
22010 # include <limits.h>
22012 # include <assert.h>
22014 /* Override any gcc2 internal prototype to avoid an error. */
22019 /* We use char because int might match the return type of a gcc2
22020 builtin and then its argument prototype would still apply. */
22022 /* The GNU C library defines this for functions which it implements
22023 to always fail with ENOSYS. Some functions are actually named
22024 something starting with __ and the normal name is an alias. */
22025 #if defined (__stub_connect) || defined (__stub___connect)
22028 char (*f) () = connect;
22037 return f != connect;
22042 rm -f conftest.$ac_objext conftest$ac_exeext
22043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22044 (eval $ac_link) 2>&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } &&
22048 { ac_try='test -s conftest$ac_exeext'
22049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22050 (eval $ac_try) 2>&5
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); }; }; then
22054 ac_cv_func_connect=yes
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.$ac_ext >&5
22059 ac_cv_func_connect=no
22061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22063 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22064 echo "${ECHO_T}$ac_cv_func_connect" >&6
22066 if test $ac_cv_func_connect = no; then
22067 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22068 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22069 if test "${ac_cv_lib_socket_connect+set}" = set; then
22070 echo $ECHO_N "(cached) $ECHO_C" >&6
22072 ac_check_lib_save_LIBS=$LIBS
22073 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22074 cat >conftest.$ac_ext <<_ACEOF
22075 #line $LINENO "configure"
22078 cat confdefs.h >>conftest.$ac_ext
22079 cat >>conftest.$ac_ext <<_ACEOF
22080 /* end confdefs.h. */
22082 /* Override any gcc2 internal prototype to avoid an error. */
22086 /* We use char because int might match the return type of a gcc2
22087 builtin and then its argument prototype would still apply. */
22097 rm -f conftest.$ac_objext conftest$ac_exeext
22098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22099 (eval $ac_link) 2>&5
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); } &&
22103 { ac_try='test -s conftest$ac_exeext'
22104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22105 (eval $ac_try) 2>&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); }; }; then
22109 ac_cv_lib_socket_connect=yes
22111 echo "$as_me: failed program was:" >&5
22112 sed 's/^/| /' conftest.$ac_ext >&5
22114 ac_cv_lib_socket_connect=no
22116 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22117 LIBS=$ac_check_lib_save_LIBS
22119 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22120 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22121 if test $ac_cv_lib_socket_connect = yes; then
22122 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22127 # Guillermo Gomez says -lposix is necessary on A/UX.
22128 echo "$as_me:$LINENO: checking for remove" >&5
22129 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22130 if test "${ac_cv_func_remove+set}" = set; then
22131 echo $ECHO_N "(cached) $ECHO_C" >&6
22133 cat >conftest.$ac_ext <<_ACEOF
22134 #line $LINENO "configure"
22137 cat confdefs.h >>conftest.$ac_ext
22138 cat >>conftest.$ac_ext <<_ACEOF
22139 /* end confdefs.h. */
22140 /* System header to define __stub macros and hopefully few prototypes,
22141 which can conflict with char remove (); below.
22142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22143 <limits.h> exists even on freestanding compilers. */
22145 # include <limits.h>
22147 # include <assert.h>
22149 /* Override any gcc2 internal prototype to avoid an error. */
22154 /* We use char because int might match the return type of a gcc2
22155 builtin and then its argument prototype would still apply. */
22157 /* The GNU C library defines this for functions which it implements
22158 to always fail with ENOSYS. Some functions are actually named
22159 something starting with __ and the normal name is an alias. */
22160 #if defined (__stub_remove) || defined (__stub___remove)
22163 char (*f) () = remove;
22172 return f != remove;
22177 rm -f conftest.$ac_objext conftest$ac_exeext
22178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22179 (eval $ac_link) 2>&5
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); } &&
22183 { ac_try='test -s conftest$ac_exeext'
22184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22185 (eval $ac_try) 2>&5
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); }; }; then
22189 ac_cv_func_remove=yes
22191 echo "$as_me: failed program was:" >&5
22192 sed 's/^/| /' conftest.$ac_ext >&5
22194 ac_cv_func_remove=no
22196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22198 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22199 echo "${ECHO_T}$ac_cv_func_remove" >&6
22201 if test $ac_cv_func_remove = no; then
22202 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22203 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22204 if test "${ac_cv_lib_posix_remove+set}" = set; then
22205 echo $ECHO_N "(cached) $ECHO_C" >&6
22207 ac_check_lib_save_LIBS=$LIBS
22208 LIBS="-lposix $LIBS"
22209 cat >conftest.$ac_ext <<_ACEOF
22210 #line $LINENO "configure"
22213 cat confdefs.h >>conftest.$ac_ext
22214 cat >>conftest.$ac_ext <<_ACEOF
22215 /* end confdefs.h. */
22217 /* Override any gcc2 internal prototype to avoid an error. */
22221 /* We use char because int might match the return type of a gcc2
22222 builtin and then its argument prototype would still apply. */
22232 rm -f conftest.$ac_objext conftest$ac_exeext
22233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22234 (eval $ac_link) 2>&5
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); } &&
22238 { ac_try='test -s conftest$ac_exeext'
22239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22240 (eval $ac_try) 2>&5
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); }; }; then
22244 ac_cv_lib_posix_remove=yes
22246 echo "$as_me: failed program was:" >&5
22247 sed 's/^/| /' conftest.$ac_ext >&5
22249 ac_cv_lib_posix_remove=no
22251 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22252 LIBS=$ac_check_lib_save_LIBS
22254 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22255 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22256 if test $ac_cv_lib_posix_remove = yes; then
22257 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22262 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22263 echo "$as_me:$LINENO: checking for shmat" >&5
22264 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22265 if test "${ac_cv_func_shmat+set}" = set; then
22266 echo $ECHO_N "(cached) $ECHO_C" >&6
22268 cat >conftest.$ac_ext <<_ACEOF
22269 #line $LINENO "configure"
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 /* System header to define __stub macros and hopefully few prototypes,
22276 which can conflict with char shmat (); below.
22277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22278 <limits.h> exists even on freestanding compilers. */
22280 # include <limits.h>
22282 # include <assert.h>
22284 /* Override any gcc2 internal prototype to avoid an error. */
22289 /* We use char because int might match the return type of a gcc2
22290 builtin and then its argument prototype would still apply. */
22292 /* The GNU C library defines this for functions which it implements
22293 to always fail with ENOSYS. Some functions are actually named
22294 something starting with __ and the normal name is an alias. */
22295 #if defined (__stub_shmat) || defined (__stub___shmat)
22298 char (*f) () = shmat;
22312 rm -f conftest.$ac_objext conftest$ac_exeext
22313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22314 (eval $ac_link) 2>&5
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); } &&
22318 { ac_try='test -s conftest$ac_exeext'
22319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22320 (eval $ac_try) 2>&5
22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323 (exit $ac_status); }; }; then
22324 ac_cv_func_shmat=yes
22326 echo "$as_me: failed program was:" >&5
22327 sed 's/^/| /' conftest.$ac_ext >&5
22329 ac_cv_func_shmat=no
22331 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22333 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22334 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22336 if test $ac_cv_func_shmat = no; then
22337 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22338 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22339 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22340 echo $ECHO_N "(cached) $ECHO_C" >&6
22342 ac_check_lib_save_LIBS=$LIBS
22344 cat >conftest.$ac_ext <<_ACEOF
22345 #line $LINENO "configure"
22348 cat confdefs.h >>conftest.$ac_ext
22349 cat >>conftest.$ac_ext <<_ACEOF
22350 /* end confdefs.h. */
22352 /* Override any gcc2 internal prototype to avoid an error. */
22356 /* We use char because int might match the return type of a gcc2
22357 builtin and then its argument prototype would still apply. */
22367 rm -f conftest.$ac_objext conftest$ac_exeext
22368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22369 (eval $ac_link) 2>&5
22371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22372 (exit $ac_status); } &&
22373 { ac_try='test -s conftest$ac_exeext'
22374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22375 (eval $ac_try) 2>&5
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); }; }; then
22379 ac_cv_lib_ipc_shmat=yes
22381 echo "$as_me: failed program was:" >&5
22382 sed 's/^/| /' conftest.$ac_ext >&5
22384 ac_cv_lib_ipc_shmat=no
22386 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22387 LIBS=$ac_check_lib_save_LIBS
22389 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22390 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22391 if test $ac_cv_lib_ipc_shmat = yes; then
22392 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22398 # Check for libraries that X11R6 Xt/Xaw programs need.
22399 ac_save_LDFLAGS=$LDFLAGS
22400 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22401 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22402 # check for ICE first), but we must link in the order -lSM -lICE or
22403 # we get undefined symbols. So assume we have SM if we have ICE.
22404 # These have to be linked with before -lX11, unlike the other
22405 # libraries we check for below, so use a different variable.
22406 # John Interrante, Karl Berry
22407 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22408 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22409 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22410 echo $ECHO_N "(cached) $ECHO_C" >&6
22412 ac_check_lib_save_LIBS=$LIBS
22413 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22414 cat >conftest.$ac_ext <<_ACEOF
22415 #line $LINENO "configure"
22418 cat confdefs.h >>conftest.$ac_ext
22419 cat >>conftest.$ac_ext <<_ACEOF
22420 /* end confdefs.h. */
22422 /* Override any gcc2 internal prototype to avoid an error. */
22426 /* We use char because int might match the return type of a gcc2
22427 builtin and then its argument prototype would still apply. */
22428 char IceConnectionNumber ();
22432 IceConnectionNumber ();
22437 rm -f conftest.$ac_objext conftest$ac_exeext
22438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22439 (eval $ac_link) 2>&5
22441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442 (exit $ac_status); } &&
22443 { ac_try='test -s conftest$ac_exeext'
22444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22445 (eval $ac_try) 2>&5
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); }; }; then
22449 ac_cv_lib_ICE_IceConnectionNumber=yes
22451 echo "$as_me: failed program was:" >&5
22452 sed 's/^/| /' conftest.$ac_ext >&5
22454 ac_cv_lib_ICE_IceConnectionNumber=no
22456 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22457 LIBS=$ac_check_lib_save_LIBS
22459 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22460 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22461 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22462 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22465 LDFLAGS=$ac_save_LDFLAGS
22470 if test "$no_x" = "yes"; then
22471 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22472 echo "$as_me: error: X11 not found" >&2;}
22473 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22476 GUI_TK_LIBRARY="$X_LIBS"
22477 TOOLKIT_INCLUDE="$X_CFLAGS"
22478 AFMINSTALL=afminstall
22479 COMPILED_X_PROGRAM=0
22481 if test "$wxUSE_NANOX" = "yes"; then
22482 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22483 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22484 if test "x$MICROWIN" = x ; then
22485 echo "$as_me:$LINENO: result: not found" >&5
22486 echo "${ECHO_T}not found" >&6
22487 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22488 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22489 { (exit 1); exit 1; }; }
22491 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22492 echo "${ECHO_T}$MICROWIN" >&6
22493 cat >>confdefs.h <<\_ACEOF
22494 #define wxUSE_NANOX 1
22501 echo "$as_me:$LINENO: checking for Xpm library" >&5
22502 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22505 for ac_dir in $SEARCH_LIB /usr/lib;
22507 for ac_extension in a so sl dylib; do
22508 if test -f "$ac_dir/libXpm.$ac_extension"; then
22509 ac_find_libraries=$ac_dir
22515 if test "$ac_find_libraries" != "" ; then
22517 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22519 if test $result = 0; then
22522 ac_path_to_link=" -L$ac_find_libraries"
22525 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22527 cat >>confdefs.h <<\_ACEOF
22528 #define wxHAVE_LIB_XPM 1
22531 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22532 echo "${ECHO_T}found at $ac_find_libraries" >&6
22534 cat >conftest.$ac_ext <<_ACEOF
22535 #line $LINENO "configure"
22538 cat confdefs.h >>conftest.$ac_ext
22539 cat >>conftest.$ac_ext <<_ACEOF
22540 /* end confdefs.h. */
22542 #include <X11/xpm.h>
22549 version = XpmLibraryVersion();
22555 rm -f conftest.$ac_objext
22556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22557 (eval $ac_compile) 2>&5
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); } &&
22561 { ac_try='test -s conftest.$ac_objext'
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
22569 cat >>confdefs.h <<\_ACEOF
22570 #define wxHAVE_LIB_XPM 1
22573 echo "$as_me:$LINENO: result: found in default search path" >&5
22574 echo "${ECHO_T}found in default search path" >&6
22575 COMPILED_X_PROGRAM=0
22578 echo "$as_me: failed program was:" >&5
22579 sed 's/^/| /' conftest.$ac_ext >&5
22582 echo "$as_me:$LINENO: result: no" >&5
22583 echo "${ECHO_T}no" >&6
22584 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22585 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22589 rm -f conftest.$ac_objext conftest.$ac_ext
22592 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22593 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22594 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22595 echo $ECHO_N "(cached) $ECHO_C" >&6
22597 ac_check_lib_save_LIBS=$LIBS
22598 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22599 cat >conftest.$ac_ext <<_ACEOF
22600 #line $LINENO "configure"
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22607 /* Override any gcc2 internal prototype to avoid an error. */
22611 /* We use char because int might match the return type of a gcc2
22612 builtin and then its argument prototype would still apply. */
22613 char XShapeQueryExtension ();
22617 XShapeQueryExtension ();
22622 rm -f conftest.$ac_objext conftest$ac_exeext
22623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22624 (eval $ac_link) 2>&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } &&
22628 { ac_try='test -s conftest$ac_exeext'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; }; then
22634 ac_cv_lib_Xext_XShapeQueryExtension=yes
22636 echo "$as_me: failed program was:" >&5
22637 sed 's/^/| /' conftest.$ac_ext >&5
22639 ac_cv_lib_Xext_XShapeQueryExtension=no
22641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22642 LIBS=$ac_check_lib_save_LIBS
22644 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22645 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22646 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22648 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22654 if test "$wxUSE_UNICODE" = "yes"; then
22658 if test -z "$PKG_CONFIG"; then
22659 # Extract the first word of "pkg-config", so it can be a program name with args.
22660 set dummy pkg-config; ac_word=$2
22661 echo "$as_me:$LINENO: checking for $ac_word" >&5
22662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22663 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22664 echo $ECHO_N "(cached) $ECHO_C" >&6
22666 case $PKG_CONFIG in
22668 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22672 for as_dir in $PATH
22675 test -z "$as_dir" && as_dir=.
22676 for ac_exec_ext in '' $ac_executable_extensions; do
22677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22678 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22685 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22689 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22691 if test -n "$PKG_CONFIG"; then
22692 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22693 echo "${ECHO_T}$PKG_CONFIG" >&6
22695 echo "$as_me:$LINENO: result: no" >&5
22696 echo "${ECHO_T}no" >&6
22701 if test "$PKG_CONFIG" = "no" ; then
22702 echo "*** The pkg-config script could not be found. Make sure it is"
22703 echo "*** in your path, or set the PKG_CONFIG environment variable"
22704 echo "*** to the full path to pkg-config."
22705 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22707 PKG_CONFIG_MIN_VERSION=0.9.0
22708 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22709 echo "$as_me:$LINENO: checking for pangox" >&5
22710 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22712 if $PKG_CONFIG --exists "pangox" ; then
22713 echo "$as_me:$LINENO: result: yes" >&5
22714 echo "${ECHO_T}yes" >&6
22717 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22718 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22719 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22720 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22721 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22723 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22724 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22725 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22726 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22727 echo "${ECHO_T}$PANGOX_LIBS" >&6
22731 ## If we have a custom action on failure, don't print errors, but
22732 ## do set a variable so people can do so.
22733 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22740 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22741 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22745 if test $succeeded = yes; then
22747 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22748 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22752 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22753 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22754 { (exit 1); exit 1; }; }
22762 if test -z "$PKG_CONFIG"; then
22763 # Extract the first word of "pkg-config", so it can be a program name with args.
22764 set dummy pkg-config; ac_word=$2
22765 echo "$as_me:$LINENO: checking for $ac_word" >&5
22766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22767 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22768 echo $ECHO_N "(cached) $ECHO_C" >&6
22770 case $PKG_CONFIG in
22772 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22776 for as_dir in $PATH
22779 test -z "$as_dir" && as_dir=.
22780 for ac_exec_ext in '' $ac_executable_extensions; do
22781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22782 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22789 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22793 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22795 if test -n "$PKG_CONFIG"; then
22796 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22797 echo "${ECHO_T}$PKG_CONFIG" >&6
22799 echo "$as_me:$LINENO: result: no" >&5
22800 echo "${ECHO_T}no" >&6
22805 if test "$PKG_CONFIG" = "no" ; then
22806 echo "*** The pkg-config script could not be found. Make sure it is"
22807 echo "*** in your path, or set the PKG_CONFIG environment variable"
22808 echo "*** to the full path to pkg-config."
22809 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22811 PKG_CONFIG_MIN_VERSION=0.9.0
22812 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22813 echo "$as_me:$LINENO: checking for pangoft2" >&5
22814 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22816 if $PKG_CONFIG --exists "pangoft2" ; then
22817 echo "$as_me:$LINENO: result: yes" >&5
22818 echo "${ECHO_T}yes" >&6
22821 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22822 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22823 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22824 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22825 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22827 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22828 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22829 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22830 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22831 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22835 ## If we have a custom action on failure, don't print errors, but
22836 ## do set a variable so people can do so.
22837 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22844 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22845 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22849 if test $succeeded = yes; then
22851 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22852 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22856 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22857 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22858 wxUSE_PRINTING_ARCHITECTURE="no"
22866 if test -z "$PKG_CONFIG"; then
22867 # Extract the first word of "pkg-config", so it can be a program name with args.
22868 set dummy pkg-config; ac_word=$2
22869 echo "$as_me:$LINENO: checking for $ac_word" >&5
22870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22871 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22872 echo $ECHO_N "(cached) $ECHO_C" >&6
22874 case $PKG_CONFIG in
22876 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22880 for as_dir in $PATH
22883 test -z "$as_dir" && as_dir=.
22884 for ac_exec_ext in '' $ac_executable_extensions; do
22885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22886 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22893 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22897 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22899 if test -n "$PKG_CONFIG"; then
22900 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22901 echo "${ECHO_T}$PKG_CONFIG" >&6
22903 echo "$as_me:$LINENO: result: no" >&5
22904 echo "${ECHO_T}no" >&6
22909 if test "$PKG_CONFIG" = "no" ; then
22910 echo "*** The pkg-config script could not be found. Make sure it is"
22911 echo "*** in your path, or set the PKG_CONFIG environment variable"
22912 echo "*** to the full path to pkg-config."
22913 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22915 PKG_CONFIG_MIN_VERSION=0.9.0
22916 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22917 echo "$as_me:$LINENO: checking for pangoxft" >&5
22918 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22920 if $PKG_CONFIG --exists "pangoxft" ; then
22921 echo "$as_me:$LINENO: result: yes" >&5
22922 echo "${ECHO_T}yes" >&6
22925 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22926 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22927 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22928 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22929 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22931 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22932 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22933 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22934 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22935 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22939 ## If we have a custom action on failure, don't print errors, but
22940 ## do set a variable so people can do so.
22941 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22948 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22949 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22953 if test $succeeded = yes; then
22955 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22956 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22960 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22961 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22968 wxUSE_UNIVERSAL="yes"
22970 if test "$wxUSE_NANOX" = "yes"; then
22971 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22972 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"
22973 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22975 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22978 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22983 if test "$wxUSE_MOTIF" = 1; then
22984 if test "$no_x" = yes; then
22985 # Not all programs may use this symbol, but it does not hurt to define it.
22987 cat >>confdefs.h <<\_ACEOF
22988 #define X_DISPLAY_MISSING 1
22991 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22993 if test -n "$x_includes"; then
22994 X_CFLAGS="$X_CFLAGS -I$x_includes"
22997 # It would also be nice to do this for all -L options, not just this one.
22998 if test -n "$x_libraries"; then
22999 X_LIBS="$X_LIBS -L$x_libraries"
23000 # For Solaris; some versions of Sun CC require a space after -R and
23001 # others require no space. Words are not sufficient . . . .
23002 case `(uname -sr) 2>/dev/null` in
23004 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23005 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23006 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23007 cat >conftest.$ac_ext <<_ACEOF
23008 #line $LINENO "configure"
23011 cat confdefs.h >>conftest.$ac_ext
23012 cat >>conftest.$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23023 rm -f conftest.$ac_objext conftest$ac_exeext
23024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23025 (eval $ac_link) 2>&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); } &&
23029 { ac_try='test -s conftest$ac_exeext'
23030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23031 (eval $ac_try) 2>&5
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); }; }; then
23037 echo "$as_me: failed program was:" >&5
23038 sed 's/^/| /' conftest.$ac_ext >&5
23042 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23043 if test $ac_R_nospace = yes; then
23044 echo "$as_me:$LINENO: result: no" >&5
23045 echo "${ECHO_T}no" >&6
23046 X_LIBS="$X_LIBS -R$x_libraries"
23048 LIBS="$ac_xsave_LIBS -R $x_libraries"
23049 cat >conftest.$ac_ext <<_ACEOF
23050 #line $LINENO "configure"
23053 cat confdefs.h >>conftest.$ac_ext
23054 cat >>conftest.$ac_ext <<_ACEOF
23055 /* end confdefs.h. */
23065 rm -f conftest.$ac_objext conftest$ac_exeext
23066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23067 (eval $ac_link) 2>&5
23069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23070 (exit $ac_status); } &&
23071 { ac_try='test -s conftest$ac_exeext'
23072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23073 (eval $ac_try) 2>&5
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); }; }; then
23079 echo "$as_me: failed program was:" >&5
23080 sed 's/^/| /' conftest.$ac_ext >&5
23084 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23085 if test $ac_R_space = yes; then
23086 echo "$as_me:$LINENO: result: yes" >&5
23087 echo "${ECHO_T}yes" >&6
23088 X_LIBS="$X_LIBS -R $x_libraries"
23090 echo "$as_me:$LINENO: result: neither works" >&5
23091 echo "${ECHO_T}neither works" >&6
23094 LIBS=$ac_xsave_LIBS
23098 # Check for system-dependent libraries X programs must link with.
23099 # Do this before checking for the system-independent R6 libraries
23100 # (-lICE), since we may need -lsocket or whatever for X linking.
23102 if test "$ISC" = yes; then
23103 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23105 # Martyn Johnson says this is needed for Ultrix, if the X
23106 # libraries were built with DECnet support. And Karl Berry says
23107 # the Alpha needs dnet_stub (dnet does not exist).
23108 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23109 cat >conftest.$ac_ext <<_ACEOF
23110 #line $LINENO "configure"
23113 cat confdefs.h >>conftest.$ac_ext
23114 cat >>conftest.$ac_ext <<_ACEOF
23115 /* end confdefs.h. */
23117 /* Override any gcc2 internal prototype to avoid an error. */
23121 /* We use char because int might match the return type of a gcc2
23122 builtin and then its argument prototype would still apply. */
23123 char XOpenDisplay ();
23132 rm -f conftest.$ac_objext conftest$ac_exeext
23133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23134 (eval $ac_link) 2>&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); } &&
23138 { ac_try='test -s conftest$ac_exeext'
23139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23140 (eval $ac_try) 2>&5
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); }; }; then
23146 echo "$as_me: failed program was:" >&5
23147 sed 's/^/| /' conftest.$ac_ext >&5
23149 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23150 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23151 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23152 echo $ECHO_N "(cached) $ECHO_C" >&6
23154 ac_check_lib_save_LIBS=$LIBS
23155 LIBS="-ldnet $LIBS"
23156 cat >conftest.$ac_ext <<_ACEOF
23157 #line $LINENO "configure"
23160 cat confdefs.h >>conftest.$ac_ext
23161 cat >>conftest.$ac_ext <<_ACEOF
23162 /* end confdefs.h. */
23164 /* Override any gcc2 internal prototype to avoid an error. */
23168 /* We use char because int might match the return type of a gcc2
23169 builtin and then its argument prototype would still apply. */
23179 rm -f conftest.$ac_objext conftest$ac_exeext
23180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23181 (eval $ac_link) 2>&5
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); } &&
23185 { ac_try='test -s conftest$ac_exeext'
23186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23187 (eval $ac_try) 2>&5
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); }; }; then
23191 ac_cv_lib_dnet_dnet_ntoa=yes
23193 echo "$as_me: failed program was:" >&5
23194 sed 's/^/| /' conftest.$ac_ext >&5
23196 ac_cv_lib_dnet_dnet_ntoa=no
23198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23199 LIBS=$ac_check_lib_save_LIBS
23201 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23202 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23203 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23204 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23207 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23208 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23209 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23210 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23211 echo $ECHO_N "(cached) $ECHO_C" >&6
23213 ac_check_lib_save_LIBS=$LIBS
23214 LIBS="-ldnet_stub $LIBS"
23215 cat >conftest.$ac_ext <<_ACEOF
23216 #line $LINENO "configure"
23219 cat confdefs.h >>conftest.$ac_ext
23220 cat >>conftest.$ac_ext <<_ACEOF
23221 /* end confdefs.h. */
23223 /* Override any gcc2 internal prototype to avoid an error. */
23227 /* We use char because int might match the return type of a gcc2
23228 builtin and then its argument prototype would still apply. */
23238 rm -f conftest.$ac_objext conftest$ac_exeext
23239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23240 (eval $ac_link) 2>&5
23242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23243 (exit $ac_status); } &&
23244 { ac_try='test -s conftest$ac_exeext'
23245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23246 (eval $ac_try) 2>&5
23248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23249 (exit $ac_status); }; }; then
23250 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23252 echo "$as_me: failed program was:" >&5
23253 sed 's/^/| /' conftest.$ac_ext >&5
23255 ac_cv_lib_dnet_stub_dnet_ntoa=no
23257 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23258 LIBS=$ac_check_lib_save_LIBS
23260 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23261 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23262 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23263 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23269 LIBS="$ac_xsave_LIBS"
23271 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23272 # to get the SysV transport functions.
23273 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23275 # The nsl library prevents programs from opening the X display
23276 # on Irix 5.2, according to T.E. Dickey.
23277 # The functions gethostbyname, getservbyname, and inet_addr are
23278 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23279 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23280 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23281 if test "${ac_cv_func_gethostbyname+set}" = set; then
23282 echo $ECHO_N "(cached) $ECHO_C" >&6
23284 cat >conftest.$ac_ext <<_ACEOF
23285 #line $LINENO "configure"
23288 cat confdefs.h >>conftest.$ac_ext
23289 cat >>conftest.$ac_ext <<_ACEOF
23290 /* end confdefs.h. */
23291 /* System header to define __stub macros and hopefully few prototypes,
23292 which can conflict with char gethostbyname (); below.
23293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23294 <limits.h> exists even on freestanding compilers. */
23296 # include <limits.h>
23298 # include <assert.h>
23300 /* Override any gcc2 internal prototype to avoid an error. */
23305 /* We use char because int might match the return type of a gcc2
23306 builtin and then its argument prototype would still apply. */
23307 char gethostbyname ();
23308 /* The GNU C library defines this for functions which it implements
23309 to always fail with ENOSYS. Some functions are actually named
23310 something starting with __ and the normal name is an alias. */
23311 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23314 char (*f) () = gethostbyname;
23323 return f != gethostbyname;
23328 rm -f conftest.$ac_objext conftest$ac_exeext
23329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23330 (eval $ac_link) 2>&5
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); } &&
23334 { ac_try='test -s conftest$ac_exeext'
23335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23336 (eval $ac_try) 2>&5
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); }; }; then
23340 ac_cv_func_gethostbyname=yes
23342 echo "$as_me: failed program was:" >&5
23343 sed 's/^/| /' conftest.$ac_ext >&5
23345 ac_cv_func_gethostbyname=no
23347 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23349 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23350 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23352 if test $ac_cv_func_gethostbyname = no; then
23353 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23354 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23355 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23356 echo $ECHO_N "(cached) $ECHO_C" >&6
23358 ac_check_lib_save_LIBS=$LIBS
23360 cat >conftest.$ac_ext <<_ACEOF
23361 #line $LINENO "configure"
23364 cat confdefs.h >>conftest.$ac_ext
23365 cat >>conftest.$ac_ext <<_ACEOF
23366 /* end confdefs.h. */
23368 /* Override any gcc2 internal prototype to avoid an error. */
23372 /* We use char because int might match the return type of a gcc2
23373 builtin and then its argument prototype would still apply. */
23374 char gethostbyname ();
23383 rm -f conftest.$ac_objext conftest$ac_exeext
23384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23385 (eval $ac_link) 2>&5
23387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23388 (exit $ac_status); } &&
23389 { ac_try='test -s conftest$ac_exeext'
23390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23391 (eval $ac_try) 2>&5
23393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23394 (exit $ac_status); }; }; then
23395 ac_cv_lib_nsl_gethostbyname=yes
23397 echo "$as_me: failed program was:" >&5
23398 sed 's/^/| /' conftest.$ac_ext >&5
23400 ac_cv_lib_nsl_gethostbyname=no
23402 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23403 LIBS=$ac_check_lib_save_LIBS
23405 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23406 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23407 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23408 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23411 if test $ac_cv_lib_nsl_gethostbyname = no; then
23412 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23413 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23414 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23415 echo $ECHO_N "(cached) $ECHO_C" >&6
23417 ac_check_lib_save_LIBS=$LIBS
23419 cat >conftest.$ac_ext <<_ACEOF
23420 #line $LINENO "configure"
23423 cat confdefs.h >>conftest.$ac_ext
23424 cat >>conftest.$ac_ext <<_ACEOF
23425 /* end confdefs.h. */
23427 /* Override any gcc2 internal prototype to avoid an error. */
23431 /* We use char because int might match the return type of a gcc2
23432 builtin and then its argument prototype would still apply. */
23433 char gethostbyname ();
23442 rm -f conftest.$ac_objext conftest$ac_exeext
23443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23444 (eval $ac_link) 2>&5
23446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447 (exit $ac_status); } &&
23448 { ac_try='test -s conftest$ac_exeext'
23449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23450 (eval $ac_try) 2>&5
23452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453 (exit $ac_status); }; }; then
23454 ac_cv_lib_bsd_gethostbyname=yes
23456 echo "$as_me: failed program was:" >&5
23457 sed 's/^/| /' conftest.$ac_ext >&5
23459 ac_cv_lib_bsd_gethostbyname=no
23461 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23462 LIBS=$ac_check_lib_save_LIBS
23464 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23465 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23466 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23467 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23473 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23474 # socket/setsockopt and other routines are undefined under SCO ODT
23475 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23476 # on later versions), says Simon Leinen: it contains gethostby*
23477 # variants that don't use the name server (or something). -lsocket
23478 # must be given before -lnsl if both are needed. We assume that
23479 # if connect needs -lnsl, so does gethostbyname.
23480 echo "$as_me:$LINENO: checking for connect" >&5
23481 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23482 if test "${ac_cv_func_connect+set}" = set; then
23483 echo $ECHO_N "(cached) $ECHO_C" >&6
23485 cat >conftest.$ac_ext <<_ACEOF
23486 #line $LINENO "configure"
23489 cat confdefs.h >>conftest.$ac_ext
23490 cat >>conftest.$ac_ext <<_ACEOF
23491 /* end confdefs.h. */
23492 /* System header to define __stub macros and hopefully few prototypes,
23493 which can conflict with char connect (); below.
23494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23495 <limits.h> exists even on freestanding compilers. */
23497 # include <limits.h>
23499 # include <assert.h>
23501 /* Override any gcc2 internal prototype to avoid an error. */
23506 /* We use char because int might match the return type of a gcc2
23507 builtin and then its argument prototype would still apply. */
23509 /* The GNU C library defines this for functions which it implements
23510 to always fail with ENOSYS. Some functions are actually named
23511 something starting with __ and the normal name is an alias. */
23512 #if defined (__stub_connect) || defined (__stub___connect)
23515 char (*f) () = connect;
23524 return f != connect;
23529 rm -f conftest.$ac_objext conftest$ac_exeext
23530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23531 (eval $ac_link) 2>&5
23533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534 (exit $ac_status); } &&
23535 { ac_try='test -s conftest$ac_exeext'
23536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23537 (eval $ac_try) 2>&5
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); }; }; then
23541 ac_cv_func_connect=yes
23543 echo "$as_me: failed program was:" >&5
23544 sed 's/^/| /' conftest.$ac_ext >&5
23546 ac_cv_func_connect=no
23548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23550 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23551 echo "${ECHO_T}$ac_cv_func_connect" >&6
23553 if test $ac_cv_func_connect = no; then
23554 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23555 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23556 if test "${ac_cv_lib_socket_connect+set}" = set; then
23557 echo $ECHO_N "(cached) $ECHO_C" >&6
23559 ac_check_lib_save_LIBS=$LIBS
23560 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23561 cat >conftest.$ac_ext <<_ACEOF
23562 #line $LINENO "configure"
23565 cat confdefs.h >>conftest.$ac_ext
23566 cat >>conftest.$ac_ext <<_ACEOF
23567 /* end confdefs.h. */
23569 /* Override any gcc2 internal prototype to avoid an error. */
23573 /* We use char because int might match the return type of a gcc2
23574 builtin and then its argument prototype would still apply. */
23584 rm -f conftest.$ac_objext conftest$ac_exeext
23585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23586 (eval $ac_link) 2>&5
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); } &&
23590 { ac_try='test -s conftest$ac_exeext'
23591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23592 (eval $ac_try) 2>&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); }; }; then
23596 ac_cv_lib_socket_connect=yes
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23601 ac_cv_lib_socket_connect=no
23603 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23604 LIBS=$ac_check_lib_save_LIBS
23606 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23607 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23608 if test $ac_cv_lib_socket_connect = yes; then
23609 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23614 # Guillermo Gomez says -lposix is necessary on A/UX.
23615 echo "$as_me:$LINENO: checking for remove" >&5
23616 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23617 if test "${ac_cv_func_remove+set}" = set; then
23618 echo $ECHO_N "(cached) $ECHO_C" >&6
23620 cat >conftest.$ac_ext <<_ACEOF
23621 #line $LINENO "configure"
23624 cat confdefs.h >>conftest.$ac_ext
23625 cat >>conftest.$ac_ext <<_ACEOF
23626 /* end confdefs.h. */
23627 /* System header to define __stub macros and hopefully few prototypes,
23628 which can conflict with char remove (); below.
23629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23630 <limits.h> exists even on freestanding compilers. */
23632 # include <limits.h>
23634 # include <assert.h>
23636 /* Override any gcc2 internal prototype to avoid an error. */
23641 /* We use char because int might match the return type of a gcc2
23642 builtin and then its argument prototype would still apply. */
23644 /* The GNU C library defines this for functions which it implements
23645 to always fail with ENOSYS. Some functions are actually named
23646 something starting with __ and the normal name is an alias. */
23647 #if defined (__stub_remove) || defined (__stub___remove)
23650 char (*f) () = remove;
23659 return f != remove;
23664 rm -f conftest.$ac_objext conftest$ac_exeext
23665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23666 (eval $ac_link) 2>&5
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); } &&
23670 { ac_try='test -s conftest$ac_exeext'
23671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23672 (eval $ac_try) 2>&5
23674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23675 (exit $ac_status); }; }; then
23676 ac_cv_func_remove=yes
23678 echo "$as_me: failed program was:" >&5
23679 sed 's/^/| /' conftest.$ac_ext >&5
23681 ac_cv_func_remove=no
23683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23685 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23686 echo "${ECHO_T}$ac_cv_func_remove" >&6
23688 if test $ac_cv_func_remove = no; then
23689 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23690 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23691 if test "${ac_cv_lib_posix_remove+set}" = set; then
23692 echo $ECHO_N "(cached) $ECHO_C" >&6
23694 ac_check_lib_save_LIBS=$LIBS
23695 LIBS="-lposix $LIBS"
23696 cat >conftest.$ac_ext <<_ACEOF
23697 #line $LINENO "configure"
23700 cat confdefs.h >>conftest.$ac_ext
23701 cat >>conftest.$ac_ext <<_ACEOF
23702 /* end confdefs.h. */
23704 /* Override any gcc2 internal prototype to avoid an error. */
23708 /* We use char because int might match the return type of a gcc2
23709 builtin and then its argument prototype would still apply. */
23719 rm -f conftest.$ac_objext conftest$ac_exeext
23720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23721 (eval $ac_link) 2>&5
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); } &&
23725 { ac_try='test -s conftest$ac_exeext'
23726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23727 (eval $ac_try) 2>&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); }; }; then
23731 ac_cv_lib_posix_remove=yes
23733 echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.$ac_ext >&5
23736 ac_cv_lib_posix_remove=no
23738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23739 LIBS=$ac_check_lib_save_LIBS
23741 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23742 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23743 if test $ac_cv_lib_posix_remove = yes; then
23744 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23749 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23750 echo "$as_me:$LINENO: checking for shmat" >&5
23751 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23752 if test "${ac_cv_func_shmat+set}" = set; then
23753 echo $ECHO_N "(cached) $ECHO_C" >&6
23755 cat >conftest.$ac_ext <<_ACEOF
23756 #line $LINENO "configure"
23759 cat confdefs.h >>conftest.$ac_ext
23760 cat >>conftest.$ac_ext <<_ACEOF
23761 /* end confdefs.h. */
23762 /* System header to define __stub macros and hopefully few prototypes,
23763 which can conflict with char shmat (); below.
23764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23765 <limits.h> exists even on freestanding compilers. */
23767 # include <limits.h>
23769 # include <assert.h>
23771 /* Override any gcc2 internal prototype to avoid an error. */
23776 /* We use char because int might match the return type of a gcc2
23777 builtin and then its argument prototype would still apply. */
23779 /* The GNU C library defines this for functions which it implements
23780 to always fail with ENOSYS. Some functions are actually named
23781 something starting with __ and the normal name is an alias. */
23782 #if defined (__stub_shmat) || defined (__stub___shmat)
23785 char (*f) () = shmat;
23799 rm -f conftest.$ac_objext conftest$ac_exeext
23800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23801 (eval $ac_link) 2>&5
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); } &&
23805 { ac_try='test -s conftest$ac_exeext'
23806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23807 (eval $ac_try) 2>&5
23809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23810 (exit $ac_status); }; }; then
23811 ac_cv_func_shmat=yes
23813 echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.$ac_ext >&5
23816 ac_cv_func_shmat=no
23818 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23820 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23821 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23823 if test $ac_cv_func_shmat = no; then
23824 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23825 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23826 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23827 echo $ECHO_N "(cached) $ECHO_C" >&6
23829 ac_check_lib_save_LIBS=$LIBS
23831 cat >conftest.$ac_ext <<_ACEOF
23832 #line $LINENO "configure"
23835 cat confdefs.h >>conftest.$ac_ext
23836 cat >>conftest.$ac_ext <<_ACEOF
23837 /* end confdefs.h. */
23839 /* Override any gcc2 internal prototype to avoid an error. */
23843 /* We use char because int might match the return type of a gcc2
23844 builtin and then its argument prototype would still apply. */
23854 rm -f conftest.$ac_objext conftest$ac_exeext
23855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23856 (eval $ac_link) 2>&5
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); } &&
23860 { ac_try='test -s conftest$ac_exeext'
23861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23862 (eval $ac_try) 2>&5
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); }; }; then
23866 ac_cv_lib_ipc_shmat=yes
23868 echo "$as_me: failed program was:" >&5
23869 sed 's/^/| /' conftest.$ac_ext >&5
23871 ac_cv_lib_ipc_shmat=no
23873 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23874 LIBS=$ac_check_lib_save_LIBS
23876 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23877 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23878 if test $ac_cv_lib_ipc_shmat = yes; then
23879 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23885 # Check for libraries that X11R6 Xt/Xaw programs need.
23886 ac_save_LDFLAGS=$LDFLAGS
23887 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23888 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23889 # check for ICE first), but we must link in the order -lSM -lICE or
23890 # we get undefined symbols. So assume we have SM if we have ICE.
23891 # These have to be linked with before -lX11, unlike the other
23892 # libraries we check for below, so use a different variable.
23893 # John Interrante, Karl Berry
23894 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23895 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23896 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23897 echo $ECHO_N "(cached) $ECHO_C" >&6
23899 ac_check_lib_save_LIBS=$LIBS
23900 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23901 cat >conftest.$ac_ext <<_ACEOF
23902 #line $LINENO "configure"
23905 cat confdefs.h >>conftest.$ac_ext
23906 cat >>conftest.$ac_ext <<_ACEOF
23907 /* end confdefs.h. */
23909 /* Override any gcc2 internal prototype to avoid an error. */
23913 /* We use char because int might match the return type of a gcc2
23914 builtin and then its argument prototype would still apply. */
23915 char IceConnectionNumber ();
23919 IceConnectionNumber ();
23924 rm -f conftest.$ac_objext conftest$ac_exeext
23925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23926 (eval $ac_link) 2>&5
23928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929 (exit $ac_status); } &&
23930 { ac_try='test -s conftest$ac_exeext'
23931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23932 (eval $ac_try) 2>&5
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); }; }; then
23936 ac_cv_lib_ICE_IceConnectionNumber=yes
23938 echo "$as_me: failed program was:" >&5
23939 sed 's/^/| /' conftest.$ac_ext >&5
23941 ac_cv_lib_ICE_IceConnectionNumber=no
23943 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23944 LIBS=$ac_check_lib_save_LIBS
23946 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23947 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23948 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23949 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23952 LDFLAGS=$ac_save_LDFLAGS
23957 if test "$no_x" = "yes"; then
23958 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23959 echo "$as_me: error: X11 not found" >&2;}
23960 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23963 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23964 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23965 AFMINSTALL=afminstall
23966 COMPILED_X_PROGRAM=0
23968 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23969 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23972 for ac_dir in $SEARCH_INCLUDE /usr/include;
23974 if test -f "$ac_dir/Xm/Xm.h"; then
23975 ac_find_includes=$ac_dir
23980 if test "$ac_find_includes" != "" ; then
23981 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23982 echo "${ECHO_T}found in $ac_find_includes" >&6
23984 if test "x$ac_find_includes" = "x/usr/include"; then
23985 ac_path_to_include=""
23987 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23989 if test $result = 0; then
23990 ac_path_to_include=""
23992 ac_path_to_include=" -I$ac_find_includes"
23996 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23998 cat >conftest.$ac_ext <<_ACEOF
23999 #line $LINENO "configure"
24002 cat confdefs.h >>conftest.$ac_ext
24003 cat >>conftest.$ac_ext <<_ACEOF
24004 /* end confdefs.h. */
24013 version = xmUseVersion;
24019 rm -f conftest.$ac_objext
24020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24021 (eval $ac_compile) 2>&5
24023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24024 (exit $ac_status); } &&
24025 { ac_try='test -s conftest.$ac_objext'
24026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24027 (eval $ac_try) 2>&5
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); }; }; then
24032 echo "$as_me:$LINENO: result: found in default search path" >&5
24033 echo "${ECHO_T}found in default search path" >&6
24034 COMPILED_X_PROGRAM=1
24037 echo "$as_me: failed program was:" >&5
24038 sed 's/^/| /' conftest.$ac_ext >&5
24041 echo "$as_me:$LINENO: result: no" >&5
24042 echo "${ECHO_T}no" >&6
24043 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24044 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24045 { (exit 1); exit 1; }; }
24049 rm -f conftest.$ac_objext conftest.$ac_ext
24052 if test "$COMPILED_X_PROGRAM" = 0; then
24053 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24054 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24057 for ac_dir in $SEARCH_LIB /usr/lib;
24059 for ac_extension in a so sl dylib; do
24060 if test -f "$ac_dir/libXm.$ac_extension"; then
24061 ac_find_libraries=$ac_dir
24067 if test "$ac_find_libraries" != "" ; then
24068 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24069 echo "${ECHO_T}found at $ac_find_libraries" >&6
24072 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24074 if test $result = 0; then
24077 ac_path_to_link=" -L$ac_find_libraries"
24080 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24082 save_CFLAGS=$CFLAGS
24083 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24085 cat >conftest.$ac_ext <<_ACEOF
24086 #line $LINENO "configure"
24089 cat confdefs.h >>conftest.$ac_ext
24090 cat >>conftest.$ac_ext <<_ACEOF
24091 /* end confdefs.h. */
24100 version = xmUseVersion;
24106 rm -f conftest.$ac_objext
24107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24108 (eval $ac_compile) 2>&5
24110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111 (exit $ac_status); } &&
24112 { ac_try='test -s conftest.$ac_objext'
24113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24114 (eval $ac_try) 2>&5
24116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); }; }; then
24119 echo "$as_me:$LINENO: result: found in default search path" >&5
24120 echo "${ECHO_T}found in default search path" >&6
24121 COMPILED_X_PROGRAM=1
24124 echo "$as_me: failed program was:" >&5
24125 sed 's/^/| /' conftest.$ac_ext >&5
24128 echo "$as_me:$LINENO: result: no" >&5
24129 echo "${ECHO_T}no" >&6
24130 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24131 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24132 { (exit 1); exit 1; }; }
24136 rm -f conftest.$ac_objext conftest.$ac_ext
24138 CFLAGS=$save_CFLAGS
24143 echo "$as_me:$LINENO: checking for Xpm library" >&5
24144 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24147 for ac_dir in $SEARCH_LIB /usr/lib;
24149 for ac_extension in a so sl dylib; do
24150 if test -f "$ac_dir/libXpm.$ac_extension"; then
24151 ac_find_libraries=$ac_dir
24157 if test "$ac_find_libraries" != "" ; then
24159 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24161 if test $result = 0; then
24164 ac_path_to_link=" -L$ac_find_libraries"
24167 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24170 cat >>confdefs.h <<\_ACEOF
24171 #define wxHAVE_LIB_XPM 1
24174 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24175 echo "${ECHO_T}found at $ac_find_libraries" >&6
24177 save_CFLAGS=$CFLAGS
24178 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24180 cat >conftest.$ac_ext <<_ACEOF
24181 #line $LINENO "configure"
24184 cat confdefs.h >>conftest.$ac_ext
24185 cat >>conftest.$ac_ext <<_ACEOF
24186 /* end confdefs.h. */
24188 #include <X11/xpm.h>
24195 version = XpmLibraryVersion();
24201 rm -f conftest.$ac_objext
24202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24203 (eval $ac_compile) 2>&5
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); } &&
24207 { ac_try='test -s conftest.$ac_objext'
24208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24209 (eval $ac_try) 2>&5
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); }; }; then
24215 cat >>confdefs.h <<\_ACEOF
24216 #define wxHAVE_LIB_XPM 1
24219 echo "$as_me:$LINENO: result: found in default search path" >&5
24220 echo "${ECHO_T}found in default search path" >&6
24221 COMPILED_X_PROGRAM=0
24224 echo "$as_me: failed program was:" >&5
24225 sed 's/^/| /' conftest.$ac_ext >&5
24228 echo "$as_me:$LINENO: result: no" >&5
24229 echo "${ECHO_T}no" >&6
24230 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24231 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24235 rm -f conftest.$ac_objext conftest.$ac_ext
24237 CFLAGS=$save_CFLAGS
24240 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24241 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24245 for libp in "" " -lXp"; do
24246 if test "$libs_found" = "0"; then
24247 for libsm_ice in " -lSM -lICE"; do
24248 if test "$libs_found" = "0"; then
24250 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24251 save_CFLAGS=$CFLAGS
24252 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24254 cat >conftest.$ac_ext <<_ACEOF
24255 #line $LINENO "configure"
24258 cat confdefs.h >>conftest.$ac_ext
24259 cat >>conftest.$ac_ext <<_ACEOF
24260 /* end confdefs.h. */
24263 #include <Xm/List.h>
24269 XmString string = NULL;
24272 XmListAddItem(w, string, position);
24278 rm -f conftest.$ac_objext conftest$ac_exeext
24279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24280 (eval $ac_link) 2>&5
24282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283 (exit $ac_status); } &&
24284 { ac_try='test -s conftest$ac_exeext'
24285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24286 (eval $ac_try) 2>&5
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); }; }; then
24292 libsm_ice_link="$libsm_ice"
24293 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24294 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24298 echo "$as_me: failed program was:" >&5
24299 sed 's/^/| /' conftest.$ac_ext >&5
24304 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24307 CFLAGS=$save_CFLAGS
24313 if test "$libs_found" = "0"; then
24314 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24315 echo "${ECHO_T}can't find the right libraries" >&6
24316 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24317 echo "$as_me: error: can't link a simple motif program" >&2;}
24318 { (exit 1); exit 1; }; }
24321 save_CFLAGS=$CFLAGS
24322 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24323 echo "$as_me:$LINENO: checking for Motif 2" >&5
24324 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24325 cat >conftest.$ac_ext <<_ACEOF
24326 #line $LINENO "configure"
24329 cat confdefs.h >>conftest.$ac_ext
24330 cat >>conftest.$ac_ext <<_ACEOF
24331 /* end confdefs.h. */
24339 #if XmVersion < 2000
24340 #error "Not Motif 2"
24347 rm -f conftest.$ac_objext
24348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24349 (eval $ac_compile) 2>&5
24351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24352 (exit $ac_status); } &&
24353 { ac_try='test -s conftest.$ac_objext'
24354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24355 (eval $ac_try) 2>&5
24357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358 (exit $ac_status); }; }; then
24360 cat >>confdefs.h <<\_ACEOF
24361 #define __WXMOTIF20__ 1
24364 echo "$as_me:$LINENO: result: found" >&5
24365 echo "${ECHO_T}found" >&6
24368 echo "$as_me: failed program was:" >&5
24369 sed 's/^/| /' conftest.$ac_ext >&5
24372 cat >>confdefs.h <<\_ACEOF
24373 #define __WXMOTIF20__ 0
24376 echo "$as_me:$LINENO: result: not found" >&5
24377 echo "${ECHO_T}not found" >&6
24380 rm -f conftest.$ac_objext conftest.$ac_ext
24381 CFLAGS=$save_CFLAGS
24383 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24384 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24390 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24391 test "$wxHAVE_XEXT_LIB" = 1; then
24392 save_CFLAGS="$CFLAGS"
24393 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24395 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24396 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24397 cat >conftest.$ac_ext <<_ACEOF
24398 #line $LINENO "configure"
24401 cat confdefs.h >>conftest.$ac_ext
24402 cat >>conftest.$ac_ext <<_ACEOF
24403 /* end confdefs.h. */
24405 #include <X11/Xlib.h>
24406 #include <X11/extensions/shape.h>
24412 int dummy1, dummy2;
24413 XShapeQueryExtension((Display*)NULL,
24414 (int*)NULL, (int*)NULL);
24420 rm -f conftest.$ac_objext
24421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24422 (eval $ac_compile) 2>&5
24424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24425 (exit $ac_status); } &&
24426 { ac_try='test -s conftest.$ac_objext'
24427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24428 (eval $ac_try) 2>&5
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); }; }; then
24433 cat >>confdefs.h <<\_ACEOF
24434 #define HAVE_XSHAPE 1
24437 echo "$as_me:$LINENO: result: found" >&5
24438 echo "${ECHO_T}found" >&6
24441 echo "$as_me: failed program was:" >&5
24442 sed 's/^/| /' conftest.$ac_ext >&5
24445 echo "$as_me:$LINENO: result: not found" >&5
24446 echo "${ECHO_T}not found" >&6
24449 rm -f conftest.$ac_objext conftest.$ac_ext
24450 CFLAGS="$save_CFLAGS"
24453 if test "$wxUSE_MAC" = 1; then
24454 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24456 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24459 WXBASEPORT="_carbon"
24462 if test "$wxUSE_COCOA" = 1; then
24463 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24468 if test "$wxUSE_PM" = 1; then
24471 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24472 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24476 if test "$TOOLKIT" = "PM" ; then
24479 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24482 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24484 if test "$wxUSE_UNIVERSAL" = "yes"; then
24485 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24487 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24488 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24490 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24491 if test "$wxUSE_X11" = 1; then
24492 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24494 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24496 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24499 ALL_OBJECTS="\$(GUIOBJS)"
24500 ALL_SOURCES="\$(ALL_SOURCES)"
24501 ALL_HEADERS="\$(ALL_HEADERS)"
24504 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24506 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24507 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24510 if test "$wxUSE_HTML" = "yes"; then
24511 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24514 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24515 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24517 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24518 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24520 if test "$wxUSE_LIBPNG" = "builtin" ; then
24521 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24524 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24525 DISTDIR="wx\$(TOOLKIT)"
24531 if test "$USE_WIN32" = 1 ; then
24532 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24533 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24537 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24538 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24541 ALL_SOURCES="\$(ALL_SOURCES)"
24542 ALL_HEADERS="\$(ALL_HEADERS)"
24544 PORT_FILES="\${top_srcdir}/src/files.lst"
24546 GUIDIST="BASE_DIST"
24556 if test "$TOOLKIT" != "MSW" ; then
24558 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24560 if test "${ac_cv_header_sql_h+set}" = set; then
24561 echo "$as_me:$LINENO: checking for sql.h" >&5
24562 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24563 if test "${ac_cv_header_sql_h+set}" = set; then
24564 echo $ECHO_N "(cached) $ECHO_C" >&6
24566 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24567 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24569 # Is the header compilable?
24570 echo "$as_me:$LINENO: checking sql.h usability" >&5
24571 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24572 cat >conftest.$ac_ext <<_ACEOF
24573 #line $LINENO "configure"
24576 cat confdefs.h >>conftest.$ac_ext
24577 cat >>conftest.$ac_ext <<_ACEOF
24578 /* end confdefs.h. */
24579 $ac_includes_default
24582 rm -f conftest.$ac_objext
24583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24584 (eval $ac_compile) 2>&5
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); } &&
24588 { ac_try='test -s conftest.$ac_objext'
24589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24590 (eval $ac_try) 2>&5
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); }; }; then
24594 ac_header_compiler=yes
24596 echo "$as_me: failed program was:" >&5
24597 sed 's/^/| /' conftest.$ac_ext >&5
24599 ac_header_compiler=no
24601 rm -f conftest.$ac_objext conftest.$ac_ext
24602 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24603 echo "${ECHO_T}$ac_header_compiler" >&6
24605 # Is the header present?
24606 echo "$as_me:$LINENO: checking sql.h presence" >&5
24607 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24608 cat >conftest.$ac_ext <<_ACEOF
24609 #line $LINENO "configure"
24612 cat confdefs.h >>conftest.$ac_ext
24613 cat >>conftest.$ac_ext <<_ACEOF
24614 /* end confdefs.h. */
24617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24618 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24620 grep -v '^ *+' conftest.er1 >conftest.err
24622 cat conftest.err >&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); } >/dev/null; then
24625 if test -s conftest.err; then
24626 ac_cpp_err=$ac_c_preproc_warn_flag
24633 if test -z "$ac_cpp_err"; then
24634 ac_header_preproc=yes
24636 echo "$as_me: failed program was:" >&5
24637 sed 's/^/| /' conftest.$ac_ext >&5
24639 ac_header_preproc=no
24641 rm -f conftest.err conftest.$ac_ext
24642 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24643 echo "${ECHO_T}$ac_header_preproc" >&6
24645 # So? What about this header?
24646 case $ac_header_compiler:$ac_header_preproc in
24648 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24649 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24650 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24651 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24654 ## ------------------------------------ ##
24655 ## Report this to bug-autoconf@gnu.org. ##
24656 ## ------------------------------------ ##
24659 sed "s/^/$as_me: WARNING: /" >&2
24662 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24663 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24664 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24665 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24666 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24667 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24670 ## ------------------------------------ ##
24671 ## Report this to bug-autoconf@gnu.org. ##
24672 ## ------------------------------------ ##
24675 sed "s/^/$as_me: WARNING: /" >&2
24678 echo "$as_me:$LINENO: checking for sql.h" >&5
24679 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24680 if test "${ac_cv_header_sql_h+set}" = set; then
24681 echo $ECHO_N "(cached) $ECHO_C" >&6
24683 ac_cv_header_sql_h=$ac_header_preproc
24685 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24686 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24689 if test $ac_cv_header_sql_h = yes; then
24694 if test "x$found_sql_h" = "x1" ; then
24695 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24696 echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24697 if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24698 echo $ECHO_N "(cached) $ECHO_C" >&6
24700 ac_check_lib_save_LIBS=$LIBS
24701 LIBS="-lSQLAllocEnv $LIBS"
24702 cat >conftest.$ac_ext <<_ACEOF
24703 #line $LINENO "configure"
24706 cat confdefs.h >>conftest.$ac_ext
24707 cat >>conftest.$ac_ext <<_ACEOF
24708 /* end confdefs.h. */
24710 /* Override any gcc2 internal prototype to avoid an error. */
24714 /* We use char because int might match the return type of a gcc2
24715 builtin and then its argument prototype would still apply. */
24725 rm -f conftest.$ac_objext conftest$ac_exeext
24726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24727 (eval $ac_link) 2>&5
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); } &&
24731 { ac_try='test -s conftest$ac_exeext'
24732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24733 (eval $ac_try) 2>&5
24735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736 (exit $ac_status); }; }; then
24737 ac_cv_lib_SQLAllocEnv_iodbc=yes
24739 echo "$as_me: failed program was:" >&5
24740 sed 's/^/| /' conftest.$ac_ext >&5
24742 ac_cv_lib_SQLAllocEnv_iodbc=no
24744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24745 LIBS=$ac_check_lib_save_LIBS
24747 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24748 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24749 if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24750 ODBC_LINK=" -liodbc"
24753 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24754 echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24755 if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24756 echo $ECHO_N "(cached) $ECHO_C" >&6
24758 ac_check_lib_save_LIBS=$LIBS
24759 LIBS="-lSQLAllocEnv $LIBS"
24760 cat >conftest.$ac_ext <<_ACEOF
24761 #line $LINENO "configure"
24764 cat confdefs.h >>conftest.$ac_ext
24765 cat >>conftest.$ac_ext <<_ACEOF
24766 /* end confdefs.h. */
24768 /* Override any gcc2 internal prototype to avoid an error. */
24772 /* We use char because int might match the return type of a gcc2
24773 builtin and then its argument prototype would still apply. */
24783 rm -f conftest.$ac_objext conftest$ac_exeext
24784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24785 (eval $ac_link) 2>&5
24787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24788 (exit $ac_status); } &&
24789 { ac_try='test -s conftest$ac_exeext'
24790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24791 (eval $ac_try) 2>&5
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); }; }; then
24795 ac_cv_lib_SQLAllocEnv_unixodbc=yes
24797 echo "$as_me: failed program was:" >&5
24798 sed 's/^/| /' conftest.$ac_ext >&5
24800 ac_cv_lib_SQLAllocEnv_unixodbc=no
24802 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24803 LIBS=$ac_check_lib_save_LIBS
24805 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24806 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24807 if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24808 ODBC_LINK=" -lunixodbc"
24811 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24812 echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24813 if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24814 echo $ECHO_N "(cached) $ECHO_C" >&6
24816 ac_check_lib_save_LIBS=$LIBS
24817 LIBS="-lSQLAllocEnv $LIBS"
24818 cat >conftest.$ac_ext <<_ACEOF
24819 #line $LINENO "configure"
24822 cat confdefs.h >>conftest.$ac_ext
24823 cat >>conftest.$ac_ext <<_ACEOF
24824 /* end confdefs.h. */
24826 /* Override any gcc2 internal prototype to avoid an error. */
24830 /* We use char because int might match the return type of a gcc2
24831 builtin and then its argument prototype would still apply. */
24841 rm -f conftest.$ac_objext conftest$ac_exeext
24842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24843 (eval $ac_link) 2>&5
24845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 (exit $ac_status); } &&
24847 { ac_try='test -s conftest$ac_exeext'
24848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24849 (eval $ac_try) 2>&5
24851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24852 (exit $ac_status); }; }; then
24853 ac_cv_lib_SQLAllocEnv_odbc=yes
24855 echo "$as_me: failed program was:" >&5
24856 sed 's/^/| /' conftest.$ac_ext >&5
24858 ac_cv_lib_SQLAllocEnv_odbc=no
24860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24861 LIBS=$ac_check_lib_save_LIBS
24863 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24864 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24865 if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24866 ODBC_LINK=" -lodbc"
24876 if test "x$ODBC_LINK" = "x" ; then
24877 if test "$wxUSE_ODBC" = "sys" ; then
24878 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24879 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24880 { (exit 1); exit 1; }; }
24882 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24883 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24890 if test "$wxUSE_ODBC" != "no" ; then
24891 cat >>confdefs.h <<\_ACEOF
24892 #define wxUSE_ODBC 1
24895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24897 WXODBCFLAG="-D_IODBC_"
24901 if test "$wxUSE_REGEX" = "builtin" ; then
24902 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24904 if test "$wxUSE_ZLIB" = "builtin" ; then
24905 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24910 if test "$wxUSE_OPENGL" = "yes"; then
24911 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24912 OPENGL_LIBS="-framework OpenGL -framework AGL"
24913 elif test "$wxUSE_MSW" = 1; then
24914 OPENGL_LIBS="-lopengl32 -lglu32"
24919 for ac_dir in $SEARCH_INCLUDE /usr/include;
24921 if test -f "$ac_dir/GL/gl.h"; then
24922 ac_find_includes=$ac_dir
24927 if test "$ac_find_includes" != "" ; then
24928 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24929 echo "${ECHO_T}found in $ac_find_includes" >&6
24931 if test "x$ac_find_includes" = "x/usr/include"; then
24932 ac_path_to_include=""
24934 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24936 if test $result = 0; then
24937 ac_path_to_include=""
24939 ac_path_to_include=" -I$ac_find_includes"
24943 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24946 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24947 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24948 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24949 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24950 echo $ECHO_N "(cached) $ECHO_C" >&6
24952 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24953 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24955 # Is the header compilable?
24956 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24957 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24958 cat >conftest.$ac_ext <<_ACEOF
24959 #line $LINENO "configure"
24962 cat confdefs.h >>conftest.$ac_ext
24963 cat >>conftest.$ac_ext <<_ACEOF
24964 /* end confdefs.h. */
24965 $ac_includes_default
24968 rm -f conftest.$ac_objext
24969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24970 (eval $ac_compile) 2>&5
24972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24973 (exit $ac_status); } &&
24974 { ac_try='test -s conftest.$ac_objext'
24975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24976 (eval $ac_try) 2>&5
24978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24979 (exit $ac_status); }; }; then
24980 ac_header_compiler=yes
24982 echo "$as_me: failed program was:" >&5
24983 sed 's/^/| /' conftest.$ac_ext >&5
24985 ac_header_compiler=no
24987 rm -f conftest.$ac_objext conftest.$ac_ext
24988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24989 echo "${ECHO_T}$ac_header_compiler" >&6
24991 # Is the header present?
24992 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24993 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24994 cat >conftest.$ac_ext <<_ACEOF
24995 #line $LINENO "configure"
24998 cat confdefs.h >>conftest.$ac_ext
24999 cat >>conftest.$ac_ext <<_ACEOF
25000 /* end confdefs.h. */
25003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25006 grep -v '^ *+' conftest.er1 >conftest.err
25008 cat conftest.err >&5
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); } >/dev/null; then
25011 if test -s conftest.err; then
25012 ac_cpp_err=$ac_c_preproc_warn_flag
25019 if test -z "$ac_cpp_err"; then
25020 ac_header_preproc=yes
25022 echo "$as_me: failed program was:" >&5
25023 sed 's/^/| /' conftest.$ac_ext >&5
25025 ac_header_preproc=no
25027 rm -f conftest.err conftest.$ac_ext
25028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25029 echo "${ECHO_T}$ac_header_preproc" >&6
25031 # So? What about this header?
25032 case $ac_header_compiler:$ac_header_preproc in
25034 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25035 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25036 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25037 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25040 ## ------------------------------------ ##
25041 ## Report this to bug-autoconf@gnu.org. ##
25042 ## ------------------------------------ ##
25045 sed "s/^/$as_me: WARNING: /" >&2
25048 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25049 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25050 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25051 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25052 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25053 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25056 ## ------------------------------------ ##
25057 ## Report this to bug-autoconf@gnu.org. ##
25058 ## ------------------------------------ ##
25061 sed "s/^/$as_me: WARNING: /" >&2
25064 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25065 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25066 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25067 echo $ECHO_N "(cached) $ECHO_C" >&6
25069 ac_cv_header_GL_gl_h=$ac_header_preproc
25071 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25072 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25075 if test $ac_cv_header_GL_gl_h = yes; then
25079 echo "$as_me:$LINENO: checking for -lGL" >&5
25080 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25083 for ac_dir in $SEARCH_LIB /usr/lib;
25085 for ac_extension in a so sl dylib; do
25086 if test -f "$ac_dir/libGL.$ac_extension"; then
25087 ac_find_libraries=$ac_dir
25093 if test "$ac_find_libraries" != "" ; then
25095 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25097 if test $result = 0; then
25100 ac_path_to_link=" -L$ac_find_libraries"
25103 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25104 LDFLAGS_GL="$ac_path_to_link"
25109 for ac_dir in $SEARCH_LIB /usr/lib;
25111 for ac_extension in a so sl dylib; do
25112 if test -f "$ac_dir/libGLU.$ac_extension"; then
25113 ac_find_libraries=$ac_dir
25119 if test "$ac_find_libraries" != "" ; then
25121 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25123 if test $result = 0; then
25126 ac_path_to_link=" -L$ac_find_libraries"
25129 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25130 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25131 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25135 OPENGL_LIBS="-lGL -lGLU"
25136 echo "$as_me:$LINENO: result: yes" >&5
25137 echo "${ECHO_T}yes" >&6
25141 if test "$found_gl" != 1; then
25142 echo "$as_me:$LINENO: result: no" >&5
25143 echo "${ECHO_T}no" >&6
25144 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25145 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25148 for ac_dir in $SEARCH_LIB /usr/lib;
25150 for ac_extension in a so sl dylib; do
25151 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25152 ac_find_libraries=$ac_dir
25158 if test "$ac_find_libraries" != "" ; then
25160 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25162 if test $result = 0; then
25165 ac_path_to_link=" -L$ac_find_libraries"
25168 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25169 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25170 echo "$as_me:$LINENO: result: yes" >&5
25171 echo "${ECHO_T}yes" >&6
25173 echo "$as_me:$LINENO: result: no" >&5
25174 echo "${ECHO_T}no" >&6
25182 if test "x$OPENGL_LIBS" = "x"; then
25183 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25184 echo "$as_me: error: OpenGL libraries not available" >&2;}
25185 { (exit 1); exit 1; }; }
25189 if test "$wxUSE_OPENGL" = "yes"; then
25191 cat >>confdefs.h <<\_ACEOF
25192 #define wxUSE_OPENGL 1
25195 cat >>confdefs.h <<\_ACEOF
25196 #define wxUSE_GLCANVAS 1
25199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25203 if test -z "$TOOLKIT_VPATH" ; then
25204 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25207 if test -n "$TOOLKIT" ; then
25208 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25212 lib_unicode_suffix=
25213 if test "$wxUSE_UNICODE" = "yes"; then
25214 lib_unicode_suffix=u
25220 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25226 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25230 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25232 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25233 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25235 if test "$cross_compiling" = "yes"; then
25236 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25237 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25238 HOST_SUFFIX="-${host_alias}"
25241 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25242 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25243 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25244 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25246 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25247 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25249 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25250 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25251 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25252 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25255 *-*-cygwin* | *-*-mingw32* )
25256 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25257 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25262 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25263 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25265 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25266 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25267 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25268 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25270 if test "$wxUSE_MAC" = 1; then
25271 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25272 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25277 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25278 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25280 WXCONFIG_LIBS="-l${WX_LIBRARY}"
25281 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25283 if test "$wxUSE_OPENGL" = "yes"; then
25284 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25285 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25290 if test "$wxUSE_SHARED" = "yes"; then
25292 *-pc-os2_emx | *-pc-os2-emx | \
25295 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25296 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25302 if test "$wxUSE_SHARED" = "yes"; then
25306 found_versioning=no
25309 if test $found_versioning = no ; then
25310 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25311 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25312 if test "${wx_cv_version_script+set}" = set; then
25313 echo $ECHO_N "(cached) $ECHO_C" >&6
25316 echo "VER_1 { *; };" >conftest.sym
25317 echo "int main() { return 0; }" >conftest.cpp
25320 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25321 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25323 (eval $ac_try) 2>&5
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); }; } ; then
25327 if test -s conftest.stderr ; then
25328 wx_cv_version_script=no
25330 wx_cv_version_script=yes
25333 wx_cv_version_script=no
25335 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25338 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25339 echo "${ECHO_T}$wx_cv_version_script" >&6
25340 if test $wx_cv_version_script = yes ; then
25341 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25347 *-*-linux* | *-*-gnu* )
25348 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25351 if test "$GCC" = yes ; then
25352 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25354 saveLdflags="$LDFLAGS"
25355 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25356 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25357 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25358 cat >conftest.$ac_ext <<_ACEOF
25359 #line $LINENO "configure"
25362 cat confdefs.h >>conftest.$ac_ext
25363 cat >>conftest.$ac_ext <<_ACEOF
25364 /* end confdefs.h. */
25374 rm -f conftest.$ac_objext conftest$ac_exeext
25375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25376 (eval $ac_link) 2>&5
25378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25379 (exit $ac_status); } &&
25380 { ac_try='test -s conftest$ac_exeext'
25381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25382 (eval $ac_try) 2>&5
25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25385 (exit $ac_status); }; }; then
25387 echo "$as_me:$LINENO: result: yes" >&5
25388 echo "${ECHO_T}yes" >&6
25389 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25392 echo "$as_me: failed program was:" >&5
25393 sed 's/^/| /' conftest.$ac_ext >&5
25396 echo "$as_me:$LINENO: result: no" >&5
25397 echo "${ECHO_T}no" >&6
25398 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25399 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25400 LDFLAGS="$saveLdflags -Wl,-R,/"
25401 cat >conftest.$ac_ext <<_ACEOF
25402 #line $LINENO "configure"
25405 cat confdefs.h >>conftest.$ac_ext
25406 cat >>conftest.$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25417 rm -f conftest.$ac_objext conftest$ac_exeext
25418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25419 (eval $ac_link) 2>&5
25421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25422 (exit $ac_status); } &&
25423 { ac_try='test -s conftest$ac_exeext'
25424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25425 (eval $ac_try) 2>&5
25427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25428 (exit $ac_status); }; }; then
25430 echo "$as_me:$LINENO: result: yes" >&5
25431 echo "${ECHO_T}yes" >&6
25432 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25434 echo "$as_me: failed program was:" >&5
25435 sed 's/^/| /' conftest.$ac_ext >&5
25438 echo "$as_me:$LINENO: result: no" >&5
25439 echo "${ECHO_T}no" >&6
25442 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25445 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25446 LDFLAGS="$saveLdflags"
25448 SHARED_LD="${CXX} -G -o"
25450 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25454 powerpc-*-darwin* )
25455 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25456 cat <<EOF >change-install-names
25458 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25459 inst_cmd="install_name_tool "
25460 for i in \${libnames} ; do
25461 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25465 chmod +x change-install-names
25470 if test "x$WX_TARGET_LIBRARY" = "x"; then
25471 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25472 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25475 WX_TARGET_LIBRARY_TYPE="so"
25476 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25479 if test "$wxUSE_SHARED" = "no"; then
25481 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25482 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25485 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25486 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25489 if test "$wxUSE_OPENGL" = "yes"; then
25490 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25491 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25493 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25496 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25497 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25499 WX_TARGET_LIBRARY_TYPE="a"
25500 INSTALL_LIBRARY='$(INSTALL_DATA)'
25510 if test "$wxUSE_MAC" = 1; then
25511 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25512 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25513 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25514 # Extract the first word of "Rez", so it can be a program name with args.
25515 set dummy Rez; ac_word=$2
25516 echo "$as_me:$LINENO: checking for $ac_word" >&5
25517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25518 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25519 echo $ECHO_N "(cached) $ECHO_C" >&6
25521 if test -n "$RESCOMP"; then
25522 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25525 for as_dir in $PATH
25528 test -z "$as_dir" && as_dir=.
25529 for ac_exec_ext in '' $ac_executable_extensions; do
25530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25531 ac_cv_prog_RESCOMP="Rez"
25532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25538 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25541 RESCOMP=$ac_cv_prog_RESCOMP
25542 if test -n "$RESCOMP"; then
25543 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25544 echo "${ECHO_T}$RESCOMP" >&6
25546 echo "$as_me:$LINENO: result: no" >&5
25547 echo "${ECHO_T}no" >&6
25550 # Extract the first word of "DeRez", so it can be a program name with args.
25551 set dummy DeRez; ac_word=$2
25552 echo "$as_me:$LINENO: checking for $ac_word" >&5
25553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25554 if test "${ac_cv_prog_DEREZ+set}" = set; then
25555 echo $ECHO_N "(cached) $ECHO_C" >&6
25557 if test -n "$DEREZ"; then
25558 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25561 for as_dir in $PATH
25564 test -z "$as_dir" && as_dir=.
25565 for ac_exec_ext in '' $ac_executable_extensions; do
25566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25567 ac_cv_prog_DEREZ="DeRez"
25568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25574 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25577 DEREZ=$ac_cv_prog_DEREZ
25578 if test -n "$DEREZ"; then
25579 echo "$as_me:$LINENO: result: $DEREZ" >&5
25580 echo "${ECHO_T}$DEREZ" >&6
25582 echo "$as_me:$LINENO: result: no" >&5
25583 echo "${ECHO_T}no" >&6
25586 # Extract the first word of "SetFile", so it can be a program name with args.
25587 set dummy SetFile; ac_word=$2
25588 echo "$as_me:$LINENO: checking for $ac_word" >&5
25589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25590 if test "${ac_cv_prog_SETFILE+set}" = set; then
25591 echo $ECHO_N "(cached) $ECHO_C" >&6
25593 if test -n "$SETFILE"; then
25594 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25597 for as_dir in $PATH
25600 test -z "$as_dir" && as_dir=.
25601 for ac_exec_ext in '' $ac_executable_extensions; do
25602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25603 ac_cv_prog_SETFILE="SetFile"
25604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25610 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25613 SETFILE=$ac_cv_prog_SETFILE
25614 if test -n "$SETFILE"; then
25615 echo "$as_me:$LINENO: result: $SETFILE" >&5
25616 echo "${ECHO_T}$SETFILE" >&6
25618 echo "$as_me:$LINENO: result: no" >&5
25619 echo "${ECHO_T}no" >&6
25622 MACOSX_BUNDLE="bundle"
25623 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25624 MACSETFILE="\$(SETFILE)"
25625 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25626 elif test "$wxUSE_COCOA" = 1; then
25627 # Extract the first word of "Rez", so it can be a program name with args.
25628 set dummy Rez; ac_word=$2
25629 echo "$as_me:$LINENO: checking for $ac_word" >&5
25630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25631 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25632 echo $ECHO_N "(cached) $ECHO_C" >&6
25634 if test -n "$RESCOMP"; then
25635 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25638 for as_dir in $PATH
25641 test -z "$as_dir" && as_dir=.
25642 for ac_exec_ext in '' $ac_executable_extensions; do
25643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25644 ac_cv_prog_RESCOMP="Rez"
25645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25651 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25654 RESCOMP=$ac_cv_prog_RESCOMP
25655 if test -n "$RESCOMP"; then
25656 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25657 echo "${ECHO_T}$RESCOMP" >&6
25659 echo "$as_me:$LINENO: result: no" >&5
25660 echo "${ECHO_T}no" >&6
25663 # Extract the first word of "DeRez", so it can be a program name with args.
25664 set dummy DeRez; ac_word=$2
25665 echo "$as_me:$LINENO: checking for $ac_word" >&5
25666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25667 if test "${ac_cv_prog_DEREZ+set}" = set; then
25668 echo $ECHO_N "(cached) $ECHO_C" >&6
25670 if test -n "$DEREZ"; then
25671 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25674 for as_dir in $PATH
25677 test -z "$as_dir" && as_dir=.
25678 for ac_exec_ext in '' $ac_executable_extensions; do
25679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25680 ac_cv_prog_DEREZ="DeRez"
25681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25687 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25690 DEREZ=$ac_cv_prog_DEREZ
25691 if test -n "$DEREZ"; then
25692 echo "$as_me:$LINENO: result: $DEREZ" >&5
25693 echo "${ECHO_T}$DEREZ" >&6
25695 echo "$as_me:$LINENO: result: no" >&5
25696 echo "${ECHO_T}no" >&6
25699 # Extract the first word of "SetFile", so it can be a program name with args.
25700 set dummy SetFile; ac_word=$2
25701 echo "$as_me:$LINENO: checking for $ac_word" >&5
25702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25703 if test "${ac_cv_prog_SETFILE+set}" = set; then
25704 echo $ECHO_N "(cached) $ECHO_C" >&6
25706 if test -n "$SETFILE"; then
25707 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25710 for as_dir in $PATH
25713 test -z "$as_dir" && as_dir=.
25714 for ac_exec_ext in '' $ac_executable_extensions; do
25715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25716 ac_cv_prog_SETFILE="SetFile"
25717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25723 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25726 SETFILE=$ac_cv_prog_SETFILE
25727 if test -n "$SETFILE"; then
25728 echo "$as_me:$LINENO: result: $SETFILE" >&5
25729 echo "${ECHO_T}$SETFILE" >&6
25731 echo "$as_me:$LINENO: result: no" >&5
25732 echo "${ECHO_T}no" >&6
25735 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25736 MACSETFILE="\$(SETFILE)"
25737 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25739 if test "$wxUSE_PM" = 1; then
25740 MACRESCOMP="emxbind -ep"
25745 echo "$as_me:$LINENO: checking for mode_t" >&5
25746 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25747 if test "${ac_cv_type_mode_t+set}" = set; then
25748 echo $ECHO_N "(cached) $ECHO_C" >&6
25750 cat >conftest.$ac_ext <<_ACEOF
25751 #line $LINENO "configure"
25754 cat confdefs.h >>conftest.$ac_ext
25755 cat >>conftest.$ac_ext <<_ACEOF
25756 /* end confdefs.h. */
25757 $ac_includes_default
25763 if (sizeof (mode_t))
25769 rm -f conftest.$ac_objext
25770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25771 (eval $ac_compile) 2>&5
25773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25774 (exit $ac_status); } &&
25775 { ac_try='test -s conftest.$ac_objext'
25776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25777 (eval $ac_try) 2>&5
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); }; }; then
25781 ac_cv_type_mode_t=yes
25783 echo "$as_me: failed program was:" >&5
25784 sed 's/^/| /' conftest.$ac_ext >&5
25786 ac_cv_type_mode_t=no
25788 rm -f conftest.$ac_objext conftest.$ac_ext
25790 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25791 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25792 if test $ac_cv_type_mode_t = yes; then
25796 cat >>confdefs.h <<_ACEOF
25802 echo "$as_me:$LINENO: checking for off_t" >&5
25803 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25804 if test "${ac_cv_type_off_t+set}" = set; then
25805 echo $ECHO_N "(cached) $ECHO_C" >&6
25807 cat >conftest.$ac_ext <<_ACEOF
25808 #line $LINENO "configure"
25811 cat confdefs.h >>conftest.$ac_ext
25812 cat >>conftest.$ac_ext <<_ACEOF
25813 /* end confdefs.h. */
25814 $ac_includes_default
25820 if (sizeof (off_t))
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_cv_type_off_t=yes
25840 echo "$as_me: failed program was:" >&5
25841 sed 's/^/| /' conftest.$ac_ext >&5
25843 ac_cv_type_off_t=no
25845 rm -f conftest.$ac_objext conftest.$ac_ext
25847 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25848 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25849 if test $ac_cv_type_off_t = yes; then
25853 cat >>confdefs.h <<_ACEOF
25859 echo "$as_me:$LINENO: checking for pid_t" >&5
25860 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25861 if test "${ac_cv_type_pid_t+set}" = set; then
25862 echo $ECHO_N "(cached) $ECHO_C" >&6
25864 cat >conftest.$ac_ext <<_ACEOF
25865 #line $LINENO "configure"
25868 cat confdefs.h >>conftest.$ac_ext
25869 cat >>conftest.$ac_ext <<_ACEOF
25870 /* end confdefs.h. */
25871 $ac_includes_default
25877 if (sizeof (pid_t))
25883 rm -f conftest.$ac_objext
25884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25885 (eval $ac_compile) 2>&5
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); } &&
25889 { ac_try='test -s conftest.$ac_objext'
25890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25891 (eval $ac_try) 2>&5
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); }; }; then
25895 ac_cv_type_pid_t=yes
25897 echo "$as_me: failed program was:" >&5
25898 sed 's/^/| /' conftest.$ac_ext >&5
25900 ac_cv_type_pid_t=no
25902 rm -f conftest.$ac_objext conftest.$ac_ext
25904 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25905 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25906 if test $ac_cv_type_pid_t = yes; then
25910 cat >>confdefs.h <<_ACEOF
25916 echo "$as_me:$LINENO: checking for size_t" >&5
25917 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25918 if test "${ac_cv_type_size_t+set}" = set; then
25919 echo $ECHO_N "(cached) $ECHO_C" >&6
25921 cat >conftest.$ac_ext <<_ACEOF
25922 #line $LINENO "configure"
25925 cat confdefs.h >>conftest.$ac_ext
25926 cat >>conftest.$ac_ext <<_ACEOF
25927 /* end confdefs.h. */
25928 $ac_includes_default
25934 if (sizeof (size_t))
25940 rm -f conftest.$ac_objext
25941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25942 (eval $ac_compile) 2>&5
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); } &&
25946 { ac_try='test -s conftest.$ac_objext'
25947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25948 (eval $ac_try) 2>&5
25950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25951 (exit $ac_status); }; }; then
25952 ac_cv_type_size_t=yes
25954 echo "$as_me: failed program was:" >&5
25955 sed 's/^/| /' conftest.$ac_ext >&5
25957 ac_cv_type_size_t=no
25959 rm -f conftest.$ac_objext conftest.$ac_ext
25961 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25962 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25963 if test $ac_cv_type_size_t = yes; then
25967 cat >>confdefs.h <<_ACEOF
25968 #define size_t unsigned
25973 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25974 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25975 if test "${ac_cv_type_uid_t+set}" = set; then
25976 echo $ECHO_N "(cached) $ECHO_C" >&6
25978 cat >conftest.$ac_ext <<_ACEOF
25979 #line $LINENO "configure"
25982 cat confdefs.h >>conftest.$ac_ext
25983 cat >>conftest.$ac_ext <<_ACEOF
25984 /* end confdefs.h. */
25985 #include <sys/types.h>
25988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25989 $EGREP "uid_t" >/dev/null 2>&1; then
25990 ac_cv_type_uid_t=yes
25992 ac_cv_type_uid_t=no
25997 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25998 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25999 if test $ac_cv_type_uid_t = no; then
26001 cat >>confdefs.h <<\_ACEOF
26006 cat >>confdefs.h <<\_ACEOF
26016 ac_cpp='$CXXCPP $CPPFLAGS'
26017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26021 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26022 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26023 if test "${wx_cv_size_t_is_uint+set}" = set; then
26024 echo $ECHO_N "(cached) $ECHO_C" >&6
26027 cat >conftest.$ac_ext <<_ACEOF
26028 #line $LINENO "configure"
26031 cat confdefs.h >>conftest.$ac_ext
26032 cat >>conftest.$ac_ext <<_ACEOF
26033 /* end confdefs.h. */
26034 #include <stddef.h>
26041 struct Foo { void foo(size_t); void foo(unsigned int); };
26049 rm -f conftest.$ac_objext
26050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26051 (eval $ac_compile) 2>&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); } &&
26055 { ac_try='test -s conftest.$ac_objext'
26056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26057 (eval $ac_try) 2>&5
26059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26060 (exit $ac_status); }; }; then
26061 wx_cv_size_t_is_uint=no
26063 echo "$as_me: failed program was:" >&5
26064 sed 's/^/| /' conftest.$ac_ext >&5
26066 wx_cv_size_t_is_uint=yes
26069 rm -f conftest.$ac_objext conftest.$ac_ext
26073 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26074 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26076 if test "$wx_cv_size_t_is_uint" = "yes"; then
26077 cat >>confdefs.h <<\_ACEOF
26078 #define wxSIZE_T_IS_UINT 1
26082 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26083 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26084 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26085 echo $ECHO_N "(cached) $ECHO_C" >&6
26087 cat >conftest.$ac_ext <<_ACEOF
26088 #line $LINENO "configure"
26091 cat confdefs.h >>conftest.$ac_ext
26092 cat >>conftest.$ac_ext <<_ACEOF
26093 /* end confdefs.h. */
26094 #include <stddef.h>
26101 struct Foo { void foo(size_t); void foo(unsigned long); };
26109 rm -f conftest.$ac_objext
26110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26111 (eval $ac_compile) 2>&5
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); } &&
26115 { ac_try='test -s conftest.$ac_objext'
26116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26117 (eval $ac_try) 2>&5
26119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120 (exit $ac_status); }; }; then
26121 wx_cv_size_t_is_ulong=no
26123 echo "$as_me: failed program was:" >&5
26124 sed 's/^/| /' conftest.$ac_ext >&5
26126 wx_cv_size_t_is_ulong=yes
26129 rm -f conftest.$ac_objext conftest.$ac_ext
26132 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26133 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26135 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26136 cat >>confdefs.h <<\_ACEOF
26137 #define wxSIZE_T_IS_ULONG 1
26144 ac_cpp='$CPP $CPPFLAGS'
26145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26151 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26152 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26153 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26154 echo $ECHO_N "(cached) $ECHO_C" >&6
26157 cat >conftest.$ac_ext <<_ACEOF
26158 #line $LINENO "configure"
26161 cat confdefs.h >>conftest.$ac_ext
26162 cat >>conftest.$ac_ext <<_ACEOF
26163 /* end confdefs.h. */
26177 rm -f conftest.$ac_objext
26178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26179 (eval $ac_compile) 2>&5
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } &&
26183 { ac_try='test -s conftest.$ac_objext'
26184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26185 (eval $ac_try) 2>&5
26187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26188 (exit $ac_status); }; }; then
26190 wx_cv_struct_pw_gecos=yes
26193 echo "$as_me: failed program was:" >&5
26194 sed 's/^/| /' conftest.$ac_ext >&5
26197 wx_cv_struct_pw_gecos=no
26201 rm -f conftest.$ac_objext conftest.$ac_ext
26205 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26206 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26208 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26209 cat >>confdefs.h <<\_ACEOF
26210 #define HAVE_PW_GECOS 1
26216 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26217 cat >>confdefs.h <<\_ACEOF
26218 #define wxUSE_WCHAR_T 1
26225 for ac_func in wcslen
26227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26228 echo "$as_me:$LINENO: checking for $ac_func" >&5
26229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26230 if eval "test \"\${$as_ac_var+set}\" = set"; then
26231 echo $ECHO_N "(cached) $ECHO_C" >&6
26233 cat >conftest.$ac_ext <<_ACEOF
26234 #line $LINENO "configure"
26237 cat confdefs.h >>conftest.$ac_ext
26238 cat >>conftest.$ac_ext <<_ACEOF
26239 /* end confdefs.h. */
26240 /* System header to define __stub macros and hopefully few prototypes,
26241 which can conflict with char $ac_func (); below.
26242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26243 <limits.h> exists even on freestanding compilers. */
26245 # include <limits.h>
26247 # include <assert.h>
26249 /* Override any gcc2 internal prototype to avoid an error. */
26254 /* We use char because int might match the return type of a gcc2
26255 builtin and then its argument prototype would still apply. */
26257 /* The GNU C library defines this for functions which it implements
26258 to always fail with ENOSYS. Some functions are actually named
26259 something starting with __ and the normal name is an alias. */
26260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26263 char (*f) () = $ac_func;
26272 return f != $ac_func;
26277 rm -f conftest.$ac_objext conftest$ac_exeext
26278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26279 (eval $ac_link) 2>&5
26281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282 (exit $ac_status); } &&
26283 { ac_try='test -s conftest$ac_exeext'
26284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26285 (eval $ac_try) 2>&5
26287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26288 (exit $ac_status); }; }; then
26289 eval "$as_ac_var=yes"
26291 echo "$as_me: failed program was:" >&5
26292 sed 's/^/| /' conftest.$ac_ext >&5
26294 eval "$as_ac_var=no"
26296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26300 if test `eval echo '${'$as_ac_var'}'` = yes; then
26301 cat >>confdefs.h <<_ACEOF
26302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26309 if test "$WCSLEN_FOUND" = 0; then
26310 if test "$TOOLKIT" = "MSW"; then
26311 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26312 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26313 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26314 echo $ECHO_N "(cached) $ECHO_C" >&6
26316 ac_check_lib_save_LIBS=$LIBS
26317 LIBS="-lmsvcrt $LIBS"
26318 cat >conftest.$ac_ext <<_ACEOF
26319 #line $LINENO "configure"
26322 cat confdefs.h >>conftest.$ac_ext
26323 cat >>conftest.$ac_ext <<_ACEOF
26324 /* end confdefs.h. */
26326 /* Override any gcc2 internal prototype to avoid an error. */
26330 /* We use char because int might match the return type of a gcc2
26331 builtin and then its argument prototype would still apply. */
26341 rm -f conftest.$ac_objext conftest$ac_exeext
26342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26343 (eval $ac_link) 2>&5
26345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26346 (exit $ac_status); } &&
26347 { ac_try='test -s conftest$ac_exeext'
26348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26349 (eval $ac_try) 2>&5
26351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352 (exit $ac_status); }; }; then
26353 ac_cv_lib_msvcrt_wcslen=yes
26355 echo "$as_me: failed program was:" >&5
26356 sed 's/^/| /' conftest.$ac_ext >&5
26358 ac_cv_lib_msvcrt_wcslen=no
26360 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26361 LIBS=$ac_check_lib_save_LIBS
26363 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26364 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26365 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26370 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26371 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26372 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26373 echo $ECHO_N "(cached) $ECHO_C" >&6
26375 ac_check_lib_save_LIBS=$LIBS
26377 cat >conftest.$ac_ext <<_ACEOF
26378 #line $LINENO "configure"
26381 cat confdefs.h >>conftest.$ac_ext
26382 cat >>conftest.$ac_ext <<_ACEOF
26383 /* end confdefs.h. */
26385 /* Override any gcc2 internal prototype to avoid an error. */
26389 /* We use char because int might match the return type of a gcc2
26390 builtin and then its argument prototype would still apply. */
26400 rm -f conftest.$ac_objext conftest$ac_exeext
26401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26402 (eval $ac_link) 2>&5
26404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26405 (exit $ac_status); } &&
26406 { ac_try='test -s conftest$ac_exeext'
26407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26408 (eval $ac_try) 2>&5
26410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 (exit $ac_status); }; }; then
26412 ac_cv_lib_w_wcslen=yes
26414 echo "$as_me: failed program was:" >&5
26415 sed 's/^/| /' conftest.$ac_ext >&5
26417 ac_cv_lib_w_wcslen=no
26419 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26420 LIBS=$ac_check_lib_save_LIBS
26422 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26423 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26424 if test $ac_cv_lib_w_wcslen = yes; then
26434 if test "$WCSLEN_FOUND" = 1; then
26435 cat >>confdefs.h <<\_ACEOF
26436 #define HAVE_WCSLEN 1
26442 for ac_func in wcsrtombs
26444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26445 echo "$as_me:$LINENO: checking for $ac_func" >&5
26446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26447 if eval "test \"\${$as_ac_var+set}\" = set"; then
26448 echo $ECHO_N "(cached) $ECHO_C" >&6
26450 cat >conftest.$ac_ext <<_ACEOF
26451 #line $LINENO "configure"
26454 cat confdefs.h >>conftest.$ac_ext
26455 cat >>conftest.$ac_ext <<_ACEOF
26456 /* end confdefs.h. */
26457 /* System header to define __stub macros and hopefully few prototypes,
26458 which can conflict with char $ac_func (); below.
26459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26460 <limits.h> exists even on freestanding compilers. */
26462 # include <limits.h>
26464 # include <assert.h>
26466 /* Override any gcc2 internal prototype to avoid an error. */
26471 /* We use char because int might match the return type of a gcc2
26472 builtin and then its argument prototype would still apply. */
26474 /* The GNU C library defines this for functions which it implements
26475 to always fail with ENOSYS. Some functions are actually named
26476 something starting with __ and the normal name is an alias. */
26477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26480 char (*f) () = $ac_func;
26489 return f != $ac_func;
26494 rm -f conftest.$ac_objext conftest$ac_exeext
26495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26496 (eval $ac_link) 2>&5
26498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26499 (exit $ac_status); } &&
26500 { ac_try='test -s conftest$ac_exeext'
26501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26502 (eval $ac_try) 2>&5
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); }; }; then
26506 eval "$as_ac_var=yes"
26508 echo "$as_me: failed program was:" >&5
26509 sed 's/^/| /' conftest.$ac_ext >&5
26511 eval "$as_ac_var=no"
26513 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26517 if test `eval echo '${'$as_ac_var'}'` = yes; then
26518 cat >>confdefs.h <<_ACEOF
26519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26526 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26527 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26533 ac_cpp='$CXXCPP $CPPFLAGS'
26534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26540 for ac_func in vsnprintf
26542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26543 echo "$as_me:$LINENO: checking for $ac_func" >&5
26544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26545 if eval "test \"\${$as_ac_var+set}\" = set"; then
26546 echo $ECHO_N "(cached) $ECHO_C" >&6
26548 cat >conftest.$ac_ext <<_ACEOF
26549 #line $LINENO "configure"
26552 cat confdefs.h >>conftest.$ac_ext
26553 cat >>conftest.$ac_ext <<_ACEOF
26554 /* end confdefs.h. */
26555 /* System header to define __stub macros and hopefully few prototypes,
26556 which can conflict with char $ac_func (); below.
26557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26558 <limits.h> exists even on freestanding compilers. */
26560 # include <limits.h>
26562 # include <assert.h>
26564 /* Override any gcc2 internal prototype to avoid an error. */
26569 /* We use char because int might match the return type of a gcc2
26570 builtin and then its argument prototype would still apply. */
26572 /* The GNU C library defines this for functions which it implements
26573 to always fail with ENOSYS. Some functions are actually named
26574 something starting with __ and the normal name is an alias. */
26575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26578 char (*f) () = $ac_func;
26587 return f != $ac_func;
26592 rm -f conftest.$ac_objext conftest$ac_exeext
26593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26594 (eval $ac_link) 2>&5
26596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26597 (exit $ac_status); } &&
26598 { ac_try='test -s conftest$ac_exeext'
26599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26600 (eval $ac_try) 2>&5
26602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26603 (exit $ac_status); }; }; then
26604 eval "$as_ac_var=yes"
26606 echo "$as_me: failed program was:" >&5
26607 sed 's/^/| /' conftest.$ac_ext >&5
26609 eval "$as_ac_var=no"
26611 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26615 if test `eval echo '${'$as_ac_var'}'` = yes; then
26616 cat >>confdefs.h <<_ACEOF
26617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26624 if test "$ac_cv_func_vsnprintf" = "yes"; then
26625 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26626 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26627 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26628 echo $ECHO_N "(cached) $ECHO_C" >&6
26631 cat >conftest.$ac_ext <<_ACEOF
26632 #line $LINENO "configure"
26635 cat confdefs.h >>conftest.$ac_ext
26636 cat >>conftest.$ac_ext <<_ACEOF
26637 /* end confdefs.h. */
26640 #include <stdarg.h>
26648 vsnprintf(buf, 10u, "%s", ap);
26654 rm -f conftest.$ac_objext
26655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26656 (eval $ac_compile) 2>&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); } &&
26660 { ac_try='test -s conftest.$ac_objext'
26661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26662 (eval $ac_try) 2>&5
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); }; }; then
26666 wx_cv_func_vsnprintf_decl=yes
26668 echo "$as_me: failed program was:" >&5
26669 sed 's/^/| /' conftest.$ac_ext >&5
26671 wx_cv_func_vsnprintf_decl=no
26674 rm -f conftest.$ac_objext conftest.$ac_ext
26678 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26679 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26681 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26682 cat >>confdefs.h <<\_ACEOF
26683 #define HAVE_VSNPRINTF_DECL 1
26689 if test "$wxUSE_UNICODE" = yes; then
26693 for ac_func in fputwc wprintf vswprintf
26695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26696 echo "$as_me:$LINENO: checking for $ac_func" >&5
26697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26698 if eval "test \"\${$as_ac_var+set}\" = set"; then
26699 echo $ECHO_N "(cached) $ECHO_C" >&6
26701 cat >conftest.$ac_ext <<_ACEOF
26702 #line $LINENO "configure"
26705 cat confdefs.h >>conftest.$ac_ext
26706 cat >>conftest.$ac_ext <<_ACEOF
26707 /* end confdefs.h. */
26708 /* System header to define __stub macros and hopefully few prototypes,
26709 which can conflict with char $ac_func (); below.
26710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26711 <limits.h> exists even on freestanding compilers. */
26713 # include <limits.h>
26715 # include <assert.h>
26717 /* Override any gcc2 internal prototype to avoid an error. */
26722 /* We use char because int might match the return type of a gcc2
26723 builtin and then its argument prototype would still apply. */
26725 /* The GNU C library defines this for functions which it implements
26726 to always fail with ENOSYS. Some functions are actually named
26727 something starting with __ and the normal name is an alias. */
26728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26731 char (*f) () = $ac_func;
26740 return f != $ac_func;
26745 rm -f conftest.$ac_objext conftest$ac_exeext
26746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26747 (eval $ac_link) 2>&5
26749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26750 (exit $ac_status); } &&
26751 { ac_try='test -s conftest$ac_exeext'
26752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26753 (eval $ac_try) 2>&5
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); }; }; then
26757 eval "$as_ac_var=yes"
26759 echo "$as_me: failed program was:" >&5
26760 sed 's/^/| /' conftest.$ac_ext >&5
26762 eval "$as_ac_var=no"
26764 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26768 if test `eval echo '${'$as_ac_var'}'` = yes; then
26769 cat >>confdefs.h <<_ACEOF
26770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26777 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26778 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26779 cat >conftest.$ac_ext <<_ACEOF
26780 #line $LINENO "configure"
26783 cat confdefs.h >>conftest.$ac_ext
26784 cat >>conftest.$ac_ext <<_ACEOF
26785 /* end confdefs.h. */
26795 rm -f conftest.$ac_objext
26796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26797 (eval $ac_compile) 2>&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); } &&
26801 { ac_try='test -s conftest.$ac_objext'
26802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26803 (eval $ac_try) 2>&5
26805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26806 (exit $ac_status); }; }; then
26807 echo "$as_me:$LINENO: result: yes" >&5
26808 echo "${ECHO_T}yes" >&6
26809 cat >>confdefs.h <<\_ACEOF
26810 #define HAVE__VSNWPRINTF 1
26814 echo "$as_me: failed program was:" >&5
26815 sed 's/^/| /' conftest.$ac_ext >&5
26817 echo "$as_me:$LINENO: result: no" >&5
26818 echo "${ECHO_T}no" >&6
26820 rm -f conftest.$ac_objext conftest.$ac_ext;
26824 ac_cpp='$CPP $CPPFLAGS'
26825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26832 if test "$TOOLKIT" != "MSW"; then
26838 ac_cpp='$CXXCPP $CPPFLAGS'
26839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26846 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26847 if test "${with_libiconv_prefix+set}" = set; then
26848 withval="$with_libiconv_prefix"
26850 for dir in `echo "$withval" | tr : ' '`; do
26851 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26852 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26857 echo "$as_me:$LINENO: checking for iconv" >&5
26858 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26859 if test "${am_cv_func_iconv+set}" = set; then
26860 echo $ECHO_N "(cached) $ECHO_C" >&6
26863 am_cv_func_iconv="no, consider installing GNU libiconv"
26865 cat >conftest.$ac_ext <<_ACEOF
26866 #line $LINENO "configure"
26869 cat confdefs.h >>conftest.$ac_ext
26870 cat >>conftest.$ac_ext <<_ACEOF
26871 /* end confdefs.h. */
26872 #include <stdlib.h>
26877 iconv_t cd = iconv_open("","");
26878 iconv(cd,NULL,NULL,NULL,NULL);
26884 rm -f conftest.$ac_objext conftest$ac_exeext
26885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26886 (eval $ac_link) 2>&5
26888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889 (exit $ac_status); } &&
26890 { ac_try='test -s conftest$ac_exeext'
26891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26892 (eval $ac_try) 2>&5
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); }; }; then
26896 am_cv_func_iconv=yes
26898 echo "$as_me: failed program was:" >&5
26899 sed 's/^/| /' conftest.$ac_ext >&5
26902 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26903 if test "$am_cv_func_iconv" != yes; then
26904 am_save_LIBS="$LIBS"
26905 LIBS="$LIBS -liconv"
26906 cat >conftest.$ac_ext <<_ACEOF
26907 #line $LINENO "configure"
26910 cat confdefs.h >>conftest.$ac_ext
26911 cat >>conftest.$ac_ext <<_ACEOF
26912 /* end confdefs.h. */
26913 #include <stdlib.h>
26918 iconv_t cd = iconv_open("","");
26919 iconv(cd,NULL,NULL,NULL,NULL);
26925 rm -f conftest.$ac_objext conftest$ac_exeext
26926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26927 (eval $ac_link) 2>&5
26929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26930 (exit $ac_status); } &&
26931 { ac_try='test -s conftest$ac_exeext'
26932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26933 (eval $ac_try) 2>&5
26935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26936 (exit $ac_status); }; }; then
26937 am_cv_lib_iconv=yes
26938 am_cv_func_iconv=yes
26940 echo "$as_me: failed program was:" >&5
26941 sed 's/^/| /' conftest.$ac_ext >&5
26944 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26945 LIBS="$am_save_LIBS"
26949 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26950 echo "${ECHO_T}$am_cv_func_iconv" >&6
26951 if test "$am_cv_func_iconv" = yes; then
26953 cat >>confdefs.h <<\_ACEOF
26954 #define HAVE_ICONV 1
26957 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26958 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26959 if test "${wx_cv_func_iconv_const+set}" = set; then
26960 echo $ECHO_N "(cached) $ECHO_C" >&6
26962 cat >conftest.$ac_ext <<_ACEOF
26963 #line $LINENO "configure"
26966 cat confdefs.h >>conftest.$ac_ext
26967 cat >>conftest.$ac_ext <<_ACEOF
26968 /* end confdefs.h. */
26970 #include <stdlib.h>
26976 #if defined(__STDC__) || defined(__cplusplus)
26977 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26990 rm -f conftest.$ac_objext
26991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26992 (eval $ac_compile) 2>&5
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); } &&
26996 { ac_try='test -s conftest.$ac_objext'
26997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26998 (eval $ac_try) 2>&5
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); }; }; then
27002 wx_cv_func_iconv_const="no"
27004 echo "$as_me: failed program was:" >&5
27005 sed 's/^/| /' conftest.$ac_ext >&5
27007 wx_cv_func_iconv_const="yes"
27010 rm -f conftest.$ac_objext conftest.$ac_ext
27013 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27014 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27017 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27018 iconv_const="const"
27022 cat >>confdefs.h <<_ACEOF
27023 #define ICONV_CONST $iconv_const
27028 if test "$am_cv_lib_iconv" = yes; then
27033 LIBS="$LIBICONV $LIBS"
27035 ac_cpp='$CPP $CPPFLAGS'
27036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27041 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27043 for ac_func in sigaction
27045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27046 echo "$as_me:$LINENO: checking for $ac_func" >&5
27047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27048 if eval "test \"\${$as_ac_var+set}\" = set"; then
27049 echo $ECHO_N "(cached) $ECHO_C" >&6
27051 cat >conftest.$ac_ext <<_ACEOF
27052 #line $LINENO "configure"
27055 cat confdefs.h >>conftest.$ac_ext
27056 cat >>conftest.$ac_ext <<_ACEOF
27057 /* end confdefs.h. */
27058 /* System header to define __stub macros and hopefully few prototypes,
27059 which can conflict with char $ac_func (); below.
27060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27061 <limits.h> exists even on freestanding compilers. */
27063 # include <limits.h>
27065 # include <assert.h>
27067 /* Override any gcc2 internal prototype to avoid an error. */
27072 /* We use char because int might match the return type of a gcc2
27073 builtin and then its argument prototype would still apply. */
27075 /* The GNU C library defines this for functions which it implements
27076 to always fail with ENOSYS. Some functions are actually named
27077 something starting with __ and the normal name is an alias. */
27078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27081 char (*f) () = $ac_func;
27090 return f != $ac_func;
27095 rm -f conftest.$ac_objext conftest$ac_exeext
27096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27097 (eval $ac_link) 2>&5
27099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27100 (exit $ac_status); } &&
27101 { ac_try='test -s conftest$ac_exeext'
27102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27103 (eval $ac_try) 2>&5
27105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27106 (exit $ac_status); }; }; then
27107 eval "$as_ac_var=yes"
27109 echo "$as_me: failed program was:" >&5
27110 sed 's/^/| /' conftest.$ac_ext >&5
27112 eval "$as_ac_var=no"
27114 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27118 if test `eval echo '${'$as_ac_var'}'` = yes; then
27119 cat >>confdefs.h <<_ACEOF
27120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27127 if test "$ac_cv_func_sigaction" = "no"; then
27128 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27129 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27130 wxUSE_ON_FATAL_EXCEPTION=no
27133 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27137 ac_cpp='$CXXCPP $CPPFLAGS'
27138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27143 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27144 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27145 if test "${wx_cv_type_sa_handler+set}" = set; then
27146 echo $ECHO_N "(cached) $ECHO_C" >&6
27149 cat >conftest.$ac_ext <<_ACEOF
27150 #line $LINENO "configure"
27153 cat confdefs.h >>conftest.$ac_ext
27154 cat >>conftest.$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156 #include <signal.h>
27161 extern void testSigHandler(int);
27163 struct sigaction sa;
27164 sa.sa_handler = testSigHandler;
27170 rm -f conftest.$ac_objext
27171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27172 (eval $ac_compile) 2>&5
27174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27175 (exit $ac_status); } &&
27176 { ac_try='test -s conftest.$ac_objext'
27177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27178 (eval $ac_try) 2>&5
27180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27181 (exit $ac_status); }; }; then
27183 wx_cv_type_sa_handler=int
27186 echo "$as_me: failed program was:" >&5
27187 sed 's/^/| /' conftest.$ac_ext >&5
27190 wx_cv_type_sa_handler=void
27193 rm -f conftest.$ac_objext conftest.$ac_ext
27196 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27197 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27200 ac_cpp='$CPP $CPPFLAGS'
27201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27206 cat >>confdefs.h <<_ACEOF
27207 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27215 for ac_func in mkstemp mktemp
27217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27218 echo "$as_me:$LINENO: checking for $ac_func" >&5
27219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27220 if eval "test \"\${$as_ac_var+set}\" = set"; then
27221 echo $ECHO_N "(cached) $ECHO_C" >&6
27223 cat >conftest.$ac_ext <<_ACEOF
27224 #line $LINENO "configure"
27227 cat confdefs.h >>conftest.$ac_ext
27228 cat >>conftest.$ac_ext <<_ACEOF
27229 /* end confdefs.h. */
27230 /* System header to define __stub macros and hopefully few prototypes,
27231 which can conflict with char $ac_func (); below.
27232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27233 <limits.h> exists even on freestanding compilers. */
27235 # include <limits.h>
27237 # include <assert.h>
27239 /* Override any gcc2 internal prototype to avoid an error. */
27244 /* We use char because int might match the return type of a gcc2
27245 builtin and then its argument prototype would still apply. */
27247 /* The GNU C library defines this for functions which it implements
27248 to always fail with ENOSYS. Some functions are actually named
27249 something starting with __ and the normal name is an alias. */
27250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27253 char (*f) () = $ac_func;
27262 return f != $ac_func;
27267 rm -f conftest.$ac_objext conftest$ac_exeext
27268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27269 (eval $ac_link) 2>&5
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); } &&
27273 { ac_try='test -s conftest$ac_exeext'
27274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27275 (eval $ac_try) 2>&5
27277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27278 (exit $ac_status); }; }; then
27279 eval "$as_ac_var=yes"
27281 echo "$as_me: failed program was:" >&5
27282 sed 's/^/| /' conftest.$ac_ext >&5
27284 eval "$as_ac_var=no"
27286 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27290 if test `eval echo '${'$as_ac_var'}'` = yes; then
27291 cat >>confdefs.h <<_ACEOF
27292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27299 echo "$as_me:$LINENO: checking for statfs" >&5
27300 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27301 if test "${wx_cv_func_statfs+set}" = set; then
27302 echo $ECHO_N "(cached) $ECHO_C" >&6
27304 cat >conftest.$ac_ext <<_ACEOF
27305 #line $LINENO "configure"
27308 cat confdefs.h >>conftest.$ac_ext
27309 cat >>conftest.$ac_ext <<_ACEOF
27310 /* end confdefs.h. */
27312 #if defined(__BSD__)
27313 #include <sys/param.h>
27314 #include <sys/mount.h>
27316 #include <sys/vfs.h>
27334 rm -f conftest.$ac_objext
27335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27336 (eval $ac_compile) 2>&5
27338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27339 (exit $ac_status); } &&
27340 { ac_try='test -s conftest.$ac_objext'
27341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27342 (eval $ac_try) 2>&5
27344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27345 (exit $ac_status); }; }; then
27347 wx_cv_func_statfs=yes
27350 echo "$as_me: failed program was:" >&5
27351 sed 's/^/| /' conftest.$ac_ext >&5
27354 wx_cv_func_statfs=no
27358 rm -f conftest.$ac_objext conftest.$ac_ext
27361 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27362 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27364 if test "$wx_cv_func_statfs" = "yes"; then
27365 wx_cv_type_statvfs_t="struct statfs"
27366 cat >>confdefs.h <<\_ACEOF
27367 #define HAVE_STATFS 1
27371 echo "$as_me:$LINENO: checking for statvfs" >&5
27372 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27373 if test "${wx_cv_func_statvfs+set}" = set; then
27374 echo $ECHO_N "(cached) $ECHO_C" >&6
27376 cat >conftest.$ac_ext <<_ACEOF
27377 #line $LINENO "configure"
27380 cat confdefs.h >>conftest.$ac_ext
27381 cat >>conftest.$ac_ext <<_ACEOF
27382 /* end confdefs.h. */
27384 #include <stddef.h>
27385 #include <sys/statvfs.h>
27391 statvfs("/", NULL);
27397 rm -f conftest.$ac_objext
27398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27399 (eval $ac_compile) 2>&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); } &&
27403 { ac_try='test -s conftest.$ac_objext'
27404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27405 (eval $ac_try) 2>&5
27407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408 (exit $ac_status); }; }; then
27409 wx_cv_func_statvfs=yes
27411 echo "$as_me: failed program was:" >&5
27412 sed 's/^/| /' conftest.$ac_ext >&5
27414 wx_cv_func_statvfs=no
27417 rm -f conftest.$ac_objext conftest.$ac_ext
27420 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27421 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27423 if test "$wx_cv_func_statvfs" = "yes"; then
27427 ac_cpp='$CXXCPP $CPPFLAGS'
27428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27433 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27434 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27435 if test "${wx_cv_type_statvfs_t+set}" = set; then
27436 echo $ECHO_N "(cached) $ECHO_C" >&6
27438 cat >conftest.$ac_ext <<_ACEOF
27439 #line $LINENO "configure"
27442 cat confdefs.h >>conftest.$ac_ext
27443 cat >>conftest.$ac_ext <<_ACEOF
27444 /* end confdefs.h. */
27446 #include <sys/statvfs.h>
27463 rm -f conftest.$ac_objext
27464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27465 (eval $ac_compile) 2>&5
27467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27468 (exit $ac_status); } &&
27469 { ac_try='test -s conftest.$ac_objext'
27470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27471 (eval $ac_try) 2>&5
27473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27474 (exit $ac_status); }; }; then
27475 wx_cv_type_statvfs_t=statvfs_t
27477 echo "$as_me: failed program was:" >&5
27478 sed 's/^/| /' conftest.$ac_ext >&5
27481 cat >conftest.$ac_ext <<_ACEOF
27482 #line $LINENO "configure"
27485 cat confdefs.h >>conftest.$ac_ext
27486 cat >>conftest.$ac_ext <<_ACEOF
27487 /* end confdefs.h. */
27489 #include <sys/statvfs.h>
27506 rm -f conftest.$ac_objext
27507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27508 (eval $ac_compile) 2>&5
27510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27511 (exit $ac_status); } &&
27512 { ac_try='test -s conftest.$ac_objext'
27513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27514 (eval $ac_try) 2>&5
27516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27517 (exit $ac_status); }; }; then
27518 wx_cv_type_statvfs_t="struct statvfs"
27520 echo "$as_me: failed program was:" >&5
27521 sed 's/^/| /' conftest.$ac_ext >&5
27523 wx_cv_type_statvfs_t="unknown"
27526 rm -f conftest.$ac_objext conftest.$ac_ext
27530 rm -f conftest.$ac_objext conftest.$ac_ext
27533 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27534 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27537 ac_cpp='$CPP $CPPFLAGS'
27538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27543 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27544 cat >>confdefs.h <<\_ACEOF
27545 #define HAVE_STATVFS 1
27550 wx_cv_type_statvfs_t="unknown"
27554 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27555 cat >>confdefs.h <<_ACEOF
27556 #define WX_STATFS_T $wx_cv_type_statvfs_t
27560 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27561 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27564 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27567 for ac_func in fcntl flock
27569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27570 echo "$as_me:$LINENO: checking for $ac_func" >&5
27571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27572 if eval "test \"\${$as_ac_var+set}\" = set"; then
27573 echo $ECHO_N "(cached) $ECHO_C" >&6
27575 cat >conftest.$ac_ext <<_ACEOF
27576 #line $LINENO "configure"
27579 cat confdefs.h >>conftest.$ac_ext
27580 cat >>conftest.$ac_ext <<_ACEOF
27581 /* end confdefs.h. */
27582 /* System header to define __stub macros and hopefully few prototypes,
27583 which can conflict with char $ac_func (); below.
27584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27585 <limits.h> exists even on freestanding compilers. */
27587 # include <limits.h>
27589 # include <assert.h>
27591 /* Override any gcc2 internal prototype to avoid an error. */
27596 /* We use char because int might match the return type of a gcc2
27597 builtin and then its argument prototype would still apply. */
27599 /* The GNU C library defines this for functions which it implements
27600 to always fail with ENOSYS. Some functions are actually named
27601 something starting with __ and the normal name is an alias. */
27602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27605 char (*f) () = $ac_func;
27614 return f != $ac_func;
27619 rm -f conftest.$ac_objext conftest$ac_exeext
27620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27621 (eval $ac_link) 2>&5
27623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27624 (exit $ac_status); } &&
27625 { ac_try='test -s conftest$ac_exeext'
27626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27627 (eval $ac_try) 2>&5
27629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27630 (exit $ac_status); }; }; then
27631 eval "$as_ac_var=yes"
27633 echo "$as_me: failed program was:" >&5
27634 sed 's/^/| /' conftest.$ac_ext >&5
27636 eval "$as_ac_var=no"
27638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27642 if test `eval echo '${'$as_ac_var'}'` = yes; then
27643 cat >>confdefs.h <<_ACEOF
27644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27651 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27652 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27653 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27654 wxUSE_SNGLINST_CHECKER=no
27659 for ac_func in timegm
27661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27662 echo "$as_me:$LINENO: checking for $ac_func" >&5
27663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27664 if eval "test \"\${$as_ac_var+set}\" = set"; then
27665 echo $ECHO_N "(cached) $ECHO_C" >&6
27667 cat >conftest.$ac_ext <<_ACEOF
27668 #line $LINENO "configure"
27671 cat confdefs.h >>conftest.$ac_ext
27672 cat >>conftest.$ac_ext <<_ACEOF
27673 /* end confdefs.h. */
27674 /* System header to define __stub macros and hopefully few prototypes,
27675 which can conflict with char $ac_func (); below.
27676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27677 <limits.h> exists even on freestanding compilers. */
27679 # include <limits.h>
27681 # include <assert.h>
27683 /* Override any gcc2 internal prototype to avoid an error. */
27688 /* We use char because int might match the return type of a gcc2
27689 builtin and then its argument prototype would still apply. */
27691 /* The GNU C library defines this for functions which it implements
27692 to always fail with ENOSYS. Some functions are actually named
27693 something starting with __ and the normal name is an alias. */
27694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27697 char (*f) () = $ac_func;
27706 return f != $ac_func;
27711 rm -f conftest.$ac_objext conftest$ac_exeext
27712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27713 (eval $ac_link) 2>&5
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); } &&
27717 { ac_try='test -s conftest$ac_exeext'
27718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27719 (eval $ac_try) 2>&5
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); }; }; then
27723 eval "$as_ac_var=yes"
27725 echo "$as_me: failed program was:" >&5
27726 sed 's/^/| /' conftest.$ac_ext >&5
27728 eval "$as_ac_var=no"
27730 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27734 if test `eval echo '${'$as_ac_var'}'` = yes; then
27735 cat >>confdefs.h <<_ACEOF
27736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27745 for ac_func in putenv setenv
27747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27748 echo "$as_me:$LINENO: checking for $ac_func" >&5
27749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27750 if eval "test \"\${$as_ac_var+set}\" = set"; then
27751 echo $ECHO_N "(cached) $ECHO_C" >&6
27753 cat >conftest.$ac_ext <<_ACEOF
27754 #line $LINENO "configure"
27757 cat confdefs.h >>conftest.$ac_ext
27758 cat >>conftest.$ac_ext <<_ACEOF
27759 /* end confdefs.h. */
27760 /* System header to define __stub macros and hopefully few prototypes,
27761 which can conflict with char $ac_func (); below.
27762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27763 <limits.h> exists even on freestanding compilers. */
27765 # include <limits.h>
27767 # include <assert.h>
27769 /* Override any gcc2 internal prototype to avoid an error. */
27774 /* We use char because int might match the return type of a gcc2
27775 builtin and then its argument prototype would still apply. */
27777 /* The GNU C library defines this for functions which it implements
27778 to always fail with ENOSYS. Some functions are actually named
27779 something starting with __ and the normal name is an alias. */
27780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27783 char (*f) () = $ac_func;
27792 return f != $ac_func;
27797 rm -f conftest.$ac_objext conftest$ac_exeext
27798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27799 (eval $ac_link) 2>&5
27801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27802 (exit $ac_status); } &&
27803 { ac_try='test -s conftest$ac_exeext'
27804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27805 (eval $ac_try) 2>&5
27807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27808 (exit $ac_status); }; }; then
27809 eval "$as_ac_var=yes"
27811 echo "$as_me: failed program was:" >&5
27812 sed 's/^/| /' conftest.$ac_ext >&5
27814 eval "$as_ac_var=no"
27816 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27820 if test `eval echo '${'$as_ac_var'}'` = yes; then
27821 cat >>confdefs.h <<_ACEOF
27822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27829 HAVE_SOME_SLEEP_FUNC=0
27830 if test "$USE_BEOS" = 1; then
27831 cat >>confdefs.h <<\_ACEOF
27832 #define HAVE_SLEEP 1
27835 HAVE_SOME_SLEEP_FUNC=1
27838 if test "$USE_DARWIN" = 1; then
27839 cat >>confdefs.h <<\_ACEOF
27840 #define HAVE_USLEEP 1
27843 HAVE_SOME_SLEEP_FUNC=1
27846 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27849 for ac_func in nanosleep
27851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27852 echo "$as_me:$LINENO: checking for $ac_func" >&5
27853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27854 if eval "test \"\${$as_ac_var+set}\" = set"; then
27855 echo $ECHO_N "(cached) $ECHO_C" >&6
27857 cat >conftest.$ac_ext <<_ACEOF
27858 #line $LINENO "configure"
27861 cat confdefs.h >>conftest.$ac_ext
27862 cat >>conftest.$ac_ext <<_ACEOF
27863 /* end confdefs.h. */
27864 /* System header to define __stub macros and hopefully few prototypes,
27865 which can conflict with char $ac_func (); below.
27866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27867 <limits.h> exists even on freestanding compilers. */
27869 # include <limits.h>
27871 # include <assert.h>
27873 /* Override any gcc2 internal prototype to avoid an error. */
27878 /* We use char because int might match the return type of a gcc2
27879 builtin and then its argument prototype would still apply. */
27881 /* The GNU C library defines this for functions which it implements
27882 to always fail with ENOSYS. Some functions are actually named
27883 something starting with __ and the normal name is an alias. */
27884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27887 char (*f) () = $ac_func;
27896 return f != $ac_func;
27901 rm -f conftest.$ac_objext conftest$ac_exeext
27902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27903 (eval $ac_link) 2>&5
27905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27906 (exit $ac_status); } &&
27907 { ac_try='test -s conftest$ac_exeext'
27908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27909 (eval $ac_try) 2>&5
27911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27912 (exit $ac_status); }; }; then
27913 eval "$as_ac_var=yes"
27915 echo "$as_me: failed program was:" >&5
27916 sed 's/^/| /' conftest.$ac_ext >&5
27918 eval "$as_ac_var=no"
27920 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27924 if test `eval echo '${'$as_ac_var'}'` = yes; then
27925 cat >>confdefs.h <<_ACEOF
27926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27928 cat >>confdefs.h <<\_ACEOF
27929 #define HAVE_NANOSLEEP 1
27934 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27935 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27936 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27937 echo $ECHO_N "(cached) $ECHO_C" >&6
27939 ac_check_lib_save_LIBS=$LIBS
27940 LIBS="-lposix4 $LIBS"
27941 cat >conftest.$ac_ext <<_ACEOF
27942 #line $LINENO "configure"
27945 cat confdefs.h >>conftest.$ac_ext
27946 cat >>conftest.$ac_ext <<_ACEOF
27947 /* end confdefs.h. */
27949 /* Override any gcc2 internal prototype to avoid an error. */
27953 /* We use char because int might match the return type of a gcc2
27954 builtin and then its argument prototype would still apply. */
27964 rm -f conftest.$ac_objext conftest$ac_exeext
27965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27966 (eval $ac_link) 2>&5
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); } &&
27970 { ac_try='test -s conftest$ac_exeext'
27971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27972 (eval $ac_try) 2>&5
27974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27975 (exit $ac_status); }; }; then
27976 ac_cv_lib_posix4_nanosleep=yes
27978 echo "$as_me: failed program was:" >&5
27979 sed 's/^/| /' conftest.$ac_ext >&5
27981 ac_cv_lib_posix4_nanosleep=no
27983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27984 LIBS=$ac_check_lib_save_LIBS
27986 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27987 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27988 if test $ac_cv_lib_posix4_nanosleep = yes; then
27990 cat >>confdefs.h <<\_ACEOF
27991 #define HAVE_NANOSLEEP 1
27994 POSIX4_LINK=" -lposix4"
27999 for ac_func in usleep
28001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28002 echo "$as_me:$LINENO: checking for $ac_func" >&5
28003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28004 if eval "test \"\${$as_ac_var+set}\" = set"; then
28005 echo $ECHO_N "(cached) $ECHO_C" >&6
28007 cat >conftest.$ac_ext <<_ACEOF
28008 #line $LINENO "configure"
28011 cat confdefs.h >>conftest.$ac_ext
28012 cat >>conftest.$ac_ext <<_ACEOF
28013 /* end confdefs.h. */
28014 /* System header to define __stub macros and hopefully few prototypes,
28015 which can conflict with char $ac_func (); below.
28016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28017 <limits.h> exists even on freestanding compilers. */
28019 # include <limits.h>
28021 # include <assert.h>
28023 /* Override any gcc2 internal prototype to avoid an error. */
28028 /* We use char because int might match the return type of a gcc2
28029 builtin and then its argument prototype would still apply. */
28031 /* The GNU C library defines this for functions which it implements
28032 to always fail with ENOSYS. Some functions are actually named
28033 something starting with __ and the normal name is an alias. */
28034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28037 char (*f) () = $ac_func;
28046 return f != $ac_func;
28051 rm -f conftest.$ac_objext conftest$ac_exeext
28052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28053 (eval $ac_link) 2>&5
28055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28056 (exit $ac_status); } &&
28057 { ac_try='test -s conftest$ac_exeext'
28058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28059 (eval $ac_try) 2>&5
28061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28062 (exit $ac_status); }; }; then
28063 eval "$as_ac_var=yes"
28065 echo "$as_me: failed program was:" >&5
28066 sed 's/^/| /' conftest.$ac_ext >&5
28068 eval "$as_ac_var=no"
28070 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28074 if test `eval echo '${'$as_ac_var'}'` = yes; then
28075 cat >>confdefs.h <<_ACEOF
28076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28078 cat >>confdefs.h <<\_ACEOF
28079 #define HAVE_USLEEP 1
28083 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28084 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28102 for ac_func in uname gethostname
28104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28105 echo "$as_me:$LINENO: checking for $ac_func" >&5
28106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28107 if eval "test \"\${$as_ac_var+set}\" = set"; then
28108 echo $ECHO_N "(cached) $ECHO_C" >&6
28110 cat >conftest.$ac_ext <<_ACEOF
28111 #line $LINENO "configure"
28114 cat confdefs.h >>conftest.$ac_ext
28115 cat >>conftest.$ac_ext <<_ACEOF
28116 /* end confdefs.h. */
28117 /* System header to define __stub macros and hopefully few prototypes,
28118 which can conflict with char $ac_func (); below.
28119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28120 <limits.h> exists even on freestanding compilers. */
28122 # include <limits.h>
28124 # include <assert.h>
28126 /* Override any gcc2 internal prototype to avoid an error. */
28131 /* We use char because int might match the return type of a gcc2
28132 builtin and then its argument prototype would still apply. */
28134 /* The GNU C library defines this for functions which it implements
28135 to always fail with ENOSYS. Some functions are actually named
28136 something starting with __ and the normal name is an alias. */
28137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28140 char (*f) () = $ac_func;
28149 return f != $ac_func;
28154 rm -f conftest.$ac_objext conftest$ac_exeext
28155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28156 (eval $ac_link) 2>&5
28158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28159 (exit $ac_status); } &&
28160 { ac_try='test -s conftest$ac_exeext'
28161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28162 (eval $ac_try) 2>&5
28164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28165 (exit $ac_status); }; }; then
28166 eval "$as_ac_var=yes"
28168 echo "$as_me: failed program was:" >&5
28169 sed 's/^/| /' conftest.$ac_ext >&5
28171 eval "$as_ac_var=no"
28173 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28177 if test `eval echo '${'$as_ac_var'}'` = yes; then
28178 cat >>confdefs.h <<_ACEOF
28179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28189 ac_cpp='$CXXCPP $CPPFLAGS'
28190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28196 for ac_func in strtok_r
28198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28199 echo "$as_me:$LINENO: checking for $ac_func" >&5
28200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28201 if eval "test \"\${$as_ac_var+set}\" = set"; then
28202 echo $ECHO_N "(cached) $ECHO_C" >&6
28204 cat >conftest.$ac_ext <<_ACEOF
28205 #line $LINENO "configure"
28208 cat confdefs.h >>conftest.$ac_ext
28209 cat >>conftest.$ac_ext <<_ACEOF
28210 /* end confdefs.h. */
28211 /* System header to define __stub macros and hopefully few prototypes,
28212 which can conflict with char $ac_func (); below.
28213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28214 <limits.h> exists even on freestanding compilers. */
28216 # include <limits.h>
28218 # include <assert.h>
28220 /* Override any gcc2 internal prototype to avoid an error. */
28225 /* We use char because int might match the return type of a gcc2
28226 builtin and then its argument prototype would still apply. */
28228 /* The GNU C library defines this for functions which it implements
28229 to always fail with ENOSYS. Some functions are actually named
28230 something starting with __ and the normal name is an alias. */
28231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28234 char (*f) () = $ac_func;
28243 return f != $ac_func;
28248 rm -f conftest.$ac_objext conftest$ac_exeext
28249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28250 (eval $ac_link) 2>&5
28252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28253 (exit $ac_status); } &&
28254 { ac_try='test -s conftest$ac_exeext'
28255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28256 (eval $ac_try) 2>&5
28258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28259 (exit $ac_status); }; }; then
28260 eval "$as_ac_var=yes"
28262 echo "$as_me: failed program was:" >&5
28263 sed 's/^/| /' conftest.$ac_ext >&5
28265 eval "$as_ac_var=no"
28267 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28271 if test `eval echo '${'$as_ac_var'}'` = yes; then
28272 cat >>confdefs.h <<_ACEOF
28273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28281 ac_cpp='$CPP $CPPFLAGS'
28282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28289 for ac_func in inet_addr
28291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28292 echo "$as_me:$LINENO: checking for $ac_func" >&5
28293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28294 if eval "test \"\${$as_ac_var+set}\" = set"; then
28295 echo $ECHO_N "(cached) $ECHO_C" >&6
28297 cat >conftest.$ac_ext <<_ACEOF
28298 #line $LINENO "configure"
28301 cat confdefs.h >>conftest.$ac_ext
28302 cat >>conftest.$ac_ext <<_ACEOF
28303 /* end confdefs.h. */
28304 /* System header to define __stub macros and hopefully few prototypes,
28305 which can conflict with char $ac_func (); below.
28306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28307 <limits.h> exists even on freestanding compilers. */
28309 # include <limits.h>
28311 # include <assert.h>
28313 /* Override any gcc2 internal prototype to avoid an error. */
28318 /* We use char because int might match the return type of a gcc2
28319 builtin and then its argument prototype would still apply. */
28321 /* The GNU C library defines this for functions which it implements
28322 to always fail with ENOSYS. Some functions are actually named
28323 something starting with __ and the normal name is an alias. */
28324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28327 char (*f) () = $ac_func;
28336 return f != $ac_func;
28341 rm -f conftest.$ac_objext conftest$ac_exeext
28342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28343 (eval $ac_link) 2>&5
28345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28346 (exit $ac_status); } &&
28347 { ac_try='test -s conftest$ac_exeext'
28348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28349 (eval $ac_try) 2>&5
28351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28352 (exit $ac_status); }; }; then
28353 eval "$as_ac_var=yes"
28355 echo "$as_me: failed program was:" >&5
28356 sed 's/^/| /' conftest.$ac_ext >&5
28358 eval "$as_ac_var=no"
28360 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28364 if test `eval echo '${'$as_ac_var'}'` = yes; then
28365 cat >>confdefs.h <<_ACEOF
28366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28368 cat >>confdefs.h <<\_ACEOF
28369 #define HAVE_INET_ADDR 1
28374 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28375 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28376 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28377 echo $ECHO_N "(cached) $ECHO_C" >&6
28379 ac_check_lib_save_LIBS=$LIBS
28381 cat >conftest.$ac_ext <<_ACEOF
28382 #line $LINENO "configure"
28385 cat confdefs.h >>conftest.$ac_ext
28386 cat >>conftest.$ac_ext <<_ACEOF
28387 /* end confdefs.h. */
28389 /* Override any gcc2 internal prototype to avoid an error. */
28393 /* We use char because int might match the return type of a gcc2
28394 builtin and then its argument prototype would still apply. */
28404 rm -f conftest.$ac_objext conftest$ac_exeext
28405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28406 (eval $ac_link) 2>&5
28408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28409 (exit $ac_status); } &&
28410 { ac_try='test -s conftest$ac_exeext'
28411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28412 (eval $ac_try) 2>&5
28414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28415 (exit $ac_status); }; }; then
28416 ac_cv_lib_nsl_inet_addr=yes
28418 echo "$as_me: failed program was:" >&5
28419 sed 's/^/| /' conftest.$ac_ext >&5
28421 ac_cv_lib_nsl_inet_addr=no
28423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28424 LIBS=$ac_check_lib_save_LIBS
28426 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28427 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28428 if test $ac_cv_lib_nsl_inet_addr = yes; then
28431 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28432 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28433 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28434 echo $ECHO_N "(cached) $ECHO_C" >&6
28436 ac_check_lib_save_LIBS=$LIBS
28437 LIBS="-lresolv $LIBS"
28438 cat >conftest.$ac_ext <<_ACEOF
28439 #line $LINENO "configure"
28442 cat confdefs.h >>conftest.$ac_ext
28443 cat >>conftest.$ac_ext <<_ACEOF
28444 /* end confdefs.h. */
28446 /* Override any gcc2 internal prototype to avoid an error. */
28450 /* We use char because int might match the return type of a gcc2
28451 builtin and then its argument prototype would still apply. */
28461 rm -f conftest.$ac_objext conftest$ac_exeext
28462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28463 (eval $ac_link) 2>&5
28465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28466 (exit $ac_status); } &&
28467 { ac_try='test -s conftest$ac_exeext'
28468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28469 (eval $ac_try) 2>&5
28471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28472 (exit $ac_status); }; }; then
28473 ac_cv_lib_resolv_inet_addr=yes
28475 echo "$as_me: failed program was:" >&5
28476 sed 's/^/| /' conftest.$ac_ext >&5
28478 ac_cv_lib_resolv_inet_addr=no
28480 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28481 LIBS=$ac_check_lib_save_LIBS
28483 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28484 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28485 if test $ac_cv_lib_resolv_inet_addr = yes; then
28488 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28489 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28490 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28491 echo $ECHO_N "(cached) $ECHO_C" >&6
28493 ac_check_lib_save_LIBS=$LIBS
28494 LIBS="-lsocket $LIBS"
28495 cat >conftest.$ac_ext <<_ACEOF
28496 #line $LINENO "configure"
28499 cat confdefs.h >>conftest.$ac_ext
28500 cat >>conftest.$ac_ext <<_ACEOF
28501 /* end confdefs.h. */
28503 /* Override any gcc2 internal prototype to avoid an error. */
28507 /* We use char because int might match the return type of a gcc2
28508 builtin and then its argument prototype would still apply. */
28518 rm -f conftest.$ac_objext conftest$ac_exeext
28519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28520 (eval $ac_link) 2>&5
28522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523 (exit $ac_status); } &&
28524 { ac_try='test -s conftest$ac_exeext'
28525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28526 (eval $ac_try) 2>&5
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); }; }; then
28530 ac_cv_lib_socket_inet_addr=yes
28532 echo "$as_me: failed program was:" >&5
28533 sed 's/^/| /' conftest.$ac_ext >&5
28535 ac_cv_lib_socket_inet_addr=no
28537 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28538 LIBS=$ac_check_lib_save_LIBS
28540 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28541 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28542 if test $ac_cv_lib_socket_inet_addr = yes; then
28560 for ac_func in inet_aton
28562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28563 echo "$as_me:$LINENO: checking for $ac_func" >&5
28564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28565 if eval "test \"\${$as_ac_var+set}\" = set"; then
28566 echo $ECHO_N "(cached) $ECHO_C" >&6
28568 cat >conftest.$ac_ext <<_ACEOF
28569 #line $LINENO "configure"
28572 cat confdefs.h >>conftest.$ac_ext
28573 cat >>conftest.$ac_ext <<_ACEOF
28574 /* end confdefs.h. */
28575 /* System header to define __stub macros and hopefully few prototypes,
28576 which can conflict with char $ac_func (); below.
28577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28578 <limits.h> exists even on freestanding compilers. */
28580 # include <limits.h>
28582 # include <assert.h>
28584 /* Override any gcc2 internal prototype to avoid an error. */
28589 /* We use char because int might match the return type of a gcc2
28590 builtin and then its argument prototype would still apply. */
28592 /* The GNU C library defines this for functions which it implements
28593 to always fail with ENOSYS. Some functions are actually named
28594 something starting with __ and the normal name is an alias. */
28595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28598 char (*f) () = $ac_func;
28607 return f != $ac_func;
28612 rm -f conftest.$ac_objext conftest$ac_exeext
28613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28614 (eval $ac_link) 2>&5
28616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 (exit $ac_status); } &&
28618 { ac_try='test -s conftest$ac_exeext'
28619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28620 (eval $ac_try) 2>&5
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); }; }; then
28624 eval "$as_ac_var=yes"
28626 echo "$as_me: failed program was:" >&5
28627 sed 's/^/| /' conftest.$ac_ext >&5
28629 eval "$as_ac_var=no"
28631 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28635 if test `eval echo '${'$as_ac_var'}'` = yes; then
28636 cat >>confdefs.h <<_ACEOF
28637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28639 cat >>confdefs.h <<\_ACEOF
28640 #define HAVE_INET_ATON 1
28645 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28646 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28647 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28648 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28649 echo $ECHO_N "(cached) $ECHO_C" >&6
28651 ac_check_lib_save_LIBS=$LIBS
28652 LIBS="-l$INET_LINK $LIBS"
28653 cat >conftest.$ac_ext <<_ACEOF
28654 #line $LINENO "configure"
28657 cat confdefs.h >>conftest.$ac_ext
28658 cat >>conftest.$ac_ext <<_ACEOF
28659 /* end confdefs.h. */
28661 /* Override any gcc2 internal prototype to avoid an error. */
28665 /* We use char because int might match the return type of a gcc2
28666 builtin and then its argument prototype would still apply. */
28676 rm -f conftest.$ac_objext conftest$ac_exeext
28677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28678 (eval $ac_link) 2>&5
28680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681 (exit $ac_status); } &&
28682 { ac_try='test -s conftest$ac_exeext'
28683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28684 (eval $ac_try) 2>&5
28686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687 (exit $ac_status); }; }; then
28688 eval "$as_ac_Lib=yes"
28690 echo "$as_me: failed program was:" >&5
28691 sed 's/^/| /' conftest.$ac_ext >&5
28693 eval "$as_ac_Lib=no"
28695 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28696 LIBS=$ac_check_lib_save_LIBS
28698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28699 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28700 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28701 cat >>confdefs.h <<\_ACEOF
28702 #define HAVE_INET_ATON 1
28712 if test "x$INET_LINK" != "x"; then
28713 cat >>confdefs.h <<\_ACEOF
28714 #define HAVE_INET_ADDR 1
28717 INET_LINK=" -l$INET_LINK"
28725 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28726 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28727 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28728 echo $ECHO_N "(cached) $ECHO_C" >&6
28730 ac_check_lib_save_LIBS=$LIBS
28732 cat >conftest.$ac_ext <<_ACEOF
28733 #line $LINENO "configure"
28736 cat confdefs.h >>conftest.$ac_ext
28737 cat >>conftest.$ac_ext <<_ACEOF
28738 /* end confdefs.h. */
28740 /* Override any gcc2 internal prototype to avoid an error. */
28744 /* We use char because int might match the return type of a gcc2
28745 builtin and then its argument prototype would still apply. */
28755 rm -f conftest.$ac_objext conftest$ac_exeext
28756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28757 (eval $ac_link) 2>&5
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); } &&
28761 { ac_try='test -s conftest$ac_exeext'
28762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28763 (eval $ac_try) 2>&5
28765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28766 (exit $ac_status); }; }; then
28767 ac_cv_lib_esd_esd_close=yes
28769 echo "$as_me: failed program was:" >&5
28770 sed 's/^/| /' conftest.$ac_ext >&5
28772 ac_cv_lib_esd_esd_close=no
28774 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28775 LIBS=$ac_check_lib_save_LIBS
28777 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28778 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28779 if test $ac_cv_lib_esd_esd_close = yes; then
28782 for ac_header in esd.h
28784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28786 echo "$as_me:$LINENO: checking for $ac_header" >&5
28787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28789 echo $ECHO_N "(cached) $ECHO_C" >&6
28791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28794 # Is the header compilable?
28795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28797 cat >conftest.$ac_ext <<_ACEOF
28798 #line $LINENO "configure"
28801 cat confdefs.h >>conftest.$ac_ext
28802 cat >>conftest.$ac_ext <<_ACEOF
28803 /* end confdefs.h. */
28804 $ac_includes_default
28805 #include <$ac_header>
28807 rm -f conftest.$ac_objext
28808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28809 (eval $ac_compile) 2>&5
28811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812 (exit $ac_status); } &&
28813 { ac_try='test -s conftest.$ac_objext'
28814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28815 (eval $ac_try) 2>&5
28817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28818 (exit $ac_status); }; }; then
28819 ac_header_compiler=yes
28821 echo "$as_me: failed program was:" >&5
28822 sed 's/^/| /' conftest.$ac_ext >&5
28824 ac_header_compiler=no
28826 rm -f conftest.$ac_objext conftest.$ac_ext
28827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28828 echo "${ECHO_T}$ac_header_compiler" >&6
28830 # Is the header present?
28831 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28832 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28833 cat >conftest.$ac_ext <<_ACEOF
28834 #line $LINENO "configure"
28837 cat confdefs.h >>conftest.$ac_ext
28838 cat >>conftest.$ac_ext <<_ACEOF
28839 /* end confdefs.h. */
28840 #include <$ac_header>
28842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28843 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28845 grep -v '^ *+' conftest.er1 >conftest.err
28847 cat conftest.err >&5
28848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28849 (exit $ac_status); } >/dev/null; then
28850 if test -s conftest.err; then
28851 ac_cpp_err=$ac_c_preproc_warn_flag
28858 if test -z "$ac_cpp_err"; then
28859 ac_header_preproc=yes
28861 echo "$as_me: failed program was:" >&5
28862 sed 's/^/| /' conftest.$ac_ext >&5
28864 ac_header_preproc=no
28866 rm -f conftest.err conftest.$ac_ext
28867 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28868 echo "${ECHO_T}$ac_header_preproc" >&6
28870 # So? What about this header?
28871 case $ac_header_compiler:$ac_header_preproc in
28873 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28874 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28876 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28879 ## ------------------------------------ ##
28880 ## Report this to bug-autoconf@gnu.org. ##
28881 ## ------------------------------------ ##
28884 sed "s/^/$as_me: WARNING: /" >&2
28887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28895 ## ------------------------------------ ##
28896 ## Report this to bug-autoconf@gnu.org. ##
28897 ## ------------------------------------ ##
28900 sed "s/^/$as_me: WARNING: /" >&2
28903 echo "$as_me:$LINENO: checking for $ac_header" >&5
28904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28906 echo $ECHO_N "(cached) $ECHO_C" >&6
28908 eval "$as_ac_Header=$ac_header_preproc"
28910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28915 cat >>confdefs.h <<_ACEOF
28916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28919 EXTRALIBS_ESD="-lesd"
28932 cat >confcache <<\_ACEOF
28933 # This file is a shell script that caches the results of configure
28934 # tests run on this system so they can be shared between configure
28935 # scripts and configure runs, see configure's option --config-cache.
28936 # It is not useful on other systems. If it contains results you don't
28937 # want to keep, you may remove or edit it.
28939 # config.status only pays attention to the cache file if you give it
28940 # the --recheck option to rerun configure.
28942 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28943 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28944 # following values.
28948 # The following way of writing the cache mishandles newlines in values,
28949 # but we know of no workaround that is simple, portable, and efficient.
28950 # So, don't put newlines in cache variables' values.
28951 # Ultrix sh set writes to stderr and can't be redirected directly,
28952 # and sets the high bit in the cache file unless we assign to the vars.
28955 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28957 # `set' does not quote correctly, so add quotes (double-quote
28958 # substitution turns \\\\ into \\, and sed turns \\ into \).
28961 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28964 # `set' quotes correctly as required by POSIX, so do not add quotes.
28966 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28973 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28975 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28977 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28978 if test -w $cache_file; then
28979 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28980 cat confcache >$cache_file
28982 echo "not updating unwritable cache $cache_file"
28989 if test "$TOOLKIT" != "MSW"; then
28995 if test "$wxUSE_THREADS" = "yes" ; then
28996 if test "$USE_BEOS" = 1; then
28997 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28998 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29003 if test "$wxUSE_THREADS" = "yes" ; then
29006 THREAD_OPTS="-pthread"
29008 *-*-solaris2* | *-*-sunos4* )
29009 if test "x$GCC" = "xyes"; then
29010 THREAD_OPTS="-pthreads $THREAD_OPTS"
29012 THREAD_OPTS="-mt $THREAD_OPTS"
29016 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
29018 *-*-darwin* | *-*-cygwin* )
29022 THREAD_OPTS="pthreads"
29025 if test "x$GCC" != "xyes"; then
29031 if test "x$GCC" = "xyes"; then
29037 if test "x$GCC" != "xyes"; then
29038 THREAD_OPTS="-Ethread"
29043 THREAD_OPTS="$THREAD_OPTS pthread none"
29046 for flag in $THREAD_OPTS; do
29049 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29050 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29054 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29055 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29056 THREADS_CFLAGS="$flag"
29060 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29061 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29062 THREADS_LINK="-l$flag"
29067 save_CFLAGS="$CFLAGS"
29068 LIBS="$THREADS_LINK $LIBS"
29069 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29071 cat >conftest.$ac_ext <<_ACEOF
29072 #line $LINENO "configure"
29075 cat confdefs.h >>conftest.$ac_ext
29076 cat >>conftest.$ac_ext <<_ACEOF
29077 /* end confdefs.h. */
29078 #include <pthread.h>
29082 pthread_create(0,0,0,0);
29087 rm -f conftest.$ac_objext conftest$ac_exeext
29088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29089 (eval $ac_link) 2>&5
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); } &&
29093 { ac_try='test -s conftest$ac_exeext'
29094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29095 (eval $ac_try) 2>&5
29097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29098 (exit $ac_status); }; }; then
29101 echo "$as_me: failed program was:" >&5
29102 sed 's/^/| /' conftest.$ac_ext >&5
29105 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29108 CFLAGS="$save_CFLAGS"
29110 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29111 echo "${ECHO_T}$THREADS_OK" >&6
29112 if test "x$THREADS_OK" = "xyes"; then
29120 if test "x$THREADS_OK" != "xyes"; then
29122 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29123 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29125 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29126 LIBS="$THREADS_LINK $LIBS"
29128 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29129 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29133 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29134 flag="-D_THREAD_SAFE"
29137 flag="-D_THREAD_SAFE"
29140 flag="-D_REENTRANT"
29141 if test "x$GCC" != "xyes"; then
29142 flag="$flag -D_RWSTD_MULTI_THREAD"
29145 *solaris* | alpha*-osf*)
29146 flag="-D_REENTRANT"
29149 echo "$as_me:$LINENO: result: ${flag}" >&5
29150 echo "${ECHO_T}${flag}" >&6
29151 if test "x$flag" != xno; then
29152 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29155 if test "x$THREADS_CFLAGS" != "x"; then
29156 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29157 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29162 if test "$wxUSE_THREADS" = "yes" ; then
29164 for ac_func in thr_setconcurrency
29166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29167 echo "$as_me:$LINENO: checking for $ac_func" >&5
29168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29169 if eval "test \"\${$as_ac_var+set}\" = set"; then
29170 echo $ECHO_N "(cached) $ECHO_C" >&6
29172 cat >conftest.$ac_ext <<_ACEOF
29173 #line $LINENO "configure"
29176 cat confdefs.h >>conftest.$ac_ext
29177 cat >>conftest.$ac_ext <<_ACEOF
29178 /* end confdefs.h. */
29179 /* System header to define __stub macros and hopefully few prototypes,
29180 which can conflict with char $ac_func (); below.
29181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29182 <limits.h> exists even on freestanding compilers. */
29184 # include <limits.h>
29186 # include <assert.h>
29188 /* Override any gcc2 internal prototype to avoid an error. */
29193 /* We use char because int might match the return type of a gcc2
29194 builtin and then its argument prototype would still apply. */
29196 /* The GNU C library defines this for functions which it implements
29197 to always fail with ENOSYS. Some functions are actually named
29198 something starting with __ and the normal name is an alias. */
29199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29202 char (*f) () = $ac_func;
29211 return f != $ac_func;
29216 rm -f conftest.$ac_objext conftest$ac_exeext
29217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29218 (eval $ac_link) 2>&5
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); } &&
29222 { ac_try='test -s conftest$ac_exeext'
29223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29224 (eval $ac_try) 2>&5
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); }; }; then
29228 eval "$as_ac_var=yes"
29230 echo "$as_me: failed program was:" >&5
29231 sed 's/^/| /' conftest.$ac_ext >&5
29233 eval "$as_ac_var=no"
29235 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29239 if test `eval echo '${'$as_ac_var'}'` = yes; then
29240 cat >>confdefs.h <<_ACEOF
29241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29249 for ac_header in sched.h
29251 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29253 echo "$as_me:$LINENO: checking for $ac_header" >&5
29254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29256 echo $ECHO_N "(cached) $ECHO_C" >&6
29258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29261 # Is the header compilable?
29262 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29263 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29264 cat >conftest.$ac_ext <<_ACEOF
29265 #line $LINENO "configure"
29268 cat confdefs.h >>conftest.$ac_ext
29269 cat >>conftest.$ac_ext <<_ACEOF
29270 /* end confdefs.h. */
29271 $ac_includes_default
29272 #include <$ac_header>
29274 rm -f conftest.$ac_objext
29275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29276 (eval $ac_compile) 2>&5
29278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29279 (exit $ac_status); } &&
29280 { ac_try='test -s conftest.$ac_objext'
29281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29282 (eval $ac_try) 2>&5
29284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 (exit $ac_status); }; }; then
29286 ac_header_compiler=yes
29288 echo "$as_me: failed program was:" >&5
29289 sed 's/^/| /' conftest.$ac_ext >&5
29291 ac_header_compiler=no
29293 rm -f conftest.$ac_objext conftest.$ac_ext
29294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29295 echo "${ECHO_T}$ac_header_compiler" >&6
29297 # Is the header present?
29298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29300 cat >conftest.$ac_ext <<_ACEOF
29301 #line $LINENO "configure"
29304 cat confdefs.h >>conftest.$ac_ext
29305 cat >>conftest.$ac_ext <<_ACEOF
29306 /* end confdefs.h. */
29307 #include <$ac_header>
29309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29310 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29312 grep -v '^ *+' conftest.er1 >conftest.err
29314 cat conftest.err >&5
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); } >/dev/null; then
29317 if test -s conftest.err; then
29318 ac_cpp_err=$ac_c_preproc_warn_flag
29325 if test -z "$ac_cpp_err"; then
29326 ac_header_preproc=yes
29328 echo "$as_me: failed program was:" >&5
29329 sed 's/^/| /' conftest.$ac_ext >&5
29331 ac_header_preproc=no
29333 rm -f conftest.err conftest.$ac_ext
29334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29335 echo "${ECHO_T}$ac_header_preproc" >&6
29337 # So? What about this header?
29338 case $ac_header_compiler:$ac_header_preproc in
29340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29346 ## ------------------------------------ ##
29347 ## Report this to bug-autoconf@gnu.org. ##
29348 ## ------------------------------------ ##
29351 sed "s/^/$as_me: WARNING: /" >&2
29354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29362 ## ------------------------------------ ##
29363 ## Report this to bug-autoconf@gnu.org. ##
29364 ## ------------------------------------ ##
29367 sed "s/^/$as_me: WARNING: /" >&2
29370 echo "$as_me:$LINENO: checking for $ac_header" >&5
29371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29373 echo $ECHO_N "(cached) $ECHO_C" >&6
29375 eval "$as_ac_Header=$ac_header_preproc"
29377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29382 cat >>confdefs.h <<_ACEOF
29383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29390 if test "$ac_cv_header_sched_h" = "yes"; then
29391 echo "$as_me:$LINENO: checking for sched_yield" >&5
29392 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29393 if test "${ac_cv_func_sched_yield+set}" = set; then
29394 echo $ECHO_N "(cached) $ECHO_C" >&6
29396 cat >conftest.$ac_ext <<_ACEOF
29397 #line $LINENO "configure"
29400 cat confdefs.h >>conftest.$ac_ext
29401 cat >>conftest.$ac_ext <<_ACEOF
29402 /* end confdefs.h. */
29403 /* System header to define __stub macros and hopefully few prototypes,
29404 which can conflict with char sched_yield (); below.
29405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29406 <limits.h> exists even on freestanding compilers. */
29408 # include <limits.h>
29410 # include <assert.h>
29412 /* Override any gcc2 internal prototype to avoid an error. */
29417 /* We use char because int might match the return type of a gcc2
29418 builtin and then its argument prototype would still apply. */
29419 char sched_yield ();
29420 /* The GNU C library defines this for functions which it implements
29421 to always fail with ENOSYS. Some functions are actually named
29422 something starting with __ and the normal name is an alias. */
29423 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29426 char (*f) () = sched_yield;
29435 return f != sched_yield;
29440 rm -f conftest.$ac_objext conftest$ac_exeext
29441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29442 (eval $ac_link) 2>&5
29444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29445 (exit $ac_status); } &&
29446 { ac_try='test -s conftest$ac_exeext'
29447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29448 (eval $ac_try) 2>&5
29450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29451 (exit $ac_status); }; }; then
29452 ac_cv_func_sched_yield=yes
29454 echo "$as_me: failed program was:" >&5
29455 sed 's/^/| /' conftest.$ac_ext >&5
29457 ac_cv_func_sched_yield=no
29459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29461 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29462 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29463 if test $ac_cv_func_sched_yield = yes; then
29464 cat >>confdefs.h <<\_ACEOF
29465 #define HAVE_SCHED_YIELD 1
29470 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29471 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29472 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29473 echo $ECHO_N "(cached) $ECHO_C" >&6
29475 ac_check_lib_save_LIBS=$LIBS
29476 LIBS="-lposix4 $LIBS"
29477 cat >conftest.$ac_ext <<_ACEOF
29478 #line $LINENO "configure"
29481 cat confdefs.h >>conftest.$ac_ext
29482 cat >>conftest.$ac_ext <<_ACEOF
29483 /* end confdefs.h. */
29485 /* Override any gcc2 internal prototype to avoid an error. */
29489 /* We use char because int might match the return type of a gcc2
29490 builtin and then its argument prototype would still apply. */
29491 char sched_yield ();
29500 rm -f conftest.$ac_objext conftest$ac_exeext
29501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29502 (eval $ac_link) 2>&5
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); } &&
29506 { ac_try='test -s conftest$ac_exeext'
29507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29508 (eval $ac_try) 2>&5
29510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29511 (exit $ac_status); }; }; then
29512 ac_cv_lib_posix4_sched_yield=yes
29514 echo "$as_me: failed program was:" >&5
29515 sed 's/^/| /' conftest.$ac_ext >&5
29517 ac_cv_lib_posix4_sched_yield=no
29519 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29520 LIBS=$ac_check_lib_save_LIBS
29522 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29523 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29524 if test $ac_cv_lib_posix4_sched_yield = yes; then
29525 cat >>confdefs.h <<\_ACEOF
29526 #define HAVE_SCHED_YIELD 1
29528 POSIX4_LINK=" -lposix4"
29530 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29531 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29542 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29543 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29544 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29545 echo $ECHO_N "(cached) $ECHO_C" >&6
29547 cat >conftest.$ac_ext <<_ACEOF
29548 #line $LINENO "configure"
29551 cat confdefs.h >>conftest.$ac_ext
29552 cat >>conftest.$ac_ext <<_ACEOF
29553 /* end confdefs.h. */
29554 /* System header to define __stub macros and hopefully few prototypes,
29555 which can conflict with char pthread_attr_getschedpolicy (); below.
29556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29557 <limits.h> exists even on freestanding compilers. */
29559 # include <limits.h>
29561 # include <assert.h>
29563 /* Override any gcc2 internal prototype to avoid an error. */
29568 /* We use char because int might match the return type of a gcc2
29569 builtin and then its argument prototype would still apply. */
29570 char pthread_attr_getschedpolicy ();
29571 /* The GNU C library defines this for functions which it implements
29572 to always fail with ENOSYS. Some functions are actually named
29573 something starting with __ and the normal name is an alias. */
29574 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29577 char (*f) () = pthread_attr_getschedpolicy;
29586 return f != pthread_attr_getschedpolicy;
29591 rm -f conftest.$ac_objext conftest$ac_exeext
29592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29593 (eval $ac_link) 2>&5
29595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596 (exit $ac_status); } &&
29597 { ac_try='test -s conftest$ac_exeext'
29598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29599 (eval $ac_try) 2>&5
29601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29602 (exit $ac_status); }; }; then
29603 ac_cv_func_pthread_attr_getschedpolicy=yes
29605 echo "$as_me: failed program was:" >&5
29606 sed 's/^/| /' conftest.$ac_ext >&5
29608 ac_cv_func_pthread_attr_getschedpolicy=no
29610 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29612 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29613 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29614 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29615 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29616 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29617 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29618 echo $ECHO_N "(cached) $ECHO_C" >&6
29620 cat >conftest.$ac_ext <<_ACEOF
29621 #line $LINENO "configure"
29624 cat confdefs.h >>conftest.$ac_ext
29625 cat >>conftest.$ac_ext <<_ACEOF
29626 /* end confdefs.h. */
29627 /* System header to define __stub macros and hopefully few prototypes,
29628 which can conflict with char pthread_attr_setschedparam (); below.
29629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29630 <limits.h> exists even on freestanding compilers. */
29632 # include <limits.h>
29634 # include <assert.h>
29636 /* Override any gcc2 internal prototype to avoid an error. */
29641 /* We use char because int might match the return type of a gcc2
29642 builtin and then its argument prototype would still apply. */
29643 char pthread_attr_setschedparam ();
29644 /* The GNU C library defines this for functions which it implements
29645 to always fail with ENOSYS. Some functions are actually named
29646 something starting with __ and the normal name is an alias. */
29647 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29650 char (*f) () = pthread_attr_setschedparam;
29659 return f != pthread_attr_setschedparam;
29664 rm -f conftest.$ac_objext conftest$ac_exeext
29665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29666 (eval $ac_link) 2>&5
29668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29669 (exit $ac_status); } &&
29670 { ac_try='test -s conftest$ac_exeext'
29671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29672 (eval $ac_try) 2>&5
29674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29675 (exit $ac_status); }; }; then
29676 ac_cv_func_pthread_attr_setschedparam=yes
29678 echo "$as_me: failed program was:" >&5
29679 sed 's/^/| /' conftest.$ac_ext >&5
29681 ac_cv_func_pthread_attr_setschedparam=no
29683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29685 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29686 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29687 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29688 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29689 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29690 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29691 echo $ECHO_N "(cached) $ECHO_C" >&6
29693 cat >conftest.$ac_ext <<_ACEOF
29694 #line $LINENO "configure"
29697 cat confdefs.h >>conftest.$ac_ext
29698 cat >>conftest.$ac_ext <<_ACEOF
29699 /* end confdefs.h. */
29700 /* System header to define __stub macros and hopefully few prototypes,
29701 which can conflict with char sched_get_priority_max (); below.
29702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29703 <limits.h> exists even on freestanding compilers. */
29705 # include <limits.h>
29707 # include <assert.h>
29709 /* Override any gcc2 internal prototype to avoid an error. */
29714 /* We use char because int might match the return type of a gcc2
29715 builtin and then its argument prototype would still apply. */
29716 char sched_get_priority_max ();
29717 /* The GNU C library defines this for functions which it implements
29718 to always fail with ENOSYS. Some functions are actually named
29719 something starting with __ and the normal name is an alias. */
29720 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29723 char (*f) () = sched_get_priority_max;
29732 return f != sched_get_priority_max;
29737 rm -f conftest.$ac_objext conftest$ac_exeext
29738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29739 (eval $ac_link) 2>&5
29741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29742 (exit $ac_status); } &&
29743 { ac_try='test -s conftest$ac_exeext'
29744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29745 (eval $ac_try) 2>&5
29747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29748 (exit $ac_status); }; }; then
29749 ac_cv_func_sched_get_priority_max=yes
29751 echo "$as_me: failed program was:" >&5
29752 sed 's/^/| /' conftest.$ac_ext >&5
29754 ac_cv_func_sched_get_priority_max=no
29756 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29758 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29759 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29760 if test $ac_cv_func_sched_get_priority_max = yes; then
29763 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29764 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29765 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29766 echo $ECHO_N "(cached) $ECHO_C" >&6
29768 ac_check_lib_save_LIBS=$LIBS
29769 LIBS="-lposix4 $LIBS"
29770 cat >conftest.$ac_ext <<_ACEOF
29771 #line $LINENO "configure"
29774 cat confdefs.h >>conftest.$ac_ext
29775 cat >>conftest.$ac_ext <<_ACEOF
29776 /* end confdefs.h. */
29778 /* Override any gcc2 internal prototype to avoid an error. */
29782 /* We use char because int might match the return type of a gcc2
29783 builtin and then its argument prototype would still apply. */
29784 char sched_get_priority_max ();
29788 sched_get_priority_max ();
29793 rm -f conftest.$ac_objext conftest$ac_exeext
29794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29795 (eval $ac_link) 2>&5
29797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29798 (exit $ac_status); } &&
29799 { ac_try='test -s conftest$ac_exeext'
29800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29801 (eval $ac_try) 2>&5
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); }; }; then
29805 ac_cv_lib_posix4_sched_get_priority_max=yes
29807 echo "$as_me: failed program was:" >&5
29808 sed 's/^/| /' conftest.$ac_ext >&5
29810 ac_cv_lib_posix4_sched_get_priority_max=no
29812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29813 LIBS=$ac_check_lib_save_LIBS
29815 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29816 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29817 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29820 POSIX4_LINK=" -lposix4"
29834 if test "$HAVE_PRIOR_FUNCS" = 1; then
29835 cat >>confdefs.h <<\_ACEOF
29836 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29840 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29841 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29844 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29845 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29846 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29847 echo $ECHO_N "(cached) $ECHO_C" >&6
29849 cat >conftest.$ac_ext <<_ACEOF
29850 #line $LINENO "configure"
29853 cat confdefs.h >>conftest.$ac_ext
29854 cat >>conftest.$ac_ext <<_ACEOF
29855 /* end confdefs.h. */
29856 /* System header to define __stub macros and hopefully few prototypes,
29857 which can conflict with char pthread_cancel (); below.
29858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29859 <limits.h> exists even on freestanding compilers. */
29861 # include <limits.h>
29863 # include <assert.h>
29865 /* Override any gcc2 internal prototype to avoid an error. */
29870 /* We use char because int might match the return type of a gcc2
29871 builtin and then its argument prototype would still apply. */
29872 char pthread_cancel ();
29873 /* The GNU C library defines this for functions which it implements
29874 to always fail with ENOSYS. Some functions are actually named
29875 something starting with __ and the normal name is an alias. */
29876 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29879 char (*f) () = pthread_cancel;
29888 return f != pthread_cancel;
29893 rm -f conftest.$ac_objext conftest$ac_exeext
29894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29895 (eval $ac_link) 2>&5
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); } &&
29899 { ac_try='test -s conftest$ac_exeext'
29900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29901 (eval $ac_try) 2>&5
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); }; }; then
29905 ac_cv_func_pthread_cancel=yes
29907 echo "$as_me: failed program was:" >&5
29908 sed 's/^/| /' conftest.$ac_ext >&5
29910 ac_cv_func_pthread_cancel=no
29912 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29914 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29915 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29916 if test $ac_cv_func_pthread_cancel = yes; then
29917 cat >>confdefs.h <<\_ACEOF
29918 #define HAVE_PTHREAD_CANCEL 1
29922 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29923 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29927 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29928 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29929 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29930 echo $ECHO_N "(cached) $ECHO_C" >&6
29933 cat >conftest.$ac_ext <<_ACEOF
29934 #line $LINENO "configure"
29937 cat confdefs.h >>conftest.$ac_ext
29938 cat >>conftest.$ac_ext <<_ACEOF
29939 /* end confdefs.h. */
29940 #include <pthread.h>
29945 pthread_cleanup_push(NULL, NULL);
29946 pthread_cleanup_pop(0);
29952 rm -f conftest.$ac_objext
29953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29954 (eval $ac_compile) 2>&5
29956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29957 (exit $ac_status); } &&
29958 { ac_try='test -s conftest.$ac_objext'
29959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29960 (eval $ac_try) 2>&5
29962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963 (exit $ac_status); }; }; then
29965 wx_cv_func_pthread_cleanup_push=yes
29968 echo "$as_me: failed program was:" >&5
29969 sed 's/^/| /' conftest.$ac_ext >&5
29972 wx_cv_func_pthread_cleanup_push=no
29975 rm -f conftest.$ac_objext conftest.$ac_ext
29978 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29979 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29981 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29982 cat >>confdefs.h <<\_ACEOF
29983 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29989 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29990 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29991 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29992 echo $ECHO_N "(cached) $ECHO_C" >&6
29995 cat >conftest.$ac_ext <<_ACEOF
29996 #line $LINENO "configure"
29999 cat confdefs.h >>conftest.$ac_ext
30000 cat >>conftest.$ac_ext <<_ACEOF
30001 /* end confdefs.h. */
30002 #include <pthread.h>
30007 pthread_mutexattr_t attr;
30008 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30014 rm -f conftest.$ac_objext
30015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30016 (eval $ac_compile) 2>&5
30018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30019 (exit $ac_status); } &&
30020 { ac_try='test -s conftest.$ac_objext'
30021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30022 (eval $ac_try) 2>&5
30024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30025 (exit $ac_status); }; }; then
30027 wx_cv_type_pthread_mutexattr_t=yes
30030 echo "$as_me: failed program was:" >&5
30031 sed 's/^/| /' conftest.$ac_ext >&5
30034 wx_cv_type_pthread_mutexattr_t=no
30038 rm -f conftest.$ac_objext conftest.$ac_ext
30041 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30042 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30044 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30045 cat >>confdefs.h <<\_ACEOF
30046 #define HAVE_PTHREAD_MUTEXATTR_T 1
30050 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30051 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30052 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30053 echo $ECHO_N "(cached) $ECHO_C" >&6
30056 cat >conftest.$ac_ext <<_ACEOF
30057 #line $LINENO "configure"
30060 cat confdefs.h >>conftest.$ac_ext
30061 cat >>conftest.$ac_ext <<_ACEOF
30062 /* end confdefs.h. */
30063 #include <pthread.h>
30068 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30074 rm -f conftest.$ac_objext
30075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30076 (eval $ac_compile) 2>&5
30078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30079 (exit $ac_status); } &&
30080 { ac_try='test -s conftest.$ac_objext'
30081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30082 (eval $ac_try) 2>&5
30084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30085 (exit $ac_status); }; }; then
30087 wx_cv_type_pthread_rec_mutex_init=yes
30090 echo "$as_me: failed program was:" >&5
30091 sed 's/^/| /' conftest.$ac_ext >&5
30094 wx_cv_type_pthread_rec_mutex_init=no
30098 rm -f conftest.$ac_objext conftest.$ac_ext
30101 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30102 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30103 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30104 cat >>confdefs.h <<\_ACEOF
30105 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30109 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30110 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30116 if test "$wxUSE_THREADS" = "yes" ; then
30119 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30120 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30121 if test "${wx_cv_cflags_mthread+set}" = set; then
30122 echo $ECHO_N "(cached) $ECHO_C" >&6
30125 CFLAGS_OLD="$CFLAGS"
30126 CFLAGS="$CFLAGS -mthreads"
30127 cat >conftest.$ac_ext <<_ACEOF
30128 #line $LINENO "configure"
30131 cat confdefs.h >>conftest.$ac_ext
30132 cat >>conftest.$ac_ext <<_ACEOF
30133 /* end confdefs.h. */
30143 rm -f conftest.$ac_objext
30144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30145 (eval $ac_compile) 2>&5
30147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30148 (exit $ac_status); } &&
30149 { ac_try='test -s conftest.$ac_objext'
30150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30151 (eval $ac_try) 2>&5
30153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30154 (exit $ac_status); }; }; then
30155 wx_cv_cflags_mthread=yes
30157 echo "$as_me: failed program was:" >&5
30158 sed 's/^/| /' conftest.$ac_ext >&5
30160 wx_cv_cflags_mthread=no
30163 rm -f conftest.$ac_objext conftest.$ac_ext
30167 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30168 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30170 if test "$wx_cv_cflags_mthread" = "yes"; then
30171 CXXFLAGS="$CXXFLAGS -mthreads"
30172 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30173 LDFLAGS="$LDFLAGS -mthreads"
30175 CFLAGS="$CFLAGS_OLD"
30182 if test "$wxUSE_THREADS" = "yes"; then
30183 cat >>confdefs.h <<\_ACEOF
30184 #define wxUSE_THREADS 1
30188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30190 if test "$ac_cv_func_strtok_r" = "yes"; then
30191 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30192 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30193 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30194 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30195 echo "$as_me:$LINENO: result: yes" >&5
30196 echo "${ECHO_T}yes" >&6
30198 echo "$as_me:$LINENO: result: no" >&5
30199 echo "${ECHO_T}no" >&6
30204 if test "$WXGTK20" = 1 ; then
30205 cat >>confdefs.h <<_ACEOF
30206 #define __WXGTK20__ $WXGTK20
30212 if test "$WXGTK12" = 1 ; then
30213 cat >>confdefs.h <<_ACEOF
30214 #define __WXGTK12__ $WXGTK12
30219 if test "$WXGTK127" = 1 ; then
30220 cat >>confdefs.h <<_ACEOF
30221 #define __WXGTK127__ $WXGTK127
30228 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30233 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30234 wxUSE_DEBUG_INFO=yes
30238 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30239 cat >>confdefs.h <<\_ACEOF
30243 WXDEBUG_DEFINE="-D__WXDEBUG__"
30245 if test "$wxUSE_GTK" = 1 ; then
30246 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30250 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30251 cat >>confdefs.h <<\_ACEOF
30252 #define wxUSE_MEMORY_TRACING 1
30255 cat >>confdefs.h <<\_ACEOF
30256 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30259 cat >>confdefs.h <<\_ACEOF
30260 #define wxUSE_DEBUG_NEW_ALWAYS 1
30263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30266 if test "$wxUSE_DMALLOC" = "yes" ; then
30267 DMALLOC_LIBS="-ldmalloc"
30271 if test "$wxUSE_PROFILE" = "yes" ; then
30276 CODE_GEN_FLAGS_CXX=
30277 if test "$GCC" = "yes" ; then
30278 if test "$wxUSE_NO_RTTI" = "yes" ; then
30279 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30281 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30282 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30284 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30285 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30290 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30293 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30299 if test "$wxUSE_OPTIMISE" = "no" ; then
30300 if test "$GCC" = yes ; then
30304 if test "$GCC" = yes ; then
30308 i586-*-*|i686-*-* )
30309 OPTIMISE="${OPTIMISE} "
30318 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
30319 cat >>confdefs.h <<\_ACEOF
30320 #define WXWIN_COMPATIBILITY_2 1
30324 WXWIN_COMPATIBILITY_2_2="yes"
30327 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30328 cat >>confdefs.h <<\_ACEOF
30329 #define WXWIN_COMPATIBILITY_2_2 1
30333 WXWIN_COMPATIBILITY_2_4="yes"
30336 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30337 cat >>confdefs.h <<\_ACEOF
30338 #define WXWIN_COMPATIBILITY_2_4 1
30344 if test "$wxUSE_GUI" = "yes"; then
30345 cat >>confdefs.h <<\_ACEOF
30346 #define wxUSE_GUI 1
30351 cat >>confdefs.h <<\_ACEOF
30352 #define wxUSE_NOGUI 1
30358 if test "$wxUSE_UNIX" = "yes"; then
30359 cat >>confdefs.h <<\_ACEOF
30360 #define wxUSE_UNIX 1
30366 if test "$wxUSE_STL" = "yes"; then
30367 cat >>confdefs.h <<\_ACEOF
30368 #define wxUSE_STL 1
30373 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30374 cat >>confdefs.h <<\_ACEOF
30375 #define wxUSE_APPLE_IEEE 1
30380 if test "$wxUSE_TIMER" = "yes"; then
30381 cat >>confdefs.h <<\_ACEOF
30382 #define wxUSE_TIMER 1
30387 if test "$wxUSE_WAVE" = "yes"; then
30388 cat >>confdefs.h <<\_ACEOF
30389 #define wxUSE_WAVE 1
30394 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30395 cat >>confdefs.h <<\_ACEOF
30396 #define wxUSE_CMDLINE_PARSER 1
30401 if test "$wxUSE_STOPWATCH" = "yes"; then
30402 cat >>confdefs.h <<\_ACEOF
30403 #define wxUSE_STOPWATCH 1
30408 if test "$wxUSE_DATETIME" = "yes"; then
30409 cat >>confdefs.h <<\_ACEOF
30410 #define wxUSE_DATETIME 1
30415 if test "$wxUSE_FILE" = "yes"; then
30416 cat >>confdefs.h <<\_ACEOF
30417 #define wxUSE_FILE 1
30422 if test "$wxUSE_FFILE" = "yes"; then
30423 cat >>confdefs.h <<\_ACEOF
30424 #define wxUSE_FFILE 1
30429 if test "$wxUSE_FILESYSTEM" = "yes"; then
30430 cat >>confdefs.h <<\_ACEOF
30431 #define wxUSE_FILESYSTEM 1
30436 if test "$wxUSE_FS_ZIP" = "yes"; then
30437 cat >>confdefs.h <<\_ACEOF
30438 #define wxUSE_FS_ZIP 1
30443 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30444 cat >>confdefs.h <<\_ACEOF
30445 #define wxUSE_ZIPSTREAM 1
30450 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30451 cat >>confdefs.h <<\_ACEOF
30452 #define wxUSE_ON_FATAL_EXCEPTION 1
30457 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30458 cat >>confdefs.h <<\_ACEOF
30459 #define wxUSE_SNGLINST_CHECKER 1
30464 if test "$wxUSE_BUSYINFO" = "yes"; then
30465 cat >>confdefs.h <<\_ACEOF
30466 #define wxUSE_BUSYINFO 1
30471 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30472 cat >>confdefs.h <<\_ACEOF
30473 #define wxUSE_STD_IOSTREAM 1
30478 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30479 cat >>confdefs.h <<\_ACEOF
30480 #define wxUSE_TEXTBUFFER 1
30485 if test "$wxUSE_TEXTFILE" = "yes"; then
30486 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30487 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30488 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30490 cat >>confdefs.h <<\_ACEOF
30491 #define wxUSE_TEXTFILE 1
30497 if test "$wxUSE_CONFIG" = "yes" ; then
30498 if test "$wxUSE_TEXTFILE" != "yes"; then
30499 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30500 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30502 cat >>confdefs.h <<\_ACEOF
30503 #define wxUSE_CONFIG 1
30506 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30510 if test "$wxUSE_INTL" = "yes" ; then
30511 if test "$wxUSE_FILE" != "yes"; then
30512 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30513 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30515 cat >>confdefs.h <<\_ACEOF
30516 #define wxUSE_INTL 1
30519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30520 GUIDIST="$GUIDIST INTL_DIST"
30524 if test "$wxUSE_LOG" = "yes"; then
30525 cat >>confdefs.h <<\_ACEOF
30526 #define wxUSE_LOG 1
30530 if test "$wxUSE_LOGGUI" = "yes"; then
30531 cat >>confdefs.h <<\_ACEOF
30532 #define wxUSE_LOGGUI 1
30537 if test "$wxUSE_LOGWINDOW" = "yes"; then
30538 cat >>confdefs.h <<\_ACEOF
30539 #define wxUSE_LOGWINDOW 1
30544 if test "$wxUSE_LOGDIALOG" = "yes"; then
30545 cat >>confdefs.h <<\_ACEOF
30546 #define wxUSE_LOG_DIALOG 1
30552 if test "$wxUSE_LONGLONG" = "yes"; then
30553 cat >>confdefs.h <<\_ACEOF
30554 #define wxUSE_LONGLONG 1
30559 if test "$wxUSE_GEOMETRY" = "yes"; then
30560 cat >>confdefs.h <<\_ACEOF
30561 #define wxUSE_GEOMETRY 1
30566 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30567 cat >>confdefs.h <<\_ACEOF
30568 #define wxUSE_DIALUP_MANAGER 1
30571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30574 if test "$wxUSE_STREAMS" = "yes" ; then
30575 cat >>confdefs.h <<\_ACEOF
30576 #define wxUSE_STREAMS 1
30582 if test "$wxUSE_DATETIME" = "yes"; then
30584 for ac_func in strptime
30586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30587 echo "$as_me:$LINENO: checking for $ac_func" >&5
30588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30589 if eval "test \"\${$as_ac_var+set}\" = set"; then
30590 echo $ECHO_N "(cached) $ECHO_C" >&6
30592 cat >conftest.$ac_ext <<_ACEOF
30593 #line $LINENO "configure"
30596 cat confdefs.h >>conftest.$ac_ext
30597 cat >>conftest.$ac_ext <<_ACEOF
30598 /* end confdefs.h. */
30599 /* System header to define __stub macros and hopefully few prototypes,
30600 which can conflict with char $ac_func (); below.
30601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30602 <limits.h> exists even on freestanding compilers. */
30604 # include <limits.h>
30606 # include <assert.h>
30608 /* Override any gcc2 internal prototype to avoid an error. */
30613 /* We use char because int might match the return type of a gcc2
30614 builtin and then its argument prototype would still apply. */
30616 /* The GNU C library defines this for functions which it implements
30617 to always fail with ENOSYS. Some functions are actually named
30618 something starting with __ and the normal name is an alias. */
30619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30622 char (*f) () = $ac_func;
30631 return f != $ac_func;
30636 rm -f conftest.$ac_objext conftest$ac_exeext
30637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30638 (eval $ac_link) 2>&5
30640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30641 (exit $ac_status); } &&
30642 { ac_try='test -s conftest$ac_exeext'
30643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30644 (eval $ac_try) 2>&5
30646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647 (exit $ac_status); }; }; then
30648 eval "$as_ac_var=yes"
30650 echo "$as_me: failed program was:" >&5
30651 sed 's/^/| /' conftest.$ac_ext >&5
30653 eval "$as_ac_var=no"
30655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30659 if test `eval echo '${'$as_ac_var'}'` = yes; then
30660 cat >>confdefs.h <<_ACEOF
30661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30668 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30669 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30670 if test "${wx_cv_var_timezone+set}" = set; then
30671 echo $ECHO_N "(cached) $ECHO_C" >&6
30674 cat >conftest.$ac_ext <<_ACEOF
30675 #line $LINENO "configure"
30678 cat confdefs.h >>conftest.$ac_ext
30679 cat >>conftest.$ac_ext <<_ACEOF
30680 /* end confdefs.h. */
30695 rm -f conftest.$ac_objext
30696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30697 (eval $ac_compile) 2>&5
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); } &&
30701 { ac_try='test -s conftest.$ac_objext'
30702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30703 (eval $ac_try) 2>&5
30705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30706 (exit $ac_status); }; }; then
30708 wx_cv_var_timezone=timezone
30711 echo "$as_me: failed program was:" >&5
30712 sed 's/^/| /' conftest.$ac_ext >&5
30715 cat >conftest.$ac_ext <<_ACEOF
30716 #line $LINENO "configure"
30719 cat confdefs.h >>conftest.$ac_ext
30720 cat >>conftest.$ac_ext <<_ACEOF
30721 /* end confdefs.h. */
30736 rm -f conftest.$ac_objext
30737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30738 (eval $ac_compile) 2>&5
30740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30741 (exit $ac_status); } &&
30742 { ac_try='test -s conftest.$ac_objext'
30743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30744 (eval $ac_try) 2>&5
30746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30747 (exit $ac_status); }; }; then
30749 wx_cv_var_timezone=_timezone
30752 echo "$as_me: failed program was:" >&5
30753 sed 's/^/| /' conftest.$ac_ext >&5
30756 cat >conftest.$ac_ext <<_ACEOF
30757 #line $LINENO "configure"
30760 cat confdefs.h >>conftest.$ac_ext
30761 cat >>conftest.$ac_ext <<_ACEOF
30762 /* end confdefs.h. */
30777 rm -f conftest.$ac_objext
30778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30779 (eval $ac_compile) 2>&5
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); } &&
30783 { ac_try='test -s conftest.$ac_objext'
30784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30785 (eval $ac_try) 2>&5
30787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30788 (exit $ac_status); }; }; then
30790 wx_cv_var_timezone=__timezone
30793 echo "$as_me: failed program was:" >&5
30794 sed 's/^/| /' conftest.$ac_ext >&5
30797 if test "$USE_DOS" = 0 ; then
30798 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30799 echo "$as_me: WARNING: no timezone variable" >&2;}
30804 rm -f conftest.$ac_objext conftest.$ac_ext
30808 rm -f conftest.$ac_objext conftest.$ac_ext
30812 rm -f conftest.$ac_objext conftest.$ac_ext
30816 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30817 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30819 if test "x$wx_cv_var_timezone" != x ; then
30820 cat >>confdefs.h <<_ACEOF
30821 #define WX_TIMEZONE $wx_cv_var_timezone
30827 for ac_func in localtime
30829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30830 echo "$as_me:$LINENO: checking for $ac_func" >&5
30831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30832 if eval "test \"\${$as_ac_var+set}\" = set"; then
30833 echo $ECHO_N "(cached) $ECHO_C" >&6
30835 cat >conftest.$ac_ext <<_ACEOF
30836 #line $LINENO "configure"
30839 cat confdefs.h >>conftest.$ac_ext
30840 cat >>conftest.$ac_ext <<_ACEOF
30841 /* end confdefs.h. */
30842 /* System header to define __stub macros and hopefully few prototypes,
30843 which can conflict with char $ac_func (); below.
30844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30845 <limits.h> exists even on freestanding compilers. */
30847 # include <limits.h>
30849 # include <assert.h>
30851 /* Override any gcc2 internal prototype to avoid an error. */
30856 /* We use char because int might match the return type of a gcc2
30857 builtin and then its argument prototype would still apply. */
30859 /* The GNU C library defines this for functions which it implements
30860 to always fail with ENOSYS. Some functions are actually named
30861 something starting with __ and the normal name is an alias. */
30862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30865 char (*f) () = $ac_func;
30874 return f != $ac_func;
30879 rm -f conftest.$ac_objext conftest$ac_exeext
30880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30881 (eval $ac_link) 2>&5
30883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 (exit $ac_status); } &&
30885 { ac_try='test -s conftest$ac_exeext'
30886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30887 (eval $ac_try) 2>&5
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); }; }; then
30891 eval "$as_ac_var=yes"
30893 echo "$as_me: failed program was:" >&5
30894 sed 's/^/| /' conftest.$ac_ext >&5
30896 eval "$as_ac_var=no"
30898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30902 if test `eval echo '${'$as_ac_var'}'` = yes; then
30903 cat >>confdefs.h <<_ACEOF
30904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30911 if test "$ac_cv_func_localtime" = "yes"; then
30912 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30913 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30914 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30915 echo $ECHO_N "(cached) $ECHO_C" >&6
30918 cat >conftest.$ac_ext <<_ACEOF
30919 #line $LINENO "configure"
30922 cat confdefs.h >>conftest.$ac_ext
30923 cat >>conftest.$ac_ext <<_ACEOF
30924 /* end confdefs.h. */
30939 rm -f conftest.$ac_objext
30940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30941 (eval $ac_compile) 2>&5
30943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30944 (exit $ac_status); } &&
30945 { ac_try='test -s conftest.$ac_objext'
30946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30947 (eval $ac_try) 2>&5
30949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30950 (exit $ac_status); }; }; then
30952 wx_cv_struct_tm_has_gmtoff=yes
30955 echo "$as_me: failed program was:" >&5
30956 sed 's/^/| /' conftest.$ac_ext >&5
30958 wx_cv_struct_tm_has_gmtoff=no
30961 rm -f conftest.$ac_objext conftest.$ac_ext
30964 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30965 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30968 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30969 cat >>confdefs.h <<\_ACEOF
30970 #define WX_GMTOFF_IN_TM 1
30977 for ac_func in gettimeofday ftime
30979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30980 echo "$as_me:$LINENO: checking for $ac_func" >&5
30981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30982 if eval "test \"\${$as_ac_var+set}\" = set"; then
30983 echo $ECHO_N "(cached) $ECHO_C" >&6
30985 cat >conftest.$ac_ext <<_ACEOF
30986 #line $LINENO "configure"
30989 cat confdefs.h >>conftest.$ac_ext
30990 cat >>conftest.$ac_ext <<_ACEOF
30991 /* end confdefs.h. */
30992 /* System header to define __stub macros and hopefully few prototypes,
30993 which can conflict with char $ac_func (); below.
30994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30995 <limits.h> exists even on freestanding compilers. */
30997 # include <limits.h>
30999 # include <assert.h>
31001 /* Override any gcc2 internal prototype to avoid an error. */
31006 /* We use char because int might match the return type of a gcc2
31007 builtin and then its argument prototype would still apply. */
31009 /* The GNU C library defines this for functions which it implements
31010 to always fail with ENOSYS. Some functions are actually named
31011 something starting with __ and the normal name is an alias. */
31012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31015 char (*f) () = $ac_func;
31024 return f != $ac_func;
31029 rm -f conftest.$ac_objext conftest$ac_exeext
31030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31031 (eval $ac_link) 2>&5
31033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31034 (exit $ac_status); } &&
31035 { ac_try='test -s conftest$ac_exeext'
31036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31037 (eval $ac_try) 2>&5
31039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31040 (exit $ac_status); }; }; then
31041 eval "$as_ac_var=yes"
31043 echo "$as_me: failed program was:" >&5
31044 sed 's/^/| /' conftest.$ac_ext >&5
31046 eval "$as_ac_var=no"
31048 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31052 if test `eval echo '${'$as_ac_var'}'` = yes; then
31053 cat >>confdefs.h <<_ACEOF
31054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31061 if test "$ac_cv_func_gettimeofday" = "yes"; then
31062 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31063 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31064 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31071 ac_cpp='$CXXCPP $CPPFLAGS'
31072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31077 cat >conftest.$ac_ext <<_ACEOF
31078 #line $LINENO "configure"
31081 cat confdefs.h >>conftest.$ac_ext
31082 cat >>conftest.$ac_ext <<_ACEOF
31083 /* end confdefs.h. */
31085 #include <sys/time.h>
31086 #include <unistd.h>
31093 gettimeofday(&tv, NULL);
31099 rm -f conftest.$ac_objext
31100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31101 (eval $ac_compile) 2>&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } &&
31105 { ac_try='test -s conftest.$ac_objext'
31106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31107 (eval $ac_try) 2>&5
31109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31110 (exit $ac_status); }; }; then
31111 wx_cv_func_gettimeofday_has_2_args=yes
31113 echo "$as_me: failed program was:" >&5
31114 sed 's/^/| /' conftest.$ac_ext >&5
31116 cat >conftest.$ac_ext <<_ACEOF
31117 #line $LINENO "configure"
31120 cat confdefs.h >>conftest.$ac_ext
31121 cat >>conftest.$ac_ext <<_ACEOF
31122 /* end confdefs.h. */
31124 #include <sys/time.h>
31125 #include <unistd.h>
31138 rm -f conftest.$ac_objext
31139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31140 (eval $ac_compile) 2>&5
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); } &&
31144 { ac_try='test -s conftest.$ac_objext'
31145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31146 (eval $ac_try) 2>&5
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); }; }; then
31150 wx_cv_func_gettimeofday_has_2_args=no
31152 echo "$as_me: failed program was:" >&5
31153 sed 's/^/| /' conftest.$ac_ext >&5
31156 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31157 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31158 wx_cv_func_gettimeofday_has_2_args=unknown
31162 rm -f conftest.$ac_objext conftest.$ac_ext
31165 rm -f conftest.$ac_objext conftest.$ac_ext
31167 ac_cpp='$CPP $CPPFLAGS'
31168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31174 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31175 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31177 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31178 cat >>confdefs.h <<\_ACEOF
31179 #define WX_GETTIMEOFDAY_NO_TZ 1
31185 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31189 if test "$wxUSE_SOCKETS" = "yes"; then
31190 if test "$wxUSE_MGL" = "1"; then
31191 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31192 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31195 if test "$wxUSE_COCOA" = "1"; then
31196 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31197 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31202 if test "$wxUSE_SOCKETS" = "yes"; then
31203 if test "$TOOLKIT" != "MSW"; then
31204 echo "$as_me:$LINENO: checking for socket" >&5
31205 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31206 if test "${ac_cv_func_socket+set}" = set; then
31207 echo $ECHO_N "(cached) $ECHO_C" >&6
31209 cat >conftest.$ac_ext <<_ACEOF
31210 #line $LINENO "configure"
31213 cat confdefs.h >>conftest.$ac_ext
31214 cat >>conftest.$ac_ext <<_ACEOF
31215 /* end confdefs.h. */
31216 /* System header to define __stub macros and hopefully few prototypes,
31217 which can conflict with char socket (); below.
31218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31219 <limits.h> exists even on freestanding compilers. */
31221 # include <limits.h>
31223 # include <assert.h>
31225 /* Override any gcc2 internal prototype to avoid an error. */
31230 /* We use char because int might match the return type of a gcc2
31231 builtin and then its argument prototype would still apply. */
31233 /* The GNU C library defines this for functions which it implements
31234 to always fail with ENOSYS. Some functions are actually named
31235 something starting with __ and the normal name is an alias. */
31236 #if defined (__stub_socket) || defined (__stub___socket)
31239 char (*f) () = socket;
31248 return f != socket;
31253 rm -f conftest.$ac_objext conftest$ac_exeext
31254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31255 (eval $ac_link) 2>&5
31257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31258 (exit $ac_status); } &&
31259 { ac_try='test -s conftest$ac_exeext'
31260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31261 (eval $ac_try) 2>&5
31263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31264 (exit $ac_status); }; }; then
31265 ac_cv_func_socket=yes
31267 echo "$as_me: failed program was:" >&5
31268 sed 's/^/| /' conftest.$ac_ext >&5
31270 ac_cv_func_socket=no
31272 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31274 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31275 echo "${ECHO_T}$ac_cv_func_socket" >&6
31276 if test $ac_cv_func_socket = yes; then
31279 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31280 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31281 if test "${ac_cv_lib_socket_socket+set}" = set; then
31282 echo $ECHO_N "(cached) $ECHO_C" >&6
31284 ac_check_lib_save_LIBS=$LIBS
31285 LIBS="-lsocket $LIBS"
31286 cat >conftest.$ac_ext <<_ACEOF
31287 #line $LINENO "configure"
31290 cat confdefs.h >>conftest.$ac_ext
31291 cat >>conftest.$ac_ext <<_ACEOF
31292 /* end confdefs.h. */
31294 /* Override any gcc2 internal prototype to avoid an error. */
31298 /* We use char because int might match the return type of a gcc2
31299 builtin and then its argument prototype would still apply. */
31309 rm -f conftest.$ac_objext conftest$ac_exeext
31310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31311 (eval $ac_link) 2>&5
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); } &&
31315 { ac_try='test -s conftest$ac_exeext'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; }; then
31321 ac_cv_lib_socket_socket=yes
31323 echo "$as_me: failed program was:" >&5
31324 sed 's/^/| /' conftest.$ac_ext >&5
31326 ac_cv_lib_socket_socket=no
31328 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31329 LIBS=$ac_check_lib_save_LIBS
31331 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31332 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31333 if test $ac_cv_lib_socket_socket = yes; then
31334 if test "$INET_LINK" != " -lsocket"; then
31335 INET_LINK="$INET_LINK -lsocket"
31339 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31340 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31352 if test "$wxUSE_SOCKETS" = "yes" ; then
31353 if test "$TOOLKIT" != "MSW"; then
31354 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31355 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31356 if test "${wx_cv_type_getsockname3+set}" = set; then
31357 echo $ECHO_N "(cached) $ECHO_C" >&6
31360 cat >conftest.$ac_ext <<_ACEOF
31361 #line $LINENO "configure"
31364 cat confdefs.h >>conftest.$ac_ext
31365 cat >>conftest.$ac_ext <<_ACEOF
31366 /* end confdefs.h. */
31368 #include <sys/types.h>
31369 #include <sys/socket.h>
31376 getsockname(0, 0, &len);
31382 rm -f conftest.$ac_objext
31383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31384 (eval $ac_compile) 2>&5
31386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31387 (exit $ac_status); } &&
31388 { ac_try='test -s conftest.$ac_objext'
31389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31390 (eval $ac_try) 2>&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); }; }; then
31394 wx_cv_type_getsockname3=socklen_t
31396 echo "$as_me: failed program was:" >&5
31397 sed 's/^/| /' conftest.$ac_ext >&5
31400 CFLAGS_OLD="$CFLAGS"
31401 if test "$GCC" = yes ; then
31402 CFLAGS="$CFLAGS -Werror"
31405 cat >conftest.$ac_ext <<_ACEOF
31406 #line $LINENO "configure"
31409 cat confdefs.h >>conftest.$ac_ext
31410 cat >>conftest.$ac_ext <<_ACEOF
31411 /* end confdefs.h. */
31413 #include <sys/types.h>
31414 #include <sys/socket.h>
31421 getsockname(0, 0, &len);
31427 rm -f conftest.$ac_objext
31428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31429 (eval $ac_compile) 2>&5
31431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31432 (exit $ac_status); } &&
31433 { ac_try='test -s conftest.$ac_objext'
31434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31435 (eval $ac_try) 2>&5
31437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438 (exit $ac_status); }; }; then
31439 wx_cv_type_getsockname3=size_t
31441 echo "$as_me: failed program was:" >&5
31442 sed 's/^/| /' conftest.$ac_ext >&5
31444 cat >conftest.$ac_ext <<_ACEOF
31445 #line $LINENO "configure"
31448 cat confdefs.h >>conftest.$ac_ext
31449 cat >>conftest.$ac_ext <<_ACEOF
31450 /* end confdefs.h. */
31452 #include <sys/types.h>
31453 #include <sys/socket.h>
31460 getsockname(0, 0, &len);
31466 rm -f conftest.$ac_objext
31467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31468 (eval $ac_compile) 2>&5
31470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31471 (exit $ac_status); } &&
31472 { ac_try='test -s conftest.$ac_objext'
31473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31474 (eval $ac_try) 2>&5
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); }; }; then
31478 wx_cv_type_getsockname3=int
31480 echo "$as_me: failed program was:" >&5
31481 sed 's/^/| /' conftest.$ac_ext >&5
31483 wx_cv_type_getsockname3=unknown
31486 rm -f conftest.$ac_objext conftest.$ac_ext
31489 rm -f conftest.$ac_objext conftest.$ac_ext
31491 CFLAGS="$CFLAGS_OLD"
31495 rm -f conftest.$ac_objext conftest.$ac_ext
31498 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31499 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31501 if test "$wx_cv_type_getsockname3" = "unknown"; then
31503 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31504 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31506 cat >>confdefs.h <<_ACEOF
31507 #define SOCKLEN_T $wx_cv_type_getsockname3
31514 if test "$wxUSE_SOCKETS" = "yes" ; then
31515 cat >>confdefs.h <<\_ACEOF
31516 #define wxUSE_SOCKETS 1
31519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31522 if test "$wxUSE_PROTOCOL" = "yes"; then
31523 if test "$wxUSE_SOCKETS" != "yes"; then
31524 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31525 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31530 if test "$wxUSE_PROTOCOL" = "yes"; then
31531 cat >>confdefs.h <<\_ACEOF
31532 #define wxUSE_PROTOCOL 1
31536 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31537 cat >>confdefs.h <<\_ACEOF
31538 #define wxUSE_PROTOCOL_HTTP 1
31542 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31543 cat >>confdefs.h <<\_ACEOF
31544 #define wxUSE_PROTOCOL_FTP 1
31548 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31549 cat >>confdefs.h <<\_ACEOF
31550 #define wxUSE_PROTOCOL_FILE 1
31555 if test "$wxUSE_FS_INET" = "yes"; then
31556 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31557 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31562 if test "$wxUSE_URL" = "yes"; then
31563 if test "$wxUSE_PROTOCOL" != "yes"; then
31564 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31565 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31568 if test "$wxUSE_URL" = "yes"; then
31569 cat >>confdefs.h <<\_ACEOF
31570 #define wxUSE_URL 1
31576 if test "$wxUSE_FS_INET" = "yes"; then
31577 cat >>confdefs.h <<\_ACEOF
31578 #define wxUSE_FS_INET 1
31584 if test "$wxUSE_GUI" = "yes"; then
31586 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31587 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31588 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31592 if test "$TOOLKIT" != "MSW"; then
31593 if test "$wxUSE_JOYSTICK" = "yes"; then
31595 for ac_header in linux/joystick.h
31597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31599 echo "$as_me:$LINENO: checking for $ac_header" >&5
31600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31602 echo $ECHO_N "(cached) $ECHO_C" >&6
31604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31607 # Is the header compilable?
31608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31610 cat >conftest.$ac_ext <<_ACEOF
31611 #line $LINENO "configure"
31614 cat confdefs.h >>conftest.$ac_ext
31615 cat >>conftest.$ac_ext <<_ACEOF
31616 /* end confdefs.h. */
31617 $ac_includes_default
31618 #include <$ac_header>
31620 rm -f conftest.$ac_objext
31621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31622 (eval $ac_compile) 2>&5
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); } &&
31626 { ac_try='test -s conftest.$ac_objext'
31627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31628 (eval $ac_try) 2>&5
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); }; }; then
31632 ac_header_compiler=yes
31634 echo "$as_me: failed program was:" >&5
31635 sed 's/^/| /' conftest.$ac_ext >&5
31637 ac_header_compiler=no
31639 rm -f conftest.$ac_objext conftest.$ac_ext
31640 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31641 echo "${ECHO_T}$ac_header_compiler" >&6
31643 # Is the header present?
31644 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31645 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31646 cat >conftest.$ac_ext <<_ACEOF
31647 #line $LINENO "configure"
31650 cat confdefs.h >>conftest.$ac_ext
31651 cat >>conftest.$ac_ext <<_ACEOF
31652 /* end confdefs.h. */
31653 #include <$ac_header>
31655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31658 grep -v '^ *+' conftest.er1 >conftest.err
31660 cat conftest.err >&5
31661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31662 (exit $ac_status); } >/dev/null; then
31663 if test -s conftest.err; then
31664 ac_cpp_err=$ac_c_preproc_warn_flag
31671 if test -z "$ac_cpp_err"; then
31672 ac_header_preproc=yes
31674 echo "$as_me: failed program was:" >&5
31675 sed 's/^/| /' conftest.$ac_ext >&5
31677 ac_header_preproc=no
31679 rm -f conftest.err conftest.$ac_ext
31680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31681 echo "${ECHO_T}$ac_header_preproc" >&6
31683 # So? What about this header?
31684 case $ac_header_compiler:$ac_header_preproc in
31686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31687 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31689 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31692 ## ------------------------------------ ##
31693 ## Report this to bug-autoconf@gnu.org. ##
31694 ## ------------------------------------ ##
31697 sed "s/^/$as_me: WARNING: /" >&2
31700 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31701 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31702 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31703 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31708 ## ------------------------------------ ##
31709 ## Report this to bug-autoconf@gnu.org. ##
31710 ## ------------------------------------ ##
31713 sed "s/^/$as_me: WARNING: /" >&2
31716 echo "$as_me:$LINENO: checking for $ac_header" >&5
31717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31719 echo $ECHO_N "(cached) $ECHO_C" >&6
31721 eval "$as_ac_Header=$ac_header_preproc"
31723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31728 cat >>confdefs.h <<_ACEOF
31729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31736 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31738 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31739 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31744 if test "$wxUSE_JOYSTICK" = "yes"; then
31745 cat >>confdefs.h <<\_ACEOF
31746 #define wxUSE_JOYSTICK 1
31749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31754 if test "$TOOLKIT" != "MSW"; then
31758 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31759 if test "$USE_DARWIN" = 1; then
31763 for ac_func in dlopen
31765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31766 echo "$as_me:$LINENO: checking for $ac_func" >&5
31767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31768 if eval "test \"\${$as_ac_var+set}\" = set"; then
31769 echo $ECHO_N "(cached) $ECHO_C" >&6
31771 cat >conftest.$ac_ext <<_ACEOF
31772 #line $LINENO "configure"
31775 cat confdefs.h >>conftest.$ac_ext
31776 cat >>conftest.$ac_ext <<_ACEOF
31777 /* end confdefs.h. */
31778 /* System header to define __stub macros and hopefully few prototypes,
31779 which can conflict with char $ac_func (); below.
31780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31781 <limits.h> exists even on freestanding compilers. */
31783 # include <limits.h>
31785 # include <assert.h>
31787 /* Override any gcc2 internal prototype to avoid an error. */
31792 /* We use char because int might match the return type of a gcc2
31793 builtin and then its argument prototype would still apply. */
31795 /* The GNU C library defines this for functions which it implements
31796 to always fail with ENOSYS. Some functions are actually named
31797 something starting with __ and the normal name is an alias. */
31798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31801 char (*f) () = $ac_func;
31810 return f != $ac_func;
31815 rm -f conftest.$ac_objext conftest$ac_exeext
31816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31817 (eval $ac_link) 2>&5
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); } &&
31821 { ac_try='test -s conftest$ac_exeext'
31822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31823 (eval $ac_try) 2>&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); }; }; then
31827 eval "$as_ac_var=yes"
31829 echo "$as_me: failed program was:" >&5
31830 sed 's/^/| /' conftest.$ac_ext >&5
31832 eval "$as_ac_var=no"
31834 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31838 if test `eval echo '${'$as_ac_var'}'` = yes; then
31839 cat >>confdefs.h <<_ACEOF
31840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31843 cat >>confdefs.h <<\_ACEOF
31844 #define HAVE_DLOPEN 1
31851 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31852 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31853 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31854 echo $ECHO_N "(cached) $ECHO_C" >&6
31856 ac_check_lib_save_LIBS=$LIBS
31858 cat >conftest.$ac_ext <<_ACEOF
31859 #line $LINENO "configure"
31862 cat confdefs.h >>conftest.$ac_ext
31863 cat >>conftest.$ac_ext <<_ACEOF
31864 /* end confdefs.h. */
31866 /* Override any gcc2 internal prototype to avoid an error. */
31870 /* We use char because int might match the return type of a gcc2
31871 builtin and then its argument prototype would still apply. */
31881 rm -f conftest.$ac_objext conftest$ac_exeext
31882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31883 (eval $ac_link) 2>&5
31885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886 (exit $ac_status); } &&
31887 { ac_try='test -s conftest$ac_exeext'
31888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31889 (eval $ac_try) 2>&5
31891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31892 (exit $ac_status); }; }; then
31893 ac_cv_lib_dl_dlopen=yes
31895 echo "$as_me: failed program was:" >&5
31896 sed 's/^/| /' conftest.$ac_ext >&5
31898 ac_cv_lib_dl_dlopen=no
31900 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31901 LIBS=$ac_check_lib_save_LIBS
31903 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31904 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31905 if test $ac_cv_lib_dl_dlopen = yes; then
31907 cat >>confdefs.h <<\_ACEOF
31908 #define HAVE_DLOPEN 1
31912 DL_LINK=" -ldl$DL_LINK"
31917 for ac_func in shl_load
31919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31920 echo "$as_me:$LINENO: checking for $ac_func" >&5
31921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31922 if eval "test \"\${$as_ac_var+set}\" = set"; then
31923 echo $ECHO_N "(cached) $ECHO_C" >&6
31925 cat >conftest.$ac_ext <<_ACEOF
31926 #line $LINENO "configure"
31929 cat confdefs.h >>conftest.$ac_ext
31930 cat >>conftest.$ac_ext <<_ACEOF
31931 /* end confdefs.h. */
31932 /* System header to define __stub macros and hopefully few prototypes,
31933 which can conflict with char $ac_func (); below.
31934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31935 <limits.h> exists even on freestanding compilers. */
31937 # include <limits.h>
31939 # include <assert.h>
31941 /* Override any gcc2 internal prototype to avoid an error. */
31946 /* We use char because int might match the return type of a gcc2
31947 builtin and then its argument prototype would still apply. */
31949 /* The GNU C library defines this for functions which it implements
31950 to always fail with ENOSYS. Some functions are actually named
31951 something starting with __ and the normal name is an alias. */
31952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31955 char (*f) () = $ac_func;
31964 return f != $ac_func;
31969 rm -f conftest.$ac_objext conftest$ac_exeext
31970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31971 (eval $ac_link) 2>&5
31973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31974 (exit $ac_status); } &&
31975 { ac_try='test -s conftest$ac_exeext'
31976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31977 (eval $ac_try) 2>&5
31979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31980 (exit $ac_status); }; }; then
31981 eval "$as_ac_var=yes"
31983 echo "$as_me: failed program was:" >&5
31984 sed 's/^/| /' conftest.$ac_ext >&5
31986 eval "$as_ac_var=no"
31988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31992 if test `eval echo '${'$as_ac_var'}'` = yes; then
31993 cat >>confdefs.h <<_ACEOF
31994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31997 cat >>confdefs.h <<\_ACEOF
31998 #define HAVE_SHL_LOAD 1
32005 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32006 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32007 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32008 echo $ECHO_N "(cached) $ECHO_C" >&6
32010 ac_check_lib_save_LIBS=$LIBS
32011 LIBS="-lshl_load $LIBS"
32012 cat >conftest.$ac_ext <<_ACEOF
32013 #line $LINENO "configure"
32016 cat confdefs.h >>conftest.$ac_ext
32017 cat >>conftest.$ac_ext <<_ACEOF
32018 /* end confdefs.h. */
32020 /* Override any gcc2 internal prototype to avoid an error. */
32024 /* We use char because int might match the return type of a gcc2
32025 builtin and then its argument prototype would still apply. */
32035 rm -f conftest.$ac_objext conftest$ac_exeext
32036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32037 (eval $ac_link) 2>&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); } &&
32041 { ac_try='test -s conftest$ac_exeext'
32042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32043 (eval $ac_try) 2>&5
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); }; }; then
32047 ac_cv_lib_shl_load_dld=yes
32049 echo "$as_me: failed program was:" >&5
32050 sed 's/^/| /' conftest.$ac_ext >&5
32052 ac_cv_lib_shl_load_dld=no
32054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32055 LIBS=$ac_check_lib_save_LIBS
32057 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32058 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32059 if test $ac_cv_lib_shl_load_dld = yes; then
32062 DL_LINK=" -ldld$DL_LINK"
32078 if test "$HAVE_DL_FUNCS" = 1; then
32080 for ac_func in dlerror
32082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32083 echo "$as_me:$LINENO: checking for $ac_func" >&5
32084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32085 if eval "test \"\${$as_ac_var+set}\" = set"; then
32086 echo $ECHO_N "(cached) $ECHO_C" >&6
32088 cat >conftest.$ac_ext <<_ACEOF
32089 #line $LINENO "configure"
32092 cat confdefs.h >>conftest.$ac_ext
32093 cat >>conftest.$ac_ext <<_ACEOF
32094 /* end confdefs.h. */
32095 /* System header to define __stub macros and hopefully few prototypes,
32096 which can conflict with char $ac_func (); below.
32097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32098 <limits.h> exists even on freestanding compilers. */
32100 # include <limits.h>
32102 # include <assert.h>
32104 /* Override any gcc2 internal prototype to avoid an error. */
32109 /* We use char because int might match the return type of a gcc2
32110 builtin and then its argument prototype would still apply. */
32112 /* The GNU C library defines this for functions which it implements
32113 to always fail with ENOSYS. Some functions are actually named
32114 something starting with __ and the normal name is an alias. */
32115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32118 char (*f) () = $ac_func;
32127 return f != $ac_func;
32132 rm -f conftest.$ac_objext conftest$ac_exeext
32133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32134 (eval $ac_link) 2>&5
32136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137 (exit $ac_status); } &&
32138 { ac_try='test -s conftest$ac_exeext'
32139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32140 (eval $ac_try) 2>&5
32142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143 (exit $ac_status); }; }; then
32144 eval "$as_ac_var=yes"
32146 echo "$as_me: failed program was:" >&5
32147 sed 's/^/| /' conftest.$ac_ext >&5
32149 eval "$as_ac_var=no"
32151 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32155 if test `eval echo '${'$as_ac_var'}'` = yes; then
32156 cat >>confdefs.h <<_ACEOF
32157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32159 cat >>confdefs.h <<\_ACEOF
32160 #define HAVE_DLERROR 1
32164 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32165 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32166 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32167 echo $ECHO_N "(cached) $ECHO_C" >&6
32169 ac_check_lib_save_LIBS=$LIBS
32171 cat >conftest.$ac_ext <<_ACEOF
32172 #line $LINENO "configure"
32175 cat confdefs.h >>conftest.$ac_ext
32176 cat >>conftest.$ac_ext <<_ACEOF
32177 /* end confdefs.h. */
32179 /* Override any gcc2 internal prototype to avoid an error. */
32183 /* We use char because int might match the return type of a gcc2
32184 builtin and then its argument prototype would still apply. */
32194 rm -f conftest.$ac_objext conftest$ac_exeext
32195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32196 (eval $ac_link) 2>&5
32198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32199 (exit $ac_status); } &&
32200 { ac_try='test -s conftest$ac_exeext'
32201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32202 (eval $ac_try) 2>&5
32204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205 (exit $ac_status); }; }; then
32206 ac_cv_lib_dl_dlerror=yes
32208 echo "$as_me: failed program was:" >&5
32209 sed 's/^/| /' conftest.$ac_ext >&5
32211 ac_cv_lib_dl_dlerror=no
32213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32214 LIBS=$ac_check_lib_save_LIBS
32216 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32217 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32218 if test $ac_cv_lib_dl_dlerror = yes; then
32219 cat >>confdefs.h <<\_ACEOF
32220 #define HAVE_DLERROR 1
32231 if test "$HAVE_DL_FUNCS" = 0; then
32232 if test "$HAVE_SHL_FUNCS" = 0; then
32233 if test "$USE_UNIX" = 1; then
32234 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32235 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32236 wxUSE_DYNAMIC_LOADER=no
32237 wxUSE_DYNLIB_CLASS=no
32239 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32240 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32247 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32248 cat >>confdefs.h <<\_ACEOF
32249 #define wxUSE_DYNAMIC_LOADER 1
32253 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32254 cat >>confdefs.h <<\_ACEOF
32255 #define wxUSE_DYNLIB_CLASS 1
32261 if test "$wxUSE_FONTMAP" = "yes" ; then
32262 cat >>confdefs.h <<\_ACEOF
32263 #define wxUSE_FONTMAP 1
32268 if test "$wxUSE_UNICODE" = "yes" ; then
32269 cat >>confdefs.h <<\_ACEOF
32270 #define wxUSE_UNICODE 1
32274 if test "$USE_WIN32" != 1; then
32275 wxUSE_UNICODE_MSLU=no
32278 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32279 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32280 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32281 if test "${ac_cv_lib_unicows_main+set}" = set; then
32282 echo $ECHO_N "(cached) $ECHO_C" >&6
32284 ac_check_lib_save_LIBS=$LIBS
32285 LIBS="-lunicows $LIBS"
32286 cat >conftest.$ac_ext <<_ACEOF
32287 #line $LINENO "configure"
32290 cat confdefs.h >>conftest.$ac_ext
32291 cat >>conftest.$ac_ext <<_ACEOF
32292 /* end confdefs.h. */
32303 rm -f conftest.$ac_objext conftest$ac_exeext
32304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32305 (eval $ac_link) 2>&5
32307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32308 (exit $ac_status); } &&
32309 { ac_try='test -s conftest$ac_exeext'
32310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32311 (eval $ac_try) 2>&5
32313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32314 (exit $ac_status); }; }; then
32315 ac_cv_lib_unicows_main=yes
32317 echo "$as_me: failed program was:" >&5
32318 sed 's/^/| /' conftest.$ac_ext >&5
32320 ac_cv_lib_unicows_main=no
32322 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32323 LIBS=$ac_check_lib_save_LIBS
32325 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32326 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32327 if test $ac_cv_lib_unicows_main = yes; then
32329 cat >>confdefs.h <<\_ACEOF
32330 #define wxUSE_UNICODE_MSLU 1
32336 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32337 Applications will only run on Windows NT/2000/XP!" >&5
32338 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32339 Applications will only run on Windows NT/2000/XP!" >&2;}
32340 wxUSE_UNICODE_MSLU=no
32347 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32348 cat >>confdefs.h <<\_ACEOF
32349 #define wxUSE_EXPERIMENTAL_PRINTF 1
32355 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32356 cat >>confdefs.h <<\_ACEOF
32357 #define wxUSE_POSTSCRIPT 1
32362 cat >>confdefs.h <<\_ACEOF
32363 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32367 cat >>confdefs.h <<\_ACEOF
32368 #define wxUSE_NORMALIZED_PS_FONTS 1
32373 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32374 cat >>confdefs.h <<\_ACEOF
32375 #define wxUSE_CONSTRAINTS 1
32378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32381 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32382 cat >>confdefs.h <<\_ACEOF
32383 #define wxUSE_MDI_ARCHITECTURE 1
32386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32389 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32390 cat >>confdefs.h <<\_ACEOF
32391 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32395 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32400 if test "$wxUSE_HELP" = "yes"; then
32401 cat >>confdefs.h <<\_ACEOF
32402 #define wxUSE_HELP 1
32405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32407 if test "$wxUSE_MSW" = 1; then
32408 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32409 cat >>confdefs.h <<\_ACEOF
32410 #define wxUSE_MS_HTML_HELP 1
32416 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32417 if test "$wxUSE_HTML" = "yes"; then
32418 cat >>confdefs.h <<\_ACEOF
32419 #define wxUSE_WXHTML_HELP 1
32423 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32424 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32425 wxUSE_WXHTML_HELP=no
32430 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32431 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32432 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32433 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32435 cat >>confdefs.h <<\_ACEOF
32436 #define wxUSE_PRINTING_ARCHITECTURE 1
32440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32443 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32444 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32445 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32446 { (exit 1); exit 1; }; }
32450 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32451 -o "$wxUSE_CLIPBOARD" = "yes" \
32452 -o "$wxUSE_OLE" = "yes" \
32453 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32455 for ac_header in ole2.h
32457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32459 echo "$as_me:$LINENO: checking for $ac_header" >&5
32460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32462 echo $ECHO_N "(cached) $ECHO_C" >&6
32464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32467 # Is the header compilable?
32468 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32470 cat >conftest.$ac_ext <<_ACEOF
32471 #line $LINENO "configure"
32474 cat confdefs.h >>conftest.$ac_ext
32475 cat >>conftest.$ac_ext <<_ACEOF
32476 /* end confdefs.h. */
32477 $ac_includes_default
32478 #include <$ac_header>
32480 rm -f conftest.$ac_objext
32481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32482 (eval $ac_compile) 2>&5
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); } &&
32486 { ac_try='test -s conftest.$ac_objext'
32487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32488 (eval $ac_try) 2>&5
32490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32491 (exit $ac_status); }; }; then
32492 ac_header_compiler=yes
32494 echo "$as_me: failed program was:" >&5
32495 sed 's/^/| /' conftest.$ac_ext >&5
32497 ac_header_compiler=no
32499 rm -f conftest.$ac_objext conftest.$ac_ext
32500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32501 echo "${ECHO_T}$ac_header_compiler" >&6
32503 # Is the header present?
32504 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32505 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32506 cat >conftest.$ac_ext <<_ACEOF
32507 #line $LINENO "configure"
32510 cat confdefs.h >>conftest.$ac_ext
32511 cat >>conftest.$ac_ext <<_ACEOF
32512 /* end confdefs.h. */
32513 #include <$ac_header>
32515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32518 grep -v '^ *+' conftest.er1 >conftest.err
32520 cat conftest.err >&5
32521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32522 (exit $ac_status); } >/dev/null; then
32523 if test -s conftest.err; then
32524 ac_cpp_err=$ac_c_preproc_warn_flag
32531 if test -z "$ac_cpp_err"; then
32532 ac_header_preproc=yes
32534 echo "$as_me: failed program was:" >&5
32535 sed 's/^/| /' conftest.$ac_ext >&5
32537 ac_header_preproc=no
32539 rm -f conftest.err conftest.$ac_ext
32540 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32541 echo "${ECHO_T}$ac_header_preproc" >&6
32543 # So? What about this header?
32544 case $ac_header_compiler:$ac_header_preproc in
32546 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32547 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32552 ## ------------------------------------ ##
32553 ## Report this to bug-autoconf@gnu.org. ##
32554 ## ------------------------------------ ##
32557 sed "s/^/$as_me: WARNING: /" >&2
32560 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32561 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32562 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32563 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32565 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32568 ## ------------------------------------ ##
32569 ## Report this to bug-autoconf@gnu.org. ##
32570 ## ------------------------------------ ##
32573 sed "s/^/$as_me: WARNING: /" >&2
32576 echo "$as_me:$LINENO: checking for $ac_header" >&5
32577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32579 echo $ECHO_N "(cached) $ECHO_C" >&6
32581 eval "$as_ac_Header=$ac_header_preproc"
32583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32588 cat >>confdefs.h <<_ACEOF
32589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32597 if test "$ac_cv_header_ole2_h" = "yes" ; then
32598 if test "$GCC" = yes ; then
32602 ac_cpp='$CXXCPP $CPPFLAGS'
32603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32608 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32609 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32610 cat >conftest.$ac_ext <<_ACEOF
32611 #line $LINENO "configure"
32614 cat confdefs.h >>conftest.$ac_ext
32615 cat >>conftest.$ac_ext <<_ACEOF
32616 /* end confdefs.h. */
32617 #include <windows.h>
32627 rm -f conftest.$ac_objext
32628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32629 (eval $ac_compile) 2>&5
32631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32632 (exit $ac_status); } &&
32633 { ac_try='test -s conftest.$ac_objext'
32634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32635 (eval $ac_try) 2>&5
32637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32638 (exit $ac_status); }; }; then
32639 echo "$as_me:$LINENO: result: no" >&5
32640 echo "${ECHO_T}no" >&6
32642 echo "$as_me: failed program was:" >&5
32643 sed 's/^/| /' conftest.$ac_ext >&5
32645 echo "$as_me:$LINENO: result: yes" >&5
32646 echo "${ECHO_T}yes" >&6
32647 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32649 rm -f conftest.$ac_objext conftest.$ac_ext
32651 ac_cpp='$CPP $CPPFLAGS'
32652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32656 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32657 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32658 cat >>confdefs.h <<\_ACEOF
32659 #define wxUSE_OLE 1
32665 cat >>confdefs.h <<\_ACEOF
32666 #define wxUSE_DATAOBJ 1
32670 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32671 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32674 wxUSE_DRAG_AND_DROP=no
32679 if test "$wxUSE_METAFILE" = "yes"; then
32680 cat >>confdefs.h <<\_ACEOF
32681 #define wxUSE_METAFILE 1
32685 cat >>confdefs.h <<\_ACEOF
32686 #define wxUSE_ENH_METAFILE 1
32692 if test "$wxUSE_IPC" = "yes"; then
32693 if test "$wxUSE_SOCKETS" != "yes"; then
32694 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32695 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32698 cat >>confdefs.h <<\_ACEOF
32699 #define wxUSE_IPC 1
32704 if test "$wxUSE_CLIPBOARD" = "yes"; then
32705 if test "$wxUSE_MGL" = 1; then
32706 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32707 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32711 if test "$wxUSE_CLIPBOARD" = "yes"; then
32712 cat >>confdefs.h <<\_ACEOF
32713 #define wxUSE_CLIPBOARD 1
32717 cat >>confdefs.h <<\_ACEOF
32718 #define wxUSE_DATAOBJ 1
32724 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32725 if test "$wxUSE_GTK" = 1; then
32726 if test "$WXGTK12" != 1; then
32727 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32728 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32729 wxUSE_DRAG_AND_DROP=no
32733 if test "$wxUSE_MOTIF" = 1; then
32734 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32735 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32736 wxUSE_DRAG_AND_DROP=no
32739 if test "$wxUSE_X11" = 1; then
32740 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32741 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32742 wxUSE_DRAG_AND_DROP=no
32745 if test "$wxUSE_MGL" = 1; then
32746 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32747 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32748 wxUSE_DRAG_AND_DROP=no
32751 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32752 cat >>confdefs.h <<\_ACEOF
32753 #define wxUSE_DRAG_AND_DROP 1
32756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32761 if test "$wxUSE_SPLINES" = "yes" ; then
32762 cat >>confdefs.h <<\_ACEOF
32763 #define wxUSE_SPLINES 1
32770 if test "$wxUSE_CONTROLS" = "yes"; then
32774 if test "$wxUSE_ACCEL" = "yes"; then
32775 cat >>confdefs.h <<\_ACEOF
32776 #define wxUSE_ACCEL 1
32782 if test "$wxUSE_BUTTON" = "yes"; then
32783 cat >>confdefs.h <<\_ACEOF
32784 #define wxUSE_BUTTON 1
32790 if test "$wxUSE_BMPBUTTON" = "yes"; then
32791 cat >>confdefs.h <<\_ACEOF
32792 #define wxUSE_BMPBUTTON 1
32798 if test "$wxUSE_CALCTRL" = "yes"; then
32799 cat >>confdefs.h <<\_ACEOF
32800 #define wxUSE_CALENDARCTRL 1
32804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32807 if test "$wxUSE_CARET" = "yes"; then
32808 cat >>confdefs.h <<\_ACEOF
32809 #define wxUSE_CARET 1
32813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32816 if test "$wxUSE_COMBOBOX" = "yes"; then
32817 cat >>confdefs.h <<\_ACEOF
32818 #define wxUSE_COMBOBOX 1
32824 if test "$wxUSE_CHOICE" = "yes"; then
32825 cat >>confdefs.h <<\_ACEOF
32826 #define wxUSE_CHOICE 1
32832 if test "$wxUSE_CHECKBOX" = "yes"; then
32833 cat >>confdefs.h <<\_ACEOF
32834 #define wxUSE_CHECKBOX 1
32840 if test "$wxUSE_CHECKLST" = "yes"; then
32841 cat >>confdefs.h <<\_ACEOF
32842 #define wxUSE_CHECKLISTBOX 1
32846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32849 if test "$wxUSE_DISPLAY" = "yes"; then
32850 cat >>confdefs.h <<\_ACEOF
32851 #define wxUSE_DISPLAY 1
32854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32857 if test "$wxUSE_GAUGE" = "yes"; then
32858 cat >>confdefs.h <<\_ACEOF
32859 #define wxUSE_GAUGE 1
32865 if test "$wxUSE_GRID" = "yes"; then
32866 cat >>confdefs.h <<\_ACEOF
32867 #define wxUSE_GRID 1
32871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32874 if test "$wxUSE_IMAGLIST" = "yes"; then
32875 cat >>confdefs.h <<\_ACEOF
32876 #define wxUSE_IMAGLIST 1
32881 if test "$wxUSE_LISTBOX" = "yes"; then
32882 cat >>confdefs.h <<\_ACEOF
32883 #define wxUSE_LISTBOX 1
32889 if test "$wxUSE_LISTCTRL" = "yes"; then
32890 if test "$wxUSE_IMAGLIST" = "yes"; then
32891 cat >>confdefs.h <<\_ACEOF
32892 #define wxUSE_LISTCTRL 1
32896 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32898 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32899 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32903 if test "$wxUSE_NOTEBOOK" = "yes"; then
32904 cat >>confdefs.h <<\_ACEOF
32905 #define wxUSE_NOTEBOOK 1
32909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32913 if test "$wxUSE_RADIOBOX" = "yes"; then
32914 cat >>confdefs.h <<\_ACEOF
32915 #define wxUSE_RADIOBOX 1
32921 if test "$wxUSE_RADIOBTN" = "yes"; then
32922 cat >>confdefs.h <<\_ACEOF
32923 #define wxUSE_RADIOBTN 1
32929 if test "$wxUSE_SASH" = "yes"; then
32930 cat >>confdefs.h <<\_ACEOF
32931 #define wxUSE_SASH 1
32934 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32937 if test "$wxUSE_SCROLLBAR" = "yes"; then
32938 cat >>confdefs.h <<\_ACEOF
32939 #define wxUSE_SCROLLBAR 1
32943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32946 if test "$wxUSE_SLIDER" = "yes"; then
32947 cat >>confdefs.h <<\_ACEOF
32948 #define wxUSE_SLIDER 1
32954 if test "$wxUSE_SPINBTN" = "yes"; then
32955 cat >>confdefs.h <<\_ACEOF
32956 #define wxUSE_SPINBTN 1
32962 if test "$wxUSE_SPINCTRL" = "yes"; then
32963 cat >>confdefs.h <<\_ACEOF
32964 #define wxUSE_SPINCTRL 1
32970 if test "$wxUSE_SPLITTER" = "yes"; then
32971 cat >>confdefs.h <<\_ACEOF
32972 #define wxUSE_SPLITTER 1
32975 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32978 if test "$wxUSE_STATBMP" = "yes"; then
32979 cat >>confdefs.h <<\_ACEOF
32980 #define wxUSE_STATBMP 1
32986 if test "$wxUSE_STATBOX" = "yes"; then
32987 cat >>confdefs.h <<\_ACEOF
32988 #define wxUSE_STATBOX 1
32994 if test "$wxUSE_STATTEXT" = "yes"; then
32995 cat >>confdefs.h <<\_ACEOF
32996 #define wxUSE_STATTEXT 1
33002 if test "$wxUSE_STATLINE" = "yes"; then
33003 cat >>confdefs.h <<\_ACEOF
33004 #define wxUSE_STATLINE 1
33010 if test "$wxUSE_STATUSBAR" = "yes"; then
33011 cat >>confdefs.h <<\_ACEOF
33012 #define wxUSE_STATUSBAR 1
33017 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
33020 if test "$wxUSE_TABDIALOG" = "yes"; then
33021 cat >>confdefs.h <<\_ACEOF
33022 #define wxUSE_TAB_DIALOG 1
33025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
33028 if test "$wxUSE_TEXTCTRL" = "yes"; then
33029 cat >>confdefs.h <<\_ACEOF
33030 #define wxUSE_TEXTCTRL 1
33034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
33037 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33038 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33039 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33040 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33043 if test "$wxUSE_UNIVERSAL" = "yes"; then
33044 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33045 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33049 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33050 cat >>confdefs.h <<\_ACEOF
33051 #define wxUSE_TOGGLEBTN 1
33058 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33059 cat >>confdefs.h <<\_ACEOF
33060 #define wxUSE_TOOLBAR_SIMPLE 1
33063 wxUSE_TOOLBAR="yes"
33067 if test "$wxUSE_TOOLBAR" = "yes"; then
33068 cat >>confdefs.h <<\_ACEOF
33069 #define wxUSE_TOOLBAR 1
33074 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33075 wxUSE_TOOLBAR_NATIVE="yes"
33078 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33079 cat >>confdefs.h <<\_ACEOF
33080 #define wxUSE_TOOLBAR_NATIVE 1
33086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
33089 if test "$wxUSE_TOOLTIPS" = "yes"; then
33090 if test "$wxUSE_MOTIF" = 1; then
33091 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33092 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33094 if test "$wxUSE_UNIVERSAL" = "yes"; then
33095 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33096 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33098 cat >>confdefs.h <<\_ACEOF
33099 #define wxUSE_TOOLTIPS 1
33106 if test "$wxUSE_TREECTRL" = "yes"; then
33107 if test "$wxUSE_IMAGLIST" = "yes"; then
33108 cat >>confdefs.h <<\_ACEOF
33109 #define wxUSE_TREECTRL 1
33113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33115 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33116 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33120 if test "$wxUSE_POPUPWIN" = "yes"; then
33121 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33122 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33123 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33125 if test "$wxUSE_MOTIF" = 1; then
33126 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
33127 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
33129 if test "$wxUSE_PM" = 1; then
33130 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33131 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33133 cat >>confdefs.h <<\_ACEOF
33134 #define wxUSE_POPUPWIN 1
33144 if test "$wxUSE_TIPWINDOW" = "yes"; then
33145 if test "$wxUSE_PM" = 1; then
33146 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33147 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33149 cat >>confdefs.h <<\_ACEOF
33150 #define wxUSE_TIPWINDOW 1
33156 if test "$USES_CONTROLS" = 1; then
33157 cat >>confdefs.h <<\_ACEOF
33158 #define wxUSE_CONTROLS 1
33165 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33166 cat >>confdefs.h <<\_ACEOF
33167 #define wxUSE_DRAGIMAGE 1
33170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33173 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33174 cat >>confdefs.h <<\_ACEOF
33175 #define wxUSE_ACCESSIBILITY 1
33178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33181 if test "$wxUSE_MENUS" = "yes"; then
33182 cat >>confdefs.h <<\_ACEOF
33183 #define wxUSE_MENUS 1
33186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33189 if test "$wxUSE_METAFILE" = "yes"; then
33190 cat >>confdefs.h <<\_ACEOF
33191 #define wxUSE_METAFILE 1
33196 if test "$wxUSE_MIMETYPE" = "yes"; then
33197 cat >>confdefs.h <<\_ACEOF
33198 #define wxUSE_MIMETYPE 1
33203 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33204 cat >>confdefs.h <<\_ACEOF
33205 #define wxUSE_SYSTEM_OPTIONS 1
33208 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33209 "$TOOLKIT" = "MOTIF"; then
33210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33215 if test "$wxUSE_MINIFRAME" = "yes"; then
33216 cat >>confdefs.h <<\_ACEOF
33217 #define wxUSE_MINIFRAME 1
33220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33224 if test "$wxUSE_HTML" = "yes"; then
33225 cat >>confdefs.h <<\_ACEOF
33226 #define wxUSE_HTML 1
33230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33233 if test "$wxUSE_VALIDATORS" = "yes"; then
33234 cat >>confdefs.h <<\_ACEOF
33235 #define wxUSE_VALIDATORS 1
33238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33241 if test "$wxUSE_PALETTE" = "yes" ; then
33242 cat >>confdefs.h <<\_ACEOF
33243 #define wxUSE_PALETTE 1
33248 if test "$wxUSE_IMAGE" = "yes" ; then
33249 cat >>confdefs.h <<\_ACEOF
33250 #define wxUSE_IMAGE 1
33255 if test "$wxUSE_GIF" = "yes" ; then
33256 cat >>confdefs.h <<\_ACEOF
33257 #define wxUSE_GIF 1
33262 if test "$wxUSE_PCX" = "yes" ; then
33263 cat >>confdefs.h <<\_ACEOF
33264 #define wxUSE_PCX 1
33269 if test "$wxUSE_IFF" = "yes" ; then
33270 cat >>confdefs.h <<\_ACEOF
33271 #define wxUSE_IFF 1
33276 if test "$wxUSE_PNM" = "yes" ; then
33277 cat >>confdefs.h <<\_ACEOF
33278 #define wxUSE_PNM 1
33283 if test "$wxUSE_XPM" = "yes" ; then
33284 cat >>confdefs.h <<\_ACEOF
33285 #define wxUSE_XPM 1
33290 if test "$wxUSE_ICO_CUR" = "yes" ; then
33291 cat >>confdefs.h <<\_ACEOF
33292 #define wxUSE_ICO_CUR 1
33297 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33298 LIBS=" -lunicows $LIBS"
33302 if test "$wxUSE_CHOICEDLG" = "yes"; then
33303 cat >>confdefs.h <<\_ACEOF
33304 #define wxUSE_CHOICEDLG 1
33309 if test "$wxUSE_COLOURDLG" = "yes"; then
33310 cat >>confdefs.h <<\_ACEOF
33311 #define wxUSE_COLOURDLG 1
33316 if test "$wxUSE_FILEDLG" = "yes"; then
33317 cat >>confdefs.h <<\_ACEOF
33318 #define wxUSE_FILEDLG 1
33323 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33324 cat >>confdefs.h <<\_ACEOF
33325 #define wxUSE_FINDREPLDLG 1
33330 if test "$wxUSE_FONTDLG" = "yes"; then
33331 cat >>confdefs.h <<\_ACEOF
33332 #define wxUSE_FONTDLG 1
33337 if test "$wxUSE_DIRDLG" = "yes"; then
33338 if test "$wxUSE_TREECTRL" != "yes"; then
33339 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33340 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33342 cat >>confdefs.h <<\_ACEOF
33343 #define wxUSE_DIRDLG 1
33349 if test "$wxUSE_MSGDLG" = "yes"; then
33350 cat >>confdefs.h <<\_ACEOF
33351 #define wxUSE_MSGDLG 1
33356 if test "$wxUSE_NUMBERDLG" = "yes"; then
33357 cat >>confdefs.h <<\_ACEOF
33358 #define wxUSE_NUMBERDLG 1
33363 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33364 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33365 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33366 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33368 cat >>confdefs.h <<\_ACEOF
33369 #define wxUSE_PROGRESSDLG 1
33375 if test "$wxUSE_SPLASH" = "yes"; then
33376 cat >>confdefs.h <<\_ACEOF
33377 #define wxUSE_SPLASH 1
33382 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33383 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33384 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33385 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33387 cat >>confdefs.h <<\_ACEOF
33388 #define wxUSE_STARTUP_TIPS 1
33394 if test "$wxUSE_TEXTDLG" = "yes"; then
33395 cat >>confdefs.h <<\_ACEOF
33396 #define wxUSE_TEXTDLG 1
33401 if test "$wxUSE_WIZARDDLG" = "yes"; then
33402 cat >>confdefs.h <<\_ACEOF
33403 #define wxUSE_WIZARDDLG 1
33406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33410 if test "$cross_compiling" = "yes"; then
33413 OSINFO=`uname -s -r -m`
33414 OSINFO="\"$OSINFO\""
33417 cat >>confdefs.h <<_ACEOF
33418 #define WXWIN_OS_DESCRIPTION $OSINFO
33423 if test "x$prefix" != "xNONE"; then
33426 wxPREFIX=$ac_default_prefix
33429 cat >>confdefs.h <<_ACEOF
33430 #define wxINSTALL_PREFIX "$wxPREFIX"
33434 top_builddir_wxconfig=`pwd`
33438 CORE_BASE_LIBS="net base"
33439 CORE_GUI_LIBS="adv core"
33441 if test "$wxUSE_XML" = "yes" ; then
33442 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33444 if test "$wxUSE_ODBC" != "no" ; then
33445 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33446 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33448 if test "$wxUSE_HTML" = "yes" ; then
33449 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33459 if test "$wxUSE_MAC" = 1 ; then
33460 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33462 if test "$wxUSE_COCOA" = 1 ; then
33463 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33467 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33475 echo "$as_me:$LINENO: checking for $ac_func" >&5
33476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33477 if eval "test \"\${$as_ac_var+set}\" = set"; then
33478 echo $ECHO_N "(cached) $ECHO_C" >&6
33480 cat >conftest.$ac_ext <<_ACEOF
33481 #line $LINENO "configure"
33484 cat confdefs.h >>conftest.$ac_ext
33485 cat >>conftest.$ac_ext <<_ACEOF
33486 /* end confdefs.h. */
33487 /* System header to define __stub macros and hopefully few prototypes,
33488 which can conflict with char $ac_func (); below.
33489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33490 <limits.h> exists even on freestanding compilers. */
33492 # include <limits.h>
33494 # include <assert.h>
33496 /* Override any gcc2 internal prototype to avoid an error. */
33501 /* We use char because int might match the return type of a gcc2
33502 builtin and then its argument prototype would still apply. */
33504 /* The GNU C library defines this for functions which it implements
33505 to always fail with ENOSYS. Some functions are actually named
33506 something starting with __ and the normal name is an alias. */
33507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33510 char (*f) () = $ac_func;
33519 return f != $ac_func;
33524 rm -f conftest.$ac_objext conftest$ac_exeext
33525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33526 (eval $ac_link) 2>&5
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); } &&
33530 { ac_try='test -s conftest$ac_exeext'
33531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33532 (eval $ac_try) 2>&5
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); }; }; then
33536 eval "$as_ac_var=yes"
33538 echo "$as_me: failed program was:" >&5
33539 sed 's/^/| /' conftest.$ac_ext >&5
33541 eval "$as_ac_var=no"
33543 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33547 if test `eval echo '${'$as_ac_var'}'` = yes; then
33548 cat >>confdefs.h <<_ACEOF
33549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33556 for ac_func in floor
33558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33559 echo "$as_me:$LINENO: checking for $ac_func" >&5
33560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33561 if eval "test \"\${$as_ac_var+set}\" = set"; then
33562 echo $ECHO_N "(cached) $ECHO_C" >&6
33564 cat >conftest.$ac_ext <<_ACEOF
33565 #line $LINENO "configure"
33568 cat confdefs.h >>conftest.$ac_ext
33569 cat >>conftest.$ac_ext <<_ACEOF
33570 /* end confdefs.h. */
33571 /* System header to define __stub macros and hopefully few prototypes,
33572 which can conflict with char $ac_func (); below.
33573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33574 <limits.h> exists even on freestanding compilers. */
33576 # include <limits.h>
33578 # include <assert.h>
33580 /* Override any gcc2 internal prototype to avoid an error. */
33585 /* We use char because int might match the return type of a gcc2
33586 builtin and then its argument prototype would still apply. */
33588 /* The GNU C library defines this for functions which it implements
33589 to always fail with ENOSYS. Some functions are actually named
33590 something starting with __ and the normal name is an alias. */
33591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33594 char (*f) () = $ac_func;
33603 return f != $ac_func;
33608 rm -f conftest.$ac_objext conftest$ac_exeext
33609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33610 (eval $ac_link) 2>&5
33612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33613 (exit $ac_status); } &&
33614 { ac_try='test -s conftest$ac_exeext'
33615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33616 (eval $ac_try) 2>&5
33618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33619 (exit $ac_status); }; }; then
33620 eval "$as_ac_var=yes"
33622 echo "$as_me: failed program was:" >&5
33623 sed 's/^/| /' conftest.$ac_ext >&5
33625 eval "$as_ac_var=no"
33627 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33631 if test `eval echo '${'$as_ac_var'}'` = yes; then
33632 cat >>confdefs.h <<_ACEOF
33633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33639 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33640 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33641 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33642 echo "$as_me:$LINENO: result: yes" >&5
33643 echo "${ECHO_T}yes" >&6
33645 echo "$as_me:$LINENO: result: no" >&5
33646 echo "${ECHO_T}no" >&6
33648 # use different functions to avoid configure caching
33654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33655 echo "$as_me:$LINENO: checking for $ac_func" >&5
33656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33657 if eval "test \"\${$as_ac_var+set}\" = set"; then
33658 echo $ECHO_N "(cached) $ECHO_C" >&6
33660 cat >conftest.$ac_ext <<_ACEOF
33661 #line $LINENO "configure"
33664 cat confdefs.h >>conftest.$ac_ext
33665 cat >>conftest.$ac_ext <<_ACEOF
33666 /* end confdefs.h. */
33667 /* System header to define __stub macros and hopefully few prototypes,
33668 which can conflict with char $ac_func (); below.
33669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33670 <limits.h> exists even on freestanding compilers. */
33672 # include <limits.h>
33674 # include <assert.h>
33676 /* Override any gcc2 internal prototype to avoid an error. */
33681 /* We use char because int might match the return type of a gcc2
33682 builtin and then its argument prototype would still apply. */
33684 /* The GNU C library defines this for functions which it implements
33685 to always fail with ENOSYS. Some functions are actually named
33686 something starting with __ and the normal name is an alias. */
33687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33690 char (*f) () = $ac_func;
33699 return f != $ac_func;
33704 rm -f conftest.$ac_objext conftest$ac_exeext
33705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33706 (eval $ac_link) 2>&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); } &&
33710 { ac_try='test -s conftest$ac_exeext'
33711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33712 (eval $ac_try) 2>&5
33714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33715 (exit $ac_status); }; }; then
33716 eval "$as_ac_var=yes"
33718 echo "$as_me: failed program was:" >&5
33719 sed 's/^/| /' conftest.$ac_ext >&5
33721 eval "$as_ac_var=no"
33723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33727 if test `eval echo '${'$as_ac_var'}'` = yes; then
33728 cat >>confdefs.h <<_ACEOF
33729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33736 for ac_func in ceil
33738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33739 echo "$as_me:$LINENO: checking for $ac_func" >&5
33740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33741 if eval "test \"\${$as_ac_var+set}\" = set"; then
33742 echo $ECHO_N "(cached) $ECHO_C" >&6
33744 cat >conftest.$ac_ext <<_ACEOF
33745 #line $LINENO "configure"
33748 cat confdefs.h >>conftest.$ac_ext
33749 cat >>conftest.$ac_ext <<_ACEOF
33750 /* end confdefs.h. */
33751 /* System header to define __stub macros and hopefully few prototypes,
33752 which can conflict with char $ac_func (); below.
33753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33754 <limits.h> exists even on freestanding compilers. */
33756 # include <limits.h>
33758 # include <assert.h>
33760 /* Override any gcc2 internal prototype to avoid an error. */
33765 /* We use char because int might match the return type of a gcc2
33766 builtin and then its argument prototype would still apply. */
33768 /* The GNU C library defines this for functions which it implements
33769 to always fail with ENOSYS. Some functions are actually named
33770 something starting with __ and the normal name is an alias. */
33771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33774 char (*f) () = $ac_func;
33783 return f != $ac_func;
33788 rm -f conftest.$ac_objext conftest$ac_exeext
33789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33790 (eval $ac_link) 2>&5
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); } &&
33794 { ac_try='test -s conftest$ac_exeext'
33795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33796 (eval $ac_try) 2>&5
33798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33799 (exit $ac_status); }; }; then
33800 eval "$as_ac_var=yes"
33802 echo "$as_me: failed program was:" >&5
33803 sed 's/^/| /' conftest.$ac_ext >&5
33805 eval "$as_ac_var=no"
33807 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33811 if test `eval echo '${'$as_ac_var'}'` = yes; then
33812 cat >>confdefs.h <<_ACEOF
33813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33819 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33820 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33821 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33822 echo "$as_me:$LINENO: result: yes" >&5
33823 echo "${ECHO_T}yes" >&6
33825 echo "$as_me:$LINENO: result: no" >&5
33826 echo "${ECHO_T}no" >&6
33827 # not sure we should warn the user, crash, etc.
33831 if test "$wxUSE_GUI" = "yes"; then
33834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33835 drawing dynamic erase event exec font image \
33836 minimal propsize rotate shaped widgets render"
33838 if test "$wxUSE_MONOLITHIC" != "yes"; then
33839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33842 SAMPLES_SUBDIRS="console"
33846 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33847 -I\${top_srcdir}/include \
33848 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33851 if test "$GXX" = yes ; then
33852 CXXWARNINGS="-Wall"
33855 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33857 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33858 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33859 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33862 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33863 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33864 EXTRALIBS_XML="$EXPAT_LINK"
33865 EXTRALIBS_ODBC="$ODBC_LINK"
33866 if test "$wxUSE_GUI" = "yes"; then
33867 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33869 if test "$wxUSE_OPENGL" = "yes"; then
33870 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
33873 LDFLAGS="$LDFLAGS $PROFILE"
33875 if test "$wxUSE_GTK" = 1; then
33878 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33881 WXCONFIG_EXTRALIBS="$LIBS"
33883 if test "$wxUSE_REGEX" = "builtin" ; then
33884 wxconfig_3rdparty="$wxconfig_3rdparty regex"
33886 if test "$wxUSE_EXPAT" = "builtin" ; then
33887 wxconfig_3rdparty="$wxconfig_3rdparty expat"
33889 if test "$wxUSE_ODBC" = "builtin" ; then
33890 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33892 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33893 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
33895 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33896 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
33898 if test "$wxUSE_LIBPNG" = "builtin" ; then
33899 wxconfig_3rdparty="$wxconfig_3rdparty png"
33901 if test "$wxUSE_ZLIB" = "builtin" ; then
33902 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
33904 if test "$wxUSE_ODBC" = "builtin" ; then
33905 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33908 for i in $wxconfig_3rdparty ; do
33909 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33913 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33927 if test $wxUSE_MONOLITHIC = "yes" ; then
33933 if test $wxUSE_ODBC != "no" ; then
33939 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33961 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33969 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33971 if test -n "$ac_tool_prefix"; then
33972 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33973 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33974 echo "$as_me:$LINENO: checking for $ac_word" >&5
33975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33976 if test "${ac_cv_prog_RANLIB+set}" = set; then
33977 echo $ECHO_N "(cached) $ECHO_C" >&6
33979 if test -n "$RANLIB"; then
33980 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33983 for as_dir in $PATH
33986 test -z "$as_dir" && as_dir=.
33987 for ac_exec_ext in '' $ac_executable_extensions; do
33988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33989 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33998 RANLIB=$ac_cv_prog_RANLIB
33999 if test -n "$RANLIB"; then
34000 echo "$as_me:$LINENO: result: $RANLIB" >&5
34001 echo "${ECHO_T}$RANLIB" >&6
34003 echo "$as_me:$LINENO: result: no" >&5
34004 echo "${ECHO_T}no" >&6
34008 if test -z "$ac_cv_prog_RANLIB"; then
34009 ac_ct_RANLIB=$RANLIB
34010 # Extract the first word of "ranlib", so it can be a program name with args.
34011 set dummy ranlib; ac_word=$2
34012 echo "$as_me:$LINENO: checking for $ac_word" >&5
34013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34014 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34015 echo $ECHO_N "(cached) $ECHO_C" >&6
34017 if test -n "$ac_ct_RANLIB"; then
34018 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
34020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34021 for as_dir in $PATH
34024 test -z "$as_dir" && as_dir=.
34025 for ac_exec_ext in '' $ac_executable_extensions; do
34026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34027 ac_cv_prog_ac_ct_RANLIB="ranlib"
34028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34034 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
34037 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
34038 if test -n "$ac_ct_RANLIB"; then
34039 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34040 echo "${ECHO_T}$ac_ct_RANLIB" >&6
34042 echo "$as_me:$LINENO: result: no" >&5
34043 echo "${ECHO_T}no" >&6
34046 RANLIB=$ac_ct_RANLIB
34048 RANLIB="$ac_cv_prog_RANLIB"
34051 # Find a good install program. We prefer a C program (faster),
34052 # so one script is as good as another. But avoid the broken or
34053 # incompatible versions:
34054 # SysV /etc/install, /usr/sbin/install
34055 # SunOS /usr/etc/install
34056 # IRIX /sbin/install
34058 # AmigaOS /C/install, which installs bootblocks on floppy discs
34059 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34060 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34061 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34062 # ./install, which can be erroneously created by make from ./install.sh.
34063 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34064 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34065 if test -z "$INSTALL"; then
34066 if test "${ac_cv_path_install+set}" = set; then
34067 echo $ECHO_N "(cached) $ECHO_C" >&6
34069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34070 for as_dir in $PATH
34073 test -z "$as_dir" && as_dir=.
34074 # Account for people who put trailing slashes in PATH elements.
34076 ./ | .// | /cC/* | \
34077 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34080 # OSF1 and SCO ODT 3.0 have their own names for install.
34081 # Don't use installbsd from OSF since it installs stuff as root
34083 for ac_prog in ginstall scoinst install; do
34084 for ac_exec_ext in '' $ac_executable_extensions; do
34085 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34086 if test $ac_prog = install &&
34087 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34088 # AIX install. It has an incompatible calling convention.
34090 elif test $ac_prog = install &&
34091 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34092 # program-specific install script used by HP pwplus--don't use.
34095 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34107 if test "${ac_cv_path_install+set}" = set; then
34108 INSTALL=$ac_cv_path_install
34110 # As a last resort, use the slow shell script. We don't cache a
34111 # path for INSTALL within a source directory, because that will
34112 # break other packages using the cache if that directory is
34113 # removed, or if the path is relative.
34114 INSTALL=$ac_install_sh
34117 echo "$as_me:$LINENO: result: $INSTALL" >&5
34118 echo "${ECHO_T}$INSTALL" >&6
34120 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34121 # It thinks the first close brace ends the variable substitution.
34122 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34124 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34126 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34128 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34129 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34131 if test "$LN_S" = "ln -s"; then
34132 echo "$as_me:$LINENO: result: yes" >&5
34133 echo "${ECHO_T}yes" >&6
34135 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34136 echo "${ECHO_T}no, using $LN_S" >&6
34140 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34141 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34142 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34143 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34144 echo $ECHO_N "(cached) $ECHO_C" >&6
34146 cat >conftest.make <<\_ACEOF
34148 @echo 'ac_maketemp="$(MAKE)"'
34150 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34151 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34152 if test -n "$ac_maketemp"; then
34153 eval ac_cv_prog_make_${ac_make}_set=yes
34155 eval ac_cv_prog_make_${ac_make}_set=no
34157 rm -f conftest.make
34159 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34160 echo "$as_me:$LINENO: result: yes" >&5
34161 echo "${ECHO_T}yes" >&6
34164 echo "$as_me:$LINENO: result: no" >&5
34165 echo "${ECHO_T}no" >&6
34166 SET_MAKE="MAKE=${MAKE-make}"
34171 if test "$build" != "$host" ; then
34173 STRIP=$host_alias-strip
34175 # Extract the first word of "ar", so it can be a program name with args.
34176 set dummy ar; ac_word=$2
34177 echo "$as_me:$LINENO: checking for $ac_word" >&5
34178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34179 if test "${ac_cv_prog_AR+set}" = set; then
34180 echo $ECHO_N "(cached) $ECHO_C" >&6
34182 if test -n "$AR"; then
34183 ac_cv_prog_AR="$AR" # Let the user override the test.
34185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34186 for as_dir in $PATH
34189 test -z "$as_dir" && as_dir=.
34190 for ac_exec_ext in '' $ac_executable_extensions; do
34191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34199 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
34203 if test -n "$AR"; then
34204 echo "$as_me:$LINENO: result: $AR" >&5
34205 echo "${ECHO_T}$AR" >&6
34207 echo "$as_me:$LINENO: result: no" >&5
34208 echo "${ECHO_T}no" >&6
34211 # Extract the first word of "strip", so it can be a program name with args.
34212 set dummy strip; ac_word=$2
34213 echo "$as_me:$LINENO: checking for $ac_word" >&5
34214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34215 if test "${ac_cv_prog_STRIP+set}" = set; then
34216 echo $ECHO_N "(cached) $ECHO_C" >&6
34218 if test -n "$STRIP"; then
34219 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34222 for as_dir in $PATH
34225 test -z "$as_dir" && as_dir=.
34226 for ac_exec_ext in '' $ac_executable_extensions; do
34227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34228 ac_cv_prog_STRIP="strip"
34229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34235 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
34238 STRIP=$ac_cv_prog_STRIP
34239 if test -n "$STRIP"; then
34240 echo "$as_me:$LINENO: result: $STRIP" >&5
34241 echo "${ECHO_T}$STRIP" >&6
34243 echo "$as_me:$LINENO: result: no" >&5
34244 echo "${ECHO_T}no" >&6
34251 INSTALL_DIR="mkdir"
34253 *) INSTALL_DIR="$INSTALL -d"
34260 *-*-cygwin* | *-*-mingw32* )
34261 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34267 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34268 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34269 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34270 echo $ECHO_N "(cached) $ECHO_C" >&6
34273 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34274 egrep -s GNU > /dev/null); then
34275 bakefile_cv_prog_makeisgnu="yes"
34277 bakefile_cv_prog_makeisgnu="no"
34281 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34282 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34284 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34299 *-*-cygwin* | *-*-mingw32* )
34302 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34305 powerpc-*-darwin* )
34322 SO_SUFFIX_MODULE="so"
34330 SO_SUFFIX_MODULE="sl"
34334 SO_SUFFIX_MODULE="a"
34336 *-*-cygwin* | *-*-mingw32* )
34338 SO_SUFFIX_MODULE="dll"
34342 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34346 powerpc-*-darwin* )
34348 SO_SUFFIX_MODULE="bundle"
34359 SHARED_LD_CC="\$(CC) -shared -o"
34360 SHARED_LD_CXX="\$(CXX) -shared -o"
34362 if test "x$GCC" = "xyes"; then
34368 if test "x$GCC" = "xyes"; then
34369 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34370 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34372 LDFLAGS="$LDFLAGS -L/usr/lib"
34374 SHARED_LD_CC="${CC} -b -o"
34375 SHARED_LD_CXX="${CXX} -b -o"
34381 if test "x$GCC" != "xyes"; then
34382 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34383 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34384 if test "${bakefile_cv_prog_icc+set}" = set; then
34385 echo $ECHO_N "(cached) $ECHO_C" >&6
34388 cat >conftest.$ac_ext <<_ACEOF
34389 #line $LINENO "configure"
34392 cat confdefs.h >>conftest.$ac_ext
34393 cat >>conftest.$ac_ext <<_ACEOF
34394 /* end confdefs.h. */
34400 #ifndef __INTEL_COMPILER
34408 rm -f conftest.$ac_objext
34409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34410 (eval $ac_compile) 2>&5
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); } &&
34414 { ac_try='test -s conftest.$ac_objext'
34415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34416 (eval $ac_try) 2>&5
34418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34419 (exit $ac_status); }; }; then
34420 bakefile_cv_prog_icc=yes
34422 echo "$as_me: failed program was:" >&5
34423 sed 's/^/| /' conftest.$ac_ext >&5
34425 bakefile_cv_prog_icc=no
34428 rm -f conftest.$ac_objext conftest.$ac_ext
34431 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34432 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34433 if test "$bakefile_cv_prog_icc" = "yes"; then
34440 if test "x$GCC" != xyes ; then
34441 SHARED_LD_CC="${CC} -G -o"
34442 SHARED_LD_CXX="${CXX} -G -o"
34448 CFLAGS="$CFLAGS -fno-common"
34449 CXXFLAGS="$CXXFLAGS -fno-common"
34452 cat <<EOF >shared-ld-sh
34454 #-----------------------------------------------------------------------------
34455 #-- Name: distrib/mac/shared-ld-sh
34456 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34457 #-- Author: Gilles Depeyrot
34458 #-- Copyright: (c) 2002 Gilles Depeyrot
34459 #-- Licence: any use permitted
34460 #-----------------------------------------------------------------------------
34465 linking_flag="-dynamiclib"
34467 while test \${#} -gt 0; do
34474 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34475 # collect these options and values
34476 args="\${args} \${1} \${2}"
34480 -l*|-L*|-flat_namespace)
34481 # collect these options
34482 args="\${args} \${1}"
34485 -dynamiclib|-bundle)
34486 linking_flag="\${1}"
34490 echo "shared-ld: unhandled option '\${1}'"
34494 *.o | *.a | *.dylib)
34495 # collect object files
34496 objects="\${objects} \${1}"
34500 echo "shared-ld: unhandled argument '\${1}'"
34509 # Link one module containing all the others
34511 if test \${verbose} = 1; then
34512 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34514 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34516 if test \${status} != 0; then
34521 # Link the shared library from the single module created
34523 if test \${verbose} = 1; then
34524 echo "cc \${linking_flag} master.\$\$.o \${args}"
34526 c++ \${linking_flag} master.\$\$.o \${args}
34528 if test \${status} != 0; then
34533 # Remove intermediate module
34535 rm -f master.\$\$.o
34539 chmod +x shared-ld-sh
34541 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34542 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34543 SHARED_LD_CXX="$SHARED_LD_CC"
34544 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34545 PIC_FLAG="-dynamic -fPIC"
34549 if test "x$GCC" != "xyes"; then
34550 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34551 set dummy makeC++SharedLib; ac_word=$2
34552 echo "$as_me:$LINENO: checking for $ac_word" >&5
34553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34554 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34555 echo $ECHO_N "(cached) $ECHO_C" >&6
34557 if test -n "$AIX_CXX_LD"; then
34558 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34561 for as_dir in $PATH
34564 test -z "$as_dir" && as_dir=.
34565 for ac_exec_ext in '' $ac_executable_extensions; do
34566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34567 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34574 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34577 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34578 if test -n "$AIX_CXX_LD"; then
34579 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34580 echo "${ECHO_T}$AIX_CXX_LD" >&6
34582 echo "$as_me:$LINENO: result: no" >&5
34583 echo "${ECHO_T}no" >&6
34586 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34587 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34592 SHARED_LD_CC="${LD} -shared -o"
34593 SHARED_LD_CXX="${LD} -shared -o"
34597 if test "x$GCC" != "xyes"; then
34602 *-*-cygwin* | *-*-mingw32* )
34606 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34614 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34615 echo "$as_me: error: unknown system type $host." >&2;}
34616 { (exit 1); exit 1; }; }
34619 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34620 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
34622 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34623 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
34642 SONAME_FLAG="-Wl,-soname,"
34670 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34671 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34674 if test "x$GCC" = "xyes"; then
34678 powerpc-*-darwin* )
34679 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
34682 DEPSFLAG_GCC="-MMD"
34685 echo "$as_me:$LINENO: result: gcc" >&5
34686 echo "${ECHO_T}gcc" >&6
34688 echo "$as_me:$LINENO: result: none" >&5
34689 echo "${ECHO_T}none" >&6
34692 if test $DEPS_TRACKING = 1 ; then
34696 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34697 # script. It is used to track C/C++ files dependencies in portable way.
34699 # Permission is given to use this file in any way.
34703 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34707 if test \$DEPSMODE = gcc ; then
34708 \${*} \${DEPSFLAG_GCC}
34710 if test \${status} != 0 ; then
34713 # move created file to the location we want it in:
34714 while test \${#} -gt 0; do
34728 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34729 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34730 if test -f \$depfile ; then
34731 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34734 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34735 if test -f \$depfile ; then
34736 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34756 *-*-cygwin* | *-*-mingw32* )
34757 if test "$build" != "$host" ; then
34758 RESCOMP=$host_alias-windres
34760 # Extract the first word of "windres", so it can be a program name with args.
34761 set dummy windres; ac_word=$2
34762 echo "$as_me:$LINENO: checking for $ac_word" >&5
34763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34764 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34765 echo $ECHO_N "(cached) $ECHO_C" >&6
34767 if test -n "$RESCOMP"; then
34768 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34771 for as_dir in $PATH
34774 test -z "$as_dir" && as_dir=.
34775 for ac_exec_ext in '' $ac_executable_extensions; do
34776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34777 ac_cv_prog_RESCOMP="windres"
34778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34784 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34787 RESCOMP=$ac_cv_prog_RESCOMP
34788 if test -n "$RESCOMP"; then
34789 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34790 echo "${ECHO_T}$RESCOMP" >&6
34792 echo "$as_me:$LINENO: result: no" >&5
34793 echo "${ECHO_T}no" >&6
34800 # Extract the first word of "Rez", so it can be a program name with args.
34801 set dummy Rez; ac_word=$2
34802 echo "$as_me:$LINENO: checking for $ac_word" >&5
34803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34804 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34805 echo $ECHO_N "(cached) $ECHO_C" >&6
34807 if test -n "$RESCOMP"; then
34808 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34811 for as_dir in $PATH
34814 test -z "$as_dir" && as_dir=.
34815 for ac_exec_ext in '' $ac_executable_extensions; do
34816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34817 ac_cv_prog_RESCOMP="Rez"
34818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34824 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34827 RESCOMP=$ac_cv_prog_RESCOMP
34828 if test -n "$RESCOMP"; then
34829 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34830 echo "${ECHO_T}$RESCOMP" >&6
34832 echo "$as_me:$LINENO: result: no" >&5
34833 echo "${ECHO_T}no" >&6
34836 # Extract the first word of "SetFile", so it can be a program name with args.
34837 set dummy SetFile; ac_word=$2
34838 echo "$as_me:$LINENO: checking for $ac_word" >&5
34839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34840 if test "${ac_cv_prog_SETFILE+set}" = set; then
34841 echo $ECHO_N "(cached) $ECHO_C" >&6
34843 if test -n "$SETFILE"; then
34844 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34847 for as_dir in $PATH
34850 test -z "$as_dir" && as_dir=.
34851 for ac_exec_ext in '' $ac_executable_extensions; do
34852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34853 ac_cv_prog_SETFILE="SetFile"
34854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34860 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34863 SETFILE=$ac_cv_prog_SETFILE
34864 if test -n "$SETFILE"; then
34865 echo "$as_me:$LINENO: result: $SETFILE" >&5
34866 echo "${ECHO_T}$SETFILE" >&6
34868 echo "$as_me:$LINENO: result: no" >&5
34869 echo "${ECHO_T}no" >&6
34882 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34883 if test "${enable_precomp_headers+set}" = set; then
34884 enableval="$enable_precomp_headers"
34885 bk_use_pch="$enableval"
34890 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34891 if test "x$GCC" = "xyes"; then
34892 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34893 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34894 cat >conftest.$ac_ext <<_ACEOF
34895 #line $LINENO "configure"
34898 cat confdefs.h >>conftest.$ac_ext
34899 cat >>conftest.$ac_ext <<_ACEOF
34900 /* end confdefs.h. */
34906 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__) || \
34907 (__GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 4)
34908 #error "no pch support"
34915 rm -f conftest.$ac_objext
34916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34917 (eval $ac_compile) 2>&5
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); } &&
34921 { ac_try='test -s conftest.$ac_objext'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; }; then
34928 echo "$as_me:$LINENO: result: yes" >&5
34929 echo "${ECHO_T}yes" >&6
34930 CPPFLAGS="-fpch-deps $CPPFLAGS"
34934 echo "$as_me: failed program was:" >&5
34935 sed 's/^/| /' conftest.$ac_ext >&5
34938 echo "$as_me:$LINENO: result: no" >&5
34939 echo "${ECHO_T}no" >&6
34942 rm -f conftest.$ac_objext conftest.$ac_ext
34943 if test $GCC_PCH = 1 ; then
34944 cat <<EOF >bk-make-pch
34947 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34948 # script. It is used to generated precompiled headers.
34950 # Permission is given to use this file in any way.
34959 while test \${#} -gt 0; do
34962 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34963 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34964 headerfile="\${incdir}/\${header}"
34968 compiler="\${compiler} \${1}"
34972 if test "x\${headerfile}" = "x" ; then
34973 echo "error: can't find header \${header} in include paths" >2
34975 if test -f \${outfile} ; then
34978 mkdir -p \`dirname \${outfile}\`
34980 depsfile=".deps/\`basename \${outfile}\`.d"
34982 # can do this because gcc is >= 3.4:
34983 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
34987 chmod +x bk-make-pch
34996 COND_BUILD_DEBUG="#"
34997 if test "x$BUILD" = "xdebug" ; then
34998 COND_BUILD_DEBUG=""
35001 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
35002 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35003 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
35006 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
35007 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35008 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
35011 COND_BUILD_RELEASE="#"
35012 if test "x$BUILD" = "xrelease" ; then
35013 COND_BUILD_RELEASE=""
35016 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
35017 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35018 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
35021 COND_DEBUG_FLAG_1="#"
35022 if test "x$DEBUG_FLAG" = "x1" ; then
35023 COND_DEBUG_FLAG_1=""
35026 COND_DEBUG_INFO_0="#"
35027 if test "x$DEBUG_INFO" = "x0" ; then
35028 COND_DEBUG_INFO_0=""
35031 COND_DEBUG_INFO_1="#"
35032 if test "x$DEBUG_INFO" = "x1" ; then
35033 COND_DEBUG_INFO_1=""
35036 COND_DEPS_TRACKING_0="#"
35037 if test "x$DEPS_TRACKING" = "x0" ; then
35038 COND_DEPS_TRACKING_0=""
35041 COND_DEPS_TRACKING_1="#"
35042 if test "x$DEPS_TRACKING" = "x1" ; then
35043 COND_DEPS_TRACKING_1=""
35047 if test "x$GCC_PCH" = "x1" ; then
35051 COND_MONOLITHIC_0="#"
35052 if test "x$MONOLITHIC" = "x0" ; then
35053 COND_MONOLITHIC_0=""
35056 COND_MONOLITHIC_0_SHARED_0="#"
35057 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35058 COND_MONOLITHIC_0_SHARED_0=""
35061 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
35062 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35063 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
35066 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
35067 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35068 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
35071 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
35072 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35073 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
35076 COND_MONOLITHIC_0_SHARED_1="#"
35077 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35078 COND_MONOLITHIC_0_SHARED_1=""
35081 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
35082 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35083 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
35086 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
35087 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35088 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
35091 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
35092 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35093 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
35096 COND_MONOLITHIC_1="#"
35097 if test "x$MONOLITHIC" = "x1" ; then
35098 COND_MONOLITHIC_1=""
35101 COND_MONOLITHIC_1_SHARED_0="#"
35102 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35103 COND_MONOLITHIC_1_SHARED_0=""
35106 COND_MONOLITHIC_1_SHARED_1="#"
35107 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35108 COND_MONOLITHIC_1_SHARED_1=""
35111 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
35112 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35113 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
35116 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
35117 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35118 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
35121 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
35122 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35123 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
35126 COND_PLATFORM_MACOSX_1="#"
35127 if test "x$PLATFORM_MACOSX" = "x1" ; then
35128 COND_PLATFORM_MACOSX_1=""
35131 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
35132 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35133 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
35136 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
35137 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35138 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
35141 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
35142 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35143 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
35146 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
35147 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35148 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
35151 COND_PLATFORM_MAC_1="#"
35152 if test "x$PLATFORM_MAC" = "x1" ; then
35153 COND_PLATFORM_MAC_1=""
35156 COND_PLATFORM_UNIX_0="#"
35157 if test "x$PLATFORM_UNIX" = "x0" ; then
35158 COND_PLATFORM_UNIX_0=""
35161 COND_PLATFORM_UNIX_1="#"
35162 if test "x$PLATFORM_UNIX" = "x1" ; then
35163 COND_PLATFORM_UNIX_1=""
35166 COND_PLATFORM_WIN32_0="#"
35167 if test "x$PLATFORM_WIN32" = "x0" ; then
35168 COND_PLATFORM_WIN32_0=""
35171 COND_PLATFORM_WIN32_1="#"
35172 if test "x$PLATFORM_WIN32" = "x1" ; then
35173 COND_PLATFORM_WIN32_1=""
35177 if test "x$SHARED" = "x0" ; then
35181 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
35182 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35183 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
35186 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35187 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35188 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35191 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35192 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35193 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35196 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35197 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35198 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35201 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35202 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35203 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35206 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35207 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35208 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35211 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35212 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35213 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35216 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35217 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35218 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35222 if test "x$SHARED" = "x1" ; then
35226 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35227 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35228 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35231 COND_TOOLKIT_COCOA="#"
35232 if test "x$TOOLKIT" = "xCOCOA" ; then
35233 COND_TOOLKIT_COCOA=""
35236 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35237 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35238 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35241 COND_TOOLKIT_GTK="#"
35242 if test "x$TOOLKIT" = "xGTK" ; then
35243 COND_TOOLKIT_GTK=""
35246 COND_TOOLKIT_GTK_USE_GUI_1="#"
35247 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35248 COND_TOOLKIT_GTK_USE_GUI_1=""
35251 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35252 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35253 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35256 COND_TOOLKIT_MAC="#"
35257 if test "x$TOOLKIT" = "xMAC" ; then
35258 COND_TOOLKIT_MAC=""
35261 COND_TOOLKIT_MAC_USE_GUI_1="#"
35262 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35263 COND_TOOLKIT_MAC_USE_GUI_1=""
35266 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35267 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35268 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35271 COND_TOOLKIT_MGL="#"
35272 if test "x$TOOLKIT" = "xMGL" ; then
35273 COND_TOOLKIT_MGL=""
35276 COND_TOOLKIT_MGL_USE_GUI_1="#"
35277 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35278 COND_TOOLKIT_MGL_USE_GUI_1=""
35281 COND_TOOLKIT_MOTIF="#"
35282 if test "x$TOOLKIT" = "xMOTIF" ; then
35283 COND_TOOLKIT_MOTIF=""
35286 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35287 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35288 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35291 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35292 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35293 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35296 COND_TOOLKIT_MSW="#"
35297 if test "x$TOOLKIT" = "xMSW" ; then
35298 COND_TOOLKIT_MSW=""
35301 COND_TOOLKIT_MSW_USE_GUI_1="#"
35302 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35303 COND_TOOLKIT_MSW_USE_GUI_1=""
35306 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35307 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35308 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35311 COND_TOOLKIT_OS2="#"
35312 if test "x$TOOLKIT" = "xOS2" ; then
35313 COND_TOOLKIT_OS2=""
35316 COND_TOOLKIT_OS2_USE_GUI_1="#"
35317 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" ; then
35318 COND_TOOLKIT_OS2_USE_GUI_1=""
35321 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
35322 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35323 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
35326 COND_TOOLKIT_X11="#"
35327 if test "x$TOOLKIT" = "xX11" ; then
35328 COND_TOOLKIT_X11=""
35331 COND_TOOLKIT_X11_USE_GUI_1="#"
35332 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35333 COND_TOOLKIT_X11_USE_GUI_1=""
35337 if test "x$UNICODE" = "x1" ; then
35342 if test "x$USE_GUI" = "x0" ; then
35347 if test "x$USE_GUI" = "x1" ; then
35351 COND_USE_GUI_1_WXUNIV_0="#"
35352 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35353 COND_USE_GUI_1_WXUNIV_0=""
35356 COND_USE_GUI_1_WXUNIV_1="#"
35357 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35358 COND_USE_GUI_1_WXUNIV_1=""
35361 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35362 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35363 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35366 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35367 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35368 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35371 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35372 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35373 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35376 COND_USE_SOSYMLINKS_1="#"
35377 if test "x$USE_SOSYMLINKS" = "x1" ; then
35378 COND_USE_SOSYMLINKS_1=""
35381 COND_USE_SOVERLINUX_1="#"
35382 if test "x$USE_SOVERLINUX" = "x1" ; then
35383 COND_USE_SOVERLINUX_1=""
35386 COND_USE_SOVERSION_0="#"
35387 if test "x$USE_SOVERSION" = "x0" ; then
35388 COND_USE_SOVERSION_0=""
35391 COND_USE_SOVERSOLARIS_1="#"
35392 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35393 COND_USE_SOVERSOLARIS_1=""
35397 if test "x$WXUNIV" = "x1" ; then
35401 COND_WXUSE_EXPAT_BUILTIN="#"
35402 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35403 COND_WXUSE_EXPAT_BUILTIN=""
35406 COND_WXUSE_LIBJPEG_BUILTIN="#"
35407 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35408 COND_WXUSE_LIBJPEG_BUILTIN=""
35411 COND_WXUSE_LIBPNG_BUILTIN="#"
35412 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35413 COND_WXUSE_LIBPNG_BUILTIN=""
35416 COND_WXUSE_LIBTIFF_BUILTIN="#"
35417 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35418 COND_WXUSE_LIBTIFF_BUILTIN=""
35421 COND_WXUSE_ODBC_BUILTIN="#"
35422 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35423 COND_WXUSE_ODBC_BUILTIN=""
35426 COND_WXUSE_REGEX_BUILTIN="#"
35427 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35428 COND_WXUSE_REGEX_BUILTIN=""
35431 COND_WXUSE_ZLIB_BUILTIN="#"
35432 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35433 COND_WXUSE_ZLIB_BUILTIN=""
35440 if test $GCC_PCH = 1 ; then
35441 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35444 powerpc-*-darwin* )
35445 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35453 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35554 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35555 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35556 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35557 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35558 echo $ECHO_N "(cached) $ECHO_C" >&6
35560 cat >conftest.make <<\_ACEOF
35562 @echo 'ac_maketemp="$(MAKE)"'
35564 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35565 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35566 if test -n "$ac_maketemp"; then
35567 eval ac_cv_prog_make_${ac_make}_set=yes
35569 eval ac_cv_prog_make_${ac_make}_set=no
35571 rm -f conftest.make
35573 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35574 echo "$as_me:$LINENO: result: yes" >&5
35575 echo "${ECHO_T}yes" >&6
35578 echo "$as_me:$LINENO: result: no" >&5
35579 echo "${ECHO_T}no" >&6
35580 SET_MAKE="MAKE=${MAKE-make}"
35584 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
35585 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
35588 ac_config_headers="$ac_config_headers setup.h"
35591 ac_config_files="$ac_config_files wx-config version-script Makefile"
35594 ac_config_commands="$ac_config_commands default"
35598 if test "$wxUSE_GUI" = "yes"; then
35599 SUBDIRS="samples demos utils contrib"
35600 else SUBDIRS="samples utils"
35603 for subdir in `echo $SUBDIRS`; do
35604 if test -d ${srcdir}/${subdir} ; then
35605 if test "$wxUSE_GUI" = "yes"; then
35606 if test ${subdir} = "samples"; then
35607 makefiles="samples/Makefile.in $makefiles"
35608 for sample in `echo $SAMPLES_SUBDIRS`; do
35609 if test -d $srcdir/samples/$sample; then
35610 makefiles="samples/$sample/Makefile.in $makefiles"
35613 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
35615 else if test ${subdir} = "samples"; then
35616 makefiles="samples/Makefile.in samples/console/Makefile.in"
35617 else makefiles="utils/HelpGen/Makefile.in \
35618 utils/HelpGen/src/Makefile.in \
35619 utils/makegen/Makefile.in"
35623 for mkin in $makefiles ; do
35624 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35625 ac_config_files="$ac_config_files $mk"
35632 cat >confcache <<\_ACEOF
35633 # This file is a shell script that caches the results of configure
35634 # tests run on this system so they can be shared between configure
35635 # scripts and configure runs, see configure's option --config-cache.
35636 # It is not useful on other systems. If it contains results you don't
35637 # want to keep, you may remove or edit it.
35639 # config.status only pays attention to the cache file if you give it
35640 # the --recheck option to rerun configure.
35642 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35643 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35644 # following values.
35648 # The following way of writing the cache mishandles newlines in values,
35649 # but we know of no workaround that is simple, portable, and efficient.
35650 # So, don't put newlines in cache variables' values.
35651 # Ultrix sh set writes to stderr and can't be redirected directly,
35652 # and sets the high bit in the cache file unless we assign to the vars.
35655 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35657 # `set' does not quote correctly, so add quotes (double-quote
35658 # substitution turns \\\\ into \\, and sed turns \\ into \).
35661 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35664 # `set' quotes correctly as required by POSIX, so do not add quotes.
35666 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35673 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35675 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35677 if diff $cache_file confcache >/dev/null 2>&1; then :; else
35678 if test -w $cache_file; then
35679 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35680 cat confcache >$cache_file
35682 echo "not updating unwritable cache $cache_file"
35687 test "x$prefix" = xNONE && prefix=$ac_default_prefix
35688 # Let make expand exec_prefix.
35689 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35691 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35692 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35693 # trailing colons and then remove the whole line if VPATH becomes empty
35694 # (actually we leave an empty line to preserve line numbers).
35695 if test "x$srcdir" = x.; then
35696 ac_vpsub='/^[ ]*VPATH[ ]*=/{
35697 s/:*\$(srcdir):*/:/;
35698 s/:*\${srcdir}:*/:/;
35700 s/^\([^=]*=[ ]*\):*/\1/;
35706 DEFS=-DHAVE_CONFIG_H
35710 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35711 # 1. Remove the extension, and $U if already installed.
35712 ac_i=`echo "$ac_i" |
35713 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35715 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
35716 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
35718 LIBOBJS=$ac_libobjs
35720 LTLIBOBJS=$ac_ltlibobjs
35724 : ${CONFIG_STATUS=./config.status}
35725 ac_clean_files_save=$ac_clean_files
35726 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35727 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35728 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35729 cat >$CONFIG_STATUS <<_ACEOF
35731 # Generated by $as_me.
35732 # Run this file to recreate the current configuration.
35733 # Compiler output produced by configure, useful for debugging
35734 # configure, is in config.log if it exists.
35737 ac_cs_recheck=false
35739 SHELL=\${CONFIG_SHELL-$SHELL}
35742 cat >>$CONFIG_STATUS <<\_ACEOF
35743 ## --------------------- ##
35744 ## M4sh Initialization. ##
35745 ## --------------------- ##
35747 # Be Bourne compatible
35748 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35751 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35752 # is contrary to our usage. Disable this feature.
35753 alias -g '${1+"$@"}'='"$@"'
35754 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35758 # Support unset when possible.
35759 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35766 # Work around bugs in pre-3.0 UWIN ksh.
35767 $as_unset ENV MAIL MAILPATH
35774 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35775 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35776 LC_TELEPHONE LC_TIME
35778 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35779 eval $as_var=C; export $as_var
35785 # Required to use basename.
35786 if expr a : '\(a\)' >/dev/null 2>&1; then
35792 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
35793 as_basename=basename
35799 # Name of the executable.
35800 as_me=`$as_basename "$0" ||
35801 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35802 X"$0" : 'X\(//\)$' \| \
35803 X"$0" : 'X\(/\)$' \| \
35804 . : '\(.\)' 2>/dev/null ||
35806 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35807 /^X\/\(\/\/\)$/{ s//\1/; q; }
35808 /^X\/\(\/\).*/{ s//\1/; q; }
35812 # PATH needs CR, and LINENO needs CR and PATH.
35813 # Avoid depending upon Character Ranges.
35814 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35815 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35816 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35817 as_cr_digits='0123456789'
35818 as_cr_alnum=$as_cr_Letters$as_cr_digits
35820 # The user is always right.
35821 if test "${PATH_SEPARATOR+set}" != set; then
35822 echo "#! /bin/sh" >conf$$.sh
35823 echo "exit 0" >>conf$$.sh
35825 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
35834 as_lineno_1=$LINENO
35835 as_lineno_2=$LINENO
35836 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35837 test "x$as_lineno_1" != "x$as_lineno_2" &&
35838 test "x$as_lineno_3" = "x$as_lineno_2" || {
35839 # Find who we are. Look in the path if we contain no path at all
35842 *[\\/]* ) as_myself=$0 ;;
35843 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35844 for as_dir in $PATH
35847 test -z "$as_dir" && as_dir=.
35848 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35853 # We did not find ourselves, most probably we were run as `sh COMMAND'
35854 # in which case we are not to be found in the path.
35855 if test "x$as_myself" = x; then
35858 if test ! -f "$as_myself"; then
35859 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35860 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35861 { (exit 1); exit 1; }; }
35863 case $CONFIG_SHELL in
35865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35866 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
35869 test -z "$as_dir" && as_dir=.
35870 for as_base in sh bash ksh sh5; do
35873 if ("$as_dir/$as_base" -c '
35874 as_lineno_1=$LINENO
35875 as_lineno_2=$LINENO
35876 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35877 test "x$as_lineno_1" != "x$as_lineno_2" &&
35878 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
35879 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
35880 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
35881 CONFIG_SHELL=$as_dir/$as_base
35882 export CONFIG_SHELL
35883 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35891 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35892 # uniformly replaced by the line number. The first 'sed' inserts a
35893 # line-number line before each line; the second 'sed' does the real
35894 # work. The second script uses 'N' to pair each line-number line
35895 # with the numbered line, and appends trailing '-' during
35896 # substitution so that $LINENO is not a special case at line end.
35897 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35898 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35899 sed '=' <$as_myself |
35904 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35907 s,^['$as_cr_digits']*\n,,
35908 ' >$as_me.lineno &&
35909 chmod +x $as_me.lineno ||
35910 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35911 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35912 { (exit 1); exit 1; }; }
35914 # Don't try to exec as it changes $[0], causing all sort of problems
35915 # (the dirname of $[0] is not the place where we might find the
35916 # original and so on. Autoconf is especially sensible to this).
35918 # Exit status is that of the last command.
35923 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35924 *c*,-n*) ECHO_N= ECHO_C='
35926 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35927 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
35930 if expr a : '\(a\)' >/dev/null 2>&1; then
35936 rm -f conf$$ conf$$.exe conf$$.file
35938 if ln -s conf$$.file conf$$ 2>/dev/null; then
35939 # We could just check for DJGPP; but this test a) works b) is more generic
35940 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35941 if test -f conf$$.exe; then
35942 # Don't use ln at all; we don't have any links
35947 elif ln conf$$.file conf$$ 2>/dev/null; then
35952 rm -f conf$$ conf$$.exe conf$$.file
35954 if mkdir -p . 2>/dev/null; then
35960 as_executable_p="test -f"
35962 # Sed expression to map a string onto a valid CPP name.
35963 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35965 # Sed expression to map a string onto a valid variable name.
35966 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35970 # We need space, tab and new line, in precisely that order.
35980 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35981 # report actual input values of CONFIG_FILES etc. instead of their
35982 # values after options handling. Logging --version etc. is OK.
35986 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35987 ## Running $as_me. ##
35992 This file was extended by wxWindows $as_me 2.5.0, which was
35993 generated by GNU Autoconf 2.57. Invocation command line was
35995 CONFIG_FILES = $CONFIG_FILES
35996 CONFIG_HEADERS = $CONFIG_HEADERS
35997 CONFIG_LINKS = $CONFIG_LINKS
35998 CONFIG_COMMANDS = $CONFIG_COMMANDS
36002 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36006 # Files that config.status was made for.
36007 if test -n "$ac_config_files"; then
36008 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36011 if test -n "$ac_config_headers"; then
36012 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36015 if test -n "$ac_config_links"; then
36016 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36019 if test -n "$ac_config_commands"; then
36020 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36023 cat >>$CONFIG_STATUS <<\_ACEOF
36026 \`$as_me' instantiates files from templates according to the
36027 current configuration.
36029 Usage: $0 [OPTIONS] [FILE]...
36031 -h, --help print this help, then exit
36032 -V, --version print version number, then exit
36033 -q, --quiet do not print progress messages
36034 -d, --debug don't remove temporary files
36035 --recheck update $as_me by reconfiguring in the same conditions
36036 --file=FILE[:TEMPLATE]
36037 instantiate the configuration file FILE
36038 --header=FILE[:TEMPLATE]
36039 instantiate the configuration header FILE
36041 Configuration files:
36044 Configuration headers:
36047 Configuration commands:
36050 Report bugs to <bug-autoconf@gnu.org>."
36053 cat >>$CONFIG_STATUS <<_ACEOF
36055 wxWindows config.status 2.5.0
36056 configured by $0, generated by GNU Autoconf 2.57,
36057 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36059 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36060 Free Software Foundation, Inc.
36061 This config.status script is free software; the Free Software Foundation
36062 gives unlimited permission to copy, distribute and modify it."
36067 cat >>$CONFIG_STATUS <<\_ACEOF
36068 # If no file are specified by the user, then we need to provide default
36069 # value. By we need to know if files were specified by the user.
36075 ac_option=`expr "x$1" : 'x\([^=]*\)='`
36076 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
36084 *) # This is not an option, so the user has probably given explicit
36087 ac_need_defaults=false;;
36091 # Handling of the options.
36093 cat >>$CONFIG_STATUS <<\_ACEOF
36094 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36096 --version | --vers* | -V )
36097 echo "$ac_cs_version"; exit 0 ;;
36099 # Conflict between --help and --header
36100 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36101 Try \`$0 --help' for more information." >&5
36102 echo "$as_me: error: ambiguous option: $1
36103 Try \`$0 --help' for more information." >&2;}
36104 { (exit 1); exit 1; }; };;
36105 --help | --hel | -h )
36106 echo "$ac_cs_usage"; exit 0 ;;
36107 --debug | --d* | -d )
36109 --file | --fil | --fi | --f )
36111 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
36112 ac_need_defaults=false;;
36113 --header | --heade | --head | --hea )
36115 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
36116 ac_need_defaults=false;;
36117 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36118 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36121 # This is an error.
36122 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36123 Try \`$0 --help' for more information." >&5
36124 echo "$as_me: error: unrecognized option: $1
36125 Try \`$0 --help' for more information." >&2;}
36126 { (exit 1); exit 1; }; } ;;
36128 *) ac_config_targets="$ac_config_targets $1" ;;
36134 ac_configure_extra_args=
36136 if $ac_cs_silent; then
36138 ac_configure_extra_args="$ac_configure_extra_args --silent"
36142 cat >>$CONFIG_STATUS <<_ACEOF
36143 if \$ac_cs_recheck; then
36144 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36145 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36150 cat >>$CONFIG_STATUS <<_ACEOF
36152 # INIT-COMMANDS section.
36156 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36165 cat >>$CONFIG_STATUS <<\_ACEOF
36166 for ac_config_target in $ac_config_targets
36168 case "$ac_config_target" in
36169 # Handling of arguments.
36170 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
36171 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
36172 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36173 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
36174 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
36175 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
36176 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36177 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36178 { (exit 1); exit 1; }; };;
36182 # If the user did not use the arguments to specify the items to instantiate,
36183 # then the envvar interface is used. Set only those that are not.
36184 # We use the long form for the default assignment because of an extremely
36185 # bizarre bug on SunOS 4.1.3.
36186 if $ac_need_defaults; then
36187 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36188 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36189 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36192 # Have a temporary directory for convenience. Make it in the build tree
36193 # simply because there is no reason to put it here, and in addition,
36194 # creating and moving files from /tmp can sometimes cause problems.
36195 # Create a temporary directory, and hook for its removal unless debugging.
36198 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36199 trap '{ (exit 1); exit 1; }' 1 2 13 15
36202 # Create a (secure) tmp directory for tmp files.
36205 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36206 test -n "$tmp" && test -d "$tmp"
36209 tmp=./confstat$$-$RANDOM
36210 (umask 077 && mkdir $tmp)
36213 echo "$me: cannot create a temporary directory in ." >&2
36214 { (exit 1); exit 1; }
36219 cat >>$CONFIG_STATUS <<_ACEOF
36222 # CONFIG_FILES section.
36225 # No need to generate the scripts if there are no CONFIG_FILES.
36226 # This happens for instance when ./config.status config.h
36227 if test -n "\$CONFIG_FILES"; then
36228 # Protect against being on the right side of a sed subst in config.status.
36229 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36230 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36231 s,@SHELL@,$SHELL,;t t
36232 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36233 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36234 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36235 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36236 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36237 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36238 s,@exec_prefix@,$exec_prefix,;t t
36239 s,@prefix@,$prefix,;t t
36240 s,@program_transform_name@,$program_transform_name,;t t
36241 s,@bindir@,$bindir,;t t
36242 s,@sbindir@,$sbindir,;t t
36243 s,@libexecdir@,$libexecdir,;t t
36244 s,@datadir@,$datadir,;t t
36245 s,@sysconfdir@,$sysconfdir,;t t
36246 s,@sharedstatedir@,$sharedstatedir,;t t
36247 s,@localstatedir@,$localstatedir,;t t
36248 s,@libdir@,$libdir,;t t
36249 s,@includedir@,$includedir,;t t
36250 s,@oldincludedir@,$oldincludedir,;t t
36251 s,@infodir@,$infodir,;t t
36252 s,@mandir@,$mandir,;t t
36253 s,@build_alias@,$build_alias,;t t
36254 s,@host_alias@,$host_alias,;t t
36255 s,@target_alias@,$target_alias,;t t
36256 s,@DEFS@,$DEFS,;t t
36257 s,@ECHO_C@,$ECHO_C,;t t
36258 s,@ECHO_N@,$ECHO_N,;t t
36259 s,@ECHO_T@,$ECHO_T,;t t
36260 s,@LIBS@,$LIBS,;t t
36261 s,@build@,$build,;t t
36262 s,@build_cpu@,$build_cpu,;t t
36263 s,@build_vendor@,$build_vendor,;t t
36264 s,@build_os@,$build_os,;t t
36265 s,@host@,$host,;t t
36266 s,@host_cpu@,$host_cpu,;t t
36267 s,@host_vendor@,$host_vendor,;t t
36268 s,@host_os@,$host_os,;t t
36269 s,@target@,$target,;t t
36270 s,@target_cpu@,$target_cpu,;t t
36271 s,@target_vendor@,$target_vendor,;t t
36272 s,@target_os@,$target_os,;t t
36274 s,@CFLAGS@,$CFLAGS,;t t
36275 s,@LDFLAGS@,$LDFLAGS,;t t
36276 s,@CPPFLAGS@,$CPPFLAGS,;t t
36277 s,@ac_ct_CC@,$ac_ct_CC,;t t
36278 s,@EXEEXT@,$EXEEXT,;t t
36279 s,@OBJEXT@,$OBJEXT,;t t
36281 s,@EGREP@,$EGREP,;t t
36283 s,@CXXFLAGS@,$CXXFLAGS,;t t
36284 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36285 s,@RANLIB@,$RANLIB,;t t
36286 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36288 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36289 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36290 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36291 s,@STRIP@,$STRIP,;t t
36292 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36293 s,@YACC@,$YACC,;t t
36295 s,@LEXLIB@,$LEXLIB,;t t
36296 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
36297 s,@LN_S@,$LN_S,;t t
36298 s,@CXXCPP@,$CXXCPP,;t t
36299 s,@subdirs@,$subdirs,;t t
36300 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36301 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36302 s,@GTK_LIBS@,$GTK_LIBS,;t t
36303 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36304 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36305 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36306 s,@X_CFLAGS@,$X_CFLAGS,;t t
36307 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36308 s,@X_LIBS@,$X_LIBS,;t t
36309 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36310 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36311 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36312 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36313 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36314 s,@RESCOMP@,$RESCOMP,;t t
36315 s,@DEREZ@,$DEREZ,;t t
36316 s,@SETFILE@,$SETFILE,;t t
36317 s,@LIBICONV@,$LIBICONV,;t t
36318 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36319 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36320 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36321 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36322 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36323 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36324 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36325 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36326 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36327 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36328 s,@VENDOR@,$VENDOR,;t t
36329 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36330 s,@WXUNIV@,$WXUNIV,;t t
36331 s,@MONOLITHIC@,$MONOLITHIC,;t t
36332 s,@EXTRALIBS@,$EXTRALIBS,;t t
36333 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36334 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36335 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36336 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36337 s,@UNICODE@,$UNICODE,;t t
36338 s,@BUILD@,$BUILD,;t t
36339 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36340 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36341 s,@SHARED@,$SHARED,;t t
36342 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36343 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36344 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36345 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36346 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36347 s,@SET_MAKE@,$SET_MAKE,;t t
36348 s,@MAKE_SET@,$MAKE_SET,;t t
36349 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36350 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36351 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36352 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36353 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36354 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36355 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36356 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36357 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36358 s,@DLLPREFIX@,$DLLPREFIX,;t t
36359 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36360 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36361 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36362 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36363 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36364 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36365 s,@PIC_FLAG@,$PIC_FLAG,;t t
36366 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36367 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36368 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36369 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36370 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36371 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36372 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36373 s,@GCC_PCH@,$GCC_PCH,;t t
36374 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36375 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36376 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36377 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36378 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36379 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36380 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36381 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36382 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36383 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36384 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36385 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36386 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36387 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36388 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
36389 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36390 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36391 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36392 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
36393 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36394 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36395 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36396 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36397 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36398 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36399 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36400 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36401 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36402 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36403 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36404 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36405 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36406 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36407 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36408 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36409 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36410 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36411 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36412 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36413 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36414 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36415 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36416 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36417 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36418 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36419 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36420 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36421 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36422 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36423 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36424 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36425 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36426 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36427 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36428 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36429 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36430 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36431 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36432 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36433 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36434 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36435 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36436 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36437 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36438 s,@COND_TOOLKIT_OS2_USE_GUI_1@,$COND_TOOLKIT_OS2_USE_GUI_1,;t t
36439 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36440 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36441 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36442 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36443 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36444 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36445 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36446 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36447 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36448 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36449 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36450 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36451 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36452 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36453 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36454 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36455 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36456 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36457 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36458 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36459 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36460 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36461 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36462 s,@LEX_STEM@,$LEX_STEM,;t t
36463 s,@PATH_IFS@,$PATH_IFS,;t t
36464 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36465 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36466 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36467 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36468 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36469 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36470 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36471 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36472 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36473 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36474 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36475 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36476 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36477 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36478 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36479 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36480 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36481 s,@WX_ALL@,$WX_ALL,;t t
36482 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36483 s,@SHARED_LD@,$SHARED_LD,;t t
36484 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36485 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36486 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36487 s,@USE_GUI@,$USE_GUI,;t t
36488 s,@AFMINSTALL@,$AFMINSTALL,;t t
36489 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36490 s,@TOOLKIT@,$TOOLKIT,;t t
36491 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36492 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36493 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36494 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36495 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36496 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36497 s,@cross_compiling@,$cross_compiling,;t t
36498 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36499 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36500 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36501 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36502 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36503 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36504 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36505 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36506 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36507 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36508 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36509 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36510 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36511 s,@GUIDIST@,$GUIDIST,;t t
36512 s,@PORT_FILES@,$PORT_FILES,;t t
36513 s,@DISTDIR@,$DISTDIR,;t t
36514 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36515 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36516 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36517 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36518 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36519 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36520 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36521 s,@RESFLAGS@,$RESFLAGS,;t t
36522 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36523 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36524 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36525 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36526 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36527 s,@MACRESCOMP@,$MACRESCOMP,;t t
36528 s,@MACSETFILE@,$MACSETFILE,;t t
36529 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36531 s,@DLLTOOL@,$DLLTOOL,;t t
36535 s,@MAKEINFO@,$MAKEINFO,;t t
36536 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36537 s,@LIBOBJS@,$LIBOBJS,;t t
36538 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36543 cat >>$CONFIG_STATUS <<\_ACEOF
36544 # Split the substitutions into bite-sized pieces for seds with
36545 # small command number limits, like on Digital OSF/1 and HP-UX.
36546 ac_max_sed_lines=48
36547 ac_sed_frag=1 # Number of current file.
36548 ac_beg=1 # First line for current file.
36549 ac_end=$ac_max_sed_lines # Line after last line for current file.
36552 while $ac_more_lines; do
36553 if test $ac_beg -gt 1; then
36554 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36556 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36558 if test ! -s $tmp/subs.frag; then
36559 ac_more_lines=false
36561 # The purpose of the label and of the branching condition is to
36562 # speed up the sed processing (if there are no `@' at all, there
36563 # is no need to browse any of the substitutions).
36564 # These are the two extra sed commands mentioned above.
36566 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
36567 if test -z "$ac_sed_cmds"; then
36568 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
36570 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36572 ac_sed_frag=`expr $ac_sed_frag + 1`
36574 ac_end=`expr $ac_end + $ac_max_sed_lines`
36577 if test -z "$ac_sed_cmds"; then
36580 fi # test -n "$CONFIG_FILES"
36583 cat >>$CONFIG_STATUS <<\_ACEOF
36584 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
36585 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36587 - | *:- | *:-:* ) # input from stdin
36589 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36590 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36591 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36592 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36593 * ) ac_file_in=$ac_file.in ;;
36596 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36597 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36598 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36599 X"$ac_file" : 'X\(//\)[^/]' \| \
36600 X"$ac_file" : 'X\(//\)$' \| \
36601 X"$ac_file" : 'X\(/\)' \| \
36602 . : '\(.\)' 2>/dev/null ||
36604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36605 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36606 /^X\(\/\/\)$/{ s//\1/; q; }
36607 /^X\(\/\).*/{ s//\1/; q; }
36609 { if $as_mkdir_p; then
36614 while test ! -d "$as_dir"; do
36615 as_dirs="$as_dir $as_dirs"
36616 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36617 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36618 X"$as_dir" : 'X\(//\)[^/]' \| \
36619 X"$as_dir" : 'X\(//\)$' \| \
36620 X"$as_dir" : 'X\(/\)' \| \
36621 . : '\(.\)' 2>/dev/null ||
36623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36624 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36625 /^X\(\/\/\)$/{ s//\1/; q; }
36626 /^X\(\/\).*/{ s//\1/; q; }
36629 test ! -n "$as_dirs" || mkdir $as_dirs
36630 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36631 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36632 { (exit 1); exit 1; }; }; }
36636 if test "$ac_dir" != .; then
36637 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36638 # A "../" for each directory in $ac_dir_suffix.
36639 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36641 ac_dir_suffix= ac_top_builddir=
36645 .) # No --srcdir option. We are building in place.
36647 if test -z "$ac_top_builddir"; then
36650 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36652 [\\/]* | ?:[\\/]* ) # Absolute path.
36653 ac_srcdir=$srcdir$ac_dir_suffix;
36654 ac_top_srcdir=$srcdir ;;
36655 *) # Relative path.
36656 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36657 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36659 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36661 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36662 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36663 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36664 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36668 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36669 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
36672 if test x"$ac_file" != x-; then
36673 { echo "$as_me:$LINENO: creating $ac_file" >&5
36674 echo "$as_me: creating $ac_file" >&6;}
36677 # Let's still pretend it is `configure' which instantiates (i.e., don't
36678 # use $as_me), people would be surprised to read:
36679 # /* config.h. Generated by config.status. */
36680 if test x"$ac_file" = x-; then
36683 configure_input="$ac_file. "
36685 configure_input=$configure_input"Generated from `echo $ac_file_in |
36686 sed 's,.*/,,'` by configure."
36688 # First look for the input files in the build tree, otherwise in the
36690 ac_file_inputs=`IFS=:
36691 for f in $ac_file_in; do
36693 -) echo $tmp/stdin ;;
36695 # Absolute (can't be DOS-style, as IFS=:)
36696 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36697 echo "$as_me: error: cannot find input file: $f" >&2;}
36698 { (exit 1); exit 1; }; }
36701 if test -f "$f"; then
36704 elif test -f "$srcdir/$f"; then
36709 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36710 echo "$as_me: error: cannot find input file: $f" >&2;}
36711 { (exit 1); exit 1; }; }
36714 done` || { (exit 1); exit 1; }
36716 cat >>$CONFIG_STATUS <<_ACEOF
36720 cat >>$CONFIG_STATUS <<\_ACEOF
36722 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36723 s,@configure_input@,$configure_input,;t t
36724 s,@srcdir@,$ac_srcdir,;t t
36725 s,@abs_srcdir@,$ac_abs_srcdir,;t t
36726 s,@top_srcdir@,$ac_top_srcdir,;t t
36727 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
36728 s,@builddir@,$ac_builddir,;t t
36729 s,@abs_builddir@,$ac_abs_builddir,;t t
36730 s,@top_builddir@,$ac_top_builddir,;t t
36731 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
36732 s,@INSTALL@,$ac_INSTALL,;t t
36733 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36735 if test x"$ac_file" != x-; then
36736 mv $tmp/out $ac_file
36744 cat >>$CONFIG_STATUS <<\_ACEOF
36747 # CONFIG_HEADER section.
36750 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
36751 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36753 # ac_d sets the value in "#define NAME VALUE" lines.
36754 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36755 ac_dB='[ ].*$,\1#\2'
36758 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36759 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36760 ac_uB='$,\1#\2define\3'
36764 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
36765 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36767 - | *:- | *:-:* ) # input from stdin
36769 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36770 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36771 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36772 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36773 * ) ac_file_in=$ac_file.in ;;
36776 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36777 echo "$as_me: creating $ac_file" >&6;}
36779 # First look for the input files in the build tree, otherwise in the
36781 ac_file_inputs=`IFS=:
36782 for f in $ac_file_in; do
36784 -) echo $tmp/stdin ;;
36786 # Absolute (can't be DOS-style, as IFS=:)
36787 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36788 echo "$as_me: error: cannot find input file: $f" >&2;}
36789 { (exit 1); exit 1; }; }
36792 if test -f "$f"; then
36795 elif test -f "$srcdir/$f"; then
36800 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36801 echo "$as_me: error: cannot find input file: $f" >&2;}
36802 { (exit 1); exit 1; }; }
36805 done` || { (exit 1); exit 1; }
36806 # Remove the trailing spaces.
36807 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36811 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36812 # `conftest.undefs', that substitutes the proper values into
36813 # config.h.in to produce config.h. The first handles `#define'
36814 # templates, and the second `#undef' templates.
36815 # And first: Protect against being on the right side of a sed subst in
36816 # config.status. Protect against being in an unquoted here document
36817 # in config.status.
36818 rm -f conftest.defines conftest.undefs
36819 # Using a here document instead of a string reduces the quoting nightmare.
36820 # Putting comments in sed scripts is not portable.
36822 # `end' is used to avoid that the second main sed command (meant for
36823 # 0-ary CPP macros) applies to n-ary macro definitions.
36824 # See the Autoconf documentation for `clear'.
36825 cat >confdef2sed.sed <<\_ACEOF
36830 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36832 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36835 # If some macros were called several times there might be several times
36836 # the same #defines, which is useless. Nevertheless, we may not want to
36837 # sort them, since we want the *last* AC-DEFINE to be honored.
36838 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36839 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36840 rm -f confdef2sed.sed
36842 # This sed command replaces #undef with comments. This is necessary, for
36843 # example, in the case of _POSIX_SOURCE, which is predefined and required
36844 # on some systems where configure will not decide to define it.
36845 cat >>conftest.undefs <<\_ACEOF
36846 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36849 # Break up conftest.defines because some shells have a limit on the size
36850 # of here documents, and old seds have small limits too (100 cmds).
36851 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36852 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36853 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36854 echo ' :' >>$CONFIG_STATUS
36855 rm -f conftest.tail
36856 while grep . conftest.defines >/dev/null
36858 # Write a limited-size here document to $tmp/defines.sed.
36859 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36860 # Speed up: don't consider the non `#define' lines.
36861 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36862 # Work around the forget-to-reset-the-flag bug.
36863 echo 't clr' >>$CONFIG_STATUS
36864 echo ': clr' >>$CONFIG_STATUS
36865 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
36867 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36869 mv $tmp/out $tmp/in
36871 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
36872 rm -f conftest.defines
36873 mv conftest.tail conftest.defines
36875 rm -f conftest.defines
36876 echo ' fi # grep' >>$CONFIG_STATUS
36877 echo >>$CONFIG_STATUS
36879 # Break up conftest.undefs because some shells have a limit on the size
36880 # of here documents, and old seds have small limits too (100 cmds).
36881 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36882 rm -f conftest.tail
36883 while grep . conftest.undefs >/dev/null
36885 # Write a limited-size here document to $tmp/undefs.sed.
36886 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36887 # Speed up: don't consider the non `#undef'
36888 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36889 # Work around the forget-to-reset-the-flag bug.
36890 echo 't clr' >>$CONFIG_STATUS
36891 echo ': clr' >>$CONFIG_STATUS
36892 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36894 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36896 mv $tmp/out $tmp/in
36898 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36899 rm -f conftest.undefs
36900 mv conftest.tail conftest.undefs
36902 rm -f conftest.undefs
36904 cat >>$CONFIG_STATUS <<\_ACEOF
36905 # Let's still pretend it is `configure' which instantiates (i.e., don't
36906 # use $as_me), people would be surprised to read:
36907 # /* config.h. Generated by config.status. */
36908 if test x"$ac_file" = x-; then
36909 echo "/* Generated by configure. */" >$tmp/config.h
36911 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36913 cat $tmp/in >>$tmp/config.h
36915 if test x"$ac_file" != x-; then
36916 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
36917 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36918 echo "$as_me: $ac_file is unchanged" >&6;}
36920 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36921 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36922 X"$ac_file" : 'X\(//\)[^/]' \| \
36923 X"$ac_file" : 'X\(//\)$' \| \
36924 X"$ac_file" : 'X\(/\)' \| \
36925 . : '\(.\)' 2>/dev/null ||
36927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36928 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36929 /^X\(\/\/\)$/{ s//\1/; q; }
36930 /^X\(\/\).*/{ s//\1/; q; }
36932 { if $as_mkdir_p; then
36937 while test ! -d "$as_dir"; do
36938 as_dirs="$as_dir $as_dirs"
36939 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36940 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36941 X"$as_dir" : 'X\(//\)[^/]' \| \
36942 X"$as_dir" : 'X\(//\)$' \| \
36943 X"$as_dir" : 'X\(/\)' \| \
36944 . : '\(.\)' 2>/dev/null ||
36946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36947 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36948 /^X\(\/\/\)$/{ s//\1/; q; }
36949 /^X\(\/\).*/{ s//\1/; q; }
36952 test ! -n "$as_dirs" || mkdir $as_dirs
36953 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36954 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36955 { (exit 1); exit 1; }; }; }
36958 mv $tmp/config.h $ac_file
36962 rm -f $tmp/config.h
36966 cat >>$CONFIG_STATUS <<\_ACEOF
36969 # CONFIG_COMMANDS section.
36971 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36972 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36973 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36974 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36975 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36976 X"$ac_dest" : 'X\(//\)[^/]' \| \
36977 X"$ac_dest" : 'X\(//\)$' \| \
36978 X"$ac_dest" : 'X\(/\)' \| \
36979 . : '\(.\)' 2>/dev/null ||
36981 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36982 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36983 /^X\(\/\/\)$/{ s//\1/; q; }
36984 /^X\(\/\).*/{ s//\1/; q; }
36988 if test "$ac_dir" != .; then
36989 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36990 # A "../" for each directory in $ac_dir_suffix.
36991 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36993 ac_dir_suffix= ac_top_builddir=
36997 .) # No --srcdir option. We are building in place.
36999 if test -z "$ac_top_builddir"; then
37002 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37004 [\\/]* | ?:[\\/]* ) # Absolute path.
37005 ac_srcdir=$srcdir$ac_dir_suffix;
37006 ac_top_srcdir=$srcdir ;;
37007 *) # Relative path.
37008 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37009 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37011 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37013 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37014 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37015 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37016 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37019 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37020 echo "$as_me: executing $ac_dest commands" >&6;}
37023 if test ! -h wx-config; then
37025 mv wx-config wx${TOOLCHAIN_NAME}-config
37026 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
37029 if test ! -d lib; then
37032 if test ! -d lib/wx; then
37035 if test ! -d lib/wx/include; then
37036 mkdir lib/wx/include
37038 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
37039 mkdir lib/wx/include/${TOOLCHAIN_NAME}
37041 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
37042 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
37044 if test -f setup.h; then
37045 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
37052 cat >>$CONFIG_STATUS <<\_ACEOF
37054 { (exit 0); exit 0; }
37056 chmod +x $CONFIG_STATUS
37057 ac_clean_files=$ac_clean_files_save
37060 # configure is writing to config.log, and then calls config.status.
37061 # config.status does its own redirection, appending to config.log.
37062 # Unfortunately, on DOS this fails, as config.log is still kept open
37063 # by configure, so config.status won't be able to write to it; its
37064 # output is simply discarded. So we exec the FD to /dev/null,
37065 # effectively closing config.log, so it can be properly (re)opened and
37066 # appended to by config.status. When coming back to configure, we
37067 # need to make the FD available again.
37068 if test "$no_create" != yes; then
37070 ac_config_status_args=
37071 test "$silent" = yes &&
37072 ac_config_status_args="$ac_config_status_args --quiet"
37074 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37076 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37077 # would make configure fail if this is the last instruction.
37078 $ac_cs_success || { (exit 1); exit 1; }
37082 # CONFIG_SUBDIRS section.
37084 if test "$no_recursion" != yes; then
37086 # Remove --cache-file and --srcdir arguments so they do not pile up.
37087 ac_sub_configure_args=
37089 for ac_arg in $ac_configure_args; do
37090 if test -n "$ac_prev"; then
37095 -cache-file | --cache-file | --cache-fil | --cache-fi \
37096 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37097 ac_prev=cache_file ;;
37098 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37099 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37102 --config-cache | -C)
37104 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37106 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37108 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37110 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37112 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
37116 # Always prepend --prefix to ensure using the same prefix
37117 # in subdir configurations.
37118 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
37121 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
37123 # Do not complain, so a configure script can configure whichever
37124 # parts of a large source tree are present.
37125 test -d $srcdir/$ac_dir || continue
37127 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37128 echo "$as_me: configuring in $ac_dir" >&6;}
37129 { if $as_mkdir_p; then
37134 while test ! -d "$as_dir"; do
37135 as_dirs="$as_dir $as_dirs"
37136 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37137 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37138 X"$as_dir" : 'X\(//\)[^/]' \| \
37139 X"$as_dir" : 'X\(//\)$' \| \
37140 X"$as_dir" : 'X\(/\)' \| \
37141 . : '\(.\)' 2>/dev/null ||
37143 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37144 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37145 /^X\(\/\/\)$/{ s//\1/; q; }
37146 /^X\(\/\).*/{ s//\1/; q; }
37149 test ! -n "$as_dirs" || mkdir $as_dirs
37150 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37151 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37152 { (exit 1); exit 1; }; }; }
37156 if test "$ac_dir" != .; then
37157 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37158 # A "../" for each directory in $ac_dir_suffix.
37159 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37161 ac_dir_suffix= ac_top_builddir=
37165 .) # No --srcdir option. We are building in place.
37167 if test -z "$ac_top_builddir"; then
37170 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37172 [\\/]* | ?:[\\/]* ) # Absolute path.
37173 ac_srcdir=$srcdir$ac_dir_suffix;
37174 ac_top_srcdir=$srcdir ;;
37175 *) # Relative path.
37176 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37177 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37179 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37181 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37182 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37183 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37184 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37189 # Check for guested configure; otherwise get Cygnus style configure.
37190 if test -f $ac_srcdir/configure.gnu; then
37191 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
37192 elif test -f $ac_srcdir/configure; then
37193 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
37194 elif test -f $ac_srcdir/configure.in; then
37195 ac_sub_configure=$ac_configure
37197 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37198 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37202 # The recursion is here.
37203 if test -n "$ac_sub_configure"; then
37204 # Make the cache file name correct relative to the subdirectory.
37205 case $cache_file in
37206 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37207 *) # Relative path.
37208 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37211 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37212 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37213 # The eval makes quoting arguments work.
37214 eval $ac_sub_configure $ac_sub_configure_args \
37215 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37216 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37217 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37218 { (exit 1); exit 1; }; }
37227 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37229 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37230 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37232 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37233 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37234 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37236 echo " What level of wxWindows compatibility should be enabled?"
37237 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
37238 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37239 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37241 echo " Which libraries should wxWindows use?"
37242 echo " jpeg ${wxUSE_LIBJPEG-none}"
37243 echo " png ${wxUSE_LIBPNG-none}"
37244 echo " regex ${wxUSE_REGEX}"
37245 echo " tiff ${wxUSE_LIBTIFF-none}"
37246 echo " zlib ${wxUSE_ZLIB}"
37247 echo " odbc ${wxUSE_ODBC}"
37248 echo " expat ${wxUSE_EXPAT}"