2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for wxWindows 2.5.1.
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
27 # Support unset when possible.
28 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='wxWindows'
271 PACKAGE_TARNAME
='wxwindows'
272 PACKAGE_VERSION
='2.5.1'
273 PACKAGE_STRING
='wxWindows 2.5.1'
274 PACKAGE_BUGREPORT
='wx-dev@lists.wxwindows.org'
276 ac_unique_file
="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subdirs_all
="$ac_subdirs_all src/expat"
315 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD 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_HTML 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 ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_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_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_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 PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
377 -build | --build | --buil | --bui | --bu)
378 ac_prev
=build_alias
;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev
=cache_file
;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* | --disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* | --enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
433 -help | --help | --hel | --he | -h)
435 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
438 ac_init_help
=short
;;
440 -host | --host | --hos | --ho)
441 ac_prev
=host_alias
;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev
=includedir
;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir | --libdir | --libdi | --libd)
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 # Obsolete; use --without-fp.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site | --site | --sit)
563 -site=* | --site=* | --sit=*)
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev
=target_alias
;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias
=$ac_optarg ;;
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
586 -version | --version | --versio | --versi | --vers | -V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* | --without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
776 ac_env_CXX_set
=${CXX+set}
777 ac_env_CXX_value
=$CXX
778 ac_cv_env_CXX_set
=${CXX+set}
779 ac_cv_env_CXX_value
=$CXX
780 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value
=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
784 ac_env_CXXCPP_set
=${CXXCPP+set}
785 ac_env_CXXCPP_value
=$CXXCPP
786 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value
=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --x-includes=DIR X include files are
in DIR
851 --x-libraries=DIR X library files are
in DIR
854 --build=BUILD configure
for building on BUILD
[guessed
]
855 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
856 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
860 if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short
| recursive
) echo "Configuration of wxWindows 2.5.1:";;
867 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
868 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
869 --enable-gui use GUI classes
870 --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-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes (Win32 only)
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-apple_ieee use the Apple IEEE codec
902 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
903 --enable-cmdline use wxCmdLineParser class
904 --enable-datetime use wxDateTime class
905 --enable-dialupman use dialup network classes
906 --enable-dynlib use wxLibrary class for DLL loading
907 --enable-dynamicloader use (new) wxDynamicLibrary class
908 --enable-exceptions build exception-safe library
909 --enable-ffile use wxFFile class
910 --enable-file use wxFile class
911 --enable-filesystem use virtual file systems classes
912 --enable-fontmap use font encodings conversion classes
913 --enable-fs_inet use virtual HTTP/FTP filesystems
914 --enable-fs_zip use virtual ZIP filesystems
915 --enable-geometry use geometry class
916 --enable-log use logging system
917 --enable-longlong use wxLongLong class
918 --enable-mimetype use wxMimeTypesManager
919 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
920 --enable-snglinst use wxSingleInstanceChecker class
921 --enable-streams use wxStream etc classes
922 --enable-std_iostreams use standard C++ stream classes
923 --enable-stopwatch use wxStopWatch class
924 --enable-sysoptions use wxSystemOptions
925 --enable-textbuf use wxTextBuffer class
926 --enable-textfile use wxTextFile class
927 --enable-timer use wxTimer class
928 --enable-unicode compile wxString with Unicode support
929 --enable-wave use wxWave class
930 --enable-wxprintfv use wxWindows implementation of vprintf()
931 --enable-zipstream use wxZipInputStream
932 --enable-gzstream use wxGzipInputStream
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-listbook use wxListbook class
971 --enable-listbox use wxListBox class
972 --enable-listctrl use wxListCtrl class
973 --enable-notebook use wxNotebook class
974 --enable-radiobox use wxRadioBox class
975 --enable-radiobtn use wxRadioButton class
976 --enable-sash use wxSashWindow class
977 --enable-scrollbar use wxScrollBar class and scrollable windows
978 --enable-slider use wxSlider class
979 --enable-spinbtn use wxSpinButton class
980 --enable-spinctrl use wxSpinCtrl class
981 --enable-splitter use wxSplitterWindow class
982 --enable-statbmp use wxStaticBitmap class
983 --enable-statbox use wxStaticBox class
984 --enable-statline use wxStaticLine class
985 --enable-stattext use wxStaticText class
986 --enable-statusbar use wxStatusBar class
987 --enable-tabdialog use wxTabControl class
988 --enable-textctrl use wxTextCtrl class
989 --enable-togglebtn use wxToggleButton class
990 --enable-toolbar use wxToolBar class
991 --enable-tbarnative use native wxToolBar class
992 --enable-tbarsmpl use wxToolBarSimple class
993 --enable-treectrl use wxTreeCtrl class
994 --enable-tipwindow use wxTipWindow class
995 --enable-popupwin use wxPopUpWindow class
996 --enable-commondlg use all common dialogs
997 --enable-choicedlg use wxChoiceDialog
998 --enable-coldlg use wxColourDialog
999 --enable-filedlg use wxFileDialog
1000 --enable-finddlg use wxFindReplaceDialog
1001 --enable-fontdlg use wxFontDialog
1002 --enable-dirdlg use wxDirDialog
1003 --enable-msgdlg use wxMessageDialog
1004 --enable-numberdlg use wxNumberEntryDialog
1005 --enable-splash use wxSplashScreen
1006 --enable-textdlg use wxTextDialog
1007 --enable-tipdlg use startup tips
1008 --enable-progressdlg use wxProgressDialog
1009 --enable-wizarddlg use wxWizard
1010 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1011 --enable-miniframe use wxMiniFrame class
1012 --enable-tooltips use wxToolTip class
1013 --enable-splines use spline drawing code
1014 --enable-validators use wxValidator and derived classes
1015 --enable-busyinfo use wxBusyInfo
1016 --enable-joystick use wxJoystick (Linux only)
1017 --enable-metafiles use wxMetaFile (Windows only)
1018 --enable-dragimage use wxDragImage
1019 --enable-accessibility enable accessibility support
1020 --enable-palette use wxPalette class
1021 --enable-image use wxImage class
1022 --enable-gif use gif images (GIF file format)
1023 --enable-pcx use pcx images (PCX file format)
1024 --enable-iff use iff images (IFF file format)
1025 --enable-pnm use pnm images (PNM file format)
1026 --enable-xpm use xpm images (XPM file format)
1027 --enable-icocur use Windows ICO and CUR formats
1028 --enable-official_build official build of wxWindows (win32 DLL only)
1029 --enable-vendor=VENDOR vendor name (win32 DLL only)
1030 --disable-largefile omit support for large files
1031 --disable-gtktest do not try to compile and run a test GTK+ program
1032 --disable-gtktest Do not try to compile and run a test GTK program
1033 --disable-precomp-headers don't use precompiled headers even
if compiler can
1036 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1037 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1039 --with-motif use Motif
/Lesstif
1040 --with-mac use Mac OS X
1041 --with-cocoa use Cocoa
1042 --with-wine use Wine
1043 --with-msw use MS
-Windows
1044 --with-pm use OS
/2 Presentation Manager
1045 --with-mgl use SciTech MGL
1046 --with-microwin use MicroWindows
1048 --with-libpng use libpng
(PNG image format
)
1049 --with-libjpeg use libjpeg
(JPEG
file format
)
1050 --with-libtiff use libtiff
(TIFF
file format
)
1051 --with-libxpm use libxpm
(XPM
file format
)
1052 --with-libmspack use libmspack
(CHM
help files loading
)
1053 --with-opengl use OpenGL
(or Mesa
)
1054 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1055 --with-regex enable support
for wxRegEx class
1056 --with-zlib use zlib
for LZW compression
1057 --with-odbc use the IODBC and wxODBC classes
1058 --with-expat enable XML support using expat parser
1059 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1060 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1061 --with-x use the X Window System
1062 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1064 Some influential environment variables
:
1065 CC C compiler
command
1066 CFLAGS C compiler flags
1067 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1068 nonstandard directory
<lib dir
>
1069 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1070 headers
in a nonstandard directory
<include dir
>
1072 CXX C
++ compiler
command
1073 CXXFLAGS C
++ compiler flags
1074 CXXCPP C
++ preprocessor
1076 Use these variables to override the choices made by
`configure' or to help
1077 it to find libraries and programs with nonstandard names/locations.
1079 Report bugs to <wx-dev@lists.wxwindows.org>.
1083 if test "$ac_init_help" = "recursive"; then
1084 # If there are subdirs, report their specific --help.
1086 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1087 test -d $ac_dir || continue
1090 if test "$ac_dir" != .; then
1091 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1092 # A "../" for each directory in $ac_dir_suffix.
1093 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1095 ac_dir_suffix= ac_top_builddir=
1099 .) # No --srcdir option. We are building in place.
1101 if test -z "$ac_top_builddir"; then
1104 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1106 [\\/]* | ?:[\\/]* ) # Absolute path.
1107 ac_srcdir=$srcdir$ac_dir_suffix;
1108 ac_top_srcdir=$srcdir ;;
1110 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1111 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1113 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1115 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1116 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
1117 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1118 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1121 # Check for guested configure; otherwise get Cygnus style configure.
1122 if test -f $ac_srcdir/configure.gnu; then
1124 $SHELL $ac_srcdir/configure.gnu --help=recursive
1125 elif test -f $ac_srcdir/configure; then
1127 $SHELL $ac_srcdir/configure --help=recursive
1128 elif test -f $ac_srcdir/configure.ac ||
1129 test -f $ac_srcdir/configure.in; then
1131 $ac_configure --help
1133 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1139 test -n "$ac_init_help" && exit 0
1140 if $ac_init_version; then
1142 wxWindows configure 2.5.1
1143 generated by GNU Autoconf 2.57
1145 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1146 Free Software Foundation, Inc.
1147 This configure script is free software; the Free Software Foundation
1148 gives unlimited permission to copy, distribute and modify it.
1154 This file contains any messages produced by compilers while
1155 running configure, to aid debugging if configure makes a mistake.
1157 It was created by wxWindows $as_me 2.5.1, which was
1158 generated by GNU Autoconf 2.57. Invocation command line was
1169 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1170 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1171 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1172 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1173 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1175 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1176 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1178 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1179 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1180 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1181 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1182 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1183 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1184 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1192 test -z "$as_dir" && as_dir=.
1193 echo "PATH: $as_dir"
1208 # Keep a trace of the command line.
1209 # Strip out --no-create and --no-recursion so they do not pile up.
1210 # Strip out --silent because we don't want to record it for future runs.
1211 # Also quote any args containing shell meta-characters.
1212 # Make two passes to allow for proper duplicate-argument suppression.
1217 ac_must_keep_next=false
1223 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1224 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1225 | -silent | --silent | --silen | --sile | --sil)
1227 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1228 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1231 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1233 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1234 if test $ac_must_keep_next = true; then
1235 ac_must_keep_next=false # Got value, back to normal.
1238 *=* | --config-cache | -C | -disable-* | --disable-* \
1239 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1240 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1241 | -with-* | --with-* | -without-* | --without-* | --x)
1242 case "$ac_configure_args0 " in
1243 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1246 -* ) ac_must_keep_next=true ;;
1249 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1250 # Get rid of the leading space.
1256 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1257 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1259 # When interrupted or exit'd, cleanup temporary files, and complete
1260 # config.log. We remove comments because anyway the quotes in there
1261 # would cause problems or look ugly.
1262 # WARNING: Be sure not to use single quotes in there, as some shells,
1263 # such as our DU 5.0 friend, will then `close
' the trap.
1264 trap 'exit_status
=$?
1265 # Save into config.log some information that might help in debugging.
1270 ## ---------------- ##
1271 ## Cache variables. ##
1272 ## ---------------- ##
1275 # The following way of writing the cache mishandles newlines in values,
1278 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1281 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1286 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1293 ## ----------------- ##
1294 ## Output variables. ##
1295 ## ----------------- ##
1298 for ac_var
in $ac_subst_vars
1300 eval ac_val
=$
`echo $ac_var`
1301 echo "$ac_var='"'"'$ac_val'"'"'"
1305 if test -n "$ac_subst_files"; then
1312 for ac_var
in $ac_subst_files
1314 eval ac_val
=$
`echo $ac_var`
1315 echo "$ac_var='"'"'$ac_val'"'"'"
1320 if test -s confdefs.h
; then
1327 sed "/^$/d" confdefs.h
| sort
1330 test "$ac_signal" != 0 &&
1331 echo "$as_me: caught signal $ac_signal"
1332 echo "$as_me: exit $exit_status"
1334 rm -f core core.
* *.core
&&
1335 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1338 for ac_signal in 1 2 13 15; do
1339 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1343 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1344 rm -rf conftest* confdefs.h
1345 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1348 # Predefined preprocessor variables.
1350 cat >>confdefs.h <<_ACEOF
1351 #define PACKAGE_NAME "$PACKAGE_NAME"
1355 cat >>confdefs.h <<_ACEOF
1356 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1360 cat >>confdefs.h <<_ACEOF
1361 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1365 cat >>confdefs.h <<_ACEOF
1366 #define PACKAGE_STRING "$PACKAGE_STRING"
1370 cat >>confdefs.h <<_ACEOF
1371 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1375 # Let the site file select an alternate cache file if it wants to.
1376 # Prefer explicitly selected file to automatically selected ones.
1377 if test -z "$CONFIG_SITE"; then
1378 if test "x$prefix" != xNONE; then
1379 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1381 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1384 for ac_site_file in $CONFIG_SITE; do
1385 if test -r "$ac_site_file"; then
1386 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1387 echo "$as_me: loading site script $ac_site_file" >&6;}
1388 sed 's
/^
/| /' "$ac_site_file" >&5
1393 if test -r "$cache_file"; then
1394 # Some versions of bash will fail to source /dev/null (special
1395 # files actually), so we avoid doing that.
1396 if test -f "$cache_file"; then
1397 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1398 echo "$as_me: loading cache $cache_file" >&6;}
1400 [\\/]* | ?:[\\/]* ) . $cache_file;;
1401 *) . ./$cache_file;;
1405 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1406 echo "$as_me: creating cache $cache_file" >&6;}
1410 # Check that the precious variables saved in the cache have kept the same
1412 ac_cache_corrupted=false
1413 for ac_var in `(set) 2>&1 |
1414 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1415 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1416 eval ac_new_set=\$ac_env_${ac_var}_set
1417 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1418 eval ac_new_val="\$ac_env_${ac_var}_value"
1419 case $ac_old_set,$ac_new_set in
1421 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1422 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1423 ac_cache_corrupted=: ;;
1425 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1426 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1427 ac_cache_corrupted=: ;;
1430 if test "x$ac_old_val" != "x$ac_new_val"; then
1431 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1432 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1433 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1434 echo "$as_me: former value: $ac_old_val" >&2;}
1435 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1436 echo "$as_me: current value: $ac_new_val" >&2;}
1437 ac_cache_corrupted=:
1440 # Pass precious variables to config.status.
1441 if test "$ac_new_set" = set; then
1443 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1444 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1445 *) ac_arg=$ac_var=$ac_new_val ;;
1447 case " $ac_configure_args " in
1448 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1449 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1453 if $ac_cache_corrupted; then
1454 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1455 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1456 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1457 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1458 { (exit 1); exit 1; }; }
1462 ac_cpp='$CPP $CPPFLAGS'
1463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1464 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1497 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1498 if test -f $ac_dir/install-sh; then
1500 ac_install_sh="$ac_aux_dir/install-sh -c"
1502 elif test -f $ac_dir/install.sh; then
1504 ac_install_sh="$ac_aux_dir/install.sh -c"
1506 elif test -f $ac_dir/shtool; then
1508 ac_install_sh="$ac_aux_dir/shtool install -c"
1512 if test -z "$ac_aux_dir"; then
1513 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1514 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1515 { (exit 1); exit 1; }; }
1517 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1518 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1519 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1521 # Make sure we can run config.sub.
1522 $ac_config_sub sun4 >/dev/null 2>&1 ||
1523 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1524 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1525 { (exit 1); exit 1; }; }
1527 echo "$as_me:$LINENO: checking build system type" >&5
1528 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1529 if test "${ac_cv_build+set}" = set; then
1530 echo $ECHO_N "(cached) $ECHO_C" >&6
1532 ac_cv_build_alias=$build_alias
1533 test -z "$ac_cv_build_alias" &&
1534 ac_cv_build_alias=`$ac_config_guess`
1535 test -z "$ac_cv_build_alias" &&
1536 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1537 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1538 { (exit 1); exit 1; }; }
1539 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1540 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1541 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1542 { (exit 1); exit 1; }; }
1545 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1546 echo "${ECHO_T}$ac_cv_build" >&6
1548 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1549 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1550 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1553 echo "$as_me:$LINENO: checking host system type" >&5
1554 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1555 if test "${ac_cv_host+set}" = set; then
1556 echo $ECHO_N "(cached) $ECHO_C" >&6
1558 ac_cv_host_alias=$host_alias
1559 test -z "$ac_cv_host_alias" &&
1560 ac_cv_host_alias=$ac_cv_build_alias
1561 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1562 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1563 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1564 { (exit 1); exit 1; }; }
1567 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1568 echo "${ECHO_T}$ac_cv_host" >&6
1570 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1571 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1572 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1575 echo "$as_me:$LINENO: checking target system type" >&5
1576 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1577 if test "${ac_cv_target+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 ac_cv_target_alias=$target_alias
1581 test "x$ac_cv_target_alias" = "x" &&
1582 ac_cv_target_alias=$ac_cv_host_alias
1583 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1584 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1585 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1586 { (exit 1); exit 1; }; }
1589 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1590 echo "${ECHO_T}$ac_cv_target" >&6
1591 target=$ac_cv_target
1592 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1593 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1594 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1597 # The aliases save the names the user supplied, while $host etc.
1598 # will get canonicalized.
1599 test -n "$target_alias" &&
1600 test "$program_prefix$program_suffix$program_transform_name" = \
1602 program_prefix=${target_alias}-
1606 WX_MAJOR_VERSION_NUMBER=2
1607 WX_MINOR_VERSION_NUMBER=5
1610 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1611 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1613 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1629 USE_BSD= USE_DARWIN= USE_FREEBSD=
1635 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1641 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1643 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1645 DEFAULT_wxUSE_COCOA=0
1649 DEFAULT_wxUSE_MICROWIN=0
1650 DEFAULT_wxUSE_MOTIF=0
1655 DEFAULT_DEFAULT_wxUSE_COCOA=0
1656 DEFAULT_DEFAULT_wxUSE_GTK=0
1657 DEFAULT_DEFAULT_wxUSE_MAC=0
1658 DEFAULT_DEFAULT_wxUSE_MGL=0
1659 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1660 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1661 DEFAULT_DEFAULT_wxUSE_MSW=0
1662 DEFAULT_DEFAULT_wxUSE_PM=0
1663 DEFAULT_DEFAULT_wxUSE_X11=0
1668 SAMPLES_RPATH_POSTLINK=
1673 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1674 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1676 cat >>confdefs.h <<\_ACEOF
1683 cat >>confdefs.h <<\_ACEOF
1688 if test "x$TMP" = "xalpha"; then
1690 cat >>confdefs.h <<\_ACEOF
1695 DEFAULT_DEFAULT_wxUSE_GTK=1
1699 cat >>confdefs.h <<\_ACEOF
1704 if test "x$TMP" = "xalpha"; then
1706 cat >>confdefs.h <<\_ACEOF
1711 DEFAULT_DEFAULT_wxUSE_GTK=1
1713 *-*-irix5* | *-*-irix6* )
1716 cat >>confdefs.h <<\_ACEOF
1720 cat >>confdefs.h <<\_ACEOF
1724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1730 cat >>confdefs.h <<\_ACEOF
1734 cat >>confdefs.h <<\_ACEOF
1735 #define __SOLARIS__ 1
1738 cat >>confdefs.h <<\_ACEOF
1742 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1743 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1749 cat >>confdefs.h <<\_ACEOF
1753 cat >>confdefs.h <<\_ACEOF
1757 cat >>confdefs.h <<\_ACEOF
1761 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1766 cat >>confdefs.h <<\_ACEOF
1767 #define __FREEBSD__ 1
1770 cat >>confdefs.h <<\_ACEOF
1774 DEFAULT_DEFAULT_wxUSE_GTK=1
1779 cat >>confdefs.h <<\_ACEOF
1780 #define __OPENBSD__ 1
1783 cat >>confdefs.h <<\_ACEOF
1787 DEFAULT_DEFAULT_wxUSE_GTK=1
1792 cat >>confdefs.h <<\_ACEOF
1793 #define __NETBSD__ 1
1796 cat >>confdefs.h <<\_ACEOF
1800 DEFAULT_DEFAULT_wxUSE_GTK=1
1805 cat >>confdefs.h <<\_ACEOF
1809 cat >>confdefs.h <<\_ACEOF
1813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1814 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1819 cat >>confdefs.h <<\_ACEOF
1823 cat >>confdefs.h <<\_ACEOF
1827 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1832 cat >>confdefs.h <<\_ACEOF
1836 cat >>confdefs.h <<\_ACEOF
1840 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1847 cat >>confdefs.h <<\_ACEOF
1851 cat >>confdefs.h <<\_ACEOF
1855 cat >>confdefs.h <<\_ACEOF
1859 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1866 cat >>confdefs.h <<\_ACEOF
1867 #define __UNIXWARE__ 1
1872 *-*-cygwin* | *-*-mingw32* )
1876 DEFAULT_DEFAULT_wxUSE_MSW=1
1882 cat >>confdefs.h <<\_ACEOF
1887 DEFAULT_DEFAULT_wxUSE_MGL=1
1888 LIBS="$LIBS -lstdc++"
1891 *-pc-os2_emx | *-pc-os2-emx )
1892 cat >>confdefs.h <<\_ACEOF
1897 cat >>confdefs.h <<\_ACEOF
1902 DEFAULT_DEFAULT_wxUSE_PM=1
1904 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1905 ac_executable_extensions=".exe"
1906 export ac_executable_extensions
1910 for ac_dir in $PATH; do
1912 if test -z "$ac_TEMP_PATH"; then
1913 ac_TEMP_PATH="$ac_dir"
1915 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1918 export PATH="$ac_TEMP_PATH"
1926 cat >>confdefs.h <<\_ACEOF
1930 cat >>confdefs.h <<\_ACEOF
1931 #define __DARWIN__ 1
1934 cat >>confdefs.h <<\_ACEOF
1935 #define __POWERPC__ 1
1938 cat >>confdefs.h <<\_ACEOF
1939 #define TARGET_CARBON 1
1942 DEFAULT_DEFAULT_wxUSE_MAC=1
1947 cat >>confdefs.h <<\_ACEOF
1954 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1955 echo "$as_me: error: unknown system type ${host}." >&2;}
1956 { (exit 1); exit 1; }; }
1962 wx_arg_cache_file="configarg.cache"
1963 echo "loading argument cache $wx_arg_cache_file"
1964 rm -f ${wx_arg_cache_file}.tmp
1965 touch ${wx_arg_cache_file}.tmp
1966 touch ${wx_arg_cache_file}
1970 if test $DEBUG_CONFIGURE = 1; then
1971 DEFAULT_wxUSE_UNIVERSAL=no
1972 DEFAULT_wxUSE_STL=no
1974 DEFAULT_wxUSE_NANOX=no
1976 DEFAULT_wxUSE_THREADS=yes
1978 DEFAULT_wxUSE_SHARED=yes
1979 DEFAULT_wxUSE_OPTIMISE=no
1980 DEFAULT_wxUSE_PROFILE=no
1981 DEFAULT_wxUSE_NO_DEPS=no
1982 DEFAULT_wxUSE_NO_RTTI=no
1983 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1984 DEFAULT_wxUSE_PERMISSIVE=no
1985 DEFAULT_wxUSE_DEBUG_FLAG=yes
1986 DEFAULT_wxUSE_DEBUG_INFO=yes
1987 DEFAULT_wxUSE_DEBUG_GDB=yes
1988 DEFAULT_wxUSE_MEM_TRACING=no
1989 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1990 DEFAULT_wxUSE_DMALLOC=no
1991 DEFAULT_wxUSE_APPLE_IEEE=no
1993 DEFAULT_wxUSE_EXCEPTIONS=no
1994 DEFAULT_wxUSE_LOG=yes
1995 DEFAULT_wxUSE_LOGWINDOW=no
1996 DEFAULT_wxUSE_LOGGUI=no
1997 DEFAULT_wxUSE_LOGDIALOG=no
1999 DEFAULT_wxUSE_GUI=yes
2000 DEFAULT_wxUSE_CONTROLS=no
2002 DEFAULT_wxUSE_REGEX=no
2003 DEFAULT_wxUSE_XML=no
2004 DEFAULT_wxUSE_EXPAT=no
2005 DEFAULT_wxUSE_ZLIB=no
2006 DEFAULT_wxUSE_LIBPNG=no
2007 DEFAULT_wxUSE_LIBJPEG=no
2008 DEFAULT_wxUSE_LIBTIFF=no
2009 DEFAULT_wxUSE_LIBXPM=no
2010 DEFAULT_wxUSE_ODBC=no
2011 DEFAULT_wxUSE_OPENGL=no
2013 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2014 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2015 DEFAULT_wxUSE_STD_IOSTREAM=no
2016 DEFAULT_wxUSE_CMDLINE_PARSER=no
2017 DEFAULT_wxUSE_DATETIME=no
2018 DEFAULT_wxUSE_TIMER=no
2019 DEFAULT_wxUSE_STOPWATCH=no
2020 DEFAULT_wxUSE_FILE=no
2021 DEFAULT_wxUSE_FFILE=no
2022 DEFAULT_wxUSE_TEXTBUFFER=no
2023 DEFAULT_wxUSE_TEXTFILE=no
2024 DEFAULT_wxUSE_WAVE=no
2025 DEFAULT_wxUSE_INTL=no
2026 DEFAULT_wxUSE_CONFIG=no
2027 DEFAULT_wxUSE_FONTMAP=no
2028 DEFAULT_wxUSE_STREAMS=no
2029 DEFAULT_wxUSE_SOCKETS=no
2030 DEFAULT_wxUSE_OLE=no
2031 DEFAULT_wxUSE_DATAOBJ=no
2032 DEFAULT_wxUSE_DIALUP_MANAGER=no
2033 DEFAULT_wxUSE_JOYSTICK=no
2034 DEFAULT_wxUSE_DYNLIB_CLASS=no
2035 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2036 DEFAULT_wxUSE_LONGLONG=no
2037 DEFAULT_wxUSE_GEOMETRY=no
2039 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2040 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2041 DEFAULT_wxUSE_POSTSCRIPT=no
2043 DEFAULT_wxUSE_CLIPBOARD=no
2044 DEFAULT_wxUSE_TOOLTIPS=no
2045 DEFAULT_wxUSE_DRAG_AND_DROP=no
2046 DEFAULT_wxUSE_DRAGIMAGE=no
2047 DEFAULT_wxUSE_SPLINES=no
2049 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2050 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2051 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2053 DEFAULT_wxUSE_RESOURCES=no
2054 DEFAULT_wxUSE_CONSTRAINTS=no
2055 DEFAULT_wxUSE_IPC=no
2056 DEFAULT_wxUSE_HELP=no
2057 DEFAULT_wxUSE_MS_HTML_HELP=no
2058 DEFAULT_wxUSE_WXHTML_HELP=no
2059 DEFAULT_wxUSE_TREELAYOUT=no
2060 DEFAULT_wxUSE_METAFILE=no
2061 DEFAULT_wxUSE_MIMETYPE=no
2062 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2063 DEFAULT_wxUSE_PROTOCOL=no
2064 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2065 DEFAULT_wxUSE_PROTOCOL_FTP=no
2066 DEFAULT_wxUSE_PROTOCOL_FILE=no
2067 DEFAULT_wxUSE_URL=no
2069 DEFAULT_wxUSE_COMMONDLGS=no
2070 DEFAULT_wxUSE_CHOICEDLG=no
2071 DEFAULT_wxUSE_COLOURDLG=no
2072 DEFAULT_wxUSE_DIRDLG=no
2073 DEFAULT_wxUSE_FILEDLG=no
2074 DEFAULT_wxUSE_FINDREPLDLG=no
2075 DEFAULT_wxUSE_FONTDLG=no
2076 DEFAULT_wxUSE_MSGDLG=no
2077 DEFAULT_wxUSE_NUMBERDLG=no
2078 DEFAULT_wxUSE_TEXTDLG=no
2079 DEFAULT_wxUSE_SPLASH=no
2080 DEFAULT_wxUSE_STARTUP_TIPS=no
2081 DEFAULT_wxUSE_PROGRESSDLG=no
2082 DEFAULT_wxUSE_WIZARDDLG=no
2084 DEFAULT_wxUSE_MENUS=no
2085 DEFAULT_wxUSE_MINIFRAME=no
2086 DEFAULT_wxUSE_HTML=no
2087 DEFAULT_wxUSE_FILESYSTEM=no
2088 DEFAULT_wxUSE_FS_INET=no
2089 DEFAULT_wxUSE_FS_ZIP=no
2090 DEFAULT_wxUSE_BUSYINFO=no
2091 DEFAULT_wxUSE_ZIPSTREAM=no
2092 DEFAULT_wxUSE_GZSTREAM=no
2093 DEFAULT_wxUSE_VALIDATORS=no
2095 DEFAULT_wxUSE_ACCEL=no
2096 DEFAULT_wxUSE_BUTTON=no
2097 DEFAULT_wxUSE_BMPBUTTON=no
2098 DEFAULT_wxUSE_CALCTRL=no
2099 DEFAULT_wxUSE_CARET=no
2100 DEFAULT_wxUSE_CHECKBOX=no
2101 DEFAULT_wxUSE_CHECKLST=no
2102 DEFAULT_wxUSE_CHOICE=no
2103 DEFAULT_wxUSE_COMBOBOX=no
2104 DEFAULT_wxUSE_DISPLAY=no
2105 DEFAULT_wxUSE_GAUGE=no
2106 DEFAULT_wxUSE_GRID=no
2107 DEFAULT_wxUSE_IMAGLIST=no
2108 DEFAULT_wxUSE_LISTBOOK=no
2109 DEFAULT_wxUSE_LISTBOX=no
2110 DEFAULT_wxUSE_LISTCTRL=no
2111 DEFAULT_wxUSE_NOTEBOOK=no
2112 DEFAULT_wxUSE_RADIOBOX=no
2113 DEFAULT_wxUSE_RADIOBTN=no
2114 DEFAULT_wxUSE_SASH=no
2115 DEFAULT_wxUSE_SCROLLBAR=no
2116 DEFAULT_wxUSE_SLIDER=no
2117 DEFAULT_wxUSE_SPINBTN=no
2118 DEFAULT_wxUSE_SPINCTRL=no
2119 DEFAULT_wxUSE_SPLITTER=no
2120 DEFAULT_wxUSE_STATBMP=no
2121 DEFAULT_wxUSE_STATBOX=no
2122 DEFAULT_wxUSE_STATLINE=no
2123 DEFAULT_wxUSE_STATTEXT=no
2124 DEFAULT_wxUSE_STATUSBAR=yes
2125 DEFAULT_wxUSE_TABDIALOG=no
2126 DEFAULT_wxUSE_TEXTCTRL=no
2127 DEFAULT_wxUSE_TOGGLEBTN=no
2128 DEFAULT_wxUSE_TOOLBAR=no
2129 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2130 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2131 DEFAULT_wxUSE_TREECTRL=no
2132 DEFAULT_wxUSE_POPUPWIN=no
2133 DEFAULT_wxUSE_TIPWINDOW=no
2135 DEFAULT_wxUSE_UNICODE=no
2136 DEFAULT_wxUSE_UNICODE_MSLU=no
2137 DEFAULT_wxUSE_WCSRTOMBS=no
2139 DEFAULT_wxUSE_PALETTE=no
2140 DEFAULT_wxUSE_IMAGE=no
2141 DEFAULT_wxUSE_GIF=no
2142 DEFAULT_wxUSE_PCX=no
2143 DEFAULT_wxUSE_PNM=no
2144 DEFAULT_wxUSE_IFF=no
2145 DEFAULT_wxUSE_XPM=no
2146 DEFAULT_wxUSE_ICO_CUR=no
2147 DEFAULT_wxUSE_ACCESSIBILITY=no
2149 DEFAULT_wxUSE_MONOLITHIC=no
2150 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2152 DEFAULT_wxUSE_UNIVERSAL=no
2153 DEFAULT_wxUSE_STL=no
2155 DEFAULT_wxUSE_NANOX=no
2157 DEFAULT_wxUSE_THREADS=yes
2159 DEFAULT_wxUSE_SHARED=yes
2160 DEFAULT_wxUSE_OPTIMISE=yes
2161 DEFAULT_wxUSE_PROFILE=no
2162 DEFAULT_wxUSE_NO_DEPS=no
2163 DEFAULT_wxUSE_NO_RTTI=no
2164 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2165 DEFAULT_wxUSE_PERMISSIVE=no
2166 DEFAULT_wxUSE_DEBUG_FLAG=no
2167 DEFAULT_wxUSE_DEBUG_INFO=no
2168 DEFAULT_wxUSE_DEBUG_GDB=no
2169 DEFAULT_wxUSE_MEM_TRACING=no
2170 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2171 DEFAULT_wxUSE_DMALLOC=no
2172 DEFAULT_wxUSE_APPLE_IEEE=yes
2174 DEFAULT_wxUSE_EXCEPTIONS=yes
2175 DEFAULT_wxUSE_LOG=yes
2176 DEFAULT_wxUSE_LOGWINDOW=yes
2177 DEFAULT_wxUSE_LOGGUI=yes
2178 DEFAULT_wxUSE_LOGDIALOG=yes
2180 DEFAULT_wxUSE_GUI=yes
2182 DEFAULT_wxUSE_REGEX=sys
2183 DEFAULT_wxUSE_XML=yes
2184 DEFAULT_wxUSE_EXPAT=sys
2185 DEFAULT_wxUSE_ZLIB=sys
2186 DEFAULT_wxUSE_LIBPNG=sys
2187 DEFAULT_wxUSE_LIBJPEG=sys
2188 DEFAULT_wxUSE_LIBTIFF=sys
2189 DEFAULT_wxUSE_LIBXPM=sys
2190 DEFAULT_wxUSE_LIBMSPACK=yes
2191 DEFAULT_wxUSE_ODBC=no
2192 DEFAULT_wxUSE_OPENGL=no
2194 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2195 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2196 DEFAULT_wxUSE_STD_IOSTREAM=no
2197 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2198 DEFAULT_wxUSE_DATETIME=yes
2199 DEFAULT_wxUSE_TIMER=yes
2200 DEFAULT_wxUSE_STOPWATCH=yes
2201 DEFAULT_wxUSE_FILE=yes
2202 DEFAULT_wxUSE_FFILE=yes
2203 DEFAULT_wxUSE_TEXTBUFFER=yes
2204 DEFAULT_wxUSE_TEXTFILE=yes
2205 DEFAULT_wxUSE_WAVE=no
2206 DEFAULT_wxUSE_INTL=yes
2207 DEFAULT_wxUSE_CONFIG=yes
2208 DEFAULT_wxUSE_FONTMAP=yes
2209 DEFAULT_wxUSE_STREAMS=yes
2210 DEFAULT_wxUSE_SOCKETS=yes
2211 DEFAULT_wxUSE_OLE=yes
2212 DEFAULT_wxUSE_DATAOBJ=yes
2213 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2214 DEFAULT_wxUSE_JOYSTICK=yes
2215 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2216 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2217 DEFAULT_wxUSE_LONGLONG=yes
2218 DEFAULT_wxUSE_GEOMETRY=yes
2220 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2221 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2222 DEFAULT_wxUSE_POSTSCRIPT=yes
2224 DEFAULT_wxUSE_CLIPBOARD=yes
2225 DEFAULT_wxUSE_TOOLTIPS=yes
2226 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2227 DEFAULT_wxUSE_DRAGIMAGE=yes
2228 DEFAULT_wxUSE_SPLINES=yes
2230 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2231 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2232 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2234 DEFAULT_wxUSE_RESOURCES=no
2235 DEFAULT_wxUSE_CONSTRAINTS=yes
2236 DEFAULT_wxUSE_IPC=yes
2237 DEFAULT_wxUSE_HELP=yes
2238 DEFAULT_wxUSE_MS_HTML_HELP=yes
2239 DEFAULT_wxUSE_WXHTML_HELP=yes
2240 DEFAULT_wxUSE_TREELAYOUT=yes
2241 DEFAULT_wxUSE_METAFILE=yes
2242 DEFAULT_wxUSE_MIMETYPE=yes
2243 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2244 DEFAULT_wxUSE_PROTOCOL=yes
2245 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2246 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2247 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2248 DEFAULT_wxUSE_URL=yes
2250 DEFAULT_wxUSE_COMMONDLGS=yes
2251 DEFAULT_wxUSE_CHOICEDLG=yes
2252 DEFAULT_wxUSE_COLOURDLG=yes
2253 DEFAULT_wxUSE_DIRDLG=yes
2254 DEFAULT_wxUSE_FILEDLG=yes
2255 DEFAULT_wxUSE_FINDREPLDLG=yes
2256 DEFAULT_wxUSE_FONTDLG=yes
2257 DEFAULT_wxUSE_MSGDLG=yes
2258 DEFAULT_wxUSE_NUMBERDLG=yes
2259 DEFAULT_wxUSE_TEXTDLG=yes
2260 DEFAULT_wxUSE_SPLASH=yes
2261 DEFAULT_wxUSE_STARTUP_TIPS=yes
2262 DEFAULT_wxUSE_PROGRESSDLG=yes
2263 DEFAULT_wxUSE_WIZARDDLG=yes
2265 DEFAULT_wxUSE_MENUS=yes
2266 DEFAULT_wxUSE_MINIFRAME=yes
2267 DEFAULT_wxUSE_HTML=yes
2268 DEFAULT_wxUSE_FILESYSTEM=yes
2269 DEFAULT_wxUSE_FS_INET=yes
2270 DEFAULT_wxUSE_FS_ZIP=yes
2271 DEFAULT_wxUSE_BUSYINFO=yes
2272 DEFAULT_wxUSE_ZIPSTREAM=yes
2273 DEFAULT_wxUSE_GZSTREAM=yes
2274 DEFAULT_wxUSE_VALIDATORS=yes
2276 DEFAULT_wxUSE_ACCEL=yes
2277 DEFAULT_wxUSE_BUTTON=yes
2278 DEFAULT_wxUSE_BMPBUTTON=yes
2279 DEFAULT_wxUSE_CALCTRL=yes
2280 DEFAULT_wxUSE_CARET=yes
2281 DEFAULT_wxUSE_CHECKBOX=yes
2282 DEFAULT_wxUSE_CHECKLST=yes
2283 DEFAULT_wxUSE_CHOICE=yes
2284 DEFAULT_wxUSE_COMBOBOX=yes
2285 DEFAULT_wxUSE_DISPLAY=no
2286 DEFAULT_wxUSE_GAUGE=yes
2287 DEFAULT_wxUSE_GRID=yes
2288 DEFAULT_wxUSE_IMAGLIST=yes
2289 DEFAULT_wxUSE_LISTBOOK=yes
2290 DEFAULT_wxUSE_LISTBOX=yes
2291 DEFAULT_wxUSE_LISTCTRL=yes
2292 DEFAULT_wxUSE_NOTEBOOK=yes
2293 DEFAULT_wxUSE_RADIOBOX=yes
2294 DEFAULT_wxUSE_RADIOBTN=yes
2295 DEFAULT_wxUSE_SASH=yes
2296 DEFAULT_wxUSE_SCROLLBAR=yes
2297 DEFAULT_wxUSE_SLIDER=yes
2298 DEFAULT_wxUSE_SPINBTN=yes
2299 DEFAULT_wxUSE_SPINCTRL=yes
2300 DEFAULT_wxUSE_SPLITTER=yes
2301 DEFAULT_wxUSE_STATBMP=yes
2302 DEFAULT_wxUSE_STATBOX=yes
2303 DEFAULT_wxUSE_STATLINE=yes
2304 DEFAULT_wxUSE_STATTEXT=yes
2305 DEFAULT_wxUSE_STATUSBAR=yes
2306 DEFAULT_wxUSE_TABDIALOG=no
2307 DEFAULT_wxUSE_TEXTCTRL=yes
2308 DEFAULT_wxUSE_TOGGLEBTN=yes
2309 DEFAULT_wxUSE_TOOLBAR=yes
2310 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2311 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2312 DEFAULT_wxUSE_TREECTRL=yes
2313 DEFAULT_wxUSE_POPUPWIN=yes
2314 DEFAULT_wxUSE_TIPWINDOW=yes
2316 DEFAULT_wxUSE_UNICODE=no
2317 DEFAULT_wxUSE_UNICODE_MSLU=yes
2318 DEFAULT_wxUSE_WCSRTOMBS=no
2320 DEFAULT_wxUSE_PALETTE=yes
2321 DEFAULT_wxUSE_IMAGE=yes
2322 DEFAULT_wxUSE_GIF=yes
2323 DEFAULT_wxUSE_PCX=yes
2324 DEFAULT_wxUSE_IFF=no
2325 DEFAULT_wxUSE_PNM=yes
2326 DEFAULT_wxUSE_XPM=yes
2327 DEFAULT_wxUSE_ICO_CUR=yes
2328 DEFAULT_wxUSE_ACCESSIBILITY=no
2330 DEFAULT_wxUSE_MONOLITHIC=no
2331 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2336 for toolkit in `echo $ALL_TOOLKITS`; do
2337 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2338 if test "x$LINE" != "x" ; then
2339 has_toolkit_in_cache=1
2340 eval "DEFAULT_$LINE"
2341 eval "CACHE_$toolkit=1"
2348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2349 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2351 # Check whether --enable-gui or --disable-gui was given.
2352 if test "${enable_gui+set}" = set; then
2353 enableval="$enable_gui"
2355 if test "$enableval" = yes; then
2356 ac_cv_use_gui='wxUSE_GUI
=yes'
2358 ac_cv_use_gui='wxUSE_GUI
=no
'
2363 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2364 if test "x$LINE" != x ; then
2365 eval "DEFAULT_$LINE"
2370 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2374 eval "$ac_cv_use_gui"
2375 if test "$no_cache" != 1; then
2376 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2379 if test "$wxUSE_GUI" = yes; then
2380 echo "$as_me:$LINENO: result: yes" >&5
2381 echo "${ECHO_T}yes" >&6
2383 echo "$as_me:$LINENO: result: no" >&5
2384 echo "${ECHO_T}no" >&6
2389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2390 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2392 # Check whether --enable-monolithic or --disable-monolithic was given.
2393 if test "${enable_monolithic+set}" = set; then
2394 enableval="$enable_monolithic"
2396 if test "$enableval" = yes; then
2397 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2399 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2404 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2405 if test "x$LINE" != x ; then
2406 eval "DEFAULT_$LINE"
2411 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2415 eval "$ac_cv_use_monolithic"
2416 if test "$no_cache" != 1; then
2417 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2420 if test "$wxUSE_MONOLITHIC" = yes; then
2421 echo "$as_me:$LINENO: result: yes" >&5
2422 echo "${ECHO_T}yes" >&6
2424 echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6
2429 if test "$wxUSE_GUI" = "yes"; then
2433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2434 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2436 # Check whether --enable-universal or --disable-universal was given.
2437 if test "${enable_universal+set}" = set; then
2438 enableval="$enable_universal"
2440 if test "$enableval" = yes; then
2441 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2443 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2448 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2449 if test "x$LINE" != x ; then
2450 eval "DEFAULT_$LINE"
2455 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2459 eval "$ac_cv_use_universal"
2460 if test "$no_cache" != 1; then
2461 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2464 if test "$wxUSE_UNIVERSAL" = yes; then
2465 echo "$as_me:$LINENO: result: yes" >&5
2466 echo "${ECHO_T}yes" >&6
2468 echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2473 # Check whether --with-gtk or --without-gtk was given.
2474 if test "${with_gtk+set}" = set; then
2476 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2479 # Check whether --with-motif or --without-motif was given.
2480 if test "${with_motif+set}" = set; then
2481 withval="$with_motif"
2482 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2485 # Check whether --with-mac or --without-mac was given.
2486 if test "${with_mac+set}" = set; then
2488 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2491 # Check whether --with-cocoa or --without-cocoa was given.
2492 if test "${with_cocoa+set}" = set; then
2493 withval="$with_cocoa"
2494 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2497 # Check whether --with-wine or --without-wine was given.
2498 if test "${with_wine+set}" = set; then
2499 withval="$with_wine"
2500 wxUSE_WINE="$withval" CACHE_WINE=1
2503 # Check whether --with-msw or --without-msw was given.
2504 if test "${with_msw+set}" = set; then
2506 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2509 # Check whether --with-pm or --without-pm was given.
2510 if test "${with_pm+set}" = set; then
2512 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2515 # Check whether --with-mgl or --without-mgl was given.
2516 if test "${with_mgl+set}" = set; then
2518 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2521 # Check whether --with-microwin or --without-microwin was given.
2522 if test "${with_microwin+set}" = set; then
2523 withval="$with_microwin"
2524 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2527 # Check whether --with-x11 or --without-x11 was given.
2528 if test "${with_x11+set}" = set; then
2530 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2535 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2537 # Check whether --enable-nanox or --disable-nanox was given.
2538 if test "${enable_nanox+set}" = set; then
2539 enableval="$enable_nanox"
2541 if test "$enableval" = yes; then
2542 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2544 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2549 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2550 if test "x$LINE" != x ; then
2551 eval "DEFAULT_$LINE"
2556 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2560 eval "$ac_cv_use_nanox"
2561 if test "$no_cache" != 1; then
2562 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2565 if test "$wxUSE_NANOX" = yes; then
2566 echo "$as_me:$LINENO: result: yes" >&5
2567 echo "${ECHO_T}yes" >&6
2569 echo "$as_me:$LINENO: result: no" >&5
2570 echo "${ECHO_T}no" >&6
2576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2577 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2579 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2580 if test "${enable_gtk2+set}" = set; then
2581 enableval="$enable_gtk2"
2583 if test "$enableval" = yes; then
2584 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2586 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2591 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2592 if test "x$LINE" != x ; then
2593 eval "DEFAULT_$LINE"
2598 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2602 eval "$ac_cv_use_gtk2"
2603 if test "$no_cache" != 1; then
2604 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2607 if test "$wxUSE_GTK2" = yes; then
2608 echo "$as_me:$LINENO: result: yes" >&5
2609 echo "${ECHO_T}yes" >&6
2611 echo "$as_me:$LINENO: result: no" >&5
2612 echo "${ECHO_T}no" >&6
2617 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2618 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2621 # Check whether --with-libpng or --without-libpng was given.
2622 if test "${with_libpng+set}" = set; then
2623 withval="$with_libpng"
2625 if test "$withval" = yes; then
2626 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2627 elif test "$withval" = no; then
2628 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2629 elif test "$withval" = sys; then
2630 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2631 elif test "$withval" = builtin; then
2632 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2634 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2635 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2636 { (exit 1); exit 1; }; }
2641 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2642 if test "x$LINE" != x ; then
2643 eval "DEFAULT_$LINE"
2648 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2652 eval "$ac_cv_use_libpng"
2653 if test "$no_cache" != 1; then
2654 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2657 if test "$wxUSE_LIBPNG" = yes; then
2658 echo "$as_me:$LINENO: result: yes" >&5
2659 echo "${ECHO_T}yes" >&6
2660 elif test "$wxUSE_LIBPNG" = no; then
2661 echo "$as_me:$LINENO: result: no" >&5
2662 echo "${ECHO_T}no" >&6
2663 elif test "$wxUSE_LIBPNG" = sys; then
2664 echo "$as_me:$LINENO: result: system version" >&5
2665 echo "${ECHO_T}system version" >&6
2666 elif test "$wxUSE_LIBPNG" = builtin; then
2667 echo "$as_me:$LINENO: result: builtin version" >&5
2668 echo "${ECHO_T}builtin version" >&6
2670 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2671 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2672 { (exit 1); exit 1; }; }
2676 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2677 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2680 # Check whether --with-libjpeg or --without-libjpeg was given.
2681 if test "${with_libjpeg+set}" = set; then
2682 withval="$with_libjpeg"
2684 if test "$withval" = yes; then
2685 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2686 elif test "$withval" = no; then
2687 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2688 elif test "$withval" = sys; then
2689 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2690 elif test "$withval" = builtin; then
2691 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2694 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2695 { (exit 1); exit 1; }; }
2700 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2701 if test "x$LINE" != x ; then
2702 eval "DEFAULT_$LINE"
2707 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2711 eval "$ac_cv_use_libjpeg"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2716 if test "$wxUSE_LIBJPEG" = yes; then
2717 echo "$as_me:$LINENO: result: yes" >&5
2718 echo "${ECHO_T}yes" >&6
2719 elif test "$wxUSE_LIBJPEG" = no; then
2720 echo "$as_me:$LINENO: result: no" >&5
2721 echo "${ECHO_T}no" >&6
2722 elif test "$wxUSE_LIBJPEG" = sys; then
2723 echo "$as_me:$LINENO: result: system version" >&5
2724 echo "${ECHO_T}system version" >&6
2725 elif test "$wxUSE_LIBJPEG" = builtin; then
2726 echo "$as_me:$LINENO: result: builtin version" >&5
2727 echo "${ECHO_T}builtin version" >&6
2729 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2730 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2731 { (exit 1); exit 1; }; }
2735 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2736 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2739 # Check whether --with-libtiff or --without-libtiff was given.
2740 if test "${with_libtiff+set}" = set; then
2741 withval="$with_libtiff"
2743 if test "$withval" = yes; then
2744 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2745 elif test "$withval" = no; then
2746 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2747 elif test "$withval" = sys; then
2748 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2749 elif test "$withval" = builtin; then
2750 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2752 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2753 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2754 { (exit 1); exit 1; }; }
2759 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x ; then
2761 eval "DEFAULT_$LINE"
2766 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2770 eval "$ac_cv_use_libtiff"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2775 if test "$wxUSE_LIBTIFF" = yes; then
2776 echo "$as_me:$LINENO: result: yes" >&5
2777 echo "${ECHO_T}yes" >&6
2778 elif test "$wxUSE_LIBTIFF" = no; then
2779 echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6
2781 elif test "$wxUSE_LIBTIFF" = sys; then
2782 echo "$as_me:$LINENO: result: system version" >&5
2783 echo "${ECHO_T}system version" >&6
2784 elif test "$wxUSE_LIBTIFF" = builtin; then
2785 echo "$as_me:$LINENO: result: builtin version" >&5
2786 echo "${ECHO_T}builtin version" >&6
2788 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2789 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2790 { (exit 1); exit 1; }; }
2794 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2795 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2798 # Check whether --with-libxpm or --without-libxpm was given.
2799 if test "${with_libxpm+set}" = set; then
2800 withval="$with_libxpm"
2802 if test "$withval" = yes; then
2803 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
2804 elif test "$withval" = no; then
2805 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
2806 elif test "$withval" = sys; then
2807 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
2808 elif test "$withval" = builtin; then
2809 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
2811 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2812 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2813 { (exit 1); exit 1; }; }
2818 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2819 if test "x$LINE" != x ; then
2820 eval "DEFAULT_$LINE"
2825 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
2829 eval "$ac_cv_use_libxpm"
2830 if test "$no_cache" != 1; then
2831 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2834 if test "$wxUSE_LIBXPM" = yes; then
2835 echo "$as_me:$LINENO: result: yes" >&5
2836 echo "${ECHO_T}yes" >&6
2837 elif test "$wxUSE_LIBXPM" = no; then
2838 echo "$as_me:$LINENO: result: no" >&5
2839 echo "${ECHO_T}no" >&6
2840 elif test "$wxUSE_LIBXPM" = sys; then
2841 echo "$as_me:$LINENO: result: system version" >&5
2842 echo "${ECHO_T}system version" >&6
2843 elif test "$wxUSE_LIBXPM" = builtin; then
2844 echo "$as_me:$LINENO: result: builtin version" >&5
2845 echo "${ECHO_T}builtin version" >&6
2847 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2848 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2849 { (exit 1); exit 1; }; }
2853 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2854 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2857 # Check whether --with-libmspack or --without-libmspack was given.
2858 if test "${with_libmspack+set}" = set; then
2859 withval="$with_libmspack"
2861 if test "$withval" = yes; then
2862 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
2864 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
2869 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2870 if test "x$LINE" != x ; then
2871 eval "DEFAULT_$LINE"
2876 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
2880 eval "$ac_cv_use_libmspack"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2885 if test "$wxUSE_LIBMSPACK" = yes; then
2886 echo "$as_me:$LINENO: result: yes" >&5
2887 echo "${ECHO_T}yes" >&6
2889 echo "$as_me:$LINENO: result: no" >&5
2890 echo "${ECHO_T}no" >&6
2894 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2895 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2898 # Check whether --with-opengl or --without-opengl was given.
2899 if test "${with_opengl+set}" = set; then
2900 withval="$with_opengl"
2902 if test "$withval" = yes; then
2903 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2905 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2910 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2911 if test "x$LINE" != x ; then
2912 eval "DEFAULT_$LINE"
2917 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2921 eval "$ac_cv_use_opengl"
2922 if test "$no_cache" != 1; then
2923 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2926 if test "$wxUSE_OPENGL" = yes; then
2927 echo "$as_me:$LINENO: result: yes" >&5
2928 echo "${ECHO_T}yes" >&6
2930 echo "$as_me:$LINENO: result: no" >&5
2931 echo "${ECHO_T}no" >&6
2938 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2939 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2942 # Check whether --with-dmalloc or --without-dmalloc was given.
2943 if test "${with_dmalloc+set}" = set; then
2944 withval="$with_dmalloc"
2946 if test "$withval" = yes; then
2947 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2949 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2954 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2955 if test "x$LINE" != x ; then
2956 eval "DEFAULT_$LINE"
2961 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2965 eval "$ac_cv_use_dmalloc"
2966 if test "$no_cache" != 1; then
2967 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2970 if test "$wxUSE_DMALLOC" = yes; then
2971 echo "$as_me:$LINENO: result: yes" >&5
2972 echo "${ECHO_T}yes" >&6
2974 echo "$as_me:$LINENO: result: no" >&5
2975 echo "${ECHO_T}no" >&6
2979 echo "$as_me:$LINENO: checking for --with-regex" >&5
2980 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2983 # Check whether --with-regex or --without-regex was given.
2984 if test "${with_regex+set}" = set; then
2985 withval="$with_regex"
2987 if test "$withval" = yes; then
2988 ac_cv_use_regex='wxUSE_REGEX
=yes'
2989 elif test "$withval" = no; then
2990 ac_cv_use_regex='wxUSE_REGEX
=no
'
2991 elif test "$withval" = sys; then
2992 ac_cv_use_regex='wxUSE_REGEX
=sys
'
2993 elif test "$withval" = builtin; then
2994 ac_cv_use_regex='wxUSE_REGEX
=builtin'
2996 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2997 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2998 { (exit 1); exit 1; }; }
3003 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3004 if test "x$LINE" != x ; then
3005 eval "DEFAULT_$LINE"
3010 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3014 eval "$ac_cv_use_regex"
3015 if test "$no_cache" != 1; then
3016 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3019 if test "$wxUSE_REGEX" = yes; then
3020 echo "$as_me:$LINENO: result: yes" >&5
3021 echo "${ECHO_T}yes" >&6
3022 elif test "$wxUSE_REGEX" = no; then
3023 echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6
3025 elif test "$wxUSE_REGEX" = sys; then
3026 echo "$as_me:$LINENO: result: system version" >&5
3027 echo "${ECHO_T}system version" >&6
3028 elif test "$wxUSE_REGEX" = builtin; then
3029 echo "$as_me:$LINENO: result: builtin version" >&5
3030 echo "${ECHO_T}builtin version" >&6
3032 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3033 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3034 { (exit 1); exit 1; }; }
3038 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3039 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3042 # Check whether --with-zlib or --without-zlib was given.
3043 if test "${with_zlib+set}" = set; then
3044 withval="$with_zlib"
3046 if test "$withval" = yes; then
3047 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3048 elif test "$withval" = no; then
3049 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3050 elif test "$withval" = sys; then
3051 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3052 elif test "$withval" = builtin; then
3053 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3055 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3056 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3057 { (exit 1); exit 1; }; }
3062 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3063 if test "x$LINE" != x ; then
3064 eval "DEFAULT_$LINE"
3069 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3073 eval "$ac_cv_use_zlib"
3074 if test "$no_cache" != 1; then
3075 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3078 if test "$wxUSE_ZLIB" = yes; then
3079 echo "$as_me:$LINENO: result: yes" >&5
3080 echo "${ECHO_T}yes" >&6
3081 elif test "$wxUSE_ZLIB" = no; then
3082 echo "$as_me:$LINENO: result: no" >&5
3083 echo "${ECHO_T}no" >&6
3084 elif test "$wxUSE_ZLIB" = sys; then
3085 echo "$as_me:$LINENO: result: system version" >&5
3086 echo "${ECHO_T}system version" >&6
3087 elif test "$wxUSE_ZLIB" = builtin; then
3088 echo "$as_me:$LINENO: result: builtin version" >&5
3089 echo "${ECHO_T}builtin version" >&6
3091 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3092 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3093 { (exit 1); exit 1; }; }
3097 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3098 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3101 # Check whether --with-odbc or --without-odbc was given.
3102 if test "${with_odbc+set}" = set; then
3103 withval="$with_odbc"
3105 if test "$withval" = yes; then
3106 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3107 elif test "$withval" = no; then
3108 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3109 elif test "$withval" = sys; then
3110 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3111 elif test "$withval" = builtin; then
3112 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3114 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3115 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3116 { (exit 1); exit 1; }; }
3121 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3122 if test "x$LINE" != x ; then
3123 eval "DEFAULT_$LINE"
3128 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3132 eval "$ac_cv_use_odbc"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3137 if test "$wxUSE_ODBC" = yes; then
3138 echo "$as_me:$LINENO: result: yes" >&5
3139 echo "${ECHO_T}yes" >&6
3140 elif test "$wxUSE_ODBC" = no; then
3141 echo "$as_me:$LINENO: result: no" >&5
3142 echo "${ECHO_T}no" >&6
3143 elif test "$wxUSE_ODBC" = sys; then
3144 echo "$as_me:$LINENO: result: system version" >&5
3145 echo "${ECHO_T}system version" >&6
3146 elif test "$wxUSE_ODBC" = builtin; then
3147 echo "$as_me:$LINENO: result: builtin version" >&5
3148 echo "${ECHO_T}builtin version" >&6
3150 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3151 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3152 { (exit 1); exit 1; }; }
3156 echo "$as_me:$LINENO: checking for --with-expat" >&5
3157 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3160 # Check whether --with-expat or --without-expat was given.
3161 if test "${with_expat+set}" = set; then
3162 withval="$with_expat"
3164 if test "$withval" = yes; then
3165 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3166 elif test "$withval" = no; then
3167 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3168 elif test "$withval" = sys; then
3169 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3170 elif test "$withval" = builtin; then
3171 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3173 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3174 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3175 { (exit 1); exit 1; }; }
3180 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x ; then
3182 eval "DEFAULT_$LINE"
3187 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3191 eval "$ac_cv_use_expat"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3196 if test "$wxUSE_EXPAT" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198 echo "${ECHO_T}yes" >&6
3199 elif test "$wxUSE_EXPAT" = no; then
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3202 elif test "$wxUSE_EXPAT" = sys; then
3203 echo "$as_me:$LINENO: result: system version" >&5
3204 echo "${ECHO_T}system version" >&6
3205 elif test "$wxUSE_EXPAT" = builtin; then
3206 echo "$as_me:$LINENO: result: builtin version" >&5
3207 echo "${ECHO_T}builtin version" >&6
3209 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3210 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3211 { (exit 1); exit 1; }; }
3218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3219 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3221 # Check whether --enable-shared or --disable-shared was given.
3222 if test "${enable_shared+set}" = set; then
3223 enableval="$enable_shared"
3225 if test "$enableval" = yes; then
3226 ac_cv_use_shared='wxUSE_SHARED
=yes'
3228 ac_cv_use_shared='wxUSE_SHARED
=no
'
3233 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3234 if test "x$LINE" != x ; then
3235 eval "DEFAULT_$LINE"
3240 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3244 eval "$ac_cv_use_shared"
3245 if test "$no_cache" != 1; then
3246 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3249 if test "$wxUSE_SHARED" = yes; then
3250 echo "$as_me:$LINENO: result: yes" >&5
3251 echo "${ECHO_T}yes" >&6
3253 echo "$as_me:$LINENO: result: no" >&5
3254 echo "${ECHO_T}no" >&6
3259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3260 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3262 # Check whether --enable-optimise or --disable-optimise was given.
3263 if test "${enable_optimise+set}" = set; then
3264 enableval="$enable_optimise"
3266 if test "$enableval" = yes; then
3267 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3269 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3274 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3275 if test "x$LINE" != x ; then
3276 eval "DEFAULT_$LINE"
3281 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3285 eval "$ac_cv_use_optimise"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3290 if test "$wxUSE_OPTIMISE" = yes; then
3291 echo "$as_me:$LINENO: result: yes" >&5
3292 echo "${ECHO_T}yes" >&6
3294 echo "$as_me:$LINENO: result: no" >&5
3295 echo "${ECHO_T}no" >&6
3300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3301 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3303 # Check whether --enable-debug or --disable-debug was given.
3304 if test "${enable_debug+set}" = set; then
3305 enableval="$enable_debug"
3307 if test "$enableval" = yes; then
3308 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3310 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3315 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3316 if test "x$LINE" != x ; then
3317 eval "DEFAULT_$LINE"
3322 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3326 eval "$ac_cv_use_debug"
3327 if test "$no_cache" != 1; then
3328 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3331 if test "$wxUSE_DEBUG" = yes; then
3332 echo "$as_me:$LINENO: result: yes" >&5
3333 echo "${ECHO_T}yes" >&6
3335 echo "$as_me:$LINENO: result: no" >&5
3336 echo "${ECHO_T}no" >&6
3341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3342 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3344 # Check whether --enable-stl or --disable-stl was given.
3345 if test "${enable_stl+set}" = set; then
3346 enableval="$enable_stl"
3348 if test "$enableval" = yes; then
3349 ac_cv_use_stl='wxUSE_STL
=yes'
3351 ac_cv_use_stl='wxUSE_STL
=no
'
3356 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3357 if test "x$LINE" != x ; then
3358 eval "DEFAULT_$LINE"
3363 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3367 eval "$ac_cv_use_stl"
3368 if test "$no_cache" != 1; then
3369 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3372 if test "$wxUSE_STL" = yes; then
3373 echo "$as_me:$LINENO: result: yes" >&5
3374 echo "${ECHO_T}yes" >&6
3376 echo "$as_me:$LINENO: result: no" >&5
3377 echo "${ECHO_T}no" >&6
3381 if test "$wxUSE_DEBUG" = "yes"; then
3382 DEFAULT_wxUSE_DEBUG_FLAG=yes
3383 DEFAULT_wxUSE_DEBUG_INFO=yes
3385 elif test "$wxUSE_DEBUG" = "no"; then
3386 DEFAULT_wxUSE_DEBUG_FLAG=no
3387 DEFAULT_wxUSE_DEBUG_INFO=no
3393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3394 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3396 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3397 if test "${enable_debug_flag+set}" = set; then
3398 enableval="$enable_debug_flag"
3400 if test "$enableval" = yes; then
3401 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3403 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3408 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x ; then
3410 eval "DEFAULT_$LINE"
3415 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3419 eval "$ac_cv_use_debug_flag"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3424 if test "$wxUSE_DEBUG_FLAG" = yes; then
3425 echo "$as_me:$LINENO: result: yes" >&5
3426 echo "${ECHO_T}yes" >&6
3428 echo "$as_me:$LINENO: result: no" >&5
3429 echo "${ECHO_T}no" >&6
3434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3435 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3437 # Check whether --enable-debug_info or --disable-debug_info was given.
3438 if test "${enable_debug_info+set}" = set; then
3439 enableval="$enable_debug_info"
3441 if test "$enableval" = yes; then
3442 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3444 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3449 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x ; then
3451 eval "DEFAULT_$LINE"
3456 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3460 eval "$ac_cv_use_debug_info"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3465 if test "$wxUSE_DEBUG_INFO" = yes; then
3466 echo "$as_me:$LINENO: result: yes" >&5
3467 echo "${ECHO_T}yes" >&6
3469 echo "$as_me:$LINENO: result: no" >&5
3470 echo "${ECHO_T}no" >&6
3475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3476 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3478 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3479 if test "${enable_debug_gdb+set}" = set; then
3480 enableval="$enable_debug_gdb"
3482 if test "$enableval" = yes; then
3483 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3485 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3490 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x ; then
3492 eval "DEFAULT_$LINE"
3497 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3501 eval "$ac_cv_use_debug_gdb"
3502 if test "$no_cache" != 1; then
3503 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3506 if test "$wxUSE_DEBUG_GDB" = yes; then
3507 echo "$as_me:$LINENO: result: yes" >&5
3508 echo "${ECHO_T}yes" >&6
3510 echo "$as_me:$LINENO: result: no" >&5
3511 echo "${ECHO_T}no" >&6
3516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3517 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3519 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3520 if test "${enable_debug_cntxt+set}" = set; then
3521 enableval="$enable_debug_cntxt"
3523 if test "$enableval" = yes; then
3524 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3526 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3531 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3532 if test "x$LINE" != x ; then
3533 eval "DEFAULT_$LINE"
3538 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3542 eval "$ac_cv_use_debug_cntxt"
3543 if test "$no_cache" != 1; then
3544 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3547 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3548 echo "$as_me:$LINENO: result: yes" >&5
3549 echo "${ECHO_T}yes" >&6
3551 echo "$as_me:$LINENO: result: no" >&5
3552 echo "${ECHO_T}no" >&6
3557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3558 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3560 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3561 if test "${enable_mem_tracing+set}" = set; then
3562 enableval="$enable_mem_tracing"
3564 if test "$enableval" = yes; then
3565 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3567 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3572 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x ; then
3574 eval "DEFAULT_$LINE"
3579 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3583 eval "$ac_cv_use_mem_tracing"
3584 if test "$no_cache" != 1; then
3585 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3588 if test "$wxUSE_MEM_TRACING" = yes; then
3589 echo "$as_me:$LINENO: result: yes" >&5
3590 echo "${ECHO_T}yes" >&6
3592 echo "$as_me:$LINENO: result: no" >&5
3593 echo "${ECHO_T}no" >&6
3598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3599 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3601 # Check whether --enable-profile or --disable-profile was given.
3602 if test "${enable_profile+set}" = set; then
3603 enableval="$enable_profile"
3605 if test "$enableval" = yes; then
3606 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3608 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3613 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3614 if test "x$LINE" != x ; then
3615 eval "DEFAULT_$LINE"
3620 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3624 eval "$ac_cv_use_profile"
3625 if test "$no_cache" != 1; then
3626 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3629 if test "$wxUSE_PROFILE" = yes; then
3630 echo "$as_me:$LINENO: result: yes" >&5
3631 echo "${ECHO_T}yes" >&6
3633 echo "$as_me:$LINENO: result: no" >&5
3634 echo "${ECHO_T}no" >&6
3639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3640 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3642 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3643 if test "${enable_no_rtti+set}" = set; then
3644 enableval="$enable_no_rtti"
3646 if test "$enableval" = yes; then
3647 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3649 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3654 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3655 if test "x$LINE" != x ; then
3656 eval "DEFAULT_$LINE"
3661 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3665 eval "$ac_cv_use_no_rtti"
3666 if test "$no_cache" != 1; then
3667 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3670 if test "$wxUSE_NO_RTTI" = yes; then
3671 echo "$as_me:$LINENO: result: yes" >&5
3672 echo "${ECHO_T}yes" >&6
3674 echo "$as_me:$LINENO: result: no" >&5
3675 echo "${ECHO_T}no" >&6
3680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3681 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3683 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3684 if test "${enable_no_exceptions+set}" = set; then
3685 enableval="$enable_no_exceptions"
3687 if test "$enableval" = yes; then
3688 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3690 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3695 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3696 if test "x$LINE" != x ; then
3697 eval "DEFAULT_$LINE"
3702 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3706 eval "$ac_cv_use_no_exceptions"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3711 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3712 echo "$as_me:$LINENO: result: yes" >&5
3713 echo "${ECHO_T}yes" >&6
3715 echo "$as_me:$LINENO: result: no" >&5
3716 echo "${ECHO_T}no" >&6
3721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3722 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3724 # Check whether --enable-permissive or --disable-permissive was given.
3725 if test "${enable_permissive+set}" = set; then
3726 enableval="$enable_permissive"
3728 if test "$enableval" = yes; then
3729 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3731 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3736 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3737 if test "x$LINE" != x ; then
3738 eval "DEFAULT_$LINE"
3743 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3747 eval "$ac_cv_use_permissive"
3748 if test "$no_cache" != 1; then
3749 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3752 if test "$wxUSE_PERMISSIVE" = yes; then
3753 echo "$as_me:$LINENO: result: yes" >&5
3754 echo "${ECHO_T}yes" >&6
3756 echo "$as_me:$LINENO: result: no" >&5
3757 echo "${ECHO_T}no" >&6
3762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3763 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3765 # Check whether --enable-no_deps or --disable-no_deps was given.
3766 if test "${enable_no_deps+set}" = set; then
3767 enableval="$enable_no_deps"
3769 if test "$enableval" = yes; then
3770 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3772 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3777 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3778 if test "x$LINE" != x ; then
3779 eval "DEFAULT_$LINE"
3784 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3788 eval "$ac_cv_use_no_deps"
3789 if test "$no_cache" != 1; then
3790 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3793 if test "$wxUSE_NO_DEPS" = yes; then
3794 echo "$as_me:$LINENO: result: yes" >&5
3795 echo "${ECHO_T}yes" >&6
3797 echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3805 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3807 # Check whether --enable-compat22 or --disable-compat22 was given.
3808 if test "${enable_compat22+set}" = set; then
3809 enableval="$enable_compat22"
3811 if test "$enableval" = yes; then
3812 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3814 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3819 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x ; then
3821 eval "DEFAULT_$LINE"
3826 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3830 eval "$ac_cv_use_compat22"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3835 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6
3839 echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6
3844 enablestring=disable
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3846 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3848 # Check whether --enable-compat24 or --disable-compat24 was given.
3849 if test "${enable_compat24+set}" = set; then
3850 enableval="$enable_compat24"
3852 if test "$enableval" = yes; then
3853 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
3855 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
3860 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x ; then
3862 eval "DEFAULT_$LINE"
3867 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3871 eval "$ac_cv_use_compat24"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3876 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878 echo "${ECHO_T}yes" >&6
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3885 # Check whether --enable-rpath or --disable-rpath was given.
3886 if test "${enable_rpath+set}" = set; then
3887 enableval="$enable_rpath"
3888 wxRPATH_DIR="$enableval"
3891 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3892 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3900 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3902 # Check whether --enable-intl or --disable-intl was given.
3903 if test "${enable_intl+set}" = set; then
3904 enableval="$enable_intl"
3906 if test "$enableval" = yes; then
3907 ac_cv_use_intl='wxUSE_INTL
=yes'
3909 ac_cv_use_intl='wxUSE_INTL
=no
'
3914 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3915 if test "x$LINE" != x ; then
3916 eval "DEFAULT_$LINE"
3921 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3925 eval "$ac_cv_use_intl"
3926 if test "$no_cache" != 1; then
3927 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3930 if test "$wxUSE_INTL" = yes; then
3931 echo "$as_me:$LINENO: result: yes" >&5
3932 echo "${ECHO_T}yes" >&6
3934 echo "$as_me:$LINENO: result: no" >&5
3935 echo "${ECHO_T}no" >&6
3940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3941 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3943 # Check whether --enable-config or --disable-config was given.
3944 if test "${enable_config+set}" = set; then
3945 enableval="$enable_config"
3947 if test "$enableval" = yes; then
3948 ac_cv_use_config='wxUSE_CONFIG
=yes'
3950 ac_cv_use_config='wxUSE_CONFIG
=no
'
3955 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3956 if test "x$LINE" != x ; then
3957 eval "DEFAULT_$LINE"
3962 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3966 eval "$ac_cv_use_config"
3967 if test "$no_cache" != 1; then
3968 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3971 if test "$wxUSE_CONFIG" = yes; then
3972 echo "$as_me:$LINENO: result: yes" >&5
3973 echo "${ECHO_T}yes" >&6
3975 echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6
3982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3983 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3985 # Check whether --enable-protocols or --disable-protocols was given.
3986 if test "${enable_protocols+set}" = set; then
3987 enableval="$enable_protocols"
3989 if test "$enableval" = yes; then
3990 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
3992 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
3997 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3998 if test "x$LINE" != x ; then
3999 eval "DEFAULT_$LINE"
4004 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4008 eval "$ac_cv_use_protocols"
4009 if test "$no_cache" != 1; then
4010 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4013 if test "$wxUSE_PROTOCOL" = yes; then
4014 echo "$as_me:$LINENO: result: yes" >&5
4015 echo "${ECHO_T}yes" >&6
4017 echo "$as_me:$LINENO: result: no" >&5
4018 echo "${ECHO_T}no" >&6
4023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4024 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4026 # Check whether --enable-ftp or --disable-ftp was given.
4027 if test "${enable_ftp+set}" = set; then
4028 enableval="$enable_ftp"
4030 if test "$enableval" = yes; then
4031 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4033 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4038 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4039 if test "x$LINE" != x ; then
4040 eval "DEFAULT_$LINE"
4045 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4049 eval "$ac_cv_use_ftp"
4050 if test "$no_cache" != 1; then
4051 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4054 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4055 echo "$as_me:$LINENO: result: yes" >&5
4056 echo "${ECHO_T}yes" >&6
4058 echo "$as_me:$LINENO: result: no" >&5
4059 echo "${ECHO_T}no" >&6
4064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4065 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4067 # Check whether --enable-http or --disable-http was given.
4068 if test "${enable_http+set}" = set; then
4069 enableval="$enable_http"
4071 if test "$enableval" = yes; then
4072 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4074 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4079 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x ; then
4081 eval "DEFAULT_$LINE"
4086 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4090 eval "$ac_cv_use_http"
4091 if test "$no_cache" != 1; then
4092 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4095 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4096 echo "$as_me:$LINENO: result: yes" >&5
4097 echo "${ECHO_T}yes" >&6
4099 echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6
4105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4106 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4108 # Check whether --enable-fileproto or --disable-fileproto was given.
4109 if test "${enable_fileproto+set}" = set; then
4110 enableval="$enable_fileproto"
4112 if test "$enableval" = yes; then
4113 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4115 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4120 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x ; then
4122 eval "DEFAULT_$LINE"
4127 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4131 eval "$ac_cv_use_fileproto"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4136 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4137 echo "$as_me:$LINENO: result: yes" >&5
4138 echo "${ECHO_T}yes" >&6
4140 echo "$as_me:$LINENO: result: no" >&5
4141 echo "${ECHO_T}no" >&6
4146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4147 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4149 # Check whether --enable-sockets or --disable-sockets was given.
4150 if test "${enable_sockets+set}" = set; then
4151 enableval="$enable_sockets"
4153 if test "$enableval" = yes; then
4154 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4156 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4161 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x ; then
4163 eval "DEFAULT_$LINE"
4168 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4172 eval "$ac_cv_use_sockets"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4177 if test "$wxUSE_SOCKETS" = yes; then
4178 echo "$as_me:$LINENO: result: yes" >&5
4179 echo "${ECHO_T}yes" >&6
4181 echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6
4187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4188 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4190 # Check whether --enable-ole or --disable-ole was given.
4191 if test "${enable_ole+set}" = set; then
4192 enableval="$enable_ole"
4194 if test "$enableval" = yes; then
4195 ac_cv_use_ole='wxUSE_OLE
=yes'
4197 ac_cv_use_ole='wxUSE_OLE
=no
'
4202 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4203 if test "x$LINE" != x ; then
4204 eval "DEFAULT_$LINE"
4209 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4213 eval "$ac_cv_use_ole"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4218 if test "$wxUSE_OLE" = yes; then
4219 echo "$as_me:$LINENO: result: yes" >&5
4220 echo "${ECHO_T}yes" >&6
4222 echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4229 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4231 # Check whether --enable-dataobj or --disable-dataobj was given.
4232 if test "${enable_dataobj+set}" = set; then
4233 enableval="$enable_dataobj"
4235 if test "$enableval" = yes; then
4236 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4238 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4243 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x ; then
4245 eval "DEFAULT_$LINE"
4250 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4254 eval "$ac_cv_use_dataobj"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4259 if test "$wxUSE_DATAOBJ" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6
4263 echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6
4270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4271 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4273 # Check whether --enable-ipc or --disable-ipc was given.
4274 if test "${enable_ipc+set}" = set; then
4275 enableval="$enable_ipc"
4277 if test "$enableval" = yes; then
4278 ac_cv_use_ipc='wxUSE_IPC
=yes'
4280 ac_cv_use_ipc='wxUSE_IPC
=no
'
4285 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x ; then
4287 eval "DEFAULT_$LINE"
4292 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4296 eval "$ac_cv_use_ipc"
4297 if test "$no_cache" != 1; then
4298 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4301 if test "$wxUSE_IPC" = yes; then
4302 echo "$as_me:$LINENO: result: yes" >&5
4303 echo "${ECHO_T}yes" >&6
4305 echo "$as_me:$LINENO: result: no" >&5
4306 echo "${ECHO_T}no" >&6
4312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4313 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4315 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4316 if test "${enable_apple_ieee+set}" = set; then
4317 enableval="$enable_apple_ieee"
4319 if test "$enableval" = yes; then
4320 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4322 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4327 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4328 if test "x$LINE" != x ; then
4329 eval "DEFAULT_$LINE"
4334 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4338 eval "$ac_cv_use_apple_ieee"
4339 if test "$no_cache" != 1; then
4340 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4343 if test "$wxUSE_APPLE_IEEE" = yes; then
4344 echo "$as_me:$LINENO: result: yes" >&5
4345 echo "${ECHO_T}yes" >&6
4347 echo "$as_me:$LINENO: result: no" >&5
4348 echo "${ECHO_T}no" >&6
4353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4354 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4356 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4357 if test "${enable_catch_segvs+set}" = set; then
4358 enableval="$enable_catch_segvs"
4360 if test "$enableval" = yes; then
4361 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4363 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4368 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4369 if test "x$LINE" != x ; then
4370 eval "DEFAULT_$LINE"
4375 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4379 eval "$ac_cv_use_catch_segvs"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4384 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4385 echo "$as_me:$LINENO: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6
4388 echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6
4394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4395 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4397 # Check whether --enable-cmdline or --disable-cmdline was given.
4398 if test "${enable_cmdline+set}" = set; then
4399 enableval="$enable_cmdline"
4401 if test "$enableval" = yes; then
4402 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4404 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4409 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4410 if test "x$LINE" != x ; then
4411 eval "DEFAULT_$LINE"
4416 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4420 eval "$ac_cv_use_cmdline"
4421 if test "$no_cache" != 1; then
4422 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4425 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4426 echo "$as_me:$LINENO: result: yes" >&5
4427 echo "${ECHO_T}yes" >&6
4429 echo "$as_me:$LINENO: result: no" >&5
4430 echo "${ECHO_T}no" >&6
4435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4436 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4438 # Check whether --enable-datetime or --disable-datetime was given.
4439 if test "${enable_datetime+set}" = set; then
4440 enableval="$enable_datetime"
4442 if test "$enableval" = yes; then
4443 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4445 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4450 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4451 if test "x$LINE" != x ; then
4452 eval "DEFAULT_$LINE"
4457 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4461 eval "$ac_cv_use_datetime"
4462 if test "$no_cache" != 1; then
4463 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4466 if test "$wxUSE_DATETIME" = yes; then
4467 echo "$as_me:$LINENO: result: yes" >&5
4468 echo "${ECHO_T}yes" >&6
4470 echo "$as_me:$LINENO: result: no" >&5
4471 echo "${ECHO_T}no" >&6
4476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4477 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4479 # Check whether --enable-dialupman or --disable-dialupman was given.
4480 if test "${enable_dialupman+set}" = set; then
4481 enableval="$enable_dialupman"
4483 if test "$enableval" = yes; then
4484 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4486 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4491 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4492 if test "x$LINE" != x ; then
4493 eval "DEFAULT_$LINE"
4498 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4502 eval "$ac_cv_use_dialupman"
4503 if test "$no_cache" != 1; then
4504 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4507 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4508 echo "$as_me:$LINENO: result: yes" >&5
4509 echo "${ECHO_T}yes" >&6
4511 echo "$as_me:$LINENO: result: no" >&5
4512 echo "${ECHO_T}no" >&6
4517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4518 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4520 # Check whether --enable-dynlib or --disable-dynlib was given.
4521 if test "${enable_dynlib+set}" = set; then
4522 enableval="$enable_dynlib"
4524 if test "$enableval" = yes; then
4525 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4527 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4532 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4533 if test "x$LINE" != x ; then
4534 eval "DEFAULT_$LINE"
4539 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4543 eval "$ac_cv_use_dynlib"
4544 if test "$no_cache" != 1; then
4545 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4548 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4549 echo "$as_me:$LINENO: result: yes" >&5
4550 echo "${ECHO_T}yes" >&6
4552 echo "$as_me:$LINENO: result: no" >&5
4553 echo "${ECHO_T}no" >&6
4558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4559 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4561 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4562 if test "${enable_dynamicloader+set}" = set; then
4563 enableval="$enable_dynamicloader"
4565 if test "$enableval" = yes; then
4566 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4568 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4573 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4574 if test "x$LINE" != x ; then
4575 eval "DEFAULT_$LINE"
4580 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4584 eval "$ac_cv_use_dynamicloader"
4585 if test "$no_cache" != 1; then
4586 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4589 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4590 echo "$as_me:$LINENO: result: yes" >&5
4591 echo "${ECHO_T}yes" >&6
4593 echo "$as_me:$LINENO: result: no" >&5
4594 echo "${ECHO_T}no" >&6
4599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4600 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4602 # Check whether --enable-exceptions or --disable-exceptions was given.
4603 if test "${enable_exceptions+set}" = set; then
4604 enableval="$enable_exceptions"
4606 if test "$enableval" = yes; then
4607 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
4609 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
4614 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x ; then
4616 eval "DEFAULT_$LINE"
4621 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
4625 eval "$ac_cv_use_exceptions"
4626 if test "$no_cache" != 1; then
4627 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4630 if test "$wxUSE_EXCEPTIONS" = yes; then
4631 echo "$as_me:$LINENO: result: yes" >&5
4632 echo "${ECHO_T}yes" >&6
4634 echo "$as_me:$LINENO: result: no" >&5
4635 echo "${ECHO_T}no" >&6
4640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4641 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4643 # Check whether --enable-ffile or --disable-ffile was given.
4644 if test "${enable_ffile+set}" = set; then
4645 enableval="$enable_ffile"
4647 if test "$enableval" = yes; then
4648 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4650 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4655 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4656 if test "x$LINE" != x ; then
4657 eval "DEFAULT_$LINE"
4662 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4666 eval "$ac_cv_use_ffile"
4667 if test "$no_cache" != 1; then
4668 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4671 if test "$wxUSE_FFILE" = yes; then
4672 echo "$as_me:$LINENO: result: yes" >&5
4673 echo "${ECHO_T}yes" >&6
4675 echo "$as_me:$LINENO: result: no" >&5
4676 echo "${ECHO_T}no" >&6
4681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4682 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4684 # Check whether --enable-file or --disable-file was given.
4685 if test "${enable_file+set}" = set; then
4686 enableval="$enable_file"
4688 if test "$enableval" = yes; then
4689 ac_cv_use_file='wxUSE_FILE
=yes'
4691 ac_cv_use_file='wxUSE_FILE
=no
'
4696 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4697 if test "x$LINE" != x ; then
4698 eval "DEFAULT_$LINE"
4703 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4707 eval "$ac_cv_use_file"
4708 if test "$no_cache" != 1; then
4709 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4712 if test "$wxUSE_FILE" = yes; then
4713 echo "$as_me:$LINENO: result: yes" >&5
4714 echo "${ECHO_T}yes" >&6
4716 echo "$as_me:$LINENO: result: no" >&5
4717 echo "${ECHO_T}no" >&6
4722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4723 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4725 # Check whether --enable-filesystem or --disable-filesystem was given.
4726 if test "${enable_filesystem+set}" = set; then
4727 enableval="$enable_filesystem"
4729 if test "$enableval" = yes; then
4730 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
4732 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
4737 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4738 if test "x$LINE" != x ; then
4739 eval "DEFAULT_$LINE"
4744 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
4748 eval "$ac_cv_use_filesystem"
4749 if test "$no_cache" != 1; then
4750 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4753 if test "$wxUSE_FILESYSTEM" = yes; then
4754 echo "$as_me:$LINENO: result: yes" >&5
4755 echo "${ECHO_T}yes" >&6
4757 echo "$as_me:$LINENO: result: no" >&5
4758 echo "${ECHO_T}no" >&6
4763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4764 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4766 # Check whether --enable-fontmap or --disable-fontmap was given.
4767 if test "${enable_fontmap+set}" = set; then
4768 enableval="$enable_fontmap"
4770 if test "$enableval" = yes; then
4771 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4773 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4778 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4779 if test "x$LINE" != x ; then
4780 eval "DEFAULT_$LINE"
4785 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4789 eval "$ac_cv_use_fontmap"
4790 if test "$no_cache" != 1; then
4791 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4794 if test "$wxUSE_FONTMAP" = yes; then
4795 echo "$as_me:$LINENO: result: yes" >&5
4796 echo "${ECHO_T}yes" >&6
4798 echo "$as_me:$LINENO: result: no" >&5
4799 echo "${ECHO_T}no" >&6
4804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4805 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4807 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4808 if test "${enable_fs_inet+set}" = set; then
4809 enableval="$enable_fs_inet"
4811 if test "$enableval" = yes; then
4812 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
4814 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
4819 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x ; then
4821 eval "DEFAULT_$LINE"
4826 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
4830 eval "$ac_cv_use_fs_inet"
4831 if test "$no_cache" != 1; then
4832 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4835 if test "$wxUSE_FS_INET" = yes; then
4836 echo "$as_me:$LINENO: result: yes" >&5
4837 echo "${ECHO_T}yes" >&6
4839 echo "$as_me:$LINENO: result: no" >&5
4840 echo "${ECHO_T}no" >&6
4845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4848 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4849 if test "${enable_fs_zip+set}" = set; then
4850 enableval="$enable_fs_zip"
4852 if test "$enableval" = yes; then
4853 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
4855 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
4860 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4861 if test "x$LINE" != x ; then
4862 eval "DEFAULT_$LINE"
4867 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
4871 eval "$ac_cv_use_fs_zip"
4872 if test "$no_cache" != 1; then
4873 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4876 if test "$wxUSE_FS_ZIP" = yes; then
4877 echo "$as_me:$LINENO: result: yes" >&5
4878 echo "${ECHO_T}yes" >&6
4880 echo "$as_me:$LINENO: result: no" >&5
4881 echo "${ECHO_T}no" >&6
4886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4887 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4889 # Check whether --enable-geometry or --disable-geometry was given.
4890 if test "${enable_geometry+set}" = set; then
4891 enableval="$enable_geometry"
4893 if test "$enableval" = yes; then
4894 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4896 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4901 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x ; then
4903 eval "DEFAULT_$LINE"
4908 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4912 eval "$ac_cv_use_geometry"
4913 if test "$no_cache" != 1; then
4914 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4917 if test "$wxUSE_GEOMETRY" = yes; then
4918 echo "$as_me:$LINENO: result: yes" >&5
4919 echo "${ECHO_T}yes" >&6
4921 echo "$as_me:$LINENO: result: no" >&5
4922 echo "${ECHO_T}no" >&6
4927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4928 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4930 # Check whether --enable-log or --disable-log was given.
4931 if test "${enable_log+set}" = set; then
4932 enableval="$enable_log"
4934 if test "$enableval" = yes; then
4935 ac_cv_use_log='wxUSE_LOG
=yes'
4937 ac_cv_use_log='wxUSE_LOG
=no
'
4942 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4943 if test "x$LINE" != x ; then
4944 eval "DEFAULT_$LINE"
4949 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4953 eval "$ac_cv_use_log"
4954 if test "$no_cache" != 1; then
4955 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4958 if test "$wxUSE_LOG" = yes; then
4959 echo "$as_me:$LINENO: result: yes" >&5
4960 echo "${ECHO_T}yes" >&6
4962 echo "$as_me:$LINENO: result: no" >&5
4963 echo "${ECHO_T}no" >&6
4968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4969 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4971 # Check whether --enable-longlong or --disable-longlong was given.
4972 if test "${enable_longlong+set}" = set; then
4973 enableval="$enable_longlong"
4975 if test "$enableval" = yes; then
4976 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
4978 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
4983 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x ; then
4985 eval "DEFAULT_$LINE"
4990 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
4994 eval "$ac_cv_use_longlong"
4995 if test "$no_cache" != 1; then
4996 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4999 if test "$wxUSE_LONGLONG" = yes; then
5000 echo "$as_me:$LINENO: result: yes" >&5
5001 echo "${ECHO_T}yes" >&6
5003 echo "$as_me:$LINENO: result: no" >&5
5004 echo "${ECHO_T}no" >&6
5009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5010 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5012 # Check whether --enable-mimetype or --disable-mimetype was given.
5013 if test "${enable_mimetype+set}" = set; then
5014 enableval="$enable_mimetype"
5016 if test "$enableval" = yes; then
5017 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5019 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5024 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x ; then
5026 eval "DEFAULT_$LINE"
5031 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5035 eval "$ac_cv_use_mimetype"
5036 if test "$no_cache" != 1; then
5037 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5040 if test "$wxUSE_MIMETYPE" = yes; then
5041 echo "$as_me:$LINENO: result: yes" >&5
5042 echo "${ECHO_T}yes" >&6
5044 echo "$as_me:$LINENO: result: no" >&5
5045 echo "${ECHO_T}no" >&6
5050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5051 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5053 # Check whether --enable-mslu or --disable-mslu was given.
5054 if test "${enable_mslu+set}" = set; then
5055 enableval="$enable_mslu"
5057 if test "$enableval" = yes; then
5058 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5060 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5065 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x ; then
5067 eval "DEFAULT_$LINE"
5072 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5076 eval "$ac_cv_use_mslu"
5077 if test "$no_cache" != 1; then
5078 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5081 if test "$wxUSE_UNICODE_MSLU" = yes; then
5082 echo "$as_me:$LINENO: result: yes" >&5
5083 echo "${ECHO_T}yes" >&6
5085 echo "$as_me:$LINENO: result: no" >&5
5086 echo "${ECHO_T}no" >&6
5091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5092 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5094 # Check whether --enable-snglinst or --disable-snglinst was given.
5095 if test "${enable_snglinst+set}" = set; then
5096 enableval="$enable_snglinst"
5098 if test "$enableval" = yes; then
5099 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5101 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5106 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5107 if test "x$LINE" != x ; then
5108 eval "DEFAULT_$LINE"
5113 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5117 eval "$ac_cv_use_snglinst"
5118 if test "$no_cache" != 1; then
5119 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5122 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5123 echo "$as_me:$LINENO: result: yes" >&5
5124 echo "${ECHO_T}yes" >&6
5126 echo "$as_me:$LINENO: result: no" >&5
5127 echo "${ECHO_T}no" >&6
5132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5133 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5135 # Check whether --enable-streams or --disable-streams was given.
5136 if test "${enable_streams+set}" = set; then
5137 enableval="$enable_streams"
5139 if test "$enableval" = yes; then
5140 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5142 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5147 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x ; then
5149 eval "DEFAULT_$LINE"
5154 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5158 eval "$ac_cv_use_streams"
5159 if test "$no_cache" != 1; then
5160 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5163 if test "$wxUSE_STREAMS" = yes; then
5164 echo "$as_me:$LINENO: result: yes" >&5
5165 echo "${ECHO_T}yes" >&6
5167 echo "$as_me:$LINENO: result: no" >&5
5168 echo "${ECHO_T}no" >&6
5173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5174 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5176 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5177 if test "${enable_std_iostreams+set}" = set; then
5178 enableval="$enable_std_iostreams"
5180 if test "$enableval" = yes; then
5181 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5183 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5188 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x ; then
5190 eval "DEFAULT_$LINE"
5195 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5199 eval "$ac_cv_use_std_iostreams"
5200 if test "$no_cache" != 1; then
5201 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5204 if test "$wxUSE_STD_IOSTREAM" = yes; then
5205 echo "$as_me:$LINENO: result: yes" >&5
5206 echo "${ECHO_T}yes" >&6
5208 echo "$as_me:$LINENO: result: no" >&5
5209 echo "${ECHO_T}no" >&6
5214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5215 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5217 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5218 if test "${enable_stopwatch+set}" = set; then
5219 enableval="$enable_stopwatch"
5221 if test "$enableval" = yes; then
5222 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5224 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5229 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5230 if test "x$LINE" != x ; then
5231 eval "DEFAULT_$LINE"
5236 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5240 eval "$ac_cv_use_stopwatch"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5245 if test "$wxUSE_STOPWATCH" = yes; then
5246 echo "$as_me:$LINENO: result: yes" >&5
5247 echo "${ECHO_T}yes" >&6
5249 echo "$as_me:$LINENO: result: no" >&5
5250 echo "${ECHO_T}no" >&6
5255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5256 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5258 # Check whether --enable-system_options or --disable-system_options was given.
5259 if test "${enable_system_options+set}" = set; then
5260 enableval="$enable_system_options"
5262 if test "$enableval" = yes; then
5263 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5265 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5270 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5271 if test "x$LINE" != x ; then
5272 eval "DEFAULT_$LINE"
5277 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5281 eval "$ac_cv_use_system_options"
5282 if test "$no_cache" != 1; then
5283 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5286 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5287 echo "$as_me:$LINENO: result: yes" >&5
5288 echo "${ECHO_T}yes" >&6
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5299 # Check whether --enable-textbuf or --disable-textbuf was given.
5300 if test "${enable_textbuf+set}" = set; then
5301 enableval="$enable_textbuf"
5303 if test "$enableval" = yes; then
5304 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5306 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5311 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5312 if test "x$LINE" != x ; then
5313 eval "DEFAULT_$LINE"
5318 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5322 eval "$ac_cv_use_textbuf"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5327 if test "$wxUSE_TEXTBUFFER" = yes; then
5328 echo "$as_me:$LINENO: result: yes" >&5
5329 echo "${ECHO_T}yes" >&6
5331 echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6
5337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5340 # Check whether --enable-textfile or --disable-textfile was given.
5341 if test "${enable_textfile+set}" = set; then
5342 enableval="$enable_textfile"
5344 if test "$enableval" = yes; then
5345 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
5347 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
5352 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x ; then
5354 eval "DEFAULT_$LINE"
5359 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
5363 eval "$ac_cv_use_textfile"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5368 if test "$wxUSE_TEXTFILE" = yes; then
5369 echo "$as_me:$LINENO: result: yes" >&5
5370 echo "${ECHO_T}yes" >&6
5372 echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6
5378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5381 # Check whether --enable-timer or --disable-timer was given.
5382 if test "${enable_timer+set}" = set; then
5383 enableval="$enable_timer"
5385 if test "$enableval" = yes; then
5386 ac_cv_use_timer='wxUSE_TIMER
=yes'
5388 ac_cv_use_timer='wxUSE_TIMER
=no
'
5393 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x ; then
5395 eval "DEFAULT_$LINE"
5400 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
5404 eval "$ac_cv_use_timer"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5409 if test "$wxUSE_TIMER" = yes; then
5410 echo "$as_me:$LINENO: result: yes" >&5
5411 echo "${ECHO_T}yes" >&6
5413 echo "$as_me:$LINENO: result: no" >&5
5414 echo "${ECHO_T}no" >&6
5419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5420 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5422 # Check whether --enable-unicode or --disable-unicode was given.
5423 if test "${enable_unicode+set}" = set; then
5424 enableval="$enable_unicode"
5426 if test "$enableval" = yes; then
5427 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
5429 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
5434 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x ; then
5436 eval "DEFAULT_$LINE"
5441 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
5445 eval "$ac_cv_use_unicode"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5450 if test "$wxUSE_UNICODE" = yes; then
5451 echo "$as_me:$LINENO: result: yes" >&5
5452 echo "${ECHO_T}yes" >&6
5454 echo "$as_me:$LINENO: result: no" >&5
5455 echo "${ECHO_T}no" >&6
5460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
5461 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
5463 # Check whether --enable-wave or --disable-wave was given.
5464 if test "${enable_wave+set}" = set; then
5465 enableval="$enable_wave"
5467 if test "$enableval" = yes; then
5468 ac_cv_use_wave='wxUSE_WAVE
=yes'
5470 ac_cv_use_wave='wxUSE_WAVE
=no
'
5475 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x ; then
5477 eval "DEFAULT_$LINE"
5482 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
5486 eval "$ac_cv_use_wave"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
5491 if test "$wxUSE_WAVE" = yes; then
5492 echo "$as_me:$LINENO: result: yes" >&5
5493 echo "${ECHO_T}yes" >&6
5495 echo "$as_me:$LINENO: result: no" >&5
5496 echo "${ECHO_T}no" >&6
5501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5502 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5504 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5505 if test "${enable_wxprintfv+set}" = set; then
5506 enableval="$enable_wxprintfv"
5508 if test "$enableval" = yes; then
5509 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
5511 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
5516 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x ; then
5518 eval "DEFAULT_$LINE"
5523 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5527 eval "$ac_cv_use_wxprintfv"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5532 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5533 echo "$as_me:$LINENO: result: yes" >&5
5534 echo "${ECHO_T}yes" >&6
5536 echo "$as_me:$LINENO: result: no" >&5
5537 echo "${ECHO_T}no" >&6
5542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5545 # Check whether --enable-zipstream or --disable-zipstream was given.
5546 if test "${enable_zipstream+set}" = set; then
5547 enableval="$enable_zipstream"
5549 if test "$enableval" = yes; then
5550 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
5552 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
5557 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x ; then
5559 eval "DEFAULT_$LINE"
5564 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
5568 eval "$ac_cv_use_zipstream"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5573 if test "$wxUSE_ZIPSTREAM" = yes; then
5574 echo "$as_me:$LINENO: result: yes" >&5
5575 echo "${ECHO_T}yes" >&6
5577 echo "$as_me:$LINENO: result: no" >&5
5578 echo "${ECHO_T}no" >&6
5583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5584 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5586 # Check whether --enable-gzstream or --disable-gzstream was given.
5587 if test "${enable_gzstream+set}" = set; then
5588 enableval="$enable_gzstream"
5590 if test "$enableval" = yes; then
5591 ac_cv_use_gzstream='wxUSE_GZSTREAM
=yes'
5593 ac_cv_use_gzstream='wxUSE_GZSTREAM
=no
'
5598 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x ; then
5600 eval "DEFAULT_$LINE"
5605 ac_cv_use_gzstream='wxUSE_GZSTREAM
='$DEFAULT_wxUSE_GZSTREAM
5609 eval "$ac_cv_use_gzstream"
5610 if test "$no_cache" != 1; then
5611 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5614 if test "$wxUSE_GZSTREAM" = yes; then
5615 echo "$as_me:$LINENO: result: yes" >&5
5616 echo "${ECHO_T}yes" >&6
5618 echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6
5625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5626 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5628 # Check whether --enable-url or --disable-url was given.
5629 if test "${enable_url+set}" = set; then
5630 enableval="$enable_url"
5632 if test "$enableval" = yes; then
5633 ac_cv_use_url='wxUSE_URL
=yes'
5635 ac_cv_use_url='wxUSE_URL
=no
'
5640 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5641 if test "x$LINE" != x ; then
5642 eval "DEFAULT_$LINE"
5647 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5651 eval "$ac_cv_use_url"
5652 if test "$no_cache" != 1; then
5653 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5656 if test "$wxUSE_URL" = yes; then
5657 echo "$as_me:$LINENO: result: yes" >&5
5658 echo "${ECHO_T}yes" >&6
5660 echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6
5666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5667 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5669 # Check whether --enable-protocol or --disable-protocol was given.
5670 if test "${enable_protocol+set}" = set; then
5671 enableval="$enable_protocol"
5673 if test "$enableval" = yes; then
5674 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5676 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5681 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5682 if test "x$LINE" != x ; then
5683 eval "DEFAULT_$LINE"
5688 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5692 eval "$ac_cv_use_protocol"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5697 if test "$wxUSE_PROTOCOL" = yes; then
5698 echo "$as_me:$LINENO: result: yes" >&5
5699 echo "${ECHO_T}yes" >&6
5701 echo "$as_me:$LINENO: result: no" >&5
5702 echo "${ECHO_T}no" >&6
5707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5708 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5710 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5711 if test "${enable_protocol_http+set}" = set; then
5712 enableval="$enable_protocol_http"
5714 if test "$enableval" = yes; then
5715 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5717 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5722 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x ; then
5724 eval "DEFAULT_$LINE"
5729 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5733 eval "$ac_cv_use_protocol_http"
5734 if test "$no_cache" != 1; then
5735 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5738 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5739 echo "$as_me:$LINENO: result: yes" >&5
5740 echo "${ECHO_T}yes" >&6
5742 echo "$as_me:$LINENO: result: no" >&5
5743 echo "${ECHO_T}no" >&6
5748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5749 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5751 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5752 if test "${enable_protocol_ftp+set}" = set; then
5753 enableval="$enable_protocol_ftp"
5755 if test "$enableval" = yes; then
5756 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5758 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5763 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5764 if test "x$LINE" != x ; then
5765 eval "DEFAULT_$LINE"
5770 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5774 eval "$ac_cv_use_protocol_ftp"
5775 if test "$no_cache" != 1; then
5776 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5779 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5780 echo "$as_me:$LINENO: result: yes" >&5
5781 echo "${ECHO_T}yes" >&6
5783 echo "$as_me:$LINENO: result: no" >&5
5784 echo "${ECHO_T}no" >&6
5789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5790 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5792 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5793 if test "${enable_protocol_file+set}" = set; then
5794 enableval="$enable_protocol_file"
5796 if test "$enableval" = yes; then
5797 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5799 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5804 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x ; then
5806 eval "DEFAULT_$LINE"
5811 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5815 eval "$ac_cv_use_protocol_file"
5816 if test "$no_cache" != 1; then
5817 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5820 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5821 echo "$as_me:$LINENO: result: yes" >&5
5822 echo "${ECHO_T}yes" >&6
5824 echo "$as_me:$LINENO: result: no" >&5
5825 echo "${ECHO_T}no" >&6
5833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5834 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5836 # Check whether --enable-threads or --disable-threads was given.
5837 if test "${enable_threads+set}" = set; then
5838 enableval="$enable_threads"
5840 if test "$enableval" = yes; then
5841 ac_cv_use_threads='wxUSE_THREADS
=yes'
5843 ac_cv_use_threads='wxUSE_THREADS
=no
'
5848 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x ; then
5850 eval "DEFAULT_$LINE"
5855 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5859 eval "$ac_cv_use_threads"
5860 if test "$no_cache" != 1; then
5861 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5864 if test "$wxUSE_THREADS" = yes; then
5865 echo "$as_me:$LINENO: result: yes" >&5
5866 echo "${ECHO_T}yes" >&6
5868 echo "$as_me:$LINENO: result: no" >&5
5869 echo "${ECHO_T}no" >&6
5873 if test "$wxUSE_GUI" = "yes"; then
5878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5879 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5881 # Check whether --enable-docview or --disable-docview was given.
5882 if test "${enable_docview+set}" = set; then
5883 enableval="$enable_docview"
5885 if test "$enableval" = yes; then
5886 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5888 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5893 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5894 if test "x$LINE" != x ; then
5895 eval "DEFAULT_$LINE"
5900 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5904 eval "$ac_cv_use_docview"
5905 if test "$no_cache" != 1; then
5906 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5909 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5910 echo "$as_me:$LINENO: result: yes" >&5
5911 echo "${ECHO_T}yes" >&6
5913 echo "$as_me:$LINENO: result: no" >&5
5914 echo "${ECHO_T}no" >&6
5919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5920 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5922 # Check whether --enable-help or --disable-help was given.
5923 if test "${enable_help+set}" = set; then
5924 enableval="$enable_help"
5926 if test "$enableval" = yes; then
5927 ac_cv_use_help='wxUSE_HELP
=yes'
5929 ac_cv_use_help='wxUSE_HELP
=no
'
5934 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5935 if test "x$LINE" != x ; then
5936 eval "DEFAULT_$LINE"
5941 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5945 eval "$ac_cv_use_help"
5946 if test "$no_cache" != 1; then
5947 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5950 if test "$wxUSE_HELP" = yes; then
5951 echo "$as_me:$LINENO: result: yes" >&5
5952 echo "${ECHO_T}yes" >&6
5954 echo "$as_me:$LINENO: result: no" >&5
5955 echo "${ECHO_T}no" >&6
5960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5961 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5963 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5964 if test "${enable_mshtmlhelp+set}" = set; then
5965 enableval="$enable_mshtmlhelp"
5967 if test "$enableval" = yes; then
5968 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
5970 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
5975 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5976 if test "x$LINE" != x ; then
5977 eval "DEFAULT_$LINE"
5982 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
5986 eval "$ac_cv_use_mshtmlhelp"
5987 if test "$no_cache" != 1; then
5988 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5991 if test "$wxUSE_MS_HTML_HELP" = yes; then
5992 echo "$as_me:$LINENO: result: yes" >&5
5993 echo "${ECHO_T}yes" >&6
5995 echo "$as_me:$LINENO: result: no" >&5
5996 echo "${ECHO_T}no" >&6
6001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6002 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6004 # Check whether --enable-html or --disable-html was given.
6005 if test "${enable_html+set}" = set; then
6006 enableval="$enable_html"
6008 if test "$enableval" = yes; then
6009 ac_cv_use_html='wxUSE_HTML
=yes'
6011 ac_cv_use_html='wxUSE_HTML
=no
'
6016 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x ; then
6018 eval "DEFAULT_$LINE"
6023 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
6027 eval "$ac_cv_use_html"
6028 if test "$no_cache" != 1; then
6029 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6032 if test "$wxUSE_HTML" = yes; then
6033 echo "$as_me:$LINENO: result: yes" >&5
6034 echo "${ECHO_T}yes" >&6
6036 echo "$as_me:$LINENO: result: no" >&5
6037 echo "${ECHO_T}no" >&6
6042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6043 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6045 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6046 if test "${enable_htmlhelp+set}" = set; then
6047 enableval="$enable_htmlhelp"
6049 if test "$enableval" = yes; then
6050 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
6052 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
6057 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x ; then
6059 eval "DEFAULT_$LINE"
6064 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
6068 eval "$ac_cv_use_htmlhelp"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6073 if test "$wxUSE_WXHTML_HELP" = yes; then
6074 echo "$as_me:$LINENO: result: yes" >&5
6075 echo "${ECHO_T}yes" >&6
6077 echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6
6083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6084 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6086 # Check whether --enable-constraints or --disable-constraints was given.
6087 if test "${enable_constraints+set}" = set; then
6088 enableval="$enable_constraints"
6090 if test "$enableval" = yes; then
6091 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
6093 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
6098 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6099 if test "x$LINE" != x ; then
6100 eval "DEFAULT_$LINE"
6105 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6109 eval "$ac_cv_use_constraints"
6110 if test "$no_cache" != 1; then
6111 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6114 if test "$wxUSE_CONSTRAINTS" = yes; then
6115 echo "$as_me:$LINENO: result: yes" >&5
6116 echo "${ECHO_T}yes" >&6
6118 echo "$as_me:$LINENO: result: no" >&5
6119 echo "${ECHO_T}no" >&6
6124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6125 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6127 # Check whether --enable-printarch or --disable-printarch was given.
6128 if test "${enable_printarch+set}" = set; then
6129 enableval="$enable_printarch"
6131 if test "$enableval" = yes; then
6132 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6134 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6139 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6140 if test "x$LINE" != x ; then
6141 eval "DEFAULT_$LINE"
6146 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6150 eval "$ac_cv_use_printarch"
6151 if test "$no_cache" != 1; then
6152 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6155 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6156 echo "$as_me:$LINENO: result: yes" >&5
6157 echo "${ECHO_T}yes" >&6
6159 echo "$as_me:$LINENO: result: no" >&5
6160 echo "${ECHO_T}no" >&6
6165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6166 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6168 # Check whether --enable-mdi or --disable-mdi was given.
6169 if test "${enable_mdi+set}" = set; then
6170 enableval="$enable_mdi"
6172 if test "$enableval" = yes; then
6173 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
6175 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
6180 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6181 if test "x$LINE" != x ; then
6182 eval "DEFAULT_$LINE"
6187 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6191 eval "$ac_cv_use_mdi"
6192 if test "$no_cache" != 1; then
6193 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6196 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6197 echo "$as_me:$LINENO: result: yes" >&5
6198 echo "${ECHO_T}yes" >&6
6200 echo "$as_me:$LINENO: result: no" >&5
6201 echo "${ECHO_T}no" >&6
6206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6207 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6209 # Check whether --enable-loggui or --disable-loggui was given.
6210 if test "${enable_loggui+set}" = set; then
6211 enableval="$enable_loggui"
6213 if test "$enableval" = yes; then
6214 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6216 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6221 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6222 if test "x$LINE" != x ; then
6223 eval "DEFAULT_$LINE"
6228 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6232 eval "$ac_cv_use_loggui"
6233 if test "$no_cache" != 1; then
6234 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6237 if test "$wxUSE_LOGGUI" = yes; then
6238 echo "$as_me:$LINENO: result: yes" >&5
6239 echo "${ECHO_T}yes" >&6
6241 echo "$as_me:$LINENO: result: no" >&5
6242 echo "${ECHO_T}no" >&6
6247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6248 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6250 # Check whether --enable-logwin or --disable-logwin was given.
6251 if test "${enable_logwin+set}" = set; then
6252 enableval="$enable_logwin"
6254 if test "$enableval" = yes; then
6255 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6257 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6262 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6263 if test "x$LINE" != x ; then
6264 eval "DEFAULT_$LINE"
6269 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6273 eval "$ac_cv_use_logwin"
6274 if test "$no_cache" != 1; then
6275 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6278 if test "$wxUSE_LOGWINDOW" = yes; then
6279 echo "$as_me:$LINENO: result: yes" >&5
6280 echo "${ECHO_T}yes" >&6
6282 echo "$as_me:$LINENO: result: no" >&5
6283 echo "${ECHO_T}no" >&6
6288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6289 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6291 # Check whether --enable-logdialog or --disable-logdialog was given.
6292 if test "${enable_logdialog+set}" = set; then
6293 enableval="$enable_logdialog"
6295 if test "$enableval" = yes; then
6296 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6298 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6303 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6304 if test "x$LINE" != x ; then
6305 eval "DEFAULT_$LINE"
6310 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6314 eval "$ac_cv_use_logdialog"
6315 if test "$no_cache" != 1; then
6316 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6319 if test "$wxUSE_LOGDIALOG" = yes; then
6320 echo "$as_me:$LINENO: result: yes" >&5
6321 echo "${ECHO_T}yes" >&6
6323 echo "$as_me:$LINENO: result: no" >&5
6324 echo "${ECHO_T}no" >&6
6330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6331 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6333 # Check whether --enable-postscript or --disable-postscript was given.
6334 if test "${enable_postscript+set}" = set; then
6335 enableval="$enable_postscript"
6337 if test "$enableval" = yes; then
6338 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
6340 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
6345 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6346 if test "x$LINE" != x ; then
6347 eval "DEFAULT_$LINE"
6352 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
6356 eval "$ac_cv_use_postscript"
6357 if test "$no_cache" != 1; then
6358 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6361 if test "$wxUSE_POSTSCRIPT" = yes; then
6362 echo "$as_me:$LINENO: result: yes" >&5
6363 echo "${ECHO_T}yes" >&6
6365 echo "$as_me:$LINENO: result: no" >&5
6366 echo "${ECHO_T}no" >&6
6374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6377 # Check whether --enable-prologio or --disable-prologio was given.
6378 if test "${enable_prologio+set}" = set; then
6379 enableval="$enable_prologio"
6381 if test "$enableval" = yes; then
6382 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
6384 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
6389 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x ; then
6391 eval "DEFAULT_$LINE"
6396 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
6400 eval "$ac_cv_use_prologio"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6405 if test "$wxUSE_PROLOGIO" = yes; then
6406 echo "$as_me:$LINENO: result: yes" >&5
6407 echo "${ECHO_T}yes" >&6
6409 echo "$as_me:$LINENO: result: no" >&5
6410 echo "${ECHO_T}no" >&6
6415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6416 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6418 # Check whether --enable-resources or --disable-resources was given.
6419 if test "${enable_resources+set}" = set; then
6420 enableval="$enable_resources"
6422 if test "$enableval" = yes; then
6423 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
6425 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
6430 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6431 if test "x$LINE" != x ; then
6432 eval "DEFAULT_$LINE"
6437 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
6441 eval "$ac_cv_use_resources"
6442 if test "$no_cache" != 1; then
6443 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6446 if test "$wxUSE_RESOURCES" = yes; then
6447 echo "$as_me:$LINENO: result: yes" >&5
6448 echo "${ECHO_T}yes" >&6
6450 echo "$as_me:$LINENO: result: no" >&5
6451 echo "${ECHO_T}no" >&6
6458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6459 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6461 # Check whether --enable-clipboard or --disable-clipboard was given.
6462 if test "${enable_clipboard+set}" = set; then
6463 enableval="$enable_clipboard"
6465 if test "$enableval" = yes; then
6466 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6468 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6473 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6474 if test "x$LINE" != x ; then
6475 eval "DEFAULT_$LINE"
6480 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6484 eval "$ac_cv_use_clipboard"
6485 if test "$no_cache" != 1; then
6486 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6489 if test "$wxUSE_CLIPBOARD" = yes; then
6490 echo "$as_me:$LINENO: result: yes" >&5
6491 echo "${ECHO_T}yes" >&6
6493 echo "$as_me:$LINENO: result: no" >&5
6494 echo "${ECHO_T}no" >&6
6499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6502 # Check whether --enable-dnd or --disable-dnd was given.
6503 if test "${enable_dnd+set}" = set; then
6504 enableval="$enable_dnd"
6506 if test "$enableval" = yes; then
6507 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6509 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6514 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6515 if test "x$LINE" != x ; then
6516 eval "DEFAULT_$LINE"
6521 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6525 eval "$ac_cv_use_dnd"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6530 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6531 echo "$as_me:$LINENO: result: yes" >&5
6532 echo "${ECHO_T}yes" >&6
6534 echo "$as_me:$LINENO: result: no" >&5
6535 echo "${ECHO_T}no" >&6
6540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6543 # Check whether --enable-metafile or --disable-metafile was given.
6544 if test "${enable_metafile+set}" = set; then
6545 enableval="$enable_metafile"
6547 if test "$enableval" = yes; then
6548 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6550 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6555 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x ; then
6557 eval "DEFAULT_$LINE"
6562 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6566 eval "$ac_cv_use_metafile"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6571 if test "$wxUSE_METAFILE" = yes; then
6572 echo "$as_me:$LINENO: result: yes" >&5
6573 echo "${ECHO_T}yes" >&6
6575 echo "$as_me:$LINENO: result: no" >&5
6576 echo "${ECHO_T}no" >&6
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6587 # Check whether --enable-controls or --disable-controls was given.
6588 if test "${enable_controls+set}" = set; then
6589 enableval="$enable_controls"
6591 if test "$enableval" = yes; then
6592 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6594 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6599 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x ; then
6601 eval "DEFAULT_$LINE"
6606 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6610 eval "$ac_cv_use_controls"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6615 if test "$wxUSE_CONTROLS" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6624 if test "$wxUSE_CONTROLS" = "yes"; then
6625 DEFAULT_wxUSE_ACCEL=yes
6626 DEFAULT_wxUSE_BMPBUTTON=yes
6627 DEFAULT_wxUSE_BUTTON=yes
6628 DEFAULT_wxUSE_CALCTRL=no
6629 DEFAULT_wxUSE_CARET=yes
6630 DEFAULT_wxUSE_COMBOBOX=yes
6631 DEFAULT_wxUSE_CHECKBOX=yes
6632 DEFAULT_wxUSE_CHECKLISTBOX=yes
6633 DEFAULT_wxUSE_CHOICE=yes
6634 DEFAULT_wxUSE_GAUGE=yes
6635 DEFAULT_wxUSE_GRID=yes
6636 DEFAULT_wxUSE_IMAGLIST=yes
6637 DEFAULT_wxUSE_LISTBOOK=yes
6638 DEFAULT_wxUSE_LISTBOX=yes
6639 DEFAULT_wxUSE_LISTCTRL=yes
6640 DEFAULT_wxUSE_NOTEBOOK=yes
6641 DEFAULT_wxUSE_RADIOBOX=yes
6642 DEFAULT_wxUSE_RADIOBTN=yes
6643 DEFAULT_wxUSE_SASH=yes
6644 DEFAULT_wxUSE_SCROLLBAR=yes
6645 DEFAULT_wxUSE_SLIDER=yes
6646 DEFAULT_wxUSE_SPINBTN=yes
6647 DEFAULT_wxUSE_SPINCTRL=yes
6648 DEFAULT_wxUSE_SPLITTER=yes
6649 DEFAULT_wxUSE_STATBMP=yes
6650 DEFAULT_wxUSE_STATBOX=yes
6651 DEFAULT_wxUSE_STATLINE=yes
6652 DEFAULT_wxUSE_STATUSBAR=yes
6653 DEFAULT_wxUSE_TAB_DIALOG=yes
6654 DEFAULT_wxUSE_TOGGLEBTN=yes
6655 DEFAULT_wxUSE_TOOLBAR=yes
6656 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6657 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6658 DEFAULT_wxUSE_TOOLTIPS=yes
6659 DEFAULT_wxUSE_TREECTRL=yes
6660 DEFAULT_wxUSE_POPUPWIN=yes
6661 DEFAULT_wxUSE_TIPWINDOW=yes
6662 elif test "$wxUSE_CONTROLS" = "no"; then
6663 DEFAULT_wxUSE_ACCEL=no
6664 DEFAULT_wxUSE_BMPBUTTON=no
6665 DEFAULT_wxUSE_BUTTON=no
6666 DEFAULT_wxUSE_CALCTRL=no
6667 DEFAULT_wxUSE_CARET=no
6668 DEFAULT_wxUSE_COMBOBOX=no
6669 DEFAULT_wxUSE_CHECKBOX=no
6670 DEFAULT_wxUSE_CHECKLISTBOX=no
6671 DEFAULT_wxUSE_CHOICE=no
6672 DEFAULT_wxUSE_GAUGE=no
6673 DEFAULT_wxUSE_GRID=no
6674 DEFAULT_wxUSE_IMAGLIST=no
6675 DEFAULT_wxUSE_LISTBOOK=no
6676 DEFAULT_wxUSE_LISTBOX=no
6677 DEFAULT_wxUSE_LISTCTRL=no
6678 DEFAULT_wxUSE_NOTEBOOK=no
6679 DEFAULT_wxUSE_RADIOBOX=no
6680 DEFAULT_wxUSE_RADIOBTN=no
6681 DEFAULT_wxUSE_SASH=no
6682 DEFAULT_wxUSE_SCROLLBAR=no
6683 DEFAULT_wxUSE_SLIDER=no
6684 DEFAULT_wxUSE_SPINBTN=no
6685 DEFAULT_wxUSE_SPINCTRL=no
6686 DEFAULT_wxUSE_SPLITTER=no
6687 DEFAULT_wxUSE_STATBMP=no
6688 DEFAULT_wxUSE_STATBOX=no
6689 DEFAULT_wxUSE_STATLINE=no
6690 DEFAULT_wxUSE_STATUSBAR=no
6691 DEFAULT_wxUSE_TAB_DIALOG=no
6692 DEFAULT_wxUSE_TOGGLEBTN=no
6693 DEFAULT_wxUSE_TOOLBAR=no
6694 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6695 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6696 DEFAULT_wxUSE_TOOLTIPS=no
6697 DEFAULT_wxUSE_TREECTRL=no
6698 DEFAULT_wxUSE_POPUPWIN=no
6699 DEFAULT_wxUSE_TIPWINDOW=no
6702 ## FIXME: This is a blatant hack
6703 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6704 wxUSE_PRINTING_ARCHITECTURE=no
6705 wxUSE_DRAG_AND_DROP=no
6706 # Generic notebook requires tab dialog
6707 DEFAULT_wxUSE_TABDIALOG=yes
6708 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6709 DEFAULT_wxUSE_SCROLLBAR=no
6710 DEFAULT_wxUSE_TOOLTIPS=no
6711 DEFAULT_wxUSE_DRAGIMAGE=no
6716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6717 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6719 # Check whether --enable-accel or --disable-accel was given.
6720 if test "${enable_accel+set}" = set; then
6721 enableval="$enable_accel"
6723 if test "$enableval" = yes; then
6724 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6726 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6731 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6732 if test "x$LINE" != x ; then
6733 eval "DEFAULT_$LINE"
6738 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6742 eval "$ac_cv_use_accel"
6743 if test "$no_cache" != 1; then
6744 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6747 if test "$wxUSE_ACCEL" = yes; then
6748 echo "$as_me:$LINENO: result: yes" >&5
6749 echo "${ECHO_T}yes" >&6
6751 echo "$as_me:$LINENO: result: no" >&5
6752 echo "${ECHO_T}no" >&6
6757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6758 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6760 # Check whether --enable-button or --disable-button was given.
6761 if test "${enable_button+set}" = set; then
6762 enableval="$enable_button"
6764 if test "$enableval" = yes; then
6765 ac_cv_use_button='wxUSE_BUTTON
=yes'
6767 ac_cv_use_button='wxUSE_BUTTON
=no
'
6772 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x ; then
6774 eval "DEFAULT_$LINE"
6779 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6783 eval "$ac_cv_use_button"
6784 if test "$no_cache" != 1; then
6785 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6788 if test "$wxUSE_BUTTON" = yes; then
6789 echo "$as_me:$LINENO: result: yes" >&5
6790 echo "${ECHO_T}yes" >&6
6792 echo "$as_me:$LINENO: result: no" >&5
6793 echo "${ECHO_T}no" >&6
6798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6799 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6801 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6802 if test "${enable_bmpbutton+set}" = set; then
6803 enableval="$enable_bmpbutton"
6805 if test "$enableval" = yes; then
6806 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6808 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6813 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x ; then
6815 eval "DEFAULT_$LINE"
6820 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6824 eval "$ac_cv_use_bmpbutton"
6825 if test "$no_cache" != 1; then
6826 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6829 if test "$wxUSE_BMPBUTTON" = yes; then
6830 echo "$as_me:$LINENO: result: yes" >&5
6831 echo "${ECHO_T}yes" >&6
6833 echo "$as_me:$LINENO: result: no" >&5
6834 echo "${ECHO_T}no" >&6
6839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6840 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6842 # Check whether --enable-calendar or --disable-calendar was given.
6843 if test "${enable_calendar+set}" = set; then
6844 enableval="$enable_calendar"
6846 if test "$enableval" = yes; then
6847 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6849 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6854 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x ; then
6856 eval "DEFAULT_$LINE"
6861 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6865 eval "$ac_cv_use_calendar"
6866 if test "$no_cache" != 1; then
6867 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6870 if test "$wxUSE_CALCTRL" = yes; then
6871 echo "$as_me:$LINENO: result: yes" >&5
6872 echo "${ECHO_T}yes" >&6
6874 echo "$as_me:$LINENO: result: no" >&5
6875 echo "${ECHO_T}no" >&6
6880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6881 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6883 # Check whether --enable-caret or --disable-caret was given.
6884 if test "${enable_caret+set}" = set; then
6885 enableval="$enable_caret"
6887 if test "$enableval" = yes; then
6888 ac_cv_use_caret='wxUSE_CARET
=yes'
6890 ac_cv_use_caret='wxUSE_CARET
=no
'
6895 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x ; then
6897 eval "DEFAULT_$LINE"
6902 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6906 eval "$ac_cv_use_caret"
6907 if test "$no_cache" != 1; then
6908 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6911 if test "$wxUSE_CARET" = yes; then
6912 echo "$as_me:$LINENO: result: yes" >&5
6913 echo "${ECHO_T}yes" >&6
6915 echo "$as_me:$LINENO: result: no" >&5
6916 echo "${ECHO_T}no" >&6
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6922 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6924 # Check whether --enable-checkbox or --disable-checkbox was given.
6925 if test "${enable_checkbox+set}" = set; then
6926 enableval="$enable_checkbox"
6928 if test "$enableval" = yes; then
6929 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6931 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6936 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x ; then
6938 eval "DEFAULT_$LINE"
6943 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6947 eval "$ac_cv_use_checkbox"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6952 if test "$wxUSE_CHECKBOX" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954 echo "${ECHO_T}yes" >&6
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6963 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6965 # Check whether --enable-checklst or --disable-checklst was given.
6966 if test "${enable_checklst+set}" = set; then
6967 enableval="$enable_checklst"
6969 if test "$enableval" = yes; then
6970 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
6972 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
6977 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6984 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
6988 eval "$ac_cv_use_checklst"
6989 if test "$no_cache" != 1; then
6990 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6993 if test "$wxUSE_CHECKLST" = yes; then
6994 echo "$as_me:$LINENO: result: yes" >&5
6995 echo "${ECHO_T}yes" >&6
6997 echo "$as_me:$LINENO: result: no" >&5
6998 echo "${ECHO_T}no" >&6
7003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7004 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7006 # Check whether --enable-choice or --disable-choice was given.
7007 if test "${enable_choice+set}" = set; then
7008 enableval="$enable_choice"
7010 if test "$enableval" = yes; then
7011 ac_cv_use_choice='wxUSE_CHOICE
=yes'
7013 ac_cv_use_choice='wxUSE_CHOICE
=no
'
7018 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7019 if test "x$LINE" != x ; then
7020 eval "DEFAULT_$LINE"
7025 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
7029 eval "$ac_cv_use_choice"
7030 if test "$no_cache" != 1; then
7031 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7034 if test "$wxUSE_CHOICE" = yes; then
7035 echo "$as_me:$LINENO: result: yes" >&5
7036 echo "${ECHO_T}yes" >&6
7038 echo "$as_me:$LINENO: result: no" >&5
7039 echo "${ECHO_T}no" >&6
7044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7045 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7047 # Check whether --enable-combobox or --disable-combobox was given.
7048 if test "${enable_combobox+set}" = set; then
7049 enableval="$enable_combobox"
7051 if test "$enableval" = yes; then
7052 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
7054 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
7059 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7060 if test "x$LINE" != x ; then
7061 eval "DEFAULT_$LINE"
7066 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7070 eval "$ac_cv_use_combobox"
7071 if test "$no_cache" != 1; then
7072 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7075 if test "$wxUSE_COMBOBOX" = yes; then
7076 echo "$as_me:$LINENO: result: yes" >&5
7077 echo "${ECHO_T}yes" >&6
7079 echo "$as_me:$LINENO: result: no" >&5
7080 echo "${ECHO_T}no" >&6
7085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7086 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7088 # Check whether --enable-display or --disable-display was given.
7089 if test "${enable_display+set}" = set; then
7090 enableval="$enable_display"
7092 if test "$enableval" = yes; then
7093 ac_cv_use_display='wxUSE_DISPLAY
=yes'
7095 ac_cv_use_display='wxUSE_DISPLAY
=no
'
7100 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x ; then
7102 eval "DEFAULT_$LINE"
7107 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
7111 eval "$ac_cv_use_display"
7112 if test "$no_cache" != 1; then
7113 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7116 if test "$wxUSE_DISPLAY" = yes; then
7117 echo "$as_me:$LINENO: result: yes" >&5
7118 echo "${ECHO_T}yes" >&6
7120 echo "$as_me:$LINENO: result: no" >&5
7121 echo "${ECHO_T}no" >&6
7126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7127 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7129 # Check whether --enable-gauge or --disable-gauge was given.
7130 if test "${enable_gauge+set}" = set; then
7131 enableval="$enable_gauge"
7133 if test "$enableval" = yes; then
7134 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7136 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7141 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7142 if test "x$LINE" != x ; then
7143 eval "DEFAULT_$LINE"
7148 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7152 eval "$ac_cv_use_gauge"
7153 if test "$no_cache" != 1; then
7154 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7157 if test "$wxUSE_GAUGE" = yes; then
7158 echo "$as_me:$LINENO: result: yes" >&5
7159 echo "${ECHO_T}yes" >&6
7161 echo "$as_me:$LINENO: result: no" >&5
7162 echo "${ECHO_T}no" >&6
7167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7168 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7170 # Check whether --enable-grid or --disable-grid was given.
7171 if test "${enable_grid+set}" = set; then
7172 enableval="$enable_grid"
7174 if test "$enableval" = yes; then
7175 ac_cv_use_grid='wxUSE_GRID
=yes'
7177 ac_cv_use_grid='wxUSE_GRID
=no
'
7182 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7183 if test "x$LINE" != x ; then
7184 eval "DEFAULT_$LINE"
7189 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7193 eval "$ac_cv_use_grid"
7194 if test "$no_cache" != 1; then
7195 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7198 if test "$wxUSE_GRID" = yes; then
7199 echo "$as_me:$LINENO: result: yes" >&5
7200 echo "${ECHO_T}yes" >&6
7202 echo "$as_me:$LINENO: result: no" >&5
7203 echo "${ECHO_T}no" >&6
7208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7209 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7211 # Check whether --enable-imaglist or --disable-imaglist was given.
7212 if test "${enable_imaglist+set}" = set; then
7213 enableval="$enable_imaglist"
7215 if test "$enableval" = yes; then
7216 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7218 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7223 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7224 if test "x$LINE" != x ; then
7225 eval "DEFAULT_$LINE"
7230 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7234 eval "$ac_cv_use_imaglist"
7235 if test "$no_cache" != 1; then
7236 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7239 if test "$wxUSE_IMAGLIST" = yes; then
7240 echo "$as_me:$LINENO: result: yes" >&5
7241 echo "${ECHO_T}yes" >&6
7243 echo "$as_me:$LINENO: result: no" >&5
7244 echo "${ECHO_T}no" >&6
7249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7250 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7252 # Check whether --enable-listbook or --disable-listbook was given.
7253 if test "${enable_listbook+set}" = set; then
7254 enableval="$enable_listbook"
7256 if test "$enableval" = yes; then
7257 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
7259 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
7264 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x ; then
7266 eval "DEFAULT_$LINE"
7271 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
7275 eval "$ac_cv_use_listbook"
7276 if test "$no_cache" != 1; then
7277 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7280 if test "$wxUSE_LISTBOOK" = yes; then
7281 echo "$as_me:$LINENO: result: yes" >&5
7282 echo "${ECHO_T}yes" >&6
7284 echo "$as_me:$LINENO: result: no" >&5
7285 echo "${ECHO_T}no" >&6
7290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7291 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7293 # Check whether --enable-listbox or --disable-listbox was given.
7294 if test "${enable_listbox+set}" = set; then
7295 enableval="$enable_listbox"
7297 if test "$enableval" = yes; then
7298 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7300 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7305 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7306 if test "x$LINE" != x ; then
7307 eval "DEFAULT_$LINE"
7312 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7316 eval "$ac_cv_use_listbox"
7317 if test "$no_cache" != 1; then
7318 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7321 if test "$wxUSE_LISTBOX" = yes; then
7322 echo "$as_me:$LINENO: result: yes" >&5
7323 echo "${ECHO_T}yes" >&6
7325 echo "$as_me:$LINENO: result: no" >&5
7326 echo "${ECHO_T}no" >&6
7331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7332 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7334 # Check whether --enable-listctrl or --disable-listctrl was given.
7335 if test "${enable_listctrl+set}" = set; then
7336 enableval="$enable_listctrl"
7338 if test "$enableval" = yes; then
7339 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7341 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7346 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7347 if test "x$LINE" != x ; then
7348 eval "DEFAULT_$LINE"
7353 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7357 eval "$ac_cv_use_listctrl"
7358 if test "$no_cache" != 1; then
7359 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7362 if test "$wxUSE_LISTCTRL" = yes; then
7363 echo "$as_me:$LINENO: result: yes" >&5
7364 echo "${ECHO_T}yes" >&6
7366 echo "$as_me:$LINENO: result: no" >&5
7367 echo "${ECHO_T}no" >&6
7372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7373 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7375 # Check whether --enable-notebook or --disable-notebook was given.
7376 if test "${enable_notebook+set}" = set; then
7377 enableval="$enable_notebook"
7379 if test "$enableval" = yes; then
7380 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7382 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7387 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7388 if test "x$LINE" != x ; then
7389 eval "DEFAULT_$LINE"
7394 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7398 eval "$ac_cv_use_notebook"
7399 if test "$no_cache" != 1; then
7400 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7403 if test "$wxUSE_NOTEBOOK" = yes; then
7404 echo "$as_me:$LINENO: result: yes" >&5
7405 echo "${ECHO_T}yes" >&6
7407 echo "$as_me:$LINENO: result: no" >&5
7408 echo "${ECHO_T}no" >&6
7413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7414 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7416 # Check whether --enable-radiobox or --disable-radiobox was given.
7417 if test "${enable_radiobox+set}" = set; then
7418 enableval="$enable_radiobox"
7420 if test "$enableval" = yes; then
7421 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7423 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7428 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7429 if test "x$LINE" != x ; then
7430 eval "DEFAULT_$LINE"
7435 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7439 eval "$ac_cv_use_radiobox"
7440 if test "$no_cache" != 1; then
7441 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7444 if test "$wxUSE_RADIOBOX" = yes; then
7445 echo "$as_me:$LINENO: result: yes" >&5
7446 echo "${ECHO_T}yes" >&6
7448 echo "$as_me:$LINENO: result: no" >&5
7449 echo "${ECHO_T}no" >&6
7454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7455 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7457 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7458 if test "${enable_radiobtn+set}" = set; then
7459 enableval="$enable_radiobtn"
7461 if test "$enableval" = yes; then
7462 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7464 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7469 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7470 if test "x$LINE" != x ; then
7471 eval "DEFAULT_$LINE"
7476 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7480 eval "$ac_cv_use_radiobtn"
7481 if test "$no_cache" != 1; then
7482 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7485 if test "$wxUSE_RADIOBTN" = yes; then
7486 echo "$as_me:$LINENO: result: yes" >&5
7487 echo "${ECHO_T}yes" >&6
7489 echo "$as_me:$LINENO: result: no" >&5
7490 echo "${ECHO_T}no" >&6
7495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7496 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7498 # Check whether --enable-sash or --disable-sash was given.
7499 if test "${enable_sash+set}" = set; then
7500 enableval="$enable_sash"
7502 if test "$enableval" = yes; then
7503 ac_cv_use_sash='wxUSE_SASH
=yes'
7505 ac_cv_use_sash='wxUSE_SASH
=no
'
7510 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7511 if test "x$LINE" != x ; then
7512 eval "DEFAULT_$LINE"
7517 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7521 eval "$ac_cv_use_sash"
7522 if test "$no_cache" != 1; then
7523 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7526 if test "$wxUSE_SASH" = yes; then
7527 echo "$as_me:$LINENO: result: yes" >&5
7528 echo "${ECHO_T}yes" >&6
7530 echo "$as_me:$LINENO: result: no" >&5
7531 echo "${ECHO_T}no" >&6
7536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7537 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7539 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7540 if test "${enable_scrollbar+set}" = set; then
7541 enableval="$enable_scrollbar"
7543 if test "$enableval" = yes; then
7544 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7546 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7551 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7552 if test "x$LINE" != x ; then
7553 eval "DEFAULT_$LINE"
7558 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7562 eval "$ac_cv_use_scrollbar"
7563 if test "$no_cache" != 1; then
7564 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7567 if test "$wxUSE_SCROLLBAR" = yes; then
7568 echo "$as_me:$LINENO: result: yes" >&5
7569 echo "${ECHO_T}yes" >&6
7571 echo "$as_me:$LINENO: result: no" >&5
7572 echo "${ECHO_T}no" >&6
7577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7580 # Check whether --enable-slider or --disable-slider was given.
7581 if test "${enable_slider+set}" = set; then
7582 enableval="$enable_slider"
7584 if test "$enableval" = yes; then
7585 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7587 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7592 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7593 if test "x$LINE" != x ; then
7594 eval "DEFAULT_$LINE"
7599 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7603 eval "$ac_cv_use_slider"
7604 if test "$no_cache" != 1; then
7605 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7608 if test "$wxUSE_SLIDER" = yes; then
7609 echo "$as_me:$LINENO: result: yes" >&5
7610 echo "${ECHO_T}yes" >&6
7612 echo "$as_me:$LINENO: result: no" >&5
7613 echo "${ECHO_T}no" >&6
7618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7619 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7621 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7622 if test "${enable_spinbtn+set}" = set; then
7623 enableval="$enable_spinbtn"
7625 if test "$enableval" = yes; then
7626 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7628 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7633 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7634 if test "x$LINE" != x ; then
7635 eval "DEFAULT_$LINE"
7640 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7644 eval "$ac_cv_use_spinbtn"
7645 if test "$no_cache" != 1; then
7646 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7649 if test "$wxUSE_SPINBTN" = yes; then
7650 echo "$as_me:$LINENO: result: yes" >&5
7651 echo "${ECHO_T}yes" >&6
7653 echo "$as_me:$LINENO: result: no" >&5
7654 echo "${ECHO_T}no" >&6
7659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7660 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7662 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7663 if test "${enable_spinctrl+set}" = set; then
7664 enableval="$enable_spinctrl"
7666 if test "$enableval" = yes; then
7667 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7669 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7674 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7675 if test "x$LINE" != x ; then
7676 eval "DEFAULT_$LINE"
7681 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7685 eval "$ac_cv_use_spinctrl"
7686 if test "$no_cache" != 1; then
7687 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7690 if test "$wxUSE_SPINCTRL" = yes; then
7691 echo "$as_me:$LINENO: result: yes" >&5
7692 echo "${ECHO_T}yes" >&6
7694 echo "$as_me:$LINENO: result: no" >&5
7695 echo "${ECHO_T}no" >&6
7700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7701 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7703 # Check whether --enable-splitter or --disable-splitter was given.
7704 if test "${enable_splitter+set}" = set; then
7705 enableval="$enable_splitter"
7707 if test "$enableval" = yes; then
7708 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7710 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7715 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7716 if test "x$LINE" != x ; then
7717 eval "DEFAULT_$LINE"
7722 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7726 eval "$ac_cv_use_splitter"
7727 if test "$no_cache" != 1; then
7728 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7731 if test "$wxUSE_SPLITTER" = yes; then
7732 echo "$as_me:$LINENO: result: yes" >&5
7733 echo "${ECHO_T}yes" >&6
7735 echo "$as_me:$LINENO: result: no" >&5
7736 echo "${ECHO_T}no" >&6
7741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7742 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7744 # Check whether --enable-statbmp or --disable-statbmp was given.
7745 if test "${enable_statbmp+set}" = set; then
7746 enableval="$enable_statbmp"
7748 if test "$enableval" = yes; then
7749 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7751 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7756 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7757 if test "x$LINE" != x ; then
7758 eval "DEFAULT_$LINE"
7763 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7767 eval "$ac_cv_use_statbmp"
7768 if test "$no_cache" != 1; then
7769 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7772 if test "$wxUSE_STATBMP" = yes; then
7773 echo "$as_me:$LINENO: result: yes" >&5
7774 echo "${ECHO_T}yes" >&6
7776 echo "$as_me:$LINENO: result: no" >&5
7777 echo "${ECHO_T}no" >&6
7782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7783 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7785 # Check whether --enable-statbox or --disable-statbox was given.
7786 if test "${enable_statbox+set}" = set; then
7787 enableval="$enable_statbox"
7789 if test "$enableval" = yes; then
7790 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7792 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7797 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7798 if test "x$LINE" != x ; then
7799 eval "DEFAULT_$LINE"
7804 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7808 eval "$ac_cv_use_statbox"
7809 if test "$no_cache" != 1; then
7810 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7813 if test "$wxUSE_STATBOX" = yes; then
7814 echo "$as_me:$LINENO: result: yes" >&5
7815 echo "${ECHO_T}yes" >&6
7817 echo "$as_me:$LINENO: result: no" >&5
7818 echo "${ECHO_T}no" >&6
7823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7824 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7826 # Check whether --enable-statline or --disable-statline was given.
7827 if test "${enable_statline+set}" = set; then
7828 enableval="$enable_statline"
7830 if test "$enableval" = yes; then
7831 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7833 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7838 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7839 if test "x$LINE" != x ; then
7840 eval "DEFAULT_$LINE"
7845 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7849 eval "$ac_cv_use_statline"
7850 if test "$no_cache" != 1; then
7851 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7854 if test "$wxUSE_STATLINE" = yes; then
7855 echo "$as_me:$LINENO: result: yes" >&5
7856 echo "${ECHO_T}yes" >&6
7858 echo "$as_me:$LINENO: result: no" >&5
7859 echo "${ECHO_T}no" >&6
7864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7865 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7867 # Check whether --enable-stattext or --disable-stattext was given.
7868 if test "${enable_stattext+set}" = set; then
7869 enableval="$enable_stattext"
7871 if test "$enableval" = yes; then
7872 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7874 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7879 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7880 if test "x$LINE" != x ; then
7881 eval "DEFAULT_$LINE"
7886 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7890 eval "$ac_cv_use_stattext"
7891 if test "$no_cache" != 1; then
7892 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7895 if test "$wxUSE_STATTEXT" = yes; then
7896 echo "$as_me:$LINENO: result: yes" >&5
7897 echo "${ECHO_T}yes" >&6
7899 echo "$as_me:$LINENO: result: no" >&5
7900 echo "${ECHO_T}no" >&6
7905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7906 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7908 # Check whether --enable-statusbar or --disable-statusbar was given.
7909 if test "${enable_statusbar+set}" = set; then
7910 enableval="$enable_statusbar"
7912 if test "$enableval" = yes; then
7913 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7915 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7920 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7921 if test "x$LINE" != x ; then
7922 eval "DEFAULT_$LINE"
7927 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7931 eval "$ac_cv_use_statusbar"
7932 if test "$no_cache" != 1; then
7933 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7936 if test "$wxUSE_STATUSBAR" = yes; then
7937 echo "$as_me:$LINENO: result: yes" >&5
7938 echo "${ECHO_T}yes" >&6
7940 echo "$as_me:$LINENO: result: no" >&5
7941 echo "${ECHO_T}no" >&6
7946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7947 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7949 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7950 if test "${enable_tabdialog+set}" = set; then
7951 enableval="$enable_tabdialog"
7953 if test "$enableval" = yes; then
7954 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7956 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7961 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7962 if test "x$LINE" != x ; then
7963 eval "DEFAULT_$LINE"
7968 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
7972 eval "$ac_cv_use_tabdialog"
7973 if test "$no_cache" != 1; then
7974 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7977 if test "$wxUSE_TABDIALOG" = yes; then
7978 echo "$as_me:$LINENO: result: yes" >&5
7979 echo "${ECHO_T}yes" >&6
7981 echo "$as_me:$LINENO: result: no" >&5
7982 echo "${ECHO_T}no" >&6
7987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7988 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7990 # Check whether --enable-textctrl or --disable-textctrl was given.
7991 if test "${enable_textctrl+set}" = set; then
7992 enableval="$enable_textctrl"
7994 if test "$enableval" = yes; then
7995 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
7997 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
8002 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8003 if test "x$LINE" != x ; then
8004 eval "DEFAULT_$LINE"
8009 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
8013 eval "$ac_cv_use_textctrl"
8014 if test "$no_cache" != 1; then
8015 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8018 if test "$wxUSE_TEXTCTRL" = yes; then
8019 echo "$as_me:$LINENO: result: yes" >&5
8020 echo "${ECHO_T}yes" >&6
8022 echo "$as_me:$LINENO: result: no" >&5
8023 echo "${ECHO_T}no" >&6
8028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8029 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8031 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8032 if test "${enable_togglebtn+set}" = set; then
8033 enableval="$enable_togglebtn"
8035 if test "$enableval" = yes; then
8036 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
8038 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
8043 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8044 if test "x$LINE" != x ; then
8045 eval "DEFAULT_$LINE"
8050 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
8054 eval "$ac_cv_use_togglebtn"
8055 if test "$no_cache" != 1; then
8056 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8059 if test "$wxUSE_TOGGLEBTN" = yes; then
8060 echo "$as_me:$LINENO: result: yes" >&5
8061 echo "${ECHO_T}yes" >&6
8063 echo "$as_me:$LINENO: result: no" >&5
8064 echo "${ECHO_T}no" >&6
8069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8070 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8072 # Check whether --enable-toolbar or --disable-toolbar was given.
8073 if test "${enable_toolbar+set}" = set; then
8074 enableval="$enable_toolbar"
8076 if test "$enableval" = yes; then
8077 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
8079 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
8084 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x ; then
8086 eval "DEFAULT_$LINE"
8091 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
8095 eval "$ac_cv_use_toolbar"
8096 if test "$no_cache" != 1; then
8097 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8100 if test "$wxUSE_TOOLBAR" = yes; then
8101 echo "$as_me:$LINENO: result: yes" >&5
8102 echo "${ECHO_T}yes" >&6
8104 echo "$as_me:$LINENO: result: no" >&5
8105 echo "${ECHO_T}no" >&6
8110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8111 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8113 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8114 if test "${enable_tbarnative+set}" = set; then
8115 enableval="$enable_tbarnative"
8117 if test "$enableval" = yes; then
8118 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
8120 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
8125 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8126 if test "x$LINE" != x ; then
8127 eval "DEFAULT_$LINE"
8132 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8136 eval "$ac_cv_use_tbarnative"
8137 if test "$no_cache" != 1; then
8138 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8141 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8142 echo "$as_me:$LINENO: result: yes" >&5
8143 echo "${ECHO_T}yes" >&6
8145 echo "$as_me:$LINENO: result: no" >&5
8146 echo "${ECHO_T}no" >&6
8151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8152 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8154 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8155 if test "${enable_tbarsmpl+set}" = set; then
8156 enableval="$enable_tbarsmpl"
8158 if test "$enableval" = yes; then
8159 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
8161 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
8166 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8167 if test "x$LINE" != x ; then
8168 eval "DEFAULT_$LINE"
8173 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8177 eval "$ac_cv_use_tbarsmpl"
8178 if test "$no_cache" != 1; then
8179 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8182 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8183 echo "$as_me:$LINENO: result: yes" >&5
8184 echo "${ECHO_T}yes" >&6
8186 echo "$as_me:$LINENO: result: no" >&5
8187 echo "${ECHO_T}no" >&6
8192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8193 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8195 # Check whether --enable-treectrl or --disable-treectrl was given.
8196 if test "${enable_treectrl+set}" = set; then
8197 enableval="$enable_treectrl"
8199 if test "$enableval" = yes; then
8200 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8202 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8207 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8208 if test "x$LINE" != x ; then
8209 eval "DEFAULT_$LINE"
8214 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8218 eval "$ac_cv_use_treectrl"
8219 if test "$no_cache" != 1; then
8220 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8223 if test "$wxUSE_TREECTRL" = yes; then
8224 echo "$as_me:$LINENO: result: yes" >&5
8225 echo "${ECHO_T}yes" >&6
8227 echo "$as_me:$LINENO: result: no" >&5
8228 echo "${ECHO_T}no" >&6
8233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8234 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8236 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8237 if test "${enable_tipwindow+set}" = set; then
8238 enableval="$enable_tipwindow"
8240 if test "$enableval" = yes; then
8241 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8243 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8248 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8249 if test "x$LINE" != x ; then
8250 eval "DEFAULT_$LINE"
8255 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8259 eval "$ac_cv_use_tipwindow"
8260 if test "$no_cache" != 1; then
8261 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8264 if test "$wxUSE_TIPWINDOW" = yes; then
8265 echo "$as_me:$LINENO: result: yes" >&5
8266 echo "${ECHO_T}yes" >&6
8268 echo "$as_me:$LINENO: result: no" >&5
8269 echo "${ECHO_T}no" >&6
8274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8275 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8277 # Check whether --enable-popupwin or --disable-popupwin was given.
8278 if test "${enable_popupwin+set}" = set; then
8279 enableval="$enable_popupwin"
8281 if test "$enableval" = yes; then
8282 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8284 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8289 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8290 if test "x$LINE" != x ; then
8291 eval "DEFAULT_$LINE"
8296 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8300 eval "$ac_cv_use_popupwin"
8301 if test "$no_cache" != 1; then
8302 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8305 if test "$wxUSE_POPUPWIN" = yes; then
8306 echo "$as_me:$LINENO: result: yes" >&5
8307 echo "${ECHO_T}yes" >&6
8309 echo "$as_me:$LINENO: result: no" >&5
8310 echo "${ECHO_T}no" >&6
8317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8320 # Check whether --enable-commondlg or --disable-commondlg was given.
8321 if test "${enable_commondlg+set}" = set; then
8322 enableval="$enable_commondlg"
8324 if test "$enableval" = yes; then
8325 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8327 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8332 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8339 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8343 eval "$ac_cv_use_commondlg"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8348 if test "$wxUSE_COMMONDLGS" = yes; then
8349 echo "$as_me:$LINENO: result: yes" >&5
8350 echo "${ECHO_T}yes" >&6
8352 echo "$as_me:$LINENO: result: no" >&5
8353 echo "${ECHO_T}no" >&6
8358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8359 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8361 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8362 if test "${enable_choicedlg+set}" = set; then
8363 enableval="$enable_choicedlg"
8365 if test "$enableval" = yes; then
8366 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8368 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8373 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x ; then
8375 eval "DEFAULT_$LINE"
8380 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8384 eval "$ac_cv_use_choicedlg"
8385 if test "$no_cache" != 1; then
8386 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8389 if test "$wxUSE_CHOICEDLG" = yes; then
8390 echo "$as_me:$LINENO: result: yes" >&5
8391 echo "${ECHO_T}yes" >&6
8393 echo "$as_me:$LINENO: result: no" >&5
8394 echo "${ECHO_T}no" >&6
8399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8400 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8402 # Check whether --enable-coldlg or --disable-coldlg was given.
8403 if test "${enable_coldlg+set}" = set; then
8404 enableval="$enable_coldlg"
8406 if test "$enableval" = yes; then
8407 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8409 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8414 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8415 if test "x$LINE" != x ; then
8416 eval "DEFAULT_$LINE"
8421 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8425 eval "$ac_cv_use_coldlg"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8430 if test "$wxUSE_COLOURDLG" = yes; then
8431 echo "$as_me:$LINENO: result: yes" >&5
8432 echo "${ECHO_T}yes" >&6
8434 echo "$as_me:$LINENO: result: no" >&5
8435 echo "${ECHO_T}no" >&6
8440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8441 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8443 # Check whether --enable-filedlg or --disable-filedlg was given.
8444 if test "${enable_filedlg+set}" = set; then
8445 enableval="$enable_filedlg"
8447 if test "$enableval" = yes; then
8448 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8450 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8455 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x ; then
8457 eval "DEFAULT_$LINE"
8462 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8466 eval "$ac_cv_use_filedlg"
8467 if test "$no_cache" != 1; then
8468 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8471 if test "$wxUSE_FILEDLG" = yes; then
8472 echo "$as_me:$LINENO: result: yes" >&5
8473 echo "${ECHO_T}yes" >&6
8475 echo "$as_me:$LINENO: result: no" >&5
8476 echo "${ECHO_T}no" >&6
8481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8484 # Check whether --enable-finddlg or --disable-finddlg was given.
8485 if test "${enable_finddlg+set}" = set; then
8486 enableval="$enable_finddlg"
8488 if test "$enableval" = yes; then
8489 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8491 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8496 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x ; then
8498 eval "DEFAULT_$LINE"
8503 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8507 eval "$ac_cv_use_finddlg"
8508 if test "$no_cache" != 1; then
8509 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8512 if test "$wxUSE_FINDREPLDLG" = yes; then
8513 echo "$as_me:$LINENO: result: yes" >&5
8514 echo "${ECHO_T}yes" >&6
8516 echo "$as_me:$LINENO: result: no" >&5
8517 echo "${ECHO_T}no" >&6
8522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8525 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8526 if test "${enable_fontdlg+set}" = set; then
8527 enableval="$enable_fontdlg"
8529 if test "$enableval" = yes; then
8530 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8532 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8537 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8544 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8548 eval "$ac_cv_use_fontdlg"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8553 if test "$wxUSE_FONTDLG" = yes; then
8554 echo "$as_me:$LINENO: result: yes" >&5
8555 echo "${ECHO_T}yes" >&6
8557 echo "$as_me:$LINENO: result: no" >&5
8558 echo "${ECHO_T}no" >&6
8563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8564 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8566 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8567 if test "${enable_dirdlg+set}" = set; then
8568 enableval="$enable_dirdlg"
8570 if test "$enableval" = yes; then
8571 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8573 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8578 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8579 if test "x$LINE" != x ; then
8580 eval "DEFAULT_$LINE"
8585 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8589 eval "$ac_cv_use_dirdlg"
8590 if test "$no_cache" != 1; then
8591 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8594 if test "$wxUSE_DIRDLG" = yes; then
8595 echo "$as_me:$LINENO: result: yes" >&5
8596 echo "${ECHO_T}yes" >&6
8598 echo "$as_me:$LINENO: result: no" >&5
8599 echo "${ECHO_T}no" >&6
8604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8607 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8608 if test "${enable_msgdlg+set}" = set; then
8609 enableval="$enable_msgdlg"
8611 if test "$enableval" = yes; then
8612 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8614 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8619 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8620 if test "x$LINE" != x ; then
8621 eval "DEFAULT_$LINE"
8626 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8630 eval "$ac_cv_use_msgdlg"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8635 if test "$wxUSE_MSGDLG" = yes; then
8636 echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6
8639 echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6
8645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8648 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8649 if test "${enable_numberdlg+set}" = set; then
8650 enableval="$enable_numberdlg"
8652 if test "$enableval" = yes; then
8653 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8655 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8660 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8667 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8671 eval "$ac_cv_use_numberdlg"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8676 if test "$wxUSE_NUMBERDLG" = yes; then
8677 echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6
8680 echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6
8686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8689 # Check whether --enable-splash or --disable-splash was given.
8690 if test "${enable_splash+set}" = set; then
8691 enableval="$enable_splash"
8693 if test "$enableval" = yes; then
8694 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8696 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8701 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8702 if test "x$LINE" != x ; then
8703 eval "DEFAULT_$LINE"
8708 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8712 eval "$ac_cv_use_splash"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8717 if test "$wxUSE_SPLASH" = yes; then
8718 echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6
8721 echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6
8727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8728 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8730 # Check whether --enable-textdlg or --disable-textdlg was given.
8731 if test "${enable_textdlg+set}" = set; then
8732 enableval="$enable_textdlg"
8734 if test "$enableval" = yes; then
8735 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8737 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8742 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8743 if test "x$LINE" != x ; then
8744 eval "DEFAULT_$LINE"
8749 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8753 eval "$ac_cv_use_textdlg"
8754 if test "$no_cache" != 1; then
8755 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8758 if test "$wxUSE_TEXTDLG" = yes; then
8759 echo "$as_me:$LINENO: result: yes" >&5
8760 echo "${ECHO_T}yes" >&6
8762 echo "$as_me:$LINENO: result: no" >&5
8763 echo "${ECHO_T}no" >&6
8768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8771 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8772 if test "${enable_tipdlg+set}" = set; then
8773 enableval="$enable_tipdlg"
8775 if test "$enableval" = yes; then
8776 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8778 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8783 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x ; then
8785 eval "DEFAULT_$LINE"
8790 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8794 eval "$ac_cv_use_tipdlg"
8795 if test "$no_cache" != 1; then
8796 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8799 if test "$wxUSE_STARTUP_TIPS" = yes; then
8800 echo "$as_me:$LINENO: result: yes" >&5
8801 echo "${ECHO_T}yes" >&6
8803 echo "$as_me:$LINENO: result: no" >&5
8804 echo "${ECHO_T}no" >&6
8809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8812 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8813 if test "${enable_progressdlg+set}" = set; then
8814 enableval="$enable_progressdlg"
8816 if test "$enableval" = yes; then
8817 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8819 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8824 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8825 if test "x$LINE" != x ; then
8826 eval "DEFAULT_$LINE"
8831 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8835 eval "$ac_cv_use_progressdlg"
8836 if test "$no_cache" != 1; then
8837 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8840 if test "$wxUSE_PROGRESSDLG" = yes; then
8841 echo "$as_me:$LINENO: result: yes" >&5
8842 echo "${ECHO_T}yes" >&6
8844 echo "$as_me:$LINENO: result: no" >&5
8845 echo "${ECHO_T}no" >&6
8850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8851 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8853 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8854 if test "${enable_wizarddlg+set}" = set; then
8855 enableval="$enable_wizarddlg"
8857 if test "$enableval" = yes; then
8858 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8860 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8865 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8866 if test "x$LINE" != x ; then
8867 eval "DEFAULT_$LINE"
8872 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8876 eval "$ac_cv_use_wizarddlg"
8877 if test "$no_cache" != 1; then
8878 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8881 if test "$wxUSE_WIZARDDLG" = yes; then
8882 echo "$as_me:$LINENO: result: yes" >&5
8883 echo "${ECHO_T}yes" >&6
8885 echo "$as_me:$LINENO: result: no" >&5
8886 echo "${ECHO_T}no" >&6
8893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8896 # Check whether --enable-menus or --disable-menus was given.
8897 if test "${enable_menus+set}" = set; then
8898 enableval="$enable_menus"
8900 if test "$enableval" = yes; then
8901 ac_cv_use_menus='wxUSE_MENUS
=yes'
8903 ac_cv_use_menus='wxUSE_MENUS
=no
'
8908 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8909 if test "x$LINE" != x ; then
8910 eval "DEFAULT_$LINE"
8915 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8919 eval "$ac_cv_use_menus"
8920 if test "$no_cache" != 1; then
8921 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8924 if test "$wxUSE_MENUS" = yes; then
8925 echo "$as_me:$LINENO: result: yes" >&5
8926 echo "${ECHO_T}yes" >&6
8928 echo "$as_me:$LINENO: result: no" >&5
8929 echo "${ECHO_T}no" >&6
8934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8937 # Check whether --enable-miniframe or --disable-miniframe was given.
8938 if test "${enable_miniframe+set}" = set; then
8939 enableval="$enable_miniframe"
8941 if test "$enableval" = yes; then
8942 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8944 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8949 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8950 if test "x$LINE" != x ; then
8951 eval "DEFAULT_$LINE"
8956 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8960 eval "$ac_cv_use_miniframe"
8961 if test "$no_cache" != 1; then
8962 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8965 if test "$wxUSE_MINIFRAME" = yes; then
8966 echo "$as_me:$LINENO: result: yes" >&5
8967 echo "${ECHO_T}yes" >&6
8969 echo "$as_me:$LINENO: result: no" >&5
8970 echo "${ECHO_T}no" >&6
8975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8976 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8978 # Check whether --enable-tooltips or --disable-tooltips was given.
8979 if test "${enable_tooltips+set}" = set; then
8980 enableval="$enable_tooltips"
8982 if test "$enableval" = yes; then
8983 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
8985 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
8990 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8991 if test "x$LINE" != x ; then
8992 eval "DEFAULT_$LINE"
8997 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
9001 eval "$ac_cv_use_tooltips"
9002 if test "$no_cache" != 1; then
9003 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9006 if test "$wxUSE_TOOLTIPS" = yes; then
9007 echo "$as_me:$LINENO: result: yes" >&5
9008 echo "${ECHO_T}yes" >&6
9010 echo "$as_me:$LINENO: result: no" >&5
9011 echo "${ECHO_T}no" >&6
9016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9017 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9019 # Check whether --enable-splines or --disable-splines was given.
9020 if test "${enable_splines+set}" = set; then
9021 enableval="$enable_splines"
9023 if test "$enableval" = yes; then
9024 ac_cv_use_splines='wxUSE_SPLINES
=yes'
9026 ac_cv_use_splines='wxUSE_SPLINES
=no
'
9031 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9032 if test "x$LINE" != x ; then
9033 eval "DEFAULT_$LINE"
9038 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
9042 eval "$ac_cv_use_splines"
9043 if test "$no_cache" != 1; then
9044 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9047 if test "$wxUSE_SPLINES" = yes; then
9048 echo "$as_me:$LINENO: result: yes" >&5
9049 echo "${ECHO_T}yes" >&6
9051 echo "$as_me:$LINENO: result: no" >&5
9052 echo "${ECHO_T}no" >&6
9057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9058 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9060 # Check whether --enable-validators or --disable-validators was given.
9061 if test "${enable_validators+set}" = set; then
9062 enableval="$enable_validators"
9064 if test "$enableval" = yes; then
9065 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
9067 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
9072 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9073 if test "x$LINE" != x ; then
9074 eval "DEFAULT_$LINE"
9079 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
9083 eval "$ac_cv_use_validators"
9084 if test "$no_cache" != 1; then
9085 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9088 if test "$wxUSE_VALIDATORS" = yes; then
9089 echo "$as_me:$LINENO: result: yes" >&5
9090 echo "${ECHO_T}yes" >&6
9092 echo "$as_me:$LINENO: result: no" >&5
9093 echo "${ECHO_T}no" >&6
9098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9099 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9101 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9102 if test "${enable_busyinfo+set}" = set; then
9103 enableval="$enable_busyinfo"
9105 if test "$enableval" = yes; then
9106 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
9108 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
9113 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9114 if test "x$LINE" != x ; then
9115 eval "DEFAULT_$LINE"
9120 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
9124 eval "$ac_cv_use_busyinfo"
9125 if test "$no_cache" != 1; then
9126 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9129 if test "$wxUSE_BUSYINFO" = yes; then
9130 echo "$as_me:$LINENO: result: yes" >&5
9131 echo "${ECHO_T}yes" >&6
9133 echo "$as_me:$LINENO: result: no" >&5
9134 echo "${ECHO_T}no" >&6
9139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9140 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9142 # Check whether --enable-joystick or --disable-joystick was given.
9143 if test "${enable_joystick+set}" = set; then
9144 enableval="$enable_joystick"
9146 if test "$enableval" = yes; then
9147 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
9149 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
9154 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9155 if test "x$LINE" != x ; then
9156 eval "DEFAULT_$LINE"
9161 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
9165 eval "$ac_cv_use_joystick"
9166 if test "$no_cache" != 1; then
9167 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9170 if test "$wxUSE_JOYSTICK" = yes; then
9171 echo "$as_me:$LINENO: result: yes" >&5
9172 echo "${ECHO_T}yes" >&6
9174 echo "$as_me:$LINENO: result: no" >&5
9175 echo "${ECHO_T}no" >&6
9180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9181 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9183 # Check whether --enable-metafile or --disable-metafile was given.
9184 if test "${enable_metafile+set}" = set; then
9185 enableval="$enable_metafile"
9187 if test "$enableval" = yes; then
9188 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9190 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9195 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9196 if test "x$LINE" != x ; then
9197 eval "DEFAULT_$LINE"
9202 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9206 eval "$ac_cv_use_metafile"
9207 if test "$no_cache" != 1; then
9208 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9211 if test "$wxUSE_METAFILE" = yes; then
9212 echo "$as_me:$LINENO: result: yes" >&5
9213 echo "${ECHO_T}yes" >&6
9215 echo "$as_me:$LINENO: result: no" >&5
9216 echo "${ECHO_T}no" >&6
9221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9222 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9224 # Check whether --enable-dragimage or --disable-dragimage was given.
9225 if test "${enable_dragimage+set}" = set; then
9226 enableval="$enable_dragimage"
9228 if test "$enableval" = yes; then
9229 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
9231 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9236 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9237 if test "x$LINE" != x ; then
9238 eval "DEFAULT_$LINE"
9243 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9247 eval "$ac_cv_use_dragimage"
9248 if test "$no_cache" != 1; then
9249 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9252 if test "$wxUSE_DRAGIMAGE" = yes; then
9253 echo "$as_me:$LINENO: result: yes" >&5
9254 echo "${ECHO_T}yes" >&6
9256 echo "$as_me:$LINENO: result: no" >&5
9257 echo "${ECHO_T}no" >&6
9262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9263 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9265 # Check whether --enable-accessibility or --disable-accessibility was given.
9266 if test "${enable_accessibility+set}" = set; then
9267 enableval="$enable_accessibility"
9269 if test "$enableval" = yes; then
9270 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9272 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9277 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9278 if test "x$LINE" != x ; then
9279 eval "DEFAULT_$LINE"
9284 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9288 eval "$ac_cv_use_accessibility"
9289 if test "$no_cache" != 1; then
9290 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9293 if test "$wxUSE_ACCESSIBILITY" = yes; then
9294 echo "$as_me:$LINENO: result: yes" >&5
9295 echo "${ECHO_T}yes" >&6
9297 echo "$as_me:$LINENO: result: no" >&5
9298 echo "${ECHO_T}no" >&6
9305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9306 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9308 # Check whether --enable-palette or --disable-palette was given.
9309 if test "${enable_palette+set}" = set; then
9310 enableval="$enable_palette"
9312 if test "$enableval" = yes; then
9313 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9315 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9320 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9321 if test "x$LINE" != x ; then
9322 eval "DEFAULT_$LINE"
9327 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9331 eval "$ac_cv_use_palette"
9332 if test "$no_cache" != 1; then
9333 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9336 if test "$wxUSE_PALETTE" = yes; then
9337 echo "$as_me:$LINENO: result: yes" >&5
9338 echo "${ECHO_T}yes" >&6
9340 echo "$as_me:$LINENO: result: no" >&5
9341 echo "${ECHO_T}no" >&6
9346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9347 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9349 # Check whether --enable-image or --disable-image was given.
9350 if test "${enable_image+set}" = set; then
9351 enableval="$enable_image"
9353 if test "$enableval" = yes; then
9354 ac_cv_use_image='wxUSE_IMAGE
=yes'
9356 ac_cv_use_image='wxUSE_IMAGE
=no
'
9361 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9362 if test "x$LINE" != x ; then
9363 eval "DEFAULT_$LINE"
9368 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9372 eval "$ac_cv_use_image"
9373 if test "$no_cache" != 1; then
9374 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9377 if test "$wxUSE_IMAGE" = yes; then
9378 echo "$as_me:$LINENO: result: yes" >&5
9379 echo "${ECHO_T}yes" >&6
9381 echo "$as_me:$LINENO: result: no" >&5
9382 echo "${ECHO_T}no" >&6
9387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9388 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9390 # Check whether --enable-gif or --disable-gif was given.
9391 if test "${enable_gif+set}" = set; then
9392 enableval="$enable_gif"
9394 if test "$enableval" = yes; then
9395 ac_cv_use_gif='wxUSE_GIF
=yes'
9397 ac_cv_use_gif='wxUSE_GIF
=no
'
9402 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9403 if test "x$LINE" != x ; then
9404 eval "DEFAULT_$LINE"
9409 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9413 eval "$ac_cv_use_gif"
9414 if test "$no_cache" != 1; then
9415 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9418 if test "$wxUSE_GIF" = yes; then
9419 echo "$as_me:$LINENO: result: yes" >&5
9420 echo "${ECHO_T}yes" >&6
9422 echo "$as_me:$LINENO: result: no" >&5
9423 echo "${ECHO_T}no" >&6
9428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9429 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9431 # Check whether --enable-pcx or --disable-pcx was given.
9432 if test "${enable_pcx+set}" = set; then
9433 enableval="$enable_pcx"
9435 if test "$enableval" = yes; then
9436 ac_cv_use_pcx='wxUSE_PCX
=yes'
9438 ac_cv_use_pcx='wxUSE_PCX
=no
'
9443 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9444 if test "x$LINE" != x ; then
9445 eval "DEFAULT_$LINE"
9450 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9454 eval "$ac_cv_use_pcx"
9455 if test "$no_cache" != 1; then
9456 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9459 if test "$wxUSE_PCX" = yes; then
9460 echo "$as_me:$LINENO: result: yes" >&5
9461 echo "${ECHO_T}yes" >&6
9463 echo "$as_me:$LINENO: result: no" >&5
9464 echo "${ECHO_T}no" >&6
9469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9470 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9472 # Check whether --enable-iff or --disable-iff was given.
9473 if test "${enable_iff+set}" = set; then
9474 enableval="$enable_iff"
9476 if test "$enableval" = yes; then
9477 ac_cv_use_iff='wxUSE_IFF
=yes'
9479 ac_cv_use_iff='wxUSE_IFF
=no
'
9484 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9485 if test "x$LINE" != x ; then
9486 eval "DEFAULT_$LINE"
9491 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9495 eval "$ac_cv_use_iff"
9496 if test "$no_cache" != 1; then
9497 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9500 if test "$wxUSE_IFF" = yes; then
9501 echo "$as_me:$LINENO: result: yes" >&5
9502 echo "${ECHO_T}yes" >&6
9504 echo "$as_me:$LINENO: result: no" >&5
9505 echo "${ECHO_T}no" >&6
9510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9511 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9513 # Check whether --enable-pnm or --disable-pnm was given.
9514 if test "${enable_pnm+set}" = set; then
9515 enableval="$enable_pnm"
9517 if test "$enableval" = yes; then
9518 ac_cv_use_pnm='wxUSE_PNM
=yes'
9520 ac_cv_use_pnm='wxUSE_PNM
=no
'
9525 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9526 if test "x$LINE" != x ; then
9527 eval "DEFAULT_$LINE"
9532 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9536 eval "$ac_cv_use_pnm"
9537 if test "$no_cache" != 1; then
9538 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9541 if test "$wxUSE_PNM" = yes; then
9542 echo "$as_me:$LINENO: result: yes" >&5
9543 echo "${ECHO_T}yes" >&6
9545 echo "$as_me:$LINENO: result: no" >&5
9546 echo "${ECHO_T}no" >&6
9551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9552 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9554 # Check whether --enable-xpm or --disable-xpm was given.
9555 if test "${enable_xpm+set}" = set; then
9556 enableval="$enable_xpm"
9558 if test "$enableval" = yes; then
9559 ac_cv_use_xpm='wxUSE_XPM
=yes'
9561 ac_cv_use_xpm='wxUSE_XPM
=no
'
9566 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9567 if test "x$LINE" != x ; then
9568 eval "DEFAULT_$LINE"
9573 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9577 eval "$ac_cv_use_xpm"
9578 if test "$no_cache" != 1; then
9579 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9582 if test "$wxUSE_XPM" = yes; then
9583 echo "$as_me:$LINENO: result: yes" >&5
9584 echo "${ECHO_T}yes" >&6
9586 echo "$as_me:$LINENO: result: no" >&5
9587 echo "${ECHO_T}no" >&6
9592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9593 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9595 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9596 if test "${enable_ico_cur+set}" = set; then
9597 enableval="$enable_ico_cur"
9599 if test "$enableval" = yes; then
9600 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9602 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9607 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9608 if test "x$LINE" != x ; then
9609 eval "DEFAULT_$LINE"
9614 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9618 eval "$ac_cv_use_ico_cur"
9619 if test "$no_cache" != 1; then
9620 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9623 if test "$wxUSE_ICO_CUR" = yes; then
9624 echo "$as_me:$LINENO: result: yes" >&5
9625 echo "${ECHO_T}yes" >&6
9627 echo "$as_me:$LINENO: result: no" >&5
9628 echo "${ECHO_T}no" >&6
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9640 # Check whether --enable-official_build or --disable-official_build was given.
9641 if test "${enable_official_build+set}" = set; then
9642 enableval="$enable_official_build"
9644 if test "$enableval" = yes; then
9645 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
9647 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
9652 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x ; then
9654 eval "DEFAULT_$LINE"
9659 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
9663 eval "$ac_cv_use_official_build"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9668 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670 echo "${ECHO_T}yes" >&6
9672 echo "$as_me:$LINENO: result: no" >&5
9673 echo "${ECHO_T}no" >&6
9676 # Check whether --enable-vendor or --disable-vendor was given.
9677 if test "${enable_vendor+set}" = set; then
9678 enableval="$enable_vendor"
9681 if test "x$VENDOR" = "x"; then
9686 *-pc-os2_emx | *-pc-os2-emx )
9696 echo "saving argument cache $wx_arg_cache_file"
9697 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9701 echo "$as_me:$LINENO: checking for toolkit" >&5
9702 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9704 # In Wine, we need to default to MSW, not GTK or MOTIF
9705 if test "$wxUSE_WINE" = "yes"; then
9706 DEFAULT_DEFAULT_wxUSE_GTK=0
9707 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9708 DEFAULT_DEFAULT_wxUSE_MSW=1
9711 if test "$wxUSE_GUI" = "yes"; then
9713 if test "$USE_BEOS" = 1; then
9714 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9715 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9716 { (exit 1); exit 1; }; }
9719 if test "$TOOLKIT_GIVEN" = 1; then
9720 for toolkit in `echo $ALL_TOOLKITS`; do
9722 eval "value=\$${var}"
9723 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9726 for toolkit in `echo $ALL_TOOLKITS`; do
9727 if test "$has_toolkit_in_cache" != 1; then
9728 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9730 var=DEFAULT_wxUSE_$toolkit
9732 eval "wxUSE_$toolkit=\$${var}"
9736 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9737 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9738 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9741 *-pc-os2_emx | *-pc-os2-emx )
9742 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9745 case "$NUM_TOOLKITS" in
9749 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9750 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9751 { (exit 1); exit 1; }; }
9754 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9755 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9756 { (exit 1); exit 1; }; }
9759 for toolkit in `echo $ALL_TOOLKITS`; do
9761 eval "value=\$${var}"
9762 if test "x$value" != x; then
9763 cache_var=CACHE_$toolkit
9764 eval "cache=\$${cache_var}"
9765 if test "$cache" = 1; then
9766 echo "$var=$value" >> ${wx_arg_cache_file}
9768 if test "$value" = 1; then
9769 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9770 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9771 echo "${ECHO_T}$toolkit_echo" >&6
9776 if test "x$host_alias" != "x"; then
9777 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9778 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9780 echo "$as_me:$LINENO: result: base only" >&5
9781 echo "${ECHO_T}base only" >&6
9789 if test "$wxUSE_MSW" = 1 ; then
9800 if test "$wxUSE_WINE" = "yes"; then
9807 if test "$wants_win32" = 1 ; then
9810 cat >>confdefs.h <<\_ACEOF
9814 cat >>confdefs.h <<\_ACEOF
9818 cat >>confdefs.h <<\_ACEOF
9819 #define __WINDOWS__ 1
9822 cat >>confdefs.h <<\_ACEOF
9823 #define __GNUWIN32__ 1
9826 cat >>confdefs.h <<\_ACEOF
9830 cat >>confdefs.h <<\_ACEOF
9831 #define WINVER 0x0400
9835 if test "$doesnt_want_win32" = 1 ; then
9840 if test "$USE_UNIX" = 1 ; then
9842 cat >>confdefs.h <<\_ACEOF
9849 cat >confcache <<\_ACEOF
9850 # This file is a shell script that caches the results of configure
9851 # tests run on this system so they can be shared between configure
9852 # scripts and configure runs, see configure's option
--config-cache.
9853 # It is not useful on other systems. If it contains results you don't
9854 # want to keep, you may remove or edit it.
9856 # config.status only pays attention to the cache file if you give it
9857 # the --recheck option to rerun configure.
9859 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9860 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9865 # The following way of writing the cache mishandles newlines in values,
9866 # but we know of no workaround that is simple, portable, and efficient.
9867 # So, don't put newlines in cache variables' values.
9868 # Ultrix sh set writes to stderr and can't be redirected directly,
9869 # and sets the high bit in the cache file unless we assign to the vars.
9872 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9874 # `set' does not quote correctly, so add quotes (double-quote
9875 # substitution turns \\\\ into \\, and sed turns \\ into \).
9878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9881 # `set' quotes correctly as required by POSIX, so do not add quotes.
9883 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9890 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9892 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9894 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9895 if test -w $cache_file; then
9896 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9897 cat confcache
>$cache_file
9899 echo "not updating unwritable cache $cache_file"
9904 if test "$build" != "$host" ; then
9905 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9909 RANLIB
=$host_alias-ranlib
9910 DLLTOOL
=$host_alias-dlltool
9911 RESCOMP
=$host_alias-windres
9914 STRIP
=$host_alias-strip
9916 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9917 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9918 { (exit 1); exit 1; }; }
9924 ac_cpp
='$CPP $CPPFLAGS'
9925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9928 if test -n "$ac_tool_prefix"; then
9929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9930 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9931 echo "$as_me:$LINENO: checking for $ac_word" >&5
9932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9933 if test "${ac_cv_prog_CC+set}" = set; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6
9936 if test -n "$CC"; then
9937 ac_cv_prog_CC
="$CC" # Let the user override the test.
9939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9943 test -z "$as_dir" && as_dir
=.
9944 for ac_exec_ext
in '' $ac_executable_extensions; do
9945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9946 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9956 if test -n "$CC"; then
9957 echo "$as_me:$LINENO: result: $CC" >&5
9958 echo "${ECHO_T}$CC" >&6
9960 echo "$as_me:$LINENO: result: no" >&5
9961 echo "${ECHO_T}no" >&6
9965 if test -z "$ac_cv_prog_CC"; then
9967 # Extract the first word of "gcc", so it can be a program name with args.
9968 set dummy gcc
; ac_word
=$2
9969 echo "$as_me:$LINENO: checking for $ac_word" >&5
9970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9971 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9972 echo $ECHO_N "(cached) $ECHO_C" >&6
9974 if test -n "$ac_ct_CC"; then
9975 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9981 test -z "$as_dir" && as_dir
=.
9982 for ac_exec_ext
in '' $ac_executable_extensions; do
9983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9984 ac_cv_prog_ac_ct_CC
="gcc"
9985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9993 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9994 if test -n "$ac_ct_CC"; then
9995 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9996 echo "${ECHO_T}$ac_ct_CC" >&6
9998 echo "$as_me:$LINENO: result: no" >&5
9999 echo "${ECHO_T}no" >&6
10004 CC
="$ac_cv_prog_CC"
10007 if test -z "$CC"; then
10008 if test -n "$ac_tool_prefix"; then
10009 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10010 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10011 echo "$as_me:$LINENO: checking for $ac_word" >&5
10012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10013 if test "${ac_cv_prog_CC+set}" = set; then
10014 echo $ECHO_N "(cached) $ECHO_C" >&6
10016 if test -n "$CC"; then
10017 ac_cv_prog_CC
="$CC" # Let the user override the test.
10019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10020 for as_dir
in $PATH
10023 test -z "$as_dir" && as_dir
=.
10024 for ac_exec_ext
in '' $ac_executable_extensions; do
10025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10026 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10036 if test -n "$CC"; then
10037 echo "$as_me:$LINENO: result: $CC" >&5
10038 echo "${ECHO_T}$CC" >&6
10040 echo "$as_me:$LINENO: result: no" >&5
10041 echo "${ECHO_T}no" >&6
10045 if test -z "$ac_cv_prog_CC"; then
10047 # Extract the first word of "cc", so it can be a program name with args.
10048 set dummy cc
; ac_word
=$2
10049 echo "$as_me:$LINENO: checking for $ac_word" >&5
10050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10052 echo $ECHO_N "(cached) $ECHO_C" >&6
10054 if test -n "$ac_ct_CC"; then
10055 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10058 for as_dir
in $PATH
10061 test -z "$as_dir" && as_dir
=.
10062 for ac_exec_ext
in '' $ac_executable_extensions; do
10063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10064 ac_cv_prog_ac_ct_CC
="cc"
10065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10073 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10074 if test -n "$ac_ct_CC"; then
10075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10076 echo "${ECHO_T}$ac_ct_CC" >&6
10078 echo "$as_me:$LINENO: result: no" >&5
10079 echo "${ECHO_T}no" >&6
10084 CC
="$ac_cv_prog_CC"
10088 if test -z "$CC"; then
10089 # Extract the first word of "cc", so it can be a program name with args.
10090 set dummy cc
; ac_word
=$2
10091 echo "$as_me:$LINENO: checking for $ac_word" >&5
10092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10093 if test "${ac_cv_prog_CC+set}" = set; then
10094 echo $ECHO_N "(cached) $ECHO_C" >&6
10096 if test -n "$CC"; then
10097 ac_cv_prog_CC
="$CC" # Let the user override the test.
10099 ac_prog_rejected
=no
10100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10101 for as_dir
in $PATH
10104 test -z "$as_dir" && as_dir
=.
10105 for ac_exec_ext
in '' $ac_executable_extensions; do
10106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10107 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10108 ac_prog_rejected
=yes
10112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10118 if test $ac_prog_rejected = yes; then
10119 # We found a bogon in the path, so make sure we never use it.
10120 set dummy
$ac_cv_prog_CC
10122 if test $# != 0; then
10123 # We chose a different compiler from the bogus one.
10124 # However, it has the same basename, so the bogon will be chosen
10125 # first if we set CC to just the basename; use the full file name.
10127 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10133 if test -n "$CC"; then
10134 echo "$as_me:$LINENO: result: $CC" >&5
10135 echo "${ECHO_T}$CC" >&6
10137 echo "$as_me:$LINENO: result: no" >&5
10138 echo "${ECHO_T}no" >&6
10142 if test -z "$CC"; then
10143 if test -n "$ac_tool_prefix"; then
10146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10147 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10148 echo "$as_me:$LINENO: checking for $ac_word" >&5
10149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10150 if test "${ac_cv_prog_CC+set}" = set; then
10151 echo $ECHO_N "(cached) $ECHO_C" >&6
10153 if test -n "$CC"; then
10154 ac_cv_prog_CC
="$CC" # Let the user override the test.
10156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10157 for as_dir
in $PATH
10160 test -z "$as_dir" && as_dir
=.
10161 for ac_exec_ext
in '' $ac_executable_extensions; do
10162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10163 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10173 if test -n "$CC"; then
10174 echo "$as_me:$LINENO: result: $CC" >&5
10175 echo "${ECHO_T}$CC" >&6
10177 echo "$as_me:$LINENO: result: no" >&5
10178 echo "${ECHO_T}no" >&6
10181 test -n "$CC" && break
10184 if test -z "$CC"; then
10188 # Extract the first word of "$ac_prog", so it can be a program name with args.
10189 set dummy
$ac_prog; ac_word
=$2
10190 echo "$as_me:$LINENO: checking for $ac_word" >&5
10191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10192 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10193 echo $ECHO_N "(cached) $ECHO_C" >&6
10195 if test -n "$ac_ct_CC"; then
10196 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10199 for as_dir
in $PATH
10202 test -z "$as_dir" && as_dir
=.
10203 for ac_exec_ext
in '' $ac_executable_extensions; do
10204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10205 ac_cv_prog_ac_ct_CC
="$ac_prog"
10206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10214 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10215 if test -n "$ac_ct_CC"; then
10216 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10217 echo "${ECHO_T}$ac_ct_CC" >&6
10219 echo "$as_me:$LINENO: result: no" >&5
10220 echo "${ECHO_T}no" >&6
10223 test -n "$ac_ct_CC" && break
10232 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10233 See \`config.log' for more details." >&5
10234 echo "$as_me: error: no acceptable C compiler found in \$PATH
10235 See \`config.log' for more details." >&2;}
10236 { (exit 1); exit 1; }; }
10238 # Provide some information about the compiler.
10239 echo "$as_me:$LINENO:" \
10240 "checking for C compiler version" >&5
10241 ac_compiler
=`set X $ac_compile; echo $2`
10242 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10243 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 (exit $ac_status); }
10247 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10248 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); }
10252 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10253 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); }
10258 cat >conftest.
$ac_ext <<_ACEOF
10259 #line $LINENO "configure"
10262 cat confdefs.h
>>conftest.
$ac_ext
10263 cat >>conftest.
$ac_ext <<_ACEOF
10264 /* end confdefs.h. */
10274 ac_clean_files_save
=$ac_clean_files
10275 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10276 # Try to create an executable without -o first, disregard a.out.
10277 # It will help us diagnose broken compilers, and finding out an intuition
10279 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10280 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10281 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10282 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10283 (eval $ac_link_default) 2>&5
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); }; then
10287 # Find the output, starting from the most likely. This scheme is
10288 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10291 # Be careful to initialize this variable, since it used to be cached.
10292 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10294 # b.out is created by i960 compilers.
10295 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10297 test -f "$ac_file" || continue
10299 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10302 # This is the source file.
10305 # We found the default executable, but exeext='' is most
10309 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10310 # FIXME: I believe we export ac_cv_exeext for Libtool,
10311 # but it would be cool to find out if it's true. Does anybody
10312 # maintain Libtool? --akim.
10313 export ac_cv_exeext
10320 echo "$as_me: failed program was:" >&5
10321 sed 's/^/| /' conftest.
$ac_ext >&5
10323 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10324 See \`config.log' for more details." >&5
10325 echo "$as_me: error: C compiler cannot create executables
10326 See \`config.log' for more details." >&2;}
10327 { (exit 77); exit 77; }; }
10330 ac_exeext
=$ac_cv_exeext
10331 echo "$as_me:$LINENO: result: $ac_file" >&5
10332 echo "${ECHO_T}$ac_file" >&6
10334 # Check the compiler produces executables we can run. If not, either
10335 # the compiler is broken, or we cross compile.
10336 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10337 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10338 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10339 # If not cross compiling, check that we can run a simple program.
10340 if test "$cross_compiling" != yes; then
10341 if { ac_try
='./$ac_file'
10342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10343 (eval $ac_try) 2>&5
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); }; }; then
10349 if test "$cross_compiling" = maybe
; then
10350 cross_compiling
=yes
10352 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10353 If you meant to cross compile, use \`--host'.
10354 See \`config.log' for more details." >&5
10355 echo "$as_me: error: cannot run C compiled programs.
10356 If you meant to cross compile, use \`--host'.
10357 See \`config.log' for more details." >&2;}
10358 { (exit 1); exit 1; }; }
10362 echo "$as_me:$LINENO: result: yes" >&5
10363 echo "${ECHO_T}yes" >&6
10365 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10366 ac_clean_files
=$ac_clean_files_save
10367 # Check the compiler produces executables we can run. If not, either
10368 # the compiler is broken, or we cross compile.
10369 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10370 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10371 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10372 echo "${ECHO_T}$cross_compiling" >&6
10374 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10375 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10377 (eval $ac_link) 2>&5
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); }; then
10381 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10382 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10383 # work properly (i.e., refer to `conftest.exe'), while it won't with
10385 for ac_file
in conftest.exe conftest conftest.
*; do
10386 test -f "$ac_file" || continue
10388 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10389 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10390 export ac_cv_exeext
10396 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10397 See \`config.log' for more details." >&5
10398 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10399 See \`config.log' for more details." >&2;}
10400 { (exit 1); exit 1; }; }
10403 rm -f conftest
$ac_cv_exeext
10404 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10405 echo "${ECHO_T}$ac_cv_exeext" >&6
10407 rm -f conftest.
$ac_ext
10408 EXEEXT
=$ac_cv_exeext
10410 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10411 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10412 if test "${ac_cv_objext+set}" = set; then
10413 echo $ECHO_N "(cached) $ECHO_C" >&6
10415 cat >conftest.
$ac_ext <<_ACEOF
10416 #line $LINENO "configure"
10419 cat confdefs.h
>>conftest.
$ac_ext
10420 cat >>conftest.
$ac_ext <<_ACEOF
10421 /* end confdefs.h. */
10431 rm -f conftest.o conftest.obj
10432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10433 (eval $ac_compile) 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; then
10437 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10439 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10440 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.
$ac_ext >&5
10448 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10449 See \`config.log' for more details." >&5
10450 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10451 See \`config.log' for more details." >&2;}
10452 { (exit 1); exit 1; }; }
10455 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10457 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10458 echo "${ECHO_T}$ac_cv_objext" >&6
10459 OBJEXT
=$ac_cv_objext
10461 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10462 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10463 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10464 echo $ECHO_N "(cached) $ECHO_C" >&6
10466 cat >conftest.
$ac_ext <<_ACEOF
10467 #line $LINENO "configure"
10470 cat confdefs.h
>>conftest.
$ac_ext
10471 cat >>conftest.
$ac_ext <<_ACEOF
10472 /* end confdefs.h. */
10485 rm -f conftest.
$ac_objext
10486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10487 (eval $ac_compile) 2>&5
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); } &&
10491 { ac_try
='test -s conftest.$ac_objext'
10492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10493 (eval $ac_try) 2>&5
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); }; }; then
10497 ac_compiler_gnu
=yes
10499 echo "$as_me: failed program was:" >&5
10500 sed 's/^/| /' conftest.
$ac_ext >&5
10504 rm -f conftest.
$ac_objext conftest.
$ac_ext
10505 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10508 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10509 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10510 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10511 ac_test_CFLAGS
=${CFLAGS+set}
10512 ac_save_CFLAGS
=$CFLAGS
10514 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10515 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10516 if test "${ac_cv_prog_cc_g+set}" = set; then
10517 echo $ECHO_N "(cached) $ECHO_C" >&6
10519 cat >conftest.
$ac_ext <<_ACEOF
10520 #line $LINENO "configure"
10523 cat confdefs.h
>>conftest.
$ac_ext
10524 cat >>conftest.
$ac_ext <<_ACEOF
10525 /* end confdefs.h. */
10535 rm -f conftest.
$ac_objext
10536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10537 (eval $ac_compile) 2>&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); } &&
10541 { ac_try
='test -s conftest.$ac_objext'
10542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10543 (eval $ac_try) 2>&5
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); }; }; then
10547 ac_cv_prog_cc_g
=yes
10549 echo "$as_me: failed program was:" >&5
10550 sed 's/^/| /' conftest.
$ac_ext >&5
10554 rm -f conftest.
$ac_objext conftest.
$ac_ext
10556 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10557 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10558 if test "$ac_test_CFLAGS" = set; then
10559 CFLAGS
=$ac_save_CFLAGS
10560 elif test $ac_cv_prog_cc_g = yes; then
10561 if test "$GCC" = yes; then
10567 if test "$GCC" = yes; then
10573 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10574 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10575 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10578 ac_cv_prog_cc_stdc
=no
10580 cat >conftest.
$ac_ext <<_ACEOF
10581 #line $LINENO "configure"
10584 cat confdefs.h
>>conftest.
$ac_ext
10585 cat >>conftest.
$ac_ext <<_ACEOF
10586 /* end confdefs.h. */
10587 #include <stdarg.h>
10589 #include <sys/types.h>
10590 #include <sys/stat.h>
10591 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10592 struct buf { int x; };
10593 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10594 static char *e (p, i)
10600 static char *f (char * (*g) (char **, int), char **p, ...)
10605 s = g (p, va_arg (v,int));
10609 int test (int i, double x);
10610 struct s1 {int (*f) (int a);};
10611 struct s2 {int (*f) (double a);};
10612 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10618 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10623 # Don't try gcc -ansi; that turns off useful extensions and
10624 # breaks some systems' header files.
10625 # AIX -qlanglvl=ansi
10626 # Ultrix and OSF/1 -std1
10627 # HP-UX 10.20 and later -Ae
10628 # HP-UX older versions -Aa -D_HPUX_SOURCE
10629 # SVR4 -Xc -D__EXTENSIONS__
10630 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10632 CC
="$ac_save_CC $ac_arg"
10633 rm -f conftest.
$ac_objext
10634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10635 (eval $ac_compile) 2>&5
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); } &&
10639 { ac_try
='test -s conftest.$ac_objext'
10640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 (eval $ac_try) 2>&5
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); }; }; then
10645 ac_cv_prog_cc_stdc
=$ac_arg
10648 echo "$as_me: failed program was:" >&5
10649 sed 's/^/| /' conftest.
$ac_ext >&5
10652 rm -f conftest.
$ac_objext
10654 rm -f conftest.
$ac_ext conftest.
$ac_objext
10659 case "x$ac_cv_prog_cc_stdc" in
10661 echo "$as_me:$LINENO: result: none needed" >&5
10662 echo "${ECHO_T}none needed" >&6 ;;
10664 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10665 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10666 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10669 # Some people use a C++ compiler to compile C. Since we use `exit',
10670 # in C++ we need to declare it. In case someone uses the same compiler
10671 # for both compiling C and C++ we need to have the C++ compiler decide
10672 # the declaration of exit, since it's the most demanding environment.
10673 cat >conftest.
$ac_ext <<_ACEOF
10674 #ifndef __cplusplus
10678 rm -f conftest.
$ac_objext
10679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10680 (eval $ac_compile) 2>&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); } &&
10684 { ac_try
='test -s conftest.$ac_objext'
10685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10686 (eval $ac_try) 2>&5
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); }; }; then
10690 for ac_declaration
in \
10692 'extern "C" void std::exit (int) throw (); using std::exit;' \
10693 'extern "C" void std::exit (int); using std::exit;' \
10694 'extern "C" void exit (int) throw ();' \
10695 'extern "C" void exit (int);' \
10698 cat >conftest.
$ac_ext <<_ACEOF
10699 #line $LINENO "configure"
10702 cat confdefs.h
>>conftest.
$ac_ext
10703 cat >>conftest.
$ac_ext <<_ACEOF
10704 /* end confdefs.h. */
10706 #include <stdlib.h>
10715 rm -f conftest.
$ac_objext
10716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10717 (eval $ac_compile) 2>&5
10719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720 (exit $ac_status); } &&
10721 { ac_try
='test -s conftest.$ac_objext'
10722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10723 (eval $ac_try) 2>&5
10725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10726 (exit $ac_status); }; }; then
10729 echo "$as_me: failed program was:" >&5
10730 sed 's/^/| /' conftest.
$ac_ext >&5
10734 rm -f conftest.
$ac_objext conftest.
$ac_ext
10735 cat >conftest.
$ac_ext <<_ACEOF
10736 #line $LINENO "configure"
10739 cat confdefs.h
>>conftest.
$ac_ext
10740 cat >>conftest.
$ac_ext <<_ACEOF
10741 /* end confdefs.h. */
10751 rm -f conftest.
$ac_objext
10752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10753 (eval $ac_compile) 2>&5
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); } &&
10757 { ac_try
='test -s conftest.$ac_objext'
10758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10759 (eval $ac_try) 2>&5
10761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762 (exit $ac_status); }; }; then
10765 echo "$as_me: failed program was:" >&5
10766 sed 's/^/| /' conftest.
$ac_ext >&5
10769 rm -f conftest.
$ac_objext conftest.
$ac_ext
10772 if test -n "$ac_declaration"; then
10773 echo '#ifdef __cplusplus' >>confdefs.h
10774 echo $ac_declaration >>confdefs.h
10775 echo '#endif' >>confdefs.h
10779 echo "$as_me: failed program was:" >&5
10780 sed 's/^/| /' conftest.
$ac_ext >&5
10783 rm -f conftest.
$ac_objext conftest.
$ac_ext
10785 ac_cpp
='$CPP $CPPFLAGS'
10786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10793 ac_cpp
='$CPP $CPPFLAGS'
10794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10797 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10798 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10799 # On Suns, sometimes $CPP names a directory.
10800 if test -n "$CPP" && test -d "$CPP"; then
10803 if test -z "$CPP"; then
10804 if test "${ac_cv_prog_CPP+set}" = set; then
10805 echo $ECHO_N "(cached) $ECHO_C" >&6
10807 # Double quotes because CPP needs to be expanded
10808 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10810 ac_preproc_ok
=false
10811 for ac_c_preproc_warn_flag
in '' yes
10813 # Use a header file that comes with gcc, so configuring glibc
10814 # with a fresh cross-compiler works.
10815 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10816 # <limits.h> exists even on freestanding compilers.
10817 # On the NeXT, cc -E runs the code through the compiler's parser,
10818 # not just through cpp. "Syntax error" is here to catch this case.
10819 cat >conftest.
$ac_ext <<_ACEOF
10820 #line $LINENO "configure"
10823 cat confdefs.h
>>conftest.
$ac_ext
10824 cat >>conftest.
$ac_ext <<_ACEOF
10825 /* end confdefs.h. */
10827 # include <limits.h>
10829 # include <assert.h>
10833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10834 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10836 grep -v '^ *+' conftest.er1
>conftest.err
10838 cat conftest.err
>&5
10839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); } >/dev
/null
; then
10841 if test -s conftest.err
; then
10842 ac_cpp_err
=$ac_c_preproc_warn_flag
10849 if test -z "$ac_cpp_err"; then
10852 echo "$as_me: failed program was:" >&5
10853 sed 's/^/| /' conftest.
$ac_ext >&5
10855 # Broken: fails on valid input.
10858 rm -f conftest.err conftest.
$ac_ext
10860 # OK, works on sane cases. Now check whether non-existent headers
10861 # can be detected and how.
10862 cat >conftest.
$ac_ext <<_ACEOF
10863 #line $LINENO "configure"
10866 cat confdefs.h
>>conftest.
$ac_ext
10867 cat >>conftest.
$ac_ext <<_ACEOF
10868 /* end confdefs.h. */
10869 #include <ac_nonexistent.h>
10871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10872 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10874 grep -v '^ *+' conftest.er1
>conftest.err
10876 cat conftest.err
>&5
10877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10878 (exit $ac_status); } >/dev
/null
; then
10879 if test -s conftest.err
; then
10880 ac_cpp_err
=$ac_c_preproc_warn_flag
10887 if test -z "$ac_cpp_err"; then
10888 # Broken: success on invalid input.
10891 echo "$as_me: failed program was:" >&5
10892 sed 's/^/| /' conftest.
$ac_ext >&5
10894 # Passes both tests.
10898 rm -f conftest.err conftest.
$ac_ext
10901 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10902 rm -f conftest.err conftest.
$ac_ext
10903 if $ac_preproc_ok; then
10908 ac_cv_prog_CPP
=$CPP
10911 CPP
=$ac_cv_prog_CPP
10913 ac_cv_prog_CPP
=$CPP
10915 echo "$as_me:$LINENO: result: $CPP" >&5
10916 echo "${ECHO_T}$CPP" >&6
10917 ac_preproc_ok
=false
10918 for ac_c_preproc_warn_flag
in '' yes
10920 # Use a header file that comes with gcc, so configuring glibc
10921 # with a fresh cross-compiler works.
10922 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10923 # <limits.h> exists even on freestanding compilers.
10924 # On the NeXT, cc -E runs the code through the compiler's parser,
10925 # not just through cpp. "Syntax error" is here to catch this case.
10926 cat >conftest.
$ac_ext <<_ACEOF
10927 #line $LINENO "configure"
10930 cat confdefs.h
>>conftest.
$ac_ext
10931 cat >>conftest.
$ac_ext <<_ACEOF
10932 /* end confdefs.h. */
10934 # include <limits.h>
10936 # include <assert.h>
10940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10941 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10943 grep -v '^ *+' conftest.er1
>conftest.err
10945 cat conftest.err
>&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); } >/dev
/null
; then
10948 if test -s conftest.err
; then
10949 ac_cpp_err
=$ac_c_preproc_warn_flag
10956 if test -z "$ac_cpp_err"; then
10959 echo "$as_me: failed program was:" >&5
10960 sed 's/^/| /' conftest.
$ac_ext >&5
10962 # Broken: fails on valid input.
10965 rm -f conftest.err conftest.
$ac_ext
10967 # OK, works on sane cases. Now check whether non-existent headers
10968 # can be detected and how.
10969 cat >conftest.
$ac_ext <<_ACEOF
10970 #line $LINENO "configure"
10973 cat confdefs.h
>>conftest.
$ac_ext
10974 cat >>conftest.
$ac_ext <<_ACEOF
10975 /* end confdefs.h. */
10976 #include <ac_nonexistent.h>
10978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10979 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10981 grep -v '^ *+' conftest.er1
>conftest.err
10983 cat conftest.err
>&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); } >/dev
/null
; then
10986 if test -s conftest.err
; then
10987 ac_cpp_err
=$ac_c_preproc_warn_flag
10994 if test -z "$ac_cpp_err"; then
10995 # Broken: success on invalid input.
10998 echo "$as_me: failed program was:" >&5
10999 sed 's/^/| /' conftest.
$ac_ext >&5
11001 # Passes both tests.
11005 rm -f conftest.err conftest.
$ac_ext
11008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11009 rm -f conftest.err conftest.
$ac_ext
11010 if $ac_preproc_ok; then
11013 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11014 See \`config.log' for more details." >&5
11015 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11016 See \`config.log' for more details." >&2;}
11017 { (exit 1); exit 1; }; }
11021 ac_cpp
='$CPP $CPPFLAGS'
11022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11027 echo "$as_me:$LINENO: checking for egrep" >&5
11028 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11029 if test "${ac_cv_prog_egrep+set}" = set; then
11030 echo $ECHO_N "(cached) $ECHO_C" >&6
11032 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11033 then ac_cv_prog_egrep
='grep -E'
11034 else ac_cv_prog_egrep
='egrep'
11037 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11038 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11039 EGREP
=$ac_cv_prog_egrep
11042 if test $ac_cv_c_compiler_gnu = yes; then
11043 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11044 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11045 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11046 echo $ECHO_N "(cached) $ECHO_C" >&6
11048 ac_pattern
="Autoconf.*'x'"
11049 cat >conftest.
$ac_ext <<_ACEOF
11050 #line $LINENO "configure"
11053 cat confdefs.h
>>conftest.
$ac_ext
11054 cat >>conftest.
$ac_ext <<_ACEOF
11055 /* end confdefs.h. */
11059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11060 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11061 ac_cv_prog_gcc_traditional
=yes
11063 ac_cv_prog_gcc_traditional
=no
11068 if test $ac_cv_prog_gcc_traditional = no
; then
11069 cat >conftest.
$ac_ext <<_ACEOF
11070 #line $LINENO "configure"
11073 cat confdefs.h
>>conftest.
$ac_ext
11074 cat >>conftest.
$ac_ext <<_ACEOF
11075 /* end confdefs.h. */
11076 #include <termio.h>
11079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11080 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11081 ac_cv_prog_gcc_traditional
=yes
11087 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11088 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11089 if test $ac_cv_prog_gcc_traditional = yes; then
11090 CC
="$CC -traditional"
11098 ac_cpp
='$CXXCPP $CPPFLAGS'
11099 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11100 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11101 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11104 CXXFLAGS
=${CXXFLAGS:=}
11106 ac_cpp
='$CXXCPP $CPPFLAGS'
11107 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11108 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11109 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11110 if test -n "$ac_tool_prefix"; then
11111 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11114 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11115 echo "$as_me:$LINENO: checking for $ac_word" >&5
11116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11117 if test "${ac_cv_prog_CXX+set}" = set; then
11118 echo $ECHO_N "(cached) $ECHO_C" >&6
11120 if test -n "$CXX"; then
11121 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11124 for as_dir
in $PATH
11127 test -z "$as_dir" && as_dir
=.
11128 for ac_exec_ext
in '' $ac_executable_extensions; do
11129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11130 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11139 CXX
=$ac_cv_prog_CXX
11140 if test -n "$CXX"; then
11141 echo "$as_me:$LINENO: result: $CXX" >&5
11142 echo "${ECHO_T}$CXX" >&6
11144 echo "$as_me:$LINENO: result: no" >&5
11145 echo "${ECHO_T}no" >&6
11148 test -n "$CXX" && break
11151 if test -z "$CXX"; then
11153 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11155 # Extract the first word of "$ac_prog", so it can be a program name with args.
11156 set dummy
$ac_prog; ac_word
=$2
11157 echo "$as_me:$LINENO: checking for $ac_word" >&5
11158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11159 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11160 echo $ECHO_N "(cached) $ECHO_C" >&6
11162 if test -n "$ac_ct_CXX"; then
11163 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11166 for as_dir
in $PATH
11169 test -z "$as_dir" && as_dir
=.
11170 for ac_exec_ext
in '' $ac_executable_extensions; do
11171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11172 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11181 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11182 if test -n "$ac_ct_CXX"; then
11183 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11184 echo "${ECHO_T}$ac_ct_CXX" >&6
11186 echo "$as_me:$LINENO: result: no" >&5
11187 echo "${ECHO_T}no" >&6
11190 test -n "$ac_ct_CXX" && break
11192 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11198 # Provide some information about the compiler.
11199 echo "$as_me:$LINENO:" \
11200 "checking for C++ compiler version" >&5
11201 ac_compiler
=`set X $ac_compile; echo $2`
11202 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11203 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); }
11207 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11208 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }
11212 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11213 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216 (exit $ac_status); }
11218 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11219 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11220 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11221 echo $ECHO_N "(cached) $ECHO_C" >&6
11223 cat >conftest.
$ac_ext <<_ACEOF
11224 #line $LINENO "configure"
11227 cat confdefs.h
>>conftest.
$ac_ext
11228 cat >>conftest.
$ac_ext <<_ACEOF
11229 /* end confdefs.h. */
11242 rm -f conftest.
$ac_objext
11243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11244 (eval $ac_compile) 2>&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); } &&
11248 { ac_try
='test -s conftest.$ac_objext'
11249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11250 (eval $ac_try) 2>&5
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); }; }; then
11254 ac_compiler_gnu
=yes
11256 echo "$as_me: failed program was:" >&5
11257 sed 's/^/| /' conftest.
$ac_ext >&5
11261 rm -f conftest.
$ac_objext conftest.
$ac_ext
11262 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11265 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11266 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11267 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11268 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11269 ac_save_CXXFLAGS
=$CXXFLAGS
11271 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11272 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11273 if test "${ac_cv_prog_cxx_g+set}" = set; then
11274 echo $ECHO_N "(cached) $ECHO_C" >&6
11276 cat >conftest.
$ac_ext <<_ACEOF
11277 #line $LINENO "configure"
11280 cat confdefs.h
>>conftest.
$ac_ext
11281 cat >>conftest.
$ac_ext <<_ACEOF
11282 /* end confdefs.h. */
11292 rm -f conftest.
$ac_objext
11293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11294 (eval $ac_compile) 2>&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } &&
11298 { ac_try
='test -s conftest.$ac_objext'
11299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11300 (eval $ac_try) 2>&5
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); }; }; then
11304 ac_cv_prog_cxx_g
=yes
11306 echo "$as_me: failed program was:" >&5
11307 sed 's/^/| /' conftest.
$ac_ext >&5
11309 ac_cv_prog_cxx_g
=no
11311 rm -f conftest.
$ac_objext conftest.
$ac_ext
11313 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11314 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11315 if test "$ac_test_CXXFLAGS" = set; then
11316 CXXFLAGS
=$ac_save_CXXFLAGS
11317 elif test $ac_cv_prog_cxx_g = yes; then
11318 if test "$GXX" = yes; then
11324 if test "$GXX" = yes; then
11330 for ac_declaration
in \
11332 'extern "C" void std::exit (int) throw (); using std::exit;' \
11333 'extern "C" void std::exit (int); using std::exit;' \
11334 'extern "C" void exit (int) throw ();' \
11335 'extern "C" void exit (int);' \
11338 cat >conftest.
$ac_ext <<_ACEOF
11339 #line $LINENO "configure"
11342 cat confdefs.h
>>conftest.
$ac_ext
11343 cat >>conftest.
$ac_ext <<_ACEOF
11344 /* end confdefs.h. */
11346 #include <stdlib.h>
11355 rm -f conftest.
$ac_objext
11356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11357 (eval $ac_compile) 2>&5
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); } &&
11361 { ac_try
='test -s conftest.$ac_objext'
11362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11363 (eval $ac_try) 2>&5
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); }; }; then
11369 echo "$as_me: failed program was:" >&5
11370 sed 's/^/| /' conftest.
$ac_ext >&5
11374 rm -f conftest.
$ac_objext conftest.
$ac_ext
11375 cat >conftest.
$ac_ext <<_ACEOF
11376 #line $LINENO "configure"
11379 cat confdefs.h
>>conftest.
$ac_ext
11380 cat >>conftest.
$ac_ext <<_ACEOF
11381 /* end confdefs.h. */
11391 rm -f conftest.
$ac_objext
11392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11393 (eval $ac_compile) 2>&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } &&
11397 { ac_try
='test -s conftest.$ac_objext'
11398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11399 (eval $ac_try) 2>&5
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); }; }; then
11405 echo "$as_me: failed program was:" >&5
11406 sed 's/^/| /' conftest.
$ac_ext >&5
11409 rm -f conftest.
$ac_objext conftest.
$ac_ext
11412 if test -n "$ac_declaration"; then
11413 echo '#ifdef __cplusplus' >>confdefs.h
11414 echo $ac_declaration >>confdefs.h
11415 echo '#endif' >>confdefs.h
11419 ac_cpp
='$CXXCPP $CPPFLAGS'
11420 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11421 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11422 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11426 ac_cpp
='$CPP $CPPFLAGS'
11427 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11428 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11429 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11432 if test -n "$ac_tool_prefix"; then
11433 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11434 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11435 echo "$as_me:$LINENO: checking for $ac_word" >&5
11436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11437 if test "${ac_cv_prog_RANLIB+set}" = set; then
11438 echo $ECHO_N "(cached) $ECHO_C" >&6
11440 if test -n "$RANLIB"; then
11441 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11444 for as_dir
in $PATH
11447 test -z "$as_dir" && as_dir
=.
11448 for ac_exec_ext
in '' $ac_executable_extensions; do
11449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11450 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11459 RANLIB
=$ac_cv_prog_RANLIB
11460 if test -n "$RANLIB"; then
11461 echo "$as_me:$LINENO: result: $RANLIB" >&5
11462 echo "${ECHO_T}$RANLIB" >&6
11464 echo "$as_me:$LINENO: result: no" >&5
11465 echo "${ECHO_T}no" >&6
11469 if test -z "$ac_cv_prog_RANLIB"; then
11470 ac_ct_RANLIB
=$RANLIB
11471 # Extract the first word of "ranlib", so it can be a program name with args.
11472 set dummy ranlib
; ac_word
=$2
11473 echo "$as_me:$LINENO: checking for $ac_word" >&5
11474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11475 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11476 echo $ECHO_N "(cached) $ECHO_C" >&6
11478 if test -n "$ac_ct_RANLIB"; then
11479 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11482 for as_dir
in $PATH
11485 test -z "$as_dir" && as_dir
=.
11486 for ac_exec_ext
in '' $ac_executable_extensions; do
11487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11488 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11495 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11498 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11499 if test -n "$ac_ct_RANLIB"; then
11500 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11501 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11503 echo "$as_me:$LINENO: result: no" >&5
11504 echo "${ECHO_T}no" >&6
11507 RANLIB
=$ac_ct_RANLIB
11509 RANLIB
="$ac_cv_prog_RANLIB"
11513 # Extract the first word of "ar", so it can be a program name with args.
11514 set dummy
ar; ac_word
=$2
11515 echo "$as_me:$LINENO: checking for $ac_word" >&5
11516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11517 if test "${ac_cv_prog_AR+set}" = set; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11520 if test -n "$AR"; then
11521 ac_cv_prog_AR
="$AR" # Let the user override the test.
11523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11524 for as_dir
in $PATH
11527 test -z "$as_dir" && as_dir
=.
11528 for ac_exec_ext
in '' $ac_executable_extensions; do
11529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11540 if test -n "$AR"; then
11541 echo "$as_me:$LINENO: result: $AR" >&5
11542 echo "${ECHO_T}$AR" >&6
11544 echo "$as_me:$LINENO: result: no" >&5
11545 echo "${ECHO_T}no" >&6
11548 if test "x$AR" = "x" ; then
11549 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11550 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11551 { (exit 1); exit 1; }; }
11554 # Find a good install program. We prefer a C program (faster),
11555 # so one script is as good as another. But avoid the broken or
11556 # incompatible versions:
11557 # SysV /etc/install, /usr/sbin/install
11558 # SunOS /usr/etc/install
11559 # IRIX /sbin/install
11561 # AmigaOS /C/install, which installs bootblocks on floppy discs
11562 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11563 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11564 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11565 # ./install, which can be erroneously created by make from ./install.sh.
11566 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11567 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11568 if test -z "$INSTALL"; then
11569 if test "${ac_cv_path_install+set}" = set; then
11570 echo $ECHO_N "(cached) $ECHO_C" >&6
11572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11573 for as_dir
in $PATH
11576 test -z "$as_dir" && as_dir
=.
11577 # Account for people who put trailing slashes in PATH elements.
11579 .
/ | .
// | /cC
/* | \
11580 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11583 # OSF1 and SCO ODT 3.0 have their own names for install.
11584 # Don't use installbsd from OSF since it installs stuff as root
11586 for ac_prog
in ginstall scoinst
install; do
11587 for ac_exec_ext
in '' $ac_executable_extensions; do
11588 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11589 if test $ac_prog = install &&
11590 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11591 # AIX install. It has an incompatible calling convention.
11593 elif test $ac_prog = install &&
11594 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11595 # program-specific install script used by HP pwplus--don't use.
11598 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11610 if test "${ac_cv_path_install+set}" = set; then
11611 INSTALL
=$ac_cv_path_install
11613 # As a last resort, use the slow shell script. We don't cache a
11614 # path for INSTALL within a source directory, because that will
11615 # break other packages using the cache if that directory is
11616 # removed, or if the path is relative.
11617 INSTALL
=$ac_install_sh
11620 echo "$as_me:$LINENO: result: $INSTALL" >&5
11621 echo "${ECHO_T}$INSTALL" >&6
11623 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11624 # It thinks the first close brace ends the variable substitution.
11625 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11627 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11629 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11635 ?
:* ) # Drive letter, considered as absolute.
11638 INSTALL
=`pwd`/${INSTALL} ;;
11643 INSTALL_DIR
="mkdir"
11646 *) INSTALL_DIR
="$INSTALL -d"
11653 powerpc
-*-darwin* )
11654 INSTALL_PROGRAM
="cp -fp"
11655 INSTALL_DATA
="cp -fp"
11661 # Extract the first word of "strip", so it can be a program name with args.
11662 set dummy strip
; ac_word
=$2
11663 echo "$as_me:$LINENO: checking for $ac_word" >&5
11664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11665 if test "${ac_cv_prog_STRIP+set}" = set; then
11666 echo $ECHO_N "(cached) $ECHO_C" >&6
11668 if test -n "$STRIP"; then
11669 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11672 for as_dir
in $PATH
11675 test -z "$as_dir" && as_dir
=.
11676 for ac_exec_ext
in '' $ac_executable_extensions; do
11677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11678 ac_cv_prog_STRIP
="strip"
11679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11685 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11688 STRIP
=$ac_cv_prog_STRIP
11689 if test -n "$STRIP"; then
11690 echo "$as_me:$LINENO: result: $STRIP" >&5
11691 echo "${ECHO_T}$STRIP" >&6
11693 echo "$as_me:$LINENO: result: no" >&5
11694 echo "${ECHO_T}no" >&6
11698 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11699 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11700 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11701 echo $ECHO_N "(cached) $ECHO_C" >&6
11704 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11705 egrep -s GNU
> /dev
/null
); then
11706 wx_cv_prog_makeisgnu
="yes"
11708 wx_cv_prog_makeisgnu
="no"
11712 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11713 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11715 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11723 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11724 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11725 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11726 if test "${wx_cv_prog_makevpath+set}" = set; then
11727 echo $ECHO_N "(cached) $ECHO_C" >&6
11730 cat - << EOF > confMake
11736 if test ! -d sub
; then
11739 echo dummy
> sub
/file
11740 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11742 rm -f sub
/file check final_file confMake
11744 if test "$RESULT" = 0; then
11745 wx_cv_prog_makevpath
="yes"
11747 wx_cv_prog_makevpath
="no"
11751 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11752 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11754 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11755 { { echo "$as_me:$LINENO: error:
11756 You need a make-utility that is able to use the variable
11758 If your version of make does not support VPATH correctly,
11759 please install GNU-make (possibly as gmake), and start
11760 configure with the following command:
11761 export MAKE=gmake; ./configure for sh-type shells
11762 setenv MAKE gmake; ./configure for csh-type shells
11763 Also please do remember to use gmake in this case every time
11764 you are trying to compile.
11766 echo "$as_me: error:
11767 You need a make-utility that is able to use the variable
11769 If your version of make does not support VPATH correctly,
11770 please install GNU-make (possibly as gmake), and start
11771 configure with the following command:
11772 export MAKE=gmake; ./configure for sh-type shells
11773 setenv MAKE gmake; ./configure for csh-type shells
11774 Also please do remember to use gmake in this case every time
11775 you are trying to compile.
11777 { (exit 1); exit 1; }; }
11779 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11780 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11782 if test "$LN_S" = "ln -s"; then
11783 echo "$as_me:$LINENO: result: yes" >&5
11784 echo "${ECHO_T}yes" >&6
11786 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11787 echo "${ECHO_T}no, using $LN_S" >&6
11792 *-pc-os2_emx | *-pc-os2-emx )
11793 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11794 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11795 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11796 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11797 echo $ECHO_N "(cached) $ECHO_C" >&6
11799 ac_check_lib_save_LIBS
=$LIBS
11800 LIBS
="-lcExt $LIBS"
11801 cat >conftest.
$ac_ext <<_ACEOF
11802 #line $LINENO "configure"
11805 cat confdefs.h
>>conftest.
$ac_ext
11806 cat >>conftest.
$ac_ext <<_ACEOF
11807 /* end confdefs.h. */
11809 /* Override any gcc2 internal prototype to avoid an error. */
11813 /* We use char because int might match the return type of a gcc2
11814 builtin and then its argument prototype would still apply. */
11824 rm -f conftest.
$ac_objext conftest
$ac_exeext
11825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11826 (eval $ac_link) 2>&5
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); } &&
11830 { ac_try
='test -s conftest$ac_exeext'
11831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11832 (eval $ac_try) 2>&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); }; }; then
11836 ac_cv_lib_cExt_drand48
=yes
11838 echo "$as_me: failed program was:" >&5
11839 sed 's/^/| /' conftest.
$ac_ext >&5
11841 ac_cv_lib_cExt_drand48
=no
11843 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11844 LIBS
=$ac_check_lib_save_LIBS
11846 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11847 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11848 if test $ac_cv_lib_cExt_drand48 = yes; then
11849 LIBS
="$LIBS -lcExt"
11853 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11855 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11856 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11857 if test "${wx_cv_gcc3+set}" = set; then
11858 echo $ECHO_N "(cached) $ECHO_C" >&6
11861 cat >conftest.
$ac_ext <<_ACEOF
11862 #line $LINENO "configure"
11865 cat confdefs.h
>>conftest.
$ac_ext
11866 cat >>conftest.
$ac_ext <<_ACEOF
11867 /* end confdefs.h. */
11881 rm -f conftest.
$ac_objext
11882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11883 (eval $ac_compile) 2>&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); } &&
11887 { ac_try
='test -s conftest.$ac_objext'
11888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11889 (eval $ac_try) 2>&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); }; }; then
11897 echo "$as_me: failed program was:" >&5
11898 sed 's/^/| /' conftest.
$ac_ext >&5
11905 rm -f conftest.
$ac_objext conftest.
$ac_ext
11908 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11909 echo "${ECHO_T}$wx_cv_gcc3" >&6
11910 if test "$wx_cv_gcc3" = "no"; then
11911 LIBS
="$LIBS -lstdcpp"
11913 LIBS
="$LIBS -lstdcxx"
11919 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11920 echo "$as_me:$LINENO: checking for strings.h" >&5
11921 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11922 if test "${ac_cv_header_strings_h+set}" = set; then
11923 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 ac_cv_header_strings_h
=no
11927 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11928 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11929 if test "$ac_cv_header_strings_h" = "no"; then
11930 echo "$as_me:$LINENO: result: forced no into cache" >&5
11931 echo "${ECHO_T}forced no into cache" >&6
11933 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11934 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11937 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11938 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11939 if test "${ac_cv_header_stdc+set}" = set; then
11940 echo $ECHO_N "(cached) $ECHO_C" >&6
11942 cat >conftest.
$ac_ext <<_ACEOF
11943 #line $LINENO "configure"
11946 cat confdefs.h
>>conftest.
$ac_ext
11947 cat >>conftest.
$ac_ext <<_ACEOF
11948 /* end confdefs.h. */
11949 #include <stdlib.h>
11950 #include <stdarg.h>
11951 #include <string.h>
11962 rm -f conftest.
$ac_objext
11963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11964 (eval $ac_compile) 2>&5
11966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11967 (exit $ac_status); } &&
11968 { ac_try
='test -s conftest.$ac_objext'
11969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11970 (eval $ac_try) 2>&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); }; }; then
11974 ac_cv_header_stdc
=yes
11976 echo "$as_me: failed program was:" >&5
11977 sed 's/^/| /' conftest.
$ac_ext >&5
11979 ac_cv_header_stdc
=no
11981 rm -f conftest.
$ac_objext conftest.
$ac_ext
11983 if test $ac_cv_header_stdc = yes; then
11984 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11985 cat >conftest.
$ac_ext <<_ACEOF
11986 #line $LINENO "configure"
11989 cat confdefs.h
>>conftest.
$ac_ext
11990 cat >>conftest.
$ac_ext <<_ACEOF
11991 /* end confdefs.h. */
11992 #include <string.h>
11995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11996 $EGREP "memchr" >/dev
/null
2>&1; then
11999 ac_cv_header_stdc
=no
12005 if test $ac_cv_header_stdc = yes; then
12006 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12007 cat >conftest.
$ac_ext <<_ACEOF
12008 #line $LINENO "configure"
12011 cat confdefs.h
>>conftest.
$ac_ext
12012 cat >>conftest.
$ac_ext <<_ACEOF
12013 /* end confdefs.h. */
12014 #include <stdlib.h>
12017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12018 $EGREP "free" >/dev
/null
2>&1; then
12021 ac_cv_header_stdc
=no
12027 if test $ac_cv_header_stdc = yes; then
12028 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12029 if test "$cross_compiling" = yes; then
12032 cat >conftest.
$ac_ext <<_ACEOF
12033 #line $LINENO "configure"
12036 cat confdefs.h
>>conftest.
$ac_ext
12037 cat >>conftest.
$ac_ext <<_ACEOF
12038 /* end confdefs.h. */
12040 #if ((' ' & 0x0FF) == 0x020)
12041 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12042 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12044 # define ISLOWER(c) \
12045 (('a' <= (c) && (c) <= 'i') \
12046 || ('j' <= (c) && (c) <= 'r') \
12047 || ('s' <= (c) && (c) <= 'z'))
12048 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12051 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12056 for (i = 0; i < 256; i++)
12057 if (XOR (islower (i), ISLOWER (i))
12058 || toupper (i) != TOUPPER (i))
12063 rm -f conftest
$ac_exeext
12064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12065 (eval $ac_link) 2>&5
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; }; then
12076 echo "$as_me: program exited with status $ac_status" >&5
12077 echo "$as_me: failed program was:" >&5
12078 sed 's/^/| /' conftest.
$ac_ext >&5
12080 ( exit $ac_status )
12081 ac_cv_header_stdc
=no
12083 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12087 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12088 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12089 if test $ac_cv_header_stdc = yes; then
12091 cat >>confdefs.h
<<\_ACEOF
12092 #define STDC_HEADERS 1
12097 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12107 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12108 inttypes.h stdint.h unistd.h
12110 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12111 echo "$as_me:$LINENO: checking for $ac_header" >&5
12112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12114 echo $ECHO_N "(cached) $ECHO_C" >&6
12116 cat >conftest.
$ac_ext <<_ACEOF
12117 #line $LINENO "configure"
12120 cat confdefs.h
>>conftest.
$ac_ext
12121 cat >>conftest.
$ac_ext <<_ACEOF
12122 /* end confdefs.h. */
12123 $ac_includes_default
12125 #include <$ac_header>
12127 rm -f conftest.
$ac_objext
12128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12129 (eval $ac_compile) 2>&5
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); } &&
12133 { ac_try
='test -s conftest.$ac_objext'
12134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12135 (eval $ac_try) 2>&5
12137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12138 (exit $ac_status); }; }; then
12139 eval "$as_ac_Header=yes"
12141 echo "$as_me: failed program was:" >&5
12142 sed 's/^/| /' conftest.
$ac_ext >&5
12144 eval "$as_ac_Header=no"
12146 rm -f conftest.
$ac_objext conftest.
$ac_ext
12148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12151 cat >>confdefs.h
<<_ACEOF
12152 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12161 for ac_header
in strings.h
12163 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12165 echo "$as_me:$LINENO: checking for $ac_header" >&5
12166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12168 echo $ECHO_N "(cached) $ECHO_C" >&6
12170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12173 # Is the header compilable?
12174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12176 cat >conftest.
$ac_ext <<_ACEOF
12177 #line $LINENO "configure"
12180 cat confdefs.h
>>conftest.
$ac_ext
12181 cat >>conftest.
$ac_ext <<_ACEOF
12182 /* end confdefs.h. */
12183 $ac_includes_default
12184 #include <$ac_header>
12186 rm -f conftest.
$ac_objext
12187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12188 (eval $ac_compile) 2>&5
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); } &&
12192 { ac_try
='test -s conftest.$ac_objext'
12193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12194 (eval $ac_try) 2>&5
12196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12197 (exit $ac_status); }; }; then
12198 ac_header_compiler
=yes
12200 echo "$as_me: failed program was:" >&5
12201 sed 's/^/| /' conftest.
$ac_ext >&5
12203 ac_header_compiler
=no
12205 rm -f conftest.
$ac_objext conftest.
$ac_ext
12206 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12207 echo "${ECHO_T}$ac_header_compiler" >&6
12209 # Is the header present?
12210 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12211 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12212 cat >conftest.
$ac_ext <<_ACEOF
12213 #line $LINENO "configure"
12216 cat confdefs.h
>>conftest.
$ac_ext
12217 cat >>conftest.
$ac_ext <<_ACEOF
12218 /* end confdefs.h. */
12219 #include <$ac_header>
12221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12222 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12224 grep -v '^ *+' conftest.er1
>conftest.err
12226 cat conftest.err
>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); } >/dev
/null
; then
12229 if test -s conftest.err
; then
12230 ac_cpp_err
=$ac_c_preproc_warn_flag
12237 if test -z "$ac_cpp_err"; then
12238 ac_header_preproc
=yes
12240 echo "$as_me: failed program was:" >&5
12241 sed 's/^/| /' conftest.
$ac_ext >&5
12243 ac_header_preproc
=no
12245 rm -f conftest.err conftest.
$ac_ext
12246 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12247 echo "${ECHO_T}$ac_header_preproc" >&6
12249 # So? What about this header?
12250 case $ac_header_compiler:$ac_header_preproc in
12252 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12253 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12258 ## ------------------------------------ ##
12259 ## Report this to bug-autoconf@gnu.org. ##
12260 ## ------------------------------------ ##
12263 sed "s/^/$as_me: WARNING: /" >&2
12266 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12267 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12268 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12269 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12274 ## ------------------------------------ ##
12275 ## Report this to bug-autoconf@gnu.org. ##
12276 ## ------------------------------------ ##
12279 sed "s/^/$as_me: WARNING: /" >&2
12282 echo "$as_me:$LINENO: checking for $ac_header" >&5
12283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12285 echo $ECHO_N "(cached) $ECHO_C" >&6
12287 eval "$as_ac_Header=$ac_header_preproc"
12289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12294 cat >>confdefs.h
<<_ACEOF
12295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12304 for ac_header
in stdlib.h
12306 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12308 echo "$as_me:$LINENO: checking for $ac_header" >&5
12309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12311 echo $ECHO_N "(cached) $ECHO_C" >&6
12313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12316 # Is the header compilable?
12317 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12318 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12319 cat >conftest.
$ac_ext <<_ACEOF
12320 #line $LINENO "configure"
12323 cat confdefs.h
>>conftest.
$ac_ext
12324 cat >>conftest.
$ac_ext <<_ACEOF
12325 /* end confdefs.h. */
12326 $ac_includes_default
12327 #include <$ac_header>
12329 rm -f conftest.
$ac_objext
12330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12331 (eval $ac_compile) 2>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); } &&
12335 { ac_try
='test -s conftest.$ac_objext'
12336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12337 (eval $ac_try) 2>&5
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); }; }; then
12341 ac_header_compiler
=yes
12343 echo "$as_me: failed program was:" >&5
12344 sed 's/^/| /' conftest.
$ac_ext >&5
12346 ac_header_compiler
=no
12348 rm -f conftest.
$ac_objext conftest.
$ac_ext
12349 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12350 echo "${ECHO_T}$ac_header_compiler" >&6
12352 # Is the header present?
12353 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12354 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12355 cat >conftest.
$ac_ext <<_ACEOF
12356 #line $LINENO "configure"
12359 cat confdefs.h
>>conftest.
$ac_ext
12360 cat >>conftest.
$ac_ext <<_ACEOF
12361 /* end confdefs.h. */
12362 #include <$ac_header>
12364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12365 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12367 grep -v '^ *+' conftest.er1
>conftest.err
12369 cat conftest.err
>&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } >/dev
/null
; then
12372 if test -s conftest.err
; then
12373 ac_cpp_err
=$ac_c_preproc_warn_flag
12380 if test -z "$ac_cpp_err"; then
12381 ac_header_preproc
=yes
12383 echo "$as_me: failed program was:" >&5
12384 sed 's/^/| /' conftest.
$ac_ext >&5
12386 ac_header_preproc
=no
12388 rm -f conftest.err conftest.
$ac_ext
12389 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12390 echo "${ECHO_T}$ac_header_preproc" >&6
12392 # So? What about this header?
12393 case $ac_header_compiler:$ac_header_preproc in
12395 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12396 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12397 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12398 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12401 ## ------------------------------------ ##
12402 ## Report this to bug-autoconf@gnu.org. ##
12403 ## ------------------------------------ ##
12406 sed "s/^/$as_me: WARNING: /" >&2
12409 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12410 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12411 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12412 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12417 ## ------------------------------------ ##
12418 ## Report this to bug-autoconf@gnu.org. ##
12419 ## ------------------------------------ ##
12422 sed "s/^/$as_me: WARNING: /" >&2
12425 echo "$as_me:$LINENO: checking for $ac_header" >&5
12426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12428 echo $ECHO_N "(cached) $ECHO_C" >&6
12430 eval "$as_ac_Header=$ac_header_preproc"
12432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12437 cat >>confdefs.h
<<_ACEOF
12438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12446 for ac_header
in malloc.h
12448 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12450 echo "$as_me:$LINENO: checking for $ac_header" >&5
12451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12458 # Is the header compilable?
12459 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12460 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12461 cat >conftest.
$ac_ext <<_ACEOF
12462 #line $LINENO "configure"
12465 cat confdefs.h
>>conftest.
$ac_ext
12466 cat >>conftest.
$ac_ext <<_ACEOF
12467 /* end confdefs.h. */
12468 $ac_includes_default
12469 #include <$ac_header>
12471 rm -f conftest.
$ac_objext
12472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12473 (eval $ac_compile) 2>&5
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); } &&
12477 { ac_try
='test -s conftest.$ac_objext'
12478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12479 (eval $ac_try) 2>&5
12481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 (exit $ac_status); }; }; then
12483 ac_header_compiler
=yes
12485 echo "$as_me: failed program was:" >&5
12486 sed 's/^/| /' conftest.
$ac_ext >&5
12488 ac_header_compiler
=no
12490 rm -f conftest.
$ac_objext conftest.
$ac_ext
12491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12492 echo "${ECHO_T}$ac_header_compiler" >&6
12494 # Is the header present?
12495 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12496 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12497 cat >conftest.
$ac_ext <<_ACEOF
12498 #line $LINENO "configure"
12501 cat confdefs.h
>>conftest.
$ac_ext
12502 cat >>conftest.
$ac_ext <<_ACEOF
12503 /* end confdefs.h. */
12504 #include <$ac_header>
12506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12507 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12509 grep -v '^ *+' conftest.er1
>conftest.err
12511 cat conftest.err
>&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); } >/dev
/null
; then
12514 if test -s conftest.err
; then
12515 ac_cpp_err
=$ac_c_preproc_warn_flag
12522 if test -z "$ac_cpp_err"; then
12523 ac_header_preproc
=yes
12525 echo "$as_me: failed program was:" >&5
12526 sed 's/^/| /' conftest.
$ac_ext >&5
12528 ac_header_preproc
=no
12530 rm -f conftest.err conftest.
$ac_ext
12531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12532 echo "${ECHO_T}$ac_header_preproc" >&6
12534 # So? What about this header?
12535 case $ac_header_compiler:$ac_header_preproc in
12537 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12543 ## ------------------------------------ ##
12544 ## Report this to bug-autoconf@gnu.org. ##
12545 ## ------------------------------------ ##
12548 sed "s/^/$as_me: WARNING: /" >&2
12551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12559 ## ------------------------------------ ##
12560 ## Report this to bug-autoconf@gnu.org. ##
12561 ## ------------------------------------ ##
12564 sed "s/^/$as_me: WARNING: /" >&2
12567 echo "$as_me:$LINENO: checking for $ac_header" >&5
12568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12570 echo $ECHO_N "(cached) $ECHO_C" >&6
12572 eval "$as_ac_Header=$ac_header_preproc"
12574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12579 cat >>confdefs.h
<<_ACEOF
12580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12588 for ac_header
in unistd.h
12590 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12592 echo "$as_me:$LINENO: checking for $ac_header" >&5
12593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12595 echo $ECHO_N "(cached) $ECHO_C" >&6
12597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12600 # Is the header compilable?
12601 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12603 cat >conftest.
$ac_ext <<_ACEOF
12604 #line $LINENO "configure"
12607 cat confdefs.h
>>conftest.
$ac_ext
12608 cat >>conftest.
$ac_ext <<_ACEOF
12609 /* end confdefs.h. */
12610 $ac_includes_default
12611 #include <$ac_header>
12613 rm -f conftest.
$ac_objext
12614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12615 (eval $ac_compile) 2>&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); } &&
12619 { ac_try
='test -s conftest.$ac_objext'
12620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12621 (eval $ac_try) 2>&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); }; }; then
12625 ac_header_compiler
=yes
12627 echo "$as_me: failed program was:" >&5
12628 sed 's/^/| /' conftest.
$ac_ext >&5
12630 ac_header_compiler
=no
12632 rm -f conftest.
$ac_objext conftest.
$ac_ext
12633 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12634 echo "${ECHO_T}$ac_header_compiler" >&6
12636 # Is the header present?
12637 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12638 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12639 cat >conftest.
$ac_ext <<_ACEOF
12640 #line $LINENO "configure"
12643 cat confdefs.h
>>conftest.
$ac_ext
12644 cat >>conftest.
$ac_ext <<_ACEOF
12645 /* end confdefs.h. */
12646 #include <$ac_header>
12648 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12649 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12651 grep -v '^ *+' conftest.er1
>conftest.err
12653 cat conftest.err
>&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); } >/dev
/null
; then
12656 if test -s conftest.err
; then
12657 ac_cpp_err
=$ac_c_preproc_warn_flag
12664 if test -z "$ac_cpp_err"; then
12665 ac_header_preproc
=yes
12667 echo "$as_me: failed program was:" >&5
12668 sed 's/^/| /' conftest.
$ac_ext >&5
12670 ac_header_preproc
=no
12672 rm -f conftest.err conftest.
$ac_ext
12673 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12674 echo "${ECHO_T}$ac_header_preproc" >&6
12676 # So? What about this header?
12677 case $ac_header_compiler:$ac_header_preproc in
12679 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12680 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12682 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12685 ## ------------------------------------ ##
12686 ## Report this to bug-autoconf@gnu.org. ##
12687 ## ------------------------------------ ##
12690 sed "s/^/$as_me: WARNING: /" >&2
12693 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12694 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12695 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12696 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12697 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12698 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12701 ## ------------------------------------ ##
12702 ## Report this to bug-autoconf@gnu.org. ##
12703 ## ------------------------------------ ##
12706 sed "s/^/$as_me: WARNING: /" >&2
12709 echo "$as_me:$LINENO: checking for $ac_header" >&5
12710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12712 echo $ECHO_N "(cached) $ECHO_C" >&6
12714 eval "$as_ac_Header=$ac_header_preproc"
12716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12721 cat >>confdefs.h
<<_ACEOF
12722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12730 for ac_header
in wchar.h
12732 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12734 echo "$as_me:$LINENO: checking for $ac_header" >&5
12735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12737 echo $ECHO_N "(cached) $ECHO_C" >&6
12739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12742 # Is the header compilable?
12743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12745 cat >conftest.
$ac_ext <<_ACEOF
12746 #line $LINENO "configure"
12749 cat confdefs.h
>>conftest.
$ac_ext
12750 cat >>conftest.
$ac_ext <<_ACEOF
12751 /* end confdefs.h. */
12752 $ac_includes_default
12753 #include <$ac_header>
12755 rm -f conftest.
$ac_objext
12756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12757 (eval $ac_compile) 2>&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); } &&
12761 { ac_try
='test -s conftest.$ac_objext'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; }; then
12767 ac_header_compiler
=yes
12769 echo "$as_me: failed program was:" >&5
12770 sed 's/^/| /' conftest.
$ac_ext >&5
12772 ac_header_compiler
=no
12774 rm -f conftest.
$ac_objext conftest.
$ac_ext
12775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12776 echo "${ECHO_T}$ac_header_compiler" >&6
12778 # Is the header present?
12779 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12780 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12781 cat >conftest.
$ac_ext <<_ACEOF
12782 #line $LINENO "configure"
12785 cat confdefs.h
>>conftest.
$ac_ext
12786 cat >>conftest.
$ac_ext <<_ACEOF
12787 /* end confdefs.h. */
12788 #include <$ac_header>
12790 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12791 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12793 grep -v '^ *+' conftest.er1
>conftest.err
12795 cat conftest.err
>&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } >/dev
/null
; then
12798 if test -s conftest.err
; then
12799 ac_cpp_err
=$ac_c_preproc_warn_flag
12806 if test -z "$ac_cpp_err"; then
12807 ac_header_preproc
=yes
12809 echo "$as_me: failed program was:" >&5
12810 sed 's/^/| /' conftest.
$ac_ext >&5
12812 ac_header_preproc
=no
12814 rm -f conftest.err conftest.
$ac_ext
12815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12816 echo "${ECHO_T}$ac_header_preproc" >&6
12818 # So? What about this header?
12819 case $ac_header_compiler:$ac_header_preproc in
12821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12824 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12827 ## ------------------------------------ ##
12828 ## Report this to bug-autoconf@gnu.org. ##
12829 ## ------------------------------------ ##
12832 sed "s/^/$as_me: WARNING: /" >&2
12835 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12837 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12838 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12843 ## ------------------------------------ ##
12844 ## Report this to bug-autoconf@gnu.org. ##
12845 ## ------------------------------------ ##
12848 sed "s/^/$as_me: WARNING: /" >&2
12851 echo "$as_me:$LINENO: checking for $ac_header" >&5
12852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12854 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 eval "$as_ac_Header=$ac_header_preproc"
12858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12862 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12863 cat >>confdefs.h
<<_ACEOF
12864 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12872 if test "$ac_cv_header_wchar_h" != "yes"; then
12874 for ac_header
in wcstr.h
12876 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12878 echo "$as_me:$LINENO: checking for $ac_header" >&5
12879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12881 echo $ECHO_N "(cached) $ECHO_C" >&6
12883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12886 # Is the header compilable?
12887 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12889 cat >conftest.
$ac_ext <<_ACEOF
12890 #line $LINENO "configure"
12893 cat confdefs.h
>>conftest.
$ac_ext
12894 cat >>conftest.
$ac_ext <<_ACEOF
12895 /* end confdefs.h. */
12896 $ac_includes_default
12897 #include <$ac_header>
12899 rm -f conftest.
$ac_objext
12900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12901 (eval $ac_compile) 2>&5
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); } &&
12905 { ac_try
='test -s conftest.$ac_objext'
12906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12907 (eval $ac_try) 2>&5
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); }; }; then
12911 ac_header_compiler
=yes
12913 echo "$as_me: failed program was:" >&5
12914 sed 's/^/| /' conftest.
$ac_ext >&5
12916 ac_header_compiler
=no
12918 rm -f conftest.
$ac_objext conftest.
$ac_ext
12919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12920 echo "${ECHO_T}$ac_header_compiler" >&6
12922 # Is the header present?
12923 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12925 cat >conftest.
$ac_ext <<_ACEOF
12926 #line $LINENO "configure"
12929 cat confdefs.h
>>conftest.
$ac_ext
12930 cat >>conftest.
$ac_ext <<_ACEOF
12931 /* end confdefs.h. */
12932 #include <$ac_header>
12934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12935 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12937 grep -v '^ *+' conftest.er1
>conftest.err
12939 cat conftest.err
>&5
12940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12941 (exit $ac_status); } >/dev
/null
; then
12942 if test -s conftest.err
; then
12943 ac_cpp_err
=$ac_c_preproc_warn_flag
12950 if test -z "$ac_cpp_err"; then
12951 ac_header_preproc
=yes
12953 echo "$as_me: failed program was:" >&5
12954 sed 's/^/| /' conftest.
$ac_ext >&5
12956 ac_header_preproc
=no
12958 rm -f conftest.err conftest.
$ac_ext
12959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12960 echo "${ECHO_T}$ac_header_preproc" >&6
12962 # So? What about this header?
12963 case $ac_header_compiler:$ac_header_preproc in
12965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12968 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12971 ## ------------------------------------ ##
12972 ## Report this to bug-autoconf@gnu.org. ##
12973 ## ------------------------------------ ##
12976 sed "s/^/$as_me: WARNING: /" >&2
12979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12980 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12981 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12982 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12984 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12987 ## ------------------------------------ ##
12988 ## Report this to bug-autoconf@gnu.org. ##
12989 ## ------------------------------------ ##
12992 sed "s/^/$as_me: WARNING: /" >&2
12995 echo "$as_me:$LINENO: checking for $ac_header" >&5
12996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12998 echo $ECHO_N "(cached) $ECHO_C" >&6
13000 eval "$as_ac_Header=$ac_header_preproc"
13002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13007 cat >>confdefs.h
<<_ACEOF
13008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13018 for ac_header
in fnmatch.h
13020 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13022 echo "$as_me:$LINENO: checking for $ac_header" >&5
13023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13025 echo $ECHO_N "(cached) $ECHO_C" >&6
13027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13030 # Is the header compilable?
13031 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13032 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13033 cat >conftest.
$ac_ext <<_ACEOF
13034 #line $LINENO "configure"
13037 cat confdefs.h
>>conftest.
$ac_ext
13038 cat >>conftest.
$ac_ext <<_ACEOF
13039 /* end confdefs.h. */
13040 $ac_includes_default
13041 #include <$ac_header>
13043 rm -f conftest.
$ac_objext
13044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13045 (eval $ac_compile) 2>&5
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); } &&
13049 { ac_try
='test -s conftest.$ac_objext'
13050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13051 (eval $ac_try) 2>&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); }; }; then
13055 ac_header_compiler
=yes
13057 echo "$as_me: failed program was:" >&5
13058 sed 's/^/| /' conftest.
$ac_ext >&5
13060 ac_header_compiler
=no
13062 rm -f conftest.
$ac_objext conftest.
$ac_ext
13063 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13064 echo "${ECHO_T}$ac_header_compiler" >&6
13066 # Is the header present?
13067 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13068 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13069 cat >conftest.
$ac_ext <<_ACEOF
13070 #line $LINENO "configure"
13073 cat confdefs.h
>>conftest.
$ac_ext
13074 cat >>conftest.
$ac_ext <<_ACEOF
13075 /* end confdefs.h. */
13076 #include <$ac_header>
13078 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13079 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13081 grep -v '^ *+' conftest.er1
>conftest.err
13083 cat conftest.err
>&5
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); } >/dev
/null
; then
13086 if test -s conftest.err
; then
13087 ac_cpp_err
=$ac_c_preproc_warn_flag
13094 if test -z "$ac_cpp_err"; then
13095 ac_header_preproc
=yes
13097 echo "$as_me: failed program was:" >&5
13098 sed 's/^/| /' conftest.
$ac_ext >&5
13100 ac_header_preproc
=no
13102 rm -f conftest.err conftest.
$ac_ext
13103 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13104 echo "${ECHO_T}$ac_header_preproc" >&6
13106 # So? What about this header?
13107 case $ac_header_compiler:$ac_header_preproc in
13109 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13110 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13111 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13112 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13115 ## ------------------------------------ ##
13116 ## Report this to bug-autoconf@gnu.org. ##
13117 ## ------------------------------------ ##
13120 sed "s/^/$as_me: WARNING: /" >&2
13123 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13124 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13125 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13126 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13128 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13131 ## ------------------------------------ ##
13132 ## Report this to bug-autoconf@gnu.org. ##
13133 ## ------------------------------------ ##
13136 sed "s/^/$as_me: WARNING: /" >&2
13139 echo "$as_me:$LINENO: checking for $ac_header" >&5
13140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13142 echo $ECHO_N "(cached) $ECHO_C" >&6
13144 eval "$as_ac_Header=$ac_header_preproc"
13146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13151 cat >>confdefs.h
<<_ACEOF
13152 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13160 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13162 for ac_func
in fnmatch
13164 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13165 echo "$as_me:$LINENO: checking for $ac_func" >&5
13166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13167 if eval "test \"\${$as_ac_var+set}\" = set"; then
13168 echo $ECHO_N "(cached) $ECHO_C" >&6
13170 cat >conftest.
$ac_ext <<_ACEOF
13171 #line $LINENO "configure"
13174 cat confdefs.h
>>conftest.
$ac_ext
13175 cat >>conftest.
$ac_ext <<_ACEOF
13176 /* end confdefs.h. */
13177 /* System header to define __stub macros and hopefully few prototypes,
13178 which can conflict with char $ac_func (); below.
13179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13180 <limits.h> exists even on freestanding compilers. */
13182 # include <limits.h>
13184 # include <assert.h>
13186 /* Override any gcc2 internal prototype to avoid an error. */
13191 /* We use char because int might match the return type of a gcc2
13192 builtin and then its argument prototype would still apply. */
13194 /* The GNU C library defines this for functions which it implements
13195 to always fail with ENOSYS. Some functions are actually named
13196 something starting with __ and the normal name is an alias. */
13197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13200 char (*f) () = $ac_func;
13209 return f != $ac_func;
13214 rm -f conftest.
$ac_objext conftest
$ac_exeext
13215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13216 (eval $ac_link) 2>&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); } &&
13220 { ac_try
='test -s conftest$ac_exeext'
13221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13222 (eval $ac_try) 2>&5
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); }; }; then
13226 eval "$as_ac_var=yes"
13228 echo "$as_me: failed program was:" >&5
13229 sed 's/^/| /' conftest.
$ac_ext >&5
13231 eval "$as_ac_var=no"
13233 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13237 if test `eval echo '${'$as_ac_var'}'` = yes; then
13238 cat >>confdefs.h
<<_ACEOF
13239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13248 for ac_header
in langinfo.h
13250 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13252 echo "$as_me:$LINENO: checking for $ac_header" >&5
13253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13255 echo $ECHO_N "(cached) $ECHO_C" >&6
13257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13260 # Is the header compilable?
13261 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13262 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13263 cat >conftest.
$ac_ext <<_ACEOF
13264 #line $LINENO "configure"
13267 cat confdefs.h
>>conftest.
$ac_ext
13268 cat >>conftest.
$ac_ext <<_ACEOF
13269 /* end confdefs.h. */
13270 $ac_includes_default
13271 #include <$ac_header>
13273 rm -f conftest.
$ac_objext
13274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13275 (eval $ac_compile) 2>&5
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); } &&
13279 { ac_try
='test -s conftest.$ac_objext'
13280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13281 (eval $ac_try) 2>&5
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); }; }; then
13285 ac_header_compiler
=yes
13287 echo "$as_me: failed program was:" >&5
13288 sed 's/^/| /' conftest.
$ac_ext >&5
13290 ac_header_compiler
=no
13292 rm -f conftest.
$ac_objext conftest.
$ac_ext
13293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13294 echo "${ECHO_T}$ac_header_compiler" >&6
13296 # Is the header present?
13297 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13298 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13299 cat >conftest.
$ac_ext <<_ACEOF
13300 #line $LINENO "configure"
13303 cat confdefs.h
>>conftest.
$ac_ext
13304 cat >>conftest.
$ac_ext <<_ACEOF
13305 /* end confdefs.h. */
13306 #include <$ac_header>
13308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13309 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13311 grep -v '^ *+' conftest.er1
>conftest.err
13313 cat conftest.err
>&5
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); } >/dev
/null
; then
13316 if test -s conftest.err
; then
13317 ac_cpp_err
=$ac_c_preproc_warn_flag
13324 if test -z "$ac_cpp_err"; then
13325 ac_header_preproc
=yes
13327 echo "$as_me: failed program was:" >&5
13328 sed 's/^/| /' conftest.
$ac_ext >&5
13330 ac_header_preproc
=no
13332 rm -f conftest.err conftest.
$ac_ext
13333 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13334 echo "${ECHO_T}$ac_header_preproc" >&6
13336 # So? What about this header?
13337 case $ac_header_compiler:$ac_header_preproc in
13339 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13340 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13342 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13345 ## ------------------------------------ ##
13346 ## Report this to bug-autoconf@gnu.org. ##
13347 ## ------------------------------------ ##
13350 sed "s/^/$as_me: WARNING: /" >&2
13353 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13354 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13355 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13356 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13361 ## ------------------------------------ ##
13362 ## Report this to bug-autoconf@gnu.org. ##
13363 ## ------------------------------------ ##
13366 sed "s/^/$as_me: WARNING: /" >&2
13369 echo "$as_me:$LINENO: checking for $ac_header" >&5
13370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13372 echo $ECHO_N "(cached) $ECHO_C" >&6
13374 eval "$as_ac_Header=$ac_header_preproc"
13376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13381 cat >>confdefs.h
<<_ACEOF
13382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13391 *-pc-os2_emx | *-pc-os2-emx )
13392 if test $ac_cv_header_langinfo_h = "yes"; then
13393 LIBS
="$LIBS -lintl"
13398 if test "$wxUSE_GUI" = "yes"; then
13399 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13401 for ac_header
in X
11/Xlib.h
13403 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13405 echo "$as_me:$LINENO: checking for $ac_header" >&5
13406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13408 echo $ECHO_N "(cached) $ECHO_C" >&6
13410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13413 # Is the header compilable?
13414 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13415 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13416 cat >conftest.
$ac_ext <<_ACEOF
13417 #line $LINENO "configure"
13420 cat confdefs.h
>>conftest.
$ac_ext
13421 cat >>conftest.
$ac_ext <<_ACEOF
13422 /* end confdefs.h. */
13423 $ac_includes_default
13424 #include <$ac_header>
13426 rm -f conftest.
$ac_objext
13427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13428 (eval $ac_compile) 2>&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); } &&
13432 { ac_try
='test -s conftest.$ac_objext'
13433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13434 (eval $ac_try) 2>&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); }; }; then
13438 ac_header_compiler
=yes
13440 echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.
$ac_ext >&5
13443 ac_header_compiler
=no
13445 rm -f conftest.
$ac_objext conftest.
$ac_ext
13446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13447 echo "${ECHO_T}$ac_header_compiler" >&6
13449 # Is the header present?
13450 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13452 cat >conftest.
$ac_ext <<_ACEOF
13453 #line $LINENO "configure"
13456 cat confdefs.h
>>conftest.
$ac_ext
13457 cat >>conftest.
$ac_ext <<_ACEOF
13458 /* end confdefs.h. */
13459 #include <$ac_header>
13461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13462 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13464 grep -v '^ *+' conftest.er1
>conftest.err
13466 cat conftest.err
>&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } >/dev
/null
; then
13469 if test -s conftest.err
; then
13470 ac_cpp_err
=$ac_c_preproc_warn_flag
13477 if test -z "$ac_cpp_err"; then
13478 ac_header_preproc
=yes
13480 echo "$as_me: failed program was:" >&5
13481 sed 's/^/| /' conftest.
$ac_ext >&5
13483 ac_header_preproc
=no
13485 rm -f conftest.err conftest.
$ac_ext
13486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13487 echo "${ECHO_T}$ac_header_preproc" >&6
13489 # So? What about this header?
13490 case $ac_header_compiler:$ac_header_preproc in
13492 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13493 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13498 ## ------------------------------------ ##
13499 ## Report this to bug-autoconf@gnu.org. ##
13500 ## ------------------------------------ ##
13503 sed "s/^/$as_me: WARNING: /" >&2
13506 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13507 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13508 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13509 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13511 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13514 ## ------------------------------------ ##
13515 ## Report this to bug-autoconf@gnu.org. ##
13516 ## ------------------------------------ ##
13519 sed "s/^/$as_me: WARNING: /" >&2
13522 echo "$as_me:$LINENO: checking for $ac_header" >&5
13523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13525 echo $ECHO_N "(cached) $ECHO_C" >&6
13527 eval "$as_ac_Header=$ac_header_preproc"
13529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13534 cat >>confdefs.h
<<_ACEOF
13535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13543 for ac_header
in X
11/XKBlib.h
13545 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13546 echo "$as_me:$LINENO: checking for $ac_header" >&5
13547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13551 cat >conftest.
$ac_ext <<_ACEOF
13552 #line $LINENO "configure"
13555 cat confdefs.h
>>conftest.
$ac_ext
13556 cat >>conftest.
$ac_ext <<_ACEOF
13557 /* end confdefs.h. */
13559 #if HAVE_X11_XLIB_H
13560 #include <X11/Xlib.h>
13564 #include <$ac_header>
13566 rm -f conftest.
$ac_objext
13567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13568 (eval $ac_compile) 2>&5
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); } &&
13572 { ac_try
='test -s conftest.$ac_objext'
13573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13574 (eval $ac_try) 2>&5
13576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577 (exit $ac_status); }; }; then
13578 eval "$as_ac_Header=yes"
13580 echo "$as_me: failed program was:" >&5
13581 sed 's/^/| /' conftest.
$ac_ext >&5
13583 eval "$as_ac_Header=no"
13585 rm -f conftest.
$ac_objext conftest.
$ac_ext
13587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13590 cat >>confdefs.h
<<_ACEOF
13591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13602 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13603 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13604 if test "${ac_cv_c_const+set}" = set; then
13605 echo $ECHO_N "(cached) $ECHO_C" >&6
13607 cat >conftest.
$ac_ext <<_ACEOF
13608 #line $LINENO "configure"
13611 cat confdefs.h
>>conftest.
$ac_ext
13612 cat >>conftest.
$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13618 /* FIXME: Include the comments suggested by Paul. */
13619 #ifndef __cplusplus
13620 /* Ultrix mips cc rejects this. */
13621 typedef int charset[2];
13623 /* SunOS 4.1.1 cc rejects this. */
13624 char const *const *ccp;
13626 /* NEC SVR4.0.2 mips cc rejects this. */
13627 struct point {int x, y;};
13628 static struct point const zero = {0,0};
13629 /* AIX XL C 1.02.0.0 rejects this.
13630 It does not let you subtract one const X* pointer from another in
13631 an arm of an if-expression whose if-part is not a constant
13633 const char *g = "string";
13634 ccp = &g + (g ? g-g : 0);
13635 /* HPUX 7.0 cc rejects these. */
13638 ccp = (char const *const *) p;
13639 { /* SCO 3.2v4 cc rejects this. */
13641 char const *s = 0 ? (char *) 0 : (char const *) 0;
13645 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13646 int x[] = {25, 17};
13647 const int *foo = &x[0];
13650 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13651 typedef const int *iptr;
13655 { /* AIX XL C 1.02.0.0 rejects this saying
13656 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13657 struct s { int j; const int *ap[3]; };
13658 struct s *b; b->j = 5;
13660 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13661 const int foo = 10;
13669 rm -f conftest.
$ac_objext
13670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13671 (eval $ac_compile) 2>&5
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); } &&
13675 { ac_try
='test -s conftest.$ac_objext'
13676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13677 (eval $ac_try) 2>&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; }; then
13683 echo "$as_me: failed program was:" >&5
13684 sed 's/^/| /' conftest.
$ac_ext >&5
13688 rm -f conftest.
$ac_objext conftest.
$ac_ext
13690 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13691 echo "${ECHO_T}$ac_cv_c_const" >&6
13692 if test $ac_cv_c_const = no
; then
13694 cat >>confdefs.h
<<\_ACEOF
13700 echo "$as_me:$LINENO: checking for inline" >&5
13701 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13702 if test "${ac_cv_c_inline+set}" = set; then
13703 echo $ECHO_N "(cached) $ECHO_C" >&6
13706 for ac_kw
in inline __inline__ __inline
; do
13707 cat >conftest.
$ac_ext <<_ACEOF
13708 #line $LINENO "configure"
13711 cat confdefs.h
>>conftest.
$ac_ext
13712 cat >>conftest.
$ac_ext <<_ACEOF
13713 /* end confdefs.h. */
13714 #ifndef __cplusplus
13716 static $ac_kw foo_t static_foo () {return 0; }
13717 $ac_kw foo_t foo () {return 0; }
13721 rm -f conftest.
$ac_objext
13722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13723 (eval $ac_compile) 2>&5
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); } &&
13727 { ac_try
='test -s conftest.$ac_objext'
13728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13729 (eval $ac_try) 2>&5
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); }; }; then
13733 ac_cv_c_inline
=$ac_kw; break
13735 echo "$as_me: failed program was:" >&5
13736 sed 's/^/| /' conftest.
$ac_ext >&5
13739 rm -f conftest.
$ac_objext conftest.
$ac_ext
13743 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13744 echo "${ECHO_T}$ac_cv_c_inline" >&6
13745 case $ac_cv_c_inline in
13748 cat >>confdefs.h
<<\_ACEOF
13752 *) cat >>confdefs.h
<<_ACEOF
13753 #define inline $ac_cv_c_inline
13759 echo "$as_me:$LINENO: checking for char" >&5
13760 echo $ECHO_N "checking for char... $ECHO_C" >&6
13761 if test "${ac_cv_type_char+set}" = set; then
13762 echo $ECHO_N "(cached) $ECHO_C" >&6
13764 cat >conftest.
$ac_ext <<_ACEOF
13765 #line $LINENO "configure"
13768 cat confdefs.h
>>conftest.
$ac_ext
13769 cat >>conftest.
$ac_ext <<_ACEOF
13770 /* end confdefs.h. */
13771 $ac_includes_default
13783 rm -f conftest.
$ac_objext
13784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13785 (eval $ac_compile) 2>&5
13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788 (exit $ac_status); } &&
13789 { ac_try
='test -s conftest.$ac_objext'
13790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13791 (eval $ac_try) 2>&5
13793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794 (exit $ac_status); }; }; then
13795 ac_cv_type_char
=yes
13797 echo "$as_me: failed program was:" >&5
13798 sed 's/^/| /' conftest.
$ac_ext >&5
13802 rm -f conftest.
$ac_objext conftest.
$ac_ext
13804 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13805 echo "${ECHO_T}$ac_cv_type_char" >&6
13807 echo "$as_me:$LINENO: checking size of char" >&5
13808 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13809 if test "${ac_cv_sizeof_char+set}" = set; then
13810 echo $ECHO_N "(cached) $ECHO_C" >&6
13812 if test "$ac_cv_type_char" = yes; then
13813 # The cast to unsigned long works around a bug in the HP C Compiler
13814 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13815 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13816 # This bug is HP SR number 8606223364.
13817 if test "$cross_compiling" = yes; then
13818 # Depending upon the size, compute the lo and hi bounds.
13819 cat >conftest.
$ac_ext <<_ACEOF
13820 #line $LINENO "configure"
13823 cat confdefs.h
>>conftest.
$ac_ext
13824 cat >>conftest.
$ac_ext <<_ACEOF
13825 /* end confdefs.h. */
13826 $ac_includes_default
13830 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13837 rm -f conftest.
$ac_objext
13838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13839 (eval $ac_compile) 2>&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); } &&
13843 { ac_try
='test -s conftest.$ac_objext'
13844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13845 (eval $ac_try) 2>&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); }; }; then
13851 cat >conftest.
$ac_ext <<_ACEOF
13852 #line $LINENO "configure"
13855 cat confdefs.h
>>conftest.
$ac_ext
13856 cat >>conftest.
$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13858 $ac_includes_default
13862 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13869 rm -f conftest.
$ac_objext
13870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13871 (eval $ac_compile) 2>&5
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); } &&
13875 { ac_try
='test -s conftest.$ac_objext'
13876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13877 (eval $ac_try) 2>&5
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); }; }; then
13881 ac_hi
=$ac_mid; break
13883 echo "$as_me: failed program was:" >&5
13884 sed 's/^/| /' conftest.
$ac_ext >&5
13886 ac_lo
=`expr $ac_mid + 1`
13887 if test $ac_lo -le $ac_mid; then
13891 ac_mid
=`expr 2 '*' $ac_mid + 1`
13893 rm -f conftest.
$ac_objext conftest.
$ac_ext
13896 echo "$as_me: failed program was:" >&5
13897 sed 's/^/| /' conftest.
$ac_ext >&5
13899 cat >conftest.
$ac_ext <<_ACEOF
13900 #line $LINENO "configure"
13903 cat confdefs.h
>>conftest.
$ac_ext
13904 cat >>conftest.
$ac_ext <<_ACEOF
13905 /* end confdefs.h. */
13906 $ac_includes_default
13910 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13917 rm -f conftest.
$ac_objext
13918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13919 (eval $ac_compile) 2>&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); } &&
13923 { ac_try
='test -s conftest.$ac_objext'
13924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13925 (eval $ac_try) 2>&5
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); }; }; then
13931 cat >conftest.
$ac_ext <<_ACEOF
13932 #line $LINENO "configure"
13935 cat confdefs.h
>>conftest.
$ac_ext
13936 cat >>conftest.
$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13938 $ac_includes_default
13942 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13949 rm -f conftest.
$ac_objext
13950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13951 (eval $ac_compile) 2>&5
13953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13954 (exit $ac_status); } &&
13955 { ac_try
='test -s conftest.$ac_objext'
13956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13957 (eval $ac_try) 2>&5
13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960 (exit $ac_status); }; }; then
13961 ac_lo
=$ac_mid; break
13963 echo "$as_me: failed program was:" >&5
13964 sed 's/^/| /' conftest.
$ac_ext >&5
13966 ac_hi
=`expr '(' $ac_mid ')' - 1`
13967 if test $ac_mid -le $ac_hi; then
13971 ac_mid
=`expr 2 '*' $ac_mid`
13973 rm -f conftest.
$ac_objext conftest.
$ac_ext
13976 echo "$as_me: failed program was:" >&5
13977 sed 's/^/| /' conftest.
$ac_ext >&5
13981 rm -f conftest.
$ac_objext conftest.
$ac_ext
13983 rm -f conftest.
$ac_objext conftest.
$ac_ext
13984 # Binary search between lo and hi bounds.
13985 while test "x$ac_lo" != "x$ac_hi"; do
13986 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13987 cat >conftest.
$ac_ext <<_ACEOF
13988 #line $LINENO "configure"
13991 cat confdefs.h
>>conftest.
$ac_ext
13992 cat >>conftest.
$ac_ext <<_ACEOF
13993 /* end confdefs.h. */
13994 $ac_includes_default
13998 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14005 rm -f conftest.
$ac_objext
14006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14007 (eval $ac_compile) 2>&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); } &&
14011 { ac_try
='test -s conftest.$ac_objext'
14012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14013 (eval $ac_try) 2>&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); }; }; then
14019 echo "$as_me: failed program was:" >&5
14020 sed 's/^/| /' conftest.
$ac_ext >&5
14022 ac_lo
=`expr '(' $ac_mid ')' + 1`
14024 rm -f conftest.
$ac_objext conftest.
$ac_ext
14027 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14028 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14029 See \`config.log' for more details." >&5
14030 echo "$as_me: error: cannot compute sizeof (char), 77
14031 See \`config.log' for more details." >&2;}
14032 { (exit 1); exit 1; }; } ;;
14035 if test "$cross_compiling" = yes; then
14036 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14037 See \`config.log' for more details." >&5
14038 echo "$as_me: error: cannot run test program while cross compiling
14039 See \`config.log' for more details." >&2;}
14040 { (exit 1); exit 1; }; }
14042 cat >conftest.
$ac_ext <<_ACEOF
14043 #line $LINENO "configure"
14046 cat confdefs.h
>>conftest.
$ac_ext
14047 cat >>conftest.
$ac_ext <<_ACEOF
14048 /* end confdefs.h. */
14049 $ac_includes_default
14050 long longval () { return (long) (sizeof (char)); }
14051 unsigned long ulongval () { return (long) (sizeof (char)); }
14053 #include <stdlib.h>
14058 FILE *f = fopen ("conftest.val", "w");
14061 if (((long) (sizeof (char))) < 0)
14063 long i = longval ();
14064 if (i != ((long) (sizeof (char))))
14066 fprintf (f, "%ld\n", i);
14070 unsigned long i = ulongval ();
14071 if (i != ((long) (sizeof (char))))
14073 fprintf (f, "%lu\n", i);
14075 exit (ferror (f) || fclose (f) != 0);
14081 rm -f conftest
$ac_exeext
14082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14083 (eval $ac_link) 2>&5
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14088 (eval $ac_try) 2>&5
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); }; }; then
14092 ac_cv_sizeof_char
=`cat conftest.val`
14094 echo "$as_me: program exited with status $ac_status" >&5
14095 echo "$as_me: failed program was:" >&5
14096 sed 's/^/| /' conftest.
$ac_ext >&5
14098 ( exit $ac_status )
14099 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14100 See \`config.log' for more details." >&5
14101 echo "$as_me: error: cannot compute sizeof (char), 77
14102 See \`config.log' for more details." >&2;}
14103 { (exit 1); exit 1; }; }
14105 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14110 ac_cv_sizeof_char
=0
14113 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14114 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14115 cat >>confdefs.h
<<_ACEOF
14116 #define SIZEOF_CHAR $ac_cv_sizeof_char
14120 echo "$as_me:$LINENO: checking for short" >&5
14121 echo $ECHO_N "checking for short... $ECHO_C" >&6
14122 if test "${ac_cv_type_short+set}" = set; then
14123 echo $ECHO_N "(cached) $ECHO_C" >&6
14125 cat >conftest.
$ac_ext <<_ACEOF
14126 #line $LINENO "configure"
14129 cat confdefs.h
>>conftest.
$ac_ext
14130 cat >>conftest.
$ac_ext <<_ACEOF
14131 /* end confdefs.h. */
14132 $ac_includes_default
14138 if (sizeof (short))
14144 rm -f conftest.
$ac_objext
14145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14146 (eval $ac_compile) 2>&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); } &&
14150 { ac_try
='test -s conftest.$ac_objext'
14151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14152 (eval $ac_try) 2>&5
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); }; }; then
14156 ac_cv_type_short
=yes
14158 echo "$as_me: failed program was:" >&5
14159 sed 's/^/| /' conftest.
$ac_ext >&5
14161 ac_cv_type_short
=no
14163 rm -f conftest.
$ac_objext conftest.
$ac_ext
14165 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14166 echo "${ECHO_T}$ac_cv_type_short" >&6
14168 echo "$as_me:$LINENO: checking size of short" >&5
14169 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14170 if test "${ac_cv_sizeof_short+set}" = set; then
14171 echo $ECHO_N "(cached) $ECHO_C" >&6
14173 if test "$ac_cv_type_short" = yes; then
14174 # The cast to unsigned long works around a bug in the HP C Compiler
14175 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14176 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14177 # This bug is HP SR number 8606223364.
14178 if test "$cross_compiling" = yes; then
14179 # Depending upon the size, compute the lo and hi bounds.
14180 cat >conftest.
$ac_ext <<_ACEOF
14181 #line $LINENO "configure"
14184 cat confdefs.h
>>conftest.
$ac_ext
14185 cat >>conftest.
$ac_ext <<_ACEOF
14186 /* end confdefs.h. */
14187 $ac_includes_default
14191 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14198 rm -f conftest.
$ac_objext
14199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14200 (eval $ac_compile) 2>&5
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); } &&
14204 { ac_try
='test -s conftest.$ac_objext'
14205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14206 (eval $ac_try) 2>&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); }; }; then
14212 cat >conftest.
$ac_ext <<_ACEOF
14213 #line $LINENO "configure"
14216 cat confdefs.h
>>conftest.
$ac_ext
14217 cat >>conftest.
$ac_ext <<_ACEOF
14218 /* end confdefs.h. */
14219 $ac_includes_default
14223 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14230 rm -f conftest.
$ac_objext
14231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14232 (eval $ac_compile) 2>&5
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); } &&
14236 { ac_try
='test -s conftest.$ac_objext'
14237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14238 (eval $ac_try) 2>&5
14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 (exit $ac_status); }; }; then
14242 ac_hi
=$ac_mid; break
14244 echo "$as_me: failed program was:" >&5
14245 sed 's/^/| /' conftest.
$ac_ext >&5
14247 ac_lo
=`expr $ac_mid + 1`
14248 if test $ac_lo -le $ac_mid; then
14252 ac_mid
=`expr 2 '*' $ac_mid + 1`
14254 rm -f conftest.
$ac_objext conftest.
$ac_ext
14257 echo "$as_me: failed program was:" >&5
14258 sed 's/^/| /' conftest.
$ac_ext >&5
14260 cat >conftest.
$ac_ext <<_ACEOF
14261 #line $LINENO "configure"
14264 cat confdefs.h
>>conftest.
$ac_ext
14265 cat >>conftest.
$ac_ext <<_ACEOF
14266 /* end confdefs.h. */
14267 $ac_includes_default
14271 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14278 rm -f conftest.
$ac_objext
14279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14280 (eval $ac_compile) 2>&5
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); } &&
14284 { ac_try
='test -s conftest.$ac_objext'
14285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14286 (eval $ac_try) 2>&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); }; }; then
14292 cat >conftest.
$ac_ext <<_ACEOF
14293 #line $LINENO "configure"
14296 cat confdefs.h
>>conftest.
$ac_ext
14297 cat >>conftest.
$ac_ext <<_ACEOF
14298 /* end confdefs.h. */
14299 $ac_includes_default
14303 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14310 rm -f conftest.
$ac_objext
14311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14312 (eval $ac_compile) 2>&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); } &&
14316 { ac_try
='test -s conftest.$ac_objext'
14317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14318 (eval $ac_try) 2>&5
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); }; }; then
14322 ac_lo
=$ac_mid; break
14324 echo "$as_me: failed program was:" >&5
14325 sed 's/^/| /' conftest.
$ac_ext >&5
14327 ac_hi
=`expr '(' $ac_mid ')' - 1`
14328 if test $ac_mid -le $ac_hi; then
14332 ac_mid
=`expr 2 '*' $ac_mid`
14334 rm -f conftest.
$ac_objext conftest.
$ac_ext
14337 echo "$as_me: failed program was:" >&5
14338 sed 's/^/| /' conftest.
$ac_ext >&5
14342 rm -f conftest.
$ac_objext conftest.
$ac_ext
14344 rm -f conftest.
$ac_objext conftest.
$ac_ext
14345 # Binary search between lo and hi bounds.
14346 while test "x$ac_lo" != "x$ac_hi"; do
14347 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14348 cat >conftest.
$ac_ext <<_ACEOF
14349 #line $LINENO "configure"
14352 cat confdefs.h
>>conftest.
$ac_ext
14353 cat >>conftest.
$ac_ext <<_ACEOF
14354 /* end confdefs.h. */
14355 $ac_includes_default
14359 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14366 rm -f conftest.
$ac_objext
14367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14368 (eval $ac_compile) 2>&5
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); } &&
14372 { ac_try
='test -s conftest.$ac_objext'
14373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14374 (eval $ac_try) 2>&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); }; }; then
14380 echo "$as_me: failed program was:" >&5
14381 sed 's/^/| /' conftest.
$ac_ext >&5
14383 ac_lo
=`expr '(' $ac_mid ')' + 1`
14385 rm -f conftest.
$ac_objext conftest.
$ac_ext
14388 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14389 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14390 See \`config.log' for more details." >&5
14391 echo "$as_me: error: cannot compute sizeof (short), 77
14392 See \`config.log' for more details." >&2;}
14393 { (exit 1); exit 1; }; } ;;
14396 if test "$cross_compiling" = yes; then
14397 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14398 See \`config.log' for more details." >&5
14399 echo "$as_me: error: cannot run test program while cross compiling
14400 See \`config.log' for more details." >&2;}
14401 { (exit 1); exit 1; }; }
14403 cat >conftest.
$ac_ext <<_ACEOF
14404 #line $LINENO "configure"
14407 cat confdefs.h
>>conftest.
$ac_ext
14408 cat >>conftest.
$ac_ext <<_ACEOF
14409 /* end confdefs.h. */
14410 $ac_includes_default
14411 long longval () { return (long) (sizeof (short)); }
14412 unsigned long ulongval () { return (long) (sizeof (short)); }
14414 #include <stdlib.h>
14419 FILE *f = fopen ("conftest.val", "w");
14422 if (((long) (sizeof (short))) < 0)
14424 long i = longval ();
14425 if (i != ((long) (sizeof (short))))
14427 fprintf (f, "%ld\n", i);
14431 unsigned long i = ulongval ();
14432 if (i != ((long) (sizeof (short))))
14434 fprintf (f, "%lu\n", i);
14436 exit (ferror (f) || fclose (f) != 0);
14442 rm -f conftest
$ac_exeext
14443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14444 (eval $ac_link) 2>&5
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14449 (eval $ac_try) 2>&5
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); }; }; then
14453 ac_cv_sizeof_short
=`cat conftest.val`
14455 echo "$as_me: program exited with status $ac_status" >&5
14456 echo "$as_me: failed program was:" >&5
14457 sed 's/^/| /' conftest.
$ac_ext >&5
14459 ( exit $ac_status )
14460 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14461 See \`config.log' for more details." >&5
14462 echo "$as_me: error: cannot compute sizeof (short), 77
14463 See \`config.log' for more details." >&2;}
14464 { (exit 1); exit 1; }; }
14466 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14471 ac_cv_sizeof_short
=0
14474 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14475 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14476 cat >>confdefs.h
<<_ACEOF
14477 #define SIZEOF_SHORT $ac_cv_sizeof_short
14481 echo "$as_me:$LINENO: checking for void *" >&5
14482 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14483 if test "${ac_cv_type_void_p+set}" = set; then
14484 echo $ECHO_N "(cached) $ECHO_C" >&6
14486 cat >conftest.
$ac_ext <<_ACEOF
14487 #line $LINENO "configure"
14490 cat confdefs.h
>>conftest.
$ac_ext
14491 cat >>conftest.
$ac_ext <<_ACEOF
14492 /* end confdefs.h. */
14493 $ac_includes_default
14499 if (sizeof (void *))
14505 rm -f conftest.
$ac_objext
14506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14507 (eval $ac_compile) 2>&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } &&
14511 { ac_try
='test -s conftest.$ac_objext'
14512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14513 (eval $ac_try) 2>&5
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); }; }; then
14517 ac_cv_type_void_p
=yes
14519 echo "$as_me: failed program was:" >&5
14520 sed 's/^/| /' conftest.
$ac_ext >&5
14522 ac_cv_type_void_p
=no
14524 rm -f conftest.
$ac_objext conftest.
$ac_ext
14526 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14527 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14529 echo "$as_me:$LINENO: checking size of void *" >&5
14530 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14531 if test "${ac_cv_sizeof_void_p+set}" = set; then
14532 echo $ECHO_N "(cached) $ECHO_C" >&6
14534 if test "$ac_cv_type_void_p" = yes; then
14535 # The cast to unsigned long works around a bug in the HP C Compiler
14536 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14537 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14538 # This bug is HP SR number 8606223364.
14539 if test "$cross_compiling" = yes; then
14540 # Depending upon the size, compute the lo and hi bounds.
14541 cat >conftest.
$ac_ext <<_ACEOF
14542 #line $LINENO "configure"
14545 cat confdefs.h
>>conftest.
$ac_ext
14546 cat >>conftest.
$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14548 $ac_includes_default
14552 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14559 rm -f conftest.
$ac_objext
14560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14561 (eval $ac_compile) 2>&5
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); } &&
14565 { ac_try
='test -s conftest.$ac_objext'
14566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14567 (eval $ac_try) 2>&5
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }; }; then
14573 cat >conftest.
$ac_ext <<_ACEOF
14574 #line $LINENO "configure"
14577 cat confdefs.h
>>conftest.
$ac_ext
14578 cat >>conftest.
$ac_ext <<_ACEOF
14579 /* end confdefs.h. */
14580 $ac_includes_default
14584 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14591 rm -f conftest.
$ac_objext
14592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14593 (eval $ac_compile) 2>&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); } &&
14597 { ac_try
='test -s conftest.$ac_objext'
14598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14599 (eval $ac_try) 2>&5
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); }; }; then
14603 ac_hi
=$ac_mid; break
14605 echo "$as_me: failed program was:" >&5
14606 sed 's/^/| /' conftest.
$ac_ext >&5
14608 ac_lo
=`expr $ac_mid + 1`
14609 if test $ac_lo -le $ac_mid; then
14613 ac_mid
=`expr 2 '*' $ac_mid + 1`
14615 rm -f conftest.
$ac_objext conftest.
$ac_ext
14618 echo "$as_me: failed program was:" >&5
14619 sed 's/^/| /' conftest.
$ac_ext >&5
14621 cat >conftest.
$ac_ext <<_ACEOF
14622 #line $LINENO "configure"
14625 cat confdefs.h
>>conftest.
$ac_ext
14626 cat >>conftest.
$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14628 $ac_includes_default
14632 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14639 rm -f conftest.
$ac_objext
14640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14641 (eval $ac_compile) 2>&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); } &&
14645 { ac_try
='test -s conftest.$ac_objext'
14646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14647 (eval $ac_try) 2>&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); }; }; then
14653 cat >conftest.
$ac_ext <<_ACEOF
14654 #line $LINENO "configure"
14657 cat confdefs.h
>>conftest.
$ac_ext
14658 cat >>conftest.
$ac_ext <<_ACEOF
14659 /* end confdefs.h. */
14660 $ac_includes_default
14664 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14671 rm -f conftest.
$ac_objext
14672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14673 (eval $ac_compile) 2>&5
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); } &&
14677 { ac_try
='test -s conftest.$ac_objext'
14678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14679 (eval $ac_try) 2>&5
14681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14682 (exit $ac_status); }; }; then
14683 ac_lo
=$ac_mid; break
14685 echo "$as_me: failed program was:" >&5
14686 sed 's/^/| /' conftest.
$ac_ext >&5
14688 ac_hi
=`expr '(' $ac_mid ')' - 1`
14689 if test $ac_mid -le $ac_hi; then
14693 ac_mid
=`expr 2 '*' $ac_mid`
14695 rm -f conftest.
$ac_objext conftest.
$ac_ext
14698 echo "$as_me: failed program was:" >&5
14699 sed 's/^/| /' conftest.
$ac_ext >&5
14703 rm -f conftest.
$ac_objext conftest.
$ac_ext
14705 rm -f conftest.
$ac_objext conftest.
$ac_ext
14706 # Binary search between lo and hi bounds.
14707 while test "x$ac_lo" != "x$ac_hi"; do
14708 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14709 cat >conftest.
$ac_ext <<_ACEOF
14710 #line $LINENO "configure"
14713 cat confdefs.h
>>conftest.
$ac_ext
14714 cat >>conftest.
$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14716 $ac_includes_default
14720 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14727 rm -f conftest.
$ac_objext
14728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14729 (eval $ac_compile) 2>&5
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); } &&
14733 { ac_try
='test -s conftest.$ac_objext'
14734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14735 (eval $ac_try) 2>&5
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); }; }; then
14741 echo "$as_me: failed program was:" >&5
14742 sed 's/^/| /' conftest.
$ac_ext >&5
14744 ac_lo
=`expr '(' $ac_mid ')' + 1`
14746 rm -f conftest.
$ac_objext conftest.
$ac_ext
14749 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14750 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14751 See \`config.log' for more details." >&5
14752 echo "$as_me: error: cannot compute sizeof (void *), 77
14753 See \`config.log' for more details." >&2;}
14754 { (exit 1); exit 1; }; } ;;
14757 if test "$cross_compiling" = yes; then
14758 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14759 See \`config.log' for more details." >&5
14760 echo "$as_me: error: cannot run test program while cross compiling
14761 See \`config.log' for more details." >&2;}
14762 { (exit 1); exit 1; }; }
14764 cat >conftest.
$ac_ext <<_ACEOF
14765 #line $LINENO "configure"
14768 cat confdefs.h
>>conftest.
$ac_ext
14769 cat >>conftest.
$ac_ext <<_ACEOF
14770 /* end confdefs.h. */
14771 $ac_includes_default
14772 long longval () { return (long) (sizeof (void *)); }
14773 unsigned long ulongval () { return (long) (sizeof (void *)); }
14775 #include <stdlib.h>
14780 FILE *f = fopen ("conftest.val", "w");
14783 if (((long) (sizeof (void *))) < 0)
14785 long i = longval ();
14786 if (i != ((long) (sizeof (void *))))
14788 fprintf (f, "%ld\n", i);
14792 unsigned long i = ulongval ();
14793 if (i != ((long) (sizeof (void *))))
14795 fprintf (f, "%lu\n", i);
14797 exit (ferror (f) || fclose (f) != 0);
14803 rm -f conftest
$ac_exeext
14804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14805 (eval $ac_link) 2>&5
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; }; then
14814 ac_cv_sizeof_void_p
=`cat conftest.val`
14816 echo "$as_me: program exited with status $ac_status" >&5
14817 echo "$as_me: failed program was:" >&5
14818 sed 's/^/| /' conftest.
$ac_ext >&5
14820 ( exit $ac_status )
14821 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14822 See \`config.log' for more details." >&5
14823 echo "$as_me: error: cannot compute sizeof (void *), 77
14824 See \`config.log' for more details." >&2;}
14825 { (exit 1); exit 1; }; }
14827 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14832 ac_cv_sizeof_void_p
=0
14835 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14836 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14837 cat >>confdefs.h
<<_ACEOF
14838 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14842 echo "$as_me:$LINENO: checking for int" >&5
14843 echo $ECHO_N "checking for int... $ECHO_C" >&6
14844 if test "${ac_cv_type_int+set}" = set; then
14845 echo $ECHO_N "(cached) $ECHO_C" >&6
14847 cat >conftest.
$ac_ext <<_ACEOF
14848 #line $LINENO "configure"
14851 cat confdefs.h
>>conftest.
$ac_ext
14852 cat >>conftest.
$ac_ext <<_ACEOF
14853 /* end confdefs.h. */
14854 $ac_includes_default
14866 rm -f conftest.
$ac_objext
14867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14868 (eval $ac_compile) 2>&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); } &&
14872 { ac_try
='test -s conftest.$ac_objext'
14873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14874 (eval $ac_try) 2>&5
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); }; }; then
14880 echo "$as_me: failed program was:" >&5
14881 sed 's/^/| /' conftest.
$ac_ext >&5
14885 rm -f conftest.
$ac_objext conftest.
$ac_ext
14887 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14888 echo "${ECHO_T}$ac_cv_type_int" >&6
14890 echo "$as_me:$LINENO: checking size of int" >&5
14891 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14892 if test "${ac_cv_sizeof_int+set}" = set; then
14893 echo $ECHO_N "(cached) $ECHO_C" >&6
14895 if test "$ac_cv_type_int" = yes; then
14896 # The cast to unsigned long works around a bug in the HP C Compiler
14897 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14898 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14899 # This bug is HP SR number 8606223364.
14900 if test "$cross_compiling" = yes; then
14901 # Depending upon the size, compute the lo and hi bounds.
14902 cat >conftest.
$ac_ext <<_ACEOF
14903 #line $LINENO "configure"
14906 cat confdefs.h
>>conftest.
$ac_ext
14907 cat >>conftest.
$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14909 $ac_includes_default
14913 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14920 rm -f conftest.
$ac_objext
14921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14922 (eval $ac_compile) 2>&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } &&
14926 { ac_try
='test -s conftest.$ac_objext'
14927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14928 (eval $ac_try) 2>&5
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); }; }; then
14934 cat >conftest.
$ac_ext <<_ACEOF
14935 #line $LINENO "configure"
14938 cat confdefs.h
>>conftest.
$ac_ext
14939 cat >>conftest.
$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941 $ac_includes_default
14945 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14952 rm -f conftest.
$ac_objext
14953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14954 (eval $ac_compile) 2>&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } &&
14958 { ac_try
='test -s conftest.$ac_objext'
14959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14960 (eval $ac_try) 2>&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); }; }; then
14964 ac_hi
=$ac_mid; break
14966 echo "$as_me: failed program was:" >&5
14967 sed 's/^/| /' conftest.
$ac_ext >&5
14969 ac_lo
=`expr $ac_mid + 1`
14970 if test $ac_lo -le $ac_mid; then
14974 ac_mid
=`expr 2 '*' $ac_mid + 1`
14976 rm -f conftest.
$ac_objext conftest.
$ac_ext
14979 echo "$as_me: failed program was:" >&5
14980 sed 's/^/| /' conftest.
$ac_ext >&5
14982 cat >conftest.
$ac_ext <<_ACEOF
14983 #line $LINENO "configure"
14986 cat confdefs.h
>>conftest.
$ac_ext
14987 cat >>conftest.
$ac_ext <<_ACEOF
14988 /* end confdefs.h. */
14989 $ac_includes_default
14993 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15000 rm -f conftest.
$ac_objext
15001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15002 (eval $ac_compile) 2>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); } &&
15006 { ac_try
='test -s conftest.$ac_objext'
15007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15008 (eval $ac_try) 2>&5
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; }; then
15014 cat >conftest.
$ac_ext <<_ACEOF
15015 #line $LINENO "configure"
15018 cat confdefs.h
>>conftest.
$ac_ext
15019 cat >>conftest.
$ac_ext <<_ACEOF
15020 /* end confdefs.h. */
15021 $ac_includes_default
15025 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15032 rm -f conftest.
$ac_objext
15033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15034 (eval $ac_compile) 2>&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try
='test -s conftest.$ac_objext'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; }; then
15044 ac_lo
=$ac_mid; break
15046 echo "$as_me: failed program was:" >&5
15047 sed 's/^/| /' conftest.
$ac_ext >&5
15049 ac_hi
=`expr '(' $ac_mid ')' - 1`
15050 if test $ac_mid -le $ac_hi; then
15054 ac_mid
=`expr 2 '*' $ac_mid`
15056 rm -f conftest.
$ac_objext conftest.
$ac_ext
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.
$ac_ext >&5
15064 rm -f conftest.
$ac_objext conftest.
$ac_ext
15066 rm -f conftest.
$ac_objext conftest.
$ac_ext
15067 # Binary search between lo and hi bounds.
15068 while test "x$ac_lo" != "x$ac_hi"; do
15069 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15070 cat >conftest.
$ac_ext <<_ACEOF
15071 #line $LINENO "configure"
15074 cat confdefs.h
>>conftest.
$ac_ext
15075 cat >>conftest.
$ac_ext <<_ACEOF
15076 /* end confdefs.h. */
15077 $ac_includes_default
15081 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15088 rm -f conftest.
$ac_objext
15089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15090 (eval $ac_compile) 2>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); } &&
15094 { ac_try
='test -s conftest.$ac_objext'
15095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15096 (eval $ac_try) 2>&5
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); }; }; then
15102 echo "$as_me: failed program was:" >&5
15103 sed 's/^/| /' conftest.
$ac_ext >&5
15105 ac_lo
=`expr '(' $ac_mid ')' + 1`
15107 rm -f conftest.
$ac_objext conftest.
$ac_ext
15110 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15111 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15112 See \`config.log' for more details." >&5
15113 echo "$as_me: error: cannot compute sizeof (int), 77
15114 See \`config.log' for more details." >&2;}
15115 { (exit 1); exit 1; }; } ;;
15118 if test "$cross_compiling" = yes; then
15119 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15120 See \`config.log' for more details." >&5
15121 echo "$as_me: error: cannot run test program while cross compiling
15122 See \`config.log' for more details." >&2;}
15123 { (exit 1); exit 1; }; }
15125 cat >conftest.
$ac_ext <<_ACEOF
15126 #line $LINENO "configure"
15129 cat confdefs.h
>>conftest.
$ac_ext
15130 cat >>conftest.
$ac_ext <<_ACEOF
15131 /* end confdefs.h. */
15132 $ac_includes_default
15133 long longval () { return (long) (sizeof (int)); }
15134 unsigned long ulongval () { return (long) (sizeof (int)); }
15136 #include <stdlib.h>
15141 FILE *f = fopen ("conftest.val", "w");
15144 if (((long) (sizeof (int))) < 0)
15146 long i = longval ();
15147 if (i != ((long) (sizeof (int))))
15149 fprintf (f, "%ld\n", i);
15153 unsigned long i = ulongval ();
15154 if (i != ((long) (sizeof (int))))
15156 fprintf (f, "%lu\n", i);
15158 exit (ferror (f) || fclose (f) != 0);
15164 rm -f conftest
$ac_exeext
15165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15166 (eval $ac_link) 2>&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15171 (eval $ac_try) 2>&5
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); }; }; then
15175 ac_cv_sizeof_int
=`cat conftest.val`
15177 echo "$as_me: program exited with status $ac_status" >&5
15178 echo "$as_me: failed program was:" >&5
15179 sed 's/^/| /' conftest.
$ac_ext >&5
15181 ( exit $ac_status )
15182 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15183 See \`config.log' for more details." >&5
15184 echo "$as_me: error: cannot compute sizeof (int), 77
15185 See \`config.log' for more details." >&2;}
15186 { (exit 1); exit 1; }; }
15188 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15196 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15197 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15198 cat >>confdefs.h
<<_ACEOF
15199 #define SIZEOF_INT $ac_cv_sizeof_int
15203 echo "$as_me:$LINENO: checking for long" >&5
15204 echo $ECHO_N "checking for long... $ECHO_C" >&6
15205 if test "${ac_cv_type_long+set}" = set; then
15206 echo $ECHO_N "(cached) $ECHO_C" >&6
15208 cat >conftest.
$ac_ext <<_ACEOF
15209 #line $LINENO "configure"
15212 cat confdefs.h
>>conftest.
$ac_ext
15213 cat >>conftest.
$ac_ext <<_ACEOF
15214 /* end confdefs.h. */
15215 $ac_includes_default
15227 rm -f conftest.
$ac_objext
15228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15229 (eval $ac_compile) 2>&5
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); } &&
15233 { ac_try
='test -s conftest.$ac_objext'
15234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15235 (eval $ac_try) 2>&5
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); }; }; then
15239 ac_cv_type_long
=yes
15241 echo "$as_me: failed program was:" >&5
15242 sed 's/^/| /' conftest.
$ac_ext >&5
15246 rm -f conftest.
$ac_objext conftest.
$ac_ext
15248 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15249 echo "${ECHO_T}$ac_cv_type_long" >&6
15251 echo "$as_me:$LINENO: checking size of long" >&5
15252 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15253 if test "${ac_cv_sizeof_long+set}" = set; then
15254 echo $ECHO_N "(cached) $ECHO_C" >&6
15256 if test "$ac_cv_type_long" = yes; then
15257 # The cast to unsigned long works around a bug in the HP C Compiler
15258 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15259 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15260 # This bug is HP SR number 8606223364.
15261 if test "$cross_compiling" = yes; then
15262 # Depending upon the size, compute the lo and hi bounds.
15263 cat >conftest.
$ac_ext <<_ACEOF
15264 #line $LINENO "configure"
15267 cat confdefs.h
>>conftest.
$ac_ext
15268 cat >>conftest.
$ac_ext <<_ACEOF
15269 /* end confdefs.h. */
15270 $ac_includes_default
15274 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15281 rm -f conftest.
$ac_objext
15282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15283 (eval $ac_compile) 2>&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } &&
15287 { ac_try
='test -s conftest.$ac_objext'
15288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15289 (eval $ac_try) 2>&5
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); }; }; then
15295 cat >conftest.
$ac_ext <<_ACEOF
15296 #line $LINENO "configure"
15299 cat confdefs.h
>>conftest.
$ac_ext
15300 cat >>conftest.
$ac_ext <<_ACEOF
15301 /* end confdefs.h. */
15302 $ac_includes_default
15306 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15313 rm -f conftest.
$ac_objext
15314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15315 (eval $ac_compile) 2>&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); } &&
15319 { ac_try
='test -s conftest.$ac_objext'
15320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15321 (eval $ac_try) 2>&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); }; }; then
15325 ac_hi
=$ac_mid; break
15327 echo "$as_me: failed program was:" >&5
15328 sed 's/^/| /' conftest.
$ac_ext >&5
15330 ac_lo
=`expr $ac_mid + 1`
15331 if test $ac_lo -le $ac_mid; then
15335 ac_mid
=`expr 2 '*' $ac_mid + 1`
15337 rm -f conftest.
$ac_objext conftest.
$ac_ext
15340 echo "$as_me: failed program was:" >&5
15341 sed 's/^/| /' conftest.
$ac_ext >&5
15343 cat >conftest.
$ac_ext <<_ACEOF
15344 #line $LINENO "configure"
15347 cat confdefs.h
>>conftest.
$ac_ext
15348 cat >>conftest.
$ac_ext <<_ACEOF
15349 /* end confdefs.h. */
15350 $ac_includes_default
15354 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15361 rm -f conftest.
$ac_objext
15362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15363 (eval $ac_compile) 2>&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); } &&
15367 { ac_try
='test -s conftest.$ac_objext'
15368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369 (eval $ac_try) 2>&5
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); }; }; then
15375 cat >conftest.
$ac_ext <<_ACEOF
15376 #line $LINENO "configure"
15379 cat confdefs.h
>>conftest.
$ac_ext
15380 cat >>conftest.
$ac_ext <<_ACEOF
15381 /* end confdefs.h. */
15382 $ac_includes_default
15386 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15393 rm -f conftest.
$ac_objext
15394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15395 (eval $ac_compile) 2>&5
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); } &&
15399 { ac_try
='test -s conftest.$ac_objext'
15400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15401 (eval $ac_try) 2>&5
15403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); }; }; then
15405 ac_lo
=$ac_mid; break
15407 echo "$as_me: failed program was:" >&5
15408 sed 's/^/| /' conftest.
$ac_ext >&5
15410 ac_hi
=`expr '(' $ac_mid ')' - 1`
15411 if test $ac_mid -le $ac_hi; then
15415 ac_mid
=`expr 2 '*' $ac_mid`
15417 rm -f conftest.
$ac_objext conftest.
$ac_ext
15420 echo "$as_me: failed program was:" >&5
15421 sed 's/^/| /' conftest.
$ac_ext >&5
15425 rm -f conftest.
$ac_objext conftest.
$ac_ext
15427 rm -f conftest.
$ac_objext conftest.
$ac_ext
15428 # Binary search between lo and hi bounds.
15429 while test "x$ac_lo" != "x$ac_hi"; do
15430 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15431 cat >conftest.
$ac_ext <<_ACEOF
15432 #line $LINENO "configure"
15435 cat confdefs.h
>>conftest.
$ac_ext
15436 cat >>conftest.
$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15438 $ac_includes_default
15442 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15449 rm -f conftest.
$ac_objext
15450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15451 (eval $ac_compile) 2>&5
15453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15454 (exit $ac_status); } &&
15455 { ac_try
='test -s conftest.$ac_objext'
15456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15457 (eval $ac_try) 2>&5
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); }; }; then
15463 echo "$as_me: failed program was:" >&5
15464 sed 's/^/| /' conftest.
$ac_ext >&5
15466 ac_lo
=`expr '(' $ac_mid ')' + 1`
15468 rm -f conftest.
$ac_objext conftest.
$ac_ext
15471 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15472 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15473 See \`config.log' for more details." >&5
15474 echo "$as_me: error: cannot compute sizeof (long), 77
15475 See \`config.log' for more details." >&2;}
15476 { (exit 1); exit 1; }; } ;;
15479 if test "$cross_compiling" = yes; then
15480 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15481 See \`config.log' for more details." >&5
15482 echo "$as_me: error: cannot run test program while cross compiling
15483 See \`config.log' for more details." >&2;}
15484 { (exit 1); exit 1; }; }
15486 cat >conftest.
$ac_ext <<_ACEOF
15487 #line $LINENO "configure"
15490 cat confdefs.h
>>conftest.
$ac_ext
15491 cat >>conftest.
$ac_ext <<_ACEOF
15492 /* end confdefs.h. */
15493 $ac_includes_default
15494 long longval () { return (long) (sizeof (long)); }
15495 unsigned long ulongval () { return (long) (sizeof (long)); }
15497 #include <stdlib.h>
15502 FILE *f = fopen ("conftest.val", "w");
15505 if (((long) (sizeof (long))) < 0)
15507 long i = longval ();
15508 if (i != ((long) (sizeof (long))))
15510 fprintf (f, "%ld\n", i);
15514 unsigned long i = ulongval ();
15515 if (i != ((long) (sizeof (long))))
15517 fprintf (f, "%lu\n", i);
15519 exit (ferror (f) || fclose (f) != 0);
15525 rm -f conftest
$ac_exeext
15526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15527 (eval $ac_link) 2>&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15532 (eval $ac_try) 2>&5
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); }; }; then
15536 ac_cv_sizeof_long
=`cat conftest.val`
15538 echo "$as_me: program exited with status $ac_status" >&5
15539 echo "$as_me: failed program was:" >&5
15540 sed 's/^/| /' conftest.
$ac_ext >&5
15542 ( exit $ac_status )
15543 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15544 See \`config.log' for more details." >&5
15545 echo "$as_me: error: cannot compute sizeof (long), 77
15546 See \`config.log' for more details." >&2;}
15547 { (exit 1); exit 1; }; }
15549 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15554 ac_cv_sizeof_long
=0
15557 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15558 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15559 cat >>confdefs.h
<<_ACEOF
15560 #define SIZEOF_LONG $ac_cv_sizeof_long
15567 echo "$as_me:$LINENO: checking for long long" >&5
15568 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15569 if test "${ac_cv_type_long_long+set}" = set; then
15570 echo $ECHO_N "(cached) $ECHO_C" >&6
15572 cat >conftest.
$ac_ext <<_ACEOF
15573 #line $LINENO "configure"
15576 cat confdefs.h
>>conftest.
$ac_ext
15577 cat >>conftest.
$ac_ext <<_ACEOF
15578 /* end confdefs.h. */
15579 $ac_includes_default
15583 if ((long long *) 0)
15585 if (sizeof (long long))
15591 rm -f conftest.
$ac_objext
15592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15593 (eval $ac_compile) 2>&5
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); } &&
15597 { ac_try
='test -s conftest.$ac_objext'
15598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15599 (eval $ac_try) 2>&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); }; }; then
15603 ac_cv_type_long_long
=yes
15605 echo "$as_me: failed program was:" >&5
15606 sed 's/^/| /' conftest.
$ac_ext >&5
15608 ac_cv_type_long_long
=no
15610 rm -f conftest.
$ac_objext conftest.
$ac_ext
15612 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15613 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15615 echo "$as_me:$LINENO: checking size of long long" >&5
15616 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15617 if test "${ac_cv_sizeof_long_long+set}" = set; then
15618 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 if test "$ac_cv_type_long_long" = yes; then
15621 # The cast to unsigned long works around a bug in the HP C Compiler
15622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15624 # This bug is HP SR number 8606223364.
15625 if test "$cross_compiling" = yes; then
15626 # Depending upon the size, compute the lo and hi bounds.
15627 cat >conftest.
$ac_ext <<_ACEOF
15628 #line $LINENO "configure"
15631 cat confdefs.h
>>conftest.
$ac_ext
15632 cat >>conftest.
$ac_ext <<_ACEOF
15633 /* end confdefs.h. */
15634 $ac_includes_default
15638 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15645 rm -f conftest.
$ac_objext
15646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15647 (eval $ac_compile) 2>&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); } &&
15651 { ac_try
='test -s conftest.$ac_objext'
15652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15653 (eval $ac_try) 2>&5
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); }; }; then
15659 cat >conftest.
$ac_ext <<_ACEOF
15660 #line $LINENO "configure"
15663 cat confdefs.h
>>conftest.
$ac_ext
15664 cat >>conftest.
$ac_ext <<_ACEOF
15665 /* end confdefs.h. */
15666 $ac_includes_default
15670 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15677 rm -f conftest.
$ac_objext
15678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15679 (eval $ac_compile) 2>&5
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); } &&
15683 { ac_try
='test -s conftest.$ac_objext'
15684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15685 (eval $ac_try) 2>&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); }; }; then
15689 ac_hi
=$ac_mid; break
15691 echo "$as_me: failed program was:" >&5
15692 sed 's/^/| /' conftest.
$ac_ext >&5
15694 ac_lo
=`expr $ac_mid + 1`
15695 if test $ac_lo -le $ac_mid; then
15699 ac_mid
=`expr 2 '*' $ac_mid + 1`
15701 rm -f conftest.
$ac_objext conftest.
$ac_ext
15704 echo "$as_me: failed program was:" >&5
15705 sed 's/^/| /' conftest.
$ac_ext >&5
15707 cat >conftest.
$ac_ext <<_ACEOF
15708 #line $LINENO "configure"
15711 cat confdefs.h
>>conftest.
$ac_ext
15712 cat >>conftest.
$ac_ext <<_ACEOF
15713 /* end confdefs.h. */
15714 $ac_includes_default
15718 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15725 rm -f conftest.
$ac_objext
15726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15727 (eval $ac_compile) 2>&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); } &&
15731 { ac_try
='test -s conftest.$ac_objext'
15732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15733 (eval $ac_try) 2>&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); }; }; then
15739 cat >conftest.
$ac_ext <<_ACEOF
15740 #line $LINENO "configure"
15743 cat confdefs.h
>>conftest.
$ac_ext
15744 cat >>conftest.
$ac_ext <<_ACEOF
15745 /* end confdefs.h. */
15746 $ac_includes_default
15750 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15757 rm -f conftest.
$ac_objext
15758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15759 (eval $ac_compile) 2>&5
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); } &&
15763 { ac_try
='test -s conftest.$ac_objext'
15764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15765 (eval $ac_try) 2>&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); }; }; then
15769 ac_lo
=$ac_mid; break
15771 echo "$as_me: failed program was:" >&5
15772 sed 's/^/| /' conftest.
$ac_ext >&5
15774 ac_hi
=`expr '(' $ac_mid ')' - 1`
15775 if test $ac_mid -le $ac_hi; then
15779 ac_mid
=`expr 2 '*' $ac_mid`
15781 rm -f conftest.
$ac_objext conftest.
$ac_ext
15784 echo "$as_me: failed program was:" >&5
15785 sed 's/^/| /' conftest.
$ac_ext >&5
15789 rm -f conftest.
$ac_objext conftest.
$ac_ext
15791 rm -f conftest.
$ac_objext conftest.
$ac_ext
15792 # Binary search between lo and hi bounds.
15793 while test "x$ac_lo" != "x$ac_hi"; do
15794 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15795 cat >conftest.
$ac_ext <<_ACEOF
15796 #line $LINENO "configure"
15799 cat confdefs.h
>>conftest.
$ac_ext
15800 cat >>conftest.
$ac_ext <<_ACEOF
15801 /* end confdefs.h. */
15802 $ac_includes_default
15806 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15813 rm -f conftest.
$ac_objext
15814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15815 (eval $ac_compile) 2>&5
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); } &&
15819 { ac_try
='test -s conftest.$ac_objext'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; }; then
15827 echo "$as_me: failed program was:" >&5
15828 sed 's/^/| /' conftest.
$ac_ext >&5
15830 ac_lo
=`expr '(' $ac_mid ')' + 1`
15832 rm -f conftest.
$ac_objext conftest.
$ac_ext
15835 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15836 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15837 See \`config.log' for more details." >&5
15838 echo "$as_me: error: cannot compute sizeof (long long), 77
15839 See \`config.log' for more details." >&2;}
15840 { (exit 1); exit 1; }; } ;;
15843 if test "$cross_compiling" = yes; then
15844 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15845 See \`config.log' for more details." >&5
15846 echo "$as_me: error: cannot run test program while cross compiling
15847 See \`config.log' for more details." >&2;}
15848 { (exit 1); exit 1; }; }
15850 cat >conftest.
$ac_ext <<_ACEOF
15851 #line $LINENO "configure"
15854 cat confdefs.h
>>conftest.
$ac_ext
15855 cat >>conftest.
$ac_ext <<_ACEOF
15856 /* end confdefs.h. */
15857 $ac_includes_default
15858 long longval () { return (long) (sizeof (long long)); }
15859 unsigned long ulongval () { return (long) (sizeof (long long)); }
15861 #include <stdlib.h>
15866 FILE *f = fopen ("conftest.val", "w");
15869 if (((long) (sizeof (long long))) < 0)
15871 long i = longval ();
15872 if (i != ((long) (sizeof (long long))))
15874 fprintf (f, "%ld\n", i);
15878 unsigned long i = ulongval ();
15879 if (i != ((long) (sizeof (long long))))
15881 fprintf (f, "%lu\n", i);
15883 exit (ferror (f) || fclose (f) != 0);
15889 rm -f conftest
$ac_exeext
15890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15891 (eval $ac_link) 2>&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896 (eval $ac_try) 2>&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); }; }; then
15900 ac_cv_sizeof_long_long
=`cat conftest.val`
15902 echo "$as_me: program exited with status $ac_status" >&5
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.
$ac_ext >&5
15906 ( exit $ac_status )
15907 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15908 See \`config.log' for more details." >&5
15909 echo "$as_me: error: cannot compute sizeof (long long), 77
15910 See \`config.log' for more details." >&2;}
15911 { (exit 1); exit 1; }; }
15913 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15918 ac_cv_sizeof_long_long
=0
15921 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15922 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15923 cat >>confdefs.h
<<_ACEOF
15924 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15930 echo "$as_me:$LINENO: checking for long long" >&5
15931 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15932 if test "${ac_cv_type_long_long+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15935 cat >conftest.
$ac_ext <<_ACEOF
15936 #line $LINENO "configure"
15939 cat confdefs.h
>>conftest.
$ac_ext
15940 cat >>conftest.
$ac_ext <<_ACEOF
15941 /* end confdefs.h. */
15942 $ac_includes_default
15946 if ((long long *) 0)
15948 if (sizeof (long long))
15954 rm -f conftest.
$ac_objext
15955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15956 (eval $ac_compile) 2>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); } &&
15960 { ac_try
='test -s conftest.$ac_objext'
15961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15962 (eval $ac_try) 2>&5
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); }; }; then
15966 ac_cv_type_long_long
=yes
15968 echo "$as_me: failed program was:" >&5
15969 sed 's/^/| /' conftest.
$ac_ext >&5
15971 ac_cv_type_long_long
=no
15973 rm -f conftest.
$ac_objext conftest.
$ac_ext
15975 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15976 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15978 echo "$as_me:$LINENO: checking size of long long" >&5
15979 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15980 if test "${ac_cv_sizeof_long_long+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6
15983 if test "$ac_cv_type_long_long" = yes; then
15984 # The cast to unsigned long works around a bug in the HP C Compiler
15985 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15986 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15987 # This bug is HP SR number 8606223364.
15988 if test "$cross_compiling" = yes; then
15989 # Depending upon the size, compute the lo and hi bounds.
15990 cat >conftest.
$ac_ext <<_ACEOF
15991 #line $LINENO "configure"
15994 cat confdefs.h
>>conftest.
$ac_ext
15995 cat >>conftest.
$ac_ext <<_ACEOF
15996 /* end confdefs.h. */
15997 $ac_includes_default
16001 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16008 rm -f conftest.
$ac_objext
16009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16010 (eval $ac_compile) 2>&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); } &&
16014 { ac_try
='test -s conftest.$ac_objext'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; }; then
16022 cat >conftest.
$ac_ext <<_ACEOF
16023 #line $LINENO "configure"
16026 cat confdefs.h
>>conftest.
$ac_ext
16027 cat >>conftest.
$ac_ext <<_ACEOF
16028 /* end confdefs.h. */
16029 $ac_includes_default
16033 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16040 rm -f conftest.
$ac_objext
16041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16042 (eval $ac_compile) 2>&5
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); } &&
16046 { ac_try
='test -s conftest.$ac_objext'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; }; then
16052 ac_hi
=$ac_mid; break
16054 echo "$as_me: failed program was:" >&5
16055 sed 's/^/| /' conftest.
$ac_ext >&5
16057 ac_lo
=`expr $ac_mid + 1`
16058 if test $ac_lo -le $ac_mid; then
16062 ac_mid
=`expr 2 '*' $ac_mid + 1`
16064 rm -f conftest.
$ac_objext conftest.
$ac_ext
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.
$ac_ext >&5
16070 cat >conftest.
$ac_ext <<_ACEOF
16071 #line $LINENO "configure"
16074 cat confdefs.h
>>conftest.
$ac_ext
16075 cat >>conftest.
$ac_ext <<_ACEOF
16076 /* end confdefs.h. */
16077 $ac_includes_default
16081 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16088 rm -f conftest.
$ac_objext
16089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16090 (eval $ac_compile) 2>&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); } &&
16094 { ac_try
='test -s conftest.$ac_objext'
16095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16096 (eval $ac_try) 2>&5
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); }; }; then
16102 cat >conftest.
$ac_ext <<_ACEOF
16103 #line $LINENO "configure"
16106 cat confdefs.h
>>conftest.
$ac_ext
16107 cat >>conftest.
$ac_ext <<_ACEOF
16108 /* end confdefs.h. */
16109 $ac_includes_default
16113 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16120 rm -f conftest.
$ac_objext
16121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16122 (eval $ac_compile) 2>&5
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); } &&
16126 { ac_try
='test -s conftest.$ac_objext'
16127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 (eval $ac_try) 2>&5
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); }; }; then
16132 ac_lo
=$ac_mid; break
16134 echo "$as_me: failed program was:" >&5
16135 sed 's/^/| /' conftest.
$ac_ext >&5
16137 ac_hi
=`expr '(' $ac_mid ')' - 1`
16138 if test $ac_mid -le $ac_hi; then
16142 ac_mid
=`expr 2 '*' $ac_mid`
16144 rm -f conftest.
$ac_objext conftest.
$ac_ext
16147 echo "$as_me: failed program was:" >&5
16148 sed 's/^/| /' conftest.
$ac_ext >&5
16152 rm -f conftest.
$ac_objext conftest.
$ac_ext
16154 rm -f conftest.
$ac_objext conftest.
$ac_ext
16155 # Binary search between lo and hi bounds.
16156 while test "x$ac_lo" != "x$ac_hi"; do
16157 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16158 cat >conftest.
$ac_ext <<_ACEOF
16159 #line $LINENO "configure"
16162 cat confdefs.h
>>conftest.
$ac_ext
16163 cat >>conftest.
$ac_ext <<_ACEOF
16164 /* end confdefs.h. */
16165 $ac_includes_default
16169 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16176 rm -f conftest.
$ac_objext
16177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16178 (eval $ac_compile) 2>&5
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); } &&
16182 { ac_try
='test -s conftest.$ac_objext'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; }; then
16190 echo "$as_me: failed program was:" >&5
16191 sed 's/^/| /' conftest.
$ac_ext >&5
16193 ac_lo
=`expr '(' $ac_mid ')' + 1`
16195 rm -f conftest.
$ac_objext conftest.
$ac_ext
16198 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16199 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16200 See \`config.log' for more details." >&5
16201 echo "$as_me: error: cannot compute sizeof (long long), 77
16202 See \`config.log' for more details." >&2;}
16203 { (exit 1); exit 1; }; } ;;
16206 if test "$cross_compiling" = yes; then
16207 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16208 See \`config.log' for more details." >&5
16209 echo "$as_me: error: cannot run test program while cross compiling
16210 See \`config.log' for more details." >&2;}
16211 { (exit 1); exit 1; }; }
16213 cat >conftest.
$ac_ext <<_ACEOF
16214 #line $LINENO "configure"
16217 cat confdefs.h
>>conftest.
$ac_ext
16218 cat >>conftest.
$ac_ext <<_ACEOF
16219 /* end confdefs.h. */
16220 $ac_includes_default
16221 long longval () { return (long) (sizeof (long long)); }
16222 unsigned long ulongval () { return (long) (sizeof (long long)); }
16224 #include <stdlib.h>
16229 FILE *f = fopen ("conftest.val", "w");
16232 if (((long) (sizeof (long long))) < 0)
16234 long i = longval ();
16235 if (i != ((long) (sizeof (long long))))
16237 fprintf (f, "%ld\n", i);
16241 unsigned long i = ulongval ();
16242 if (i != ((long) (sizeof (long long))))
16244 fprintf (f, "%lu\n", i);
16246 exit (ferror (f) || fclose (f) != 0);
16252 rm -f conftest
$ac_exeext
16253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16254 (eval $ac_link) 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16259 (eval $ac_try) 2>&5
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); }; }; then
16263 ac_cv_sizeof_long_long
=`cat conftest.val`
16265 echo "$as_me: program exited with status $ac_status" >&5
16266 echo "$as_me: failed program was:" >&5
16267 sed 's/^/| /' conftest.
$ac_ext >&5
16269 ( exit $ac_status )
16270 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16271 See \`config.log' for more details." >&5
16272 echo "$as_me: error: cannot compute sizeof (long long), 77
16273 See \`config.log' for more details." >&2;}
16274 { (exit 1); exit 1; }; }
16276 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16281 ac_cv_sizeof_long_long
=0
16284 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16285 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16286 cat >>confdefs.h
<<_ACEOF
16287 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16291 if test "$ac_cv_sizeof_long_long" != "0"; then
16292 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16296 echo "$as_me:$LINENO: checking for long long" >&5
16297 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16298 if test "${ac_cv_type_long_long+set}" = set; then
16299 echo $ECHO_N "(cached) $ECHO_C" >&6
16301 cat >conftest.
$ac_ext <<_ACEOF
16302 #line $LINENO "configure"
16305 cat confdefs.h
>>conftest.
$ac_ext
16306 cat >>conftest.
$ac_ext <<_ACEOF
16307 /* end confdefs.h. */
16308 $ac_includes_default
16312 if ((long long *) 0)
16314 if (sizeof (long long))
16320 rm -f conftest.
$ac_objext
16321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16322 (eval $ac_compile) 2>&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } &&
16326 { ac_try
='test -s conftest.$ac_objext'
16327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16328 (eval $ac_try) 2>&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); }; }; then
16332 ac_cv_type_long_long
=yes
16334 echo "$as_me: failed program was:" >&5
16335 sed 's/^/| /' conftest.
$ac_ext >&5
16337 ac_cv_type_long_long
=no
16339 rm -f conftest.
$ac_objext conftest.
$ac_ext
16341 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16342 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16344 echo "$as_me:$LINENO: checking size of long long" >&5
16345 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16346 if test "${ac_cv_sizeof_long_long+set}" = set; then
16347 echo $ECHO_N "(cached) $ECHO_C" >&6
16349 if test "$ac_cv_type_long_long" = yes; then
16350 # The cast to unsigned long works around a bug in the HP C Compiler
16351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16353 # This bug is HP SR number 8606223364.
16354 if test "$cross_compiling" = yes; then
16355 # Depending upon the size, compute the lo and hi bounds.
16356 cat >conftest.
$ac_ext <<_ACEOF
16357 #line $LINENO "configure"
16360 cat confdefs.h
>>conftest.
$ac_ext
16361 cat >>conftest.
$ac_ext <<_ACEOF
16362 /* end confdefs.h. */
16363 $ac_includes_default
16367 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16374 rm -f conftest.
$ac_objext
16375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16376 (eval $ac_compile) 2>&5
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); } &&
16380 { ac_try
='test -s conftest.$ac_objext'
16381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 (eval $ac_try) 2>&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); }; }; then
16388 cat >conftest.
$ac_ext <<_ACEOF
16389 #line $LINENO "configure"
16392 cat confdefs.h
>>conftest.
$ac_ext
16393 cat >>conftest.
$ac_ext <<_ACEOF
16394 /* end confdefs.h. */
16395 $ac_includes_default
16399 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16406 rm -f conftest.
$ac_objext
16407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16408 (eval $ac_compile) 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } &&
16412 { ac_try
='test -s conftest.$ac_objext'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; }; then
16418 ac_hi
=$ac_mid; break
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.
$ac_ext >&5
16423 ac_lo
=`expr $ac_mid + 1`
16424 if test $ac_lo -le $ac_mid; then
16428 ac_mid
=`expr 2 '*' $ac_mid + 1`
16430 rm -f conftest.
$ac_objext conftest.
$ac_ext
16433 echo "$as_me: failed program was:" >&5
16434 sed 's/^/| /' conftest.
$ac_ext >&5
16436 cat >conftest.
$ac_ext <<_ACEOF
16437 #line $LINENO "configure"
16440 cat confdefs.h
>>conftest.
$ac_ext
16441 cat >>conftest.
$ac_ext <<_ACEOF
16442 /* end confdefs.h. */
16443 $ac_includes_default
16447 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16454 rm -f conftest.
$ac_objext
16455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16456 (eval $ac_compile) 2>&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); } &&
16460 { ac_try
='test -s conftest.$ac_objext'
16461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462 (eval $ac_try) 2>&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); }; }; then
16468 cat >conftest.
$ac_ext <<_ACEOF
16469 #line $LINENO "configure"
16472 cat confdefs.h
>>conftest.
$ac_ext
16473 cat >>conftest.
$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16475 $ac_includes_default
16479 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16486 rm -f conftest.
$ac_objext
16487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16488 (eval $ac_compile) 2>&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); } &&
16492 { ac_try
='test -s conftest.$ac_objext'
16493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16494 (eval $ac_try) 2>&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); }; }; then
16498 ac_lo
=$ac_mid; break
16500 echo "$as_me: failed program was:" >&5
16501 sed 's/^/| /' conftest.
$ac_ext >&5
16503 ac_hi
=`expr '(' $ac_mid ')' - 1`
16504 if test $ac_mid -le $ac_hi; then
16508 ac_mid
=`expr 2 '*' $ac_mid`
16510 rm -f conftest.
$ac_objext conftest.
$ac_ext
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.
$ac_ext >&5
16518 rm -f conftest.
$ac_objext conftest.
$ac_ext
16520 rm -f conftest.
$ac_objext conftest.
$ac_ext
16521 # Binary search between lo and hi bounds.
16522 while test "x$ac_lo" != "x$ac_hi"; do
16523 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16524 cat >conftest.
$ac_ext <<_ACEOF
16525 #line $LINENO "configure"
16528 cat confdefs.h
>>conftest.
$ac_ext
16529 cat >>conftest.
$ac_ext <<_ACEOF
16530 /* end confdefs.h. */
16531 $ac_includes_default
16535 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16542 rm -f conftest.
$ac_objext
16543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16544 (eval $ac_compile) 2>&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } &&
16548 { ac_try
='test -s conftest.$ac_objext'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.
$ac_ext >&5
16559 ac_lo
=`expr '(' $ac_mid ')' + 1`
16561 rm -f conftest.
$ac_objext conftest.
$ac_ext
16564 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16565 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16566 See \`config.log' for more details." >&5
16567 echo "$as_me: error: cannot compute sizeof (long long), 77
16568 See \`config.log' for more details." >&2;}
16569 { (exit 1); exit 1; }; } ;;
16572 if test "$cross_compiling" = yes; then
16573 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16574 See \`config.log' for more details." >&5
16575 echo "$as_me: error: cannot run test program while cross compiling
16576 See \`config.log' for more details." >&2;}
16577 { (exit 1); exit 1; }; }
16579 cat >conftest.
$ac_ext <<_ACEOF
16580 #line $LINENO "configure"
16583 cat confdefs.h
>>conftest.
$ac_ext
16584 cat >>conftest.
$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 $ac_includes_default
16587 long longval () { return (long) (sizeof (long long)); }
16588 unsigned long ulongval () { return (long) (sizeof (long long)); }
16590 #include <stdlib.h>
16595 FILE *f = fopen ("conftest.val", "w");
16598 if (((long) (sizeof (long long))) < 0)
16600 long i = longval ();
16601 if (i != ((long) (sizeof (long long))))
16603 fprintf (f, "%ld\n", i);
16607 unsigned long i = ulongval ();
16608 if (i != ((long) (sizeof (long long))))
16610 fprintf (f, "%lu\n", i);
16612 exit (ferror (f) || fclose (f) != 0);
16618 rm -f conftest
$ac_exeext
16619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16620 (eval $ac_link) 2>&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16625 (eval $ac_try) 2>&5
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }; }; then
16629 ac_cv_sizeof_long_long
=`cat conftest.val`
16631 echo "$as_me: program exited with status $ac_status" >&5
16632 echo "$as_me: failed program was:" >&5
16633 sed 's/^/| /' conftest.
$ac_ext >&5
16635 ( exit $ac_status )
16636 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16637 See \`config.log' for more details." >&5
16638 echo "$as_me: error: cannot compute sizeof (long long), 77
16639 See \`config.log' for more details." >&2;}
16640 { (exit 1); exit 1; }; }
16642 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16647 ac_cv_sizeof_long_long
=0
16650 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16651 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16652 cat >>confdefs.h
<<_ACEOF
16653 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16659 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16660 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16661 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16662 echo $ECHO_N "(cached) $ECHO_C" >&6
16665 if test "$cross_compiling" = yes; then
16669 wx_cv_sizeof_wchar_t
=0
16672 wx_cv_sizeof_wchar_t
=4
16678 cat >conftest.
$ac_ext <<_ACEOF
16679 #line $LINENO "configure"
16682 cat confdefs.h
>>conftest.
$ac_ext
16683 cat >>conftest.
$ac_ext <<_ACEOF
16684 /* end confdefs.h. */
16686 /* DJGPP only has fake wchar_t: */
16688 # error "fake wchar_t"
16690 #ifdef HAVE_WCHAR_H
16692 # include <stddef.h>
16694 # include <wchar.h>
16696 #ifdef HAVE_STDLIB_H
16697 # include <stdlib.h>
16702 FILE *f=fopen("conftestval", "w");
16704 fprintf(f, "%i", sizeof(wchar_t));
16709 rm -f conftest
$ac_exeext
16710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16711 (eval $ac_link) 2>&5
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; }; then
16720 wx_cv_sizeof_wchar_t
=`cat conftestval`
16722 echo "$as_me: program exited with status $ac_status" >&5
16723 echo "$as_me: failed program was:" >&5
16724 sed 's/^/| /' conftest.
$ac_ext >&5
16726 ( exit $ac_status )
16727 wx_cv_sizeof_wchar_t
=0
16729 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16733 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16734 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16736 cat >>confdefs.h
<<_ACEOF
16737 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16741 # Check whether --enable-largefile or --disable-largefile was given.
16742 if test "${enable_largefile+set}" = set; then
16743 enableval
="$enable_largefile"
16746 if test "$enable_largefile" != no
; then
16749 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16750 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16751 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16752 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 cat >conftest.
$ac_ext <<_ACEOF
16756 #line $LINENO "configure"
16759 cat confdefs.h
>>conftest.
$ac_ext
16760 cat >>conftest.
$ac_ext <<_ACEOF
16761 /* end confdefs.h. */
16762 #define _FILE_OFFSET_BITS 64
16763 #include <sys/types.h>
16768 unsigned int field: sizeof(off_t) == 8;
16775 rm -f conftest.
$ac_objext
16776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16777 (eval $ac_compile) 2>&5
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); } &&
16781 { ac_try
='test -s conftest.$ac_objext'
16782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16783 (eval $ac_try) 2>&5
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); }; }; then
16787 ac_cv_sys_file_offset_bits
=64
16789 echo "$as_me: failed program was:" >&5
16790 sed 's/^/| /' conftest.
$ac_ext >&5
16792 ac_cv_sys_file_offset_bits
=no
16794 rm -f conftest.
$ac_objext conftest.
$ac_ext
16798 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16799 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16801 if test "$ac_cv_sys_file_offset_bits" != no
; then
16803 cat >>confdefs.h
<<_ACEOF
16804 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16809 if test "x$wx_largefile" != "xyes"; then
16811 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16812 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16813 if test "${ac_cv_sys_large_files+set}" = set; then
16814 echo $ECHO_N "(cached) $ECHO_C" >&6
16817 cat >conftest.
$ac_ext <<_ACEOF
16818 #line $LINENO "configure"
16821 cat confdefs.h
>>conftest.
$ac_ext
16822 cat >>conftest.
$ac_ext <<_ACEOF
16823 /* end confdefs.h. */
16824 #define _LARGE_FILES 1
16825 #include <sys/types.h>
16830 unsigned int field: sizeof(off_t) == 8;
16837 rm -f conftest.
$ac_objext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16839 (eval $ac_compile) 2>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } &&
16843 { ac_try
='test -s conftest.$ac_objext'
16844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16845 (eval $ac_try) 2>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); }; }; then
16849 ac_cv_sys_large_files
=1
16851 echo "$as_me: failed program was:" >&5
16852 sed 's/^/| /' conftest.
$ac_ext >&5
16854 ac_cv_sys_large_files
=no
16856 rm -f conftest.
$ac_objext conftest.
$ac_ext
16860 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16861 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16863 if test "$ac_cv_sys_large_files" != no
; then
16865 cat >>confdefs.h
<<_ACEOF
16866 #define _LARGE_FILES $ac_cv_sys_large_files
16873 echo "$as_me:$LINENO: checking if large file support is available" >&5
16874 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16875 if test "x$wx_largefile" = "xyes"; then
16876 cat >>confdefs.h
<<\_ACEOF
16877 #define HAVE_LARGEFILE_SUPPORT 1
16881 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16882 echo "${ECHO_T}$wx_largefile" >&6
16886 if test "x$wx_largefile" = "xyes"; then
16887 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16888 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16890 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16892 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16895 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16896 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16897 if test "${ac_cv_c_bigendian+set}" = set; then
16898 echo $ECHO_N "(cached) $ECHO_C" >&6
16900 ac_cv_c_bigendian
=unknown
16901 # See if sys/param.h defines the BYTE_ORDER macro.
16902 cat >conftest.
$ac_ext <<_ACEOF
16903 #line $LINENO "configure"
16906 cat confdefs.h
>>conftest.
$ac_ext
16907 cat >>conftest.
$ac_ext <<_ACEOF
16908 /* end confdefs.h. */
16909 #include <sys/types.h>
16910 #include <sys/param.h>
16915 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16916 bogus endian macros
16922 rm -f conftest.
$ac_objext
16923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16924 (eval $ac_compile) 2>&5
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); } &&
16928 { ac_try
='test -s conftest.$ac_objext'
16929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16930 (eval $ac_try) 2>&5
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); }; }; then
16934 # It does; now see whether it defined to BIG_ENDIAN or not.
16935 cat >conftest.
$ac_ext <<_ACEOF
16936 #line $LINENO "configure"
16939 cat confdefs.h
>>conftest.
$ac_ext
16940 cat >>conftest.
$ac_ext <<_ACEOF
16941 /* end confdefs.h. */
16942 #include <sys/types.h>
16943 #include <sys/param.h>
16948 #if BYTE_ORDER != BIG_ENDIAN
16955 rm -f conftest.
$ac_objext
16956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16957 (eval $ac_compile) 2>&5
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); } &&
16961 { ac_try
='test -s conftest.$ac_objext'
16962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16963 (eval $ac_try) 2>&5
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); }; }; then
16967 ac_cv_c_bigendian
=yes
16969 echo "$as_me: failed program was:" >&5
16970 sed 's/^/| /' conftest.
$ac_ext >&5
16972 ac_cv_c_bigendian
=no
16974 rm -f conftest.
$ac_objext conftest.
$ac_ext
16976 echo "$as_me: failed program was:" >&5
16977 sed 's/^/| /' conftest.
$ac_ext >&5
16980 rm -f conftest.
$ac_objext conftest.
$ac_ext
16981 if test $ac_cv_c_bigendian = unknown
; then
16982 if test "$cross_compiling" = yes; then
16983 ac_cv_c_bigendian
=unknown
16985 cat >conftest.
$ac_ext <<_ACEOF
16986 #line $LINENO "configure"
16989 cat confdefs.h
>>conftest.
$ac_ext
16990 cat >>conftest.
$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16993 /* Are we little or big endian? From Harbison&Steele. */
16997 char c[sizeof (long)];
17000 exit (u.c[sizeof (long) - 1] == 1);
17003 rm -f conftest
$ac_exeext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17005 (eval $ac_link) 2>&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010 (eval $ac_try) 2>&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }; }; then
17014 ac_cv_c_bigendian
=no
17016 echo "$as_me: program exited with status $ac_status" >&5
17017 echo "$as_me: failed program was:" >&5
17018 sed 's/^/| /' conftest.
$ac_ext >&5
17020 ( exit $ac_status )
17021 ac_cv_c_bigendian
=yes
17023 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17027 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17028 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17029 if test $ac_cv_c_bigendian = unknown
; then
17030 { 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
17031 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;}
17033 if test $ac_cv_c_bigendian = yes; then
17034 cat >>confdefs.h
<<\_ACEOF
17035 #define WORDS_BIGENDIAN 1
17043 ac_cpp
='$CXXCPP $CPPFLAGS'
17044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17047 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17048 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17049 if test -z "$CXXCPP"; then
17050 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17051 echo $ECHO_N "(cached) $ECHO_C" >&6
17053 # Double quotes because CXXCPP needs to be expanded
17054 for CXXCPP
in "$CXX -E" "/lib/cpp"
17056 ac_preproc_ok
=false
17057 for ac_cxx_preproc_warn_flag
in '' yes
17059 # Use a header file that comes with gcc, so configuring glibc
17060 # with a fresh cross-compiler works.
17061 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17062 # <limits.h> exists even on freestanding compilers.
17063 # On the NeXT, cc -E runs the code through the compiler's parser,
17064 # not just through cpp. "Syntax error" is here to catch this case.
17065 cat >conftest.
$ac_ext <<_ACEOF
17066 #line $LINENO "configure"
17069 cat confdefs.h
>>conftest.
$ac_ext
17070 cat >>conftest.
$ac_ext <<_ACEOF
17071 /* end confdefs.h. */
17073 # include <limits.h>
17075 # include <assert.h>
17079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17080 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17082 grep -v '^ *+' conftest.er1
>conftest.err
17084 cat conftest.err
>&5
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); } >/dev
/null
; then
17087 if test -s conftest.err
; then
17088 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17095 if test -z "$ac_cpp_err"; then
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.
$ac_ext >&5
17101 # Broken: fails on valid input.
17104 rm -f conftest.err conftest.
$ac_ext
17106 # OK, works on sane cases. Now check whether non-existent headers
17107 # can be detected and how.
17108 cat >conftest.
$ac_ext <<_ACEOF
17109 #line $LINENO "configure"
17112 cat confdefs.h
>>conftest.
$ac_ext
17113 cat >>conftest.
$ac_ext <<_ACEOF
17114 /* end confdefs.h. */
17115 #include <ac_nonexistent.h>
17117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17118 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17120 grep -v '^ *+' conftest.er1
>conftest.err
17122 cat conftest.err
>&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); } >/dev
/null
; then
17125 if test -s conftest.err
; then
17126 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17133 if test -z "$ac_cpp_err"; then
17134 # Broken: success on invalid input.
17137 echo "$as_me: failed program was:" >&5
17138 sed 's/^/| /' conftest.
$ac_ext >&5
17140 # Passes both tests.
17144 rm -f conftest.err conftest.
$ac_ext
17147 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17148 rm -f conftest.err conftest.
$ac_ext
17149 if $ac_preproc_ok; then
17154 ac_cv_prog_CXXCPP
=$CXXCPP
17157 CXXCPP
=$ac_cv_prog_CXXCPP
17159 ac_cv_prog_CXXCPP
=$CXXCPP
17161 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17162 echo "${ECHO_T}$CXXCPP" >&6
17163 ac_preproc_ok
=false
17164 for ac_cxx_preproc_warn_flag
in '' yes
17166 # Use a header file that comes with gcc, so configuring glibc
17167 # with a fresh cross-compiler works.
17168 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17169 # <limits.h> exists even on freestanding compilers.
17170 # On the NeXT, cc -E runs the code through the compiler's parser,
17171 # not just through cpp. "Syntax error" is here to catch this case.
17172 cat >conftest.
$ac_ext <<_ACEOF
17173 #line $LINENO "configure"
17176 cat confdefs.h
>>conftest.
$ac_ext
17177 cat >>conftest.
$ac_ext <<_ACEOF
17178 /* end confdefs.h. */
17180 # include <limits.h>
17182 # include <assert.h>
17186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17187 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17189 grep -v '^ *+' conftest.er1
>conftest.err
17191 cat conftest.err
>&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } >/dev
/null
; then
17194 if test -s conftest.err
; then
17195 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17202 if test -z "$ac_cpp_err"; then
17205 echo "$as_me: failed program was:" >&5
17206 sed 's/^/| /' conftest.
$ac_ext >&5
17208 # Broken: fails on valid input.
17211 rm -f conftest.err conftest.
$ac_ext
17213 # OK, works on sane cases. Now check whether non-existent headers
17214 # can be detected and how.
17215 cat >conftest.
$ac_ext <<_ACEOF
17216 #line $LINENO "configure"
17219 cat confdefs.h
>>conftest.
$ac_ext
17220 cat >>conftest.
$ac_ext <<_ACEOF
17221 /* end confdefs.h. */
17222 #include <ac_nonexistent.h>
17224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17225 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17227 grep -v '^ *+' conftest.er1
>conftest.err
17229 cat conftest.err
>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } >/dev
/null
; then
17232 if test -s conftest.err
; then
17233 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17240 if test -z "$ac_cpp_err"; then
17241 # Broken: success on invalid input.
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.
$ac_ext >&5
17247 # Passes both tests.
17251 rm -f conftest.err conftest.
$ac_ext
17254 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17255 rm -f conftest.err conftest.
$ac_ext
17256 if $ac_preproc_ok; then
17259 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17260 See \`config.log' for more details." >&5
17261 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17262 See \`config.log' for more details." >&2;}
17263 { (exit 1); exit 1; }; }
17267 ac_cpp
='$CXXCPP $CPPFLAGS'
17268 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17269 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17270 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17274 if test "$cross_compiling" = "yes"; then
17275 cat >>confdefs.h
<<\_ACEOF
17276 #define wxUSE_IOSTREAMH 1
17283 ac_cpp
='$CXXCPP $CPPFLAGS'
17284 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17290 for ac_header
in iostream
17292 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17294 echo "$as_me:$LINENO: checking for $ac_header" >&5
17295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17297 echo $ECHO_N "(cached) $ECHO_C" >&6
17299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17302 # Is the header compilable?
17303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17305 cat >conftest.
$ac_ext <<_ACEOF
17306 #line $LINENO "configure"
17309 cat confdefs.h
>>conftest.
$ac_ext
17310 cat >>conftest.
$ac_ext <<_ACEOF
17311 /* end confdefs.h. */
17312 $ac_includes_default
17313 #include <$ac_header>
17315 rm -f conftest.
$ac_objext
17316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17317 (eval $ac_compile) 2>&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } &&
17321 { ac_try
='test -s conftest.$ac_objext'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; }; then
17327 ac_header_compiler
=yes
17329 echo "$as_me: failed program was:" >&5
17330 sed 's/^/| /' conftest.
$ac_ext >&5
17332 ac_header_compiler
=no
17334 rm -f conftest.
$ac_objext conftest.
$ac_ext
17335 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17336 echo "${ECHO_T}$ac_header_compiler" >&6
17338 # Is the header present?
17339 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17340 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17341 cat >conftest.
$ac_ext <<_ACEOF
17342 #line $LINENO "configure"
17345 cat confdefs.h
>>conftest.
$ac_ext
17346 cat >>conftest.
$ac_ext <<_ACEOF
17347 /* end confdefs.h. */
17348 #include <$ac_header>
17350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17351 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17353 grep -v '^ *+' conftest.er1
>conftest.err
17355 cat conftest.err
>&5
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); } >/dev
/null
; then
17358 if test -s conftest.err
; then
17359 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17366 if test -z "$ac_cpp_err"; then
17367 ac_header_preproc
=yes
17369 echo "$as_me: failed program was:" >&5
17370 sed 's/^/| /' conftest.
$ac_ext >&5
17372 ac_header_preproc
=no
17374 rm -f conftest.err conftest.
$ac_ext
17375 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17376 echo "${ECHO_T}$ac_header_preproc" >&6
17378 # So? What about this header?
17379 case $ac_header_compiler:$ac_header_preproc in
17381 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17382 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17384 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17387 ## ------------------------------------ ##
17388 ## Report this to bug-autoconf@gnu.org. ##
17389 ## ------------------------------------ ##
17392 sed "s/^/$as_me: WARNING: /" >&2
17395 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17396 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17397 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17398 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17400 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17403 ## ------------------------------------ ##
17404 ## Report this to bug-autoconf@gnu.org. ##
17405 ## ------------------------------------ ##
17408 sed "s/^/$as_me: WARNING: /" >&2
17411 echo "$as_me:$LINENO: checking for $ac_header" >&5
17412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17414 echo $ECHO_N "(cached) $ECHO_C" >&6
17416 eval "$as_ac_Header=$ac_header_preproc"
17418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17423 cat >>confdefs.h
<<_ACEOF
17424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17432 if test "$ac_cv_header_iostream" = "yes" ; then
17435 cat >>confdefs.h
<<\_ACEOF
17436 #define wxUSE_IOSTREAMH 1
17442 ac_cpp
='$CPP $CPPFLAGS'
17443 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17444 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17445 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17451 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17452 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17453 if test "${wx_cv_cpp_bool+set}" = set; then
17454 echo $ECHO_N "(cached) $ECHO_C" >&6
17460 ac_cpp
='$CXXCPP $CPPFLAGS'
17461 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17462 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17463 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17466 cat >conftest.
$ac_ext <<_ACEOF
17467 #line $LINENO "configure"
17470 cat confdefs.h
>>conftest.
$ac_ext
17471 cat >>conftest.
$ac_ext <<_ACEOF
17472 /* end confdefs.h. */
17487 rm -f conftest.
$ac_objext
17488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17489 (eval $ac_compile) 2>&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); } &&
17493 { ac_try
='test -s conftest.$ac_objext'
17494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17495 (eval $ac_try) 2>&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); }; }; then
17503 echo "$as_me: failed program was:" >&5
17504 sed 's/^/| /' conftest.
$ac_ext >&5
17511 rm -f conftest.
$ac_objext conftest.
$ac_ext
17514 ac_cpp
='$CPP $CPPFLAGS'
17515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17521 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17522 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17524 if test "$wx_cv_cpp_bool" = "yes"; then
17525 cat >>confdefs.h
<<\_ACEOF
17526 #define HAVE_BOOL 1
17533 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17534 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17535 if test "${wx_cv_explicit+set}" = set; then
17536 echo $ECHO_N "(cached) $ECHO_C" >&6
17542 ac_cpp
='$CXXCPP $CPPFLAGS'
17543 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17544 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17545 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17548 cat >conftest.
$ac_ext <<_ACEOF
17549 #line $LINENO "configure"
17552 cat confdefs.h
>>conftest.
$ac_ext
17553 cat >>conftest.
$ac_ext <<_ACEOF
17554 /* end confdefs.h. */
17556 class Foo { public: explicit Foo(int) {} };
17568 rm -f conftest.
$ac_objext
17569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17570 (eval $ac_compile) 2>&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } &&
17574 { ac_try
='test -s conftest.$ac_objext'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; }; then
17581 cat >conftest.
$ac_ext <<_ACEOF
17582 #line $LINENO "configure"
17585 cat confdefs.h
>>conftest.
$ac_ext
17586 cat >>conftest.
$ac_ext <<_ACEOF
17587 /* end confdefs.h. */
17589 class Foo { public: explicit Foo(int) {} };
17590 static void TakeFoo(const Foo& foo) { }
17603 rm -f conftest.
$ac_objext
17604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17605 (eval $ac_compile) 2>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } &&
17609 { ac_try
='test -s conftest.$ac_objext'
17610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611 (eval $ac_try) 2>&5
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); }; }; then
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.
$ac_ext >&5
17623 rm -f conftest.
$ac_objext conftest.
$ac_ext
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.
$ac_ext >&5
17632 rm -f conftest.
$ac_objext conftest.
$ac_ext
17635 ac_cpp
='$CPP $CPPFLAGS'
17636 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17637 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17638 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17642 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17643 echo "${ECHO_T}$wx_cv_explicit" >&6
17645 if test "$wx_cv_explicit" = "yes"; then
17646 cat >>confdefs.h
<<\_ACEOF
17647 #define HAVE_EXPLICIT 1
17653 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17654 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17655 if test "${ac_cv_cxx_const_cast+set}" = set; then
17656 echo $ECHO_N "(cached) $ECHO_C" >&6
17661 ac_cpp
='$CXXCPP $CPPFLAGS'
17662 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17663 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17664 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17666 cat >conftest.
$ac_ext <<_ACEOF
17667 #line $LINENO "configure"
17670 cat confdefs.h
>>conftest.
$ac_ext
17671 cat >>conftest.
$ac_ext <<_ACEOF
17672 /* end confdefs.h. */
17677 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17682 rm -f conftest.
$ac_objext
17683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17684 (eval $ac_compile) 2>&5
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); } &&
17688 { ac_try
='test -s conftest.$ac_objext'
17689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690 (eval $ac_try) 2>&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; }; then
17694 ac_cv_cxx_const_cast
=yes
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.
$ac_ext >&5
17699 ac_cv_cxx_const_cast
=no
17701 rm -f conftest.
$ac_objext conftest.
$ac_ext
17703 ac_cpp
='$CPP $CPPFLAGS'
17704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17710 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17711 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17712 if test "$ac_cv_cxx_const_cast" = yes; then
17714 cat >>confdefs.h
<<\_ACEOF
17715 #define HAVE_CONST_CAST
17721 if test "$wxUSE_STL" = "yes"; then
17723 ac_cpp
='$CXXCPP $CPPFLAGS'
17724 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17725 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17726 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17729 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17730 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17731 cat >conftest.
$ac_ext <<_ACEOF
17732 #line $LINENO "configure"
17735 cat confdefs.h
>>conftest.
$ac_ext
17736 cat >>conftest.
$ac_ext <<_ACEOF
17737 /* end confdefs.h. */
17739 #include <functional>
17740 #include <algorithm>
17746 std::vector<int> moo;
17747 std::list<int> foo;
17748 std::vector<int>::iterator it =
17749 std::find_if(moo.begin(), moo.end(),
17750 std::bind2nd(std::less<int>(), 3));
17755 rm -f conftest.
$ac_objext
17756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17757 (eval $ac_compile) 2>&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } &&
17761 { ac_try
='test -s conftest.$ac_objext'
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17763 (eval $ac_try) 2>&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; }; then
17767 echo "$as_me:$LINENO: result: yes" >&5
17768 echo "${ECHO_T}yes" >&6
17770 echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.
$ac_ext >&5
17773 echo "$as_me:$LINENO: result: no" >&5
17774 echo "${ECHO_T}no" >&6
17775 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17776 echo "$as_me: error: Basic STL functionality missing" >&2;}
17777 { (exit 1); exit 1; }; }
17779 rm -f conftest.
$ac_objext conftest.
$ac_ext
17781 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17782 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17783 cat >conftest.
$ac_ext <<_ACEOF
17784 #line $LINENO "configure"
17787 cat confdefs.h
>>conftest.
$ac_ext
17788 cat >>conftest.
$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17799 rm -f conftest.
$ac_objext
17800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17801 (eval $ac_compile) 2>&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } &&
17805 { ac_try
='test -s conftest.$ac_objext'
17806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17807 (eval $ac_try) 2>&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); }; }; then
17811 echo "$as_me:$LINENO: result: yes" >&5
17812 echo "${ECHO_T}yes" >&6
17813 cat >>confdefs.h
<<\_ACEOF
17814 #define HAVE_STD_WSTRING 1
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.
$ac_ext >&5
17821 echo "$as_me:$LINENO: result: no" >&5
17822 echo "${ECHO_T}no" >&6
17824 rm -f conftest.
$ac_objext conftest.
$ac_ext
17826 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17827 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17828 cat >conftest.
$ac_ext <<_ACEOF
17829 #line $LINENO "configure"
17832 cat confdefs.h
>>conftest.
$ac_ext
17833 cat >>conftest.
$ac_ext <<_ACEOF
17834 /* end confdefs.h. */
17839 std::string foo, bar;
17841 foo.compare(1, 1, bar);
17842 foo.compare(1, 1, bar, 1, 1);
17844 foo.compare(1, 1, "");
17845 foo.compare(1, 1, "", 2);
17850 rm -f conftest.
$ac_objext
17851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17852 (eval $ac_compile) 2>&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); } &&
17856 { ac_try
='test -s conftest.$ac_objext'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; }; then
17862 echo "$as_me:$LINENO: result: yes" >&5
17863 echo "${ECHO_T}yes" >&6
17864 cat >>confdefs.h
<<\_ACEOF
17865 #define HAVE_STD_STRING_COMPARE 1
17869 echo "$as_me: failed program was:" >&5
17870 sed 's/^/| /' conftest.
$ac_ext >&5
17872 echo "$as_me:$LINENO: result: no" >&5
17873 echo "${ECHO_T}no" >&6
17875 rm -f conftest.
$ac_objext conftest.
$ac_ext
17878 ac_cpp
='$CPP $CPPFLAGS'
17879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17887 /usr/local/include \
17889 /usr/Motif-1.2/include \
17890 /usr/Motif-2.1/include \
17892 /usr/include/Motif1.2 \
17893 /opt/xpm/include/X11 \
17894 /opt/GBxpm/include/ \
17895 /opt/GBxpm/X11/include/ \
17897 /usr/Motif1.2/include \
17899 /usr/openwin/include \
17903 /usr/X11R6/include \
17904 /usr/X11R6.4/include \
17905 /usr/X11R5/include \
17906 /usr/X11R4/include \
17908 /usr/include/X11R6 \
17909 /usr/include/X11R5 \
17910 /usr/include/X11R4 \
17912 /usr/local/X11R6/include \
17913 /usr/local/X11R5/include \
17914 /usr/local/X11R4/include \
17916 /usr/local/include/X11R6 \
17917 /usr/local/include/X11R5 \
17918 /usr/local/include/X11R4 \
17922 /usr/local/X11/include \
17923 /usr/local/include/X11 \
17925 /usr/X386/include \
17926 /usr/x386/include \
17927 /usr/XFree86/include/X11 \
17929 X:/XFree86/include \
17930 X:/XFree86/include/X11 \
17933 /usr/local/include/gtk \
17934 /usr/include/glib \
17935 /usr/local/include/glib \
17938 /usr/local/include/qt \
17940 /usr/include/windows \
17941 /usr/include/wine \
17942 /usr/local/include/wine \
17944 /usr/unsupported/include \
17945 /usr/athena/include \
17946 /usr/local/x11r5/include \
17947 /usr/lpp/Xamples/include \
17949 /usr/openwin/share/include"
17951 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17954 cat >confcache
<<\_ACEOF
17955 # This file is a shell script that caches the results of configure
17956 # tests run on this system so they can be shared between configure
17957 # scripts and configure runs, see configure's option --config-cache.
17958 # It is not useful on other systems. If it contains results you don't
17959 # want to keep, you may remove or edit it.
17961 # config.status only pays attention to the cache file if you give it
17962 # the --recheck option to rerun configure.
17964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17966 # following values.
17970 # The following way of writing the cache mishandles newlines in values,
17971 # but we know of no workaround that is simple, portable, and efficient.
17972 # So, don't put newlines in cache variables' values.
17973 # Ultrix sh set writes to stderr and can't be redirected directly,
17974 # and sets the high bit in the cache file unless we assign to the vars.
17977 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17979 # `set' does not quote correctly, so add quotes (double-quote
17980 # substitution turns \\\\ into \\, and sed turns \\ into \).
17983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17986 # `set' quotes correctly as required by POSIX, so do not add quotes.
17988 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17997 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17999 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18000 if test -w $cache_file; then
18001 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18002 cat confcache
>$cache_file
18004 echo "not updating unwritable cache $cache_file"
18009 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18010 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18011 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18012 if test "${wx_cv_lib_glibc21+set}" = set; then
18013 echo $ECHO_N "(cached) $ECHO_C" >&6
18016 cat >conftest.
$ac_ext <<_ACEOF
18017 #line $LINENO "configure"
18020 cat confdefs.h
>>conftest.
$ac_ext
18021 cat >>conftest.
$ac_ext <<_ACEOF
18022 /* end confdefs.h. */
18023 #include <features.h>
18028 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18029 #error not glibc2.1
18036 rm -f conftest.
$ac_objext
18037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18038 (eval $ac_compile) 2>&5
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); } &&
18042 { ac_try
='test -s conftest.$ac_objext'
18043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18044 (eval $ac_try) 2>&5
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); }; }; then
18049 wx_cv_lib_glibc21
=yes
18052 echo "$as_me: failed program was:" >&5
18053 sed 's/^/| /' conftest.
$ac_ext >&5
18056 wx_cv_lib_glibc21
=no
18060 rm -f conftest.
$ac_objext conftest.
$ac_ext
18063 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18064 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18065 if test "$wx_cv_lib_glibc21" = "yes"; then
18066 cat >>confdefs.h
<<\_ACEOF
18067 #define wxHAVE_GLIBC2 1
18073 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18074 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18075 cat >>confdefs.h
<<\_ACEOF
18076 #define _GNU_SOURCE 1
18085 if test "$wxUSE_REGEX" != "no"; then
18086 cat >>confdefs.h
<<\_ACEOF
18087 #define wxUSE_REGEX 1
18091 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18092 if test "${ac_cv_header_regex_h+set}" = set; then
18093 echo "$as_me:$LINENO: checking for regex.h" >&5
18094 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18095 if test "${ac_cv_header_regex_h+set}" = set; then
18096 echo $ECHO_N "(cached) $ECHO_C" >&6
18098 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18099 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18101 # Is the header compilable?
18102 echo "$as_me:$LINENO: checking regex.h usability" >&5
18103 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18104 cat >conftest.
$ac_ext <<_ACEOF
18105 #line $LINENO "configure"
18108 cat confdefs.h
>>conftest.
$ac_ext
18109 cat >>conftest.
$ac_ext <<_ACEOF
18110 /* end confdefs.h. */
18111 $ac_includes_default
18114 rm -f conftest.
$ac_objext
18115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18116 (eval $ac_compile) 2>&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); } &&
18120 { ac_try
='test -s conftest.$ac_objext'
18121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18122 (eval $ac_try) 2>&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); }; }; then
18126 ac_header_compiler
=yes
18128 echo "$as_me: failed program was:" >&5
18129 sed 's/^/| /' conftest.
$ac_ext >&5
18131 ac_header_compiler
=no
18133 rm -f conftest.
$ac_objext conftest.
$ac_ext
18134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18135 echo "${ECHO_T}$ac_header_compiler" >&6
18137 # Is the header present?
18138 echo "$as_me:$LINENO: checking regex.h presence" >&5
18139 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18140 cat >conftest.
$ac_ext <<_ACEOF
18141 #line $LINENO "configure"
18144 cat confdefs.h
>>conftest.
$ac_ext
18145 cat >>conftest.
$ac_ext <<_ACEOF
18146 /* end confdefs.h. */
18149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18150 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18152 grep -v '^ *+' conftest.er1
>conftest.err
18154 cat conftest.err
>&5
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); } >/dev
/null
; then
18157 if test -s conftest.err
; then
18158 ac_cpp_err
=$ac_c_preproc_warn_flag
18165 if test -z "$ac_cpp_err"; then
18166 ac_header_preproc
=yes
18168 echo "$as_me: failed program was:" >&5
18169 sed 's/^/| /' conftest.
$ac_ext >&5
18171 ac_header_preproc
=no
18173 rm -f conftest.err conftest.
$ac_ext
18174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18175 echo "${ECHO_T}$ac_header_preproc" >&6
18177 # So? What about this header?
18178 case $ac_header_compiler:$ac_header_preproc in
18180 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18181 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18182 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18183 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18186 ## ------------------------------------ ##
18187 ## Report this to bug-autoconf@gnu.org. ##
18188 ## ------------------------------------ ##
18191 sed "s/^/$as_me: WARNING: /" >&2
18194 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18195 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18196 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18197 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18198 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18199 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18202 ## ------------------------------------ ##
18203 ## Report this to bug-autoconf@gnu.org. ##
18204 ## ------------------------------------ ##
18207 sed "s/^/$as_me: WARNING: /" >&2
18210 echo "$as_me:$LINENO: checking for regex.h" >&5
18211 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18212 if test "${ac_cv_header_regex_h+set}" = set; then
18213 echo $ECHO_N "(cached) $ECHO_C" >&6
18215 ac_cv_header_regex_h
=$ac_header_preproc
18217 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18218 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18221 if test $ac_cv_header_regex_h = yes; then
18223 for ac_func
in regcomp
18225 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18226 echo "$as_me:$LINENO: checking for $ac_func" >&5
18227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18228 if eval "test \"\${$as_ac_var+set}\" = set"; then
18229 echo $ECHO_N "(cached) $ECHO_C" >&6
18231 cat >conftest.
$ac_ext <<_ACEOF
18232 #line $LINENO "configure"
18235 cat confdefs.h
>>conftest.
$ac_ext
18236 cat >>conftest.
$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18238 /* System header to define __stub macros and hopefully few prototypes,
18239 which can conflict with char $ac_func (); below.
18240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18241 <limits.h> exists even on freestanding compilers. */
18243 # include <limits.h>
18245 # include <assert.h>
18247 /* Override any gcc2 internal prototype to avoid an error. */
18252 /* We use char because int might match the return type of a gcc2
18253 builtin and then its argument prototype would still apply. */
18255 /* The GNU C library defines this for functions which it implements
18256 to always fail with ENOSYS. Some functions are actually named
18257 something starting with __ and the normal name is an alias. */
18258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18261 char (*f) () = $ac_func;
18270 return f != $ac_func;
18275 rm -f conftest.
$ac_objext conftest
$ac_exeext
18276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18277 (eval $ac_link) 2>&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } &&
18281 { ac_try
='test -s conftest$ac_exeext'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; }; then
18287 eval "$as_ac_var=yes"
18289 echo "$as_me: failed program was:" >&5
18290 sed 's/^/| /' conftest.
$ac_ext >&5
18292 eval "$as_ac_var=no"
18294 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18298 if test `eval echo '${'$as_ac_var'}'` = yes; then
18299 cat >>confdefs.h
<<_ACEOF
18300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18310 if test "x$ac_cv_func_regcomp" != "xyes"; then
18311 if test "$wxUSE_REGEX" = "sys" ; then
18312 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18313 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18314 { (exit 1); exit 1; }; }
18316 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18317 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18318 wxUSE_REGEX
=builtin
18325 if test "$wxUSE_REGEX" = "builtin" ; then
18326 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18333 if test "$wxUSE_ZLIB" != "no" ; then
18334 cat >>confdefs.h
<<\_ACEOF
18335 #define wxUSE_ZLIB 1
18339 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18340 if test "$USE_DARWIN" = 1; then
18341 system_zlib_h_ok
="yes"
18343 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18344 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18345 if test "${ac_cv_header_zlib_h+set}" = set; then
18346 echo $ECHO_N "(cached) $ECHO_C" >&6
18348 if test "$cross_compiling" = yes; then
18349 unset ac_cv_header_zlib_h
18352 cat >conftest.
$ac_ext <<_ACEOF
18353 #line $LINENO "configure"
18356 cat confdefs.h
>>conftest.
$ac_ext
18357 cat >>conftest.
$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18365 FILE *f=fopen("conftestval", "w");
18368 ZLIB_VERSION[0] == '1' &&
18369 (ZLIB_VERSION[2] > '1' ||
18370 (ZLIB_VERSION[2] == '1' &&
18371 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18376 rm -f conftest
$ac_exeext
18377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18378 (eval $ac_link) 2>&5
18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18383 (eval $ac_try) 2>&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); }; }; then
18387 ac_cv_header_zlib_h
=`cat conftestval`
18389 echo "$as_me: program exited with status $ac_status" >&5
18390 echo "$as_me: failed program was:" >&5
18391 sed 's/^/| /' conftest.
$ac_ext >&5
18393 ( exit $ac_status )
18394 ac_cv_header_zlib_h
=no
18396 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18400 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18401 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18402 if test "${ac_cv_header_zlib_h+set}" = set; then
18403 echo "$as_me:$LINENO: checking for zlib.h" >&5
18404 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18405 if test "${ac_cv_header_zlib_h+set}" = set; then
18406 echo $ECHO_N "(cached) $ECHO_C" >&6
18408 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18409 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18411 # Is the header compilable?
18412 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18413 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18414 cat >conftest.
$ac_ext <<_ACEOF
18415 #line $LINENO "configure"
18418 cat confdefs.h
>>conftest.
$ac_ext
18419 cat >>conftest.
$ac_ext <<_ACEOF
18420 /* end confdefs.h. */
18421 $ac_includes_default
18424 rm -f conftest.
$ac_objext
18425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18426 (eval $ac_compile) 2>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); } &&
18430 { ac_try
='test -s conftest.$ac_objext'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; }; then
18436 ac_header_compiler
=yes
18438 echo "$as_me: failed program was:" >&5
18439 sed 's/^/| /' conftest.
$ac_ext >&5
18441 ac_header_compiler
=no
18443 rm -f conftest.
$ac_objext conftest.
$ac_ext
18444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18445 echo "${ECHO_T}$ac_header_compiler" >&6
18447 # Is the header present?
18448 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18449 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18450 cat >conftest.
$ac_ext <<_ACEOF
18451 #line $LINENO "configure"
18454 cat confdefs.h
>>conftest.
$ac_ext
18455 cat >>conftest.
$ac_ext <<_ACEOF
18456 /* end confdefs.h. */
18459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18460 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18462 grep -v '^ *+' conftest.er1
>conftest.err
18464 cat conftest.err
>&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); } >/dev
/null
; then
18467 if test -s conftest.err
; then
18468 ac_cpp_err
=$ac_c_preproc_warn_flag
18475 if test -z "$ac_cpp_err"; then
18476 ac_header_preproc
=yes
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.
$ac_ext >&5
18481 ac_header_preproc
=no
18483 rm -f conftest.err conftest.
$ac_ext
18484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18485 echo "${ECHO_T}$ac_header_preproc" >&6
18487 # So? What about this header?
18488 case $ac_header_compiler:$ac_header_preproc in
18490 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18491 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18492 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18493 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18496 ## ------------------------------------ ##
18497 ## Report this to bug-autoconf@gnu.org. ##
18498 ## ------------------------------------ ##
18501 sed "s/^/$as_me: WARNING: /" >&2
18504 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18505 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18506 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18507 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18508 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18509 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18512 ## ------------------------------------ ##
18513 ## Report this to bug-autoconf@gnu.org. ##
18514 ## ------------------------------------ ##
18517 sed "s/^/$as_me: WARNING: /" >&2
18520 echo "$as_me:$LINENO: checking for zlib.h" >&5
18521 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18522 if test "${ac_cv_header_zlib_h+set}" = set; then
18523 echo $ECHO_N "(cached) $ECHO_C" >&6
18525 ac_cv_header_zlib_h
=$ac_header_preproc
18527 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18528 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18534 system_zlib_h_ok
=$ac_cv_header_zlib_h
18537 if test "$system_zlib_h_ok" = "yes"; then
18538 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18539 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18540 if test "${ac_cv_lib_z_deflate+set}" = set; then
18541 echo $ECHO_N "(cached) $ECHO_C" >&6
18543 ac_check_lib_save_LIBS
=$LIBS
18545 cat >conftest.
$ac_ext <<_ACEOF
18546 #line $LINENO "configure"
18549 cat confdefs.h
>>conftest.
$ac_ext
18550 cat >>conftest.
$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18553 /* Override any gcc2 internal prototype to avoid an error. */
18557 /* We use char because int might match the return type of a gcc2
18558 builtin and then its argument prototype would still apply. */
18568 rm -f conftest.
$ac_objext conftest
$ac_exeext
18569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18570 (eval $ac_link) 2>&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } &&
18574 { ac_try
='test -s conftest$ac_exeext'
18575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18576 (eval $ac_try) 2>&5
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); }; }; then
18580 ac_cv_lib_z_deflate
=yes
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.
$ac_ext >&5
18585 ac_cv_lib_z_deflate
=no
18587 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18588 LIBS
=$ac_check_lib_save_LIBS
18590 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18591 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18592 if test $ac_cv_lib_z_deflate = yes; then
18598 if test "x$ZLIB_LINK" = "x" ; then
18599 if test "$wxUSE_ZLIB" = "sys" ; then
18600 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18601 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18602 { (exit 1); exit 1; }; }
18604 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18605 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18613 if test "$wxUSE_ZLIB" = "builtin" ; then
18614 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18621 if test "$wxUSE_LIBPNG" != "no" ; then
18622 cat >>confdefs.h
<<\_ACEOF
18623 #define wxUSE_LIBPNG 1
18627 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18628 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18629 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18633 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18634 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18635 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18636 wxUSE_LIBPNG
=builtin
18639 if test "$wxUSE_MGL" != 1 ; then
18640 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18641 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18642 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18643 if test "${ac_cv_header_png_h+set}" = set; then
18644 echo $ECHO_N "(cached) $ECHO_C" >&6
18646 if test "$cross_compiling" = yes; then
18647 unset ac_cv_header_png_h
18650 cat >conftest.
$ac_ext <<_ACEOF
18651 #line $LINENO "configure"
18654 cat confdefs.h
>>conftest.
$ac_ext
18655 cat >>conftest.
$ac_ext <<_ACEOF
18656 /* end confdefs.h. */
18663 FILE *f=fopen("conftestval", "w");
18666 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18671 rm -f conftest
$ac_exeext
18672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18673 (eval $ac_link) 2>&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; }; then
18682 ac_cv_header_png_h
=`cat conftestval`
18684 echo "$as_me: program exited with status $ac_status" >&5
18685 echo "$as_me: failed program was:" >&5
18686 sed 's/^/| /' conftest.
$ac_ext >&5
18688 ( exit $ac_status )
18689 ac_cv_header_png_h
=no
18691 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18695 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18696 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18697 if test "${ac_cv_header_png_h+set}" = set; then
18698 echo "$as_me:$LINENO: checking for png.h" >&5
18699 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18700 if test "${ac_cv_header_png_h+set}" = set; then
18701 echo $ECHO_N "(cached) $ECHO_C" >&6
18703 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18704 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18706 # Is the header compilable?
18707 echo "$as_me:$LINENO: checking png.h usability" >&5
18708 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18709 cat >conftest.
$ac_ext <<_ACEOF
18710 #line $LINENO "configure"
18713 cat confdefs.h
>>conftest.
$ac_ext
18714 cat >>conftest.
$ac_ext <<_ACEOF
18715 /* end confdefs.h. */
18716 $ac_includes_default
18719 rm -f conftest.
$ac_objext
18720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18721 (eval $ac_compile) 2>&5
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); } &&
18725 { ac_try
='test -s conftest.$ac_objext'
18726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18727 (eval $ac_try) 2>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); }; }; then
18731 ac_header_compiler
=yes
18733 echo "$as_me: failed program was:" >&5
18734 sed 's/^/| /' conftest.
$ac_ext >&5
18736 ac_header_compiler
=no
18738 rm -f conftest.
$ac_objext conftest.
$ac_ext
18739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18740 echo "${ECHO_T}$ac_header_compiler" >&6
18742 # Is the header present?
18743 echo "$as_me:$LINENO: checking png.h presence" >&5
18744 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18745 cat >conftest.
$ac_ext <<_ACEOF
18746 #line $LINENO "configure"
18749 cat confdefs.h
>>conftest.
$ac_ext
18750 cat >>conftest.
$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18755 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18757 grep -v '^ *+' conftest.er1
>conftest.err
18759 cat conftest.err
>&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); } >/dev
/null
; then
18762 if test -s conftest.err
; then
18763 ac_cpp_err
=$ac_c_preproc_warn_flag
18770 if test -z "$ac_cpp_err"; then
18771 ac_header_preproc
=yes
18773 echo "$as_me: failed program was:" >&5
18774 sed 's/^/| /' conftest.
$ac_ext >&5
18776 ac_header_preproc
=no
18778 rm -f conftest.err conftest.
$ac_ext
18779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18780 echo "${ECHO_T}$ac_header_preproc" >&6
18782 # So? What about this header?
18783 case $ac_header_compiler:$ac_header_preproc in
18785 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18786 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18787 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18788 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18791 ## ------------------------------------ ##
18792 ## Report this to bug-autoconf@gnu.org. ##
18793 ## ------------------------------------ ##
18796 sed "s/^/$as_me: WARNING: /" >&2
18799 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18800 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18801 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18802 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18803 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18804 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18807 ## ------------------------------------ ##
18808 ## Report this to bug-autoconf@gnu.org. ##
18809 ## ------------------------------------ ##
18812 sed "s/^/$as_me: WARNING: /" >&2
18815 echo "$as_me:$LINENO: checking for png.h" >&5
18816 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18817 if test "${ac_cv_header_png_h+set}" = set; then
18818 echo $ECHO_N "(cached) $ECHO_C" >&6
18820 ac_cv_header_png_h
=$ac_header_preproc
18822 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18823 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18829 if test "$ac_cv_header_png_h" = "yes"; then
18830 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18831 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18832 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18833 echo $ECHO_N "(cached) $ECHO_C" >&6
18835 ac_check_lib_save_LIBS
=$LIBS
18836 LIBS
="-lpng -lz -lm $LIBS"
18837 cat >conftest.
$ac_ext <<_ACEOF
18838 #line $LINENO "configure"
18841 cat confdefs.h
>>conftest.
$ac_ext
18842 cat >>conftest.
$ac_ext <<_ACEOF
18843 /* end confdefs.h. */
18845 /* Override any gcc2 internal prototype to avoid an error. */
18849 /* We use char because int might match the return type of a gcc2
18850 builtin and then its argument prototype would still apply. */
18851 char png_check_sig ();
18860 rm -f conftest.
$ac_objext conftest
$ac_exeext
18861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18862 (eval $ac_link) 2>&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); } &&
18866 { ac_try
='test -s conftest$ac_exeext'
18867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18868 (eval $ac_try) 2>&5
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); }; }; then
18872 ac_cv_lib_png_png_check_sig
=yes
18874 echo "$as_me: failed program was:" >&5
18875 sed 's/^/| /' conftest.
$ac_ext >&5
18877 ac_cv_lib_png_png_check_sig
=no
18879 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18880 LIBS
=$ac_check_lib_save_LIBS
18882 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18883 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18884 if test $ac_cv_lib_png_png_check_sig = yes; then
18890 if test "x$PNG_LINK" = "x" ; then
18891 if test "$wxUSE_LIBPNG" = "sys" ; then
18892 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18893 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18894 { (exit 1); exit 1; }; }
18896 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18897 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18898 wxUSE_LIBPNG
=builtin
18906 if test "$wxUSE_LIBPNG" = "builtin" ; then
18907 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18910 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18916 if test "$wxUSE_LIBJPEG" != "no" ; then
18917 cat >>confdefs.h
<<\_ACEOF
18918 #define wxUSE_LIBJPEG 1
18922 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18923 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18924 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18928 if test "$wxUSE_MGL" != 1 ; then
18929 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18930 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18931 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18932 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18933 echo $ECHO_N "(cached) $ECHO_C" >&6
18935 cat >conftest.
$ac_ext <<_ACEOF
18936 #line $LINENO "configure"
18939 cat confdefs.h
>>conftest.
$ac_ext
18940 cat >>conftest.
$ac_ext <<_ACEOF
18941 /* end confdefs.h. */
18943 #undef HAVE_STDLIB_H
18945 #include <jpeglib.h>
18956 rm -f conftest.
$ac_objext
18957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18958 (eval $ac_compile) 2>&5
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); } &&
18962 { ac_try
='test -s conftest.$ac_objext'
18963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18964 (eval $ac_try) 2>&5
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); }; }; then
18968 ac_cv_header_jpeglib_h
=yes
18970 echo "$as_me: failed program was:" >&5
18971 sed 's/^/| /' conftest.
$ac_ext >&5
18973 ac_cv_header_jpeglib_h
=no
18976 rm -f conftest.
$ac_objext conftest.
$ac_ext
18980 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18981 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18983 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18984 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18985 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18986 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18987 echo $ECHO_N "(cached) $ECHO_C" >&6
18989 ac_check_lib_save_LIBS
=$LIBS
18990 LIBS
="-ljpeg $LIBS"
18991 cat >conftest.
$ac_ext <<_ACEOF
18992 #line $LINENO "configure"
18995 cat confdefs.h
>>conftest.
$ac_ext
18996 cat >>conftest.
$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18999 /* Override any gcc2 internal prototype to avoid an error. */
19003 /* We use char because int might match the return type of a gcc2
19004 builtin and then its argument prototype would still apply. */
19005 char jpeg_read_header ();
19009 jpeg_read_header ();
19014 rm -f conftest.
$ac_objext conftest
$ac_exeext
19015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19016 (eval $ac_link) 2>&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); } &&
19020 { ac_try
='test -s conftest$ac_exeext'
19021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19022 (eval $ac_try) 2>&5
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); }; }; then
19026 ac_cv_lib_jpeg_jpeg_read_header
=yes
19028 echo "$as_me: failed program was:" >&5
19029 sed 's/^/| /' conftest.
$ac_ext >&5
19031 ac_cv_lib_jpeg_jpeg_read_header
=no
19033 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19034 LIBS
=$ac_check_lib_save_LIBS
19036 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19037 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19038 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19039 JPEG_LINK
=" -ljpeg"
19044 if test "x$JPEG_LINK" = "x" ; then
19045 if test "$wxUSE_LIBJPEG" = "sys" ; then
19046 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19047 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19048 { (exit 1); exit 1; }; }
19050 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19051 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19052 wxUSE_LIBJPEG
=builtin
19060 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19061 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
19068 TIFF_PREREQ_LINKS
=-lm
19069 if test "$wxUSE_LIBTIFF" != "no" ; then
19070 cat >>confdefs.h
<<\_ACEOF
19071 #define wxUSE_LIBTIFF 1
19075 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19076 if test "$wxUSE_LIBJPEG" = "sys"; then
19077 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
19079 if test "$wxUSE_ZLIB" = "sys"; then
19080 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19082 if test "${ac_cv_header_tiffio_h+set}" = set; then
19083 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19084 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19085 if test "${ac_cv_header_tiffio_h+set}" = set; then
19086 echo $ECHO_N "(cached) $ECHO_C" >&6
19088 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19089 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19091 # Is the header compilable?
19092 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19093 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19094 cat >conftest.
$ac_ext <<_ACEOF
19095 #line $LINENO "configure"
19098 cat confdefs.h
>>conftest.
$ac_ext
19099 cat >>conftest.
$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19101 $ac_includes_default
19102 #include <tiffio.h>
19104 rm -f conftest.
$ac_objext
19105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19106 (eval $ac_compile) 2>&5
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); } &&
19110 { ac_try
='test -s conftest.$ac_objext'
19111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19112 (eval $ac_try) 2>&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); }; }; then
19116 ac_header_compiler
=yes
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.
$ac_ext >&5
19121 ac_header_compiler
=no
19123 rm -f conftest.
$ac_objext conftest.
$ac_ext
19124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19125 echo "${ECHO_T}$ac_header_compiler" >&6
19127 # Is the header present?
19128 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19129 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19130 cat >conftest.
$ac_ext <<_ACEOF
19131 #line $LINENO "configure"
19134 cat confdefs.h
>>conftest.
$ac_ext
19135 cat >>conftest.
$ac_ext <<_ACEOF
19136 /* end confdefs.h. */
19137 #include <tiffio.h>
19139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19140 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19142 grep -v '^ *+' conftest.er1
>conftest.err
19144 cat conftest.err
>&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); } >/dev
/null
; then
19147 if test -s conftest.err
; then
19148 ac_cpp_err
=$ac_c_preproc_warn_flag
19155 if test -z "$ac_cpp_err"; then
19156 ac_header_preproc
=yes
19158 echo "$as_me: failed program was:" >&5
19159 sed 's/^/| /' conftest.
$ac_ext >&5
19161 ac_header_preproc
=no
19163 rm -f conftest.err conftest.
$ac_ext
19164 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19165 echo "${ECHO_T}$ac_header_preproc" >&6
19167 # So? What about this header?
19168 case $ac_header_compiler:$ac_header_preproc in
19170 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19171 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19172 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19173 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19176 ## ------------------------------------ ##
19177 ## Report this to bug-autoconf@gnu.org. ##
19178 ## ------------------------------------ ##
19181 sed "s/^/$as_me: WARNING: /" >&2
19184 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19185 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19186 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19187 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19188 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19189 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19192 ## ------------------------------------ ##
19193 ## Report this to bug-autoconf@gnu.org. ##
19194 ## ------------------------------------ ##
19197 sed "s/^/$as_me: WARNING: /" >&2
19200 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19201 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19202 if test "${ac_cv_header_tiffio_h+set}" = set; then
19203 echo $ECHO_N "(cached) $ECHO_C" >&6
19205 ac_cv_header_tiffio_h
=$ac_header_preproc
19207 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19208 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19211 if test $ac_cv_header_tiffio_h = yes; then
19213 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19214 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19215 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19216 echo $ECHO_N "(cached) $ECHO_C" >&6
19218 ac_check_lib_save_LIBS
=$LIBS
19219 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19220 cat >conftest.
$ac_ext <<_ACEOF
19221 #line $LINENO "configure"
19224 cat confdefs.h
>>conftest.
$ac_ext
19225 cat >>conftest.
$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19228 /* Override any gcc2 internal prototype to avoid an error. */
19232 /* We use char because int might match the return type of a gcc2
19233 builtin and then its argument prototype would still apply. */
19243 rm -f conftest.
$ac_objext conftest
$ac_exeext
19244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19245 (eval $ac_link) 2>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } &&
19249 { ac_try
='test -s conftest$ac_exeext'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; }; then
19255 ac_cv_lib_tiff_TIFFError
=yes
19257 echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.
$ac_ext >&5
19260 ac_cv_lib_tiff_TIFFError
=no
19262 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19263 LIBS
=$ac_check_lib_save_LIBS
19265 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19266 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19267 if test $ac_cv_lib_tiff_TIFFError = yes; then
19268 TIFF_LINK
=" -ltiff"
19277 if test "x$TIFF_LINK" = "x" ; then
19278 if test "$wxUSE_LIBTIFF" = "sys" ; then
19279 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19280 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19281 { (exit 1); exit 1; }; }
19283 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19284 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19285 wxUSE_LIBTIFF
=builtin
19292 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19293 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19298 if test "$wxUSE_EXPAT" != "no"; then
19300 cat >>confdefs.h
<<\_ACEOF
19301 #define wxUSE_EXPAT 1
19304 cat >>confdefs.h
<<\_ACEOF
19305 #define wxUSE_XML 1
19309 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19310 if test "${ac_cv_header_expat_h+set}" = set; then
19311 echo "$as_me:$LINENO: checking for expat.h" >&5
19312 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19313 if test "${ac_cv_header_expat_h+set}" = set; then
19314 echo $ECHO_N "(cached) $ECHO_C" >&6
19316 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19317 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19319 # Is the header compilable?
19320 echo "$as_me:$LINENO: checking expat.h usability" >&5
19321 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19322 cat >conftest.
$ac_ext <<_ACEOF
19323 #line $LINENO "configure"
19326 cat confdefs.h
>>conftest.
$ac_ext
19327 cat >>conftest.
$ac_ext <<_ACEOF
19328 /* end confdefs.h. */
19329 $ac_includes_default
19332 rm -f conftest.
$ac_objext
19333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19334 (eval $ac_compile) 2>&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); } &&
19338 { ac_try
='test -s conftest.$ac_objext'
19339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19340 (eval $ac_try) 2>&5
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); }; }; then
19344 ac_header_compiler
=yes
19346 echo "$as_me: failed program was:" >&5
19347 sed 's/^/| /' conftest.
$ac_ext >&5
19349 ac_header_compiler
=no
19351 rm -f conftest.
$ac_objext conftest.
$ac_ext
19352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19353 echo "${ECHO_T}$ac_header_compiler" >&6
19355 # Is the header present?
19356 echo "$as_me:$LINENO: checking expat.h presence" >&5
19357 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19358 cat >conftest.
$ac_ext <<_ACEOF
19359 #line $LINENO "configure"
19362 cat confdefs.h
>>conftest.
$ac_ext
19363 cat >>conftest.
$ac_ext <<_ACEOF
19364 /* end confdefs.h. */
19367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19368 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19370 grep -v '^ *+' conftest.er1
>conftest.err
19372 cat conftest.err
>&5
19373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374 (exit $ac_status); } >/dev
/null
; then
19375 if test -s conftest.err
; then
19376 ac_cpp_err
=$ac_c_preproc_warn_flag
19383 if test -z "$ac_cpp_err"; then
19384 ac_header_preproc
=yes
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.
$ac_ext >&5
19389 ac_header_preproc
=no
19391 rm -f conftest.err conftest.
$ac_ext
19392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19393 echo "${ECHO_T}$ac_header_preproc" >&6
19395 # So? What about this header?
19396 case $ac_header_compiler:$ac_header_preproc in
19398 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19399 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19400 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19401 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19404 ## ------------------------------------ ##
19405 ## Report this to bug-autoconf@gnu.org. ##
19406 ## ------------------------------------ ##
19409 sed "s/^/$as_me: WARNING: /" >&2
19412 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19413 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19414 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19415 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19416 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19417 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19420 ## ------------------------------------ ##
19421 ## Report this to bug-autoconf@gnu.org. ##
19422 ## ------------------------------------ ##
19425 sed "s/^/$as_me: WARNING: /" >&2
19428 echo "$as_me:$LINENO: checking for expat.h" >&5
19429 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19430 if test "${ac_cv_header_expat_h+set}" = set; then
19431 echo $ECHO_N "(cached) $ECHO_C" >&6
19433 ac_cv_header_expat_h
=$ac_header_preproc
19435 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19436 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19439 if test $ac_cv_header_expat_h = yes; then
19444 if test "x$found_expat_h" = "x1"; then
19445 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19446 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19447 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19448 echo $ECHO_N "(cached) $ECHO_C" >&6
19454 ac_cpp
='$CXXCPP $CPPFLAGS'
19455 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19456 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19457 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19459 cat >conftest.
$ac_ext <<_ACEOF
19460 #line $LINENO "configure"
19463 cat confdefs.h
>>conftest.
$ac_ext
19464 cat >>conftest.
$ac_ext <<_ACEOF
19465 /* end confdefs.h. */
19475 rm -f conftest.
$ac_objext
19476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19477 (eval $ac_compile) 2>&5
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); } &&
19481 { ac_try
='test -s conftest.$ac_objext'
19482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19483 (eval $ac_try) 2>&5
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); }; }; then
19487 wx_cv_expat_is_not_broken
=yes
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.
$ac_ext >&5
19492 wx_cv_expat_is_not_broken
=no
19495 rm -f conftest.
$ac_objext conftest.
$ac_ext
19497 ac_cpp
='$CPP $CPPFLAGS'
19498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19505 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19506 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19507 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19508 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19509 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19510 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19511 echo $ECHO_N "(cached) $ECHO_C" >&6
19513 ac_check_lib_save_LIBS
=$LIBS
19514 LIBS
="-lexpat $LIBS"
19515 cat >conftest.
$ac_ext <<_ACEOF
19516 #line $LINENO "configure"
19519 cat confdefs.h
>>conftest.
$ac_ext
19520 cat >>conftest.
$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19523 /* Override any gcc2 internal prototype to avoid an error. */
19527 /* We use char because int might match the return type of a gcc2
19528 builtin and then its argument prototype would still apply. */
19529 char XML_ParserCreate ();
19533 XML_ParserCreate ();
19538 rm -f conftest.
$ac_objext conftest
$ac_exeext
19539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19540 (eval $ac_link) 2>&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); } &&
19544 { ac_try
='test -s conftest$ac_exeext'
19545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19546 (eval $ac_try) 2>&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); }; }; then
19550 ac_cv_lib_expat_XML_ParserCreate
=yes
19552 echo "$as_me: failed program was:" >&5
19553 sed 's/^/| /' conftest.
$ac_ext >&5
19555 ac_cv_lib_expat_XML_ParserCreate
=no
19557 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19558 LIBS
=$ac_check_lib_save_LIBS
19560 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19561 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19562 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19563 EXPAT_LINK
=" -lexpat"
19568 if test "x$EXPAT_LINK" = "x" ; then
19569 if test "$wxUSE_EXPAT" = "sys" ; then
19570 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19571 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19572 { (exit 1); exit 1; }; }
19574 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19575 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19576 wxUSE_EXPAT
=builtin
19582 if test "$wxUSE_EXPAT" = "builtin" ; then
19585 subdirs
="$subdirs src/expat"
19592 if test "$wxUSE_LIBMSPACK" != "no"; then
19594 if test "${ac_cv_header_mspack_h+set}" = set; then
19595 echo "$as_me:$LINENO: checking for mspack.h" >&5
19596 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19597 if test "${ac_cv_header_mspack_h+set}" = set; then
19598 echo $ECHO_N "(cached) $ECHO_C" >&6
19600 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19601 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19603 # Is the header compilable?
19604 echo "$as_me:$LINENO: checking mspack.h usability" >&5
19605 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
19606 cat >conftest.
$ac_ext <<_ACEOF
19607 #line $LINENO "configure"
19610 cat confdefs.h
>>conftest.
$ac_ext
19611 cat >>conftest.
$ac_ext <<_ACEOF
19612 /* end confdefs.h. */
19613 $ac_includes_default
19614 #include <mspack.h>
19616 rm -f conftest.
$ac_objext
19617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19618 (eval $ac_compile) 2>&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } &&
19622 { ac_try
='test -s conftest.$ac_objext'
19623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; }; then
19628 ac_header_compiler
=yes
19630 echo "$as_me: failed program was:" >&5
19631 sed 's/^/| /' conftest.
$ac_ext >&5
19633 ac_header_compiler
=no
19635 rm -f conftest.
$ac_objext conftest.
$ac_ext
19636 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19637 echo "${ECHO_T}$ac_header_compiler" >&6
19639 # Is the header present?
19640 echo "$as_me:$LINENO: checking mspack.h presence" >&5
19641 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
19642 cat >conftest.
$ac_ext <<_ACEOF
19643 #line $LINENO "configure"
19646 cat confdefs.h
>>conftest.
$ac_ext
19647 cat >>conftest.
$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 #include <mspack.h>
19651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19652 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19654 grep -v '^ *+' conftest.er1
>conftest.err
19656 cat conftest.err
>&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); } >/dev
/null
; then
19659 if test -s conftest.err
; then
19660 ac_cpp_err
=$ac_c_preproc_warn_flag
19667 if test -z "$ac_cpp_err"; then
19668 ac_header_preproc
=yes
19670 echo "$as_me: failed program was:" >&5
19671 sed 's/^/| /' conftest.
$ac_ext >&5
19673 ac_header_preproc
=no
19675 rm -f conftest.err conftest.
$ac_ext
19676 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19677 echo "${ECHO_T}$ac_header_preproc" >&6
19679 # So? What about this header?
19680 case $ac_header_compiler:$ac_header_preproc in
19682 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
19683 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19684 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19685 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19688 ## ------------------------------------ ##
19689 ## Report this to bug-autoconf@gnu.org. ##
19690 ## ------------------------------------ ##
19693 sed "s/^/$as_me: WARNING: /" >&2
19696 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
19697 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
19698 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
19699 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
19700 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19701 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19704 ## ------------------------------------ ##
19705 ## Report this to bug-autoconf@gnu.org. ##
19706 ## ------------------------------------ ##
19709 sed "s/^/$as_me: WARNING: /" >&2
19712 echo "$as_me:$LINENO: checking for mspack.h" >&5
19713 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19714 if test "${ac_cv_header_mspack_h+set}" = set; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19717 ac_cv_header_mspack_h
=$ac_header_preproc
19719 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19720 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19723 if test $ac_cv_header_mspack_h = yes; then
19728 if test "x$found_mspack_h" = "x1"; then
19729 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
19730 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
19731 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
19732 echo $ECHO_N "(cached) $ECHO_C" >&6
19734 ac_check_lib_save_LIBS
=$LIBS
19735 LIBS
="-lmspack $LIBS"
19736 cat >conftest.
$ac_ext <<_ACEOF
19737 #line $LINENO "configure"
19740 cat confdefs.h
>>conftest.
$ac_ext
19741 cat >>conftest.
$ac_ext <<_ACEOF
19742 /* end confdefs.h. */
19744 /* Override any gcc2 internal prototype to avoid an error. */
19748 /* We use char because int might match the return type of a gcc2
19749 builtin and then its argument prototype would still apply. */
19750 char mspack_create_chm_decompressor ();
19754 mspack_create_chm_decompressor ();
19759 rm -f conftest.
$ac_objext conftest
$ac_exeext
19760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19761 (eval $ac_link) 2>&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } &&
19765 { ac_try
='test -s conftest$ac_exeext'
19766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19767 (eval $ac_try) 2>&5
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); }; }; then
19771 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
19773 echo "$as_me: failed program was:" >&5
19774 sed 's/^/| /' conftest.
$ac_ext >&5
19776 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
19778 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19779 LIBS
=$ac_check_lib_save_LIBS
19781 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
19782 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
19783 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
19784 MSPACK_LINK
=" -lmspack"
19788 if test "x$MSPACK_LINK" = "x" ; then
19791 cat >>confdefs.h
<<\_ACEOF
19792 #define wxUSE_LIBMSPACK 1
19807 if test "$USE_WIN32" = 1 ; then
19809 for ac_header
in w32api.h
19811 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19813 echo "$as_me:$LINENO: checking for $ac_header" >&5
19814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19816 echo $ECHO_N "(cached) $ECHO_C" >&6
19818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19821 # Is the header compilable?
19822 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19823 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19824 cat >conftest.
$ac_ext <<_ACEOF
19825 #line $LINENO "configure"
19828 cat confdefs.h
>>conftest.
$ac_ext
19829 cat >>conftest.
$ac_ext <<_ACEOF
19830 /* end confdefs.h. */
19831 $ac_includes_default
19832 #include <$ac_header>
19834 rm -f conftest.
$ac_objext
19835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19836 (eval $ac_compile) 2>&5
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); } &&
19840 { ac_try
='test -s conftest.$ac_objext'
19841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19842 (eval $ac_try) 2>&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); }; }; then
19846 ac_header_compiler
=yes
19848 echo "$as_me: failed program was:" >&5
19849 sed 's/^/| /' conftest.
$ac_ext >&5
19851 ac_header_compiler
=no
19853 rm -f conftest.
$ac_objext conftest.
$ac_ext
19854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19855 echo "${ECHO_T}$ac_header_compiler" >&6
19857 # Is the header present?
19858 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19860 cat >conftest.
$ac_ext <<_ACEOF
19861 #line $LINENO "configure"
19864 cat confdefs.h
>>conftest.
$ac_ext
19865 cat >>conftest.
$ac_ext <<_ACEOF
19866 /* end confdefs.h. */
19867 #include <$ac_header>
19869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19870 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19872 grep -v '^ *+' conftest.er1
>conftest.err
19874 cat conftest.err
>&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); } >/dev
/null
; then
19877 if test -s conftest.err
; then
19878 ac_cpp_err
=$ac_c_preproc_warn_flag
19885 if test -z "$ac_cpp_err"; then
19886 ac_header_preproc
=yes
19888 echo "$as_me: failed program was:" >&5
19889 sed 's/^/| /' conftest.
$ac_ext >&5
19891 ac_header_preproc
=no
19893 rm -f conftest.err conftest.
$ac_ext
19894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19895 echo "${ECHO_T}$ac_header_preproc" >&6
19897 # So? What about this header?
19898 case $ac_header_compiler:$ac_header_preproc in
19900 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19901 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19906 ## ------------------------------------ ##
19907 ## Report this to bug-autoconf@gnu.org. ##
19908 ## ------------------------------------ ##
19911 sed "s/^/$as_me: WARNING: /" >&2
19914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19922 ## ------------------------------------ ##
19923 ## Report this to bug-autoconf@gnu.org. ##
19924 ## ------------------------------------ ##
19927 sed "s/^/$as_me: WARNING: /" >&2
19930 echo "$as_me:$LINENO: checking for $ac_header" >&5
19931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19933 echo $ECHO_N "(cached) $ECHO_C" >&6
19935 eval "$as_ac_Header=$ac_header_preproc"
19937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19942 cat >>confdefs.h
<<_ACEOF
19943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19950 if test "${ac_cv_header_windows_h+set}" = set; then
19951 echo "$as_me:$LINENO: checking for windows.h" >&5
19952 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19953 if test "${ac_cv_header_windows_h+set}" = set; then
19954 echo $ECHO_N "(cached) $ECHO_C" >&6
19956 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19957 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19959 # Is the header compilable?
19960 echo "$as_me:$LINENO: checking windows.h usability" >&5
19961 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19962 cat >conftest.
$ac_ext <<_ACEOF
19963 #line $LINENO "configure"
19966 cat confdefs.h
>>conftest.
$ac_ext
19967 cat >>conftest.
$ac_ext <<_ACEOF
19968 /* end confdefs.h. */
19969 $ac_includes_default
19970 #include <windows.h>
19972 rm -f conftest.
$ac_objext
19973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19974 (eval $ac_compile) 2>&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } &&
19978 { ac_try
='test -s conftest.$ac_objext'
19979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19980 (eval $ac_try) 2>&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); }; }; then
19984 ac_header_compiler
=yes
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.
$ac_ext >&5
19989 ac_header_compiler
=no
19991 rm -f conftest.
$ac_objext conftest.
$ac_ext
19992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19993 echo "${ECHO_T}$ac_header_compiler" >&6
19995 # Is the header present?
19996 echo "$as_me:$LINENO: checking windows.h presence" >&5
19997 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19998 cat >conftest.
$ac_ext <<_ACEOF
19999 #line $LINENO "configure"
20002 cat confdefs.h
>>conftest.
$ac_ext
20003 cat >>conftest.
$ac_ext <<_ACEOF
20004 /* end confdefs.h. */
20005 #include <windows.h>
20007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20008 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20010 grep -v '^ *+' conftest.er1
>conftest.err
20012 cat conftest.err
>&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); } >/dev
/null
; then
20015 if test -s conftest.err
; then
20016 ac_cpp_err
=$ac_c_preproc_warn_flag
20023 if test -z "$ac_cpp_err"; then
20024 ac_header_preproc
=yes
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.
$ac_ext >&5
20029 ac_header_preproc
=no
20031 rm -f conftest.err conftest.
$ac_ext
20032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20033 echo "${ECHO_T}$ac_header_preproc" >&6
20035 # So? What about this header?
20036 case $ac_header_compiler:$ac_header_preproc in
20038 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20039 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20040 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20041 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20044 ## ------------------------------------ ##
20045 ## Report this to bug-autoconf@gnu.org. ##
20046 ## ------------------------------------ ##
20049 sed "s/^/$as_me: WARNING: /" >&2
20052 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
20053 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
20054 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
20055 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
20056 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20057 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20060 ## ------------------------------------ ##
20061 ## Report this to bug-autoconf@gnu.org. ##
20062 ## ------------------------------------ ##
20065 sed "s/^/$as_me: WARNING: /" >&2
20068 echo "$as_me:$LINENO: checking for windows.h" >&5
20069 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20070 if test "${ac_cv_header_windows_h+set}" = set; then
20071 echo $ECHO_N "(cached) $ECHO_C" >&6
20073 ac_cv_header_windows_h
=$ac_header_preproc
20075 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20076 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20079 if test $ac_cv_header_windows_h = yes; then
20083 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20084 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20085 { (exit 1); exit 1; }; }
20091 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20093 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20094 LIBS
="$LIBS -loleacc"
20099 LIBS
="$LIBS -lkernel32 -luser32"
20100 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
20103 if test "$wxUSE_ODBC" = "sys" ; then
20106 if test "$wxUSE_ODBC" = "yes" ; then
20107 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
20108 cat >>confdefs.h
<<\_ACEOF
20109 #define wxUSE_ODBC 1
20114 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20115 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
20117 WIN32INSTALL
=win32install
20120 if test "$wxUSE_GUI" = "yes"; then
20129 if test "$wxUSE_MSW" = 1 ; then
20135 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20139 if test "$wxUSE_GTK" = 1; then
20140 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20141 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20143 gtk_version_cached
=1
20144 if test "${wx_cv_lib_gtk+set}" = set; then
20145 echo $ECHO_N "(cached) $ECHO_C" >&6
20148 gtk_version_cached
=0
20149 echo "$as_me:$LINENO: result: " >&5
20150 echo "${ECHO_T}" >&6
20153 if test "$wxUSE_THREADS" = "yes"; then
20154 GTK_MODULES
=gthread
20158 if test "x$wxUSE_GTK2" = "xyes"; then
20159 # Check whether --enable-gtktest or --disable-gtktest was given.
20160 if test "${enable_gtktest+set}" = set; then
20161 enableval
="$enable_gtktest"
20167 pkg_config_args
=gtk
+-2.0
20168 for module
in .
$GTK_MODULES
20172 pkg_config_args
="$pkg_config_args gthread-2.0"
20179 # Extract the first word of "pkg-config", so it can be a program name with args.
20180 set dummy pkg
-config; ac_word
=$2
20181 echo "$as_me:$LINENO: checking for $ac_word" >&5
20182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20183 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20184 echo $ECHO_N "(cached) $ECHO_C" >&6
20186 case $PKG_CONFIG in
20188 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20192 for as_dir
in $PATH
20195 test -z "$as_dir" && as_dir
=.
20196 for ac_exec_ext
in '' $ac_executable_extensions; do
20197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20198 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20205 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20209 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20211 if test -n "$PKG_CONFIG"; then
20212 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20213 echo "${ECHO_T}$PKG_CONFIG" >&6
20215 echo "$as_me:$LINENO: result: no" >&5
20216 echo "${ECHO_T}no" >&6
20220 if test x
$PKG_CONFIG != xno
; then
20221 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
20224 echo *** pkg
-config too old
; version
0.7 or better required.
20232 min_gtk_version
=2.0.0
20233 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20234 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20236 if test x
$PKG_CONFIG != xno
; then
20237 ## don't try to run the test against uninstalled libtool libs
20238 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20239 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20243 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20250 if test x
"$no_gtk" = x
; then
20251 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
20252 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
20253 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20254 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20255 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20256 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20257 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20259 if test "x$enable_gtktest" = "xyes" ; then
20260 ac_save_CFLAGS
="$CFLAGS"
20261 ac_save_LIBS
="$LIBS"
20262 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20263 LIBS
="$GTK_LIBS $LIBS"
20265 if test "$cross_compiling" = yes; then
20266 echo $ac_n "cross compiling; assumed OK... $ac_c"
20268 cat >conftest.
$ac_ext <<_ACEOF
20269 #line $LINENO "configure"
20272 cat confdefs.h
>>conftest.
$ac_ext
20273 cat >>conftest.
$ac_ext <<_ACEOF
20274 /* end confdefs.h. */
20276 #include <gtk/gtk.h>
20278 #include <stdlib.h>
20283 int major, minor, micro;
20286 system ("touch conf.gtktest");
20288 /* HP/UX 9 (%@#!) writes to sscanf strings */
20289 tmp_version = g_strdup("$min_gtk_version");
20290 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20291 printf("%s, bad version string\n", "$min_gtk_version");
20295 if ((gtk_major_version != $gtk_config_major_version) ||
20296 (gtk_minor_version != $gtk_config_minor_version) ||
20297 (gtk_micro_version != $gtk_config_micro_version))
20299 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20300 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20301 gtk_major_version, gtk_minor_version, gtk_micro_version);
20302 printf ("*** was found! If pkg-config was correct, then it is best\n");
20303 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20304 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20305 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20306 printf("*** required on your system.\n");
20307 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20308 printf("*** to point to the correct configuration files\n");
20310 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20311 (gtk_minor_version != GTK_MINOR_VERSION) ||
20312 (gtk_micro_version != GTK_MICRO_VERSION))
20314 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20315 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20316 printf("*** library (version %d.%d.%d)\n",
20317 gtk_major_version, gtk_minor_version, gtk_micro_version);
20321 if ((gtk_major_version > major) ||
20322 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20323 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20329 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20330 gtk_major_version, gtk_minor_version, gtk_micro_version);
20331 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20332 major, minor, micro);
20333 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20335 printf("*** If you have already installed a sufficiently new version, this error\n");
20336 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20337 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20338 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20339 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20340 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20341 printf("*** so that the correct libraries are found at run-time))\n");
20348 rm -f conftest
$ac_exeext
20349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20350 (eval $ac_link) 2>&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20355 (eval $ac_try) 2>&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); }; }; then
20361 echo "$as_me: program exited with status $ac_status" >&5
20362 echo "$as_me: failed program was:" >&5
20363 sed 's/^/| /' conftest.
$ac_ext >&5
20365 ( exit $ac_status )
20368 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20370 CFLAGS
="$ac_save_CFLAGS"
20371 LIBS
="$ac_save_LIBS"
20374 if test "x$no_gtk" = x
; then
20375 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20376 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20379 echo "$as_me:$LINENO: result: no" >&5
20380 echo "${ECHO_T}no" >&6
20381 if test "$PKG_CONFIG" = "no" ; then
20382 echo "*** A new enough version of pkg-config was not found."
20383 echo "*** See http://pkgconfig.sourceforge.net"
20385 if test -f conf.gtktest
; then
20388 echo "*** Could not run GTK+ test program, checking why..."
20389 ac_save_CFLAGS
="$CFLAGS"
20390 ac_save_LIBS
="$LIBS"
20391 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20392 LIBS
="$LIBS $GTK_LIBS"
20393 cat >conftest.
$ac_ext <<_ACEOF
20394 #line $LINENO "configure"
20397 cat confdefs.h
>>conftest.
$ac_ext
20398 cat >>conftest.
$ac_ext <<_ACEOF
20399 /* end confdefs.h. */
20401 #include <gtk/gtk.h>
20407 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20412 rm -f conftest.
$ac_objext conftest
$ac_exeext
20413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20414 (eval $ac_link) 2>&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } &&
20418 { ac_try
='test -s conftest$ac_exeext'
20419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20420 (eval $ac_try) 2>&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); }; }; then
20424 echo "*** The test program compiled, but did not run. This usually means"
20425 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20426 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20427 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20428 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20429 echo "*** is required on your system"
20431 echo "*** If you have an old version installed, it is best to remove it, although"
20432 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20434 echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.
$ac_ext >&5
20437 echo "*** The test program failed to compile or link. See the file config.log for the"
20438 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20440 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20441 CFLAGS
="$ac_save_CFLAGS"
20442 LIBS
="$ac_save_LIBS"
20455 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20456 if test "${with_gtk_prefix+set}" = set; then
20457 withval
="$with_gtk_prefix"
20458 gtk_config_prefix
="$withval"
20460 gtk_config_prefix
=""
20463 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20464 if test "${with_gtk_exec_prefix+set}" = set; then
20465 withval
="$with_gtk_exec_prefix"
20466 gtk_config_exec_prefix
="$withval"
20468 gtk_config_exec_prefix
=""
20470 # Check whether --enable-gtktest or --disable-gtktest was given.
20471 if test "${enable_gtktest+set}" = set; then
20472 enableval
="$enable_gtktest"
20478 for module
in .
$GTK_MODULES
20482 gtk_config_args
="$gtk_config_args gthread"
20487 if test x
$gtk_config_exec_prefix != x
; then
20488 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20489 if test x
${GTK_CONFIG+set} != xset
; then
20490 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20493 if test x
$gtk_config_prefix != x
; then
20494 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20495 if test x
${GTK_CONFIG+set} != xset
; then
20496 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20500 # Extract the first word of "gtk-config", so it can be a program name with args.
20501 set dummy gtk
-config; ac_word
=$2
20502 echo "$as_me:$LINENO: checking for $ac_word" >&5
20503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20504 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20505 echo $ECHO_N "(cached) $ECHO_C" >&6
20507 case $GTK_CONFIG in
20509 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20513 for as_dir
in $PATH
20516 test -z "$as_dir" && as_dir
=.
20517 for ac_exec_ext
in '' $ac_executable_extensions; do
20518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20519 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20526 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20530 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20532 if test -n "$GTK_CONFIG"; then
20533 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20534 echo "${ECHO_T}$GTK_CONFIG" >&6
20536 echo "$as_me:$LINENO: result: no" >&5
20537 echo "${ECHO_T}no" >&6
20540 min_gtk_version
=1.2.7
20541 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20542 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20544 if test "$GTK_CONFIG" = "no" ; then
20547 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20548 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20549 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20550 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20551 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20552 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20553 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20554 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20555 if test "x$enable_gtktest" = "xyes" ; then
20556 ac_save_CFLAGS
="$CFLAGS"
20557 ac_save_LIBS
="$LIBS"
20558 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20559 LIBS
="$GTK_LIBS $LIBS"
20561 if test "$cross_compiling" = yes; then
20562 echo $ac_n "cross compiling; assumed OK... $ac_c"
20564 cat >conftest.
$ac_ext <<_ACEOF
20565 #line $LINENO "configure"
20568 cat confdefs.h
>>conftest.
$ac_ext
20569 cat >>conftest.
$ac_ext <<_ACEOF
20570 /* end confdefs.h. */
20572 #include <gtk/gtk.h>
20574 #include <stdlib.h>
20579 int major, minor, micro;
20582 system ("touch conf.gtktest");
20584 /* HP/UX 9 (%@#!) writes to sscanf strings */
20585 tmp_version = g_strdup("$min_gtk_version");
20586 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20587 printf("%s, bad version string\n", "$min_gtk_version");
20591 if ((gtk_major_version != $gtk_config_major_version) ||
20592 (gtk_minor_version != $gtk_config_minor_version) ||
20593 (gtk_micro_version != $gtk_config_micro_version))
20595 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20596 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20597 gtk_major_version, gtk_minor_version, gtk_micro_version);
20598 printf ("*** was found! If gtk-config was correct, then it is best\n");
20599 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20600 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20601 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20602 printf("*** required on your system.\n");
20603 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20604 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20605 printf("*** before re-running configure\n");
20607 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20608 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20609 (gtk_minor_version != GTK_MINOR_VERSION) ||
20610 (gtk_micro_version != GTK_MICRO_VERSION))
20612 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20613 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20614 printf("*** library (version %d.%d.%d)\n",
20615 gtk_major_version, gtk_minor_version, gtk_micro_version);
20617 #endif /* defined (GTK_MAJOR_VERSION) ... */
20620 if ((gtk_major_version > major) ||
20621 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20622 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20628 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20629 gtk_major_version, gtk_minor_version, gtk_micro_version);
20630 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20631 major, minor, micro);
20632 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20634 printf("*** If you have already installed a sufficiently new version, this error\n");
20635 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20636 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20637 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20638 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20639 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20640 printf("*** so that the correct libraries are found at run-time))\n");
20647 rm -f conftest
$ac_exeext
20648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20649 (eval $ac_link) 2>&5
20651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20652 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654 (eval $ac_try) 2>&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; }; then
20660 echo "$as_me: program exited with status $ac_status" >&5
20661 echo "$as_me: failed program was:" >&5
20662 sed 's/^/| /' conftest.
$ac_ext >&5
20664 ( exit $ac_status )
20667 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20669 CFLAGS
="$ac_save_CFLAGS"
20670 LIBS
="$ac_save_LIBS"
20673 if test "x$no_gtk" = x
; then
20674 echo "$as_me:$LINENO: result: yes" >&5
20675 echo "${ECHO_T}yes" >&6
20676 wx_cv_lib_gtk
=1.2.7
20678 echo "$as_me:$LINENO: result: no" >&5
20679 echo "${ECHO_T}no" >&6
20680 if test "$GTK_CONFIG" = "no" ; then
20681 echo "*** The gtk-config script installed by GTK could not be found"
20682 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20683 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20684 echo "*** full path to gtk-config."
20686 if test -f conf.gtktest
; then
20689 echo "*** Could not run GTK test program, checking why..."
20690 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20691 LIBS
="$LIBS $GTK_LIBS"
20692 cat >conftest.
$ac_ext <<_ACEOF
20693 #line $LINENO "configure"
20696 cat confdefs.h
>>conftest.
$ac_ext
20697 cat >>conftest.
$ac_ext <<_ACEOF
20698 /* end confdefs.h. */
20700 #include <gtk/gtk.h>
20706 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20711 rm -f conftest.
$ac_objext conftest
$ac_exeext
20712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20713 (eval $ac_link) 2>&5
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); } &&
20717 { ac_try
='test -s conftest$ac_exeext'
20718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20719 (eval $ac_try) 2>&5
20721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20722 (exit $ac_status); }; }; then
20723 echo "*** The test program compiled, but did not run. This usually means"
20724 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20725 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20726 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20727 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20728 echo "*** is required on your system"
20730 echo "*** If you have an old version installed, it is best to remove it, although"
20731 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20733 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20734 echo "*** came with the system with the command"
20736 echo "*** rpm --erase --nodeps gtk gtk-devel"
20738 echo "$as_me: failed program was:" >&5
20739 sed 's/^/| /' conftest.
$ac_ext >&5
20741 echo "*** The test program failed to compile or link. See the file config.log for the"
20742 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20743 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20744 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20746 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20747 CFLAGS
="$ac_save_CFLAGS"
20748 LIBS
="$ac_save_LIBS"
20760 if test -z "$wx_cv_lib_gtk"; then
20762 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20763 if test "${with_gtk_prefix+set}" = set; then
20764 withval
="$with_gtk_prefix"
20765 gtk_config_prefix
="$withval"
20767 gtk_config_prefix
=""
20770 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20771 if test "${with_gtk_exec_prefix+set}" = set; then
20772 withval
="$with_gtk_exec_prefix"
20773 gtk_config_exec_prefix
="$withval"
20775 gtk_config_exec_prefix
=""
20777 # Check whether --enable-gtktest or --disable-gtktest was given.
20778 if test "${enable_gtktest+set}" = set; then
20779 enableval
="$enable_gtktest"
20785 for module
in .
$GTK_MODULES
20789 gtk_config_args
="$gtk_config_args gthread"
20794 if test x
$gtk_config_exec_prefix != x
; then
20795 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20796 if test x
${GTK_CONFIG+set} != xset
; then
20797 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20800 if test x
$gtk_config_prefix != x
; then
20801 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20802 if test x
${GTK_CONFIG+set} != xset
; then
20803 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20807 # Extract the first word of "gtk-config", so it can be a program name with args.
20808 set dummy gtk
-config; ac_word
=$2
20809 echo "$as_me:$LINENO: checking for $ac_word" >&5
20810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20811 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20812 echo $ECHO_N "(cached) $ECHO_C" >&6
20814 case $GTK_CONFIG in
20816 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20820 for as_dir
in $PATH
20823 test -z "$as_dir" && as_dir
=.
20824 for ac_exec_ext
in '' $ac_executable_extensions; do
20825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20826 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20833 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20837 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20839 if test -n "$GTK_CONFIG"; then
20840 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20841 echo "${ECHO_T}$GTK_CONFIG" >&6
20843 echo "$as_me:$LINENO: result: no" >&5
20844 echo "${ECHO_T}no" >&6
20847 min_gtk_version
=1.2.3
20848 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20849 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20851 if test "$GTK_CONFIG" = "no" ; then
20854 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20855 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20856 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20857 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20858 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20859 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20860 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20861 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20862 if test "x$enable_gtktest" = "xyes" ; then
20863 ac_save_CFLAGS
="$CFLAGS"
20864 ac_save_LIBS
="$LIBS"
20865 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20866 LIBS
="$GTK_LIBS $LIBS"
20868 if test "$cross_compiling" = yes; then
20869 echo $ac_n "cross compiling; assumed OK... $ac_c"
20871 cat >conftest.
$ac_ext <<_ACEOF
20872 #line $LINENO "configure"
20875 cat confdefs.h
>>conftest.
$ac_ext
20876 cat >>conftest.
$ac_ext <<_ACEOF
20877 /* end confdefs.h. */
20879 #include <gtk/gtk.h>
20881 #include <stdlib.h>
20886 int major, minor, micro;
20889 system ("touch conf.gtktest");
20891 /* HP/UX 9 (%@#!) writes to sscanf strings */
20892 tmp_version = g_strdup("$min_gtk_version");
20893 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20894 printf("%s, bad version string\n", "$min_gtk_version");
20898 if ((gtk_major_version != $gtk_config_major_version) ||
20899 (gtk_minor_version != $gtk_config_minor_version) ||
20900 (gtk_micro_version != $gtk_config_micro_version))
20902 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20903 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20904 gtk_major_version, gtk_minor_version, gtk_micro_version);
20905 printf ("*** was found! If gtk-config was correct, then it is best\n");
20906 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20907 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20908 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20909 printf("*** required on your system.\n");
20910 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20911 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20912 printf("*** before re-running configure\n");
20914 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20915 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20916 (gtk_minor_version != GTK_MINOR_VERSION) ||
20917 (gtk_micro_version != GTK_MICRO_VERSION))
20919 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20920 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20921 printf("*** library (version %d.%d.%d)\n",
20922 gtk_major_version, gtk_minor_version, gtk_micro_version);
20924 #endif /* defined (GTK_MAJOR_VERSION) ... */
20927 if ((gtk_major_version > major) ||
20928 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20929 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20935 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20936 gtk_major_version, gtk_minor_version, gtk_micro_version);
20937 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20938 major, minor, micro);
20939 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20941 printf("*** If you have already installed a sufficiently new version, this error\n");
20942 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20943 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20944 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20945 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20946 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20947 printf("*** so that the correct libraries are found at run-time))\n");
20954 rm -f conftest
$ac_exeext
20955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20956 (eval $ac_link) 2>&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20961 (eval $ac_try) 2>&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); }; }; then
20967 echo "$as_me: program exited with status $ac_status" >&5
20968 echo "$as_me: failed program was:" >&5
20969 sed 's/^/| /' conftest.
$ac_ext >&5
20971 ( exit $ac_status )
20974 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20976 CFLAGS
="$ac_save_CFLAGS"
20977 LIBS
="$ac_save_LIBS"
20980 if test "x$no_gtk" = x
; then
20981 echo "$as_me:$LINENO: result: yes" >&5
20982 echo "${ECHO_T}yes" >&6
20983 wx_cv_lib_gtk
=1.2.3
20985 echo "$as_me:$LINENO: result: no" >&5
20986 echo "${ECHO_T}no" >&6
20987 if test "$GTK_CONFIG" = "no" ; then
20988 echo "*** The gtk-config script installed by GTK could not be found"
20989 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20990 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20991 echo "*** full path to gtk-config."
20993 if test -f conf.gtktest
; then
20996 echo "*** Could not run GTK test program, checking why..."
20997 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20998 LIBS
="$LIBS $GTK_LIBS"
20999 cat >conftest.
$ac_ext <<_ACEOF
21000 #line $LINENO "configure"
21003 cat confdefs.h
>>conftest.
$ac_ext
21004 cat >>conftest.
$ac_ext <<_ACEOF
21005 /* end confdefs.h. */
21007 #include <gtk/gtk.h>
21013 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21018 rm -f conftest.
$ac_objext conftest
$ac_exeext
21019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21020 (eval $ac_link) 2>&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } &&
21024 { ac_try
='test -s conftest$ac_exeext'
21025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21026 (eval $ac_try) 2>&5
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); }; }; then
21030 echo "*** The test program compiled, but did not run. This usually means"
21031 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21032 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21033 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21034 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21035 echo "*** is required on your system"
21037 echo "*** If you have an old version installed, it is best to remove it, although"
21038 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21040 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21041 echo "*** came with the system with the command"
21043 echo "*** rpm --erase --nodeps gtk gtk-devel"
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.
$ac_ext >&5
21048 echo "*** The test program failed to compile or link. See the file config.log for the"
21049 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21050 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21051 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21053 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21054 CFLAGS
="$ac_save_CFLAGS"
21055 LIBS
="$ac_save_LIBS"
21069 if test -z "$wx_cv_lib_gtk"; then
21072 wx_cv_cflags_gtk
=$GTK_CFLAGS
21073 wx_cv_libs_gtk
=$GTK_LIBS
21080 if test "$gtk_version_cached" = 1; then
21081 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21082 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21085 case "$wx_cv_lib_gtk" in
21094 *) { { echo "$as_me:$LINENO: error:
21095 Please check that gtk-config is in path, the directory
21096 where GTK+ libraries are installed (returned by
21097 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21098 equivalent variable and GTK+ is version 1.2.3 or above.
21100 echo "$as_me: error:
21101 Please check that gtk-config is in path, the directory
21102 where GTK+ libraries are installed (returned by
21103 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21104 equivalent variable and GTK+ is version 1.2.3 or above.
21106 { (exit 1); exit 1; }; }
21110 if test "$WXGTK20" = 1; then
21111 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21115 if test -z "$PKG_CONFIG"; then
21116 # Extract the first word of "pkg-config", so it can be a program name with args.
21117 set dummy pkg
-config; ac_word
=$2
21118 echo "$as_me:$LINENO: checking for $ac_word" >&5
21119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21120 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21121 echo $ECHO_N "(cached) $ECHO_C" >&6
21123 case $PKG_CONFIG in
21125 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21129 for as_dir
in $PATH
21132 test -z "$as_dir" && as_dir
=.
21133 for ac_exec_ext
in '' $ac_executable_extensions; do
21134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21135 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21142 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21146 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21148 if test -n "$PKG_CONFIG"; then
21149 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21150 echo "${ECHO_T}$PKG_CONFIG" >&6
21152 echo "$as_me:$LINENO: result: no" >&5
21153 echo "${ECHO_T}no" >&6
21158 if test "$PKG_CONFIG" = "no" ; then
21159 echo "*** The pkg-config script could not be found. Make sure it is"
21160 echo "*** in your path, or set the PKG_CONFIG environment variable"
21161 echo "*** to the full path to pkg-config."
21162 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21164 PKG_CONFIG_MIN_VERSION
=0.9.0
21165 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21166 echo "$as_me:$LINENO: checking for pangoft2" >&5
21167 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21169 if $PKG_CONFIG --exists "pangoft2" ; then
21170 echo "$as_me:$LINENO: result: yes" >&5
21171 echo "${ECHO_T}yes" >&6
21174 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21175 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21176 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
21177 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21178 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21180 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21181 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21182 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
21183 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21184 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21188 ## If we have a custom action on failure, don't print errors, but
21189 ## do set a variable so people can do so.
21190 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21197 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21198 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21202 if test $succeeded = yes; then
21204 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
21205 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21209 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21210 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21211 wxUSE_PRINTING_ARCHITECTURE
="no"
21218 if test "$wxUSE_UNICODE" = "yes"; then
21219 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21220 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21225 if test "$USE_DARWIN" != 1; then
21227 for ac_func
in poll
21229 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21230 echo "$as_me:$LINENO: checking for $ac_func" >&5
21231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21232 if eval "test \"\${$as_ac_var+set}\" = set"; then
21233 echo $ECHO_N "(cached) $ECHO_C" >&6
21235 cat >conftest.
$ac_ext <<_ACEOF
21236 #line $LINENO "configure"
21239 cat confdefs.h
>>conftest.
$ac_ext
21240 cat >>conftest.
$ac_ext <<_ACEOF
21241 /* end confdefs.h. */
21242 /* System header to define __stub macros and hopefully few prototypes,
21243 which can conflict with char $ac_func (); below.
21244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21245 <limits.h> exists even on freestanding compilers. */
21247 # include <limits.h>
21249 # include <assert.h>
21251 /* Override any gcc2 internal prototype to avoid an error. */
21256 /* We use char because int might match the return type of a gcc2
21257 builtin and then its argument prototype would still apply. */
21259 /* The GNU C library defines this for functions which it implements
21260 to always fail with ENOSYS. Some functions are actually named
21261 something starting with __ and the normal name is an alias. */
21262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21265 char (*f) () = $ac_func;
21274 return f != $ac_func;
21279 rm -f conftest.
$ac_objext conftest
$ac_exeext
21280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21281 (eval $ac_link) 2>&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); } &&
21285 { ac_try
='test -s conftest$ac_exeext'
21286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287 (eval $ac_try) 2>&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); }; }; then
21291 eval "$as_ac_var=yes"
21293 echo "$as_me: failed program was:" >&5
21294 sed 's/^/| /' conftest.
$ac_ext >&5
21296 eval "$as_ac_var=no"
21298 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21302 if test `eval echo '${'$as_ac_var'}'` = yes; then
21303 cat >>confdefs.h
<<_ACEOF
21304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21312 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
21313 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21315 AFMINSTALL
=afminstall
21319 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21320 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21321 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21322 echo $ECHO_N "(cached) $ECHO_C" >&6
21324 ac_check_lib_save_LIBS
=$LIBS
21326 cat >conftest.
$ac_ext <<_ACEOF
21327 #line $LINENO "configure"
21330 cat confdefs.h
>>conftest.
$ac_ext
21331 cat >>conftest.
$ac_ext <<_ACEOF
21332 /* end confdefs.h. */
21334 /* Override any gcc2 internal prototype to avoid an error. */
21338 /* We use char because int might match the return type of a gcc2
21339 builtin and then its argument prototype would still apply. */
21340 char gdk_im_open ();
21349 rm -f conftest.
$ac_objext conftest
$ac_exeext
21350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21351 (eval $ac_link) 2>&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } &&
21355 { ac_try
='test -s conftest$ac_exeext'
21356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21357 (eval $ac_try) 2>&5
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); }; }; then
21361 ac_cv_lib_gdk_gdk_im_open
=yes
21363 echo "$as_me: failed program was:" >&5
21364 sed 's/^/| /' conftest.
$ac_ext >&5
21366 ac_cv_lib_gdk_gdk_im_open
=no
21368 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21369 LIBS
=$ac_check_lib_save_LIBS
21371 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21372 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21373 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21374 cat >>confdefs.h
<<\_ACEOF
21382 if test "$wxUSE_MGL" = 1; then
21383 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21384 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21385 if test "x$MGL_ROOT" = x
; then
21386 echo "$as_me:$LINENO: result: not found" >&5
21387 echo "${ECHO_T}not found" >&6
21388 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21389 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21390 { (exit 1); exit 1; }; }
21392 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21393 echo "${ECHO_T}$MGL_ROOT" >&6
21396 echo "$as_me:$LINENO: checking for libmgl location" >&5
21397 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21400 if test "x$wxUSE_SHARED" = xyes
; then
21401 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21403 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21407 mgl_os_candidates
="dos32/dj2"
21410 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21411 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21412 { (exit 1); exit 1; }; }
21418 for mgl_os_i
in $mgl_os_candidates ; do
21419 if test "x$mgl_os" = x
; then
21420 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21421 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
21422 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
21427 if test "x$mgl_lib_type" = x
; then
21428 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
21429 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
21430 mgl_lib_type
=release
21437 if test "x$mgl_os" = x
; then
21438 echo "$as_me:$LINENO: result: not found" >&5
21439 echo "${ECHO_T}not found" >&6
21440 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21441 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21442 { (exit 1); exit 1; }; }
21444 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21445 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21447 wxUSE_UNIVERSAL
="yes"
21449 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21450 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21452 AFMINSTALL
=afminstall
21457 if test "$wxUSE_MICROWIN" = 1; then
21458 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21459 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21460 if test "x$MICROWINDOWS" = x
; then
21461 echo "$as_me:$LINENO: result: not found" >&5
21462 echo "${ECHO_T}not found" >&6
21463 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21464 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21465 { (exit 1); exit 1; }; }
21467 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21468 echo "${ECHO_T}$MICROWINDOWS" >&6
21471 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21472 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21473 echo "${ECHO_T}MicroWindows' libraries found." >&6
21475 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21476 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21477 { (exit 1); exit 1; }; }
21480 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21481 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21483 wxUSE_UNIVERSAL
="yes"
21485 AFMINSTALL
=afminstall
21487 GUIDIST
=MICROWIN_DIST
21489 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21492 if test "$wxUSE_X11" = 1; then
21493 echo "$as_me:$LINENO: checking for X" >&5
21494 echo $ECHO_N "checking for X... $ECHO_C" >&6
21497 # Check whether --with-x or --without-x was given.
21498 if test "${with_x+set}" = set; then
21502 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21503 if test "x$with_x" = xno
; then
21504 # The user explicitly disabled X.
21507 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21508 # Both variables are already set.
21511 if test "${ac_cv_have_x+set}" = set; then
21512 echo $ECHO_N "(cached) $ECHO_C" >&6
21514 # One or both of the vars are not set, and there is no cached value.
21515 ac_x_includes
=no ac_x_libraries
=no
21516 rm -fr conftest.dir
21517 if mkdir conftest.dir
; then
21519 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21520 cat >Imakefile
<<'_ACEOF'
21522 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21524 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21525 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21526 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21527 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21528 for ac_extension
in a so sl
; do
21529 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21530 test -f $ac_im_libdir/libX11.
$ac_extension; then
21531 ac_im_usrlibdir
=$ac_im_libdir; break
21534 # Screen out bogus values from the imake configuration. They are
21535 # bogus both because they are the default anyway, and because
21536 # using them would break gcc on systems where it needs fixed includes.
21537 case $ac_im_incroot in
21539 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21541 case $ac_im_usrlibdir in
21542 /usr
/lib
| /lib
) ;;
21543 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21547 rm -fr conftest.dir
21550 # Standard set of common directories for X headers.
21551 # Check X11 before X11Rn because it is often a symlink to the current release.
21563 /usr/local/X11/include
21564 /usr/local/X11R6/include
21565 /usr/local/X11R5/include
21566 /usr/local/X11R4/include
21568 /usr/local/include/X11
21569 /usr/local/include/X11R6
21570 /usr/local/include/X11R5
21571 /usr/local/include/X11R4
21575 /usr/XFree86/include/X11
21579 /usr/unsupported/include
21580 /usr/athena/include
21581 /usr/local/x11r5/include
21582 /usr/lpp/Xamples/include
21584 /usr/openwin/include
21585 /usr/openwin/share/include'
21587 if test "$ac_x_includes" = no
; then
21588 # Guess where to find include files, by looking for Intrinsic.h.
21589 # First, try using that file with no special directory specified.
21590 cat >conftest.
$ac_ext <<_ACEOF
21591 #line $LINENO "configure"
21594 cat confdefs.h
>>conftest.
$ac_ext
21595 cat >>conftest.
$ac_ext <<_ACEOF
21596 /* end confdefs.h. */
21597 #include <X11/Intrinsic.h>
21599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21600 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21602 grep -v '^ *+' conftest.er1
>conftest.err
21604 cat conftest.err
>&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); } >/dev
/null
; then
21607 if test -s conftest.err
; then
21608 ac_cpp_err
=$ac_c_preproc_warn_flag
21615 if test -z "$ac_cpp_err"; then
21616 # We can compile using X headers with no special include directory.
21619 echo "$as_me: failed program was:" >&5
21620 sed 's/^/| /' conftest.
$ac_ext >&5
21622 for ac_dir
in $ac_x_header_dirs; do
21623 if test -r "$ac_dir/X11/Intrinsic.h"; then
21624 ac_x_includes
=$ac_dir
21629 rm -f conftest.err conftest.
$ac_ext
21630 fi # $ac_x_includes = no
21632 if test "$ac_x_libraries" = no
; then
21633 # Check for the libraries.
21634 # See if we find them without any special options.
21635 # Don't add to $LIBS permanently.
21638 cat >conftest.
$ac_ext <<_ACEOF
21639 #line $LINENO "configure"
21642 cat confdefs.h
>>conftest.
$ac_ext
21643 cat >>conftest.
$ac_ext <<_ACEOF
21644 /* end confdefs.h. */
21645 #include <X11/Intrinsic.h>
21654 rm -f conftest.
$ac_objext conftest
$ac_exeext
21655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21656 (eval $ac_link) 2>&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } &&
21660 { ac_try
='test -s conftest$ac_exeext'
21661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21662 (eval $ac_try) 2>&5
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); }; }; then
21667 # We can link X programs with no special library path.
21670 echo "$as_me: failed program was:" >&5
21671 sed 's/^/| /' conftest.
$ac_ext >&5
21674 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21676 # Don't even attempt the hair of trying to link an X program!
21677 for ac_extension
in a so sl
; do
21678 if test -r $ac_dir/libXt.
$ac_extension; then
21679 ac_x_libraries
=$ac_dir
21685 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21686 fi # $ac_x_libraries = no
21688 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21689 # Didn't find X anywhere. Cache the known absence of X.
21690 ac_cv_have_x
="have_x=no"
21692 # Record where we found X for the cache.
21693 ac_cv_have_x
="have_x=yes \
21694 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21699 eval "$ac_cv_have_x"
21702 if test "$have_x" != yes; then
21703 echo "$as_me:$LINENO: result: $have_x" >&5
21704 echo "${ECHO_T}$have_x" >&6
21707 # If each of the values was on the command line, it overrides each guess.
21708 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21709 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21710 # Update the cache value to reflect the command line values.
21711 ac_cv_have_x
="have_x=yes \
21712 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21713 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21714 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21717 if test "$no_x" = yes; then
21718 # Not all programs may use this symbol, but it does not hurt to define it.
21720 cat >>confdefs.h
<<\_ACEOF
21721 #define X_DISPLAY_MISSING 1
21724 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21726 if test -n "$x_includes"; then
21727 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21730 # It would also be nice to do this for all -L options, not just this one.
21731 if test -n "$x_libraries"; then
21732 X_LIBS
="$X_LIBS -L$x_libraries"
21733 # For Solaris; some versions of Sun CC require a space after -R and
21734 # others require no space. Words are not sufficient . . . .
21735 case `(uname -sr) 2>/dev/null` in
21737 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21738 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21739 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21740 cat >conftest.
$ac_ext <<_ACEOF
21741 #line $LINENO "configure"
21744 cat confdefs.h
>>conftest.
$ac_ext
21745 cat >>conftest.
$ac_ext <<_ACEOF
21746 /* end confdefs.h. */
21756 rm -f conftest.
$ac_objext conftest
$ac_exeext
21757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21758 (eval $ac_link) 2>&5
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); } &&
21762 { ac_try
='test -s conftest$ac_exeext'
21763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21764 (eval $ac_try) 2>&5
21766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767 (exit $ac_status); }; }; then
21770 echo "$as_me: failed program was:" >&5
21771 sed 's/^/| /' conftest.
$ac_ext >&5
21775 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21776 if test $ac_R_nospace = yes; then
21777 echo "$as_me:$LINENO: result: no" >&5
21778 echo "${ECHO_T}no" >&6
21779 X_LIBS
="$X_LIBS -R$x_libraries"
21781 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21782 cat >conftest.
$ac_ext <<_ACEOF
21783 #line $LINENO "configure"
21786 cat confdefs.h
>>conftest.
$ac_ext
21787 cat >>conftest.
$ac_ext <<_ACEOF
21788 /* end confdefs.h. */
21798 rm -f conftest.
$ac_objext conftest
$ac_exeext
21799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21800 (eval $ac_link) 2>&5
21802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21803 (exit $ac_status); } &&
21804 { ac_try
='test -s conftest$ac_exeext'
21805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21806 (eval $ac_try) 2>&5
21808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21809 (exit $ac_status); }; }; then
21812 echo "$as_me: failed program was:" >&5
21813 sed 's/^/| /' conftest.
$ac_ext >&5
21817 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21818 if test $ac_R_space = yes; then
21819 echo "$as_me:$LINENO: result: yes" >&5
21820 echo "${ECHO_T}yes" >&6
21821 X_LIBS
="$X_LIBS -R $x_libraries"
21823 echo "$as_me:$LINENO: result: neither works" >&5
21824 echo "${ECHO_T}neither works" >&6
21827 LIBS
=$ac_xsave_LIBS
21831 # Check for system-dependent libraries X programs must link with.
21832 # Do this before checking for the system-independent R6 libraries
21833 # (-lICE), since we may need -lsocket or whatever for X linking.
21835 if test "$ISC" = yes; then
21836 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21838 # Martyn Johnson says this is needed for Ultrix, if the X
21839 # libraries were built with DECnet support. And Karl Berry says
21840 # the Alpha needs dnet_stub (dnet does not exist).
21841 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21842 cat >conftest.
$ac_ext <<_ACEOF
21843 #line $LINENO "configure"
21846 cat confdefs.h
>>conftest.
$ac_ext
21847 cat >>conftest.
$ac_ext <<_ACEOF
21848 /* end confdefs.h. */
21850 /* Override any gcc2 internal prototype to avoid an error. */
21854 /* We use char because int might match the return type of a gcc2
21855 builtin and then its argument prototype would still apply. */
21856 char XOpenDisplay ();
21865 rm -f conftest.
$ac_objext conftest
$ac_exeext
21866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21867 (eval $ac_link) 2>&5
21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870 (exit $ac_status); } &&
21871 { ac_try
='test -s conftest$ac_exeext'
21872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21873 (eval $ac_try) 2>&5
21875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21876 (exit $ac_status); }; }; then
21879 echo "$as_me: failed program was:" >&5
21880 sed 's/^/| /' conftest.
$ac_ext >&5
21882 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21883 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21884 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21885 echo $ECHO_N "(cached) $ECHO_C" >&6
21887 ac_check_lib_save_LIBS
=$LIBS
21888 LIBS
="-ldnet $LIBS"
21889 cat >conftest.
$ac_ext <<_ACEOF
21890 #line $LINENO "configure"
21893 cat confdefs.h
>>conftest.
$ac_ext
21894 cat >>conftest.
$ac_ext <<_ACEOF
21895 /* end confdefs.h. */
21897 /* Override any gcc2 internal prototype to avoid an error. */
21901 /* We use char because int might match the return type of a gcc2
21902 builtin and then its argument prototype would still apply. */
21912 rm -f conftest.
$ac_objext conftest
$ac_exeext
21913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21914 (eval $ac_link) 2>&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); } &&
21918 { ac_try
='test -s conftest$ac_exeext'
21919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21920 (eval $ac_try) 2>&5
21922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21923 (exit $ac_status); }; }; then
21924 ac_cv_lib_dnet_dnet_ntoa
=yes
21926 echo "$as_me: failed program was:" >&5
21927 sed 's/^/| /' conftest.
$ac_ext >&5
21929 ac_cv_lib_dnet_dnet_ntoa
=no
21931 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21932 LIBS
=$ac_check_lib_save_LIBS
21934 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21935 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21936 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21937 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21940 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21941 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21942 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21943 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21944 echo $ECHO_N "(cached) $ECHO_C" >&6
21946 ac_check_lib_save_LIBS
=$LIBS
21947 LIBS
="-ldnet_stub $LIBS"
21948 cat >conftest.
$ac_ext <<_ACEOF
21949 #line $LINENO "configure"
21952 cat confdefs.h
>>conftest.
$ac_ext
21953 cat >>conftest.
$ac_ext <<_ACEOF
21954 /* end confdefs.h. */
21956 /* Override any gcc2 internal prototype to avoid an error. */
21960 /* We use char because int might match the return type of a gcc2
21961 builtin and then its argument prototype would still apply. */
21971 rm -f conftest.
$ac_objext conftest
$ac_exeext
21972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21973 (eval $ac_link) 2>&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } &&
21977 { ac_try
='test -s conftest$ac_exeext'
21978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21979 (eval $ac_try) 2>&5
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); }; }; then
21983 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21985 echo "$as_me: failed program was:" >&5
21986 sed 's/^/| /' conftest.
$ac_ext >&5
21988 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21990 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21991 LIBS
=$ac_check_lib_save_LIBS
21993 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21994 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21995 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21996 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
22001 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22002 LIBS
="$ac_xsave_LIBS"
22004 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22005 # to get the SysV transport functions.
22006 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22008 # The nsl library prevents programs from opening the X display
22009 # on Irix 5.2, according to T.E. Dickey.
22010 # The functions gethostbyname, getservbyname, and inet_addr are
22011 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22012 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22013 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22014 if test "${ac_cv_func_gethostbyname+set}" = set; then
22015 echo $ECHO_N "(cached) $ECHO_C" >&6
22017 cat >conftest.
$ac_ext <<_ACEOF
22018 #line $LINENO "configure"
22021 cat confdefs.h
>>conftest.
$ac_ext
22022 cat >>conftest.
$ac_ext <<_ACEOF
22023 /* end confdefs.h. */
22024 /* System header to define __stub macros and hopefully few prototypes,
22025 which can conflict with char gethostbyname (); below.
22026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22027 <limits.h> exists even on freestanding compilers. */
22029 # include <limits.h>
22031 # include <assert.h>
22033 /* Override any gcc2 internal prototype to avoid an error. */
22038 /* We use char because int might match the return type of a gcc2
22039 builtin and then its argument prototype would still apply. */
22040 char gethostbyname ();
22041 /* The GNU C library defines this for functions which it implements
22042 to always fail with ENOSYS. Some functions are actually named
22043 something starting with __ and the normal name is an alias. */
22044 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22047 char (*f) () = gethostbyname;
22056 return f != gethostbyname;
22061 rm -f conftest.
$ac_objext conftest
$ac_exeext
22062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22063 (eval $ac_link) 2>&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); } &&
22067 { ac_try
='test -s conftest$ac_exeext'
22068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22069 (eval $ac_try) 2>&5
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); }; }; then
22073 ac_cv_func_gethostbyname
=yes
22075 echo "$as_me: failed program was:" >&5
22076 sed 's/^/| /' conftest.
$ac_ext >&5
22078 ac_cv_func_gethostbyname
=no
22080 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22082 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22083 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22085 if test $ac_cv_func_gethostbyname = no
; then
22086 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22087 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22088 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22089 echo $ECHO_N "(cached) $ECHO_C" >&6
22091 ac_check_lib_save_LIBS
=$LIBS
22093 cat >conftest.
$ac_ext <<_ACEOF
22094 #line $LINENO "configure"
22097 cat confdefs.h
>>conftest.
$ac_ext
22098 cat >>conftest.
$ac_ext <<_ACEOF
22099 /* end confdefs.h. */
22101 /* Override any gcc2 internal prototype to avoid an error. */
22105 /* We use char because int might match the return type of a gcc2
22106 builtin and then its argument prototype would still apply. */
22107 char gethostbyname ();
22116 rm -f conftest.
$ac_objext conftest
$ac_exeext
22117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22118 (eval $ac_link) 2>&5
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); } &&
22122 { ac_try
='test -s conftest$ac_exeext'
22123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22124 (eval $ac_try) 2>&5
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; }; then
22128 ac_cv_lib_nsl_gethostbyname
=yes
22130 echo "$as_me: failed program was:" >&5
22131 sed 's/^/| /' conftest.
$ac_ext >&5
22133 ac_cv_lib_nsl_gethostbyname
=no
22135 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22136 LIBS
=$ac_check_lib_save_LIBS
22138 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22139 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22140 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22141 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
22144 if test $ac_cv_lib_nsl_gethostbyname = no
; then
22145 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22146 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22147 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22148 echo $ECHO_N "(cached) $ECHO_C" >&6
22150 ac_check_lib_save_LIBS
=$LIBS
22152 cat >conftest.
$ac_ext <<_ACEOF
22153 #line $LINENO "configure"
22156 cat confdefs.h
>>conftest.
$ac_ext
22157 cat >>conftest.
$ac_ext <<_ACEOF
22158 /* end confdefs.h. */
22160 /* Override any gcc2 internal prototype to avoid an error. */
22164 /* We use char because int might match the return type of a gcc2
22165 builtin and then its argument prototype would still apply. */
22166 char gethostbyname ();
22175 rm -f conftest.
$ac_objext conftest
$ac_exeext
22176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22177 (eval $ac_link) 2>&5
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); } &&
22181 { ac_try
='test -s conftest$ac_exeext'
22182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22183 (eval $ac_try) 2>&5
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); }; }; then
22187 ac_cv_lib_bsd_gethostbyname
=yes
22189 echo "$as_me: failed program was:" >&5
22190 sed 's/^/| /' conftest.
$ac_ext >&5
22192 ac_cv_lib_bsd_gethostbyname
=no
22194 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22195 LIBS
=$ac_check_lib_save_LIBS
22197 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22198 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22199 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22200 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
22206 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22207 # socket/setsockopt and other routines are undefined under SCO ODT
22208 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22209 # on later versions), says Simon Leinen: it contains gethostby*
22210 # variants that don't use the name server (or something). -lsocket
22211 # must be given before -lnsl if both are needed. We assume that
22212 # if connect needs -lnsl, so does gethostbyname.
22213 echo "$as_me:$LINENO: checking for connect" >&5
22214 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22215 if test "${ac_cv_func_connect+set}" = set; then
22216 echo $ECHO_N "(cached) $ECHO_C" >&6
22218 cat >conftest.
$ac_ext <<_ACEOF
22219 #line $LINENO "configure"
22222 cat confdefs.h
>>conftest.
$ac_ext
22223 cat >>conftest.
$ac_ext <<_ACEOF
22224 /* end confdefs.h. */
22225 /* System header to define __stub macros and hopefully few prototypes,
22226 which can conflict with char connect (); below.
22227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22228 <limits.h> exists even on freestanding compilers. */
22230 # include <limits.h>
22232 # include <assert.h>
22234 /* Override any gcc2 internal prototype to avoid an error. */
22239 /* We use char because int might match the return type of a gcc2
22240 builtin and then its argument prototype would still apply. */
22242 /* The GNU C library defines this for functions which it implements
22243 to always fail with ENOSYS. Some functions are actually named
22244 something starting with __ and the normal name is an alias. */
22245 #if defined (__stub_connect) || defined (__stub___connect)
22248 char (*f) () = connect;
22257 return f != connect;
22262 rm -f conftest.
$ac_objext conftest
$ac_exeext
22263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22264 (eval $ac_link) 2>&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); } &&
22268 { ac_try
='test -s conftest$ac_exeext'
22269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22270 (eval $ac_try) 2>&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); }; }; then
22274 ac_cv_func_connect
=yes
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.
$ac_ext >&5
22279 ac_cv_func_connect
=no
22281 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22283 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22284 echo "${ECHO_T}$ac_cv_func_connect" >&6
22286 if test $ac_cv_func_connect = no
; then
22287 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22288 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22289 if test "${ac_cv_lib_socket_connect+set}" = set; then
22290 echo $ECHO_N "(cached) $ECHO_C" >&6
22292 ac_check_lib_save_LIBS
=$LIBS
22293 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
22294 cat >conftest.
$ac_ext <<_ACEOF
22295 #line $LINENO "configure"
22298 cat confdefs.h
>>conftest.
$ac_ext
22299 cat >>conftest.
$ac_ext <<_ACEOF
22300 /* end confdefs.h. */
22302 /* Override any gcc2 internal prototype to avoid an error. */
22306 /* We use char because int might match the return type of a gcc2
22307 builtin and then its argument prototype would still apply. */
22317 rm -f conftest.
$ac_objext conftest
$ac_exeext
22318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22319 (eval $ac_link) 2>&5
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); } &&
22323 { ac_try
='test -s conftest$ac_exeext'
22324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325 (eval $ac_try) 2>&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); }; }; then
22329 ac_cv_lib_socket_connect
=yes
22331 echo "$as_me: failed program was:" >&5
22332 sed 's/^/| /' conftest.
$ac_ext >&5
22334 ac_cv_lib_socket_connect
=no
22336 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22337 LIBS
=$ac_check_lib_save_LIBS
22339 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22340 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22341 if test $ac_cv_lib_socket_connect = yes; then
22342 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
22347 # Guillermo Gomez says -lposix is necessary on A/UX.
22348 echo "$as_me:$LINENO: checking for remove" >&5
22349 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22350 if test "${ac_cv_func_remove+set}" = set; then
22351 echo $ECHO_N "(cached) $ECHO_C" >&6
22353 cat >conftest.
$ac_ext <<_ACEOF
22354 #line $LINENO "configure"
22357 cat confdefs.h
>>conftest.
$ac_ext
22358 cat >>conftest.
$ac_ext <<_ACEOF
22359 /* end confdefs.h. */
22360 /* System header to define __stub macros and hopefully few prototypes,
22361 which can conflict with char remove (); below.
22362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22363 <limits.h> exists even on freestanding compilers. */
22365 # include <limits.h>
22367 # include <assert.h>
22369 /* Override any gcc2 internal prototype to avoid an error. */
22374 /* We use char because int might match the return type of a gcc2
22375 builtin and then its argument prototype would still apply. */
22377 /* The GNU C library defines this for functions which it implements
22378 to always fail with ENOSYS. Some functions are actually named
22379 something starting with __ and the normal name is an alias. */
22380 #if defined (__stub_remove) || defined (__stub___remove)
22383 char (*f) () = remove;
22392 return f != remove;
22397 rm -f conftest.
$ac_objext conftest
$ac_exeext
22398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22399 (eval $ac_link) 2>&5
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); } &&
22403 { ac_try
='test -s conftest$ac_exeext'
22404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22405 (eval $ac_try) 2>&5
22407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408 (exit $ac_status); }; }; then
22409 ac_cv_func_remove
=yes
22411 echo "$as_me: failed program was:" >&5
22412 sed 's/^/| /' conftest.
$ac_ext >&5
22414 ac_cv_func_remove
=no
22416 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22418 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22419 echo "${ECHO_T}$ac_cv_func_remove" >&6
22421 if test $ac_cv_func_remove = no
; then
22422 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22423 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22424 if test "${ac_cv_lib_posix_remove+set}" = set; then
22425 echo $ECHO_N "(cached) $ECHO_C" >&6
22427 ac_check_lib_save_LIBS
=$LIBS
22428 LIBS
="-lposix $LIBS"
22429 cat >conftest.
$ac_ext <<_ACEOF
22430 #line $LINENO "configure"
22433 cat confdefs.h
>>conftest.
$ac_ext
22434 cat >>conftest.
$ac_ext <<_ACEOF
22435 /* end confdefs.h. */
22437 /* Override any gcc2 internal prototype to avoid an error. */
22441 /* We use char because int might match the return type of a gcc2
22442 builtin and then its argument prototype would still apply. */
22452 rm -f conftest.
$ac_objext conftest
$ac_exeext
22453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22454 (eval $ac_link) 2>&5
22456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457 (exit $ac_status); } &&
22458 { ac_try
='test -s conftest$ac_exeext'
22459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22460 (eval $ac_try) 2>&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); }; }; then
22464 ac_cv_lib_posix_remove
=yes
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.
$ac_ext >&5
22469 ac_cv_lib_posix_remove
=no
22471 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22472 LIBS
=$ac_check_lib_save_LIBS
22474 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22475 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22476 if test $ac_cv_lib_posix_remove = yes; then
22477 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22482 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22483 echo "$as_me:$LINENO: checking for shmat" >&5
22484 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22485 if test "${ac_cv_func_shmat+set}" = set; then
22486 echo $ECHO_N "(cached) $ECHO_C" >&6
22488 cat >conftest.
$ac_ext <<_ACEOF
22489 #line $LINENO "configure"
22492 cat confdefs.h
>>conftest.
$ac_ext
22493 cat >>conftest.
$ac_ext <<_ACEOF
22494 /* end confdefs.h. */
22495 /* System header to define __stub macros and hopefully few prototypes,
22496 which can conflict with char shmat (); below.
22497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22498 <limits.h> exists even on freestanding compilers. */
22500 # include <limits.h>
22502 # include <assert.h>
22504 /* Override any gcc2 internal prototype to avoid an error. */
22509 /* We use char because int might match the return type of a gcc2
22510 builtin and then its argument prototype would still apply. */
22512 /* The GNU C library defines this for functions which it implements
22513 to always fail with ENOSYS. Some functions are actually named
22514 something starting with __ and the normal name is an alias. */
22515 #if defined (__stub_shmat) || defined (__stub___shmat)
22518 char (*f) () = shmat;
22532 rm -f conftest.
$ac_objext conftest
$ac_exeext
22533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22534 (eval $ac_link) 2>&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); } &&
22538 { ac_try
='test -s conftest$ac_exeext'
22539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22540 (eval $ac_try) 2>&5
22542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22543 (exit $ac_status); }; }; then
22544 ac_cv_func_shmat
=yes
22546 echo "$as_me: failed program was:" >&5
22547 sed 's/^/| /' conftest.
$ac_ext >&5
22549 ac_cv_func_shmat
=no
22551 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22553 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22554 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22556 if test $ac_cv_func_shmat = no
; then
22557 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22558 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22559 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22560 echo $ECHO_N "(cached) $ECHO_C" >&6
22562 ac_check_lib_save_LIBS
=$LIBS
22564 cat >conftest.
$ac_ext <<_ACEOF
22565 #line $LINENO "configure"
22568 cat confdefs.h
>>conftest.
$ac_ext
22569 cat >>conftest.
$ac_ext <<_ACEOF
22570 /* end confdefs.h. */
22572 /* Override any gcc2 internal prototype to avoid an error. */
22576 /* We use char because int might match the return type of a gcc2
22577 builtin and then its argument prototype would still apply. */
22587 rm -f conftest.
$ac_objext conftest
$ac_exeext
22588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22589 (eval $ac_link) 2>&5
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); } &&
22593 { ac_try
='test -s conftest$ac_exeext'
22594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22595 (eval $ac_try) 2>&5
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; }; then
22599 ac_cv_lib_ipc_shmat
=yes
22601 echo "$as_me: failed program was:" >&5
22602 sed 's/^/| /' conftest.
$ac_ext >&5
22604 ac_cv_lib_ipc_shmat
=no
22606 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22607 LIBS
=$ac_check_lib_save_LIBS
22609 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22610 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22611 if test $ac_cv_lib_ipc_shmat = yes; then
22612 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22618 # Check for libraries that X11R6 Xt/Xaw programs need.
22619 ac_save_LDFLAGS
=$LDFLAGS
22620 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22621 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22622 # check for ICE first), but we must link in the order -lSM -lICE or
22623 # we get undefined symbols. So assume we have SM if we have ICE.
22624 # These have to be linked with before -lX11, unlike the other
22625 # libraries we check for below, so use a different variable.
22626 # John Interrante, Karl Berry
22627 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22628 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22629 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22630 echo $ECHO_N "(cached) $ECHO_C" >&6
22632 ac_check_lib_save_LIBS
=$LIBS
22633 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22634 cat >conftest.
$ac_ext <<_ACEOF
22635 #line $LINENO "configure"
22638 cat confdefs.h
>>conftest.
$ac_ext
22639 cat >>conftest.
$ac_ext <<_ACEOF
22640 /* end confdefs.h. */
22642 /* Override any gcc2 internal prototype to avoid an error. */
22646 /* We use char because int might match the return type of a gcc2
22647 builtin and then its argument prototype would still apply. */
22648 char IceConnectionNumber ();
22652 IceConnectionNumber ();
22657 rm -f conftest.
$ac_objext conftest
$ac_exeext
22658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22659 (eval $ac_link) 2>&5
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); } &&
22663 { ac_try
='test -s conftest$ac_exeext'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; }; then
22669 ac_cv_lib_ICE_IceConnectionNumber
=yes
22671 echo "$as_me: failed program was:" >&5
22672 sed 's/^/| /' conftest.
$ac_ext >&5
22674 ac_cv_lib_ICE_IceConnectionNumber
=no
22676 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22677 LIBS
=$ac_check_lib_save_LIBS
22679 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22680 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22681 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22682 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22685 LDFLAGS
=$ac_save_LDFLAGS
22690 if test "$no_x" = "yes"; then
22691 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22692 echo "$as_me: error: X11 not found" >&2;}
22693 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22696 GUI_TK_LIBRARY
="$X_LIBS"
22697 TOOLKIT_INCLUDE
="$X_CFLAGS"
22698 AFMINSTALL
=afminstall
22699 COMPILED_X_PROGRAM
=0
22701 if test "$wxUSE_NANOX" = "yes"; then
22702 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22703 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22704 if test "x$MICROWIN" = x
; then
22705 echo "$as_me:$LINENO: result: not found" >&5
22706 echo "${ECHO_T}not found" >&6
22707 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22708 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22709 { (exit 1); exit 1; }; }
22711 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22712 echo "${ECHO_T}$MICROWIN" >&6
22713 cat >>confdefs.h
<<\_ACEOF
22714 #define wxUSE_NANOX 1
22720 if test "$wxUSE_UNICODE" = "yes"; then
22724 if test -z "$PKG_CONFIG"; then
22725 # Extract the first word of "pkg-config", so it can be a program name with args.
22726 set dummy pkg
-config; ac_word
=$2
22727 echo "$as_me:$LINENO: checking for $ac_word" >&5
22728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22729 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22730 echo $ECHO_N "(cached) $ECHO_C" >&6
22732 case $PKG_CONFIG in
22734 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22738 for as_dir
in $PATH
22741 test -z "$as_dir" && as_dir
=.
22742 for ac_exec_ext
in '' $ac_executable_extensions; do
22743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22744 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22751 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22755 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22757 if test -n "$PKG_CONFIG"; then
22758 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22759 echo "${ECHO_T}$PKG_CONFIG" >&6
22761 echo "$as_me:$LINENO: result: no" >&5
22762 echo "${ECHO_T}no" >&6
22767 if test "$PKG_CONFIG" = "no" ; then
22768 echo "*** The pkg-config script could not be found. Make sure it is"
22769 echo "*** in your path, or set the PKG_CONFIG environment variable"
22770 echo "*** to the full path to pkg-config."
22771 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22773 PKG_CONFIG_MIN_VERSION
=0.9.0
22774 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22775 echo "$as_me:$LINENO: checking for pangox" >&5
22776 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22778 if $PKG_CONFIG --exists "pangox" ; then
22779 echo "$as_me:$LINENO: result: yes" >&5
22780 echo "${ECHO_T}yes" >&6
22783 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22784 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22785 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22786 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22787 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22789 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22790 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22791 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22792 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22793 echo "${ECHO_T}$PANGOX_LIBS" >&6
22797 ## If we have a custom action on failure, don't print errors, but
22798 ## do set a variable so people can do so.
22799 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22806 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22807 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22811 if test $succeeded = yes; then
22813 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22814 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22818 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22819 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22820 { (exit 1); exit 1; }; }
22828 if test -z "$PKG_CONFIG"; then
22829 # Extract the first word of "pkg-config", so it can be a program name with args.
22830 set dummy pkg
-config; ac_word
=$2
22831 echo "$as_me:$LINENO: checking for $ac_word" >&5
22832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22833 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22834 echo $ECHO_N "(cached) $ECHO_C" >&6
22836 case $PKG_CONFIG in
22838 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22842 for as_dir
in $PATH
22845 test -z "$as_dir" && as_dir
=.
22846 for ac_exec_ext
in '' $ac_executable_extensions; do
22847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22848 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22855 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22859 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22861 if test -n "$PKG_CONFIG"; then
22862 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22863 echo "${ECHO_T}$PKG_CONFIG" >&6
22865 echo "$as_me:$LINENO: result: no" >&5
22866 echo "${ECHO_T}no" >&6
22871 if test "$PKG_CONFIG" = "no" ; then
22872 echo "*** The pkg-config script could not be found. Make sure it is"
22873 echo "*** in your path, or set the PKG_CONFIG environment variable"
22874 echo "*** to the full path to pkg-config."
22875 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22877 PKG_CONFIG_MIN_VERSION
=0.9.0
22878 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22879 echo "$as_me:$LINENO: checking for pangoft2" >&5
22880 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22882 if $PKG_CONFIG --exists "pangoft2" ; then
22883 echo "$as_me:$LINENO: result: yes" >&5
22884 echo "${ECHO_T}yes" >&6
22887 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22888 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22889 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22890 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22891 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22893 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22894 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22895 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22896 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22897 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22901 ## If we have a custom action on failure, don't print errors, but
22902 ## do set a variable so people can do so.
22903 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22910 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22911 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22915 if test $succeeded = yes; then
22917 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22918 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22922 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22923 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22924 wxUSE_PRINTING_ARCHITECTURE
="no"
22932 if test -z "$PKG_CONFIG"; then
22933 # Extract the first word of "pkg-config", so it can be a program name with args.
22934 set dummy pkg
-config; ac_word
=$2
22935 echo "$as_me:$LINENO: checking for $ac_word" >&5
22936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22937 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22938 echo $ECHO_N "(cached) $ECHO_C" >&6
22940 case $PKG_CONFIG in
22942 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22946 for as_dir
in $PATH
22949 test -z "$as_dir" && as_dir
=.
22950 for ac_exec_ext
in '' $ac_executable_extensions; do
22951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22952 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22959 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22963 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22965 if test -n "$PKG_CONFIG"; then
22966 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22967 echo "${ECHO_T}$PKG_CONFIG" >&6
22969 echo "$as_me:$LINENO: result: no" >&5
22970 echo "${ECHO_T}no" >&6
22975 if test "$PKG_CONFIG" = "no" ; then
22976 echo "*** The pkg-config script could not be found. Make sure it is"
22977 echo "*** in your path, or set the PKG_CONFIG environment variable"
22978 echo "*** to the full path to pkg-config."
22979 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22981 PKG_CONFIG_MIN_VERSION
=0.9.0
22982 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22983 echo "$as_me:$LINENO: checking for pangoxft" >&5
22984 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22986 if $PKG_CONFIG --exists "pangoxft" ; then
22987 echo "$as_me:$LINENO: result: yes" >&5
22988 echo "${ECHO_T}yes" >&6
22991 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22992 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22993 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22994 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22995 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22997 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22998 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22999 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
23000 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23001 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23005 ## If we have a custom action on failure, don't print errors, but
23006 ## do set a variable so people can do so.
23007 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23014 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23015 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23019 if test $succeeded = yes; then
23021 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
23022 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23026 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23027 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23034 wxUSE_UNIVERSAL
="yes"
23036 if test "$wxUSE_NANOX" = "yes"; then
23037 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23038 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"
23039 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23041 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
23044 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
23049 if test "$wxUSE_MOTIF" = 1; then
23050 if test "$no_x" = yes; then
23051 # Not all programs may use this symbol, but it does not hurt to define it.
23053 cat >>confdefs.h
<<\_ACEOF
23054 #define X_DISPLAY_MISSING 1
23057 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23059 if test -n "$x_includes"; then
23060 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23063 # It would also be nice to do this for all -L options, not just this one.
23064 if test -n "$x_libraries"; then
23065 X_LIBS
="$X_LIBS -L$x_libraries"
23066 # For Solaris; some versions of Sun CC require a space after -R and
23067 # others require no space. Words are not sufficient . . . .
23068 case `(uname -sr) 2>/dev/null` in
23070 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23071 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23072 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23073 cat >conftest.
$ac_ext <<_ACEOF
23074 #line $LINENO "configure"
23077 cat confdefs.h
>>conftest.
$ac_ext
23078 cat >>conftest.
$ac_ext <<_ACEOF
23079 /* end confdefs.h. */
23089 rm -f conftest.
$ac_objext conftest
$ac_exeext
23090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23091 (eval $ac_link) 2>&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); } &&
23095 { ac_try
='test -s conftest$ac_exeext'
23096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23097 (eval $ac_try) 2>&5
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); }; }; then
23103 echo "$as_me: failed program was:" >&5
23104 sed 's/^/| /' conftest.
$ac_ext >&5
23108 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23109 if test $ac_R_nospace = yes; then
23110 echo "$as_me:$LINENO: result: no" >&5
23111 echo "${ECHO_T}no" >&6
23112 X_LIBS
="$X_LIBS -R$x_libraries"
23114 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23115 cat >conftest.
$ac_ext <<_ACEOF
23116 #line $LINENO "configure"
23119 cat confdefs.h
>>conftest.
$ac_ext
23120 cat >>conftest.
$ac_ext <<_ACEOF
23121 /* end confdefs.h. */
23131 rm -f conftest.
$ac_objext conftest
$ac_exeext
23132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23133 (eval $ac_link) 2>&5
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } &&
23137 { ac_try
='test -s conftest$ac_exeext'
23138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23139 (eval $ac_try) 2>&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); }; }; then
23145 echo "$as_me: failed program was:" >&5
23146 sed 's/^/| /' conftest.
$ac_ext >&5
23150 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23151 if test $ac_R_space = yes; then
23152 echo "$as_me:$LINENO: result: yes" >&5
23153 echo "${ECHO_T}yes" >&6
23154 X_LIBS
="$X_LIBS -R $x_libraries"
23156 echo "$as_me:$LINENO: result: neither works" >&5
23157 echo "${ECHO_T}neither works" >&6
23160 LIBS
=$ac_xsave_LIBS
23164 # Check for system-dependent libraries X programs must link with.
23165 # Do this before checking for the system-independent R6 libraries
23166 # (-lICE), since we may need -lsocket or whatever for X linking.
23168 if test "$ISC" = yes; then
23169 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23171 # Martyn Johnson says this is needed for Ultrix, if the X
23172 # libraries were built with DECnet support. And Karl Berry says
23173 # the Alpha needs dnet_stub (dnet does not exist).
23174 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23175 cat >conftest.
$ac_ext <<_ACEOF
23176 #line $LINENO "configure"
23179 cat confdefs.h
>>conftest.
$ac_ext
23180 cat >>conftest.
$ac_ext <<_ACEOF
23181 /* end confdefs.h. */
23183 /* Override any gcc2 internal prototype to avoid an error. */
23187 /* We use char because int might match the return type of a gcc2
23188 builtin and then its argument prototype would still apply. */
23189 char XOpenDisplay ();
23198 rm -f conftest.
$ac_objext conftest
$ac_exeext
23199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23200 (eval $ac_link) 2>&5
23202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203 (exit $ac_status); } &&
23204 { ac_try
='test -s conftest$ac_exeext'
23205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23206 (eval $ac_try) 2>&5
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); }; }; then
23212 echo "$as_me: failed program was:" >&5
23213 sed 's/^/| /' conftest.
$ac_ext >&5
23215 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23216 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23217 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23218 echo $ECHO_N "(cached) $ECHO_C" >&6
23220 ac_check_lib_save_LIBS
=$LIBS
23221 LIBS
="-ldnet $LIBS"
23222 cat >conftest.
$ac_ext <<_ACEOF
23223 #line $LINENO "configure"
23226 cat confdefs.h
>>conftest.
$ac_ext
23227 cat >>conftest.
$ac_ext <<_ACEOF
23228 /* end confdefs.h. */
23230 /* Override any gcc2 internal prototype to avoid an error. */
23234 /* We use char because int might match the return type of a gcc2
23235 builtin and then its argument prototype would still apply. */
23245 rm -f conftest.
$ac_objext conftest
$ac_exeext
23246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23247 (eval $ac_link) 2>&5
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); } &&
23251 { ac_try
='test -s conftest$ac_exeext'
23252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23253 (eval $ac_try) 2>&5
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); }; }; then
23257 ac_cv_lib_dnet_dnet_ntoa
=yes
23259 echo "$as_me: failed program was:" >&5
23260 sed 's/^/| /' conftest.
$ac_ext >&5
23262 ac_cv_lib_dnet_dnet_ntoa
=no
23264 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23265 LIBS
=$ac_check_lib_save_LIBS
23267 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23268 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23269 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23270 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23273 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23274 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23275 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23276 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23277 echo $ECHO_N "(cached) $ECHO_C" >&6
23279 ac_check_lib_save_LIBS
=$LIBS
23280 LIBS
="-ldnet_stub $LIBS"
23281 cat >conftest.
$ac_ext <<_ACEOF
23282 #line $LINENO "configure"
23285 cat confdefs.h
>>conftest.
$ac_ext
23286 cat >>conftest.
$ac_ext <<_ACEOF
23287 /* end confdefs.h. */
23289 /* Override any gcc2 internal prototype to avoid an error. */
23293 /* We use char because int might match the return type of a gcc2
23294 builtin and then its argument prototype would still apply. */
23304 rm -f conftest.
$ac_objext conftest
$ac_exeext
23305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23306 (eval $ac_link) 2>&5
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 (exit $ac_status); } &&
23310 { ac_try
='test -s conftest$ac_exeext'
23311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23312 (eval $ac_try) 2>&5
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); }; }; then
23316 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23318 echo "$as_me: failed program was:" >&5
23319 sed 's/^/| /' conftest.
$ac_ext >&5
23321 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23323 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23324 LIBS
=$ac_check_lib_save_LIBS
23326 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23327 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23328 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23329 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23334 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23335 LIBS
="$ac_xsave_LIBS"
23337 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23338 # to get the SysV transport functions.
23339 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23341 # The nsl library prevents programs from opening the X display
23342 # on Irix 5.2, according to T.E. Dickey.
23343 # The functions gethostbyname, getservbyname, and inet_addr are
23344 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23345 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23346 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23347 if test "${ac_cv_func_gethostbyname+set}" = set; then
23348 echo $ECHO_N "(cached) $ECHO_C" >&6
23350 cat >conftest.
$ac_ext <<_ACEOF
23351 #line $LINENO "configure"
23354 cat confdefs.h
>>conftest.
$ac_ext
23355 cat >>conftest.
$ac_ext <<_ACEOF
23356 /* end confdefs.h. */
23357 /* System header to define __stub macros and hopefully few prototypes,
23358 which can conflict with char gethostbyname (); below.
23359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23360 <limits.h> exists even on freestanding compilers. */
23362 # include <limits.h>
23364 # include <assert.h>
23366 /* Override any gcc2 internal prototype to avoid an error. */
23371 /* We use char because int might match the return type of a gcc2
23372 builtin and then its argument prototype would still apply. */
23373 char gethostbyname ();
23374 /* The GNU C library defines this for functions which it implements
23375 to always fail with ENOSYS. Some functions are actually named
23376 something starting with __ and the normal name is an alias. */
23377 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23380 char (*f) () = gethostbyname;
23389 return f != gethostbyname;
23394 rm -f conftest.
$ac_objext conftest
$ac_exeext
23395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23396 (eval $ac_link) 2>&5
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); } &&
23400 { ac_try
='test -s conftest$ac_exeext'
23401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23402 (eval $ac_try) 2>&5
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); }; }; then
23406 ac_cv_func_gethostbyname
=yes
23408 echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.
$ac_ext >&5
23411 ac_cv_func_gethostbyname
=no
23413 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23415 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23416 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23418 if test $ac_cv_func_gethostbyname = no
; then
23419 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23420 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23421 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23422 echo $ECHO_N "(cached) $ECHO_C" >&6
23424 ac_check_lib_save_LIBS
=$LIBS
23426 cat >conftest.
$ac_ext <<_ACEOF
23427 #line $LINENO "configure"
23430 cat confdefs.h
>>conftest.
$ac_ext
23431 cat >>conftest.
$ac_ext <<_ACEOF
23432 /* end confdefs.h. */
23434 /* Override any gcc2 internal prototype to avoid an error. */
23438 /* We use char because int might match the return type of a gcc2
23439 builtin and then its argument prototype would still apply. */
23440 char gethostbyname ();
23449 rm -f conftest.
$ac_objext conftest
$ac_exeext
23450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23451 (eval $ac_link) 2>&5
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); } &&
23455 { ac_try
='test -s conftest$ac_exeext'
23456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23457 (eval $ac_try) 2>&5
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); }; }; then
23461 ac_cv_lib_nsl_gethostbyname
=yes
23463 echo "$as_me: failed program was:" >&5
23464 sed 's/^/| /' conftest.
$ac_ext >&5
23466 ac_cv_lib_nsl_gethostbyname
=no
23468 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23469 LIBS
=$ac_check_lib_save_LIBS
23471 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23472 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23473 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23474 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23477 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23478 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23479 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23480 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23481 echo $ECHO_N "(cached) $ECHO_C" >&6
23483 ac_check_lib_save_LIBS
=$LIBS
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. */
23493 /* Override any gcc2 internal prototype to avoid an error. */
23497 /* We use char because int might match the return type of a gcc2
23498 builtin and then its argument prototype would still apply. */
23499 char gethostbyname ();
23508 rm -f conftest.
$ac_objext conftest
$ac_exeext
23509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23510 (eval $ac_link) 2>&5
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); } &&
23514 { ac_try
='test -s conftest$ac_exeext'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; }; then
23520 ac_cv_lib_bsd_gethostbyname
=yes
23522 echo "$as_me: failed program was:" >&5
23523 sed 's/^/| /' conftest.
$ac_ext >&5
23525 ac_cv_lib_bsd_gethostbyname
=no
23527 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23528 LIBS
=$ac_check_lib_save_LIBS
23530 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23531 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23532 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23533 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23539 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23540 # socket/setsockopt and other routines are undefined under SCO ODT
23541 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23542 # on later versions), says Simon Leinen: it contains gethostby*
23543 # variants that don't use the name server (or something). -lsocket
23544 # must be given before -lnsl if both are needed. We assume that
23545 # if connect needs -lnsl, so does gethostbyname.
23546 echo "$as_me:$LINENO: checking for connect" >&5
23547 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23548 if test "${ac_cv_func_connect+set}" = set; then
23549 echo $ECHO_N "(cached) $ECHO_C" >&6
23551 cat >conftest.
$ac_ext <<_ACEOF
23552 #line $LINENO "configure"
23555 cat confdefs.h
>>conftest.
$ac_ext
23556 cat >>conftest.
$ac_ext <<_ACEOF
23557 /* end confdefs.h. */
23558 /* System header to define __stub macros and hopefully few prototypes,
23559 which can conflict with char connect (); below.
23560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23561 <limits.h> exists even on freestanding compilers. */
23563 # include <limits.h>
23565 # include <assert.h>
23567 /* Override any gcc2 internal prototype to avoid an error. */
23572 /* We use char because int might match the return type of a gcc2
23573 builtin and then its argument prototype would still apply. */
23575 /* The GNU C library defines this for functions which it implements
23576 to always fail with ENOSYS. Some functions are actually named
23577 something starting with __ and the normal name is an alias. */
23578 #if defined (__stub_connect) || defined (__stub___connect)
23581 char (*f) () = connect;
23590 return f != connect;
23595 rm -f conftest.
$ac_objext conftest
$ac_exeext
23596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23597 (eval $ac_link) 2>&5
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); } &&
23601 { ac_try
='test -s conftest$ac_exeext'
23602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23603 (eval $ac_try) 2>&5
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); }; }; then
23607 ac_cv_func_connect
=yes
23609 echo "$as_me: failed program was:" >&5
23610 sed 's/^/| /' conftest.
$ac_ext >&5
23612 ac_cv_func_connect
=no
23614 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23616 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23617 echo "${ECHO_T}$ac_cv_func_connect" >&6
23619 if test $ac_cv_func_connect = no
; then
23620 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23621 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23622 if test "${ac_cv_lib_socket_connect+set}" = set; then
23623 echo $ECHO_N "(cached) $ECHO_C" >&6
23625 ac_check_lib_save_LIBS
=$LIBS
23626 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23627 cat >conftest.
$ac_ext <<_ACEOF
23628 #line $LINENO "configure"
23631 cat confdefs.h
>>conftest.
$ac_ext
23632 cat >>conftest.
$ac_ext <<_ACEOF
23633 /* end confdefs.h. */
23635 /* Override any gcc2 internal prototype to avoid an error. */
23639 /* We use char because int might match the return type of a gcc2
23640 builtin and then its argument prototype would still apply. */
23650 rm -f conftest.
$ac_objext conftest
$ac_exeext
23651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23652 (eval $ac_link) 2>&5
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); } &&
23656 { ac_try
='test -s conftest$ac_exeext'
23657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23658 (eval $ac_try) 2>&5
23660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23661 (exit $ac_status); }; }; then
23662 ac_cv_lib_socket_connect
=yes
23664 echo "$as_me: failed program was:" >&5
23665 sed 's/^/| /' conftest.
$ac_ext >&5
23667 ac_cv_lib_socket_connect
=no
23669 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23670 LIBS
=$ac_check_lib_save_LIBS
23672 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23673 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23674 if test $ac_cv_lib_socket_connect = yes; then
23675 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23680 # Guillermo Gomez says -lposix is necessary on A/UX.
23681 echo "$as_me:$LINENO: checking for remove" >&5
23682 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23683 if test "${ac_cv_func_remove+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23686 cat >conftest.
$ac_ext <<_ACEOF
23687 #line $LINENO "configure"
23690 cat confdefs.h
>>conftest.
$ac_ext
23691 cat >>conftest.
$ac_ext <<_ACEOF
23692 /* end confdefs.h. */
23693 /* System header to define __stub macros and hopefully few prototypes,
23694 which can conflict with char remove (); below.
23695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23696 <limits.h> exists even on freestanding compilers. */
23698 # include <limits.h>
23700 # include <assert.h>
23702 /* Override any gcc2 internal prototype to avoid an error. */
23707 /* We use char because int might match the return type of a gcc2
23708 builtin and then its argument prototype would still apply. */
23710 /* The GNU C library defines this for functions which it implements
23711 to always fail with ENOSYS. Some functions are actually named
23712 something starting with __ and the normal name is an alias. */
23713 #if defined (__stub_remove) || defined (__stub___remove)
23716 char (*f) () = remove;
23725 return f != remove;
23730 rm -f conftest.
$ac_objext conftest
$ac_exeext
23731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23732 (eval $ac_link) 2>&5
23734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23735 (exit $ac_status); } &&
23736 { ac_try
='test -s conftest$ac_exeext'
23737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23738 (eval $ac_try) 2>&5
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); }; }; then
23742 ac_cv_func_remove
=yes
23744 echo "$as_me: failed program was:" >&5
23745 sed 's/^/| /' conftest.
$ac_ext >&5
23747 ac_cv_func_remove
=no
23749 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23751 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23752 echo "${ECHO_T}$ac_cv_func_remove" >&6
23754 if test $ac_cv_func_remove = no
; then
23755 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23756 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23757 if test "${ac_cv_lib_posix_remove+set}" = set; then
23758 echo $ECHO_N "(cached) $ECHO_C" >&6
23760 ac_check_lib_save_LIBS
=$LIBS
23761 LIBS
="-lposix $LIBS"
23762 cat >conftest.
$ac_ext <<_ACEOF
23763 #line $LINENO "configure"
23766 cat confdefs.h
>>conftest.
$ac_ext
23767 cat >>conftest.
$ac_ext <<_ACEOF
23768 /* end confdefs.h. */
23770 /* Override any gcc2 internal prototype to avoid an error. */
23774 /* We use char because int might match the return type of a gcc2
23775 builtin and then its argument prototype would still apply. */
23785 rm -f conftest.
$ac_objext conftest
$ac_exeext
23786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23787 (eval $ac_link) 2>&5
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); } &&
23791 { ac_try
='test -s conftest$ac_exeext'
23792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23793 (eval $ac_try) 2>&5
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); }; }; then
23797 ac_cv_lib_posix_remove
=yes
23799 echo "$as_me: failed program was:" >&5
23800 sed 's/^/| /' conftest.
$ac_ext >&5
23802 ac_cv_lib_posix_remove
=no
23804 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23805 LIBS
=$ac_check_lib_save_LIBS
23807 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23808 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23809 if test $ac_cv_lib_posix_remove = yes; then
23810 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23815 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23816 echo "$as_me:$LINENO: checking for shmat" >&5
23817 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23818 if test "${ac_cv_func_shmat+set}" = set; then
23819 echo $ECHO_N "(cached) $ECHO_C" >&6
23821 cat >conftest.
$ac_ext <<_ACEOF
23822 #line $LINENO "configure"
23825 cat confdefs.h
>>conftest.
$ac_ext
23826 cat >>conftest.
$ac_ext <<_ACEOF
23827 /* end confdefs.h. */
23828 /* System header to define __stub macros and hopefully few prototypes,
23829 which can conflict with char shmat (); below.
23830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23831 <limits.h> exists even on freestanding compilers. */
23833 # include <limits.h>
23835 # include <assert.h>
23837 /* Override any gcc2 internal prototype to avoid an error. */
23842 /* We use char because int might match the return type of a gcc2
23843 builtin and then its argument prototype would still apply. */
23845 /* The GNU C library defines this for functions which it implements
23846 to always fail with ENOSYS. Some functions are actually named
23847 something starting with __ and the normal name is an alias. */
23848 #if defined (__stub_shmat) || defined (__stub___shmat)
23851 char (*f) () = shmat;
23865 rm -f conftest.
$ac_objext conftest
$ac_exeext
23866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23867 (eval $ac_link) 2>&5
23869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870 (exit $ac_status); } &&
23871 { ac_try
='test -s conftest$ac_exeext'
23872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23873 (eval $ac_try) 2>&5
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); }; }; then
23877 ac_cv_func_shmat
=yes
23879 echo "$as_me: failed program was:" >&5
23880 sed 's/^/| /' conftest.
$ac_ext >&5
23882 ac_cv_func_shmat
=no
23884 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23886 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23887 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23889 if test $ac_cv_func_shmat = no
; then
23890 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23891 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23892 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6
23895 ac_check_lib_save_LIBS
=$LIBS
23897 cat >conftest.
$ac_ext <<_ACEOF
23898 #line $LINENO "configure"
23901 cat confdefs.h
>>conftest.
$ac_ext
23902 cat >>conftest.
$ac_ext <<_ACEOF
23903 /* end confdefs.h. */
23905 /* Override any gcc2 internal prototype to avoid an error. */
23909 /* We use char because int might match the return type of a gcc2
23910 builtin and then its argument prototype would still apply. */
23920 rm -f conftest.
$ac_objext conftest
$ac_exeext
23921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23922 (eval $ac_link) 2>&5
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); } &&
23926 { ac_try
='test -s conftest$ac_exeext'
23927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23928 (eval $ac_try) 2>&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); }; }; then
23932 ac_cv_lib_ipc_shmat
=yes
23934 echo "$as_me: failed program was:" >&5
23935 sed 's/^/| /' conftest.
$ac_ext >&5
23937 ac_cv_lib_ipc_shmat
=no
23939 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23940 LIBS
=$ac_check_lib_save_LIBS
23942 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23943 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23944 if test $ac_cv_lib_ipc_shmat = yes; then
23945 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23951 # Check for libraries that X11R6 Xt/Xaw programs need.
23952 ac_save_LDFLAGS
=$LDFLAGS
23953 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23954 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23955 # check for ICE first), but we must link in the order -lSM -lICE or
23956 # we get undefined symbols. So assume we have SM if we have ICE.
23957 # These have to be linked with before -lX11, unlike the other
23958 # libraries we check for below, so use a different variable.
23959 # John Interrante, Karl Berry
23960 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23961 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23962 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23963 echo $ECHO_N "(cached) $ECHO_C" >&6
23965 ac_check_lib_save_LIBS
=$LIBS
23966 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23967 cat >conftest.
$ac_ext <<_ACEOF
23968 #line $LINENO "configure"
23971 cat confdefs.h
>>conftest.
$ac_ext
23972 cat >>conftest.
$ac_ext <<_ACEOF
23973 /* end confdefs.h. */
23975 /* Override any gcc2 internal prototype to avoid an error. */
23979 /* We use char because int might match the return type of a gcc2
23980 builtin and then its argument prototype would still apply. */
23981 char IceConnectionNumber ();
23985 IceConnectionNumber ();
23990 rm -f conftest.
$ac_objext conftest
$ac_exeext
23991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23992 (eval $ac_link) 2>&5
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); } &&
23996 { ac_try
='test -s conftest$ac_exeext'
23997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23998 (eval $ac_try) 2>&5
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); }; }; then
24002 ac_cv_lib_ICE_IceConnectionNumber
=yes
24004 echo "$as_me: failed program was:" >&5
24005 sed 's/^/| /' conftest.
$ac_ext >&5
24007 ac_cv_lib_ICE_IceConnectionNumber
=no
24009 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24010 LIBS
=$ac_check_lib_save_LIBS
24012 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24013 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24014 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24015 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24018 LDFLAGS
=$ac_save_LDFLAGS
24023 if test "$no_x" = "yes"; then
24024 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24025 echo "$as_me: error: X11 not found" >&2;}
24026 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24029 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
24030 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
24031 AFMINSTALL
=afminstall
24032 COMPILED_X_PROGRAM
=0
24034 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24035 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24038 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24040 if test -f "$ac_dir/Xm/Xm.h"; then
24041 ac_find_includes
=$ac_dir
24046 if test "$ac_find_includes" != "" ; then
24047 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24048 echo "${ECHO_T}found in $ac_find_includes" >&6
24050 if test "x$ac_find_includes" = "x/usr/include"; then
24051 ac_path_to_include
=""
24053 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
24055 if test $result = 0; then
24056 ac_path_to_include
=""
24058 ac_path_to_include
=" -I$ac_find_includes"
24062 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
24064 cat >conftest.
$ac_ext <<_ACEOF
24065 #line $LINENO "configure"
24068 cat confdefs.h
>>conftest.
$ac_ext
24069 cat >>conftest.
$ac_ext <<_ACEOF
24070 /* end confdefs.h. */
24079 version = xmUseVersion;
24085 rm -f conftest.
$ac_objext
24086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24087 (eval $ac_compile) 2>&5
24089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090 (exit $ac_status); } &&
24091 { ac_try
='test -s conftest.$ac_objext'
24092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24093 (eval $ac_try) 2>&5
24095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096 (exit $ac_status); }; }; then
24098 echo "$as_me:$LINENO: result: found in default search path" >&5
24099 echo "${ECHO_T}found in default search path" >&6
24100 COMPILED_X_PROGRAM
=1
24103 echo "$as_me: failed program was:" >&5
24104 sed 's/^/| /' conftest.
$ac_ext >&5
24107 echo "$as_me:$LINENO: result: no" >&5
24108 echo "${ECHO_T}no" >&6
24109 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24110 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24111 { (exit 1); exit 1; }; }
24115 rm -f conftest.
$ac_objext conftest.
$ac_ext
24118 if test "$COMPILED_X_PROGRAM" = 0; then
24119 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24120 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24123 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24125 for ac_extension
in a so sl dylib
; do
24126 if test -f "$ac_dir/libXm.$ac_extension"; then
24127 ac_find_libraries
=$ac_dir
24133 if test "$ac_find_libraries" != "" ; then
24134 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24135 echo "${ECHO_T}found at $ac_find_libraries" >&6
24138 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24140 if test $result = 0; then
24143 ac_path_to_link
=" -L$ac_find_libraries"
24146 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24148 save_CFLAGS
=$CFLAGS
24149 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24151 cat >conftest.
$ac_ext <<_ACEOF
24152 #line $LINENO "configure"
24155 cat confdefs.h
>>conftest.
$ac_ext
24156 cat >>conftest.
$ac_ext <<_ACEOF
24157 /* end confdefs.h. */
24166 version = xmUseVersion;
24172 rm -f conftest.
$ac_objext
24173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24174 (eval $ac_compile) 2>&5
24176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177 (exit $ac_status); } &&
24178 { ac_try
='test -s conftest.$ac_objext'
24179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24180 (eval $ac_try) 2>&5
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); }; }; then
24185 echo "$as_me:$LINENO: result: found in default search path" >&5
24186 echo "${ECHO_T}found in default search path" >&6
24187 COMPILED_X_PROGRAM
=1
24190 echo "$as_me: failed program was:" >&5
24191 sed 's/^/| /' conftest.
$ac_ext >&5
24194 echo "$as_me:$LINENO: result: no" >&5
24195 echo "${ECHO_T}no" >&6
24196 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24197 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24198 { (exit 1); exit 1; }; }
24202 rm -f conftest.
$ac_objext conftest.
$ac_ext
24204 CFLAGS
=$save_CFLAGS
24208 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24209 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24213 for libp
in "" " -lXp"; do
24214 if test "$libs_found" = "0"; then
24215 for libsm_ice
in "" " -lSM -lICE"; do
24216 if test "$libs_found" = "0"; then
24218 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24219 save_CFLAGS
=$CFLAGS
24220 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24222 cat >conftest.
$ac_ext <<_ACEOF
24223 #line $LINENO "configure"
24226 cat confdefs.h
>>conftest.
$ac_ext
24227 cat >>conftest.
$ac_ext <<_ACEOF
24228 /* end confdefs.h. */
24231 #include <Xm/List.h>
24237 XmString string = NULL;
24240 XmListAddItem(w, string, position);
24246 rm -f conftest.
$ac_objext conftest
$ac_exeext
24247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24248 (eval $ac_link) 2>&5
24250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251 (exit $ac_status); } &&
24252 { ac_try
='test -s conftest$ac_exeext'
24253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24254 (eval $ac_try) 2>&5
24256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24257 (exit $ac_status); }; }; then
24260 libsm_ice_link
="$libsm_ice"
24261 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24262 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24266 echo "$as_me: failed program was:" >&5
24267 sed 's/^/| /' conftest.
$ac_ext >&5
24272 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24275 CFLAGS
=$save_CFLAGS
24281 if test "$libs_found" = "0"; then
24282 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24283 echo "${ECHO_T}can't find the right libraries" >&6
24284 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24285 echo "$as_me: error: can't link a simple motif program" >&2;}
24286 { (exit 1); exit 1; }; }
24289 save_CFLAGS
=$CFLAGS
24290 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24291 echo "$as_me:$LINENO: checking for Motif 2" >&5
24292 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24293 cat >conftest.
$ac_ext <<_ACEOF
24294 #line $LINENO "configure"
24297 cat confdefs.h
>>conftest.
$ac_ext
24298 cat >>conftest.
$ac_ext <<_ACEOF
24299 /* end confdefs.h. */
24307 #if XmVersion < 2000
24308 #error "Not Motif 2"
24315 rm -f conftest.
$ac_objext
24316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24317 (eval $ac_compile) 2>&5
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); } &&
24321 { ac_try
='test -s conftest.$ac_objext'
24322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323 (eval $ac_try) 2>&5
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); }; }; then
24328 cat >>confdefs.h
<<\_ACEOF
24329 #define __WXMOTIF20__ 1
24332 echo "$as_me:$LINENO: result: found" >&5
24333 echo "${ECHO_T}found" >&6
24336 echo "$as_me: failed program was:" >&5
24337 sed 's/^/| /' conftest.
$ac_ext >&5
24340 cat >>confdefs.h
<<\_ACEOF
24341 #define __WXMOTIF20__ 0
24344 echo "$as_me:$LINENO: result: not found" >&5
24345 echo "${ECHO_T}not found" >&6
24348 rm -f conftest.
$ac_objext conftest.
$ac_ext
24349 CFLAGS
=$save_CFLAGS
24351 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24352 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24357 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24358 if test "$wxUSE_LIBXPM" = "sys"; then
24359 echo "$as_me:$LINENO: checking for Xpm library" >&5
24360 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24363 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24365 for ac_extension
in a so sl dylib
; do
24366 if test -f "$ac_dir/libXpm.$ac_extension"; then
24367 ac_find_libraries
=$ac_dir
24373 if test "$ac_find_libraries" != "" ; then
24375 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24377 if test $result = 0; then
24380 ac_path_to_link
=" -L$ac_find_libraries"
24383 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24384 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24385 echo "${ECHO_T}found at $ac_find_libraries" >&6
24387 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
24388 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
24389 if test "${wx_cv_x11_xpm_h+set}" = set; then
24390 echo $ECHO_N "(cached) $ECHO_C" >&6
24393 save_CFLAGS
=$CFLAGS
24394 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24396 cat >conftest.
$ac_ext <<_ACEOF
24397 #line $LINENO "configure"
24400 cat confdefs.h
>>conftest.
$ac_ext
24401 cat >>conftest.
$ac_ext <<_ACEOF
24402 /* end confdefs.h. */
24404 #include <X11/xpm.h>
24411 version = XpmLibraryVersion();
24417 rm -f conftest.
$ac_objext
24418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24419 (eval $ac_compile) 2>&5
24421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24422 (exit $ac_status); } &&
24423 { ac_try
='test -s conftest.$ac_objext'
24424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24425 (eval $ac_try) 2>&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); }; }; then
24429 wx_cv_x11_xpm_h
=yes
24431 echo "$as_me: failed program was:" >&5
24432 sed 's/^/| /' conftest.
$ac_ext >&5
24437 rm -f conftest.
$ac_objext conftest.
$ac_ext
24439 CFLAGS
=$save_CFLAGS
24443 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
24444 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
24446 if test $wx_cv_x11_xpm_h = "yes"; then
24448 cat >>confdefs.h
<<\_ACEOF
24449 #define wxHAVE_LIB_XPM 1
24453 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
24454 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
24460 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
24461 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
24462 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
24463 echo $ECHO_N "(cached) $ECHO_C" >&6
24465 ac_check_lib_save_LIBS
=$LIBS
24466 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
24467 cat >conftest.
$ac_ext <<_ACEOF
24468 #line $LINENO "configure"
24471 cat confdefs.h
>>conftest.
$ac_ext
24472 cat >>conftest.
$ac_ext <<_ACEOF
24473 /* end confdefs.h. */
24475 /* Override any gcc2 internal prototype to avoid an error. */
24479 /* We use char because int might match the return type of a gcc2
24480 builtin and then its argument prototype would still apply. */
24481 char XShapeQueryExtension ();
24485 XShapeQueryExtension ();
24490 rm -f conftest.
$ac_objext conftest
$ac_exeext
24491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24492 (eval $ac_link) 2>&5
24494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24495 (exit $ac_status); } &&
24496 { ac_try
='test -s conftest$ac_exeext'
24497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24498 (eval $ac_try) 2>&5
24500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24501 (exit $ac_status); }; }; then
24502 ac_cv_lib_Xext_XShapeQueryExtension
=yes
24504 echo "$as_me: failed program was:" >&5
24505 sed 's/^/| /' conftest.
$ac_ext >&5
24507 ac_cv_lib_Xext_XShapeQueryExtension
=no
24509 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24510 LIBS
=$ac_check_lib_save_LIBS
24512 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
24513 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
24514 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
24516 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
24522 if test "$wxHAVE_XEXT_LIB" = 1; then
24523 save_CFLAGS
="$CFLAGS"
24524 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24526 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24527 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24528 cat >conftest.
$ac_ext <<_ACEOF
24529 #line $LINENO "configure"
24532 cat confdefs.h
>>conftest.
$ac_ext
24533 cat >>conftest.
$ac_ext <<_ACEOF
24534 /* end confdefs.h. */
24536 #include <X11/Xlib.h>
24537 #include <X11/extensions/shape.h>
24543 int dummy1, dummy2;
24544 XShapeQueryExtension((Display*)NULL,
24545 (int*)NULL, (int*)NULL);
24551 rm -f conftest.
$ac_objext
24552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24553 (eval $ac_compile) 2>&5
24555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556 (exit $ac_status); } &&
24557 { ac_try
='test -s conftest.$ac_objext'
24558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24559 (eval $ac_try) 2>&5
24561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); }; }; then
24564 cat >>confdefs.h
<<\_ACEOF
24565 #define HAVE_XSHAPE 1
24568 echo "$as_me:$LINENO: result: found" >&5
24569 echo "${ECHO_T}found" >&6
24572 echo "$as_me: failed program was:" >&5
24573 sed 's/^/| /' conftest.
$ac_ext >&5
24576 echo "$as_me:$LINENO: result: not found" >&5
24577 echo "${ECHO_T}not found" >&6
24580 rm -f conftest.
$ac_objext conftest.
$ac_ext
24581 CFLAGS
="$save_CFLAGS"
24586 if test "$wxUSE_MAC" = 1; then
24587 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24588 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24589 if test "$GCC" = yes; then
24590 echo "$as_me:$LINENO: result: gcc" >&5
24591 echo "${ECHO_T}gcc" >&6
24592 CPPFLAGS_PASCAL
="-fpascal-strings"
24593 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24594 echo "$as_me:$LINENO: result: xlc" >&5
24595 echo "${ECHO_T}xlc" >&6
24596 CPPFLAGS_PASCAL
="-qmacpstr"
24598 echo "$as_me:$LINENO: result: none" >&5
24599 echo "${ECHO_T}none" >&6
24602 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24604 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24607 WXBASEPORT
="_carbon"
24610 if test "$wxUSE_COCOA" = 1; then
24611 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24616 if test "$wxUSE_PM" = 1; then
24621 if test "$TOOLKIT" = "PM" ; then
24624 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24627 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24629 if test "$wxUSE_UNIVERSAL" = "yes"; then
24630 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24632 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24633 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24635 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24636 if test "$wxUSE_X11" = 1; then
24637 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24639 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24641 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24644 ALL_OBJECTS
="\$(GUIOBJS)"
24645 ALL_SOURCES
="\$(ALL_SOURCES)"
24646 ALL_HEADERS
="\$(ALL_HEADERS)"
24649 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24651 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24652 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24655 if test "$wxUSE_HTML" = "yes"; then
24656 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24659 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24660 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24662 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24663 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24665 if test "$wxUSE_LIBPNG" = "builtin" ; then
24666 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24669 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24670 DISTDIR
="wx\$(TOOLKIT)"
24676 if test "$USE_WIN32" = 1 ; then
24677 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24678 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24682 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24683 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24686 ALL_SOURCES
="\$(ALL_SOURCES)"
24687 ALL_HEADERS
="\$(ALL_HEADERS)"
24689 PORT_FILES
="\${top_srcdir}/src/files.lst"
24691 GUIDIST
="BASE_DIST"
24701 if test "$TOOLKIT" != "MSW" ; then
24703 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24705 if test "${ac_cv_header_sql_h+set}" = set; then
24706 echo "$as_me:$LINENO: checking for sql.h" >&5
24707 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24708 if test "${ac_cv_header_sql_h+set}" = set; then
24709 echo $ECHO_N "(cached) $ECHO_C" >&6
24711 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24712 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24714 # Is the header compilable?
24715 echo "$as_me:$LINENO: checking sql.h usability" >&5
24716 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24717 cat >conftest.
$ac_ext <<_ACEOF
24718 #line $LINENO "configure"
24721 cat confdefs.h
>>conftest.
$ac_ext
24722 cat >>conftest.
$ac_ext <<_ACEOF
24723 /* end confdefs.h. */
24724 $ac_includes_default
24727 rm -f conftest.
$ac_objext
24728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24729 (eval $ac_compile) 2>&5
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); } &&
24733 { ac_try
='test -s conftest.$ac_objext'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; }; then
24739 ac_header_compiler
=yes
24741 echo "$as_me: failed program was:" >&5
24742 sed 's/^/| /' conftest.
$ac_ext >&5
24744 ac_header_compiler
=no
24746 rm -f conftest.
$ac_objext conftest.
$ac_ext
24747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24748 echo "${ECHO_T}$ac_header_compiler" >&6
24750 # Is the header present?
24751 echo "$as_me:$LINENO: checking sql.h presence" >&5
24752 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24753 cat >conftest.
$ac_ext <<_ACEOF
24754 #line $LINENO "configure"
24757 cat confdefs.h
>>conftest.
$ac_ext
24758 cat >>conftest.
$ac_ext <<_ACEOF
24759 /* end confdefs.h. */
24762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24763 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24765 grep -v '^ *+' conftest.er1
>conftest.err
24767 cat conftest.err
>&5
24768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 (exit $ac_status); } >/dev
/null
; then
24770 if test -s conftest.err
; then
24771 ac_cpp_err
=$ac_c_preproc_warn_flag
24778 if test -z "$ac_cpp_err"; then
24779 ac_header_preproc
=yes
24781 echo "$as_me: failed program was:" >&5
24782 sed 's/^/| /' conftest.
$ac_ext >&5
24784 ac_header_preproc
=no
24786 rm -f conftest.err conftest.
$ac_ext
24787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24788 echo "${ECHO_T}$ac_header_preproc" >&6
24790 # So? What about this header?
24791 case $ac_header_compiler:$ac_header_preproc in
24793 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24794 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24795 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24796 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24799 ## ------------------------------------ ##
24800 ## Report this to bug-autoconf@gnu.org. ##
24801 ## ------------------------------------ ##
24804 sed "s/^/$as_me: WARNING: /" >&2
24807 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24808 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24809 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24810 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24811 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24812 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24815 ## ------------------------------------ ##
24816 ## Report this to bug-autoconf@gnu.org. ##
24817 ## ------------------------------------ ##
24820 sed "s/^/$as_me: WARNING: /" >&2
24823 echo "$as_me:$LINENO: checking for sql.h" >&5
24824 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24825 if test "${ac_cv_header_sql_h+set}" = set; then
24826 echo $ECHO_N "(cached) $ECHO_C" >&6
24828 ac_cv_header_sql_h
=$ac_header_preproc
24830 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24831 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24834 if test $ac_cv_header_sql_h = yes; then
24839 if test "x$found_sql_h" = "x1" ; then
24840 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24841 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24842 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24843 echo $ECHO_N "(cached) $ECHO_C" >&6
24845 ac_check_lib_save_LIBS
=$LIBS
24846 LIBS
="-liodbc $LIBS"
24847 cat >conftest.
$ac_ext <<_ACEOF
24848 #line $LINENO "configure"
24851 cat confdefs.h
>>conftest.
$ac_ext
24852 cat >>conftest.
$ac_ext <<_ACEOF
24853 /* end confdefs.h. */
24855 /* Override any gcc2 internal prototype to avoid an error. */
24859 /* We use char because int might match the return type of a gcc2
24860 builtin and then its argument prototype would still apply. */
24861 char SQLAllocEnv ();
24870 rm -f conftest.
$ac_objext conftest
$ac_exeext
24871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24872 (eval $ac_link) 2>&5
24874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875 (exit $ac_status); } &&
24876 { ac_try
='test -s conftest$ac_exeext'
24877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24878 (eval $ac_try) 2>&5
24880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24881 (exit $ac_status); }; }; then
24882 ac_cv_lib_iodbc_SQLAllocEnv
=yes
24884 echo "$as_me: failed program was:" >&5
24885 sed 's/^/| /' conftest.
$ac_ext >&5
24887 ac_cv_lib_iodbc_SQLAllocEnv
=no
24889 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24890 LIBS
=$ac_check_lib_save_LIBS
24892 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24893 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24894 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24895 ODBC_LINK
=" -liodbc"
24898 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24899 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24900 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24901 echo $ECHO_N "(cached) $ECHO_C" >&6
24903 ac_check_lib_save_LIBS
=$LIBS
24904 LIBS
="-lunixodbc $LIBS"
24905 cat >conftest.
$ac_ext <<_ACEOF
24906 #line $LINENO "configure"
24909 cat confdefs.h
>>conftest.
$ac_ext
24910 cat >>conftest.
$ac_ext <<_ACEOF
24911 /* end confdefs.h. */
24913 /* Override any gcc2 internal prototype to avoid an error. */
24917 /* We use char because int might match the return type of a gcc2
24918 builtin and then its argument prototype would still apply. */
24919 char SQLAllocEnv ();
24928 rm -f conftest.
$ac_objext conftest
$ac_exeext
24929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24930 (eval $ac_link) 2>&5
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); } &&
24934 { ac_try
='test -s conftest$ac_exeext'
24935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24936 (eval $ac_try) 2>&5
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); }; }; then
24940 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
24942 echo "$as_me: failed program was:" >&5
24943 sed 's/^/| /' conftest.
$ac_ext >&5
24945 ac_cv_lib_unixodbc_SQLAllocEnv
=no
24947 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24948 LIBS
=$ac_check_lib_save_LIBS
24950 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24951 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24952 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24953 ODBC_LINK
=" -lunixodbc"
24956 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24957 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24958 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24959 echo $ECHO_N "(cached) $ECHO_C" >&6
24961 ac_check_lib_save_LIBS
=$LIBS
24962 LIBS
="-lodbc $LIBS"
24963 cat >conftest.
$ac_ext <<_ACEOF
24964 #line $LINENO "configure"
24967 cat confdefs.h
>>conftest.
$ac_ext
24968 cat >>conftest.
$ac_ext <<_ACEOF
24969 /* end confdefs.h. */
24971 /* Override any gcc2 internal prototype to avoid an error. */
24975 /* We use char because int might match the return type of a gcc2
24976 builtin and then its argument prototype would still apply. */
24977 char SQLAllocEnv ();
24986 rm -f conftest.
$ac_objext conftest
$ac_exeext
24987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24988 (eval $ac_link) 2>&5
24990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24991 (exit $ac_status); } &&
24992 { ac_try
='test -s conftest$ac_exeext'
24993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24994 (eval $ac_try) 2>&5
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); }; }; then
24998 ac_cv_lib_odbc_SQLAllocEnv
=yes
25000 echo "$as_me: failed program was:" >&5
25001 sed 's/^/| /' conftest.
$ac_ext >&5
25003 ac_cv_lib_odbc_SQLAllocEnv
=no
25005 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25006 LIBS
=$ac_check_lib_save_LIBS
25008 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
25009 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
25010 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
25011 ODBC_LINK
=" -lodbc"
25021 if test "x$ODBC_LINK" = "x" ; then
25022 if test "$wxUSE_ODBC" = "sys" ; then
25023 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25024 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25025 { (exit 1); exit 1; }; }
25027 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25028 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25035 if test "$wxUSE_ODBC" != "no" ; then
25036 cat >>confdefs.h
<<\_ACEOF
25037 #define wxUSE_ODBC 1
25040 if test "$wxUSE_ODBC" = "builtin" ; then
25041 cat >>confdefs.h
<<\_ACEOF
25042 #define wxUSE_BUILTIN_IODBC 1
25046 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
25048 WXODBCFLAG
="-D_IODBC_"
25052 if test "$wxUSE_REGEX" = "builtin" ; then
25053 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
25055 if test "$wxUSE_ZLIB" = "builtin" ; then
25056 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
25061 if test "$wxUSE_OPENGL" = "yes"; then
25062 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25063 OPENGL_LIBS
="-framework OpenGL -framework AGL"
25064 elif test "$wxUSE_MSW" = 1; then
25065 OPENGL_LIBS
="-lopengl32 -lglu32"
25070 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25072 if test -f "$ac_dir/GL/gl.h"; then
25073 ac_find_includes
=$ac_dir
25078 if test "$ac_find_includes" != "" ; then
25079 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25080 echo "${ECHO_T}found in $ac_find_includes" >&6
25082 if test "x$ac_find_includes" = "x/usr/include"; then
25083 ac_path_to_include
=""
25085 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
25087 if test $result = 0; then
25088 ac_path_to_include
=""
25090 ac_path_to_include
=" -I$ac_find_includes"
25094 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
25097 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25098 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25099 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25100 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25101 echo $ECHO_N "(cached) $ECHO_C" >&6
25103 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25104 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25106 # Is the header compilable?
25107 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25108 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25109 cat >conftest.
$ac_ext <<_ACEOF
25110 #line $LINENO "configure"
25113 cat confdefs.h
>>conftest.
$ac_ext
25114 cat >>conftest.
$ac_ext <<_ACEOF
25115 /* end confdefs.h. */
25116 $ac_includes_default
25119 rm -f conftest.
$ac_objext
25120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25121 (eval $ac_compile) 2>&5
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); } &&
25125 { ac_try
='test -s conftest.$ac_objext'
25126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25127 (eval $ac_try) 2>&5
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); }; }; then
25131 ac_header_compiler
=yes
25133 echo "$as_me: failed program was:" >&5
25134 sed 's/^/| /' conftest.
$ac_ext >&5
25136 ac_header_compiler
=no
25138 rm -f conftest.
$ac_objext conftest.
$ac_ext
25139 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25140 echo "${ECHO_T}$ac_header_compiler" >&6
25142 # Is the header present?
25143 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25144 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25145 cat >conftest.
$ac_ext <<_ACEOF
25146 #line $LINENO "configure"
25149 cat confdefs.h
>>conftest.
$ac_ext
25150 cat >>conftest.
$ac_ext <<_ACEOF
25151 /* end confdefs.h. */
25154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25155 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25157 grep -v '^ *+' conftest.er1
>conftest.err
25159 cat conftest.err
>&5
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); } >/dev
/null
; then
25162 if test -s conftest.err
; then
25163 ac_cpp_err
=$ac_c_preproc_warn_flag
25170 if test -z "$ac_cpp_err"; then
25171 ac_header_preproc
=yes
25173 echo "$as_me: failed program was:" >&5
25174 sed 's/^/| /' conftest.
$ac_ext >&5
25176 ac_header_preproc
=no
25178 rm -f conftest.err conftest.
$ac_ext
25179 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25180 echo "${ECHO_T}$ac_header_preproc" >&6
25182 # So? What about this header?
25183 case $ac_header_compiler:$ac_header_preproc in
25185 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25186 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25187 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25188 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25191 ## ------------------------------------ ##
25192 ## Report this to bug-autoconf@gnu.org. ##
25193 ## ------------------------------------ ##
25196 sed "s/^/$as_me: WARNING: /" >&2
25199 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25200 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25201 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25202 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25203 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25204 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25207 ## ------------------------------------ ##
25208 ## Report this to bug-autoconf@gnu.org. ##
25209 ## ------------------------------------ ##
25212 sed "s/^/$as_me: WARNING: /" >&2
25215 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25216 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25217 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25218 echo $ECHO_N "(cached) $ECHO_C" >&6
25220 ac_cv_header_GL_gl_h
=$ac_header_preproc
25222 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25223 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25226 if test $ac_cv_header_GL_gl_h = yes; then
25230 echo "$as_me:$LINENO: checking for -lGL" >&5
25231 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25234 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25236 for ac_extension
in a so sl dylib
; do
25237 if test -f "$ac_dir/libGL.$ac_extension"; then
25238 ac_find_libraries
=$ac_dir
25244 if test "$ac_find_libraries" != "" ; then
25246 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25248 if test $result = 0; then
25251 ac_path_to_link
=" -L$ac_find_libraries"
25254 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25255 LDFLAGS_GL
="$ac_path_to_link"
25260 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25262 for ac_extension
in a so sl dylib
; do
25263 if test -f "$ac_dir/libGLU.$ac_extension"; then
25264 ac_find_libraries
=$ac_dir
25270 if test "$ac_find_libraries" != "" ; then
25272 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25274 if test $result = 0; then
25277 ac_path_to_link
=" -L$ac_find_libraries"
25280 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25281 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25282 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
25286 OPENGL_LIBS
="-lGL -lGLU"
25287 echo "$as_me:$LINENO: result: yes" >&5
25288 echo "${ECHO_T}yes" >&6
25292 if test "$found_gl" != 1; then
25293 echo "$as_me:$LINENO: result: no" >&5
25294 echo "${ECHO_T}no" >&6
25295 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25296 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25299 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25301 for ac_extension
in a so sl dylib
; do
25302 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25303 ac_find_libraries
=$ac_dir
25309 if test "$ac_find_libraries" != "" ; then
25311 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25313 if test $result = 0; then
25316 ac_path_to_link
=" -L$ac_find_libraries"
25319 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
25320 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
25321 echo "$as_me:$LINENO: result: yes" >&5
25322 echo "${ECHO_T}yes" >&6
25324 echo "$as_me:$LINENO: result: no" >&5
25325 echo "${ECHO_T}no" >&6
25333 if test "x$OPENGL_LIBS" = "x"; then
25334 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25335 echo "$as_me: error: OpenGL libraries not available" >&2;}
25336 { (exit 1); exit 1; }; }
25340 if test "$wxUSE_OPENGL" = "yes"; then
25342 cat >>confdefs.h
<<\_ACEOF
25343 #define wxUSE_OPENGL 1
25346 cat >>confdefs.h
<<\_ACEOF
25347 #define wxUSE_GLCANVAS 1
25350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25354 if test -z "$TOOLKIT_VPATH" ; then
25355 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
25358 if test -n "$TOOLKIT" ; then
25359 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25363 lib_unicode_suffix
=
25364 if test "$wxUSE_UNICODE" = "yes"; then
25365 lib_unicode_suffix
=u
25371 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25377 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25381 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25383 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25384 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25386 if test "$cross_compiling" = "yes"; then
25387 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
25388 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
25389 HOST_SUFFIX
="-${host_alias}"
25392 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
25393 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
25394 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25395 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25397 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25398 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25400 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25401 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25402 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25403 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25406 *-*-cygwin* | *-*-mingw32* )
25407 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25408 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25413 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25414 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25416 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25417 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25418 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25419 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25421 if test "$wxUSE_MAC" = 1; then
25422 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25423 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25428 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25429 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25431 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25432 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25434 if test "$wxUSE_OPENGL" = "yes"; then
25435 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25436 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25441 if test "$wxUSE_SHARED" = "yes"; then
25443 *-pc-os2_emx | *-pc-os2-emx | \
25446 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25447 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25453 if test "$wxUSE_SHARED" = "yes"; then
25457 found_versioning
=no
25460 if test $found_versioning = no
; then
25461 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25462 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25463 if test "${wx_cv_version_script+set}" = set; then
25464 echo $ECHO_N "(cached) $ECHO_C" >&6
25467 echo "VER_1 { *; };" >conftest.sym
25468 echo "int main() { return 0; }" >conftest.cpp
25471 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25472 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25474 (eval $ac_try) 2>&5
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); }; } ; then
25478 if test -s conftest.stderr
; then
25479 wx_cv_version_script
=no
25481 wx_cv_version_script
=yes
25484 wx_cv_version_script
=no
25486 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25489 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25490 echo "${ECHO_T}$wx_cv_version_script" >&6
25491 if test $wx_cv_version_script = yes ; then
25492 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25498 *-*-linux* | *-*-gnu* )
25499 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25503 if test "$GCC" = yes ; then
25504 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25506 saveLdflags
="$LDFLAGS"
25507 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25508 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25509 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25510 cat >conftest.
$ac_ext <<_ACEOF
25511 #line $LINENO "configure"
25514 cat confdefs.h
>>conftest.
$ac_ext
25515 cat >>conftest.
$ac_ext <<_ACEOF
25516 /* end confdefs.h. */
25526 rm -f conftest.
$ac_objext conftest
$ac_exeext
25527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25528 (eval $ac_link) 2>&5
25530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25531 (exit $ac_status); } &&
25532 { ac_try
='test -s conftest$ac_exeext'
25533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25534 (eval $ac_try) 2>&5
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); }; }; then
25539 echo "$as_me:$LINENO: result: yes" >&5
25540 echo "${ECHO_T}yes" >&6
25541 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25544 echo "$as_me: failed program was:" >&5
25545 sed 's/^/| /' conftest.
$ac_ext >&5
25548 echo "$as_me:$LINENO: result: no" >&5
25549 echo "${ECHO_T}no" >&6
25550 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25551 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25552 LDFLAGS
="$saveLdflags -Wl,-R,/"
25553 cat >conftest.
$ac_ext <<_ACEOF
25554 #line $LINENO "configure"
25557 cat confdefs.h
>>conftest.
$ac_ext
25558 cat >>conftest.
$ac_ext <<_ACEOF
25559 /* end confdefs.h. */
25569 rm -f conftest.
$ac_objext conftest
$ac_exeext
25570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25571 (eval $ac_link) 2>&5
25573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25574 (exit $ac_status); } &&
25575 { ac_try
='test -s conftest$ac_exeext'
25576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25577 (eval $ac_try) 2>&5
25579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 (exit $ac_status); }; }; then
25582 echo "$as_me:$LINENO: result: yes" >&5
25583 echo "${ECHO_T}yes" >&6
25584 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25586 echo "$as_me: failed program was:" >&5
25587 sed 's/^/| /' conftest.
$ac_ext >&5
25590 echo "$as_me:$LINENO: result: no" >&5
25591 echo "${ECHO_T}no" >&6
25594 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25597 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25598 LDFLAGS
="$saveLdflags"
25600 SHARED_LD
="${CXX} -G -o"
25602 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25606 powerpc
-*-darwin* )
25607 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25608 cat <<EOF >change-install-names
25610 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25611 inst_cmd="install_name_tool "
25612 for i in \${libnames} ; do
25613 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25617 chmod +x change
-install-names
25622 if test "x$WX_TARGET_LIBRARY" = "x"; then
25623 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25624 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25627 WX_TARGET_LIBRARY_TYPE
="so"
25628 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25631 if test "$wxUSE_SHARED" = "no"; then
25633 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25634 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25637 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25638 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25641 if test "$wxUSE_OPENGL" = "yes"; then
25642 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25643 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25645 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25648 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25649 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25651 WX_TARGET_LIBRARY_TYPE
="a"
25652 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25662 if test "$wxUSE_MAC" = 1; then
25663 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25664 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25665 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25666 # Extract the first word of "Rez", so it can be a program name with args.
25667 set dummy Rez
; ac_word
=$2
25668 echo "$as_me:$LINENO: checking for $ac_word" >&5
25669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25670 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25673 if test -n "$RESCOMP"; then
25674 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25677 for as_dir
in $PATH
25680 test -z "$as_dir" && as_dir
=.
25681 for ac_exec_ext
in '' $ac_executable_extensions; do
25682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25683 ac_cv_prog_RESCOMP
="Rez"
25684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25690 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25693 RESCOMP
=$ac_cv_prog_RESCOMP
25694 if test -n "$RESCOMP"; then
25695 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25696 echo "${ECHO_T}$RESCOMP" >&6
25698 echo "$as_me:$LINENO: result: no" >&5
25699 echo "${ECHO_T}no" >&6
25702 # Extract the first word of "DeRez", so it can be a program name with args.
25703 set dummy DeRez
; ac_word
=$2
25704 echo "$as_me:$LINENO: checking for $ac_word" >&5
25705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25706 if test "${ac_cv_prog_DEREZ+set}" = set; then
25707 echo $ECHO_N "(cached) $ECHO_C" >&6
25709 if test -n "$DEREZ"; then
25710 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25713 for as_dir
in $PATH
25716 test -z "$as_dir" && as_dir
=.
25717 for ac_exec_ext
in '' $ac_executable_extensions; do
25718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25719 ac_cv_prog_DEREZ
="DeRez"
25720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25726 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25729 DEREZ
=$ac_cv_prog_DEREZ
25730 if test -n "$DEREZ"; then
25731 echo "$as_me:$LINENO: result: $DEREZ" >&5
25732 echo "${ECHO_T}$DEREZ" >&6
25734 echo "$as_me:$LINENO: result: no" >&5
25735 echo "${ECHO_T}no" >&6
25738 # Extract the first word of "SetFile", so it can be a program name with args.
25739 set dummy SetFile
; ac_word
=$2
25740 echo "$as_me:$LINENO: checking for $ac_word" >&5
25741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25742 if test "${ac_cv_prog_SETFILE+set}" = set; then
25743 echo $ECHO_N "(cached) $ECHO_C" >&6
25745 if test -n "$SETFILE"; then
25746 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25749 for as_dir
in $PATH
25752 test -z "$as_dir" && as_dir
=.
25753 for ac_exec_ext
in '' $ac_executable_extensions; do
25754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25755 ac_cv_prog_SETFILE
="SetFile"
25756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25762 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25765 SETFILE
=$ac_cv_prog_SETFILE
25766 if test -n "$SETFILE"; then
25767 echo "$as_me:$LINENO: result: $SETFILE" >&5
25768 echo "${ECHO_T}$SETFILE" >&6
25770 echo "$as_me:$LINENO: result: no" >&5
25771 echo "${ECHO_T}no" >&6
25774 MACOSX_BUNDLE
="bundle"
25775 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25776 MACSETFILE
="\$(SETFILE)"
25777 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25778 elif test "$wxUSE_COCOA" = 1; then
25779 # Extract the first word of "Rez", so it can be a program name with args.
25780 set dummy Rez
; ac_word
=$2
25781 echo "$as_me:$LINENO: checking for $ac_word" >&5
25782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25783 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25784 echo $ECHO_N "(cached) $ECHO_C" >&6
25786 if test -n "$RESCOMP"; then
25787 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25790 for as_dir
in $PATH
25793 test -z "$as_dir" && as_dir
=.
25794 for ac_exec_ext
in '' $ac_executable_extensions; do
25795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25796 ac_cv_prog_RESCOMP
="Rez"
25797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25803 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25806 RESCOMP
=$ac_cv_prog_RESCOMP
25807 if test -n "$RESCOMP"; then
25808 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25809 echo "${ECHO_T}$RESCOMP" >&6
25811 echo "$as_me:$LINENO: result: no" >&5
25812 echo "${ECHO_T}no" >&6
25815 # Extract the first word of "DeRez", so it can be a program name with args.
25816 set dummy DeRez
; ac_word
=$2
25817 echo "$as_me:$LINENO: checking for $ac_word" >&5
25818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25819 if test "${ac_cv_prog_DEREZ+set}" = set; then
25820 echo $ECHO_N "(cached) $ECHO_C" >&6
25822 if test -n "$DEREZ"; then
25823 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25826 for as_dir
in $PATH
25829 test -z "$as_dir" && as_dir
=.
25830 for ac_exec_ext
in '' $ac_executable_extensions; do
25831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25832 ac_cv_prog_DEREZ
="DeRez"
25833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25839 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25842 DEREZ
=$ac_cv_prog_DEREZ
25843 if test -n "$DEREZ"; then
25844 echo "$as_me:$LINENO: result: $DEREZ" >&5
25845 echo "${ECHO_T}$DEREZ" >&6
25847 echo "$as_me:$LINENO: result: no" >&5
25848 echo "${ECHO_T}no" >&6
25851 # Extract the first word of "SetFile", so it can be a program name with args.
25852 set dummy SetFile
; ac_word
=$2
25853 echo "$as_me:$LINENO: checking for $ac_word" >&5
25854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25855 if test "${ac_cv_prog_SETFILE+set}" = set; then
25856 echo $ECHO_N "(cached) $ECHO_C" >&6
25858 if test -n "$SETFILE"; then
25859 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25862 for as_dir
in $PATH
25865 test -z "$as_dir" && as_dir
=.
25866 for ac_exec_ext
in '' $ac_executable_extensions; do
25867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25868 ac_cv_prog_SETFILE
="SetFile"
25869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25875 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25878 SETFILE
=$ac_cv_prog_SETFILE
25879 if test -n "$SETFILE"; then
25880 echo "$as_me:$LINENO: result: $SETFILE" >&5
25881 echo "${ECHO_T}$SETFILE" >&6
25883 echo "$as_me:$LINENO: result: no" >&5
25884 echo "${ECHO_T}no" >&6
25887 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25888 MACSETFILE
="\$(SETFILE)"
25889 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25891 if test "$wxUSE_PM" = 1; then
25892 MACRESCOMP
="emxbind -ep"
25897 echo "$as_me:$LINENO: checking for mode_t" >&5
25898 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25899 if test "${ac_cv_type_mode_t+set}" = set; then
25900 echo $ECHO_N "(cached) $ECHO_C" >&6
25902 cat >conftest.
$ac_ext <<_ACEOF
25903 #line $LINENO "configure"
25906 cat confdefs.h
>>conftest.
$ac_ext
25907 cat >>conftest.
$ac_ext <<_ACEOF
25908 /* end confdefs.h. */
25909 $ac_includes_default
25915 if (sizeof (mode_t))
25921 rm -f conftest.
$ac_objext
25922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25923 (eval $ac_compile) 2>&5
25925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926 (exit $ac_status); } &&
25927 { ac_try
='test -s conftest.$ac_objext'
25928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25929 (eval $ac_try) 2>&5
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); }; }; then
25933 ac_cv_type_mode_t
=yes
25935 echo "$as_me: failed program was:" >&5
25936 sed 's/^/| /' conftest.
$ac_ext >&5
25938 ac_cv_type_mode_t
=no
25940 rm -f conftest.
$ac_objext conftest.
$ac_ext
25942 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25943 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25944 if test $ac_cv_type_mode_t = yes; then
25948 cat >>confdefs.h
<<_ACEOF
25954 echo "$as_me:$LINENO: checking for off_t" >&5
25955 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25956 if test "${ac_cv_type_off_t+set}" = set; then
25957 echo $ECHO_N "(cached) $ECHO_C" >&6
25959 cat >conftest.
$ac_ext <<_ACEOF
25960 #line $LINENO "configure"
25963 cat confdefs.h
>>conftest.
$ac_ext
25964 cat >>conftest.
$ac_ext <<_ACEOF
25965 /* end confdefs.h. */
25966 $ac_includes_default
25972 if (sizeof (off_t))
25978 rm -f conftest.
$ac_objext
25979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25980 (eval $ac_compile) 2>&5
25982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983 (exit $ac_status); } &&
25984 { ac_try
='test -s conftest.$ac_objext'
25985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25986 (eval $ac_try) 2>&5
25988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989 (exit $ac_status); }; }; then
25990 ac_cv_type_off_t
=yes
25992 echo "$as_me: failed program was:" >&5
25993 sed 's/^/| /' conftest.
$ac_ext >&5
25995 ac_cv_type_off_t
=no
25997 rm -f conftest.
$ac_objext conftest.
$ac_ext
25999 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26000 echo "${ECHO_T}$ac_cv_type_off_t" >&6
26001 if test $ac_cv_type_off_t = yes; then
26005 cat >>confdefs.h
<<_ACEOF
26011 echo "$as_me:$LINENO: checking for pid_t" >&5
26012 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26013 if test "${ac_cv_type_pid_t+set}" = set; then
26014 echo $ECHO_N "(cached) $ECHO_C" >&6
26016 cat >conftest.
$ac_ext <<_ACEOF
26017 #line $LINENO "configure"
26020 cat confdefs.h
>>conftest.
$ac_ext
26021 cat >>conftest.
$ac_ext <<_ACEOF
26022 /* end confdefs.h. */
26023 $ac_includes_default
26029 if (sizeof (pid_t))
26035 rm -f conftest.
$ac_objext
26036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26037 (eval $ac_compile) 2>&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); } &&
26041 { ac_try
='test -s conftest.$ac_objext'
26042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26043 (eval $ac_try) 2>&5
26045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26046 (exit $ac_status); }; }; then
26047 ac_cv_type_pid_t
=yes
26049 echo "$as_me: failed program was:" >&5
26050 sed 's/^/| /' conftest.
$ac_ext >&5
26052 ac_cv_type_pid_t
=no
26054 rm -f conftest.
$ac_objext conftest.
$ac_ext
26056 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26057 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26058 if test $ac_cv_type_pid_t = yes; then
26062 cat >>confdefs.h
<<_ACEOF
26068 echo "$as_me:$LINENO: checking for size_t" >&5
26069 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26070 if test "${ac_cv_type_size_t+set}" = set; then
26071 echo $ECHO_N "(cached) $ECHO_C" >&6
26073 cat >conftest.
$ac_ext <<_ACEOF
26074 #line $LINENO "configure"
26077 cat confdefs.h
>>conftest.
$ac_ext
26078 cat >>conftest.
$ac_ext <<_ACEOF
26079 /* end confdefs.h. */
26080 $ac_includes_default
26086 if (sizeof (size_t))
26092 rm -f conftest.
$ac_objext
26093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26094 (eval $ac_compile) 2>&5
26096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26097 (exit $ac_status); } &&
26098 { ac_try
='test -s conftest.$ac_objext'
26099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26100 (eval $ac_try) 2>&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); }; }; then
26104 ac_cv_type_size_t
=yes
26106 echo "$as_me: failed program was:" >&5
26107 sed 's/^/| /' conftest.
$ac_ext >&5
26109 ac_cv_type_size_t
=no
26111 rm -f conftest.
$ac_objext conftest.
$ac_ext
26113 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26114 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26115 if test $ac_cv_type_size_t = yes; then
26119 cat >>confdefs.h
<<_ACEOF
26120 #define size_t unsigned
26125 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26126 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26127 if test "${ac_cv_type_uid_t+set}" = set; then
26128 echo $ECHO_N "(cached) $ECHO_C" >&6
26130 cat >conftest.
$ac_ext <<_ACEOF
26131 #line $LINENO "configure"
26134 cat confdefs.h
>>conftest.
$ac_ext
26135 cat >>conftest.
$ac_ext <<_ACEOF
26136 /* end confdefs.h. */
26137 #include <sys/types.h>
26140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26141 $EGREP "uid_t" >/dev
/null
2>&1; then
26142 ac_cv_type_uid_t
=yes
26144 ac_cv_type_uid_t
=no
26149 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26150 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26151 if test $ac_cv_type_uid_t = no
; then
26153 cat >>confdefs.h
<<\_ACEOF
26158 cat >>confdefs.h
<<\_ACEOF
26168 ac_cpp
='$CXXCPP $CPPFLAGS'
26169 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26170 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26171 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26173 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26174 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26175 if test "${wx_cv_size_t_is_uint+set}" = set; then
26176 echo $ECHO_N "(cached) $ECHO_C" >&6
26179 cat >conftest.
$ac_ext <<_ACEOF
26180 #line $LINENO "configure"
26183 cat confdefs.h
>>conftest.
$ac_ext
26184 cat >>conftest.
$ac_ext <<_ACEOF
26185 /* end confdefs.h. */
26186 #include <stddef.h>
26193 struct Foo { void foo(size_t); void foo(unsigned int); };
26201 rm -f conftest.
$ac_objext
26202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26203 (eval $ac_compile) 2>&5
26205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26206 (exit $ac_status); } &&
26207 { ac_try
='test -s conftest.$ac_objext'
26208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26209 (eval $ac_try) 2>&5
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); }; }; then
26213 wx_cv_size_t_is_uint
=no
26215 echo "$as_me: failed program was:" >&5
26216 sed 's/^/| /' conftest.
$ac_ext >&5
26218 wx_cv_size_t_is_uint
=yes
26221 rm -f conftest.
$ac_objext conftest.
$ac_ext
26225 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26226 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26228 if test "$wx_cv_size_t_is_uint" = "yes"; then
26229 cat >>confdefs.h
<<\_ACEOF
26230 #define wxSIZE_T_IS_UINT 1
26234 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26235 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26236 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26237 echo $ECHO_N "(cached) $ECHO_C" >&6
26239 cat >conftest.
$ac_ext <<_ACEOF
26240 #line $LINENO "configure"
26243 cat confdefs.h
>>conftest.
$ac_ext
26244 cat >>conftest.
$ac_ext <<_ACEOF
26245 /* end confdefs.h. */
26246 #include <stddef.h>
26253 struct Foo { void foo(size_t); void foo(unsigned long); };
26261 rm -f conftest.
$ac_objext
26262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26263 (eval $ac_compile) 2>&5
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); } &&
26267 { ac_try
='test -s conftest.$ac_objext'
26268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26269 (eval $ac_try) 2>&5
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; }; then
26273 wx_cv_size_t_is_ulong
=no
26275 echo "$as_me: failed program was:" >&5
26276 sed 's/^/| /' conftest.
$ac_ext >&5
26278 wx_cv_size_t_is_ulong
=yes
26281 rm -f conftest.
$ac_objext conftest.
$ac_ext
26284 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26285 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26287 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26288 cat >>confdefs.h
<<\_ACEOF
26289 #define wxSIZE_T_IS_ULONG 1
26296 ac_cpp
='$CPP $CPPFLAGS'
26297 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26298 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26299 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26303 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26304 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26305 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26306 echo $ECHO_N "(cached) $ECHO_C" >&6
26309 cat >conftest.
$ac_ext <<_ACEOF
26310 #line $LINENO "configure"
26313 cat confdefs.h
>>conftest.
$ac_ext
26314 cat >>conftest.
$ac_ext <<_ACEOF
26315 /* end confdefs.h. */
26329 rm -f conftest.
$ac_objext
26330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26331 (eval $ac_compile) 2>&5
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); } &&
26335 { ac_try
='test -s conftest.$ac_objext'
26336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26337 (eval $ac_try) 2>&5
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); }; }; then
26342 wx_cv_struct_pw_gecos
=yes
26345 echo "$as_me: failed program was:" >&5
26346 sed 's/^/| /' conftest.
$ac_ext >&5
26349 wx_cv_struct_pw_gecos
=no
26353 rm -f conftest.
$ac_objext conftest.
$ac_ext
26357 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26358 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26360 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26361 cat >>confdefs.h
<<\_ACEOF
26362 #define HAVE_PW_GECOS 1
26368 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26369 cat >>confdefs.h
<<\_ACEOF
26370 #define wxUSE_WCHAR_T 1
26377 for ac_func
in wcslen
26379 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26380 echo "$as_me:$LINENO: checking for $ac_func" >&5
26381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26382 if eval "test \"\${$as_ac_var+set}\" = set"; then
26383 echo $ECHO_N "(cached) $ECHO_C" >&6
26385 cat >conftest.
$ac_ext <<_ACEOF
26386 #line $LINENO "configure"
26389 cat confdefs.h
>>conftest.
$ac_ext
26390 cat >>conftest.
$ac_ext <<_ACEOF
26391 /* end confdefs.h. */
26392 /* System header to define __stub macros and hopefully few prototypes,
26393 which can conflict with char $ac_func (); below.
26394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26395 <limits.h> exists even on freestanding compilers. */
26397 # include <limits.h>
26399 # include <assert.h>
26401 /* Override any gcc2 internal prototype to avoid an error. */
26406 /* We use char because int might match the return type of a gcc2
26407 builtin and then its argument prototype would still apply. */
26409 /* The GNU C library defines this for functions which it implements
26410 to always fail with ENOSYS. Some functions are actually named
26411 something starting with __ and the normal name is an alias. */
26412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26415 char (*f) () = $ac_func;
26424 return f != $ac_func;
26429 rm -f conftest.
$ac_objext conftest
$ac_exeext
26430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26431 (eval $ac_link) 2>&5
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); } &&
26435 { ac_try
='test -s conftest$ac_exeext'
26436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26437 (eval $ac_try) 2>&5
26439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26440 (exit $ac_status); }; }; then
26441 eval "$as_ac_var=yes"
26443 echo "$as_me: failed program was:" >&5
26444 sed 's/^/| /' conftest.
$ac_ext >&5
26446 eval "$as_ac_var=no"
26448 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26452 if test `eval echo '${'$as_ac_var'}'` = yes; then
26453 cat >>confdefs.h
<<_ACEOF
26454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26461 if test "$WCSLEN_FOUND" = 0; then
26462 if test "$TOOLKIT" = "MSW"; then
26463 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26464 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26465 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26466 echo $ECHO_N "(cached) $ECHO_C" >&6
26468 ac_check_lib_save_LIBS
=$LIBS
26469 LIBS
="-lmsvcrt $LIBS"
26470 cat >conftest.
$ac_ext <<_ACEOF
26471 #line $LINENO "configure"
26474 cat confdefs.h
>>conftest.
$ac_ext
26475 cat >>conftest.
$ac_ext <<_ACEOF
26476 /* end confdefs.h. */
26478 /* Override any gcc2 internal prototype to avoid an error. */
26482 /* We use char because int might match the return type of a gcc2
26483 builtin and then its argument prototype would still apply. */
26493 rm -f conftest.
$ac_objext conftest
$ac_exeext
26494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26495 (eval $ac_link) 2>&5
26497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26498 (exit $ac_status); } &&
26499 { ac_try
='test -s conftest$ac_exeext'
26500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26501 (eval $ac_try) 2>&5
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); }; }; then
26505 ac_cv_lib_msvcrt_wcslen
=yes
26507 echo "$as_me: failed program was:" >&5
26508 sed 's/^/| /' conftest.
$ac_ext >&5
26510 ac_cv_lib_msvcrt_wcslen
=no
26512 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26513 LIBS
=$ac_check_lib_save_LIBS
26515 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26516 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26517 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26522 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26523 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26524 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26525 echo $ECHO_N "(cached) $ECHO_C" >&6
26527 ac_check_lib_save_LIBS
=$LIBS
26529 cat >conftest.
$ac_ext <<_ACEOF
26530 #line $LINENO "configure"
26533 cat confdefs.h
>>conftest.
$ac_ext
26534 cat >>conftest.
$ac_ext <<_ACEOF
26535 /* end confdefs.h. */
26537 /* Override any gcc2 internal prototype to avoid an error. */
26541 /* We use char because int might match the return type of a gcc2
26542 builtin and then its argument prototype would still apply. */
26552 rm -f conftest.
$ac_objext conftest
$ac_exeext
26553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26554 (eval $ac_link) 2>&5
26556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26557 (exit $ac_status); } &&
26558 { ac_try
='test -s conftest$ac_exeext'
26559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26560 (eval $ac_try) 2>&5
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); }; }; then
26564 ac_cv_lib_w_wcslen
=yes
26566 echo "$as_me: failed program was:" >&5
26567 sed 's/^/| /' conftest.
$ac_ext >&5
26569 ac_cv_lib_w_wcslen
=no
26571 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26572 LIBS
=$ac_check_lib_save_LIBS
26574 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26575 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26576 if test $ac_cv_lib_w_wcslen = yes; then
26586 if test "$WCSLEN_FOUND" = 1; then
26587 cat >>confdefs.h
<<\_ACEOF
26588 #define HAVE_WCSLEN 1
26594 for ac_func
in wcsrtombs
26596 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26597 echo "$as_me:$LINENO: checking for $ac_func" >&5
26598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26599 if eval "test \"\${$as_ac_var+set}\" = set"; then
26600 echo $ECHO_N "(cached) $ECHO_C" >&6
26602 cat >conftest.
$ac_ext <<_ACEOF
26603 #line $LINENO "configure"
26606 cat confdefs.h
>>conftest.
$ac_ext
26607 cat >>conftest.
$ac_ext <<_ACEOF
26608 /* end confdefs.h. */
26609 /* System header to define __stub macros and hopefully few prototypes,
26610 which can conflict with char $ac_func (); below.
26611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26612 <limits.h> exists even on freestanding compilers. */
26614 # include <limits.h>
26616 # include <assert.h>
26618 /* Override any gcc2 internal prototype to avoid an error. */
26623 /* We use char because int might match the return type of a gcc2
26624 builtin and then its argument prototype would still apply. */
26626 /* The GNU C library defines this for functions which it implements
26627 to always fail with ENOSYS. Some functions are actually named
26628 something starting with __ and the normal name is an alias. */
26629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26632 char (*f) () = $ac_func;
26641 return f != $ac_func;
26646 rm -f conftest.
$ac_objext conftest
$ac_exeext
26647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26648 (eval $ac_link) 2>&5
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); } &&
26652 { ac_try
='test -s conftest$ac_exeext'
26653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26654 (eval $ac_try) 2>&5
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); }; }; then
26658 eval "$as_ac_var=yes"
26660 echo "$as_me: failed program was:" >&5
26661 sed 's/^/| /' conftest.
$ac_ext >&5
26663 eval "$as_ac_var=no"
26665 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26669 if test `eval echo '${'$as_ac_var'}'` = yes; then
26670 cat >>confdefs.h
<<_ACEOF
26671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26678 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26679 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26685 ac_cpp
='$CXXCPP $CPPFLAGS'
26686 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26687 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26688 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26692 for ac_func
in vsnprintf
26694 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26695 echo "$as_me:$LINENO: checking for $ac_func" >&5
26696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26697 if eval "test \"\${$as_ac_var+set}\" = set"; then
26698 echo $ECHO_N "(cached) $ECHO_C" >&6
26700 cat >conftest.
$ac_ext <<_ACEOF
26701 #line $LINENO "configure"
26704 cat confdefs.h
>>conftest.
$ac_ext
26705 cat >>conftest.
$ac_ext <<_ACEOF
26706 /* end confdefs.h. */
26707 /* System header to define __stub macros and hopefully few prototypes,
26708 which can conflict with char $ac_func (); below.
26709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26710 <limits.h> exists even on freestanding compilers. */
26712 # include <limits.h>
26714 # include <assert.h>
26716 /* Override any gcc2 internal prototype to avoid an error. */
26721 /* We use char because int might match the return type of a gcc2
26722 builtin and then its argument prototype would still apply. */
26724 /* The GNU C library defines this for functions which it implements
26725 to always fail with ENOSYS. Some functions are actually named
26726 something starting with __ and the normal name is an alias. */
26727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26730 char (*f) () = $ac_func;
26739 return f != $ac_func;
26744 rm -f conftest.
$ac_objext conftest
$ac_exeext
26745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26746 (eval $ac_link) 2>&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } &&
26750 { ac_try
='test -s conftest$ac_exeext'
26751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26752 (eval $ac_try) 2>&5
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); }; }; then
26756 eval "$as_ac_var=yes"
26758 echo "$as_me: failed program was:" >&5
26759 sed 's/^/| /' conftest.
$ac_ext >&5
26761 eval "$as_ac_var=no"
26763 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26767 if test `eval echo '${'$as_ac_var'}'` = yes; then
26768 cat >>confdefs.h
<<_ACEOF
26769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26776 if test "$ac_cv_func_vsnprintf" = "yes"; then
26777 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26778 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26779 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26780 echo $ECHO_N "(cached) $ECHO_C" >&6
26783 cat >conftest.
$ac_ext <<_ACEOF
26784 #line $LINENO "configure"
26787 cat confdefs.h
>>conftest.
$ac_ext
26788 cat >>conftest.
$ac_ext <<_ACEOF
26789 /* end confdefs.h. */
26792 #include <stdarg.h>
26800 vsnprintf(buf, 10u, "%s", ap);
26806 rm -f conftest.
$ac_objext
26807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26808 (eval $ac_compile) 2>&5
26810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 (exit $ac_status); } &&
26812 { ac_try
='test -s conftest.$ac_objext'
26813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26814 (eval $ac_try) 2>&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); }; }; then
26818 wx_cv_func_vsnprintf_decl
=yes
26820 echo "$as_me: failed program was:" >&5
26821 sed 's/^/| /' conftest.
$ac_ext >&5
26823 wx_cv_func_vsnprintf_decl
=no
26826 rm -f conftest.
$ac_objext conftest.
$ac_ext
26830 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26831 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26833 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26834 cat >>confdefs.h
<<\_ACEOF
26835 #define HAVE_VSNPRINTF_DECL 1
26841 if test "$wxUSE_UNICODE" = yes; then
26845 for ac_func
in fputwc wprintf vswprintf
26847 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26848 echo "$as_me:$LINENO: checking for $ac_func" >&5
26849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26850 if eval "test \"\${$as_ac_var+set}\" = set"; then
26851 echo $ECHO_N "(cached) $ECHO_C" >&6
26853 cat >conftest.
$ac_ext <<_ACEOF
26854 #line $LINENO "configure"
26857 cat confdefs.h
>>conftest.
$ac_ext
26858 cat >>conftest.
$ac_ext <<_ACEOF
26859 /* end confdefs.h. */
26860 /* System header to define __stub macros and hopefully few prototypes,
26861 which can conflict with char $ac_func (); below.
26862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26863 <limits.h> exists even on freestanding compilers. */
26865 # include <limits.h>
26867 # include <assert.h>
26869 /* Override any gcc2 internal prototype to avoid an error. */
26874 /* We use char because int might match the return type of a gcc2
26875 builtin and then its argument prototype would still apply. */
26877 /* The GNU C library defines this for functions which it implements
26878 to always fail with ENOSYS. Some functions are actually named
26879 something starting with __ and the normal name is an alias. */
26880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26883 char (*f) () = $ac_func;
26892 return f != $ac_func;
26897 rm -f conftest.
$ac_objext conftest
$ac_exeext
26898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26899 (eval $ac_link) 2>&5
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); } &&
26903 { ac_try
='test -s conftest$ac_exeext'
26904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26905 (eval $ac_try) 2>&5
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); }; }; then
26909 eval "$as_ac_var=yes"
26911 echo "$as_me: failed program was:" >&5
26912 sed 's/^/| /' conftest.
$ac_ext >&5
26914 eval "$as_ac_var=no"
26916 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26920 if test `eval echo '${'$as_ac_var'}'` = yes; then
26921 cat >>confdefs.h
<<_ACEOF
26922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26929 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26930 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26931 cat >conftest.
$ac_ext <<_ACEOF
26932 #line $LINENO "configure"
26935 cat confdefs.h
>>conftest.
$ac_ext
26936 cat >>conftest.
$ac_ext <<_ACEOF
26937 /* end confdefs.h. */
26947 rm -f conftest.
$ac_objext
26948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26949 (eval $ac_compile) 2>&5
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); } &&
26953 { ac_try
='test -s conftest.$ac_objext'
26954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26955 (eval $ac_try) 2>&5
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); }; }; then
26959 echo "$as_me:$LINENO: result: yes" >&5
26960 echo "${ECHO_T}yes" >&6
26961 cat >>confdefs.h
<<\_ACEOF
26962 #define HAVE__VSNWPRINTF 1
26966 echo "$as_me: failed program was:" >&5
26967 sed 's/^/| /' conftest.
$ac_ext >&5
26969 echo "$as_me:$LINENO: result: no" >&5
26970 echo "${ECHO_T}no" >&6
26972 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26976 ac_cpp
='$CPP $CPPFLAGS'
26977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26984 if test "$TOOLKIT" != "MSW"; then
26990 ac_cpp
='$CXXCPP $CPPFLAGS'
26991 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26992 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26993 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26998 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26999 if test "${with_libiconv_prefix+set}" = set; then
27000 withval
="$with_libiconv_prefix"
27002 for dir
in `echo "$withval" | tr : ' '`; do
27003 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
27004 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
27009 echo "$as_me:$LINENO: checking for iconv" >&5
27010 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27011 if test "${am_cv_func_iconv+set}" = set; then
27012 echo $ECHO_N "(cached) $ECHO_C" >&6
27015 am_cv_func_iconv
="no, consider installing GNU libiconv"
27017 cat >conftest.
$ac_ext <<_ACEOF
27018 #line $LINENO "configure"
27021 cat confdefs.h
>>conftest.
$ac_ext
27022 cat >>conftest.
$ac_ext <<_ACEOF
27023 /* end confdefs.h. */
27024 #include <stdlib.h>
27029 iconv_t cd = iconv_open("","");
27030 iconv(cd,NULL,NULL,NULL,NULL);
27036 rm -f conftest.
$ac_objext conftest
$ac_exeext
27037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27038 (eval $ac_link) 2>&5
27040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041 (exit $ac_status); } &&
27042 { ac_try
='test -s conftest$ac_exeext'
27043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27044 (eval $ac_try) 2>&5
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); }; }; then
27048 am_cv_func_iconv
=yes
27050 echo "$as_me: failed program was:" >&5
27051 sed 's/^/| /' conftest.
$ac_ext >&5
27054 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27055 if test "$am_cv_func_iconv" != yes; then
27056 am_save_LIBS
="$LIBS"
27057 LIBS
="$LIBS -liconv"
27058 cat >conftest.
$ac_ext <<_ACEOF
27059 #line $LINENO "configure"
27062 cat confdefs.h
>>conftest.
$ac_ext
27063 cat >>conftest.
$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065 #include <stdlib.h>
27070 iconv_t cd = iconv_open("","");
27071 iconv(cd,NULL,NULL,NULL,NULL);
27077 rm -f conftest.
$ac_objext conftest
$ac_exeext
27078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27079 (eval $ac_link) 2>&5
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); } &&
27083 { ac_try
='test -s conftest$ac_exeext'
27084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 (eval $ac_try) 2>&5
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; }; then
27089 am_cv_lib_iconv
=yes
27090 am_cv_func_iconv
=yes
27092 echo "$as_me: failed program was:" >&5
27093 sed 's/^/| /' conftest.
$ac_ext >&5
27096 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27097 LIBS
="$am_save_LIBS"
27101 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27102 echo "${ECHO_T}$am_cv_func_iconv" >&6
27103 if test "$am_cv_func_iconv" = yes; then
27105 cat >>confdefs.h
<<\_ACEOF
27106 #define HAVE_ICONV 1
27109 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27110 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27111 if test "${wx_cv_func_iconv_const+set}" = set; then
27112 echo $ECHO_N "(cached) $ECHO_C" >&6
27114 cat >conftest.
$ac_ext <<_ACEOF
27115 #line $LINENO "configure"
27118 cat confdefs.h
>>conftest.
$ac_ext
27119 cat >>conftest.
$ac_ext <<_ACEOF
27120 /* end confdefs.h. */
27122 #include <stdlib.h>
27128 #if defined(__STDC__) || defined(__cplusplus)
27129 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27142 rm -f conftest.
$ac_objext
27143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27144 (eval $ac_compile) 2>&5
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); } &&
27148 { ac_try
='test -s conftest.$ac_objext'
27149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27150 (eval $ac_try) 2>&5
27152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153 (exit $ac_status); }; }; then
27154 wx_cv_func_iconv_const
="no"
27156 echo "$as_me: failed program was:" >&5
27157 sed 's/^/| /' conftest.
$ac_ext >&5
27159 wx_cv_func_iconv_const
="yes"
27162 rm -f conftest.
$ac_objext conftest.
$ac_ext
27165 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27166 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27169 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27170 iconv_const
="const"
27174 cat >>confdefs.h
<<_ACEOF
27175 #define ICONV_CONST $iconv_const
27180 if test "$am_cv_lib_iconv" = yes; then
27185 LIBS
="$LIBICONV $LIBS"
27187 ac_cpp
='$CPP $CPPFLAGS'
27188 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27189 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27190 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27193 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27195 for ac_func
in sigaction
27197 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27198 echo "$as_me:$LINENO: checking for $ac_func" >&5
27199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27200 if eval "test \"\${$as_ac_var+set}\" = set"; then
27201 echo $ECHO_N "(cached) $ECHO_C" >&6
27203 cat >conftest.
$ac_ext <<_ACEOF
27204 #line $LINENO "configure"
27207 cat confdefs.h
>>conftest.
$ac_ext
27208 cat >>conftest.
$ac_ext <<_ACEOF
27209 /* end confdefs.h. */
27210 /* System header to define __stub macros and hopefully few prototypes,
27211 which can conflict with char $ac_func (); below.
27212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27213 <limits.h> exists even on freestanding compilers. */
27215 # include <limits.h>
27217 # include <assert.h>
27219 /* Override any gcc2 internal prototype to avoid an error. */
27224 /* We use char because int might match the return type of a gcc2
27225 builtin and then its argument prototype would still apply. */
27227 /* The GNU C library defines this for functions which it implements
27228 to always fail with ENOSYS. Some functions are actually named
27229 something starting with __ and the normal name is an alias. */
27230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27233 char (*f) () = $ac_func;
27242 return f != $ac_func;
27247 rm -f conftest.
$ac_objext conftest
$ac_exeext
27248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27249 (eval $ac_link) 2>&5
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); } &&
27253 { ac_try
='test -s conftest$ac_exeext'
27254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27255 (eval $ac_try) 2>&5
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); }; }; then
27259 eval "$as_ac_var=yes"
27261 echo "$as_me: failed program was:" >&5
27262 sed 's/^/| /' conftest.
$ac_ext >&5
27264 eval "$as_ac_var=no"
27266 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27270 if test `eval echo '${'$as_ac_var'}'` = yes; then
27271 cat >>confdefs.h
<<_ACEOF
27272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27279 if test "$ac_cv_func_sigaction" = "no"; then
27280 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27281 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27282 wxUSE_ON_FATAL_EXCEPTION
=no
27285 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27289 ac_cpp
='$CXXCPP $CPPFLAGS'
27290 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27291 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27292 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27295 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27296 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27297 if test "${wx_cv_type_sa_handler+set}" = set; then
27298 echo $ECHO_N "(cached) $ECHO_C" >&6
27301 cat >conftest.
$ac_ext <<_ACEOF
27302 #line $LINENO "configure"
27305 cat confdefs.h
>>conftest.
$ac_ext
27306 cat >>conftest.
$ac_ext <<_ACEOF
27307 /* end confdefs.h. */
27308 #include <signal.h>
27313 extern void testSigHandler(int);
27315 struct sigaction sa;
27316 sa.sa_handler = testSigHandler;
27322 rm -f conftest.
$ac_objext
27323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27324 (eval $ac_compile) 2>&5
27326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327 (exit $ac_status); } &&
27328 { ac_try
='test -s conftest.$ac_objext'
27329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27330 (eval $ac_try) 2>&5
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); }; }; then
27335 wx_cv_type_sa_handler
=int
27338 echo "$as_me: failed program was:" >&5
27339 sed 's/^/| /' conftest.
$ac_ext >&5
27342 wx_cv_type_sa_handler
=void
27345 rm -f conftest.
$ac_objext conftest.
$ac_ext
27348 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27349 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27352 ac_cpp
='$CPP $CPPFLAGS'
27353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27358 cat >>confdefs.h
<<_ACEOF
27359 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27367 for ac_func
in mkstemp mktemp
27369 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27370 echo "$as_me:$LINENO: checking for $ac_func" >&5
27371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27372 if eval "test \"\${$as_ac_var+set}\" = set"; then
27373 echo $ECHO_N "(cached) $ECHO_C" >&6
27375 cat >conftest.
$ac_ext <<_ACEOF
27376 #line $LINENO "configure"
27379 cat confdefs.h
>>conftest.
$ac_ext
27380 cat >>conftest.
$ac_ext <<_ACEOF
27381 /* end confdefs.h. */
27382 /* System header to define __stub macros and hopefully few prototypes,
27383 which can conflict with char $ac_func (); below.
27384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27385 <limits.h> exists even on freestanding compilers. */
27387 # include <limits.h>
27389 # include <assert.h>
27391 /* Override any gcc2 internal prototype to avoid an error. */
27396 /* We use char because int might match the return type of a gcc2
27397 builtin and then its argument prototype would still apply. */
27399 /* The GNU C library defines this for functions which it implements
27400 to always fail with ENOSYS. Some functions are actually named
27401 something starting with __ and the normal name is an alias. */
27402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27405 char (*f) () = $ac_func;
27414 return f != $ac_func;
27419 rm -f conftest.
$ac_objext conftest
$ac_exeext
27420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27421 (eval $ac_link) 2>&5
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); } &&
27425 { ac_try
='test -s conftest$ac_exeext'
27426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27427 (eval $ac_try) 2>&5
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); }; }; then
27431 eval "$as_ac_var=yes"
27433 echo "$as_me: failed program was:" >&5
27434 sed 's/^/| /' conftest.
$ac_ext >&5
27436 eval "$as_ac_var=no"
27438 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27442 if test `eval echo '${'$as_ac_var'}'` = yes; then
27443 cat >>confdefs.h
<<_ACEOF
27444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27451 echo "$as_me:$LINENO: checking for statfs" >&5
27452 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27453 if test "${wx_cv_func_statfs+set}" = set; then
27454 echo $ECHO_N "(cached) $ECHO_C" >&6
27456 cat >conftest.
$ac_ext <<_ACEOF
27457 #line $LINENO "configure"
27460 cat confdefs.h
>>conftest.
$ac_ext
27461 cat >>conftest.
$ac_ext <<_ACEOF
27462 /* end confdefs.h. */
27464 #if defined(__BSD__)
27465 #include <sys/param.h>
27466 #include <sys/mount.h>
27468 #include <sys/vfs.h>
27486 rm -f conftest.
$ac_objext
27487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27488 (eval $ac_compile) 2>&5
27490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27491 (exit $ac_status); } &&
27492 { ac_try
='test -s conftest.$ac_objext'
27493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27494 (eval $ac_try) 2>&5
27496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27497 (exit $ac_status); }; }; then
27499 wx_cv_func_statfs
=yes
27502 echo "$as_me: failed program was:" >&5
27503 sed 's/^/| /' conftest.
$ac_ext >&5
27506 wx_cv_func_statfs
=no
27510 rm -f conftest.
$ac_objext conftest.
$ac_ext
27513 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27514 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27516 if test "$wx_cv_func_statfs" = "yes"; then
27517 wx_cv_type_statvfs_t
="struct statfs"
27518 cat >>confdefs.h
<<\_ACEOF
27519 #define HAVE_STATFS 1
27523 echo "$as_me:$LINENO: checking for statvfs" >&5
27524 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27525 if test "${wx_cv_func_statvfs+set}" = set; then
27526 echo $ECHO_N "(cached) $ECHO_C" >&6
27528 cat >conftest.
$ac_ext <<_ACEOF
27529 #line $LINENO "configure"
27532 cat confdefs.h
>>conftest.
$ac_ext
27533 cat >>conftest.
$ac_ext <<_ACEOF
27534 /* end confdefs.h. */
27536 #include <stddef.h>
27537 #include <sys/statvfs.h>
27543 statvfs("/", NULL);
27549 rm -f conftest.
$ac_objext
27550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27551 (eval $ac_compile) 2>&5
27553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27554 (exit $ac_status); } &&
27555 { ac_try
='test -s conftest.$ac_objext'
27556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27557 (eval $ac_try) 2>&5
27559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560 (exit $ac_status); }; }; then
27561 wx_cv_func_statvfs
=yes
27563 echo "$as_me: failed program was:" >&5
27564 sed 's/^/| /' conftest.
$ac_ext >&5
27566 wx_cv_func_statvfs
=no
27569 rm -f conftest.
$ac_objext conftest.
$ac_ext
27572 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27573 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27575 if test "$wx_cv_func_statvfs" = "yes"; then
27579 ac_cpp
='$CXXCPP $CPPFLAGS'
27580 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27581 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27582 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27585 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27586 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27587 if test "${wx_cv_type_statvfs_t+set}" = set; then
27588 echo $ECHO_N "(cached) $ECHO_C" >&6
27590 cat >conftest.
$ac_ext <<_ACEOF
27591 #line $LINENO "configure"
27594 cat confdefs.h
>>conftest.
$ac_ext
27595 cat >>conftest.
$ac_ext <<_ACEOF
27596 /* end confdefs.h. */
27598 #include <sys/statvfs.h>
27615 rm -f conftest.
$ac_objext
27616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27617 (eval $ac_compile) 2>&5
27619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27620 (exit $ac_status); } &&
27621 { ac_try
='test -s conftest.$ac_objext'
27622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27623 (eval $ac_try) 2>&5
27625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27626 (exit $ac_status); }; }; then
27627 wx_cv_type_statvfs_t
=statvfs_t
27629 echo "$as_me: failed program was:" >&5
27630 sed 's/^/| /' conftest.
$ac_ext >&5
27633 cat >conftest.
$ac_ext <<_ACEOF
27634 #line $LINENO "configure"
27637 cat confdefs.h
>>conftest.
$ac_ext
27638 cat >>conftest.
$ac_ext <<_ACEOF
27639 /* end confdefs.h. */
27641 #include <sys/statvfs.h>
27658 rm -f conftest.
$ac_objext
27659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27660 (eval $ac_compile) 2>&5
27662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27663 (exit $ac_status); } &&
27664 { ac_try
='test -s conftest.$ac_objext'
27665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27666 (eval $ac_try) 2>&5
27668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27669 (exit $ac_status); }; }; then
27670 wx_cv_type_statvfs_t
="struct statvfs"
27672 echo "$as_me: failed program was:" >&5
27673 sed 's/^/| /' conftest.
$ac_ext >&5
27675 wx_cv_type_statvfs_t
="unknown"
27678 rm -f conftest.
$ac_objext conftest.
$ac_ext
27682 rm -f conftest.
$ac_objext conftest.
$ac_ext
27685 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27686 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27689 ac_cpp
='$CPP $CPPFLAGS'
27690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27695 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27696 cat >>confdefs.h
<<\_ACEOF
27697 #define HAVE_STATVFS 1
27702 wx_cv_type_statvfs_t
="unknown"
27706 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27707 cat >>confdefs.h
<<_ACEOF
27708 #define WX_STATFS_T $wx_cv_type_statvfs_t
27712 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27713 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27716 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27719 for ac_func
in fcntl flock
27721 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27722 echo "$as_me:$LINENO: checking for $ac_func" >&5
27723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27724 if eval "test \"\${$as_ac_var+set}\" = set"; then
27725 echo $ECHO_N "(cached) $ECHO_C" >&6
27727 cat >conftest.
$ac_ext <<_ACEOF
27728 #line $LINENO "configure"
27731 cat confdefs.h
>>conftest.
$ac_ext
27732 cat >>conftest.
$ac_ext <<_ACEOF
27733 /* end confdefs.h. */
27734 /* System header to define __stub macros and hopefully few prototypes,
27735 which can conflict with char $ac_func (); below.
27736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27737 <limits.h> exists even on freestanding compilers. */
27739 # include <limits.h>
27741 # include <assert.h>
27743 /* Override any gcc2 internal prototype to avoid an error. */
27748 /* We use char because int might match the return type of a gcc2
27749 builtin and then its argument prototype would still apply. */
27751 /* The GNU C library defines this for functions which it implements
27752 to always fail with ENOSYS. Some functions are actually named
27753 something starting with __ and the normal name is an alias. */
27754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27757 char (*f) () = $ac_func;
27766 return f != $ac_func;
27771 rm -f conftest.
$ac_objext conftest
$ac_exeext
27772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27773 (eval $ac_link) 2>&5
27775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776 (exit $ac_status); } &&
27777 { ac_try
='test -s conftest$ac_exeext'
27778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27779 (eval $ac_try) 2>&5
27781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27782 (exit $ac_status); }; }; then
27783 eval "$as_ac_var=yes"
27785 echo "$as_me: failed program was:" >&5
27786 sed 's/^/| /' conftest.
$ac_ext >&5
27788 eval "$as_ac_var=no"
27790 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27794 if test `eval echo '${'$as_ac_var'}'` = yes; then
27795 cat >>confdefs.h
<<_ACEOF
27796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27803 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27804 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27805 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27806 wxUSE_SNGLINST_CHECKER
=no
27811 for ac_func
in timegm
27813 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27814 echo "$as_me:$LINENO: checking for $ac_func" >&5
27815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27816 if eval "test \"\${$as_ac_var+set}\" = set"; then
27817 echo $ECHO_N "(cached) $ECHO_C" >&6
27819 cat >conftest.
$ac_ext <<_ACEOF
27820 #line $LINENO "configure"
27823 cat confdefs.h
>>conftest.
$ac_ext
27824 cat >>conftest.
$ac_ext <<_ACEOF
27825 /* end confdefs.h. */
27826 /* System header to define __stub macros and hopefully few prototypes,
27827 which can conflict with char $ac_func (); below.
27828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27829 <limits.h> exists even on freestanding compilers. */
27831 # include <limits.h>
27833 # include <assert.h>
27835 /* Override any gcc2 internal prototype to avoid an error. */
27840 /* We use char because int might match the return type of a gcc2
27841 builtin and then its argument prototype would still apply. */
27843 /* The GNU C library defines this for functions which it implements
27844 to always fail with ENOSYS. Some functions are actually named
27845 something starting with __ and the normal name is an alias. */
27846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27849 char (*f) () = $ac_func;
27858 return f != $ac_func;
27863 rm -f conftest.
$ac_objext conftest
$ac_exeext
27864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27865 (eval $ac_link) 2>&5
27867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27868 (exit $ac_status); } &&
27869 { ac_try
='test -s conftest$ac_exeext'
27870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27871 (eval $ac_try) 2>&5
27873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27874 (exit $ac_status); }; }; then
27875 eval "$as_ac_var=yes"
27877 echo "$as_me: failed program was:" >&5
27878 sed 's/^/| /' conftest.
$ac_ext >&5
27880 eval "$as_ac_var=no"
27882 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27886 if test `eval echo '${'$as_ac_var'}'` = yes; then
27887 cat >>confdefs.h
<<_ACEOF
27888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27897 for ac_func
in putenv setenv
27899 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27900 echo "$as_me:$LINENO: checking for $ac_func" >&5
27901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27902 if eval "test \"\${$as_ac_var+set}\" = set"; then
27903 echo $ECHO_N "(cached) $ECHO_C" >&6
27905 cat >conftest.
$ac_ext <<_ACEOF
27906 #line $LINENO "configure"
27909 cat confdefs.h
>>conftest.
$ac_ext
27910 cat >>conftest.
$ac_ext <<_ACEOF
27911 /* end confdefs.h. */
27912 /* System header to define __stub macros and hopefully few prototypes,
27913 which can conflict with char $ac_func (); below.
27914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27915 <limits.h> exists even on freestanding compilers. */
27917 # include <limits.h>
27919 # include <assert.h>
27921 /* Override any gcc2 internal prototype to avoid an error. */
27926 /* We use char because int might match the return type of a gcc2
27927 builtin and then its argument prototype would still apply. */
27929 /* The GNU C library defines this for functions which it implements
27930 to always fail with ENOSYS. Some functions are actually named
27931 something starting with __ and the normal name is an alias. */
27932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27935 char (*f) () = $ac_func;
27944 return f != $ac_func;
27949 rm -f conftest.
$ac_objext conftest
$ac_exeext
27950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27951 (eval $ac_link) 2>&5
27953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954 (exit $ac_status); } &&
27955 { ac_try
='test -s conftest$ac_exeext'
27956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27957 (eval $ac_try) 2>&5
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); }; }; then
27961 eval "$as_ac_var=yes"
27963 echo "$as_me: failed program was:" >&5
27964 sed 's/^/| /' conftest.
$ac_ext >&5
27966 eval "$as_ac_var=no"
27968 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27972 if test `eval echo '${'$as_ac_var'}'` = yes; then
27973 cat >>confdefs.h
<<_ACEOF
27974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27981 HAVE_SOME_SLEEP_FUNC
=0
27982 if test "$USE_BEOS" = 1; then
27983 cat >>confdefs.h
<<\_ACEOF
27984 #define HAVE_SLEEP 1
27987 HAVE_SOME_SLEEP_FUNC
=1
27990 if test "$USE_DARWIN" = 1; then
27991 cat >>confdefs.h
<<\_ACEOF
27992 #define HAVE_USLEEP 1
27995 HAVE_SOME_SLEEP_FUNC
=1
27998 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
28001 for ac_func
in nanosleep
28003 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28004 echo "$as_me:$LINENO: checking for $ac_func" >&5
28005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28006 if eval "test \"\${$as_ac_var+set}\" = set"; then
28007 echo $ECHO_N "(cached) $ECHO_C" >&6
28009 cat >conftest.
$ac_ext <<_ACEOF
28010 #line $LINENO "configure"
28013 cat confdefs.h
>>conftest.
$ac_ext
28014 cat >>conftest.
$ac_ext <<_ACEOF
28015 /* end confdefs.h. */
28016 /* System header to define __stub macros and hopefully few prototypes,
28017 which can conflict with char $ac_func (); below.
28018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28019 <limits.h> exists even on freestanding compilers. */
28021 # include <limits.h>
28023 # include <assert.h>
28025 /* Override any gcc2 internal prototype to avoid an error. */
28030 /* We use char because int might match the return type of a gcc2
28031 builtin and then its argument prototype would still apply. */
28033 /* The GNU C library defines this for functions which it implements
28034 to always fail with ENOSYS. Some functions are actually named
28035 something starting with __ and the normal name is an alias. */
28036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28039 char (*f) () = $ac_func;
28048 return f != $ac_func;
28053 rm -f conftest.
$ac_objext conftest
$ac_exeext
28054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28055 (eval $ac_link) 2>&5
28057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058 (exit $ac_status); } &&
28059 { ac_try
='test -s conftest$ac_exeext'
28060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28061 (eval $ac_try) 2>&5
28063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28064 (exit $ac_status); }; }; then
28065 eval "$as_ac_var=yes"
28067 echo "$as_me: failed program was:" >&5
28068 sed 's/^/| /' conftest.
$ac_ext >&5
28070 eval "$as_ac_var=no"
28072 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28076 if test `eval echo '${'$as_ac_var'}'` = yes; then
28077 cat >>confdefs.h
<<_ACEOF
28078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28080 cat >>confdefs.h
<<\_ACEOF
28081 #define HAVE_NANOSLEEP 1
28086 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28087 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28088 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28089 echo $ECHO_N "(cached) $ECHO_C" >&6
28091 ac_check_lib_save_LIBS
=$LIBS
28092 LIBS
="-lposix4 $LIBS"
28093 cat >conftest.
$ac_ext <<_ACEOF
28094 #line $LINENO "configure"
28097 cat confdefs.h
>>conftest.
$ac_ext
28098 cat >>conftest.
$ac_ext <<_ACEOF
28099 /* end confdefs.h. */
28101 /* Override any gcc2 internal prototype to avoid an error. */
28105 /* We use char because int might match the return type of a gcc2
28106 builtin and then its argument prototype would still apply. */
28116 rm -f conftest.
$ac_objext conftest
$ac_exeext
28117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28118 (eval $ac_link) 2>&5
28120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121 (exit $ac_status); } &&
28122 { ac_try
='test -s conftest$ac_exeext'
28123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28124 (eval $ac_try) 2>&5
28126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28127 (exit $ac_status); }; }; then
28128 ac_cv_lib_posix4_nanosleep
=yes
28130 echo "$as_me: failed program was:" >&5
28131 sed 's/^/| /' conftest.
$ac_ext >&5
28133 ac_cv_lib_posix4_nanosleep
=no
28135 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28136 LIBS
=$ac_check_lib_save_LIBS
28138 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28139 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28140 if test $ac_cv_lib_posix4_nanosleep = yes; then
28142 cat >>confdefs.h
<<\_ACEOF
28143 #define HAVE_NANOSLEEP 1
28146 POSIX4_LINK
=" -lposix4"
28151 for ac_func
in usleep
28153 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28154 echo "$as_me:$LINENO: checking for $ac_func" >&5
28155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28156 if eval "test \"\${$as_ac_var+set}\" = set"; then
28157 echo $ECHO_N "(cached) $ECHO_C" >&6
28159 cat >conftest.
$ac_ext <<_ACEOF
28160 #line $LINENO "configure"
28163 cat confdefs.h
>>conftest.
$ac_ext
28164 cat >>conftest.
$ac_ext <<_ACEOF
28165 /* end confdefs.h. */
28166 /* System header to define __stub macros and hopefully few prototypes,
28167 which can conflict with char $ac_func (); below.
28168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28169 <limits.h> exists even on freestanding compilers. */
28171 # include <limits.h>
28173 # include <assert.h>
28175 /* Override any gcc2 internal prototype to avoid an error. */
28180 /* We use char because int might match the return type of a gcc2
28181 builtin and then its argument prototype would still apply. */
28183 /* The GNU C library defines this for functions which it implements
28184 to always fail with ENOSYS. Some functions are actually named
28185 something starting with __ and the normal name is an alias. */
28186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28189 char (*f) () = $ac_func;
28198 return f != $ac_func;
28203 rm -f conftest.
$ac_objext conftest
$ac_exeext
28204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28205 (eval $ac_link) 2>&5
28207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208 (exit $ac_status); } &&
28209 { ac_try
='test -s conftest$ac_exeext'
28210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28211 (eval $ac_try) 2>&5
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); }; }; then
28215 eval "$as_ac_var=yes"
28217 echo "$as_me: failed program was:" >&5
28218 sed 's/^/| /' conftest.
$ac_ext >&5
28220 eval "$as_ac_var=no"
28222 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28226 if test `eval echo '${'$as_ac_var'}'` = yes; then
28227 cat >>confdefs.h
<<_ACEOF
28228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28230 cat >>confdefs.h
<<\_ACEOF
28231 #define HAVE_USLEEP 1
28235 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28236 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28254 for ac_func
in uname gethostname
28256 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28257 echo "$as_me:$LINENO: checking for $ac_func" >&5
28258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28259 if eval "test \"\${$as_ac_var+set}\" = set"; then
28260 echo $ECHO_N "(cached) $ECHO_C" >&6
28262 cat >conftest.
$ac_ext <<_ACEOF
28263 #line $LINENO "configure"
28266 cat confdefs.h
>>conftest.
$ac_ext
28267 cat >>conftest.
$ac_ext <<_ACEOF
28268 /* end confdefs.h. */
28269 /* System header to define __stub macros and hopefully few prototypes,
28270 which can conflict with char $ac_func (); below.
28271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28272 <limits.h> exists even on freestanding compilers. */
28274 # include <limits.h>
28276 # include <assert.h>
28278 /* Override any gcc2 internal prototype to avoid an error. */
28283 /* We use char because int might match the return type of a gcc2
28284 builtin and then its argument prototype would still apply. */
28286 /* The GNU C library defines this for functions which it implements
28287 to always fail with ENOSYS. Some functions are actually named
28288 something starting with __ and the normal name is an alias. */
28289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28292 char (*f) () = $ac_func;
28301 return f != $ac_func;
28306 rm -f conftest.
$ac_objext conftest
$ac_exeext
28307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28308 (eval $ac_link) 2>&5
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); } &&
28312 { ac_try
='test -s conftest$ac_exeext'
28313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28314 (eval $ac_try) 2>&5
28316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28317 (exit $ac_status); }; }; then
28318 eval "$as_ac_var=yes"
28320 echo "$as_me: failed program was:" >&5
28321 sed 's/^/| /' conftest.
$ac_ext >&5
28323 eval "$as_ac_var=no"
28325 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28329 if test `eval echo '${'$as_ac_var'}'` = yes; then
28330 cat >>confdefs.h
<<_ACEOF
28331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28341 ac_cpp
='$CXXCPP $CPPFLAGS'
28342 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28343 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28344 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28348 for ac_func
in strtok_r
28350 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28351 echo "$as_me:$LINENO: checking for $ac_func" >&5
28352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28353 if eval "test \"\${$as_ac_var+set}\" = set"; then
28354 echo $ECHO_N "(cached) $ECHO_C" >&6
28356 cat >conftest.
$ac_ext <<_ACEOF
28357 #line $LINENO "configure"
28360 cat confdefs.h
>>conftest.
$ac_ext
28361 cat >>conftest.
$ac_ext <<_ACEOF
28362 /* end confdefs.h. */
28363 /* System header to define __stub macros and hopefully few prototypes,
28364 which can conflict with char $ac_func (); below.
28365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28366 <limits.h> exists even on freestanding compilers. */
28368 # include <limits.h>
28370 # include <assert.h>
28372 /* Override any gcc2 internal prototype to avoid an error. */
28377 /* We use char because int might match the return type of a gcc2
28378 builtin and then its argument prototype would still apply. */
28380 /* The GNU C library defines this for functions which it implements
28381 to always fail with ENOSYS. Some functions are actually named
28382 something starting with __ and the normal name is an alias. */
28383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28386 char (*f) () = $ac_func;
28395 return f != $ac_func;
28400 rm -f conftest.
$ac_objext conftest
$ac_exeext
28401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28402 (eval $ac_link) 2>&5
28404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 (exit $ac_status); } &&
28406 { ac_try
='test -s conftest$ac_exeext'
28407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28408 (eval $ac_try) 2>&5
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); }; }; then
28412 eval "$as_ac_var=yes"
28414 echo "$as_me: failed program was:" >&5
28415 sed 's/^/| /' conftest.
$ac_ext >&5
28417 eval "$as_ac_var=no"
28419 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28423 if test `eval echo '${'$as_ac_var'}'` = yes; then
28424 cat >>confdefs.h
<<_ACEOF
28425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28433 ac_cpp
='$CPP $CPPFLAGS'
28434 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28435 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28436 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28441 for ac_func
in inet_addr
28443 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28444 echo "$as_me:$LINENO: checking for $ac_func" >&5
28445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28446 if eval "test \"\${$as_ac_var+set}\" = set"; then
28447 echo $ECHO_N "(cached) $ECHO_C" >&6
28449 cat >conftest.
$ac_ext <<_ACEOF
28450 #line $LINENO "configure"
28453 cat confdefs.h
>>conftest.
$ac_ext
28454 cat >>conftest.
$ac_ext <<_ACEOF
28455 /* end confdefs.h. */
28456 /* System header to define __stub macros and hopefully few prototypes,
28457 which can conflict with char $ac_func (); below.
28458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28459 <limits.h> exists even on freestanding compilers. */
28461 # include <limits.h>
28463 # include <assert.h>
28465 /* Override any gcc2 internal prototype to avoid an error. */
28470 /* We use char because int might match the return type of a gcc2
28471 builtin and then its argument prototype would still apply. */
28473 /* The GNU C library defines this for functions which it implements
28474 to always fail with ENOSYS. Some functions are actually named
28475 something starting with __ and the normal name is an alias. */
28476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28479 char (*f) () = $ac_func;
28488 return f != $ac_func;
28493 rm -f conftest.
$ac_objext conftest
$ac_exeext
28494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28495 (eval $ac_link) 2>&5
28497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28498 (exit $ac_status); } &&
28499 { ac_try
='test -s conftest$ac_exeext'
28500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28501 (eval $ac_try) 2>&5
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); }; }; then
28505 eval "$as_ac_var=yes"
28507 echo "$as_me: failed program was:" >&5
28508 sed 's/^/| /' conftest.
$ac_ext >&5
28510 eval "$as_ac_var=no"
28512 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28516 if test `eval echo '${'$as_ac_var'}'` = yes; then
28517 cat >>confdefs.h
<<_ACEOF
28518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28520 cat >>confdefs.h
<<\_ACEOF
28521 #define HAVE_INET_ADDR 1
28526 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28527 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28528 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28529 echo $ECHO_N "(cached) $ECHO_C" >&6
28531 ac_check_lib_save_LIBS
=$LIBS
28533 cat >conftest.
$ac_ext <<_ACEOF
28534 #line $LINENO "configure"
28537 cat confdefs.h
>>conftest.
$ac_ext
28538 cat >>conftest.
$ac_ext <<_ACEOF
28539 /* end confdefs.h. */
28541 /* Override any gcc2 internal prototype to avoid an error. */
28545 /* We use char because int might match the return type of a gcc2
28546 builtin and then its argument prototype would still apply. */
28556 rm -f conftest.
$ac_objext conftest
$ac_exeext
28557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28558 (eval $ac_link) 2>&5
28560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28561 (exit $ac_status); } &&
28562 { ac_try
='test -s conftest$ac_exeext'
28563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28564 (eval $ac_try) 2>&5
28566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28567 (exit $ac_status); }; }; then
28568 ac_cv_lib_nsl_inet_addr
=yes
28570 echo "$as_me: failed program was:" >&5
28571 sed 's/^/| /' conftest.
$ac_ext >&5
28573 ac_cv_lib_nsl_inet_addr
=no
28575 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28576 LIBS
=$ac_check_lib_save_LIBS
28578 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28579 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28580 if test $ac_cv_lib_nsl_inet_addr = yes; then
28584 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28585 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28586 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28587 echo $ECHO_N "(cached) $ECHO_C" >&6
28589 ac_check_lib_save_LIBS
=$LIBS
28590 LIBS
="-lresolv $LIBS"
28591 cat >conftest.
$ac_ext <<_ACEOF
28592 #line $LINENO "configure"
28595 cat confdefs.h
>>conftest.
$ac_ext
28596 cat >>conftest.
$ac_ext <<_ACEOF
28597 /* end confdefs.h. */
28599 /* Override any gcc2 internal prototype to avoid an error. */
28603 /* We use char because int might match the return type of a gcc2
28604 builtin and then its argument prototype would still apply. */
28614 rm -f conftest.
$ac_objext conftest
$ac_exeext
28615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28616 (eval $ac_link) 2>&5
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); } &&
28620 { ac_try
='test -s conftest$ac_exeext'
28621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28622 (eval $ac_try) 2>&5
28624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625 (exit $ac_status); }; }; then
28626 ac_cv_lib_resolv_inet_addr
=yes
28628 echo "$as_me: failed program was:" >&5
28629 sed 's/^/| /' conftest.
$ac_ext >&5
28631 ac_cv_lib_resolv_inet_addr
=no
28633 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28634 LIBS
=$ac_check_lib_save_LIBS
28636 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28637 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28638 if test $ac_cv_lib_resolv_inet_addr = yes; then
28642 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28643 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28644 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28645 echo $ECHO_N "(cached) $ECHO_C" >&6
28647 ac_check_lib_save_LIBS
=$LIBS
28648 LIBS
="-lsocket $LIBS"
28649 cat >conftest.
$ac_ext <<_ACEOF
28650 #line $LINENO "configure"
28653 cat confdefs.h
>>conftest.
$ac_ext
28654 cat >>conftest.
$ac_ext <<_ACEOF
28655 /* end confdefs.h. */
28657 /* Override any gcc2 internal prototype to avoid an error. */
28661 /* We use char because int might match the return type of a gcc2
28662 builtin and then its argument prototype would still apply. */
28672 rm -f conftest.
$ac_objext conftest
$ac_exeext
28673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28674 (eval $ac_link) 2>&5
28676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28677 (exit $ac_status); } &&
28678 { ac_try
='test -s conftest$ac_exeext'
28679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28680 (eval $ac_try) 2>&5
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); }; }; then
28684 ac_cv_lib_socket_inet_addr
=yes
28686 echo "$as_me: failed program was:" >&5
28687 sed 's/^/| /' conftest.
$ac_ext >&5
28689 ac_cv_lib_socket_inet_addr
=no
28691 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28692 LIBS
=$ac_check_lib_save_LIBS
28694 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28695 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28696 if test $ac_cv_lib_socket_inet_addr = yes; then
28716 for ac_func
in inet_aton
28718 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28719 echo "$as_me:$LINENO: checking for $ac_func" >&5
28720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28721 if eval "test \"\${$as_ac_var+set}\" = set"; then
28722 echo $ECHO_N "(cached) $ECHO_C" >&6
28724 cat >conftest.
$ac_ext <<_ACEOF
28725 #line $LINENO "configure"
28728 cat confdefs.h
>>conftest.
$ac_ext
28729 cat >>conftest.
$ac_ext <<_ACEOF
28730 /* end confdefs.h. */
28731 /* System header to define __stub macros and hopefully few prototypes,
28732 which can conflict with char $ac_func (); below.
28733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28734 <limits.h> exists even on freestanding compilers. */
28736 # include <limits.h>
28738 # include <assert.h>
28740 /* Override any gcc2 internal prototype to avoid an error. */
28745 /* We use char because int might match the return type of a gcc2
28746 builtin and then its argument prototype would still apply. */
28748 /* The GNU C library defines this for functions which it implements
28749 to always fail with ENOSYS. Some functions are actually named
28750 something starting with __ and the normal name is an alias. */
28751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28754 char (*f) () = $ac_func;
28763 return f != $ac_func;
28768 rm -f conftest.
$ac_objext conftest
$ac_exeext
28769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28770 (eval $ac_link) 2>&5
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); } &&
28774 { ac_try
='test -s conftest$ac_exeext'
28775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28776 (eval $ac_try) 2>&5
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); }; }; then
28780 eval "$as_ac_var=yes"
28782 echo "$as_me: failed program was:" >&5
28783 sed 's/^/| /' conftest.
$ac_ext >&5
28785 eval "$as_ac_var=no"
28787 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28791 if test `eval echo '${'$as_ac_var'}'` = yes; then
28792 cat >>confdefs.h
<<_ACEOF
28793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28795 cat >>confdefs.h
<<\_ACEOF
28796 #define HAVE_INET_ATON 1
28801 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28802 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28803 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28804 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28805 echo $ECHO_N "(cached) $ECHO_C" >&6
28807 ac_check_lib_save_LIBS
=$LIBS
28808 LIBS
="-l$INET_LINK $LIBS"
28809 cat >conftest.
$ac_ext <<_ACEOF
28810 #line $LINENO "configure"
28813 cat confdefs.h
>>conftest.
$ac_ext
28814 cat >>conftest.
$ac_ext <<_ACEOF
28815 /* end confdefs.h. */
28817 /* Override any gcc2 internal prototype to avoid an error. */
28821 /* We use char because int might match the return type of a gcc2
28822 builtin and then its argument prototype would still apply. */
28832 rm -f conftest.
$ac_objext conftest
$ac_exeext
28833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28834 (eval $ac_link) 2>&5
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); } &&
28838 { ac_try
='test -s conftest$ac_exeext'
28839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28840 (eval $ac_try) 2>&5
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); }; }; then
28844 eval "$as_ac_Lib=yes"
28846 echo "$as_me: failed program was:" >&5
28847 sed 's/^/| /' conftest.
$ac_ext >&5
28849 eval "$as_ac_Lib=no"
28851 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28852 LIBS
=$ac_check_lib_save_LIBS
28854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28855 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28856 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28857 cat >>confdefs.h
<<\_ACEOF
28858 #define HAVE_INET_ATON 1
28868 if test "x$INET_LINK" != "x"; then
28869 cat >>confdefs.h
<<\_ACEOF
28870 #define HAVE_INET_ADDR 1
28873 INET_LINK
=" -l$INET_LINK"
28881 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28882 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28883 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28884 echo $ECHO_N "(cached) $ECHO_C" >&6
28886 ac_check_lib_save_LIBS
=$LIBS
28888 cat >conftest.
$ac_ext <<_ACEOF
28889 #line $LINENO "configure"
28892 cat confdefs.h
>>conftest.
$ac_ext
28893 cat >>conftest.
$ac_ext <<_ACEOF
28894 /* end confdefs.h. */
28896 /* Override any gcc2 internal prototype to avoid an error. */
28900 /* We use char because int might match the return type of a gcc2
28901 builtin and then its argument prototype would still apply. */
28911 rm -f conftest.
$ac_objext conftest
$ac_exeext
28912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28913 (eval $ac_link) 2>&5
28915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28916 (exit $ac_status); } &&
28917 { ac_try
='test -s conftest$ac_exeext'
28918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28919 (eval $ac_try) 2>&5
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 (exit $ac_status); }; }; then
28923 ac_cv_lib_esd_esd_close
=yes
28925 echo "$as_me: failed program was:" >&5
28926 sed 's/^/| /' conftest.
$ac_ext >&5
28928 ac_cv_lib_esd_esd_close
=no
28930 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28931 LIBS
=$ac_check_lib_save_LIBS
28933 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28934 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28935 if test $ac_cv_lib_esd_esd_close = yes; then
28938 for ac_header
in esd.h
28940 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28942 echo "$as_me:$LINENO: checking for $ac_header" >&5
28943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28945 echo $ECHO_N "(cached) $ECHO_C" >&6
28947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28950 # Is the header compilable?
28951 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28952 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28953 cat >conftest.
$ac_ext <<_ACEOF
28954 #line $LINENO "configure"
28957 cat confdefs.h
>>conftest.
$ac_ext
28958 cat >>conftest.
$ac_ext <<_ACEOF
28959 /* end confdefs.h. */
28960 $ac_includes_default
28961 #include <$ac_header>
28963 rm -f conftest.
$ac_objext
28964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28965 (eval $ac_compile) 2>&5
28967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968 (exit $ac_status); } &&
28969 { ac_try
='test -s conftest.$ac_objext'
28970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28971 (eval $ac_try) 2>&5
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); }; }; then
28975 ac_header_compiler
=yes
28977 echo "$as_me: failed program was:" >&5
28978 sed 's/^/| /' conftest.
$ac_ext >&5
28980 ac_header_compiler
=no
28982 rm -f conftest.
$ac_objext conftest.
$ac_ext
28983 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28984 echo "${ECHO_T}$ac_header_compiler" >&6
28986 # Is the header present?
28987 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28988 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28989 cat >conftest.
$ac_ext <<_ACEOF
28990 #line $LINENO "configure"
28993 cat confdefs.h
>>conftest.
$ac_ext
28994 cat >>conftest.
$ac_ext <<_ACEOF
28995 /* end confdefs.h. */
28996 #include <$ac_header>
28998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28999 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29001 grep -v '^ *+' conftest.er1
>conftest.err
29003 cat conftest.err
>&5
29004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005 (exit $ac_status); } >/dev
/null
; then
29006 if test -s conftest.err
; then
29007 ac_cpp_err
=$ac_c_preproc_warn_flag
29014 if test -z "$ac_cpp_err"; then
29015 ac_header_preproc
=yes
29017 echo "$as_me: failed program was:" >&5
29018 sed 's/^/| /' conftest.
$ac_ext >&5
29020 ac_header_preproc
=no
29022 rm -f conftest.err conftest.
$ac_ext
29023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29024 echo "${ECHO_T}$ac_header_preproc" >&6
29026 # So? What about this header?
29027 case $ac_header_compiler:$ac_header_preproc in
29029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29032 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29035 ## ------------------------------------ ##
29036 ## Report this to bug-autoconf@gnu.org. ##
29037 ## ------------------------------------ ##
29040 sed "s/^/$as_me: WARNING: /" >&2
29043 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29044 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29045 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29046 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29051 ## ------------------------------------ ##
29052 ## Report this to bug-autoconf@gnu.org. ##
29053 ## ------------------------------------ ##
29056 sed "s/^/$as_me: WARNING: /" >&2
29059 echo "$as_me:$LINENO: checking for $ac_header" >&5
29060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29062 echo $ECHO_N "(cached) $ECHO_C" >&6
29064 eval "$as_ac_Header=$ac_header_preproc"
29066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29067 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29071 cat >>confdefs.h
<<_ACEOF
29072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29075 EXTRALIBS_ESD
="-lesd"
29086 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29087 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29088 cat >conftest.
$ac_ext <<_ACEOF
29089 #line $LINENO "configure"
29092 cat confdefs.h
>>conftest.
$ac_ext
29093 cat >>conftest.
$ac_ext <<_ACEOF
29094 /* end confdefs.h. */
29096 #include <linux/cdrom.h>
29099 #include <sys/cdio.h>
29105 struct cdrom_tocentry entry, old_entry;
29110 rm -f conftest.
$ac_objext
29111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29112 (eval $ac_compile) 2>&5
29114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29115 (exit $ac_status); } &&
29116 { ac_try
='test -s conftest.$ac_objext'
29117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29118 (eval $ac_try) 2>&5
29120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29121 (exit $ac_status); }; }; then
29122 echo "$as_me:$LINENO: result: yes" >&5
29123 echo "${ECHO_T}yes" >&6
29124 cat >>confdefs.h
<<\_ACEOF
29125 #define HAVE_KNOWN_CDROM_INTERFACE 1
29129 echo "$as_me: failed program was:" >&5
29130 sed 's/^/| /' conftest.
$ac_ext >&5
29132 echo "$as_me:$LINENO: result: no" >&5
29133 echo "${ECHO_T}no" >&6
29135 rm -f conftest.
$ac_objext conftest.
$ac_ext
29138 cat >confcache
<<\_ACEOF
29139 # This file is a shell script that caches the results of configure
29140 # tests run on this system so they can be shared between configure
29141 # scripts and configure runs, see configure's option --config-cache.
29142 # It is not useful on other systems. If it contains results you don't
29143 # want to keep, you may remove or edit it.
29145 # config.status only pays attention to the cache file if you give it
29146 # the --recheck option to rerun configure.
29148 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29149 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29150 # following values.
29154 # The following way of writing the cache mishandles newlines in values,
29155 # but we know of no workaround that is simple, portable, and efficient.
29156 # So, don't put newlines in cache variables' values.
29157 # Ultrix sh set writes to stderr and can't be redirected directly,
29158 # and sets the high bit in the cache file unless we assign to the vars.
29161 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29163 # `set' does not quote correctly, so add quotes (double-quote
29164 # substitution turns \\\\ into \\, and sed turns \\ into \).
29167 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29170 # `set' quotes correctly as required by POSIX, so do not add quotes.
29172 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29179 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29181 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29183 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
29184 if test -w $cache_file; then
29185 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29186 cat confcache
>$cache_file
29188 echo "not updating unwritable cache $cache_file"
29195 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29201 if test "$wxUSE_THREADS" = "yes" ; then
29202 if test "$USE_BEOS" = 1; then
29203 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29204 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29209 if test "$wxUSE_THREADS" = "yes" ; then
29212 THREAD_OPTS
="-pthread"
29214 *-*-solaris2* | *-*-sunos4* )
29215 if test "x$GCC" = "xyes"; then
29216 THREAD_OPTS
="-pthreads $THREAD_OPTS"
29218 THREAD_OPTS
="-mt $THREAD_OPTS"
29222 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
29224 *-*-darwin* | *-*-cygwin* )
29228 THREAD_OPTS
="pthreads"
29231 if test "x$GCC" != "xyes"; then
29237 if test "x$GCC" = "xyes"; then
29243 if test "x$GCC" != "xyes"; then
29244 THREAD_OPTS
="-Ethread"
29249 THREAD_OPTS
="$THREAD_OPTS pthread none"
29252 for flag
in $THREAD_OPTS; do
29255 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29256 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29260 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29261 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29262 THREADS_CFLAGS
="$flag"
29266 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29267 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29268 THREADS_LINK
="-l$flag"
29273 save_CFLAGS
="$CFLAGS"
29274 LIBS
="$THREADS_LINK $LIBS"
29275 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
29277 cat >conftest.
$ac_ext <<_ACEOF
29278 #line $LINENO "configure"
29281 cat confdefs.h
>>conftest.
$ac_ext
29282 cat >>conftest.
$ac_ext <<_ACEOF
29283 /* end confdefs.h. */
29284 #include <pthread.h>
29288 pthread_create(0,0,0,0);
29293 rm -f conftest.
$ac_objext conftest
$ac_exeext
29294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29295 (eval $ac_link) 2>&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); } &&
29299 { ac_try
='test -s conftest$ac_exeext'
29300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29301 (eval $ac_try) 2>&5
29303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29304 (exit $ac_status); }; }; then
29307 echo "$as_me: failed program was:" >&5
29308 sed 's/^/| /' conftest.
$ac_ext >&5
29311 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29314 CFLAGS
="$save_CFLAGS"
29316 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29317 echo "${ECHO_T}$THREADS_OK" >&6
29318 if test "x$THREADS_OK" = "xyes"; then
29326 if test "x$THREADS_OK" != "xyes"; then
29328 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29329 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29331 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
29332 LIBS
="$THREADS_LINK $LIBS"
29334 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29335 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29339 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
29340 flag
="-D_THREAD_SAFE"
29343 flag
="-D_THREAD_SAFE"
29346 flag
="-D_REENTRANT"
29347 if test "x$GCC" != "xyes"; then
29348 flag
="$flag -D_RWSTD_MULTI_THREAD"
29351 *solaris
* | alpha
*-osf*)
29352 flag
="-D_REENTRANT"
29355 echo "$as_me:$LINENO: result: ${flag}" >&5
29356 echo "${ECHO_T}${flag}" >&6
29357 if test "x$flag" != xno
; then
29358 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
29361 if test "x$THREADS_CFLAGS" != "x"; then
29362 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
29363 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
29368 if test "$wxUSE_THREADS" = "yes" ; then
29370 for ac_func
in thr_setconcurrency
29372 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29373 echo "$as_me:$LINENO: checking for $ac_func" >&5
29374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29375 if eval "test \"\${$as_ac_var+set}\" = set"; then
29376 echo $ECHO_N "(cached) $ECHO_C" >&6
29378 cat >conftest.
$ac_ext <<_ACEOF
29379 #line $LINENO "configure"
29382 cat confdefs.h
>>conftest.
$ac_ext
29383 cat >>conftest.
$ac_ext <<_ACEOF
29384 /* end confdefs.h. */
29385 /* System header to define __stub macros and hopefully few prototypes,
29386 which can conflict with char $ac_func (); below.
29387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29388 <limits.h> exists even on freestanding compilers. */
29390 # include <limits.h>
29392 # include <assert.h>
29394 /* Override any gcc2 internal prototype to avoid an error. */
29399 /* We use char because int might match the return type of a gcc2
29400 builtin and then its argument prototype would still apply. */
29402 /* The GNU C library defines this for functions which it implements
29403 to always fail with ENOSYS. Some functions are actually named
29404 something starting with __ and the normal name is an alias. */
29405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29408 char (*f) () = $ac_func;
29417 return f != $ac_func;
29422 rm -f conftest.
$ac_objext conftest
$ac_exeext
29423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29424 (eval $ac_link) 2>&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } &&
29428 { ac_try
='test -s conftest$ac_exeext'
29429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29430 (eval $ac_try) 2>&5
29432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29433 (exit $ac_status); }; }; then
29434 eval "$as_ac_var=yes"
29436 echo "$as_me: failed program was:" >&5
29437 sed 's/^/| /' conftest.
$ac_ext >&5
29439 eval "$as_ac_var=no"
29441 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29445 if test `eval echo '${'$as_ac_var'}'` = yes; then
29446 cat >>confdefs.h
<<_ACEOF
29447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29455 for ac_header
in sched.h
29457 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29459 echo "$as_me:$LINENO: checking for $ac_header" >&5
29460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29462 echo $ECHO_N "(cached) $ECHO_C" >&6
29464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29467 # Is the header compilable?
29468 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29470 cat >conftest.
$ac_ext <<_ACEOF
29471 #line $LINENO "configure"
29474 cat confdefs.h
>>conftest.
$ac_ext
29475 cat >>conftest.
$ac_ext <<_ACEOF
29476 /* end confdefs.h. */
29477 $ac_includes_default
29478 #include <$ac_header>
29480 rm -f conftest.
$ac_objext
29481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29482 (eval $ac_compile) 2>&5
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); } &&
29486 { ac_try
='test -s conftest.$ac_objext'
29487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29488 (eval $ac_try) 2>&5
29490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29491 (exit $ac_status); }; }; then
29492 ac_header_compiler
=yes
29494 echo "$as_me: failed program was:" >&5
29495 sed 's/^/| /' conftest.
$ac_ext >&5
29497 ac_header_compiler
=no
29499 rm -f conftest.
$ac_objext conftest.
$ac_ext
29500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29501 echo "${ECHO_T}$ac_header_compiler" >&6
29503 # Is the header present?
29504 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29505 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29506 cat >conftest.
$ac_ext <<_ACEOF
29507 #line $LINENO "configure"
29510 cat confdefs.h
>>conftest.
$ac_ext
29511 cat >>conftest.
$ac_ext <<_ACEOF
29512 /* end confdefs.h. */
29513 #include <$ac_header>
29515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29516 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29518 grep -v '^ *+' conftest.er1
>conftest.err
29520 cat conftest.err
>&5
29521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29522 (exit $ac_status); } >/dev
/null
; then
29523 if test -s conftest.err
; then
29524 ac_cpp_err
=$ac_c_preproc_warn_flag
29531 if test -z "$ac_cpp_err"; then
29532 ac_header_preproc
=yes
29534 echo "$as_me: failed program was:" >&5
29535 sed 's/^/| /' conftest.
$ac_ext >&5
29537 ac_header_preproc
=no
29539 rm -f conftest.err conftest.
$ac_ext
29540 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29541 echo "${ECHO_T}$ac_header_preproc" >&6
29543 # So? What about this header?
29544 case $ac_header_compiler:$ac_header_preproc in
29546 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29547 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29552 ## ------------------------------------ ##
29553 ## Report this to bug-autoconf@gnu.org. ##
29554 ## ------------------------------------ ##
29557 sed "s/^/$as_me: WARNING: /" >&2
29560 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29561 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29562 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29563 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29565 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29568 ## ------------------------------------ ##
29569 ## Report this to bug-autoconf@gnu.org. ##
29570 ## ------------------------------------ ##
29573 sed "s/^/$as_me: WARNING: /" >&2
29576 echo "$as_me:$LINENO: checking for $ac_header" >&5
29577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29579 echo $ECHO_N "(cached) $ECHO_C" >&6
29581 eval "$as_ac_Header=$ac_header_preproc"
29583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29588 cat >>confdefs.h
<<_ACEOF
29589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29596 if test "$ac_cv_header_sched_h" = "yes"; then
29597 echo "$as_me:$LINENO: checking for sched_yield" >&5
29598 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29599 if test "${ac_cv_func_sched_yield+set}" = set; then
29600 echo $ECHO_N "(cached) $ECHO_C" >&6
29602 cat >conftest.
$ac_ext <<_ACEOF
29603 #line $LINENO "configure"
29606 cat confdefs.h
>>conftest.
$ac_ext
29607 cat >>conftest.
$ac_ext <<_ACEOF
29608 /* end confdefs.h. */
29609 /* System header to define __stub macros and hopefully few prototypes,
29610 which can conflict with char sched_yield (); below.
29611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29612 <limits.h> exists even on freestanding compilers. */
29614 # include <limits.h>
29616 # include <assert.h>
29618 /* Override any gcc2 internal prototype to avoid an error. */
29623 /* We use char because int might match the return type of a gcc2
29624 builtin and then its argument prototype would still apply. */
29625 char sched_yield ();
29626 /* The GNU C library defines this for functions which it implements
29627 to always fail with ENOSYS. Some functions are actually named
29628 something starting with __ and the normal name is an alias. */
29629 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29632 char (*f) () = sched_yield;
29641 return f != sched_yield;
29646 rm -f conftest.
$ac_objext conftest
$ac_exeext
29647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29648 (eval $ac_link) 2>&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } &&
29652 { ac_try
='test -s conftest$ac_exeext'
29653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29654 (eval $ac_try) 2>&5
29656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29657 (exit $ac_status); }; }; then
29658 ac_cv_func_sched_yield
=yes
29660 echo "$as_me: failed program was:" >&5
29661 sed 's/^/| /' conftest.
$ac_ext >&5
29663 ac_cv_func_sched_yield
=no
29665 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29667 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29668 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29669 if test $ac_cv_func_sched_yield = yes; then
29670 cat >>confdefs.h
<<\_ACEOF
29671 #define HAVE_SCHED_YIELD 1
29676 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29677 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29678 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29679 echo $ECHO_N "(cached) $ECHO_C" >&6
29681 ac_check_lib_save_LIBS
=$LIBS
29682 LIBS
="-lposix4 $LIBS"
29683 cat >conftest.
$ac_ext <<_ACEOF
29684 #line $LINENO "configure"
29687 cat confdefs.h
>>conftest.
$ac_ext
29688 cat >>conftest.
$ac_ext <<_ACEOF
29689 /* end confdefs.h. */
29691 /* Override any gcc2 internal prototype to avoid an error. */
29695 /* We use char because int might match the return type of a gcc2
29696 builtin and then its argument prototype would still apply. */
29697 char sched_yield ();
29706 rm -f conftest.
$ac_objext conftest
$ac_exeext
29707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29708 (eval $ac_link) 2>&5
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); } &&
29712 { ac_try
='test -s conftest$ac_exeext'
29713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29714 (eval $ac_try) 2>&5
29716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29717 (exit $ac_status); }; }; then
29718 ac_cv_lib_posix4_sched_yield
=yes
29720 echo "$as_me: failed program was:" >&5
29721 sed 's/^/| /' conftest.
$ac_ext >&5
29723 ac_cv_lib_posix4_sched_yield
=no
29725 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29726 LIBS
=$ac_check_lib_save_LIBS
29728 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29729 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29730 if test $ac_cv_lib_posix4_sched_yield = yes; then
29731 cat >>confdefs.h
<<\_ACEOF
29732 #define HAVE_SCHED_YIELD 1
29734 POSIX4_LINK
=" -lposix4"
29736 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29737 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29748 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29749 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29750 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29751 echo $ECHO_N "(cached) $ECHO_C" >&6
29753 cat >conftest.
$ac_ext <<_ACEOF
29754 #line $LINENO "configure"
29757 cat confdefs.h
>>conftest.
$ac_ext
29758 cat >>conftest.
$ac_ext <<_ACEOF
29759 /* end confdefs.h. */
29760 /* System header to define __stub macros and hopefully few prototypes,
29761 which can conflict with char pthread_attr_getschedpolicy (); below.
29762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29763 <limits.h> exists even on freestanding compilers. */
29765 # include <limits.h>
29767 # include <assert.h>
29769 /* Override any gcc2 internal prototype to avoid an error. */
29774 /* We use char because int might match the return type of a gcc2
29775 builtin and then its argument prototype would still apply. */
29776 char pthread_attr_getschedpolicy ();
29777 /* The GNU C library defines this for functions which it implements
29778 to always fail with ENOSYS. Some functions are actually named
29779 something starting with __ and the normal name is an alias. */
29780 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29783 char (*f) () = pthread_attr_getschedpolicy;
29792 return f != pthread_attr_getschedpolicy;
29797 rm -f conftest.
$ac_objext conftest
$ac_exeext
29798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29799 (eval $ac_link) 2>&5
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); } &&
29803 { ac_try
='test -s conftest$ac_exeext'
29804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29805 (eval $ac_try) 2>&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); }; }; then
29809 ac_cv_func_pthread_attr_getschedpolicy
=yes
29811 echo "$as_me: failed program was:" >&5
29812 sed 's/^/| /' conftest.
$ac_ext >&5
29814 ac_cv_func_pthread_attr_getschedpolicy
=no
29816 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29818 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29819 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29820 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29821 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29822 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29823 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29824 echo $ECHO_N "(cached) $ECHO_C" >&6
29826 cat >conftest.
$ac_ext <<_ACEOF
29827 #line $LINENO "configure"
29830 cat confdefs.h
>>conftest.
$ac_ext
29831 cat >>conftest.
$ac_ext <<_ACEOF
29832 /* end confdefs.h. */
29833 /* System header to define __stub macros and hopefully few prototypes,
29834 which can conflict with char pthread_attr_setschedparam (); below.
29835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29836 <limits.h> exists even on freestanding compilers. */
29838 # include <limits.h>
29840 # include <assert.h>
29842 /* Override any gcc2 internal prototype to avoid an error. */
29847 /* We use char because int might match the return type of a gcc2
29848 builtin and then its argument prototype would still apply. */
29849 char pthread_attr_setschedparam ();
29850 /* The GNU C library defines this for functions which it implements
29851 to always fail with ENOSYS. Some functions are actually named
29852 something starting with __ and the normal name is an alias. */
29853 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29856 char (*f) () = pthread_attr_setschedparam;
29865 return f != pthread_attr_setschedparam;
29870 rm -f conftest.
$ac_objext conftest
$ac_exeext
29871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29872 (eval $ac_link) 2>&5
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); } &&
29876 { ac_try
='test -s conftest$ac_exeext'
29877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29878 (eval $ac_try) 2>&5
29880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29881 (exit $ac_status); }; }; then
29882 ac_cv_func_pthread_attr_setschedparam
=yes
29884 echo "$as_me: failed program was:" >&5
29885 sed 's/^/| /' conftest.
$ac_ext >&5
29887 ac_cv_func_pthread_attr_setschedparam
=no
29889 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29891 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29892 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29893 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29894 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29895 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29896 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29897 echo $ECHO_N "(cached) $ECHO_C" >&6
29899 cat >conftest.
$ac_ext <<_ACEOF
29900 #line $LINENO "configure"
29903 cat confdefs.h
>>conftest.
$ac_ext
29904 cat >>conftest.
$ac_ext <<_ACEOF
29905 /* end confdefs.h. */
29906 /* System header to define __stub macros and hopefully few prototypes,
29907 which can conflict with char sched_get_priority_max (); below.
29908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29909 <limits.h> exists even on freestanding compilers. */
29911 # include <limits.h>
29913 # include <assert.h>
29915 /* Override any gcc2 internal prototype to avoid an error. */
29920 /* We use char because int might match the return type of a gcc2
29921 builtin and then its argument prototype would still apply. */
29922 char sched_get_priority_max ();
29923 /* The GNU C library defines this for functions which it implements
29924 to always fail with ENOSYS. Some functions are actually named
29925 something starting with __ and the normal name is an alias. */
29926 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29929 char (*f) () = sched_get_priority_max;
29938 return f != sched_get_priority_max;
29943 rm -f conftest.
$ac_objext conftest
$ac_exeext
29944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29945 (eval $ac_link) 2>&5
29947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29948 (exit $ac_status); } &&
29949 { ac_try
='test -s conftest$ac_exeext'
29950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29951 (eval $ac_try) 2>&5
29953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954 (exit $ac_status); }; }; then
29955 ac_cv_func_sched_get_priority_max
=yes
29957 echo "$as_me: failed program was:" >&5
29958 sed 's/^/| /' conftest.
$ac_ext >&5
29960 ac_cv_func_sched_get_priority_max
=no
29962 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29964 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29965 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29966 if test $ac_cv_func_sched_get_priority_max = yes; then
29969 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29970 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29971 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29972 echo $ECHO_N "(cached) $ECHO_C" >&6
29974 ac_check_lib_save_LIBS
=$LIBS
29975 LIBS
="-lposix4 $LIBS"
29976 cat >conftest.
$ac_ext <<_ACEOF
29977 #line $LINENO "configure"
29980 cat confdefs.h
>>conftest.
$ac_ext
29981 cat >>conftest.
$ac_ext <<_ACEOF
29982 /* end confdefs.h. */
29984 /* Override any gcc2 internal prototype to avoid an error. */
29988 /* We use char because int might match the return type of a gcc2
29989 builtin and then its argument prototype would still apply. */
29990 char sched_get_priority_max ();
29994 sched_get_priority_max ();
29999 rm -f conftest.
$ac_objext conftest
$ac_exeext
30000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30001 (eval $ac_link) 2>&5
30003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30004 (exit $ac_status); } &&
30005 { ac_try
='test -s conftest$ac_exeext'
30006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30007 (eval $ac_try) 2>&5
30009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30010 (exit $ac_status); }; }; then
30011 ac_cv_lib_posix4_sched_get_priority_max
=yes
30013 echo "$as_me: failed program was:" >&5
30014 sed 's/^/| /' conftest.
$ac_ext >&5
30016 ac_cv_lib_posix4_sched_get_priority_max
=no
30018 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30019 LIBS
=$ac_check_lib_save_LIBS
30021 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30022 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30023 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30026 POSIX4_LINK
=" -lposix4"
30040 if test "$HAVE_PRIOR_FUNCS" = 1; then
30041 cat >>confdefs.h
<<\_ACEOF
30042 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30046 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30047 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30050 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30051 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30052 if test "${ac_cv_func_pthread_cancel+set}" = set; then
30053 echo $ECHO_N "(cached) $ECHO_C" >&6
30055 cat >conftest.
$ac_ext <<_ACEOF
30056 #line $LINENO "configure"
30059 cat confdefs.h
>>conftest.
$ac_ext
30060 cat >>conftest.
$ac_ext <<_ACEOF
30061 /* end confdefs.h. */
30062 /* System header to define __stub macros and hopefully few prototypes,
30063 which can conflict with char pthread_cancel (); below.
30064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30065 <limits.h> exists even on freestanding compilers. */
30067 # include <limits.h>
30069 # include <assert.h>
30071 /* Override any gcc2 internal prototype to avoid an error. */
30076 /* We use char because int might match the return type of a gcc2
30077 builtin and then its argument prototype would still apply. */
30078 char pthread_cancel ();
30079 /* The GNU C library defines this for functions which it implements
30080 to always fail with ENOSYS. Some functions are actually named
30081 something starting with __ and the normal name is an alias. */
30082 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30085 char (*f) () = pthread_cancel;
30094 return f != pthread_cancel;
30099 rm -f conftest.
$ac_objext conftest
$ac_exeext
30100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30101 (eval $ac_link) 2>&5
30103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104 (exit $ac_status); } &&
30105 { ac_try
='test -s conftest$ac_exeext'
30106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30107 (eval $ac_try) 2>&5
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); }; }; then
30111 ac_cv_func_pthread_cancel
=yes
30113 echo "$as_me: failed program was:" >&5
30114 sed 's/^/| /' conftest.
$ac_ext >&5
30116 ac_cv_func_pthread_cancel
=no
30118 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30120 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30121 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30122 if test $ac_cv_func_pthread_cancel = yes; then
30123 cat >>confdefs.h
<<\_ACEOF
30124 #define HAVE_PTHREAD_CANCEL 1
30128 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30129 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30135 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30136 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30137 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30138 echo $ECHO_N "(cached) $ECHO_C" >&6
30141 cat >conftest.
$ac_ext <<_ACEOF
30142 #line $LINENO "configure"
30145 cat confdefs.h
>>conftest.
$ac_ext
30146 cat >>conftest.
$ac_ext <<_ACEOF
30147 /* end confdefs.h. */
30148 #include <pthread.h>
30153 pthread_mutexattr_t attr;
30154 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30160 rm -f conftest.
$ac_objext
30161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30162 (eval $ac_compile) 2>&5
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); } &&
30166 { ac_try
='test -s conftest.$ac_objext'
30167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30168 (eval $ac_try) 2>&5
30170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30171 (exit $ac_status); }; }; then
30173 wx_cv_type_pthread_mutexattr_t
=yes
30176 echo "$as_me: failed program was:" >&5
30177 sed 's/^/| /' conftest.
$ac_ext >&5
30180 wx_cv_type_pthread_mutexattr_t
=no
30184 rm -f conftest.
$ac_objext conftest.
$ac_ext
30187 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30188 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30190 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30191 cat >>confdefs.h
<<\_ACEOF
30192 #define HAVE_PTHREAD_MUTEXATTR_T 1
30196 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30197 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30198 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30199 echo $ECHO_N "(cached) $ECHO_C" >&6
30202 cat >conftest.
$ac_ext <<_ACEOF
30203 #line $LINENO "configure"
30206 cat confdefs.h
>>conftest.
$ac_ext
30207 cat >>conftest.
$ac_ext <<_ACEOF
30208 /* end confdefs.h. */
30209 #include <pthread.h>
30214 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30220 rm -f conftest.
$ac_objext
30221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30222 (eval $ac_compile) 2>&5
30224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 (exit $ac_status); } &&
30226 { ac_try
='test -s conftest.$ac_objext'
30227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30228 (eval $ac_try) 2>&5
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); }; }; then
30233 wx_cv_type_pthread_rec_mutex_init
=yes
30236 echo "$as_me: failed program was:" >&5
30237 sed 's/^/| /' conftest.
$ac_ext >&5
30240 wx_cv_type_pthread_rec_mutex_init
=no
30244 rm -f conftest.
$ac_objext conftest.
$ac_ext
30247 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30248 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30249 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30250 cat >>confdefs.h
<<\_ACEOF
30251 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30255 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30256 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30262 if test "$wxUSE_THREADS" = "yes" ; then
30265 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30266 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30267 if test "${wx_cv_cflags_mthread+set}" = set; then
30268 echo $ECHO_N "(cached) $ECHO_C" >&6
30271 CFLAGS_OLD
="$CFLAGS"
30272 CFLAGS
="$CFLAGS -mthreads"
30273 cat >conftest.
$ac_ext <<_ACEOF
30274 #line $LINENO "configure"
30277 cat confdefs.h
>>conftest.
$ac_ext
30278 cat >>conftest.
$ac_ext <<_ACEOF
30279 /* end confdefs.h. */
30289 rm -f conftest.
$ac_objext
30290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30291 (eval $ac_compile) 2>&5
30293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30294 (exit $ac_status); } &&
30295 { ac_try
='test -s conftest.$ac_objext'
30296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30297 (eval $ac_try) 2>&5
30299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30300 (exit $ac_status); }; }; then
30301 wx_cv_cflags_mthread
=yes
30303 echo "$as_me: failed program was:" >&5
30304 sed 's/^/| /' conftest.
$ac_ext >&5
30306 wx_cv_cflags_mthread
=no
30309 rm -f conftest.
$ac_objext conftest.
$ac_ext
30313 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30314 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30316 if test "$wx_cv_cflags_mthread" = "yes"; then
30317 CXXFLAGS
="$CXXFLAGS -mthreads"
30318 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
30319 LDFLAGS
="$LDFLAGS -mthreads"
30321 CFLAGS
="$CFLAGS_OLD"
30325 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30326 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30327 LDFLAGS
="$LDFLAGS -Zmt"
30333 if test "$wxUSE_THREADS" = "yes"; then
30334 cat >>confdefs.h
<<\_ACEOF
30335 #define wxUSE_THREADS 1
30339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
30341 if test "$ac_cv_func_strtok_r" = "yes"; then
30342 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30343 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30344 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30345 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
30346 echo "$as_me:$LINENO: result: yes" >&5
30347 echo "${ECHO_T}yes" >&6
30349 echo "$as_me:$LINENO: result: no" >&5
30350 echo "${ECHO_T}no" >&6
30355 if test "$WXGTK20" = 1 ; then
30356 cat >>confdefs.h
<<_ACEOF
30357 #define __WXGTK20__ $WXGTK20
30363 if test "$WXGTK12" = 1 ; then
30364 cat >>confdefs.h
<<_ACEOF
30365 #define __WXGTK12__ $WXGTK12
30370 if test "$WXGTK127" = 1 ; then
30371 cat >>confdefs.h
<<_ACEOF
30372 #define __WXGTK127__ $WXGTK127
30379 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30384 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30385 wxUSE_DEBUG_INFO
=yes
30389 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30390 cat >>confdefs.h
<<\_ACEOF
30394 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30396 if test "$wxUSE_GTK" = 1 ; then
30397 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30401 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30402 cat >>confdefs.h
<<\_ACEOF
30403 #define wxUSE_MEMORY_TRACING 1
30406 cat >>confdefs.h
<<\_ACEOF
30407 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30410 cat >>confdefs.h
<<\_ACEOF
30411 #define wxUSE_DEBUG_NEW_ALWAYS 1
30414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30417 if test "$wxUSE_DMALLOC" = "yes" ; then
30418 DMALLOC_LIBS
="-ldmalloc"
30422 if test "$wxUSE_PROFILE" = "yes" ; then
30427 CODE_GEN_FLAGS_CXX
=
30428 if test "$GCC" = "yes" ; then
30429 if test "$wxUSE_NO_RTTI" = "yes" ; then
30430 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30432 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30433 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30435 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30436 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30441 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30444 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30450 if test "$wxUSE_OPTIMISE" = "no" ; then
30451 if test "$GCC" = yes ; then
30455 if test "$GCC" = yes ; then
30459 i586
-*-*|i686
-*-* )
30460 OPTIMISE
="${OPTIMISE} "
30469 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30470 cat >>confdefs.h
<<\_ACEOF
30471 #define WXWIN_COMPATIBILITY_2_2 1
30475 WXWIN_COMPATIBILITY_2_4
="yes"
30478 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30479 cat >>confdefs.h
<<\_ACEOF
30480 #define WXWIN_COMPATIBILITY_2_4 1
30486 if test "$wxUSE_GUI" = "yes"; then
30487 cat >>confdefs.h
<<\_ACEOF
30488 #define wxUSE_GUI 1
30493 cat >>confdefs.h
<<\_ACEOF
30494 #define wxUSE_NOGUI 1
30500 if test "$wxUSE_UNIX" = "yes"; then
30501 cat >>confdefs.h
<<\_ACEOF
30502 #define wxUSE_UNIX 1
30508 if test "$wxUSE_STL" = "yes"; then
30509 cat >>confdefs.h
<<\_ACEOF
30510 #define wxUSE_STL 1
30515 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30516 cat >>confdefs.h
<<\_ACEOF
30517 #define wxUSE_APPLE_IEEE 1
30522 if test "$wxUSE_TIMER" = "yes"; then
30523 cat >>confdefs.h
<<\_ACEOF
30524 #define wxUSE_TIMER 1
30529 if test "$wxUSE_WAVE" = "yes"; then
30530 cat >>confdefs.h
<<\_ACEOF
30531 #define wxUSE_WAVE 1
30536 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30537 cat >>confdefs.h
<<\_ACEOF
30538 #define wxUSE_CMDLINE_PARSER 1
30543 if test "$wxUSE_STOPWATCH" = "yes"; then
30544 cat >>confdefs.h
<<\_ACEOF
30545 #define wxUSE_STOPWATCH 1
30550 if test "$wxUSE_DATETIME" = "yes"; then
30551 cat >>confdefs.h
<<\_ACEOF
30552 #define wxUSE_DATETIME 1
30557 if test "$wxUSE_FILE" = "yes"; then
30558 cat >>confdefs.h
<<\_ACEOF
30559 #define wxUSE_FILE 1
30564 if test "$wxUSE_FFILE" = "yes"; then
30565 cat >>confdefs.h
<<\_ACEOF
30566 #define wxUSE_FFILE 1
30571 if test "$wxUSE_FILESYSTEM" = "yes"; then
30572 cat >>confdefs.h
<<\_ACEOF
30573 #define wxUSE_FILESYSTEM 1
30578 if test "$wxUSE_FS_ZIP" = "yes"; then
30579 cat >>confdefs.h
<<\_ACEOF
30580 #define wxUSE_FS_ZIP 1
30585 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30586 cat >>confdefs.h
<<\_ACEOF
30587 #define wxUSE_ZIPSTREAM 1
30592 if test "$wxUSE_GZSTREAM" = "yes"; then
30593 cat >>confdefs.h
<<\_ACEOF
30594 #define wxUSE_GZSTREAM 1
30599 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30600 cat >>confdefs.h
<<\_ACEOF
30601 #define wxUSE_ON_FATAL_EXCEPTION 1
30606 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30607 cat >>confdefs.h
<<\_ACEOF
30608 #define wxUSE_SNGLINST_CHECKER 1
30613 if test "$wxUSE_BUSYINFO" = "yes"; then
30614 cat >>confdefs.h
<<\_ACEOF
30615 #define wxUSE_BUSYINFO 1
30620 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30621 cat >>confdefs.h
<<\_ACEOF
30622 #define wxUSE_STD_IOSTREAM 1
30627 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30628 cat >>confdefs.h
<<\_ACEOF
30629 #define wxUSE_TEXTBUFFER 1
30634 if test "$wxUSE_TEXTFILE" = "yes"; then
30635 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30636 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30637 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30639 cat >>confdefs.h
<<\_ACEOF
30640 #define wxUSE_TEXTFILE 1
30646 if test "$wxUSE_CONFIG" = "yes" ; then
30647 if test "$wxUSE_TEXTFILE" != "yes"; then
30648 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30649 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30651 cat >>confdefs.h
<<\_ACEOF
30652 #define wxUSE_CONFIG 1
30655 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30659 if test "$wxUSE_INTL" = "yes" ; then
30660 if test "$wxUSE_FILE" != "yes"; then
30661 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30662 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30664 cat >>confdefs.h
<<\_ACEOF
30665 #define wxUSE_INTL 1
30668 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30669 GUIDIST
="$GUIDIST INTL_DIST"
30673 if test "$wxUSE_LOG" = "yes"; then
30674 cat >>confdefs.h
<<\_ACEOF
30675 #define wxUSE_LOG 1
30679 if test "$wxUSE_LOGGUI" = "yes"; then
30680 cat >>confdefs.h
<<\_ACEOF
30681 #define wxUSE_LOGGUI 1
30686 if test "$wxUSE_LOGWINDOW" = "yes"; then
30687 cat >>confdefs.h
<<\_ACEOF
30688 #define wxUSE_LOGWINDOW 1
30693 if test "$wxUSE_LOGDIALOG" = "yes"; then
30694 cat >>confdefs.h
<<\_ACEOF
30695 #define wxUSE_LOG_DIALOG 1
30701 if test "$wxUSE_LONGLONG" = "yes"; then
30702 cat >>confdefs.h
<<\_ACEOF
30703 #define wxUSE_LONGLONG 1
30708 if test "$wxUSE_GEOMETRY" = "yes"; then
30709 cat >>confdefs.h
<<\_ACEOF
30710 #define wxUSE_GEOMETRY 1
30715 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30716 cat >>confdefs.h
<<\_ACEOF
30717 #define wxUSE_DIALUP_MANAGER 1
30720 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30723 if test "$wxUSE_STREAMS" = "yes" ; then
30724 cat >>confdefs.h
<<\_ACEOF
30725 #define wxUSE_STREAMS 1
30731 if test "$wxUSE_DATETIME" = "yes"; then
30733 for ac_func
in strptime
30735 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30736 echo "$as_me:$LINENO: checking for $ac_func" >&5
30737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30738 if eval "test \"\${$as_ac_var+set}\" = set"; then
30739 echo $ECHO_N "(cached) $ECHO_C" >&6
30741 cat >conftest.
$ac_ext <<_ACEOF
30742 #line $LINENO "configure"
30745 cat confdefs.h
>>conftest.
$ac_ext
30746 cat >>conftest.
$ac_ext <<_ACEOF
30747 /* end confdefs.h. */
30748 /* System header to define __stub macros and hopefully few prototypes,
30749 which can conflict with char $ac_func (); below.
30750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30751 <limits.h> exists even on freestanding compilers. */
30753 # include <limits.h>
30755 # include <assert.h>
30757 /* Override any gcc2 internal prototype to avoid an error. */
30762 /* We use char because int might match the return type of a gcc2
30763 builtin and then its argument prototype would still apply. */
30765 /* The GNU C library defines this for functions which it implements
30766 to always fail with ENOSYS. Some functions are actually named
30767 something starting with __ and the normal name is an alias. */
30768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30771 char (*f) () = $ac_func;
30780 return f != $ac_func;
30785 rm -f conftest.
$ac_objext conftest
$ac_exeext
30786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30787 (eval $ac_link) 2>&5
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); } &&
30791 { ac_try
='test -s conftest$ac_exeext'
30792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30793 (eval $ac_try) 2>&5
30795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30796 (exit $ac_status); }; }; then
30797 eval "$as_ac_var=yes"
30799 echo "$as_me: failed program was:" >&5
30800 sed 's/^/| /' conftest.
$ac_ext >&5
30802 eval "$as_ac_var=no"
30804 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30808 if test `eval echo '${'$as_ac_var'}'` = yes; then
30809 cat >>confdefs.h
<<_ACEOF
30810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30817 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30818 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30819 if test "${wx_cv_var_timezone+set}" = set; then
30820 echo $ECHO_N "(cached) $ECHO_C" >&6
30823 cat >conftest.
$ac_ext <<_ACEOF
30824 #line $LINENO "configure"
30827 cat confdefs.h
>>conftest.
$ac_ext
30828 cat >>conftest.
$ac_ext <<_ACEOF
30829 /* end confdefs.h. */
30844 rm -f conftest.
$ac_objext
30845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30846 (eval $ac_compile) 2>&5
30848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849 (exit $ac_status); } &&
30850 { ac_try
='test -s conftest.$ac_objext'
30851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30852 (eval $ac_try) 2>&5
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); }; }; then
30857 wx_cv_var_timezone
=timezone
30860 echo "$as_me: failed program was:" >&5
30861 sed 's/^/| /' conftest.
$ac_ext >&5
30864 cat >conftest.
$ac_ext <<_ACEOF
30865 #line $LINENO "configure"
30868 cat confdefs.h
>>conftest.
$ac_ext
30869 cat >>conftest.
$ac_ext <<_ACEOF
30870 /* end confdefs.h. */
30885 rm -f conftest.
$ac_objext
30886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30887 (eval $ac_compile) 2>&5
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); } &&
30891 { ac_try
='test -s conftest.$ac_objext'
30892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30893 (eval $ac_try) 2>&5
30895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30896 (exit $ac_status); }; }; then
30898 wx_cv_var_timezone
=_timezone
30901 echo "$as_me: failed program was:" >&5
30902 sed 's/^/| /' conftest.
$ac_ext >&5
30905 cat >conftest.
$ac_ext <<_ACEOF
30906 #line $LINENO "configure"
30909 cat confdefs.h
>>conftest.
$ac_ext
30910 cat >>conftest.
$ac_ext <<_ACEOF
30911 /* end confdefs.h. */
30926 rm -f conftest.
$ac_objext
30927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30928 (eval $ac_compile) 2>&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); } &&
30932 { ac_try
='test -s conftest.$ac_objext'
30933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30934 (eval $ac_try) 2>&5
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); }; }; then
30939 wx_cv_var_timezone
=__timezone
30942 echo "$as_me: failed program was:" >&5
30943 sed 's/^/| /' conftest.
$ac_ext >&5
30946 if test "$USE_DOS" = 0 ; then
30947 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30948 echo "$as_me: WARNING: no timezone variable" >&2;}
30953 rm -f conftest.
$ac_objext conftest.
$ac_ext
30957 rm -f conftest.
$ac_objext conftest.
$ac_ext
30961 rm -f conftest.
$ac_objext conftest.
$ac_ext
30965 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30966 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30968 if test "x$wx_cv_var_timezone" != x
; then
30969 cat >>confdefs.h
<<_ACEOF
30970 #define WX_TIMEZONE $wx_cv_var_timezone
30976 for ac_func
in localtime
30978 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30979 echo "$as_me:$LINENO: checking for $ac_func" >&5
30980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30981 if eval "test \"\${$as_ac_var+set}\" = set"; then
30982 echo $ECHO_N "(cached) $ECHO_C" >&6
30984 cat >conftest.
$ac_ext <<_ACEOF
30985 #line $LINENO "configure"
30988 cat confdefs.h
>>conftest.
$ac_ext
30989 cat >>conftest.
$ac_ext <<_ACEOF
30990 /* end confdefs.h. */
30991 /* System header to define __stub macros and hopefully few prototypes,
30992 which can conflict with char $ac_func (); below.
30993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30994 <limits.h> exists even on freestanding compilers. */
30996 # include <limits.h>
30998 # include <assert.h>
31000 /* Override any gcc2 internal prototype to avoid an error. */
31005 /* We use char because int might match the return type of a gcc2
31006 builtin and then its argument prototype would still apply. */
31008 /* The GNU C library defines this for functions which it implements
31009 to always fail with ENOSYS. Some functions are actually named
31010 something starting with __ and the normal name is an alias. */
31011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31014 char (*f) () = $ac_func;
31023 return f != $ac_func;
31028 rm -f conftest.
$ac_objext conftest
$ac_exeext
31029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31030 (eval $ac_link) 2>&5
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); } &&
31034 { ac_try
='test -s conftest$ac_exeext'
31035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31036 (eval $ac_try) 2>&5
31038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039 (exit $ac_status); }; }; then
31040 eval "$as_ac_var=yes"
31042 echo "$as_me: failed program was:" >&5
31043 sed 's/^/| /' conftest.
$ac_ext >&5
31045 eval "$as_ac_var=no"
31047 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31051 if test `eval echo '${'$as_ac_var'}'` = yes; then
31052 cat >>confdefs.h
<<_ACEOF
31053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31060 if test "$ac_cv_func_localtime" = "yes"; then
31061 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
31062 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
31063 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
31064 echo $ECHO_N "(cached) $ECHO_C" >&6
31067 cat >conftest.
$ac_ext <<_ACEOF
31068 #line $LINENO "configure"
31071 cat confdefs.h
>>conftest.
$ac_ext
31072 cat >>conftest.
$ac_ext <<_ACEOF
31073 /* end confdefs.h. */
31088 rm -f conftest.
$ac_objext
31089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31090 (eval $ac_compile) 2>&5
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); } &&
31094 { ac_try
='test -s conftest.$ac_objext'
31095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31096 (eval $ac_try) 2>&5
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); }; }; then
31101 wx_cv_struct_tm_has_gmtoff
=yes
31104 echo "$as_me: failed program was:" >&5
31105 sed 's/^/| /' conftest.
$ac_ext >&5
31107 wx_cv_struct_tm_has_gmtoff
=no
31110 rm -f conftest.
$ac_objext conftest.
$ac_ext
31113 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
31114 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
31117 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
31118 cat >>confdefs.h
<<\_ACEOF
31119 #define WX_GMTOFF_IN_TM 1
31126 for ac_func
in gettimeofday ftime
31128 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31129 echo "$as_me:$LINENO: checking for $ac_func" >&5
31130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31131 if eval "test \"\${$as_ac_var+set}\" = set"; then
31132 echo $ECHO_N "(cached) $ECHO_C" >&6
31134 cat >conftest.
$ac_ext <<_ACEOF
31135 #line $LINENO "configure"
31138 cat confdefs.h
>>conftest.
$ac_ext
31139 cat >>conftest.
$ac_ext <<_ACEOF
31140 /* end confdefs.h. */
31141 /* System header to define __stub macros and hopefully few prototypes,
31142 which can conflict with char $ac_func (); below.
31143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31144 <limits.h> exists even on freestanding compilers. */
31146 # include <limits.h>
31148 # include <assert.h>
31150 /* Override any gcc2 internal prototype to avoid an error. */
31155 /* We use char because int might match the return type of a gcc2
31156 builtin and then its argument prototype would still apply. */
31158 /* The GNU C library defines this for functions which it implements
31159 to always fail with ENOSYS. Some functions are actually named
31160 something starting with __ and the normal name is an alias. */
31161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31164 char (*f) () = $ac_func;
31173 return f != $ac_func;
31178 rm -f conftest.
$ac_objext conftest
$ac_exeext
31179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31180 (eval $ac_link) 2>&5
31182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183 (exit $ac_status); } &&
31184 { ac_try
='test -s conftest$ac_exeext'
31185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31186 (eval $ac_try) 2>&5
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); }; }; then
31190 eval "$as_ac_var=yes"
31192 echo "$as_me: failed program was:" >&5
31193 sed 's/^/| /' conftest.
$ac_ext >&5
31195 eval "$as_ac_var=no"
31197 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31201 if test `eval echo '${'$as_ac_var'}'` = yes; then
31202 cat >>confdefs.h
<<_ACEOF
31203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31210 if test "$ac_cv_func_gettimeofday" = "yes"; then
31211 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31212 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31213 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31214 echo $ECHO_N "(cached) $ECHO_C" >&6
31220 ac_cpp
='$CXXCPP $CPPFLAGS'
31221 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31222 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31223 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31226 cat >conftest.
$ac_ext <<_ACEOF
31227 #line $LINENO "configure"
31230 cat confdefs.h
>>conftest.
$ac_ext
31231 cat >>conftest.
$ac_ext <<_ACEOF
31232 /* end confdefs.h. */
31234 #include <sys/time.h>
31235 #include <unistd.h>
31242 gettimeofday(&tv, NULL);
31248 rm -f conftest.
$ac_objext
31249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31250 (eval $ac_compile) 2>&5
31252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253 (exit $ac_status); } &&
31254 { ac_try
='test -s conftest.$ac_objext'
31255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31256 (eval $ac_try) 2>&5
31258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31259 (exit $ac_status); }; }; then
31260 wx_cv_func_gettimeofday_has_2_args
=yes
31262 echo "$as_me: failed program was:" >&5
31263 sed 's/^/| /' conftest.
$ac_ext >&5
31265 cat >conftest.
$ac_ext <<_ACEOF
31266 #line $LINENO "configure"
31269 cat confdefs.h
>>conftest.
$ac_ext
31270 cat >>conftest.
$ac_ext <<_ACEOF
31271 /* end confdefs.h. */
31273 #include <sys/time.h>
31274 #include <unistd.h>
31287 rm -f conftest.
$ac_objext
31288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31289 (eval $ac_compile) 2>&5
31291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31292 (exit $ac_status); } &&
31293 { ac_try
='test -s conftest.$ac_objext'
31294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31295 (eval $ac_try) 2>&5
31297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298 (exit $ac_status); }; }; then
31299 wx_cv_func_gettimeofday_has_2_args
=no
31301 echo "$as_me: failed program was:" >&5
31302 sed 's/^/| /' conftest.
$ac_ext >&5
31305 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31306 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31307 wx_cv_func_gettimeofday_has_2_args
=unknown
31311 rm -f conftest.
$ac_objext conftest.
$ac_ext
31314 rm -f conftest.
$ac_objext conftest.
$ac_ext
31316 ac_cpp
='$CPP $CPPFLAGS'
31317 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31318 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31319 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31323 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31324 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31326 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31327 cat >>confdefs.h
<<\_ACEOF
31328 #define WX_GETTIMEOFDAY_NO_TZ 1
31334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
31338 if test "$wxUSE_SOCKETS" = "yes"; then
31339 if test "$wxUSE_MGL" = "1"; then
31340 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31341 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31344 if test "$wxUSE_COCOA" = "1"; then
31345 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31346 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31351 if test "$wxUSE_SOCKETS" = "yes"; then
31352 if test "$TOOLKIT" != "MSW"; then
31353 echo "$as_me:$LINENO: checking for socket" >&5
31354 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31355 if test "${ac_cv_func_socket+set}" = set; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31358 cat >conftest.
$ac_ext <<_ACEOF
31359 #line $LINENO "configure"
31362 cat confdefs.h
>>conftest.
$ac_ext
31363 cat >>conftest.
$ac_ext <<_ACEOF
31364 /* end confdefs.h. */
31365 /* System header to define __stub macros and hopefully few prototypes,
31366 which can conflict with char socket (); below.
31367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31368 <limits.h> exists even on freestanding compilers. */
31370 # include <limits.h>
31372 # include <assert.h>
31374 /* Override any gcc2 internal prototype to avoid an error. */
31379 /* We use char because int might match the return type of a gcc2
31380 builtin and then its argument prototype would still apply. */
31382 /* The GNU C library defines this for functions which it implements
31383 to always fail with ENOSYS. Some functions are actually named
31384 something starting with __ and the normal name is an alias. */
31385 #if defined (__stub_socket) || defined (__stub___socket)
31388 char (*f) () = socket;
31397 return f != socket;
31402 rm -f conftest.
$ac_objext conftest
$ac_exeext
31403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31404 (eval $ac_link) 2>&5
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); } &&
31408 { ac_try
='test -s conftest$ac_exeext'
31409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31410 (eval $ac_try) 2>&5
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); }; }; then
31414 ac_cv_func_socket
=yes
31416 echo "$as_me: failed program was:" >&5
31417 sed 's/^/| /' conftest.
$ac_ext >&5
31419 ac_cv_func_socket
=no
31421 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31423 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31424 echo "${ECHO_T}$ac_cv_func_socket" >&6
31425 if test $ac_cv_func_socket = yes; then
31429 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31430 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31431 if test "${ac_cv_lib_socket_socket+set}" = set; then
31432 echo $ECHO_N "(cached) $ECHO_C" >&6
31434 ac_check_lib_save_LIBS
=$LIBS
31435 LIBS
="-lsocket $LIBS"
31436 cat >conftest.
$ac_ext <<_ACEOF
31437 #line $LINENO "configure"
31440 cat confdefs.h
>>conftest.
$ac_ext
31441 cat >>conftest.
$ac_ext <<_ACEOF
31442 /* end confdefs.h. */
31444 /* Override any gcc2 internal prototype to avoid an error. */
31448 /* We use char because int might match the return type of a gcc2
31449 builtin and then its argument prototype would still apply. */
31459 rm -f conftest.
$ac_objext conftest
$ac_exeext
31460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31461 (eval $ac_link) 2>&5
31463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31464 (exit $ac_status); } &&
31465 { ac_try
='test -s conftest$ac_exeext'
31466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31467 (eval $ac_try) 2>&5
31469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470 (exit $ac_status); }; }; then
31471 ac_cv_lib_socket_socket
=yes
31473 echo "$as_me: failed program was:" >&5
31474 sed 's/^/| /' conftest.
$ac_ext >&5
31476 ac_cv_lib_socket_socket
=no
31478 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31479 LIBS
=$ac_check_lib_save_LIBS
31481 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31482 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31483 if test $ac_cv_lib_socket_socket = yes; then
31484 if test "$INET_LINK" != " -lsocket"; then
31485 INET_LINK
="$INET_LINK -lsocket"
31489 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31490 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31503 if test "$wxUSE_SOCKETS" = "yes" ; then
31504 if test "$TOOLKIT" != "MSW"; then
31505 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31506 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31507 if test "${wx_cv_type_getsockname3+set}" = set; then
31508 echo $ECHO_N "(cached) $ECHO_C" >&6
31511 cat >conftest.
$ac_ext <<_ACEOF
31512 #line $LINENO "configure"
31515 cat confdefs.h
>>conftest.
$ac_ext
31516 cat >>conftest.
$ac_ext <<_ACEOF
31517 /* end confdefs.h. */
31519 #include <sys/types.h>
31520 #include <sys/socket.h>
31527 getsockname(0, 0, &len);
31533 rm -f conftest.
$ac_objext
31534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31535 (eval $ac_compile) 2>&5
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); } &&
31539 { ac_try
='test -s conftest.$ac_objext'
31540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31541 (eval $ac_try) 2>&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); }; }; then
31545 wx_cv_type_getsockname3
=socklen_t
31547 echo "$as_me: failed program was:" >&5
31548 sed 's/^/| /' conftest.
$ac_ext >&5
31551 CFLAGS_OLD
="$CFLAGS"
31552 if test "$GCC" = yes ; then
31553 CFLAGS
="$CFLAGS -Werror"
31556 cat >conftest.
$ac_ext <<_ACEOF
31557 #line $LINENO "configure"
31560 cat confdefs.h
>>conftest.
$ac_ext
31561 cat >>conftest.
$ac_ext <<_ACEOF
31562 /* end confdefs.h. */
31564 #include <sys/types.h>
31565 #include <sys/socket.h>
31572 getsockname(0, 0, &len);
31578 rm -f conftest.
$ac_objext
31579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31580 (eval $ac_compile) 2>&5
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); } &&
31584 { ac_try
='test -s conftest.$ac_objext'
31585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31586 (eval $ac_try) 2>&5
31588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31589 (exit $ac_status); }; }; then
31590 wx_cv_type_getsockname3
=size_t
31592 echo "$as_me: failed program was:" >&5
31593 sed 's/^/| /' conftest.
$ac_ext >&5
31595 cat >conftest.
$ac_ext <<_ACEOF
31596 #line $LINENO "configure"
31599 cat confdefs.h
>>conftest.
$ac_ext
31600 cat >>conftest.
$ac_ext <<_ACEOF
31601 /* end confdefs.h. */
31603 #include <sys/types.h>
31604 #include <sys/socket.h>
31611 getsockname(0, 0, &len);
31617 rm -f conftest.
$ac_objext
31618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31619 (eval $ac_compile) 2>&5
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); } &&
31623 { ac_try
='test -s conftest.$ac_objext'
31624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31625 (eval $ac_try) 2>&5
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); }; }; then
31629 wx_cv_type_getsockname3
=int
31631 echo "$as_me: failed program was:" >&5
31632 sed 's/^/| /' conftest.
$ac_ext >&5
31634 wx_cv_type_getsockname3
=unknown
31637 rm -f conftest.
$ac_objext conftest.
$ac_ext
31640 rm -f conftest.
$ac_objext conftest.
$ac_ext
31642 CFLAGS
="$CFLAGS_OLD"
31646 rm -f conftest.
$ac_objext conftest.
$ac_ext
31649 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31650 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31652 if test "$wx_cv_type_getsockname3" = "unknown"; then
31654 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31655 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31657 cat >>confdefs.h
<<_ACEOF
31658 #define SOCKLEN_T $wx_cv_type_getsockname3
31665 if test "$wxUSE_SOCKETS" = "yes" ; then
31666 cat >>confdefs.h
<<\_ACEOF
31667 #define wxUSE_SOCKETS 1
31670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31673 if test "$wxUSE_PROTOCOL" = "yes"; then
31674 if test "$wxUSE_SOCKETS" != "yes"; then
31675 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31676 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31681 if test "$wxUSE_PROTOCOL" = "yes"; then
31682 cat >>confdefs.h
<<\_ACEOF
31683 #define wxUSE_PROTOCOL 1
31687 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31688 cat >>confdefs.h
<<\_ACEOF
31689 #define wxUSE_PROTOCOL_HTTP 1
31693 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31694 cat >>confdefs.h
<<\_ACEOF
31695 #define wxUSE_PROTOCOL_FTP 1
31699 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31700 cat >>confdefs.h
<<\_ACEOF
31701 #define wxUSE_PROTOCOL_FILE 1
31706 if test "$wxUSE_FS_INET" = "yes"; then
31707 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31708 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31713 if test "$wxUSE_URL" = "yes"; then
31714 if test "$wxUSE_PROTOCOL" != "yes"; then
31715 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31716 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31719 if test "$wxUSE_URL" = "yes"; then
31720 cat >>confdefs.h
<<\_ACEOF
31721 #define wxUSE_URL 1
31727 if test "$wxUSE_FS_INET" = "yes"; then
31728 cat >>confdefs.h
<<\_ACEOF
31729 #define wxUSE_FS_INET 1
31735 if test "$wxUSE_GUI" = "yes"; then
31737 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31738 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31739 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31743 if test "$TOOLKIT" != "MSW"; then
31744 if test "$wxUSE_JOYSTICK" = "yes"; then
31746 for ac_header
in linux
/joystick.h
31748 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31750 echo "$as_me:$LINENO: checking for $ac_header" >&5
31751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31753 echo $ECHO_N "(cached) $ECHO_C" >&6
31755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31758 # Is the header compilable?
31759 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31761 cat >conftest.
$ac_ext <<_ACEOF
31762 #line $LINENO "configure"
31765 cat confdefs.h
>>conftest.
$ac_ext
31766 cat >>conftest.
$ac_ext <<_ACEOF
31767 /* end confdefs.h. */
31768 $ac_includes_default
31769 #include <$ac_header>
31771 rm -f conftest.
$ac_objext
31772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31773 (eval $ac_compile) 2>&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } &&
31777 { ac_try
='test -s conftest.$ac_objext'
31778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31779 (eval $ac_try) 2>&5
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); }; }; then
31783 ac_header_compiler
=yes
31785 echo "$as_me: failed program was:" >&5
31786 sed 's/^/| /' conftest.
$ac_ext >&5
31788 ac_header_compiler
=no
31790 rm -f conftest.
$ac_objext conftest.
$ac_ext
31791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31792 echo "${ECHO_T}$ac_header_compiler" >&6
31794 # Is the header present?
31795 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31796 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31797 cat >conftest.
$ac_ext <<_ACEOF
31798 #line $LINENO "configure"
31801 cat confdefs.h
>>conftest.
$ac_ext
31802 cat >>conftest.
$ac_ext <<_ACEOF
31803 /* end confdefs.h. */
31804 #include <$ac_header>
31806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31807 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31809 grep -v '^ *+' conftest.er1
>conftest.err
31811 cat conftest.err
>&5
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); } >/dev
/null
; then
31814 if test -s conftest.err
; then
31815 ac_cpp_err
=$ac_c_preproc_warn_flag
31822 if test -z "$ac_cpp_err"; then
31823 ac_header_preproc
=yes
31825 echo "$as_me: failed program was:" >&5
31826 sed 's/^/| /' conftest.
$ac_ext >&5
31828 ac_header_preproc
=no
31830 rm -f conftest.err conftest.
$ac_ext
31831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31832 echo "${ECHO_T}$ac_header_preproc" >&6
31834 # So? What about this header?
31835 case $ac_header_compiler:$ac_header_preproc in
31837 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31838 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31843 ## ------------------------------------ ##
31844 ## Report this to bug-autoconf@gnu.org. ##
31845 ## ------------------------------------ ##
31848 sed "s/^/$as_me: WARNING: /" >&2
31851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31854 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31856 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31859 ## ------------------------------------ ##
31860 ## Report this to bug-autoconf@gnu.org. ##
31861 ## ------------------------------------ ##
31864 sed "s/^/$as_me: WARNING: /" >&2
31867 echo "$as_me:$LINENO: checking for $ac_header" >&5
31868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31870 echo $ECHO_N "(cached) $ECHO_C" >&6
31872 eval "$as_ac_Header=$ac_header_preproc"
31874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31878 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31879 cat >>confdefs.h
<<_ACEOF
31880 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31887 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31889 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31890 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31895 if test "$wxUSE_JOYSTICK" = "yes"; then
31896 cat >>confdefs.h
<<\_ACEOF
31897 #define wxUSE_JOYSTICK 1
31900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31905 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31909 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31910 if test "$USE_DARWIN" = 1; then
31914 for ac_func
in dlopen
31916 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31917 echo "$as_me:$LINENO: checking for $ac_func" >&5
31918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31919 if eval "test \"\${$as_ac_var+set}\" = set"; then
31920 echo $ECHO_N "(cached) $ECHO_C" >&6
31922 cat >conftest.
$ac_ext <<_ACEOF
31923 #line $LINENO "configure"
31926 cat confdefs.h
>>conftest.
$ac_ext
31927 cat >>conftest.
$ac_ext <<_ACEOF
31928 /* end confdefs.h. */
31929 /* System header to define __stub macros and hopefully few prototypes,
31930 which can conflict with char $ac_func (); below.
31931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31932 <limits.h> exists even on freestanding compilers. */
31934 # include <limits.h>
31936 # include <assert.h>
31938 /* Override any gcc2 internal prototype to avoid an error. */
31943 /* We use char because int might match the return type of a gcc2
31944 builtin and then its argument prototype would still apply. */
31946 /* The GNU C library defines this for functions which it implements
31947 to always fail with ENOSYS. Some functions are actually named
31948 something starting with __ and the normal name is an alias. */
31949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31952 char (*f) () = $ac_func;
31961 return f != $ac_func;
31966 rm -f conftest.
$ac_objext conftest
$ac_exeext
31967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31968 (eval $ac_link) 2>&5
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); } &&
31972 { ac_try
='test -s conftest$ac_exeext'
31973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31974 (eval $ac_try) 2>&5
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); }; }; then
31978 eval "$as_ac_var=yes"
31980 echo "$as_me: failed program was:" >&5
31981 sed 's/^/| /' conftest.
$ac_ext >&5
31983 eval "$as_ac_var=no"
31985 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31989 if test `eval echo '${'$as_ac_var'}'` = yes; then
31990 cat >>confdefs.h
<<_ACEOF
31991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31994 cat >>confdefs.h
<<\_ACEOF
31995 #define HAVE_DLOPEN 1
32002 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32003 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
32004 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32005 echo $ECHO_N "(cached) $ECHO_C" >&6
32007 ac_check_lib_save_LIBS
=$LIBS
32009 cat >conftest.
$ac_ext <<_ACEOF
32010 #line $LINENO "configure"
32013 cat confdefs.h
>>conftest.
$ac_ext
32014 cat >>conftest.
$ac_ext <<_ACEOF
32015 /* end confdefs.h. */
32017 /* Override any gcc2 internal prototype to avoid an error. */
32021 /* We use char because int might match the return type of a gcc2
32022 builtin and then its argument prototype would still apply. */
32032 rm -f conftest.
$ac_objext conftest
$ac_exeext
32033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32034 (eval $ac_link) 2>&5
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); } &&
32038 { ac_try
='test -s conftest$ac_exeext'
32039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32040 (eval $ac_try) 2>&5
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); }; }; then
32044 ac_cv_lib_dl_dlopen
=yes
32046 echo "$as_me: failed program was:" >&5
32047 sed 's/^/| /' conftest.
$ac_ext >&5
32049 ac_cv_lib_dl_dlopen
=no
32051 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32052 LIBS
=$ac_check_lib_save_LIBS
32054 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
32055 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
32056 if test $ac_cv_lib_dl_dlopen = yes; then
32058 cat >>confdefs.h
<<\_ACEOF
32059 #define HAVE_DLOPEN 1
32063 DL_LINK
=" -ldl$DL_LINK"
32068 for ac_func
in shl_load
32070 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32071 echo "$as_me:$LINENO: checking for $ac_func" >&5
32072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32073 if eval "test \"\${$as_ac_var+set}\" = set"; then
32074 echo $ECHO_N "(cached) $ECHO_C" >&6
32076 cat >conftest.
$ac_ext <<_ACEOF
32077 #line $LINENO "configure"
32080 cat confdefs.h
>>conftest.
$ac_ext
32081 cat >>conftest.
$ac_ext <<_ACEOF
32082 /* end confdefs.h. */
32083 /* System header to define __stub macros and hopefully few prototypes,
32084 which can conflict with char $ac_func (); below.
32085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32086 <limits.h> exists even on freestanding compilers. */
32088 # include <limits.h>
32090 # include <assert.h>
32092 /* Override any gcc2 internal prototype to avoid an error. */
32097 /* We use char because int might match the return type of a gcc2
32098 builtin and then its argument prototype would still apply. */
32100 /* The GNU C library defines this for functions which it implements
32101 to always fail with ENOSYS. Some functions are actually named
32102 something starting with __ and the normal name is an alias. */
32103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32106 char (*f) () = $ac_func;
32115 return f != $ac_func;
32120 rm -f conftest.
$ac_objext conftest
$ac_exeext
32121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32122 (eval $ac_link) 2>&5
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 (exit $ac_status); } &&
32126 { ac_try
='test -s conftest$ac_exeext'
32127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32128 (eval $ac_try) 2>&5
32130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131 (exit $ac_status); }; }; then
32132 eval "$as_ac_var=yes"
32134 echo "$as_me: failed program was:" >&5
32135 sed 's/^/| /' conftest.
$ac_ext >&5
32137 eval "$as_ac_var=no"
32139 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32143 if test `eval echo '${'$as_ac_var'}'` = yes; then
32144 cat >>confdefs.h
<<_ACEOF
32145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32148 cat >>confdefs.h
<<\_ACEOF
32149 #define HAVE_SHL_LOAD 1
32156 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32157 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32158 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32159 echo $ECHO_N "(cached) $ECHO_C" >&6
32161 ac_check_lib_save_LIBS
=$LIBS
32162 LIBS
="-lshl_load $LIBS"
32163 cat >conftest.
$ac_ext <<_ACEOF
32164 #line $LINENO "configure"
32167 cat confdefs.h
>>conftest.
$ac_ext
32168 cat >>conftest.
$ac_ext <<_ACEOF
32169 /* end confdefs.h. */
32171 /* Override any gcc2 internal prototype to avoid an error. */
32175 /* We use char because int might match the return type of a gcc2
32176 builtin and then its argument prototype would still apply. */
32186 rm -f conftest.
$ac_objext conftest
$ac_exeext
32187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32188 (eval $ac_link) 2>&5
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); } &&
32192 { ac_try
='test -s conftest$ac_exeext'
32193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32194 (eval $ac_try) 2>&5
32196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32197 (exit $ac_status); }; }; then
32198 ac_cv_lib_shl_load_dld
=yes
32200 echo "$as_me: failed program was:" >&5
32201 sed 's/^/| /' conftest.
$ac_ext >&5
32203 ac_cv_lib_shl_load_dld
=no
32205 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32206 LIBS
=$ac_check_lib_save_LIBS
32208 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32209 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32210 if test $ac_cv_lib_shl_load_dld = yes; then
32213 DL_LINK
=" -ldld$DL_LINK"
32229 if test "$HAVE_DL_FUNCS" = 1; then
32231 for ac_func
in dlerror
32233 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32234 echo "$as_me:$LINENO: checking for $ac_func" >&5
32235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32236 if eval "test \"\${$as_ac_var+set}\" = set"; then
32237 echo $ECHO_N "(cached) $ECHO_C" >&6
32239 cat >conftest.
$ac_ext <<_ACEOF
32240 #line $LINENO "configure"
32243 cat confdefs.h
>>conftest.
$ac_ext
32244 cat >>conftest.
$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32246 /* System header to define __stub macros and hopefully few prototypes,
32247 which can conflict with char $ac_func (); below.
32248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32249 <limits.h> exists even on freestanding compilers. */
32251 # include <limits.h>
32253 # include <assert.h>
32255 /* Override any gcc2 internal prototype to avoid an error. */
32260 /* We use char because int might match the return type of a gcc2
32261 builtin and then its argument prototype would still apply. */
32263 /* The GNU C library defines this for functions which it implements
32264 to always fail with ENOSYS. Some functions are actually named
32265 something starting with __ and the normal name is an alias. */
32266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32269 char (*f) () = $ac_func;
32278 return f != $ac_func;
32283 rm -f conftest.
$ac_objext conftest
$ac_exeext
32284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32285 (eval $ac_link) 2>&5
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); } &&
32289 { ac_try
='test -s conftest$ac_exeext'
32290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32291 (eval $ac_try) 2>&5
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); }; }; then
32295 eval "$as_ac_var=yes"
32297 echo "$as_me: failed program was:" >&5
32298 sed 's/^/| /' conftest.
$ac_ext >&5
32300 eval "$as_ac_var=no"
32302 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32306 if test `eval echo '${'$as_ac_var'}'` = yes; then
32307 cat >>confdefs.h
<<_ACEOF
32308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32310 cat >>confdefs.h
<<\_ACEOF
32311 #define HAVE_DLERROR 1
32316 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32317 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32318 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32319 echo $ECHO_N "(cached) $ECHO_C" >&6
32321 ac_check_lib_save_LIBS
=$LIBS
32323 cat >conftest.
$ac_ext <<_ACEOF
32324 #line $LINENO "configure"
32327 cat confdefs.h
>>conftest.
$ac_ext
32328 cat >>conftest.
$ac_ext <<_ACEOF
32329 /* end confdefs.h. */
32331 /* Override any gcc2 internal prototype to avoid an error. */
32335 /* We use char because int might match the return type of a gcc2
32336 builtin and then its argument prototype would still apply. */
32346 rm -f conftest.
$ac_objext conftest
$ac_exeext
32347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32348 (eval $ac_link) 2>&5
32350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); } &&
32352 { ac_try
='test -s conftest$ac_exeext'
32353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32354 (eval $ac_try) 2>&5
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); }; }; then
32358 ac_cv_lib_dl_dlerror
=yes
32360 echo "$as_me: failed program was:" >&5
32361 sed 's/^/| /' conftest.
$ac_ext >&5
32363 ac_cv_lib_dl_dlerror
=no
32365 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32366 LIBS
=$ac_check_lib_save_LIBS
32368 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32369 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32370 if test $ac_cv_lib_dl_dlerror = yes; then
32371 cat >>confdefs.h
<<\_ACEOF
32372 #define HAVE_DLERROR 1
32385 if test "$HAVE_DL_FUNCS" = 0; then
32386 if test "$HAVE_SHL_FUNCS" = 0; then
32387 if test "$USE_UNIX" = 1; then
32388 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32389 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32390 wxUSE_DYNAMIC_LOADER
=no
32391 wxUSE_DYNLIB_CLASS
=no
32393 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32394 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32401 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32402 cat >>confdefs.h
<<\_ACEOF
32403 #define wxUSE_DYNAMIC_LOADER 1
32407 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32408 cat >>confdefs.h
<<\_ACEOF
32409 #define wxUSE_DYNLIB_CLASS 1
32415 if test "$wxUSE_FONTMAP" = "yes" ; then
32416 cat >>confdefs.h
<<\_ACEOF
32417 #define wxUSE_FONTMAP 1
32422 if test "$wxUSE_UNICODE" = "yes" ; then
32423 cat >>confdefs.h
<<\_ACEOF
32424 #define wxUSE_UNICODE 1
32428 if test "$USE_WIN32" != 1; then
32429 wxUSE_UNICODE_MSLU
=no
32432 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32433 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32434 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32435 if test "${ac_cv_lib_unicows_main+set}" = set; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32438 ac_check_lib_save_LIBS
=$LIBS
32439 LIBS
="-lunicows $LIBS"
32440 cat >conftest.
$ac_ext <<_ACEOF
32441 #line $LINENO "configure"
32444 cat confdefs.h
>>conftest.
$ac_ext
32445 cat >>conftest.
$ac_ext <<_ACEOF
32446 /* end confdefs.h. */
32457 rm -f conftest.
$ac_objext conftest
$ac_exeext
32458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32459 (eval $ac_link) 2>&5
32461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32462 (exit $ac_status); } &&
32463 { ac_try
='test -s conftest$ac_exeext'
32464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32465 (eval $ac_try) 2>&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); }; }; then
32469 ac_cv_lib_unicows_main
=yes
32471 echo "$as_me: failed program was:" >&5
32472 sed 's/^/| /' conftest.
$ac_ext >&5
32474 ac_cv_lib_unicows_main
=no
32476 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32477 LIBS
=$ac_check_lib_save_LIBS
32479 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32480 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32481 if test $ac_cv_lib_unicows_main = yes; then
32483 cat >>confdefs.h
<<\_ACEOF
32484 #define wxUSE_UNICODE_MSLU 1
32490 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32491 Applications will only run on Windows NT/2000/XP!" >&5
32492 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32493 Applications will only run on Windows NT/2000/XP!" >&2;}
32494 wxUSE_UNICODE_MSLU
=no
32501 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32502 cat >>confdefs.h
<<\_ACEOF
32503 #define wxUSE_EXPERIMENTAL_PRINTF 1
32509 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32510 cat >>confdefs.h
<<\_ACEOF
32511 #define wxUSE_POSTSCRIPT 1
32516 cat >>confdefs.h
<<\_ACEOF
32517 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32521 cat >>confdefs.h
<<\_ACEOF
32522 #define wxUSE_NORMALIZED_PS_FONTS 1
32527 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32528 cat >>confdefs.h
<<\_ACEOF
32529 #define wxUSE_CONSTRAINTS 1
32532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32535 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32536 cat >>confdefs.h
<<\_ACEOF
32537 #define wxUSE_MDI_ARCHITECTURE 1
32540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32543 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32544 cat >>confdefs.h
<<\_ACEOF
32545 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32549 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32554 if test "$wxUSE_HELP" = "yes"; then
32555 cat >>confdefs.h
<<\_ACEOF
32556 #define wxUSE_HELP 1
32559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32561 if test "$wxUSE_MSW" = 1; then
32562 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32563 cat >>confdefs.h
<<\_ACEOF
32564 #define wxUSE_MS_HTML_HELP 1
32570 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32571 if test "$wxUSE_HTML" = "yes"; then
32572 cat >>confdefs.h
<<\_ACEOF
32573 #define wxUSE_WXHTML_HELP 1
32577 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32578 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32579 wxUSE_WXHTML_HELP
=no
32584 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32585 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32586 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32587 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32589 cat >>confdefs.h
<<\_ACEOF
32590 #define wxUSE_PRINTING_ARCHITECTURE 1
32594 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32597 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32598 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32599 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32600 { (exit 1); exit 1; }; }
32604 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32605 -o "$wxUSE_CLIPBOARD" = "yes" \
32606 -o "$wxUSE_OLE" = "yes" \
32607 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32609 for ac_header
in ole2.h
32611 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32613 echo "$as_me:$LINENO: checking for $ac_header" >&5
32614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32616 echo $ECHO_N "(cached) $ECHO_C" >&6
32618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32621 # Is the header compilable?
32622 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32623 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32624 cat >conftest.
$ac_ext <<_ACEOF
32625 #line $LINENO "configure"
32628 cat confdefs.h
>>conftest.
$ac_ext
32629 cat >>conftest.
$ac_ext <<_ACEOF
32630 /* end confdefs.h. */
32631 $ac_includes_default
32632 #include <$ac_header>
32634 rm -f conftest.
$ac_objext
32635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32636 (eval $ac_compile) 2>&5
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); } &&
32640 { ac_try
='test -s conftest.$ac_objext'
32641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32642 (eval $ac_try) 2>&5
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); }; }; then
32646 ac_header_compiler
=yes
32648 echo "$as_me: failed program was:" >&5
32649 sed 's/^/| /' conftest.
$ac_ext >&5
32651 ac_header_compiler
=no
32653 rm -f conftest.
$ac_objext conftest.
$ac_ext
32654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32655 echo "${ECHO_T}$ac_header_compiler" >&6
32657 # Is the header present?
32658 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32659 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32660 cat >conftest.
$ac_ext <<_ACEOF
32661 #line $LINENO "configure"
32664 cat confdefs.h
>>conftest.
$ac_ext
32665 cat >>conftest.
$ac_ext <<_ACEOF
32666 /* end confdefs.h. */
32667 #include <$ac_header>
32669 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32670 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32672 grep -v '^ *+' conftest.er1
>conftest.err
32674 cat conftest.err
>&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); } >/dev
/null
; then
32677 if test -s conftest.err
; then
32678 ac_cpp_err
=$ac_c_preproc_warn_flag
32685 if test -z "$ac_cpp_err"; then
32686 ac_header_preproc
=yes
32688 echo "$as_me: failed program was:" >&5
32689 sed 's/^/| /' conftest.
$ac_ext >&5
32691 ac_header_preproc
=no
32693 rm -f conftest.err conftest.
$ac_ext
32694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32695 echo "${ECHO_T}$ac_header_preproc" >&6
32697 # So? What about this header?
32698 case $ac_header_compiler:$ac_header_preproc in
32700 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32706 ## ------------------------------------ ##
32707 ## Report this to bug-autoconf@gnu.org. ##
32708 ## ------------------------------------ ##
32711 sed "s/^/$as_me: WARNING: /" >&2
32714 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32715 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32716 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32717 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32722 ## ------------------------------------ ##
32723 ## Report this to bug-autoconf@gnu.org. ##
32724 ## ------------------------------------ ##
32727 sed "s/^/$as_me: WARNING: /" >&2
32730 echo "$as_me:$LINENO: checking for $ac_header" >&5
32731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32733 echo $ECHO_N "(cached) $ECHO_C" >&6
32735 eval "$as_ac_Header=$ac_header_preproc"
32737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32742 cat >>confdefs.h
<<_ACEOF
32743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32751 if test "$ac_cv_header_ole2_h" = "yes" ; then
32752 if test "$GCC" = yes ; then
32756 ac_cpp
='$CXXCPP $CPPFLAGS'
32757 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32762 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32763 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32764 cat >conftest.
$ac_ext <<_ACEOF
32765 #line $LINENO "configure"
32768 cat confdefs.h
>>conftest.
$ac_ext
32769 cat >>conftest.
$ac_ext <<_ACEOF
32770 /* end confdefs.h. */
32771 #include <windows.h>
32781 rm -f conftest.
$ac_objext
32782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32783 (eval $ac_compile) 2>&5
32785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32786 (exit $ac_status); } &&
32787 { ac_try
='test -s conftest.$ac_objext'
32788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32789 (eval $ac_try) 2>&5
32791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32792 (exit $ac_status); }; }; then
32793 echo "$as_me:$LINENO: result: no" >&5
32794 echo "${ECHO_T}no" >&6
32796 echo "$as_me: failed program was:" >&5
32797 sed 's/^/| /' conftest.
$ac_ext >&5
32799 echo "$as_me:$LINENO: result: yes" >&5
32800 echo "${ECHO_T}yes" >&6
32801 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32803 rm -f conftest.
$ac_objext conftest.
$ac_ext
32805 ac_cpp
='$CPP $CPPFLAGS'
32806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32810 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32811 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32812 cat >>confdefs.h
<<\_ACEOF
32813 #define wxUSE_OLE 1
32819 cat >>confdefs.h
<<\_ACEOF
32820 #define wxUSE_DATAOBJ 1
32824 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32825 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32828 wxUSE_DRAG_AND_DROP
=no
32833 if test "$wxUSE_METAFILE" = "yes"; then
32834 cat >>confdefs.h
<<\_ACEOF
32835 #define wxUSE_METAFILE 1
32839 cat >>confdefs.h
<<\_ACEOF
32840 #define wxUSE_ENH_METAFILE 1
32846 if test "$wxUSE_IPC" = "yes"; then
32847 if test "$wxUSE_SOCKETS" != "yes"; then
32848 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32849 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32852 cat >>confdefs.h
<<\_ACEOF
32853 #define wxUSE_IPC 1
32858 if test "$wxUSE_CLIPBOARD" = "yes"; then
32859 if test "$wxUSE_MGL" = 1; then
32860 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32861 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32865 if test "$wxUSE_CLIPBOARD" = "yes"; then
32866 cat >>confdefs.h
<<\_ACEOF
32867 #define wxUSE_CLIPBOARD 1
32871 cat >>confdefs.h
<<\_ACEOF
32872 #define wxUSE_DATAOBJ 1
32878 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32879 if test "$wxUSE_GTK" = 1; then
32880 if test "$WXGTK12" != 1; then
32881 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32882 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32883 wxUSE_DRAG_AND_DROP
=no
32887 if test "$wxUSE_MOTIF" = 1; then
32888 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32889 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32890 wxUSE_DRAG_AND_DROP
=no
32893 if test "$wxUSE_X11" = 1; then
32894 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32895 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32896 wxUSE_DRAG_AND_DROP
=no
32899 if test "$wxUSE_MGL" = 1; then
32900 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32901 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32902 wxUSE_DRAG_AND_DROP
=no
32905 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32906 cat >>confdefs.h
<<\_ACEOF
32907 #define wxUSE_DRAG_AND_DROP 1
32910 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32915 if test "$wxUSE_SPLINES" = "yes" ; then
32916 cat >>confdefs.h
<<\_ACEOF
32917 #define wxUSE_SPLINES 1
32924 if test "$wxUSE_CONTROLS" = "yes"; then
32928 if test "$wxUSE_ACCEL" = "yes"; then
32929 cat >>confdefs.h
<<\_ACEOF
32930 #define wxUSE_ACCEL 1
32936 if test "$wxUSE_BUTTON" = "yes"; then
32937 cat >>confdefs.h
<<\_ACEOF
32938 #define wxUSE_BUTTON 1
32944 if test "$wxUSE_BMPBUTTON" = "yes"; then
32945 cat >>confdefs.h
<<\_ACEOF
32946 #define wxUSE_BMPBUTTON 1
32952 if test "$wxUSE_CALCTRL" = "yes"; then
32953 cat >>confdefs.h
<<\_ACEOF
32954 #define wxUSE_CALENDARCTRL 1
32958 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32961 if test "$wxUSE_CARET" = "yes"; then
32962 cat >>confdefs.h
<<\_ACEOF
32963 #define wxUSE_CARET 1
32967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32970 if test "$wxUSE_COMBOBOX" = "yes"; then
32971 cat >>confdefs.h
<<\_ACEOF
32972 #define wxUSE_COMBOBOX 1
32978 if test "$wxUSE_CHOICE" = "yes"; then
32979 cat >>confdefs.h
<<\_ACEOF
32980 #define wxUSE_CHOICE 1
32986 if test "$wxUSE_CHECKBOX" = "yes"; then
32987 cat >>confdefs.h
<<\_ACEOF
32988 #define wxUSE_CHECKBOX 1
32994 if test "$wxUSE_CHECKLST" = "yes"; then
32995 cat >>confdefs.h
<<\_ACEOF
32996 #define wxUSE_CHECKLISTBOX 1
33000 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
33003 if test "$wxUSE_DISPLAY" = "yes"; then
33004 cat >>confdefs.h
<<\_ACEOF
33005 #define wxUSE_DISPLAY 1
33008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
33011 if test "$wxUSE_GAUGE" = "yes"; then
33012 cat >>confdefs.h
<<\_ACEOF
33013 #define wxUSE_GAUGE 1
33019 if test "$wxUSE_GRID" = "yes"; then
33020 cat >>confdefs.h
<<\_ACEOF
33021 #define wxUSE_GRID 1
33025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
33028 if test "$wxUSE_IMAGLIST" = "yes"; then
33029 cat >>confdefs.h
<<\_ACEOF
33030 #define wxUSE_IMAGLIST 1
33035 if test "$wxUSE_LISTBOOK" = "yes"; then
33036 cat >>confdefs.h
<<\_ACEOF
33037 #define wxUSE_LISTBOOK 1
33043 if test "$wxUSE_LISTBOX" = "yes"; then
33044 cat >>confdefs.h
<<\_ACEOF
33045 #define wxUSE_LISTBOX 1
33051 if test "$wxUSE_LISTCTRL" = "yes"; then
33052 if test "$wxUSE_IMAGLIST" = "yes"; then
33053 cat >>confdefs.h
<<\_ACEOF
33054 #define wxUSE_LISTCTRL 1
33058 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
33060 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
33061 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
33065 if test "$wxUSE_NOTEBOOK" = "yes"; then
33066 cat >>confdefs.h
<<\_ACEOF
33067 #define wxUSE_NOTEBOOK 1
33071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
33075 if test "$wxUSE_RADIOBOX" = "yes"; then
33076 cat >>confdefs.h
<<\_ACEOF
33077 #define wxUSE_RADIOBOX 1
33083 if test "$wxUSE_RADIOBTN" = "yes"; then
33084 cat >>confdefs.h
<<\_ACEOF
33085 #define wxUSE_RADIOBTN 1
33091 if test "$wxUSE_SASH" = "yes"; then
33092 cat >>confdefs.h
<<\_ACEOF
33093 #define wxUSE_SASH 1
33096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
33099 if test "$wxUSE_SCROLLBAR" = "yes"; then
33100 cat >>confdefs.h
<<\_ACEOF
33101 #define wxUSE_SCROLLBAR 1
33105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
33108 if test "$wxUSE_SLIDER" = "yes"; then
33109 cat >>confdefs.h
<<\_ACEOF
33110 #define wxUSE_SLIDER 1
33116 if test "$wxUSE_SPINBTN" = "yes"; then
33117 cat >>confdefs.h
<<\_ACEOF
33118 #define wxUSE_SPINBTN 1
33124 if test "$wxUSE_SPINCTRL" = "yes"; then
33125 cat >>confdefs.h
<<\_ACEOF
33126 #define wxUSE_SPINCTRL 1
33132 if test "$wxUSE_SPLITTER" = "yes"; then
33133 cat >>confdefs.h
<<\_ACEOF
33134 #define wxUSE_SPLITTER 1
33137 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
33140 if test "$wxUSE_STATBMP" = "yes"; then
33141 cat >>confdefs.h
<<\_ACEOF
33142 #define wxUSE_STATBMP 1
33148 if test "$wxUSE_STATBOX" = "yes"; then
33149 cat >>confdefs.h
<<\_ACEOF
33150 #define wxUSE_STATBOX 1
33156 if test "$wxUSE_STATTEXT" = "yes"; then
33157 cat >>confdefs.h
<<\_ACEOF
33158 #define wxUSE_STATTEXT 1
33164 if test "$wxUSE_STATLINE" = "yes"; then
33165 cat >>confdefs.h
<<\_ACEOF
33166 #define wxUSE_STATLINE 1
33172 if test "$wxUSE_STATUSBAR" = "yes"; then
33173 cat >>confdefs.h
<<\_ACEOF
33174 #define wxUSE_STATUSBAR 1
33179 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
33182 if test "$wxUSE_TABDIALOG" = "yes"; then
33183 cat >>confdefs.h
<<\_ACEOF
33184 #define wxUSE_TAB_DIALOG 1
33187 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
33190 if test "$wxUSE_TEXTCTRL" = "yes"; then
33191 cat >>confdefs.h
<<\_ACEOF
33192 #define wxUSE_TEXTCTRL 1
33196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
33199 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33200 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33201 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33202 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33205 if test "$wxUSE_UNIVERSAL" = "yes"; then
33206 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33207 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33211 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33212 cat >>confdefs.h
<<\_ACEOF
33213 #define wxUSE_TOGGLEBTN 1
33220 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33221 cat >>confdefs.h
<<\_ACEOF
33222 #define wxUSE_TOOLBAR_SIMPLE 1
33225 wxUSE_TOOLBAR
="yes"
33229 if test "$wxUSE_TOOLBAR" = "yes"; then
33230 cat >>confdefs.h
<<\_ACEOF
33231 #define wxUSE_TOOLBAR 1
33236 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33237 wxUSE_TOOLBAR_NATIVE
="yes"
33240 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33241 cat >>confdefs.h
<<\_ACEOF
33242 #define wxUSE_TOOLBAR_NATIVE 1
33248 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
33251 if test "$wxUSE_TOOLTIPS" = "yes"; then
33252 if test "$wxUSE_MOTIF" = 1; then
33253 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33254 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33256 if test "$wxUSE_UNIVERSAL" = "yes"; then
33257 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33258 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33260 cat >>confdefs.h
<<\_ACEOF
33261 #define wxUSE_TOOLTIPS 1
33268 if test "$wxUSE_TREECTRL" = "yes"; then
33269 if test "$wxUSE_IMAGLIST" = "yes"; then
33270 cat >>confdefs.h
<<\_ACEOF
33271 #define wxUSE_TREECTRL 1
33275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
33277 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33278 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33282 if test "$wxUSE_POPUPWIN" = "yes"; then
33283 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33284 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33285 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33287 if test "$wxUSE_PM" = 1; then
33288 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33289 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33291 cat >>confdefs.h
<<\_ACEOF
33292 #define wxUSE_POPUPWIN 1
33301 if test "$wxUSE_TIPWINDOW" = "yes"; then
33302 if test "$wxUSE_PM" = 1; then
33303 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33304 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33306 cat >>confdefs.h
<<\_ACEOF
33307 #define wxUSE_TIPWINDOW 1
33313 if test "$USES_CONTROLS" = 1; then
33314 cat >>confdefs.h
<<\_ACEOF
33315 #define wxUSE_CONTROLS 1
33321 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33322 cat >>confdefs.h
<<\_ACEOF
33323 #define wxUSE_ACCESSIBILITY 1
33326 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
33329 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33330 cat >>confdefs.h
<<\_ACEOF
33331 #define wxUSE_DRAGIMAGE 1
33334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
33337 if test "$wxUSE_EXCEPTIONS" = "yes"; then
33338 cat >>confdefs.h
<<\_ACEOF
33339 #define wxUSE_EXCEPTIONS 1
33345 if test "$wxUSE_HTML" = "yes"; then
33346 cat >>confdefs.h
<<\_ACEOF
33347 #define wxUSE_HTML 1
33351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33354 if test "$wxUSE_MENUS" = "yes"; then
33355 cat >>confdefs.h
<<\_ACEOF
33356 #define wxUSE_MENUS 1
33359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
33362 if test "$wxUSE_METAFILE" = "yes"; then
33363 cat >>confdefs.h
<<\_ACEOF
33364 #define wxUSE_METAFILE 1
33369 if test "$wxUSE_MIMETYPE" = "yes"; then
33370 cat >>confdefs.h
<<\_ACEOF
33371 #define wxUSE_MIMETYPE 1
33376 if test "$wxUSE_MINIFRAME" = "yes"; then
33377 cat >>confdefs.h
<<\_ACEOF
33378 #define wxUSE_MINIFRAME 1
33381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
33384 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33385 cat >>confdefs.h
<<\_ACEOF
33386 #define wxUSE_SYSTEM_OPTIONS 1
33389 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33390 "$TOOLKIT" = "MOTIF"; then
33391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
33396 if test "$wxUSE_VALIDATORS" = "yes"; then
33397 cat >>confdefs.h
<<\_ACEOF
33398 #define wxUSE_VALIDATORS 1
33401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
33404 if test "$wxUSE_PALETTE" = "yes" ; then
33405 cat >>confdefs.h
<<\_ACEOF
33406 #define wxUSE_PALETTE 1
33411 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33412 LIBS
=" -lunicows $LIBS"
33416 if test "$wxUSE_IMAGE" = "yes" ; then
33417 cat >>confdefs.h
<<\_ACEOF
33418 #define wxUSE_IMAGE 1
33422 if test "$wxUSE_GIF" = "yes" ; then
33423 cat >>confdefs.h
<<\_ACEOF
33424 #define wxUSE_GIF 1
33429 if test "$wxUSE_PCX" = "yes" ; then
33430 cat >>confdefs.h
<<\_ACEOF
33431 #define wxUSE_PCX 1
33436 if test "$wxUSE_IFF" = "yes" ; then
33437 cat >>confdefs.h
<<\_ACEOF
33438 #define wxUSE_IFF 1
33443 if test "$wxUSE_PNM" = "yes" ; then
33444 cat >>confdefs.h
<<\_ACEOF
33445 #define wxUSE_PNM 1
33450 if test "$wxUSE_XPM" = "yes" ; then
33451 cat >>confdefs.h
<<\_ACEOF
33452 #define wxUSE_XPM 1
33457 if test "$wxUSE_ICO_CUR" = "yes" ; then
33458 cat >>confdefs.h
<<\_ACEOF
33459 #define wxUSE_ICO_CUR 1
33466 if test "$wxUSE_CHOICEDLG" = "yes"; then
33467 cat >>confdefs.h
<<\_ACEOF
33468 #define wxUSE_CHOICEDLG 1
33473 if test "$wxUSE_COLOURDLG" = "yes"; then
33474 cat >>confdefs.h
<<\_ACEOF
33475 #define wxUSE_COLOURDLG 1
33480 if test "$wxUSE_FILEDLG" = "yes"; then
33481 cat >>confdefs.h
<<\_ACEOF
33482 #define wxUSE_FILEDLG 1
33487 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33488 cat >>confdefs.h
<<\_ACEOF
33489 #define wxUSE_FINDREPLDLG 1
33494 if test "$wxUSE_FONTDLG" = "yes"; then
33495 cat >>confdefs.h
<<\_ACEOF
33496 #define wxUSE_FONTDLG 1
33501 if test "$wxUSE_DIRDLG" = "yes"; then
33502 if test "$wxUSE_TREECTRL" != "yes"; then
33503 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33504 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33506 cat >>confdefs.h
<<\_ACEOF
33507 #define wxUSE_DIRDLG 1
33513 if test "$wxUSE_MSGDLG" = "yes"; then
33514 cat >>confdefs.h
<<\_ACEOF
33515 #define wxUSE_MSGDLG 1
33520 if test "$wxUSE_NUMBERDLG" = "yes"; then
33521 cat >>confdefs.h
<<\_ACEOF
33522 #define wxUSE_NUMBERDLG 1
33527 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33528 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33529 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33530 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33532 cat >>confdefs.h
<<\_ACEOF
33533 #define wxUSE_PROGRESSDLG 1
33539 if test "$wxUSE_SPLASH" = "yes"; then
33540 cat >>confdefs.h
<<\_ACEOF
33541 #define wxUSE_SPLASH 1
33546 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33547 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33548 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33549 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33551 cat >>confdefs.h
<<\_ACEOF
33552 #define wxUSE_STARTUP_TIPS 1
33558 if test "$wxUSE_TEXTDLG" = "yes"; then
33559 cat >>confdefs.h
<<\_ACEOF
33560 #define wxUSE_TEXTDLG 1
33565 if test "$wxUSE_WIZARDDLG" = "yes"; then
33566 cat >>confdefs.h
<<\_ACEOF
33567 #define wxUSE_WIZARDDLG 1
33570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33574 if test "$cross_compiling" = "yes"; then
33577 OSINFO
=`uname -s -r -m`
33578 OSINFO
="\"$OSINFO\""
33581 cat >>confdefs.h
<<_ACEOF
33582 #define WXWIN_OS_DESCRIPTION $OSINFO
33587 if test "x$prefix" != "xNONE"; then
33590 wxPREFIX
=$ac_default_prefix
33593 cat >>confdefs.h
<<_ACEOF
33594 #define wxINSTALL_PREFIX "$wxPREFIX"
33598 top_builddir_wxconfig
=`pwd`
33602 CORE_BASE_LIBS
="net base"
33603 CORE_GUI_LIBS
="adv core"
33605 if test "$wxUSE_XML" = "yes" ; then
33606 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
33608 if test "$wxUSE_ODBC" != "no" ; then
33609 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
33610 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
33612 if test "$wxUSE_HTML" = "yes" ; then
33613 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
33616 if test "$wxUSE_GUI" != "yes"; then
33627 if test "$wxUSE_MAC" = 1 ; then
33628 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33630 if test "$wxUSE_COCOA" = 1 ; then
33631 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33635 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33642 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33643 echo "$as_me:$LINENO: checking for $ac_func" >&5
33644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33645 if eval "test \"\${$as_ac_var+set}\" = set"; then
33646 echo $ECHO_N "(cached) $ECHO_C" >&6
33648 cat >conftest.
$ac_ext <<_ACEOF
33649 #line $LINENO "configure"
33652 cat confdefs.h
>>conftest.
$ac_ext
33653 cat >>conftest.
$ac_ext <<_ACEOF
33654 /* end confdefs.h. */
33655 /* System header to define __stub macros and hopefully few prototypes,
33656 which can conflict with char $ac_func (); below.
33657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33658 <limits.h> exists even on freestanding compilers. */
33660 # include <limits.h>
33662 # include <assert.h>
33664 /* Override any gcc2 internal prototype to avoid an error. */
33669 /* We use char because int might match the return type of a gcc2
33670 builtin and then its argument prototype would still apply. */
33672 /* The GNU C library defines this for functions which it implements
33673 to always fail with ENOSYS. Some functions are actually named
33674 something starting with __ and the normal name is an alias. */
33675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33678 char (*f) () = $ac_func;
33687 return f != $ac_func;
33692 rm -f conftest.
$ac_objext conftest
$ac_exeext
33693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33694 (eval $ac_link) 2>&5
33696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33697 (exit $ac_status); } &&
33698 { ac_try
='test -s conftest$ac_exeext'
33699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33700 (eval $ac_try) 2>&5
33702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703 (exit $ac_status); }; }; then
33704 eval "$as_ac_var=yes"
33706 echo "$as_me: failed program was:" >&5
33707 sed 's/^/| /' conftest.
$ac_ext >&5
33709 eval "$as_ac_var=no"
33711 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33715 if test `eval echo '${'$as_ac_var'}'` = yes; then
33716 cat >>confdefs.h
<<_ACEOF
33717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33724 for ac_func
in floor
33726 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33727 echo "$as_me:$LINENO: checking for $ac_func" >&5
33728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33729 if eval "test \"\${$as_ac_var+set}\" = set"; then
33730 echo $ECHO_N "(cached) $ECHO_C" >&6
33732 cat >conftest.
$ac_ext <<_ACEOF
33733 #line $LINENO "configure"
33736 cat confdefs.h
>>conftest.
$ac_ext
33737 cat >>conftest.
$ac_ext <<_ACEOF
33738 /* end confdefs.h. */
33739 /* System header to define __stub macros and hopefully few prototypes,
33740 which can conflict with char $ac_func (); below.
33741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33742 <limits.h> exists even on freestanding compilers. */
33744 # include <limits.h>
33746 # include <assert.h>
33748 /* Override any gcc2 internal prototype to avoid an error. */
33753 /* We use char because int might match the return type of a gcc2
33754 builtin and then its argument prototype would still apply. */
33756 /* The GNU C library defines this for functions which it implements
33757 to always fail with ENOSYS. Some functions are actually named
33758 something starting with __ and the normal name is an alias. */
33759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33762 char (*f) () = $ac_func;
33771 return f != $ac_func;
33776 rm -f conftest.
$ac_objext conftest
$ac_exeext
33777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33778 (eval $ac_link) 2>&5
33780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33781 (exit $ac_status); } &&
33782 { ac_try
='test -s conftest$ac_exeext'
33783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33784 (eval $ac_try) 2>&5
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); }; }; then
33788 eval "$as_ac_var=yes"
33790 echo "$as_me: failed program was:" >&5
33791 sed 's/^/| /' conftest.
$ac_ext >&5
33793 eval "$as_ac_var=no"
33795 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33799 if test `eval echo '${'$as_ac_var'}'` = yes; then
33800 cat >>confdefs.h
<<_ACEOF
33801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33807 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33808 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33809 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33810 echo "$as_me:$LINENO: result: yes" >&5
33811 echo "${ECHO_T}yes" >&6
33813 echo "$as_me:$LINENO: result: no" >&5
33814 echo "${ECHO_T}no" >&6
33816 # use different functions to avoid configure caching
33822 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33823 echo "$as_me:$LINENO: checking for $ac_func" >&5
33824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33825 if eval "test \"\${$as_ac_var+set}\" = set"; then
33826 echo $ECHO_N "(cached) $ECHO_C" >&6
33828 cat >conftest.
$ac_ext <<_ACEOF
33829 #line $LINENO "configure"
33832 cat confdefs.h
>>conftest.
$ac_ext
33833 cat >>conftest.
$ac_ext <<_ACEOF
33834 /* end confdefs.h. */
33835 /* System header to define __stub macros and hopefully few prototypes,
33836 which can conflict with char $ac_func (); below.
33837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33838 <limits.h> exists even on freestanding compilers. */
33840 # include <limits.h>
33842 # include <assert.h>
33844 /* Override any gcc2 internal prototype to avoid an error. */
33849 /* We use char because int might match the return type of a gcc2
33850 builtin and then its argument prototype would still apply. */
33852 /* The GNU C library defines this for functions which it implements
33853 to always fail with ENOSYS. Some functions are actually named
33854 something starting with __ and the normal name is an alias. */
33855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33858 char (*f) () = $ac_func;
33867 return f != $ac_func;
33872 rm -f conftest.
$ac_objext conftest
$ac_exeext
33873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33874 (eval $ac_link) 2>&5
33876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33877 (exit $ac_status); } &&
33878 { ac_try
='test -s conftest$ac_exeext'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; }; then
33884 eval "$as_ac_var=yes"
33886 echo "$as_me: failed program was:" >&5
33887 sed 's/^/| /' conftest.
$ac_ext >&5
33889 eval "$as_ac_var=no"
33891 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33895 if test `eval echo '${'$as_ac_var'}'` = yes; then
33896 cat >>confdefs.h
<<_ACEOF
33897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33904 for ac_func
in ceil
33906 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33907 echo "$as_me:$LINENO: checking for $ac_func" >&5
33908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33909 if eval "test \"\${$as_ac_var+set}\" = set"; then
33910 echo $ECHO_N "(cached) $ECHO_C" >&6
33912 cat >conftest.
$ac_ext <<_ACEOF
33913 #line $LINENO "configure"
33916 cat confdefs.h
>>conftest.
$ac_ext
33917 cat >>conftest.
$ac_ext <<_ACEOF
33918 /* end confdefs.h. */
33919 /* System header to define __stub macros and hopefully few prototypes,
33920 which can conflict with char $ac_func (); below.
33921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33922 <limits.h> exists even on freestanding compilers. */
33924 # include <limits.h>
33926 # include <assert.h>
33928 /* Override any gcc2 internal prototype to avoid an error. */
33933 /* We use char because int might match the return type of a gcc2
33934 builtin and then its argument prototype would still apply. */
33936 /* The GNU C library defines this for functions which it implements
33937 to always fail with ENOSYS. Some functions are actually named
33938 something starting with __ and the normal name is an alias. */
33939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33942 char (*f) () = $ac_func;
33951 return f != $ac_func;
33956 rm -f conftest.
$ac_objext conftest
$ac_exeext
33957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33958 (eval $ac_link) 2>&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } &&
33962 { ac_try
='test -s conftest$ac_exeext'
33963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33964 (eval $ac_try) 2>&5
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; }; then
33968 eval "$as_ac_var=yes"
33970 echo "$as_me: failed program was:" >&5
33971 sed 's/^/| /' conftest.
$ac_ext >&5
33973 eval "$as_ac_var=no"
33975 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33979 if test `eval echo '${'$as_ac_var'}'` = yes; then
33980 cat >>confdefs.h
<<_ACEOF
33981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33987 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33988 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33989 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33990 echo "$as_me:$LINENO: result: yes" >&5
33991 echo "${ECHO_T}yes" >&6
33993 echo "$as_me:$LINENO: result: no" >&5
33994 echo "${ECHO_T}no" >&6
33995 # not sure we should warn the user, crash, etc.
33999 if test "$wxUSE_GUI" = "yes"; then
34002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
34003 drawing dynamic erase event exec font image \
34004 minimal propsize rotate shaped widgets render"
34006 if test "$wxUSE_MONOLITHIC" != "yes"; then
34007 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
34010 SAMPLES_SUBDIRS
="console"
34014 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
34015 -I\${top_srcdir}/include \
34016 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
34019 if test "$GXX" = yes ; then
34020 CXXWARNINGS
="-Wall"
34023 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34025 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34026 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34027 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34030 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
34031 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
34032 EXTRALIBS_XML
="$EXPAT_LINK"
34033 EXTRALIBS_HTML
="$MSPACK_LINK"
34034 EXTRALIBS_ODBC
="$ODBC_LINK"
34035 if test "$wxUSE_GUI" = "yes"; then
34036 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
34038 if test "$wxUSE_OPENGL" = "yes"; then
34039 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
34042 LDFLAGS
="$LDFLAGS $PROFILE"
34044 if test "$wxUSE_GTK" = 1; then
34047 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
34050 WXCONFIG_EXTRALIBS
="$LIBS"
34052 if test "$wxUSE_REGEX" = "builtin" ; then
34053 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
34055 if test "$wxUSE_EXPAT" = "builtin" ; then
34056 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
34058 if test "$wxUSE_ODBC" = "builtin" ; then
34059 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
34061 if test "$wxUSE_LIBTIFF" = "builtin" ; then
34062 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
34064 if test "$wxUSE_LIBJPEG" = "builtin" ; then
34065 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
34067 if test "$wxUSE_LIBPNG" = "builtin" ; then
34068 wxconfig_3rdparty
="$wxconfig_3rdparty png"
34070 if test "$wxUSE_ZLIB" = "builtin" ; then
34071 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
34073 if test "$wxUSE_ODBC" = "builtin" ; then
34074 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
34077 for i
in $wxconfig_3rdparty ; do
34078 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
34082 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
34096 if test $wxUSE_MONOLITHIC = "yes" ; then
34102 if test $wxUSE_ODBC != "no" ; then
34108 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
34131 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
34139 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
34141 if test -n "$ac_tool_prefix"; then
34142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
34143 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
34144 echo "$as_me:$LINENO: checking for $ac_word" >&5
34145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34146 if test "${ac_cv_prog_RANLIB+set}" = set; then
34147 echo $ECHO_N "(cached) $ECHO_C" >&6
34149 if test -n "$RANLIB"; then
34150 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
34152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34153 for as_dir
in $PATH
34156 test -z "$as_dir" && as_dir
=.
34157 for ac_exec_ext
in '' $ac_executable_extensions; do
34158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34159 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
34160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34168 RANLIB
=$ac_cv_prog_RANLIB
34169 if test -n "$RANLIB"; then
34170 echo "$as_me:$LINENO: result: $RANLIB" >&5
34171 echo "${ECHO_T}$RANLIB" >&6
34173 echo "$as_me:$LINENO: result: no" >&5
34174 echo "${ECHO_T}no" >&6
34178 if test -z "$ac_cv_prog_RANLIB"; then
34179 ac_ct_RANLIB
=$RANLIB
34180 # Extract the first word of "ranlib", so it can be a program name with args.
34181 set dummy ranlib
; ac_word
=$2
34182 echo "$as_me:$LINENO: checking for $ac_word" >&5
34183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34185 echo $ECHO_N "(cached) $ECHO_C" >&6
34187 if test -n "$ac_ct_RANLIB"; then
34188 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
34190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34191 for as_dir
in $PATH
34194 test -z "$as_dir" && as_dir
=.
34195 for ac_exec_ext
in '' $ac_executable_extensions; do
34196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34197 ac_cv_prog_ac_ct_RANLIB
="ranlib"
34198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34204 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
34207 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
34208 if test -n "$ac_ct_RANLIB"; then
34209 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34210 echo "${ECHO_T}$ac_ct_RANLIB" >&6
34212 echo "$as_me:$LINENO: result: no" >&5
34213 echo "${ECHO_T}no" >&6
34216 RANLIB
=$ac_ct_RANLIB
34218 RANLIB
="$ac_cv_prog_RANLIB"
34221 # Find a good install program. We prefer a C program (faster),
34222 # so one script is as good as another. But avoid the broken or
34223 # incompatible versions:
34224 # SysV /etc/install, /usr/sbin/install
34225 # SunOS /usr/etc/install
34226 # IRIX /sbin/install
34228 # AmigaOS /C/install, which installs bootblocks on floppy discs
34229 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34230 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34231 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34232 # ./install, which can be erroneously created by make from ./install.sh.
34233 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34234 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34235 if test -z "$INSTALL"; then
34236 if test "${ac_cv_path_install+set}" = set; then
34237 echo $ECHO_N "(cached) $ECHO_C" >&6
34239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34240 for as_dir
in $PATH
34243 test -z "$as_dir" && as_dir
=.
34244 # Account for people who put trailing slashes in PATH elements.
34246 .
/ | .
// | /cC
/* | \
34247 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
34250 # OSF1 and SCO ODT 3.0 have their own names for install.
34251 # Don't use installbsd from OSF since it installs stuff as root
34253 for ac_prog
in ginstall scoinst
install; do
34254 for ac_exec_ext
in '' $ac_executable_extensions; do
34255 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34256 if test $ac_prog = install &&
34257 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34258 # AIX install. It has an incompatible calling convention.
34260 elif test $ac_prog = install &&
34261 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34262 # program-specific install script used by HP pwplus--don't use.
34265 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
34277 if test "${ac_cv_path_install+set}" = set; then
34278 INSTALL
=$ac_cv_path_install
34280 # As a last resort, use the slow shell script. We don't cache a
34281 # path for INSTALL within a source directory, because that will
34282 # break other packages using the cache if that directory is
34283 # removed, or if the path is relative.
34284 INSTALL
=$ac_install_sh
34287 echo "$as_me:$LINENO: result: $INSTALL" >&5
34288 echo "${ECHO_T}$INSTALL" >&6
34290 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34291 # It thinks the first close brace ends the variable substitution.
34292 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
34294 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
34296 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
34298 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34299 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34301 if test "$LN_S" = "ln -s"; then
34302 echo "$as_me:$LINENO: result: yes" >&5
34303 echo "${ECHO_T}yes" >&6
34305 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34306 echo "${ECHO_T}no, using $LN_S" >&6
34310 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34311 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34312 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34313 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34314 echo $ECHO_N "(cached) $ECHO_C" >&6
34316 cat >conftest.
make <<\_ACEOF
34318 @
echo 'ac_maketemp="$(MAKE)"'
34320 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34321 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34322 if test -n "$ac_maketemp"; then
34323 eval ac_cv_prog_make_
${ac_make}_set
=yes
34325 eval ac_cv_prog_make_
${ac_make}_set
=no
34327 rm -f conftest.
make
34329 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34330 echo "$as_me:$LINENO: result: yes" >&5
34331 echo "${ECHO_T}yes" >&6
34334 echo "$as_me:$LINENO: result: no" >&5
34335 echo "${ECHO_T}no" >&6
34336 SET_MAKE
="MAKE=${MAKE-make}"
34341 if test -n "$ac_tool_prefix"; then
34342 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34343 set dummy
${ac_tool_prefix}ar; ac_word
=$2
34344 echo "$as_me:$LINENO: checking for $ac_word" >&5
34345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34346 if test "${ac_cv_prog_AR+set}" = set; then
34347 echo $ECHO_N "(cached) $ECHO_C" >&6
34349 if test -n "$AR"; then
34350 ac_cv_prog_AR
="$AR" # Let the user override the test.
34352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34353 for as_dir
in $PATH
34356 test -z "$as_dir" && as_dir
=.
34357 for ac_exec_ext
in '' $ac_executable_extensions; do
34358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34359 ac_cv_prog_AR
="${ac_tool_prefix}ar"
34360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34369 if test -n "$AR"; then
34370 echo "$as_me:$LINENO: result: $AR" >&5
34371 echo "${ECHO_T}$AR" >&6
34373 echo "$as_me:$LINENO: result: no" >&5
34374 echo "${ECHO_T}no" >&6
34378 if test -z "$ac_cv_prog_AR"; then
34380 # Extract the first word of "ar", so it can be a program name with args.
34381 set dummy
ar; ac_word
=$2
34382 echo "$as_me:$LINENO: checking for $ac_word" >&5
34383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34384 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34385 echo $ECHO_N "(cached) $ECHO_C" >&6
34387 if test -n "$ac_ct_AR"; then
34388 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
34390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34391 for as_dir
in $PATH
34394 test -z "$as_dir" && as_dir
=.
34395 for ac_exec_ext
in '' $ac_executable_extensions; do
34396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34397 ac_cv_prog_ac_ct_AR
="ar"
34398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34404 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
34407 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
34408 if test -n "$ac_ct_AR"; then
34409 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34410 echo "${ECHO_T}$ac_ct_AR" >&6
34412 echo "$as_me:$LINENO: result: no" >&5
34413 echo "${ECHO_T}no" >&6
34418 AR
="$ac_cv_prog_AR"
34421 if test -n "$ac_tool_prefix"; then
34422 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34423 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
34424 echo "$as_me:$LINENO: checking for $ac_word" >&5
34425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34426 if test "${ac_cv_prog_STRIP+set}" = set; then
34427 echo $ECHO_N "(cached) $ECHO_C" >&6
34429 if test -n "$STRIP"; then
34430 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
34432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34433 for as_dir
in $PATH
34436 test -z "$as_dir" && as_dir
=.
34437 for ac_exec_ext
in '' $ac_executable_extensions; do
34438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34439 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
34440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34448 STRIP
=$ac_cv_prog_STRIP
34449 if test -n "$STRIP"; then
34450 echo "$as_me:$LINENO: result: $STRIP" >&5
34451 echo "${ECHO_T}$STRIP" >&6
34453 echo "$as_me:$LINENO: result: no" >&5
34454 echo "${ECHO_T}no" >&6
34458 if test -z "$ac_cv_prog_STRIP"; then
34460 # Extract the first word of "strip", so it can be a program name with args.
34461 set dummy strip
; ac_word
=$2
34462 echo "$as_me:$LINENO: checking for $ac_word" >&5
34463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34464 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34465 echo $ECHO_N "(cached) $ECHO_C" >&6
34467 if test -n "$ac_ct_STRIP"; then
34468 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
34470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34471 for as_dir
in $PATH
34474 test -z "$as_dir" && as_dir
=.
34475 for ac_exec_ext
in '' $ac_executable_extensions; do
34476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34477 ac_cv_prog_ac_ct_STRIP
="strip"
34478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34484 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
34487 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
34488 if test -n "$ac_ct_STRIP"; then
34489 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34490 echo "${ECHO_T}$ac_ct_STRIP" >&6
34492 echo "$as_me:$LINENO: result: no" >&5
34493 echo "${ECHO_T}no" >&6
34498 STRIP
="$ac_cv_prog_STRIP"
34501 if test -n "$ac_tool_prefix"; then
34502 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34503 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
34504 echo "$as_me:$LINENO: checking for $ac_word" >&5
34505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34506 if test "${ac_cv_prog_NM+set}" = set; then
34507 echo $ECHO_N "(cached) $ECHO_C" >&6
34509 if test -n "$NM"; then
34510 ac_cv_prog_NM
="$NM" # Let the user override the test.
34512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34513 for as_dir
in $PATH
34516 test -z "$as_dir" && as_dir
=.
34517 for ac_exec_ext
in '' $ac_executable_extensions; do
34518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34519 ac_cv_prog_NM
="${ac_tool_prefix}nm"
34520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34529 if test -n "$NM"; then
34530 echo "$as_me:$LINENO: result: $NM" >&5
34531 echo "${ECHO_T}$NM" >&6
34533 echo "$as_me:$LINENO: result: no" >&5
34534 echo "${ECHO_T}no" >&6
34538 if test -z "$ac_cv_prog_NM"; then
34540 # Extract the first word of "nm", so it can be a program name with args.
34541 set dummy nm
; ac_word
=$2
34542 echo "$as_me:$LINENO: checking for $ac_word" >&5
34543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34544 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34545 echo $ECHO_N "(cached) $ECHO_C" >&6
34547 if test -n "$ac_ct_NM"; then
34548 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
34550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34551 for as_dir
in $PATH
34554 test -z "$as_dir" && as_dir
=.
34555 for ac_exec_ext
in '' $ac_executable_extensions; do
34556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34557 ac_cv_prog_ac_ct_NM
="nm"
34558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34564 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
34567 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
34568 if test -n "$ac_ct_NM"; then
34569 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34570 echo "${ECHO_T}$ac_ct_NM" >&6
34572 echo "$as_me:$LINENO: result: no" >&5
34573 echo "${ECHO_T}no" >&6
34578 NM
="$ac_cv_prog_NM"
34584 INSTALL_DIR
="mkdir"
34586 *) INSTALL_DIR
="$INSTALL -d"
34593 *-*-cygwin* | *-*-mingw32* )
34594 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
34600 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34601 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34602 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34603 echo $ECHO_N "(cached) $ECHO_C" >&6
34606 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
34607 egrep -s GNU
> /dev
/null
); then
34608 bakefile_cv_prog_makeisgnu
="yes"
34610 bakefile_cv_prog_makeisgnu
="no"
34614 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34615 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34617 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34633 *-*-cygwin* | *-*-mingw32* )
34639 *-pc-os2_emx | *-pc-os2-emx )
34642 powerpc
-*-darwin* )
34660 SO_SUFFIX_MODULE
="so"
34669 SO_SUFFIX_MODULE
="sl"
34673 SO_SUFFIX_MODULE
="a"
34675 *-*-cygwin* | *-*-mingw32* )
34677 SO_SUFFIX_MODULE
="dll"
34685 *-pc-os2_emx | *-pc-os2-emx )
34690 powerpc
-*-darwin* )
34692 SO_SUFFIX_MODULE
="bundle"
34704 SHARED_LD_CC
="\$(CC) -shared -o"
34705 SHARED_LD_CXX
="\$(CXX) -shared -o"
34707 if test "x$GCC" = "xyes"; then
34713 if test "x$GCC" = "xyes"; then
34714 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
34715 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
34717 LDFLAGS
="$LDFLAGS -L/usr/lib"
34719 SHARED_LD_CC
="${CC} -b -o"
34720 SHARED_LD_CXX
="${CXX} -b -o"
34726 if test "x$GCC" != "xyes"; then
34727 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34728 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34729 if test "${bakefile_cv_prog_icc+set}" = set; then
34730 echo $ECHO_N "(cached) $ECHO_C" >&6
34733 cat >conftest.
$ac_ext <<_ACEOF
34734 #line $LINENO "configure"
34737 cat confdefs.h
>>conftest.
$ac_ext
34738 cat >>conftest.
$ac_ext <<_ACEOF
34739 /* end confdefs.h. */
34745 #ifndef __INTEL_COMPILER
34753 rm -f conftest.
$ac_objext
34754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34755 (eval $ac_compile) 2>&5
34757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758 (exit $ac_status); } &&
34759 { ac_try
='test -s conftest.$ac_objext'
34760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34761 (eval $ac_try) 2>&5
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); }; }; then
34765 bakefile_cv_prog_icc
=yes
34767 echo "$as_me: failed program was:" >&5
34768 sed 's/^/| /' conftest.
$ac_ext >&5
34770 bakefile_cv_prog_icc
=no
34773 rm -f conftest.
$ac_objext conftest.
$ac_ext
34776 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34777 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34778 if test "$bakefile_cv_prog_icc" = "yes"; then
34785 if test "x$GCC" != xyes
; then
34786 SHARED_LD_CC
="${CC} -G -o"
34787 SHARED_LD_CXX
="${CXX} -G -o"
34793 CFLAGS
="$CFLAGS -fno-common"
34794 CXXFLAGS
="$CXXFLAGS -fno-common"
34797 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34798 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34799 if test "${wx_cv_gcc31+set}" = set; then
34800 echo $ECHO_N "(cached) $ECHO_C" >&6
34803 cat >conftest.
$ac_ext <<_ACEOF
34804 #line $LINENO "configure"
34807 cat confdefs.h
>>conftest.
$ac_ext
34808 cat >>conftest.
$ac_ext <<_ACEOF
34809 /* end confdefs.h. */
34815 #if (__GNUC__ < 3) || \
34816 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34824 rm -f conftest.
$ac_objext
34825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34826 (eval $ac_compile) 2>&5
34828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34829 (exit $ac_status); } &&
34830 { ac_try
='test -s conftest.$ac_objext'
34831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34832 (eval $ac_try) 2>&5
34834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34835 (exit $ac_status); }; }; then
34840 echo "$as_me: failed program was:" >&5
34841 sed 's/^/| /' conftest.
$ac_ext >&5
34848 rm -f conftest.
$ac_objext conftest.
$ac_ext
34851 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34852 echo "${ECHO_T}$wx_cv_gcc31" >&6
34853 if test "$wx_cv_gcc31" = "no"; then
34854 cat <<EOF >shared-ld-sh
34856 #-----------------------------------------------------------------------------
34857 #-- Name: distrib/mac/shared-ld-sh
34858 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34859 #-- Author: Gilles Depeyrot
34860 #-- Copyright: (c) 2002 Gilles Depeyrot
34861 #-- Licence: any use permitted
34862 #-----------------------------------------------------------------------------
34867 linking_flag="-dynamiclib"
34869 while test \${#} -gt 0; do
34876 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34877 # collect these options and values
34878 args="\${args} \${1} \${2}"
34882 -l*|-L*|-flat_namespace)
34883 # collect these options
34884 args="\${args} \${1}"
34887 -dynamiclib|-bundle)
34888 linking_flag="\${1}"
34892 echo "shared-ld: unhandled option '\${1}'"
34896 *.o | *.a | *.dylib)
34897 # collect object files
34898 objects="\${objects} \${1}"
34902 echo "shared-ld: unhandled argument '\${1}'"
34911 # Link one module containing all the others
34913 if test \${verbose} = 1; then
34914 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34916 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34918 if test \${status} != 0; then
34923 # Link the shared library from the single module created
34925 if test \${verbose} = 1; then
34926 echo "cc \${linking_flag} master.\$\$.o \${args}"
34928 c++ \${linking_flag} master.\$\$.o \${args}
34930 if test \${status} != 0; then
34935 # Remove intermediate module
34937 rm -f master.\$\$.o
34941 chmod +x shared
-ld-sh
34943 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
34944 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
34945 SHARED_LD_CXX
="$SHARED_LD_CC"
34946 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
34948 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
34949 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
34950 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
34951 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
34954 PIC_FLAG
="-dynamic -fPIC"
34958 if test "x$GCC" != "xyes"; then
34959 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34960 set dummy makeC
++SharedLib
; ac_word
=$2
34961 echo "$as_me:$LINENO: checking for $ac_word" >&5
34962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34963 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34964 echo $ECHO_N "(cached) $ECHO_C" >&6
34966 if test -n "$AIX_CXX_LD"; then
34967 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34970 for as_dir
in $PATH
34973 test -z "$as_dir" && as_dir
=.
34974 for ac_exec_ext
in '' $ac_executable_extensions; do
34975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34976 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34983 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34986 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34987 if test -n "$AIX_CXX_LD"; then
34988 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34989 echo "${ECHO_T}$AIX_CXX_LD" >&6
34991 echo "$as_me:$LINENO: result: no" >&5
34992 echo "${ECHO_T}no" >&6
34995 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34996 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
35001 SHARED_LD_CC
="${LD} -shared -o"
35002 SHARED_LD_CXX
="${LD} -shared -o"
35006 if test "x$GCC" != "xyes"; then
35011 *-*-cygwin* | *-*-mingw32* )
35015 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
35019 *-pc-os2_emx | *-pc-os2-emx | \
35024 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
35025 echo "$as_me: error: unknown system type $host." >&2;}
35026 { (exit 1); exit 1; }; }
35029 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
35030 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
35032 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
35033 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
35052 SONAME_FLAG
="-Wl,-soname,"
35080 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
35081 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
35084 if test "x$GCC" = "xyes"; then
35088 powerpc
-*-darwin* )
35089 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
35092 DEPSFLAG_GCC
="-MMD"
35095 echo "$as_me:$LINENO: result: gcc" >&5
35096 echo "${ECHO_T}gcc" >&6
35098 echo "$as_me:$LINENO: result: none" >&5
35099 echo "${ECHO_T}none" >&6
35102 if test $DEPS_TRACKING = 1 ; then
35106 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35107 # script. It is used to track C/C++ files dependencies in portable way.
35109 # Permission is given to use this file in any way.
35113 DEPSFLAG_GCC="$DEPSFLAG_GCC"
35117 if test \$DEPSMODE = gcc ; then
35118 \${*} \${DEPSFLAG_GCC}
35120 if test \${status} != 0 ; then
35123 # move created file to the location we want it in:
35124 while test \${#} -gt 0; do
35138 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
35139 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
35140 if test -f \$depfile ; then
35141 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35144 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
35145 if test -f \$depfile ; then
35146 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35166 *-*-cygwin* | *-*-mingw32* )
35167 if test "$build" != "$host" ; then
35168 RESCOMP
=$host_alias-windres
35170 # Extract the first word of "windres", so it can be a program name with args.
35171 set dummy windres
; ac_word
=$2
35172 echo "$as_me:$LINENO: checking for $ac_word" >&5
35173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35174 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35175 echo $ECHO_N "(cached) $ECHO_C" >&6
35177 if test -n "$RESCOMP"; then
35178 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
35180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35181 for as_dir
in $PATH
35184 test -z "$as_dir" && as_dir
=.
35185 for ac_exec_ext
in '' $ac_executable_extensions; do
35186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35187 ac_cv_prog_RESCOMP
="windres"
35188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35194 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
35197 RESCOMP
=$ac_cv_prog_RESCOMP
35198 if test -n "$RESCOMP"; then
35199 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35200 echo "${ECHO_T}$RESCOMP" >&6
35202 echo "$as_me:$LINENO: result: no" >&5
35203 echo "${ECHO_T}no" >&6
35210 # Extract the first word of "Rez", so it can be a program name with args.
35211 set dummy Rez
; ac_word
=$2
35212 echo "$as_me:$LINENO: checking for $ac_word" >&5
35213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35214 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35215 echo $ECHO_N "(cached) $ECHO_C" >&6
35217 if test -n "$RESCOMP"; then
35218 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
35220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35221 for as_dir
in $PATH
35224 test -z "$as_dir" && as_dir
=.
35225 for ac_exec_ext
in '' $ac_executable_extensions; do
35226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35227 ac_cv_prog_RESCOMP
="Rez"
35228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35234 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
35237 RESCOMP
=$ac_cv_prog_RESCOMP
35238 if test -n "$RESCOMP"; then
35239 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35240 echo "${ECHO_T}$RESCOMP" >&6
35242 echo "$as_me:$LINENO: result: no" >&5
35243 echo "${ECHO_T}no" >&6
35246 # Extract the first word of "SetFile", so it can be a program name with args.
35247 set dummy SetFile
; ac_word
=$2
35248 echo "$as_me:$LINENO: checking for $ac_word" >&5
35249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35250 if test "${ac_cv_prog_SETFILE+set}" = set; then
35251 echo $ECHO_N "(cached) $ECHO_C" >&6
35253 if test -n "$SETFILE"; then
35254 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
35256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35257 for as_dir
in $PATH
35260 test -z "$as_dir" && as_dir
=.
35261 for ac_exec_ext
in '' $ac_executable_extensions; do
35262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35263 ac_cv_prog_SETFILE
="SetFile"
35264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35270 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
35273 SETFILE
=$ac_cv_prog_SETFILE
35274 if test -n "$SETFILE"; then
35275 echo "$as_me:$LINENO: result: $SETFILE" >&5
35276 echo "${ECHO_T}$SETFILE" >&6
35278 echo "$as_me:$LINENO: result: no" >&5
35279 echo "${ECHO_T}no" >&6
35292 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35293 if test "${enable_precomp_headers+set}" = set; then
35294 enableval
="$enable_precomp_headers"
35295 bk_use_pch
="$enableval"
35300 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35301 if test "x$GCC" = "xyes"; then
35302 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35303 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35304 cat >conftest.
$ac_ext <<_ACEOF
35305 #line $LINENO "configure"
35308 cat confdefs.h
>>conftest.
$ac_ext
35309 cat >>conftest.
$ac_ext <<_ACEOF
35310 /* end confdefs.h. */
35316 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35317 #error "no pch support"
35320 #error "no pch support"
35322 #if (__GNUC__ == 3) && \
35323 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35324 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35325 #error "no pch support"
35332 rm -f conftest.
$ac_objext
35333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35334 (eval $ac_compile) 2>&5
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); } &&
35338 { ac_try
='test -s conftest.$ac_objext'
35339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35340 (eval $ac_try) 2>&5
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); }; }; then
35345 echo "$as_me:$LINENO: result: yes" >&5
35346 echo "${ECHO_T}yes" >&6
35347 CPPFLAGS
="-fpch-deps $CPPFLAGS"
35351 echo "$as_me: failed program was:" >&5
35352 sed 's/^/| /' conftest.
$ac_ext >&5
35355 echo "$as_me:$LINENO: result: no" >&5
35356 echo "${ECHO_T}no" >&6
35359 rm -f conftest.
$ac_objext conftest.
$ac_ext
35360 if test $GCC_PCH = 1 ; then
35361 cat <<EOF >bk-make-pch
35364 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35365 # script. It is used to generated precompiled headers.
35367 # Permission is given to use this file in any way.
35376 while test \${#} -gt 0; do
35379 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35380 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35381 headerfile="\${incdir}/\${header}"
35385 compiler="\${compiler} \${1}"
35389 if test "x\${headerfile}" = "x" ; then
35390 echo "error: can't find header \${header} in include paths" >2
35392 if test -f \${outfile} ; then
35395 mkdir -p \`dirname \${outfile}\`
35397 depsfile=".deps/\`basename \${outfile}\`.d"
35399 # can do this because gcc is >= 3.4:
35400 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35404 chmod +x bk
-make-pch
35413 COND_BUILD_DEBUG
="#"
35414 if test "x$BUILD" = "xdebug" ; then
35415 COND_BUILD_DEBUG
=""
35418 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
35419 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35420 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
35423 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
35424 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35425 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
35428 COND_BUILD_RELEASE
="#"
35429 if test "x$BUILD" = "xrelease" ; then
35430 COND_BUILD_RELEASE
=""
35433 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
35434 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35435 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
35438 COND_DEBUG_FLAG_1
="#"
35439 if test "x$DEBUG_FLAG" = "x1" ; then
35440 COND_DEBUG_FLAG_1
=""
35443 COND_DEBUG_INFO_0
="#"
35444 if test "x$DEBUG_INFO" = "x0" ; then
35445 COND_DEBUG_INFO_0
=""
35448 COND_DEBUG_INFO_1
="#"
35449 if test "x$DEBUG_INFO" = "x1" ; then
35450 COND_DEBUG_INFO_1
=""
35453 COND_DEPS_TRACKING_0
="#"
35454 if test "x$DEPS_TRACKING" = "x0" ; then
35455 COND_DEPS_TRACKING_0
=""
35458 COND_DEPS_TRACKING_1
="#"
35459 if test "x$DEPS_TRACKING" = "x1" ; then
35460 COND_DEPS_TRACKING_1
=""
35464 if test "x$GCC_PCH" = "x1" ; then
35468 COND_MONOLITHIC_0
="#"
35469 if test "x$MONOLITHIC" = "x0" ; then
35470 COND_MONOLITHIC_0
=""
35473 COND_MONOLITHIC_0_SHARED_0
="#"
35474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35475 COND_MONOLITHIC_0_SHARED_0
=""
35478 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
35479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
35483 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
35484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35485 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
35488 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
35489 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35490 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
35493 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
35494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35495 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
35498 COND_MONOLITHIC_0_SHARED_1
="#"
35499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35500 COND_MONOLITHIC_0_SHARED_1
=""
35503 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
35504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
35508 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
35509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35510 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
35513 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
35514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35515 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
35518 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
35519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35520 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
35523 COND_MONOLITHIC_1
="#"
35524 if test "x$MONOLITHIC" = "x1" ; then
35525 COND_MONOLITHIC_1
=""
35528 COND_MONOLITHIC_1_SHARED_0
="#"
35529 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35530 COND_MONOLITHIC_1_SHARED_0
=""
35533 COND_MONOLITHIC_1_SHARED_1
="#"
35534 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35535 COND_MONOLITHIC_1_SHARED_1
=""
35538 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
35539 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35540 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
35543 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
35544 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35545 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
35548 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
35549 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35550 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
35553 COND_PLATFORM_MACOSX_1
="#"
35554 if test "x$PLATFORM_MACOSX" = "x1" ; then
35555 COND_PLATFORM_MACOSX_1
=""
35558 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
35559 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35560 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
35563 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
35564 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35565 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
35568 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
35569 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35570 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
35573 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
35574 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
35575 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
35578 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
35579 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35580 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
35583 COND_PLATFORM_MAC_1
="#"
35584 if test "x$PLATFORM_MAC" = "x1" ; then
35585 COND_PLATFORM_MAC_1
=""
35588 COND_PLATFORM_OS2_1
="#"
35589 if test "x$PLATFORM_OS2" = "x1" ; then
35590 COND_PLATFORM_OS2_1
=""
35593 COND_PLATFORM_UNIX_0
="#"
35594 if test "x$PLATFORM_UNIX" = "x0" ; then
35595 COND_PLATFORM_UNIX_0
=""
35598 COND_PLATFORM_UNIX_1
="#"
35599 if test "x$PLATFORM_UNIX" = "x1" ; then
35600 COND_PLATFORM_UNIX_1
=""
35603 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
35604 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
35605 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
35608 COND_PLATFORM_WIN32_0
="#"
35609 if test "x$PLATFORM_WIN32" = "x0" ; then
35610 COND_PLATFORM_WIN32_0
=""
35613 COND_PLATFORM_WIN32_1
="#"
35614 if test "x$PLATFORM_WIN32" = "x1" ; then
35615 COND_PLATFORM_WIN32_1
=""
35619 if test "x$SHARED" = "x0" ; then
35623 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
35624 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35625 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
35628 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35629 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35630 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35633 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35634 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35635 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35638 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35639 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35640 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35643 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
35644 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35645 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
35648 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
35649 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35650 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
35653 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
35654 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35655 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
35658 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
35659 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35660 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
35664 if test "x$SHARED" = "x1" ; then
35668 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
35669 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35670 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
35673 COND_TOOLKIT_COCOA
="#"
35674 if test "x$TOOLKIT" = "xCOCOA" ; then
35675 COND_TOOLKIT_COCOA
=""
35678 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
35679 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35680 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
35683 COND_TOOLKIT_GTK
="#"
35684 if test "x$TOOLKIT" = "xGTK" ; then
35685 COND_TOOLKIT_GTK
=""
35688 COND_TOOLKIT_GTK_USE_GUI_1
="#"
35689 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35690 COND_TOOLKIT_GTK_USE_GUI_1
=""
35693 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
35694 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35695 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
35698 COND_TOOLKIT_MAC
="#"
35699 if test "x$TOOLKIT" = "xMAC" ; then
35700 COND_TOOLKIT_MAC
=""
35703 COND_TOOLKIT_MAC_USE_GUI_1
="#"
35704 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35705 COND_TOOLKIT_MAC_USE_GUI_1
=""
35708 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
35709 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35710 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
35713 COND_TOOLKIT_MGL
="#"
35714 if test "x$TOOLKIT" = "xMGL" ; then
35715 COND_TOOLKIT_MGL
=""
35718 COND_TOOLKIT_MGL_USE_GUI_1
="#"
35719 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35720 COND_TOOLKIT_MGL_USE_GUI_1
=""
35723 COND_TOOLKIT_MOTIF
="#"
35724 if test "x$TOOLKIT" = "xMOTIF" ; then
35725 COND_TOOLKIT_MOTIF
=""
35728 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
35729 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35730 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
35733 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
35734 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35735 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
35738 COND_TOOLKIT_MSW
="#"
35739 if test "x$TOOLKIT" = "xMSW" ; then
35740 COND_TOOLKIT_MSW
=""
35743 COND_TOOLKIT_MSW_USE_GUI_1
="#"
35744 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35745 COND_TOOLKIT_MSW_USE_GUI_1
=""
35748 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
35749 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35750 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
35753 COND_TOOLKIT_PM
="#"
35754 if test "x$TOOLKIT" = "xPM" ; then
35758 COND_TOOLKIT_PM_USE_GUI_1
="#"
35759 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35760 COND_TOOLKIT_PM_USE_GUI_1
=""
35763 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
35764 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35765 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
35768 COND_TOOLKIT_X11
="#"
35769 if test "x$TOOLKIT" = "xX11" ; then
35770 COND_TOOLKIT_X11
=""
35773 COND_TOOLKIT_X11_USE_GUI_1
="#"
35774 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35775 COND_TOOLKIT_X11_USE_GUI_1
=""
35779 if test "x$UNICODE" = "x1" ; then
35783 COND_USE_EXCEPTIONS_0
="#"
35784 if test "x$USE_EXCEPTIONS" = "x0" ; then
35785 COND_USE_EXCEPTIONS_0
=""
35788 COND_USE_EXCEPTIONS_1
="#"
35789 if test "x$USE_EXCEPTIONS" = "x1" ; then
35790 COND_USE_EXCEPTIONS_1
=""
35794 if test "x$USE_GUI" = "x0" ; then
35799 if test "x$USE_GUI" = "x1" ; then
35803 COND_USE_GUI_1_WXUNIV_0
="#"
35804 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35805 COND_USE_GUI_1_WXUNIV_0
=""
35808 COND_USE_GUI_1_WXUNIV_1
="#"
35809 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35810 COND_USE_GUI_1_WXUNIV_1
=""
35813 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35814 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35815 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35818 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35819 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35820 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35823 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35824 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35825 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35828 COND_USE_ODBC_1
="#"
35829 if test "x$USE_ODBC" = "x1" ; then
35833 COND_USE_SOSYMLINKS_1
="#"
35834 if test "x$USE_SOSYMLINKS" = "x1" ; then
35835 COND_USE_SOSYMLINKS_1
=""
35838 COND_USE_SOVERLINUX_1
="#"
35839 if test "x$USE_SOVERLINUX" = "x1" ; then
35840 COND_USE_SOVERLINUX_1
=""
35843 COND_USE_SOVERSION_0
="#"
35844 if test "x$USE_SOVERSION" = "x0" ; then
35845 COND_USE_SOVERSION_0
=""
35848 COND_USE_SOVERSOLARIS_1
="#"
35849 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35850 COND_USE_SOVERSOLARIS_1
=""
35854 if test "x$WXUNIV" = "x1" ; then
35858 COND_WXUSE_EXPAT_BUILTIN
="#"
35859 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35860 COND_WXUSE_EXPAT_BUILTIN
=""
35863 COND_WXUSE_LIBJPEG_BUILTIN
="#"
35864 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35865 COND_WXUSE_LIBJPEG_BUILTIN
=""
35868 COND_WXUSE_LIBPNG_BUILTIN
="#"
35869 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35870 COND_WXUSE_LIBPNG_BUILTIN
=""
35873 COND_WXUSE_LIBTIFF_BUILTIN
="#"
35874 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35875 COND_WXUSE_LIBTIFF_BUILTIN
=""
35878 COND_WXUSE_ODBC_BUILTIN
="#"
35879 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35880 COND_WXUSE_ODBC_BUILTIN
=""
35883 COND_WXUSE_REGEX_BUILTIN
="#"
35884 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35885 COND_WXUSE_REGEX_BUILTIN
=""
35888 COND_WXUSE_ZLIB_BUILTIN
="#"
35889 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35890 COND_WXUSE_ZLIB_BUILTIN
=""
35897 if test $GCC_PCH = 1 ; then
35898 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35901 powerpc
-*-darwin* )
35902 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
35907 powerpc
-*-darwin* )
35908 CODE_GEN_FLAGS_CXX
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35913 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
36014 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36015 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36016 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
36017 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36018 echo $ECHO_N "(cached) $ECHO_C" >&6
36020 cat >conftest.
make <<\_ACEOF
36022 @
echo 'ac_maketemp="$(MAKE)"'
36024 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36025 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36026 if test -n "$ac_maketemp"; then
36027 eval ac_cv_prog_make_
${ac_make}_set
=yes
36029 eval ac_cv_prog_make_
${ac_make}_set
=no
36031 rm -f conftest.
make
36033 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36034 echo "$as_me:$LINENO: result: yes" >&5
36035 echo "${ECHO_T}yes" >&6
36038 echo "$as_me:$LINENO: result: no" >&5
36039 echo "${ECHO_T}no" >&6
36040 SET_MAKE
="MAKE=${MAKE-make}"
36044 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
36045 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
36048 ac_config_headers
="$ac_config_headers setup.h"
36051 ac_config_files
="$ac_config_files wx-config version-script Makefile"
36054 ac_config_commands
="$ac_config_commands default"
36058 if test "$wxUSE_GUI" = "yes"; then
36059 SUBDIRS
="samples demos utils contrib"
36060 else SUBDIRS
="samples utils"
36063 for subdir
in `echo $SUBDIRS`; do
36064 if test -d ${srcdir}/${subdir} ; then
36065 if test "$wxUSE_GUI" = "yes"; then
36066 if test ${subdir} = "samples"; then
36067 makefiles
="samples/Makefile.in $makefiles"
36068 for sample
in `echo $SAMPLES_SUBDIRS`; do
36069 if test -d $srcdir/samples
/$sample; then
36070 makefiles
="samples/$sample/Makefile.in $makefiles"
36073 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
36075 else if test ${subdir} = "samples"; then
36076 makefiles
="samples/Makefile.in samples/console/Makefile.in"
36077 else makefiles
="utils/HelpGen/Makefile.in \
36078 utils/HelpGen/src/Makefile.in \
36079 utils/tex2rtf/Makefile.in \
36080 utils/tex2rtf/src/Makefile.in"
36084 for mkin
in $makefiles ; do
36085 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
36086 ac_config_files
="$ac_config_files $mk"
36093 cat >confcache
<<\_ACEOF
36094 # This file is a shell script that caches the results of configure
36095 # tests run on this system so they can be shared between configure
36096 # scripts and configure runs, see configure's option --config-cache.
36097 # It is not useful on other systems. If it contains results you don't
36098 # want to keep, you may remove or edit it.
36100 # config.status only pays attention to the cache file if you give it
36101 # the --recheck option to rerun configure.
36103 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36104 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36105 # following values.
36109 # The following way of writing the cache mishandles newlines in values,
36110 # but we know of no workaround that is simple, portable, and efficient.
36111 # So, don't put newlines in cache variables' values.
36112 # Ultrix sh set writes to stderr and can't be redirected directly,
36113 # and sets the high bit in the cache file unless we assign to the vars.
36116 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36118 # `set' does not quote correctly, so add quotes (double-quote
36119 # substitution turns \\\\ into \\, and sed turns \\ into \).
36122 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36125 # `set' quotes correctly as required by POSIX, so do not add quotes.
36127 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36134 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36136 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36138 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36139 if test -w $cache_file; then
36140 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36141 cat confcache
>$cache_file
36143 echo "not updating unwritable cache $cache_file"
36148 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
36149 # Let make expand exec_prefix.
36150 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
36152 # VPATH may cause trouble with some makes, so we remove $(srcdir),
36153 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36154 # trailing colons and then remove the whole line if VPATH becomes empty
36155 # (actually we leave an empty line to preserve line numbers).
36156 if test "x$srcdir" = x.
; then
36157 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
36158 s/:*\$(srcdir):*/:/;
36159 s/:*\${srcdir}:*/:/;
36161 s/^\([^=]*=[ ]*\):*/\1/;
36167 DEFS
=-DHAVE_CONFIG_H
36171 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
36172 # 1. Remove the extension, and $U if already installed.
36173 ac_i
=`echo "$ac_i" |
36174 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
36176 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
36177 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
36179 LIBOBJS
=$ac_libobjs
36181 LTLIBOBJS
=$ac_ltlibobjs
36185 : ${CONFIG_STATUS=./config.status}
36186 ac_clean_files_save
=$ac_clean_files
36187 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
36188 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
36189 echo "$as_me: creating $CONFIG_STATUS" >&6;}
36190 cat >$CONFIG_STATUS <<_ACEOF
36192 # Generated by $as_me.
36193 # Run this file to recreate the current configuration.
36194 # Compiler output produced by configure, useful for debugging
36195 # configure, is in config.log if it exists.
36198 ac_cs_recheck=false
36200 SHELL=\${CONFIG_SHELL-$SHELL}
36203 cat >>$CONFIG_STATUS <<\_ACEOF
36204 ## --------------------- ##
36205 ## M4sh Initialization. ##
36206 ## --------------------- ##
36208 # Be Bourne compatible
36209 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
36212 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
36213 # is contrary to our usage. Disable this feature.
36214 alias -g '${1+"$@"}'='"$@"'
36215 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
36219 # Support unset when possible.
36220 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
36227 # Work around bugs in pre-3.0 UWIN ksh.
36228 $as_unset ENV MAIL MAILPATH
36235 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
36236 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
36237 LC_TELEPHONE LC_TIME
36239 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
36240 eval $as_var=C
; export $as_var
36246 # Required to use basename.
36247 if expr a
: '\(a\)' >/dev
/null
2>&1; then
36253 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
36254 as_basename
=basename
36260 # Name of the executable.
36261 as_me
=`$as_basename "$0" ||
36262 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36263 X"$0" : 'X\(//\)$' \| \
36264 X"$0" : 'X\(/\)$' \| \
36265 . : '\(.\)' 2>/dev/null ||
36267 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36268 /^X\/\(\/\/\)$/{ s//\1/; q; }
36269 /^X\/\(\/\).*/{ s//\1/; q; }
36273 # PATH needs CR, and LINENO needs CR and PATH.
36274 # Avoid depending upon Character Ranges.
36275 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
36276 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36277 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
36278 as_cr_digits
='0123456789'
36279 as_cr_alnum
=$as_cr_Letters$as_cr_digits
36281 # The user is always right.
36282 if test "${PATH_SEPARATOR+set}" != set; then
36283 echo "#! /bin/sh" >conf$$.sh
36284 echo "exit 0" >>conf$$.sh
36286 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
36295 as_lineno_1
=$LINENO
36296 as_lineno_2
=$LINENO
36297 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
36298 test "x$as_lineno_1" != "x$as_lineno_2" &&
36299 test "x$as_lineno_3" = "x$as_lineno_2" || {
36300 # Find who we are. Look in the path if we contain no path at all
36303 *[\\/]* ) as_myself
=$0 ;;
36304 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36305 for as_dir
in $PATH
36308 test -z "$as_dir" && as_dir
=.
36309 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
36314 # We did not find ourselves, most probably we were run as `sh COMMAND'
36315 # in which case we are not to be found in the path.
36316 if test "x$as_myself" = x
; then
36319 if test ! -f "$as_myself"; then
36320 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36321 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36322 { (exit 1); exit 1; }; }
36324 case $CONFIG_SHELL in
36326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36327 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
36330 test -z "$as_dir" && as_dir
=.
36331 for as_base
in sh bash ksh sh5
; do
36334 if ("$as_dir/$as_base" -c '
36335 as_lineno_1=$LINENO
36336 as_lineno_2=$LINENO
36337 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36338 test "x$as_lineno_1" != "x$as_lineno_2" &&
36339 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
36340 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
36341 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
36342 CONFIG_SHELL
=$as_dir/$as_base
36343 export CONFIG_SHELL
36344 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36352 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36353 # uniformly replaced by the line number. The first 'sed' inserts a
36354 # line-number line before each line; the second 'sed' does the real
36355 # work. The second script uses 'N' to pair each line-number line
36356 # with the numbered line, and appends trailing '-' during
36357 # substitution so that $LINENO is not a special case at line end.
36358 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36359 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36360 sed '=' <$as_myself |
36365 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36368 s,^['$as_cr_digits']*\n,,
36369 ' >$as_me.lineno
&&
36370 chmod +x
$as_me.lineno
||
36371 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36372 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36373 { (exit 1); exit 1; }; }
36375 # Don't try to exec as it changes $[0], causing all sort of problems
36376 # (the dirname of $[0] is not the place where we might find the
36377 # original and so on. Autoconf is especially sensible to this).
36379 # Exit status is that of the last command.
36384 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36385 *c
*,-n*) ECHO_N
= ECHO_C
='
36387 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
36388 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
36391 if expr a
: '\(a\)' >/dev
/null
2>&1; then
36397 rm -f conf$$ conf$$.exe conf$$.
file
36399 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
36400 # We could just check for DJGPP; but this test a) works b) is more generic
36401 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36402 if test -f conf$$.exe
; then
36403 # Don't use ln at all; we don't have any links
36408 elif ln conf$$.
file conf$$
2>/dev
/null
; then
36413 rm -f conf$$ conf$$.exe conf$$.
file
36415 if mkdir -p .
2>/dev
/null
; then
36421 as_executable_p
="test -f"
36423 # Sed expression to map a string onto a valid CPP name.
36424 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36426 # Sed expression to map a string onto a valid variable name.
36427 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36431 # We need space, tab and new line, in precisely that order.
36441 # Open the log real soon, to keep \$[0] and so on meaningful, and to
36442 # report actual input values of CONFIG_FILES etc. instead of their
36443 # values after options handling. Logging --version etc. is OK.
36447 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36448 ## Running $as_me. ##
36453 This file was extended by wxWindows $as_me 2.5.1, which was
36454 generated by GNU Autoconf 2.57. Invocation command line was
36456 CONFIG_FILES = $CONFIG_FILES
36457 CONFIG_HEADERS = $CONFIG_HEADERS
36458 CONFIG_LINKS = $CONFIG_LINKS
36459 CONFIG_COMMANDS = $CONFIG_COMMANDS
36463 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36467 # Files that config.status was made for.
36468 if test -n "$ac_config_files"; then
36469 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36472 if test -n "$ac_config_headers"; then
36473 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36476 if test -n "$ac_config_links"; then
36477 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36480 if test -n "$ac_config_commands"; then
36481 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36484 cat >>$CONFIG_STATUS <<\_ACEOF
36487 \`$as_me' instantiates files from templates according to the
36488 current configuration.
36490 Usage: $0 [OPTIONS] [FILE]...
36492 -h, --help print this help, then exit
36493 -V, --version print version number, then exit
36494 -q, --quiet do not print progress messages
36495 -d, --debug don't remove temporary files
36496 --recheck update $as_me by reconfiguring in the same conditions
36497 --file=FILE[:TEMPLATE]
36498 instantiate the configuration file FILE
36499 --header=FILE[:TEMPLATE]
36500 instantiate the configuration header FILE
36502 Configuration files:
36505 Configuration headers:
36508 Configuration commands:
36511 Report bugs to <bug-autoconf@gnu.org>."
36514 cat >>$CONFIG_STATUS <<_ACEOF
36516 wxWindows config.status 2.5.1
36517 configured by $0, generated by GNU Autoconf 2.57,
36518 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36520 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36521 Free Software Foundation, Inc.
36522 This config.status script is free software; the Free Software Foundation
36523 gives unlimited permission to copy, distribute and modify it."
36528 cat >>$CONFIG_STATUS <<\_ACEOF
36529 # If no file are specified by the user, then we need to provide default
36530 # value. By we need to know if files were specified by the user.
36536 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
36537 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
36545 *) # This is not an option, so the user has probably given explicit
36548 ac_need_defaults
=false
;;
36552 # Handling of the options.
36554 cat >>$CONFIG_STATUS <<\_ACEOF
36555 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36557 --version | --vers* | -V )
36558 echo "$ac_cs_version"; exit 0 ;;
36560 # Conflict between --help and --header
36561 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36562 Try \`$0 --help' for more information." >&5
36563 echo "$as_me: error: ambiguous option: $1
36564 Try \`$0 --help' for more information." >&2;}
36565 { (exit 1); exit 1; }; };;
36566 --help | --hel | -h )
36567 echo "$ac_cs_usage"; exit 0 ;;
36568 --debug | --d* | -d )
36570 --file | --fil | --fi | --f )
36572 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
36573 ac_need_defaults
=false
;;
36574 --header | --heade | --head | --hea )
36576 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
36577 ac_need_defaults
=false
;;
36578 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36579 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36582 # This is an error.
36583 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36584 Try \`$0 --help' for more information." >&5
36585 echo "$as_me: error: unrecognized option: $1
36586 Try \`$0 --help' for more information." >&2;}
36587 { (exit 1); exit 1; }; } ;;
36589 *) ac_config_targets
="$ac_config_targets $1" ;;
36595 ac_configure_extra_args
=
36597 if $ac_cs_silent; then
36599 ac_configure_extra_args
="$ac_configure_extra_args --silent"
36603 cat >>$CONFIG_STATUS <<_ACEOF
36604 if \$ac_cs_recheck; then
36605 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36606 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36611 cat >>$CONFIG_STATUS <<_ACEOF
36613 # INIT-COMMANDS section.
36617 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36626 cat >>$CONFIG_STATUS <<\_ACEOF
36627 for ac_config_target
in $ac_config_targets
36629 case "$ac_config_target" in
36630 # Handling of arguments.
36631 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
36632 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
36633 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
36634 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
36635 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
36636 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
36637 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36638 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36639 { (exit 1); exit 1; }; };;
36643 # If the user did not use the arguments to specify the items to instantiate,
36644 # then the envvar interface is used. Set only those that are not.
36645 # We use the long form for the default assignment because of an extremely
36646 # bizarre bug on SunOS 4.1.3.
36647 if $ac_need_defaults; then
36648 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
36649 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
36650 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
36653 # Have a temporary directory for convenience. Make it in the build tree
36654 # simply because there is no reason to put it here, and in addition,
36655 # creating and moving files from /tmp can sometimes cause problems.
36656 # Create a temporary directory, and hook for its removal unless debugging.
36659 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36660 trap '{ (exit 1); exit 1; }' 1 2 13 15
36663 # Create a (secure) tmp directory for tmp files.
36666 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36667 test -n "$tmp" && test -d "$tmp"
36670 tmp
=.
/confstat$$
-$RANDOM
36671 (umask 077 && mkdir $tmp)
36674 echo "$me: cannot create a temporary directory in ." >&2
36675 { (exit 1); exit 1; }
36680 cat >>$CONFIG_STATUS <<_ACEOF
36683 # CONFIG_FILES section.
36686 # No need to generate the scripts if there are no CONFIG_FILES.
36687 # This happens for instance when ./config.status config.h
36688 if test -n "\$CONFIG_FILES"; then
36689 # Protect against being on the right side of a sed subst in config.status.
36690 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36691 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36692 s,@SHELL@,$SHELL,;t t
36693 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36694 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36695 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36696 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36697 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36698 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36699 s,@exec_prefix@,$exec_prefix,;t t
36700 s,@prefix@,$prefix,;t t
36701 s,@program_transform_name@,$program_transform_name,;t t
36702 s,@bindir@,$bindir,;t t
36703 s,@sbindir@,$sbindir,;t t
36704 s,@libexecdir@,$libexecdir,;t t
36705 s,@datadir@,$datadir,;t t
36706 s,@sysconfdir@,$sysconfdir,;t t
36707 s,@sharedstatedir@,$sharedstatedir,;t t
36708 s,@localstatedir@,$localstatedir,;t t
36709 s,@libdir@,$libdir,;t t
36710 s,@includedir@,$includedir,;t t
36711 s,@oldincludedir@,$oldincludedir,;t t
36712 s,@infodir@,$infodir,;t t
36713 s,@mandir@,$mandir,;t t
36714 s,@build_alias@,$build_alias,;t t
36715 s,@host_alias@,$host_alias,;t t
36716 s,@target_alias@,$target_alias,;t t
36717 s,@DEFS@,$DEFS,;t t
36718 s,@ECHO_C@,$ECHO_C,;t t
36719 s,@ECHO_N@,$ECHO_N,;t t
36720 s,@ECHO_T@,$ECHO_T,;t t
36721 s,@LIBS@,$LIBS,;t t
36722 s,@build@,$build,;t t
36723 s,@build_cpu@,$build_cpu,;t t
36724 s,@build_vendor@,$build_vendor,;t t
36725 s,@build_os@,$build_os,;t t
36726 s,@host@,$host,;t t
36727 s,@host_cpu@,$host_cpu,;t t
36728 s,@host_vendor@,$host_vendor,;t t
36729 s,@host_os@,$host_os,;t t
36730 s,@target@,$target,;t t
36731 s,@target_cpu@,$target_cpu,;t t
36732 s,@target_vendor@,$target_vendor,;t t
36733 s,@target_os@,$target_os,;t t
36735 s,@CFLAGS@,$CFLAGS,;t t
36736 s,@LDFLAGS@,$LDFLAGS,;t t
36737 s,@CPPFLAGS@,$CPPFLAGS,;t t
36738 s,@ac_ct_CC@,$ac_ct_CC,;t t
36739 s,@EXEEXT@,$EXEEXT,;t t
36740 s,@OBJEXT@,$OBJEXT,;t t
36742 s,@EGREP@,$EGREP,;t t
36744 s,@CXXFLAGS@,$CXXFLAGS,;t t
36745 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36746 s,@RANLIB@,$RANLIB,;t t
36747 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36749 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36750 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36751 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36752 s,@STRIP@,$STRIP,;t t
36753 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36754 s,@LN_S@,$LN_S,;t t
36755 s,@CXXCPP@,$CXXCPP,;t t
36756 s,@subdirs@,$subdirs,;t t
36757 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36758 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36759 s,@GTK_LIBS@,$GTK_LIBS,;t t
36760 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36761 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36762 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36763 s,@X_CFLAGS@,$X_CFLAGS,;t t
36764 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36765 s,@X_LIBS@,$X_LIBS,;t t
36766 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36767 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36768 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36769 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36770 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36771 s,@RESCOMP@,$RESCOMP,;t t
36772 s,@DEREZ@,$DEREZ,;t t
36773 s,@SETFILE@,$SETFILE,;t t
36774 s,@LIBICONV@,$LIBICONV,;t t
36775 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36776 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36777 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36778 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36779 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36780 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36781 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36782 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36783 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36784 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36785 s,@VENDOR@,$VENDOR,;t t
36786 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36787 s,@WXUNIV@,$WXUNIV,;t t
36788 s,@MONOLITHIC@,$MONOLITHIC,;t t
36789 s,@EXTRALIBS@,$EXTRALIBS,;t t
36790 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36791 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
36792 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36793 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36794 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36795 s,@UNICODE@,$UNICODE,;t t
36796 s,@BUILD@,$BUILD,;t t
36797 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36798 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36799 s,@SHARED@,$SHARED,;t t
36800 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36801 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36802 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36803 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36804 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36805 s,@SET_MAKE@,$SET_MAKE,;t t
36806 s,@MAKE_SET@,$MAKE_SET,;t t
36807 s,@ac_ct_AR@,$ac_ct_AR,;t t
36808 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36810 s,@ac_ct_NM@,$ac_ct_NM,;t t
36811 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36812 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36813 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36814 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36815 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36816 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36817 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36818 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36819 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36820 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36821 s,@LIBPREFIX@,$LIBPREFIX,;t t
36822 s,@DLLPREFIX@,$DLLPREFIX,;t t
36823 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36824 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36825 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36826 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36827 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36828 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36829 s,@PIC_FLAG@,$PIC_FLAG,;t t
36830 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36831 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36832 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36833 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36834 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36835 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36836 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36837 s,@GCC_PCH@,$GCC_PCH,;t t
36838 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36839 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36840 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36841 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36842 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36843 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36844 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36845 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36846 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36847 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36848 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36849 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36850 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36851 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36852 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
36853 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36854 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36855 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36856 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36857 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
36858 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36859 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36860 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36861 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36862 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36863 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36864 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36865 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36866 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36867 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36868 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36869 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36870 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
36871 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36872 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36873 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36874 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36875 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36876 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
36877 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36878 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36879 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36880 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36881 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36882 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36883 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36884 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36885 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36886 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36887 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36888 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36889 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36890 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36891 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36892 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36893 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36894 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36895 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36896 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36897 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36898 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36899 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36900 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36901 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36902 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36903 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36904 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36905 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36906 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36907 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36908 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36909 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36910 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36911 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36912 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36913 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36914 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36915 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36916 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36917 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36918 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36919 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36920 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36921 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
36922 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36923 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36924 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36925 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36926 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36927 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36928 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36929 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36930 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36931 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36932 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36933 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36934 s,@PATH_IFS@,$PATH_IFS,;t t
36935 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36936 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36937 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36938 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36939 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36940 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36941 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36942 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36943 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36944 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36945 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36946 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36947 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36948 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36949 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36950 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36951 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36952 s,@WX_ALL@,$WX_ALL,;t t
36953 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36954 s,@SHARED_LD@,$SHARED_LD,;t t
36955 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36956 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36957 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36958 s,@USE_GUI@,$USE_GUI,;t t
36959 s,@AFMINSTALL@,$AFMINSTALL,;t t
36960 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36961 s,@TOOLKIT@,$TOOLKIT,;t t
36962 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36963 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36964 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36965 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36966 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36967 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36968 s,@cross_compiling@,$cross_compiling,;t t
36969 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36970 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36971 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36972 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36973 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36974 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36975 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36976 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36977 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36978 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36979 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36980 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36981 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36982 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36983 s,@GUIDIST@,$GUIDIST,;t t
36984 s,@PORT_FILES@,$PORT_FILES,;t t
36985 s,@DISTDIR@,$DISTDIR,;t t
36986 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36987 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36988 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36989 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36990 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36991 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36992 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36993 s,@RESFLAGS@,$RESFLAGS,;t t
36994 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36995 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36996 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36997 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36998 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36999 s,@MACRESCOMP@,$MACRESCOMP,;t t
37000 s,@MACSETFILE@,$MACSETFILE,;t t
37001 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
37003 s,@DLLTOOL@,$DLLTOOL,;t t
37006 s,@MAKEINFO@,$MAKEINFO,;t t
37007 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
37008 s,@LIBOBJS@,$LIBOBJS,;t t
37009 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
37014 cat >>$CONFIG_STATUS <<\_ACEOF
37015 # Split the substitutions into bite-sized pieces for seds with
37016 # small command number limits, like on Digital OSF/1 and HP-UX.
37017 ac_max_sed_lines
=48
37018 ac_sed_frag
=1 # Number of current file.
37019 ac_beg
=1 # First line for current file.
37020 ac_end
=$ac_max_sed_lines # Line after last line for current file.
37023 while $ac_more_lines; do
37024 if test $ac_beg -gt 1; then
37025 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
37027 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
37029 if test ! -s $tmp/subs.frag
; then
37030 ac_more_lines
=false
37032 # The purpose of the label and of the branching condition is to
37033 # speed up the sed processing (if there are no `@' at all, there
37034 # is no need to browse any of the substitutions).
37035 # These are the two extra sed commands mentioned above.
37037 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
37038 if test -z "$ac_sed_cmds"; then
37039 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
37041 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
37043 ac_sed_frag
=`expr $ac_sed_frag + 1`
37045 ac_end
=`expr $ac_end + $ac_max_sed_lines`
37048 if test -z "$ac_sed_cmds"; then
37051 fi # test -n "$CONFIG_FILES"
37054 cat >>$CONFIG_STATUS <<\_ACEOF
37055 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
37056 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37058 - | *:- | *:-:* ) # input from stdin
37060 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37061 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37062 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37063 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37064 * ) ac_file_in
=$ac_file.
in ;;
37067 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
37068 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
37069 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37070 X"$ac_file" : 'X\(//\)[^/]' \| \
37071 X"$ac_file" : 'X\(//\)$' \| \
37072 X"$ac_file" : 'X\(/\)' \| \
37073 . : '\(.\)' 2>/dev/null ||
37075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37076 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37077 /^X\(\/\/\)$/{ s//\1/; q; }
37078 /^X\(\/\).*/{ s//\1/; q; }
37080 { if $as_mkdir_p; then
37085 while test ! -d "$as_dir"; do
37086 as_dirs
="$as_dir $as_dirs"
37087 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37089 X"$as_dir" : 'X\(//\)[^/]' \| \
37090 X"$as_dir" : 'X\(//\)$' \| \
37091 X"$as_dir" : 'X\(/\)' \| \
37092 . : '\(.\)' 2>/dev/null ||
37094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37095 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37096 /^X\(\/\/\)$/{ s//\1/; q; }
37097 /^X\(\/\).*/{ s//\1/; q; }
37100 test ! -n "$as_dirs" || mkdir $as_dirs
37101 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37102 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37103 { (exit 1); exit 1; }; }; }
37107 if test "$ac_dir" != .
; then
37108 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37109 # A "../" for each directory in $ac_dir_suffix.
37110 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37112 ac_dir_suffix
= ac_top_builddir
=
37116 .
) # No --srcdir option. We are building in place.
37118 if test -z "$ac_top_builddir"; then
37121 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37123 [\\/]* | ?
:[\\/]* ) # Absolute path.
37124 ac_srcdir
=$srcdir$ac_dir_suffix;
37125 ac_top_srcdir
=$srcdir ;;
37126 *) # Relative path.
37127 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37128 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37130 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37132 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37133 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37134 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37135 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37139 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
37140 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
37143 if test x
"$ac_file" != x
-; then
37144 { echo "$as_me:$LINENO: creating $ac_file" >&5
37145 echo "$as_me: creating $ac_file" >&6;}
37148 # Let's still pretend it is `configure' which instantiates (i.e., don't
37149 # use $as_me), people would be surprised to read:
37150 # /* config.h. Generated by config.status. */
37151 if test x
"$ac_file" = x
-; then
37154 configure_input
="$ac_file. "
37156 configure_input
=$configure_input"Generated from `echo $ac_file_in |
37157 sed 's,.*/,,'` by configure."
37159 # First look for the input files in the build tree, otherwise in the
37161 ac_file_inputs
=`IFS=:
37162 for f in $ac_file_in; do
37164 -) echo $tmp/stdin ;;
37166 # Absolute (can't be DOS-style, as IFS=:)
37167 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37168 echo "$as_me: error: cannot find input file: $f" >&2;}
37169 { (exit 1); exit 1; }; }
37172 if test -f "$f"; then
37175 elif test -f "$srcdir/$f"; then
37180 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37181 echo "$as_me: error: cannot find input file: $f" >&2;}
37182 { (exit 1); exit 1; }; }
37185 done` || { (exit 1); exit 1; }
37187 cat >>$CONFIG_STATUS <<_ACEOF
37191 cat >>$CONFIG_STATUS <<\_ACEOF
37193 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
37194 s
,@configure_input@
,$configure_input,;t t
37195 s
,@srcdir@
,$ac_srcdir,;t t
37196 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
37197 s
,@top_srcdir@
,$ac_top_srcdir,;t t
37198 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
37199 s
,@builddir@
,$ac_builddir,;t t
37200 s
,@abs_builddir@
,$ac_abs_builddir,;t t
37201 s
,@top_builddir@
,$ac_top_builddir,;t t
37202 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
37203 s
,@INSTALL@
,$ac_INSTALL,;t t
37204 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
37206 if test x"$ac_file" != x-; then
37207 mv $tmp/out $ac_file
37215 cat >>$CONFIG_STATUS <<\_ACEOF
37218 # CONFIG_HEADER section.
37221 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
37222 # NAME is the cpp macro being defined and VALUE is the value it is being given.
37224 # ac_d sets the value in "#define NAME VALUE" lines.
37225 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
37226 ac_dB
='[ ].*$,\1#\2'
37229 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
37230 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
37231 ac_uB
='$,\1#\2define\3'
37235 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
37236 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37238 - | *:- | *:-:* ) # input from stdin
37240 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37241 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37242 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37243 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37244 * ) ac_file_in
=$ac_file.
in ;;
37247 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37248 echo "$as_me: creating $ac_file" >&6;}
37250 # First look for the input files in the build tree, otherwise in the
37252 ac_file_inputs
=`IFS=:
37253 for f in $ac_file_in; do
37255 -) echo $tmp/stdin ;;
37257 # Absolute (can't be DOS-style, as IFS=:)
37258 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37259 echo "$as_me: error: cannot find input file: $f" >&2;}
37260 { (exit 1); exit 1; }; }
37263 if test -f "$f"; then
37266 elif test -f "$srcdir/$f"; then
37271 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37272 echo "$as_me: error: cannot find input file: $f" >&2;}
37273 { (exit 1); exit 1; }; }
37276 done` || { (exit 1); exit 1; }
37277 # Remove the trailing spaces.
37278 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37282 # Transform confdefs.h into two sed scripts, `conftest.defines' and
37283 # `conftest.undefs', that substitutes the proper values into
37284 # config.h.in to produce config.h. The first handles `#define'
37285 # templates, and the second `#undef' templates.
37286 # And first: Protect against being on the right side of a sed subst in
37287 # config.status. Protect against being in an unquoted here document
37288 # in config.status.
37289 rm -f conftest.defines conftest.undefs
37290 # Using a here document instead of a string reduces the quoting nightmare.
37291 # Putting comments in sed scripts is not portable.
37293 # `end' is used to avoid that the second main sed command (meant for
37294 # 0-ary CPP macros) applies to n-ary macro definitions.
37295 # See the Autoconf documentation for `clear'.
37296 cat >confdef2sed.
sed <<\_ACEOF
37301 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37303 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37306 # If some macros were called several times there might be several times
37307 # the same #defines, which is useless. Nevertheless, we may not want to
37308 # sort them, since we want the *last* AC-DEFINE to be honored.
37309 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37310 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37311 rm -f confdef2sed.sed
37313 # This sed command replaces #undef with comments. This is necessary, for
37314 # example, in the case of _POSIX_SOURCE, which is predefined and required
37315 # on some systems where configure will not decide to define it.
37316 cat >>conftest.undefs <<\_ACEOF
37317 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37320 # Break up conftest.defines because some shells have a limit on the size
37321 # of here documents, and old seds have small limits too (100 cmds).
37322 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37323 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37324 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37325 echo ' :' >>$CONFIG_STATUS
37326 rm -f conftest.tail
37327 while grep . conftest.defines >/dev/null
37329 # Write a limited-size here document to $tmp/defines.sed.
37330 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37331 # Speed up: don't consider the non `#define' lines.
37332 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37333 # Work around the forget-to-reset-the-flag bug.
37334 echo 't clr' >>$CONFIG_STATUS
37335 echo ': clr' >>$CONFIG_STATUS
37336 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
37338 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37340 mv $tmp/out $tmp/in
37342 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
37343 rm -f conftest.defines
37344 mv conftest.
tail conftest.defines
37346 rm -f conftest.defines
37347 echo ' fi # grep' >>$CONFIG_STATUS
37348 echo >>$CONFIG_STATUS
37350 # Break up conftest.undefs because some shells have a limit on the size
37351 # of here documents, and old seds have small limits too (100 cmds).
37352 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37353 rm -f conftest.
tail
37354 while grep . conftest.undefs
>/dev
/null
37356 # Write a limited-size here document to $tmp/undefs.sed.
37357 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37358 # Speed up: don't consider the non
`#undef'
37359 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37360 # Work around the forget-to-reset-the-flag bug.
37361 echo 't clr' >>$CONFIG_STATUS
37362 echo ': clr' >>$CONFIG_STATUS
37363 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37365 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37367 mv $tmp/out $tmp/in
37369 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37370 rm -f conftest.undefs
37371 mv conftest.tail conftest.undefs
37373 rm -f conftest.undefs
37375 cat >>$CONFIG_STATUS <<\_ACEOF
37376 # Let's still pretend it is `configure
' which instantiates (i.e., don't
37377 # use $as_me), people would be surprised to read:
37378 # /* config.h. Generated by config.status. */
37379 if test x
"$ac_file" = x
-; then
37380 echo "/* Generated by configure. */" >$tmp/config.h
37382 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37384 cat $tmp/in >>$tmp/config.h
37386 if test x
"$ac_file" != x
-; then
37387 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
37388 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37389 echo "$as_me: $ac_file is unchanged" >&6;}
37391 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
37392 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37393 X"$ac_file" : 'X\(//\)[^/]' \| \
37394 X"$ac_file" : 'X\(//\)$' \| \
37395 X"$ac_file" : 'X\(/\)' \| \
37396 . : '\(.\)' 2>/dev/null ||
37398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37399 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37400 /^X\(\/\/\)$/{ s//\1/; q; }
37401 /^X\(\/\).*/{ s//\1/; q; }
37403 { if $as_mkdir_p; then
37408 while test ! -d "$as_dir"; do
37409 as_dirs
="$as_dir $as_dirs"
37410 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37411 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37412 X"$as_dir" : 'X\(//\)[^/]' \| \
37413 X"$as_dir" : 'X\(//\)$' \| \
37414 X"$as_dir" : 'X\(/\)' \| \
37415 . : '\(.\)' 2>/dev/null ||
37417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37418 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37419 /^X\(\/\/\)$/{ s//\1/; q; }
37420 /^X\(\/\).*/{ s//\1/; q; }
37423 test ! -n "$as_dirs" || mkdir $as_dirs
37424 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37425 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37426 { (exit 1); exit 1; }; }; }
37429 mv $tmp/config.h
$ac_file
37433 rm -f $tmp/config.h
37437 cat >>$CONFIG_STATUS <<\_ACEOF
37440 # CONFIG_COMMANDS section.
37442 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
37443 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
37444 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37445 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
37446 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37447 X"$ac_dest" : 'X\(//\)[^/]' \| \
37448 X"$ac_dest" : 'X\(//\)$' \| \
37449 X"$ac_dest" : 'X\(/\)' \| \
37450 . : '\(.\)' 2>/dev/null ||
37452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37453 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37454 /^X\(\/\/\)$/{ s//\1/; q; }
37455 /^X\(\/\).*/{ s//\1/; q; }
37459 if test "$ac_dir" != .
; then
37460 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37461 # A "../" for each directory in $ac_dir_suffix.
37462 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37464 ac_dir_suffix
= ac_top_builddir
=
37468 .
) # No --srcdir option. We are building in place.
37470 if test -z "$ac_top_builddir"; then
37473 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37475 [\\/]* | ?
:[\\/]* ) # Absolute path.
37476 ac_srcdir
=$srcdir$ac_dir_suffix;
37477 ac_top_srcdir
=$srcdir ;;
37478 *) # Relative path.
37479 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37480 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37482 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37484 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37485 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37486 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37487 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37490 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37491 echo "$as_me: executing $ac_dest commands" >&6;}
37494 if test ! -h wx
-config; then
37496 mv wx
-config wx
${TOOLCHAIN_NAME}-config
37497 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
37500 if test ! -d lib
; then
37503 if test ! -d lib
/wx
; then
37506 if test ! -d lib
/wx
/include
; then
37507 mkdir lib
/wx
/include
37509 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
37510 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
37512 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
37513 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
37515 if test -f setup.h
; then
37516 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
37523 cat >>$CONFIG_STATUS <<\_ACEOF
37525 { (exit 0); exit 0; }
37527 chmod +x
$CONFIG_STATUS
37528 ac_clean_files
=$ac_clean_files_save
37531 # configure is writing to config.log, and then calls config.status.
37532 # config.status does its own redirection, appending to config.log.
37533 # Unfortunately, on DOS this fails, as config.log is still kept open
37534 # by configure, so config.status won't be able to write to it; its
37535 # output is simply discarded. So we exec the FD to /dev/null,
37536 # effectively closing config.log, so it can be properly (re)opened and
37537 # appended to by config.status. When coming back to configure, we
37538 # need to make the FD available again.
37539 if test "$no_create" != yes; then
37541 ac_config_status_args
=
37542 test "$silent" = yes &&
37543 ac_config_status_args
="$ac_config_status_args --quiet"
37545 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
37547 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37548 # would make configure fail if this is the last instruction.
37549 $ac_cs_success || { (exit 1); exit 1; }
37553 # CONFIG_SUBDIRS section.
37555 if test "$no_recursion" != yes; then
37557 # Remove --cache-file and --srcdir arguments so they do not pile up.
37558 ac_sub_configure_args
=
37560 for ac_arg
in $ac_configure_args; do
37561 if test -n "$ac_prev"; then
37566 -cache-file | --cache-file | --cache-fil | --cache-fi \
37567 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37568 ac_prev
=cache_file
;;
37569 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37570 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37573 --config-cache | -C)
37575 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37577 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37579 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37581 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37583 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
37587 # Always prepend --prefix to ensure using the same prefix
37588 # in subdir configurations.
37589 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
37592 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
37594 # Do not complain, so a configure script can configure whichever
37595 # parts of a large source tree are present.
37596 test -d $srcdir/$ac_dir || continue
37598 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37599 echo "$as_me: configuring in $ac_dir" >&6;}
37600 { if $as_mkdir_p; then
37605 while test ! -d "$as_dir"; do
37606 as_dirs
="$as_dir $as_dirs"
37607 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37608 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37609 X"$as_dir" : 'X\(//\)[^/]' \| \
37610 X"$as_dir" : 'X\(//\)$' \| \
37611 X"$as_dir" : 'X\(/\)' \| \
37612 . : '\(.\)' 2>/dev/null ||
37614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37615 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37616 /^X\(\/\/\)$/{ s//\1/; q; }
37617 /^X\(\/\).*/{ s//\1/; q; }
37620 test ! -n "$as_dirs" || mkdir $as_dirs
37621 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37622 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37623 { (exit 1); exit 1; }; }; }
37627 if test "$ac_dir" != .
; then
37628 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37629 # A "../" for each directory in $ac_dir_suffix.
37630 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37632 ac_dir_suffix
= ac_top_builddir
=
37636 .
) # No --srcdir option. We are building in place.
37638 if test -z "$ac_top_builddir"; then
37641 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37643 [\\/]* | ?
:[\\/]* ) # Absolute path.
37644 ac_srcdir
=$srcdir$ac_dir_suffix;
37645 ac_top_srcdir
=$srcdir ;;
37646 *) # Relative path.
37647 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37648 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37650 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37652 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37653 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37654 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37655 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37660 # Check for guested configure; otherwise get Cygnus style configure.
37661 if test -f $ac_srcdir/configure.gnu
; then
37662 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
37663 elif test -f $ac_srcdir/configure
; then
37664 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
37665 elif test -f $ac_srcdir/configure.
in; then
37666 ac_sub_configure
=$ac_configure
37668 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37669 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37673 # The recursion is here.
37674 if test -n "$ac_sub_configure"; then
37675 # Make the cache file name correct relative to the subdirectory.
37676 case $cache_file in
37677 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
37678 *) # Relative path.
37679 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
37682 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37683 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37684 # The eval makes quoting arguments work.
37685 eval $ac_sub_configure $ac_sub_configure_args \
37686 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37687 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37688 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37689 { (exit 1); exit 1; }; }
37698 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37700 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
37701 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37703 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37704 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37705 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37707 echo " What level of wxWindows compatibility should be enabled?"
37708 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37709 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37711 echo " Which libraries should wxWindows use?"
37712 echo " jpeg ${wxUSE_LIBJPEG-none}"
37713 echo " png ${wxUSE_LIBPNG-none}"
37714 echo " regex ${wxUSE_REGEX}"
37715 echo " tiff ${wxUSE_LIBTIFF-none}"
37716 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
37717 echo " xpm ${wxUSE_LIBXPM-none}"
37719 echo " zlib ${wxUSE_ZLIB}"
37720 echo " odbc ${wxUSE_ODBC}"
37721 echo " expat ${wxUSE_EXPAT}"
37722 echo " libmspack ${wxUSE_LIBMSPACK}"