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-libmspack use libmspack
(CHM
help files loading
)
1052 --with-opengl use OpenGL
(or Mesa
)
1053 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1054 --with-regex enable support
for wxRegEx class
1055 --with-zlib use zlib
for LZW compression
1056 --with-odbc use the IODBC and wxODBC classes
1057 --with-expat enable XML support using expat parser
1058 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1059 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1060 --with-x use the X Window System
1061 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1063 Some influential environment variables
:
1064 CC C compiler
command
1065 CFLAGS C compiler flags
1066 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1067 nonstandard directory
<lib dir
>
1068 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1069 headers
in a nonstandard directory
<include dir
>
1071 CXX C
++ compiler
command
1072 CXXFLAGS C
++ compiler flags
1073 CXXCPP C
++ preprocessor
1075 Use these variables to override the choices made by
`configure' or to help
1076 it to find libraries and programs with nonstandard names/locations.
1078 Report bugs to <wx-dev@lists.wxwindows.org>.
1082 if test "$ac_init_help" = "recursive"; then
1083 # If there are subdirs, report their specific --help.
1085 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1086 test -d $ac_dir || continue
1089 if test "$ac_dir" != .; then
1090 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1091 # A "../" for each directory in $ac_dir_suffix.
1092 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1094 ac_dir_suffix= ac_top_builddir=
1098 .) # No --srcdir option. We are building in place.
1100 if test -z "$ac_top_builddir"; then
1103 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1105 [\\/]* | ?:[\\/]* ) # Absolute path.
1106 ac_srcdir=$srcdir$ac_dir_suffix;
1107 ac_top_srcdir=$srcdir ;;
1109 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1110 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1112 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1114 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1115 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
1116 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1117 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1120 # Check for guested configure; otherwise get Cygnus style configure.
1121 if test -f $ac_srcdir/configure.gnu; then
1123 $SHELL $ac_srcdir/configure.gnu --help=recursive
1124 elif test -f $ac_srcdir/configure; then
1126 $SHELL $ac_srcdir/configure --help=recursive
1127 elif test -f $ac_srcdir/configure.ac ||
1128 test -f $ac_srcdir/configure.in; then
1130 $ac_configure --help
1132 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1138 test -n "$ac_init_help" && exit 0
1139 if $ac_init_version; then
1141 wxWindows configure 2.5.1
1142 generated by GNU Autoconf 2.57
1144 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1145 Free Software Foundation, Inc.
1146 This configure script is free software; the Free Software Foundation
1147 gives unlimited permission to copy, distribute and modify it.
1153 This file contains any messages produced by compilers while
1154 running configure, to aid debugging if configure makes a mistake.
1156 It was created by wxWindows $as_me 2.5.1, which was
1157 generated by GNU Autoconf 2.57. Invocation command line was
1168 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1169 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1170 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1171 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1172 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1174 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1175 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1177 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1178 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1179 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1180 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1181 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1182 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1183 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1191 test -z "$as_dir" && as_dir=.
1192 echo "PATH: $as_dir"
1207 # Keep a trace of the command line.
1208 # Strip out --no-create and --no-recursion so they do not pile up.
1209 # Strip out --silent because we don't want to record it for future runs.
1210 # Also quote any args containing shell meta-characters.
1211 # Make two passes to allow for proper duplicate-argument suppression.
1216 ac_must_keep_next=false
1222 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1223 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1224 | -silent | --silent | --silen | --sile | --sil)
1226 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1227 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1230 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1232 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1233 if test $ac_must_keep_next = true; then
1234 ac_must_keep_next=false # Got value, back to normal.
1237 *=* | --config-cache | -C | -disable-* | --disable-* \
1238 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1239 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1240 | -with-* | --with-* | -without-* | --without-* | --x)
1241 case "$ac_configure_args0 " in
1242 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1245 -* ) ac_must_keep_next=true ;;
1248 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1249 # Get rid of the leading space.
1255 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1256 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1258 # When interrupted or exit'd, cleanup temporary files, and complete
1259 # config.log. We remove comments because anyway the quotes in there
1260 # would cause problems or look ugly.
1261 # WARNING: Be sure not to use single quotes in there, as some shells,
1262 # such as our DU 5.0 friend, will then `close
' the trap.
1263 trap 'exit_status
=$?
1264 # Save into config.log some information that might help in debugging.
1269 ## ---------------- ##
1270 ## Cache variables. ##
1271 ## ---------------- ##
1274 # The following way of writing the cache mishandles newlines in values,
1277 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1280 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1281 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1285 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1292 ## ----------------- ##
1293 ## Output variables. ##
1294 ## ----------------- ##
1297 for ac_var
in $ac_subst_vars
1299 eval ac_val
=$
`echo $ac_var`
1300 echo "$ac_var='"'"'$ac_val'"'"'"
1304 if test -n "$ac_subst_files"; then
1311 for ac_var
in $ac_subst_files
1313 eval ac_val
=$
`echo $ac_var`
1314 echo "$ac_var='"'"'$ac_val'"'"'"
1319 if test -s confdefs.h
; then
1326 sed "/^$/d" confdefs.h
| sort
1329 test "$ac_signal" != 0 &&
1330 echo "$as_me: caught signal $ac_signal"
1331 echo "$as_me: exit $exit_status"
1333 rm -f core core.
* *.core
&&
1334 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1337 for ac_signal in 1 2 13 15; do
1338 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1342 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1343 rm -rf conftest* confdefs.h
1344 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1347 # Predefined preprocessor variables.
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_NAME "$PACKAGE_NAME"
1354 cat >>confdefs.h <<_ACEOF
1355 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1359 cat >>confdefs.h <<_ACEOF
1360 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1364 cat >>confdefs.h <<_ACEOF
1365 #define PACKAGE_STRING "$PACKAGE_STRING"
1369 cat >>confdefs.h <<_ACEOF
1370 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1374 # Let the site file select an alternate cache file if it wants to.
1375 # Prefer explicitly selected file to automatically selected ones.
1376 if test -z "$CONFIG_SITE"; then
1377 if test "x$prefix" != xNONE; then
1378 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1380 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1383 for ac_site_file in $CONFIG_SITE; do
1384 if test -r "$ac_site_file"; then
1385 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1386 echo "$as_me: loading site script $ac_site_file" >&6;}
1387 sed 's
/^
/| /' "$ac_site_file" >&5
1392 if test -r "$cache_file"; then
1393 # Some versions of bash will fail to source /dev/null (special
1394 # files actually), so we avoid doing that.
1395 if test -f "$cache_file"; then
1396 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1397 echo "$as_me: loading cache $cache_file" >&6;}
1399 [\\/]* | ?:[\\/]* ) . $cache_file;;
1400 *) . ./$cache_file;;
1404 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1405 echo "$as_me: creating cache $cache_file" >&6;}
1409 # Check that the precious variables saved in the cache have kept the same
1411 ac_cache_corrupted=false
1412 for ac_var in `(set) 2>&1 |
1413 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1414 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1415 eval ac_new_set=\$ac_env_${ac_var}_set
1416 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1417 eval ac_new_val="\$ac_env_${ac_var}_value"
1418 case $ac_old_set,$ac_new_set in
1420 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1421 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1422 ac_cache_corrupted=: ;;
1424 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1425 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1426 ac_cache_corrupted=: ;;
1429 if test "x$ac_old_val" != "x$ac_new_val"; then
1430 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1431 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1432 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1433 echo "$as_me: former value: $ac_old_val" >&2;}
1434 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1435 echo "$as_me: current value: $ac_new_val" >&2;}
1436 ac_cache_corrupted=:
1439 # Pass precious variables to config.status.
1440 if test "$ac_new_set" = set; then
1442 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1443 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1444 *) ac_arg=$ac_var=$ac_new_val ;;
1446 case " $ac_configure_args " in
1447 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1448 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1452 if $ac_cache_corrupted; then
1453 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1454 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1455 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1456 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1457 { (exit 1); exit 1; }; }
1461 ac_cpp='$CPP $CPPFLAGS'
1462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1463 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1496 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1497 if test -f $ac_dir/install-sh; then
1499 ac_install_sh="$ac_aux_dir/install-sh -c"
1501 elif test -f $ac_dir/install.sh; then
1503 ac_install_sh="$ac_aux_dir/install.sh -c"
1505 elif test -f $ac_dir/shtool; then
1507 ac_install_sh="$ac_aux_dir/shtool install -c"
1511 if test -z "$ac_aux_dir"; then
1512 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1513 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1514 { (exit 1); exit 1; }; }
1516 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1517 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1518 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1520 # Make sure we can run config.sub.
1521 $ac_config_sub sun4 >/dev/null 2>&1 ||
1522 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1523 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1524 { (exit 1); exit 1; }; }
1526 echo "$as_me:$LINENO: checking build system type" >&5
1527 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1528 if test "${ac_cv_build+set}" = set; then
1529 echo $ECHO_N "(cached) $ECHO_C" >&6
1531 ac_cv_build_alias=$build_alias
1532 test -z "$ac_cv_build_alias" &&
1533 ac_cv_build_alias=`$ac_config_guess`
1534 test -z "$ac_cv_build_alias" &&
1535 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1536 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1537 { (exit 1); exit 1; }; }
1538 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1539 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1540 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1541 { (exit 1); exit 1; }; }
1544 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1545 echo "${ECHO_T}$ac_cv_build" >&6
1547 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1548 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1549 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1552 echo "$as_me:$LINENO: checking host system type" >&5
1553 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1554 if test "${ac_cv_host+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1557 ac_cv_host_alias=$host_alias
1558 test -z "$ac_cv_host_alias" &&
1559 ac_cv_host_alias=$ac_cv_build_alias
1560 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1561 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1562 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1563 { (exit 1); exit 1; }; }
1566 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1567 echo "${ECHO_T}$ac_cv_host" >&6
1569 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1570 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1571 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1574 echo "$as_me:$LINENO: checking target system type" >&5
1575 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1576 if test "${ac_cv_target+set}" = set; then
1577 echo $ECHO_N "(cached) $ECHO_C" >&6
1579 ac_cv_target_alias=$target_alias
1580 test "x$ac_cv_target_alias" = "x" &&
1581 ac_cv_target_alias=$ac_cv_host_alias
1582 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1583 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1584 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1585 { (exit 1); exit 1; }; }
1588 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1589 echo "${ECHO_T}$ac_cv_target" >&6
1590 target=$ac_cv_target
1591 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1592 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1593 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1596 # The aliases save the names the user supplied, while $host etc.
1597 # will get canonicalized.
1598 test -n "$target_alias" &&
1599 test "$program_prefix$program_suffix$program_transform_name" = \
1601 program_prefix=${target_alias}-
1605 WX_MAJOR_VERSION_NUMBER=2
1606 WX_MINOR_VERSION_NUMBER=5
1609 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1610 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1612 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1628 USE_BSD= USE_DARWIN= USE_FREEBSD=
1634 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1640 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1642 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1644 DEFAULT_wxUSE_COCOA=0
1648 DEFAULT_wxUSE_MICROWIN=0
1649 DEFAULT_wxUSE_MOTIF=0
1654 DEFAULT_DEFAULT_wxUSE_COCOA=0
1655 DEFAULT_DEFAULT_wxUSE_GTK=0
1656 DEFAULT_DEFAULT_wxUSE_MAC=0
1657 DEFAULT_DEFAULT_wxUSE_MGL=0
1658 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1659 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1660 DEFAULT_DEFAULT_wxUSE_MSW=0
1661 DEFAULT_DEFAULT_wxUSE_PM=0
1662 DEFAULT_DEFAULT_wxUSE_X11=0
1667 SAMPLES_RPATH_POSTLINK=
1672 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1673 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1675 cat >>confdefs.h <<\_ACEOF
1682 cat >>confdefs.h <<\_ACEOF
1687 if test "x$TMP" = "xalpha"; then
1689 cat >>confdefs.h <<\_ACEOF
1694 DEFAULT_DEFAULT_wxUSE_GTK=1
1698 cat >>confdefs.h <<\_ACEOF
1703 if test "x$TMP" = "xalpha"; then
1705 cat >>confdefs.h <<\_ACEOF
1710 DEFAULT_DEFAULT_wxUSE_GTK=1
1712 *-*-irix5* | *-*-irix6* )
1715 cat >>confdefs.h <<\_ACEOF
1719 cat >>confdefs.h <<\_ACEOF
1723 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1729 cat >>confdefs.h <<\_ACEOF
1733 cat >>confdefs.h <<\_ACEOF
1734 #define __SOLARIS__ 1
1737 cat >>confdefs.h <<\_ACEOF
1741 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1742 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1748 cat >>confdefs.h <<\_ACEOF
1752 cat >>confdefs.h <<\_ACEOF
1756 cat >>confdefs.h <<\_ACEOF
1760 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1765 cat >>confdefs.h <<\_ACEOF
1766 #define __FREEBSD__ 1
1769 cat >>confdefs.h <<\_ACEOF
1773 DEFAULT_DEFAULT_wxUSE_GTK=1
1778 cat >>confdefs.h <<\_ACEOF
1779 #define __OPENBSD__ 1
1782 cat >>confdefs.h <<\_ACEOF
1786 DEFAULT_DEFAULT_wxUSE_GTK=1
1791 cat >>confdefs.h <<\_ACEOF
1792 #define __NETBSD__ 1
1795 cat >>confdefs.h <<\_ACEOF
1799 DEFAULT_DEFAULT_wxUSE_GTK=1
1804 cat >>confdefs.h <<\_ACEOF
1808 cat >>confdefs.h <<\_ACEOF
1812 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1813 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1818 cat >>confdefs.h <<\_ACEOF
1822 cat >>confdefs.h <<\_ACEOF
1826 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1831 cat >>confdefs.h <<\_ACEOF
1835 cat >>confdefs.h <<\_ACEOF
1839 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1846 cat >>confdefs.h <<\_ACEOF
1850 cat >>confdefs.h <<\_ACEOF
1854 cat >>confdefs.h <<\_ACEOF
1858 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1865 cat >>confdefs.h <<\_ACEOF
1866 #define __UNIXWARE__ 1
1871 *-*-cygwin* | *-*-mingw32* )
1875 DEFAULT_DEFAULT_wxUSE_MSW=1
1881 cat >>confdefs.h <<\_ACEOF
1886 DEFAULT_DEFAULT_wxUSE_MGL=1
1887 LIBS="$LIBS -lstdc++"
1890 *-pc-os2_emx | *-pc-os2-emx )
1891 cat >>confdefs.h <<\_ACEOF
1896 cat >>confdefs.h <<\_ACEOF
1901 DEFAULT_DEFAULT_wxUSE_PM=1
1903 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1904 ac_executable_extensions=".exe"
1905 export ac_executable_extensions
1909 for ac_dir in $PATH; do
1911 if test -z "$ac_TEMP_PATH"; then
1912 ac_TEMP_PATH="$ac_dir"
1914 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1917 export PATH="$ac_TEMP_PATH"
1925 cat >>confdefs.h <<\_ACEOF
1929 cat >>confdefs.h <<\_ACEOF
1930 #define __DARWIN__ 1
1933 cat >>confdefs.h <<\_ACEOF
1934 #define __POWERPC__ 1
1937 cat >>confdefs.h <<\_ACEOF
1938 #define TARGET_CARBON 1
1941 DEFAULT_DEFAULT_wxUSE_MAC=1
1946 cat >>confdefs.h <<\_ACEOF
1953 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1954 echo "$as_me: error: unknown system type ${host}." >&2;}
1955 { (exit 1); exit 1; }; }
1961 wx_arg_cache_file="configarg.cache"
1962 echo "loading argument cache $wx_arg_cache_file"
1963 rm -f ${wx_arg_cache_file}.tmp
1964 touch ${wx_arg_cache_file}.tmp
1965 touch ${wx_arg_cache_file}
1969 if test $DEBUG_CONFIGURE = 1; then
1970 DEFAULT_wxUSE_UNIVERSAL=no
1971 DEFAULT_wxUSE_STL=no
1973 DEFAULT_wxUSE_NANOX=no
1975 DEFAULT_wxUSE_THREADS=yes
1977 DEFAULT_wxUSE_SHARED=yes
1978 DEFAULT_wxUSE_OPTIMISE=no
1979 DEFAULT_wxUSE_PROFILE=no
1980 DEFAULT_wxUSE_NO_DEPS=no
1981 DEFAULT_wxUSE_NO_RTTI=no
1982 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1983 DEFAULT_wxUSE_PERMISSIVE=no
1984 DEFAULT_wxUSE_DEBUG_FLAG=yes
1985 DEFAULT_wxUSE_DEBUG_INFO=yes
1986 DEFAULT_wxUSE_DEBUG_GDB=yes
1987 DEFAULT_wxUSE_MEM_TRACING=no
1988 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1989 DEFAULT_wxUSE_DMALLOC=no
1990 DEFAULT_wxUSE_APPLE_IEEE=no
1992 DEFAULT_wxUSE_EXCEPTIONS=no
1993 DEFAULT_wxUSE_LOG=yes
1994 DEFAULT_wxUSE_LOGWINDOW=no
1995 DEFAULT_wxUSE_LOGGUI=no
1996 DEFAULT_wxUSE_LOGDIALOG=no
1998 DEFAULT_wxUSE_GUI=yes
1999 DEFAULT_wxUSE_CONTROLS=no
2001 DEFAULT_wxUSE_REGEX=no
2002 DEFAULT_wxUSE_XML=no
2003 DEFAULT_wxUSE_EXPAT=no
2004 DEFAULT_wxUSE_ZLIB=no
2005 DEFAULT_wxUSE_LIBPNG=no
2006 DEFAULT_wxUSE_LIBJPEG=no
2007 DEFAULT_wxUSE_LIBTIFF=no
2008 DEFAULT_wxUSE_ODBC=no
2009 DEFAULT_wxUSE_OPENGL=no
2011 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2012 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2013 DEFAULT_wxUSE_STD_IOSTREAM=no
2014 DEFAULT_wxUSE_CMDLINE_PARSER=no
2015 DEFAULT_wxUSE_DATETIME=no
2016 DEFAULT_wxUSE_TIMER=no
2017 DEFAULT_wxUSE_STOPWATCH=no
2018 DEFAULT_wxUSE_FILE=no
2019 DEFAULT_wxUSE_FFILE=no
2020 DEFAULT_wxUSE_TEXTBUFFER=no
2021 DEFAULT_wxUSE_TEXTFILE=no
2022 DEFAULT_wxUSE_WAVE=no
2023 DEFAULT_wxUSE_INTL=no
2024 DEFAULT_wxUSE_CONFIG=no
2025 DEFAULT_wxUSE_FONTMAP=no
2026 DEFAULT_wxUSE_STREAMS=no
2027 DEFAULT_wxUSE_SOCKETS=no
2028 DEFAULT_wxUSE_OLE=no
2029 DEFAULT_wxUSE_DATAOBJ=no
2030 DEFAULT_wxUSE_DIALUP_MANAGER=no
2031 DEFAULT_wxUSE_JOYSTICK=no
2032 DEFAULT_wxUSE_DYNLIB_CLASS=no
2033 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2034 DEFAULT_wxUSE_LONGLONG=no
2035 DEFAULT_wxUSE_GEOMETRY=no
2037 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2038 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2039 DEFAULT_wxUSE_POSTSCRIPT=no
2041 DEFAULT_wxUSE_CLIPBOARD=no
2042 DEFAULT_wxUSE_TOOLTIPS=no
2043 DEFAULT_wxUSE_DRAG_AND_DROP=no
2044 DEFAULT_wxUSE_DRAGIMAGE=no
2045 DEFAULT_wxUSE_SPLINES=no
2047 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2048 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2049 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2051 DEFAULT_wxUSE_RESOURCES=no
2052 DEFAULT_wxUSE_CONSTRAINTS=no
2053 DEFAULT_wxUSE_IPC=no
2054 DEFAULT_wxUSE_HELP=no
2055 DEFAULT_wxUSE_MS_HTML_HELP=no
2056 DEFAULT_wxUSE_WXHTML_HELP=no
2057 DEFAULT_wxUSE_TREELAYOUT=no
2058 DEFAULT_wxUSE_METAFILE=no
2059 DEFAULT_wxUSE_MIMETYPE=no
2060 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2061 DEFAULT_wxUSE_PROTOCOL=no
2062 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2063 DEFAULT_wxUSE_PROTOCOL_FTP=no
2064 DEFAULT_wxUSE_PROTOCOL_FILE=no
2065 DEFAULT_wxUSE_URL=no
2067 DEFAULT_wxUSE_COMMONDLGS=no
2068 DEFAULT_wxUSE_CHOICEDLG=no
2069 DEFAULT_wxUSE_COLOURDLG=no
2070 DEFAULT_wxUSE_DIRDLG=no
2071 DEFAULT_wxUSE_FILEDLG=no
2072 DEFAULT_wxUSE_FINDREPLDLG=no
2073 DEFAULT_wxUSE_FONTDLG=no
2074 DEFAULT_wxUSE_MSGDLG=no
2075 DEFAULT_wxUSE_NUMBERDLG=no
2076 DEFAULT_wxUSE_TEXTDLG=no
2077 DEFAULT_wxUSE_SPLASH=no
2078 DEFAULT_wxUSE_STARTUP_TIPS=no
2079 DEFAULT_wxUSE_PROGRESSDLG=no
2080 DEFAULT_wxUSE_WIZARDDLG=no
2082 DEFAULT_wxUSE_MENUS=no
2083 DEFAULT_wxUSE_MINIFRAME=no
2084 DEFAULT_wxUSE_HTML=no
2085 DEFAULT_wxUSE_FILESYSTEM=no
2086 DEFAULT_wxUSE_FS_INET=no
2087 DEFAULT_wxUSE_FS_ZIP=no
2088 DEFAULT_wxUSE_BUSYINFO=no
2089 DEFAULT_wxUSE_ZIPSTREAM=no
2090 DEFAULT_wxUSE_GZSTREAM=no
2091 DEFAULT_wxUSE_VALIDATORS=no
2093 DEFAULT_wxUSE_ACCEL=no
2094 DEFAULT_wxUSE_BUTTON=no
2095 DEFAULT_wxUSE_BMPBUTTON=no
2096 DEFAULT_wxUSE_CALCTRL=no
2097 DEFAULT_wxUSE_CARET=no
2098 DEFAULT_wxUSE_CHECKBOX=no
2099 DEFAULT_wxUSE_CHECKLST=no
2100 DEFAULT_wxUSE_CHOICE=no
2101 DEFAULT_wxUSE_COMBOBOX=no
2102 DEFAULT_wxUSE_DISPLAY=no
2103 DEFAULT_wxUSE_GAUGE=no
2104 DEFAULT_wxUSE_GRID=no
2105 DEFAULT_wxUSE_IMAGLIST=no
2106 DEFAULT_wxUSE_LISTBOOK=no
2107 DEFAULT_wxUSE_LISTBOX=no
2108 DEFAULT_wxUSE_LISTCTRL=no
2109 DEFAULT_wxUSE_NOTEBOOK=no
2110 DEFAULT_wxUSE_RADIOBOX=no
2111 DEFAULT_wxUSE_RADIOBTN=no
2112 DEFAULT_wxUSE_SASH=no
2113 DEFAULT_wxUSE_SCROLLBAR=no
2114 DEFAULT_wxUSE_SLIDER=no
2115 DEFAULT_wxUSE_SPINBTN=no
2116 DEFAULT_wxUSE_SPINCTRL=no
2117 DEFAULT_wxUSE_SPLITTER=no
2118 DEFAULT_wxUSE_STATBMP=no
2119 DEFAULT_wxUSE_STATBOX=no
2120 DEFAULT_wxUSE_STATLINE=no
2121 DEFAULT_wxUSE_STATTEXT=no
2122 DEFAULT_wxUSE_STATUSBAR=yes
2123 DEFAULT_wxUSE_TABDIALOG=no
2124 DEFAULT_wxUSE_TEXTCTRL=no
2125 DEFAULT_wxUSE_TOGGLEBTN=no
2126 DEFAULT_wxUSE_TOOLBAR=no
2127 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2128 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2129 DEFAULT_wxUSE_TREECTRL=no
2130 DEFAULT_wxUSE_POPUPWIN=no
2131 DEFAULT_wxUSE_TIPWINDOW=no
2133 DEFAULT_wxUSE_UNICODE=no
2134 DEFAULT_wxUSE_UNICODE_MSLU=no
2135 DEFAULT_wxUSE_WCSRTOMBS=no
2137 DEFAULT_wxUSE_PALETTE=no
2138 DEFAULT_wxUSE_IMAGE=no
2139 DEFAULT_wxUSE_GIF=no
2140 DEFAULT_wxUSE_PCX=no
2141 DEFAULT_wxUSE_PNM=no
2142 DEFAULT_wxUSE_IFF=no
2143 DEFAULT_wxUSE_XPM=no
2144 DEFAULT_wxUSE_ICO_CUR=no
2145 DEFAULT_wxUSE_ACCESSIBILITY=no
2147 DEFAULT_wxUSE_MONOLITHIC=no
2148 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2150 DEFAULT_wxUSE_UNIVERSAL=no
2151 DEFAULT_wxUSE_STL=no
2153 DEFAULT_wxUSE_NANOX=no
2155 DEFAULT_wxUSE_THREADS=yes
2157 DEFAULT_wxUSE_SHARED=yes
2158 DEFAULT_wxUSE_OPTIMISE=yes
2159 DEFAULT_wxUSE_PROFILE=no
2160 DEFAULT_wxUSE_NO_DEPS=no
2161 DEFAULT_wxUSE_NO_RTTI=no
2162 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2163 DEFAULT_wxUSE_PERMISSIVE=no
2164 DEFAULT_wxUSE_DEBUG_FLAG=no
2165 DEFAULT_wxUSE_DEBUG_INFO=no
2166 DEFAULT_wxUSE_DEBUG_GDB=no
2167 DEFAULT_wxUSE_MEM_TRACING=no
2168 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2169 DEFAULT_wxUSE_DMALLOC=no
2170 DEFAULT_wxUSE_APPLE_IEEE=yes
2172 DEFAULT_wxUSE_EXCEPTIONS=yes
2173 DEFAULT_wxUSE_LOG=yes
2174 DEFAULT_wxUSE_LOGWINDOW=yes
2175 DEFAULT_wxUSE_LOGGUI=yes
2176 DEFAULT_wxUSE_LOGDIALOG=yes
2178 DEFAULT_wxUSE_GUI=yes
2180 DEFAULT_wxUSE_REGEX=yes
2181 DEFAULT_wxUSE_XML=yes
2182 DEFAULT_wxUSE_EXPAT=yes
2183 DEFAULT_wxUSE_ZLIB=yes
2184 DEFAULT_wxUSE_LIBPNG=yes
2185 DEFAULT_wxUSE_LIBJPEG=yes
2186 DEFAULT_wxUSE_LIBTIFF=yes
2187 DEFAULT_wxUSE_LIBMSPACK=yes
2188 DEFAULT_wxUSE_ODBC=no
2189 DEFAULT_wxUSE_OPENGL=no
2191 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2192 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2193 DEFAULT_wxUSE_STD_IOSTREAM=no
2194 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2195 DEFAULT_wxUSE_DATETIME=yes
2196 DEFAULT_wxUSE_TIMER=yes
2197 DEFAULT_wxUSE_STOPWATCH=yes
2198 DEFAULT_wxUSE_FILE=yes
2199 DEFAULT_wxUSE_FFILE=yes
2200 DEFAULT_wxUSE_TEXTBUFFER=yes
2201 DEFAULT_wxUSE_TEXTFILE=yes
2202 DEFAULT_wxUSE_WAVE=no
2203 DEFAULT_wxUSE_INTL=yes
2204 DEFAULT_wxUSE_CONFIG=yes
2205 DEFAULT_wxUSE_FONTMAP=yes
2206 DEFAULT_wxUSE_STREAMS=yes
2207 DEFAULT_wxUSE_SOCKETS=yes
2208 DEFAULT_wxUSE_OLE=yes
2209 DEFAULT_wxUSE_DATAOBJ=yes
2210 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2211 DEFAULT_wxUSE_JOYSTICK=yes
2212 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2213 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2214 DEFAULT_wxUSE_LONGLONG=yes
2215 DEFAULT_wxUSE_GEOMETRY=yes
2217 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2218 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2219 DEFAULT_wxUSE_POSTSCRIPT=yes
2221 DEFAULT_wxUSE_CLIPBOARD=yes
2222 DEFAULT_wxUSE_TOOLTIPS=yes
2223 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2224 DEFAULT_wxUSE_DRAGIMAGE=yes
2225 DEFAULT_wxUSE_SPLINES=yes
2227 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2228 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2229 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2231 DEFAULT_wxUSE_RESOURCES=no
2232 DEFAULT_wxUSE_CONSTRAINTS=yes
2233 DEFAULT_wxUSE_IPC=yes
2234 DEFAULT_wxUSE_HELP=yes
2235 DEFAULT_wxUSE_MS_HTML_HELP=yes
2236 DEFAULT_wxUSE_WXHTML_HELP=yes
2237 DEFAULT_wxUSE_TREELAYOUT=yes
2238 DEFAULT_wxUSE_METAFILE=yes
2239 DEFAULT_wxUSE_MIMETYPE=yes
2240 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2241 DEFAULT_wxUSE_PROTOCOL=yes
2242 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2243 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2244 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2245 DEFAULT_wxUSE_URL=yes
2247 DEFAULT_wxUSE_COMMONDLGS=yes
2248 DEFAULT_wxUSE_CHOICEDLG=yes
2249 DEFAULT_wxUSE_COLOURDLG=yes
2250 DEFAULT_wxUSE_DIRDLG=yes
2251 DEFAULT_wxUSE_FILEDLG=yes
2252 DEFAULT_wxUSE_FINDREPLDLG=yes
2253 DEFAULT_wxUSE_FONTDLG=yes
2254 DEFAULT_wxUSE_MSGDLG=yes
2255 DEFAULT_wxUSE_NUMBERDLG=yes
2256 DEFAULT_wxUSE_TEXTDLG=yes
2257 DEFAULT_wxUSE_SPLASH=yes
2258 DEFAULT_wxUSE_STARTUP_TIPS=yes
2259 DEFAULT_wxUSE_PROGRESSDLG=yes
2260 DEFAULT_wxUSE_WIZARDDLG=yes
2262 DEFAULT_wxUSE_MENUS=yes
2263 DEFAULT_wxUSE_MINIFRAME=yes
2264 DEFAULT_wxUSE_HTML=yes
2265 DEFAULT_wxUSE_FILESYSTEM=yes
2266 DEFAULT_wxUSE_FS_INET=yes
2267 DEFAULT_wxUSE_FS_ZIP=yes
2268 DEFAULT_wxUSE_BUSYINFO=yes
2269 DEFAULT_wxUSE_ZIPSTREAM=yes
2270 DEFAULT_wxUSE_GZSTREAM=yes
2271 DEFAULT_wxUSE_VALIDATORS=yes
2273 DEFAULT_wxUSE_ACCEL=yes
2274 DEFAULT_wxUSE_BUTTON=yes
2275 DEFAULT_wxUSE_BMPBUTTON=yes
2276 DEFAULT_wxUSE_CALCTRL=yes
2277 DEFAULT_wxUSE_CARET=yes
2278 DEFAULT_wxUSE_CHECKBOX=yes
2279 DEFAULT_wxUSE_CHECKLST=yes
2280 DEFAULT_wxUSE_CHOICE=yes
2281 DEFAULT_wxUSE_COMBOBOX=yes
2282 DEFAULT_wxUSE_DISPLAY=no
2283 DEFAULT_wxUSE_GAUGE=yes
2284 DEFAULT_wxUSE_GRID=yes
2285 DEFAULT_wxUSE_IMAGLIST=yes
2286 DEFAULT_wxUSE_LISTBOOK=yes
2287 DEFAULT_wxUSE_LISTBOX=yes
2288 DEFAULT_wxUSE_LISTCTRL=yes
2289 DEFAULT_wxUSE_NOTEBOOK=yes
2290 DEFAULT_wxUSE_RADIOBOX=yes
2291 DEFAULT_wxUSE_RADIOBTN=yes
2292 DEFAULT_wxUSE_SASH=yes
2293 DEFAULT_wxUSE_SCROLLBAR=yes
2294 DEFAULT_wxUSE_SLIDER=yes
2295 DEFAULT_wxUSE_SPINBTN=yes
2296 DEFAULT_wxUSE_SPINCTRL=yes
2297 DEFAULT_wxUSE_SPLITTER=yes
2298 DEFAULT_wxUSE_STATBMP=yes
2299 DEFAULT_wxUSE_STATBOX=yes
2300 DEFAULT_wxUSE_STATLINE=yes
2301 DEFAULT_wxUSE_STATTEXT=yes
2302 DEFAULT_wxUSE_STATUSBAR=yes
2303 DEFAULT_wxUSE_TABDIALOG=no
2304 DEFAULT_wxUSE_TEXTCTRL=yes
2305 DEFAULT_wxUSE_TOGGLEBTN=yes
2306 DEFAULT_wxUSE_TOOLBAR=yes
2307 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2308 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2309 DEFAULT_wxUSE_TREECTRL=yes
2310 DEFAULT_wxUSE_POPUPWIN=yes
2311 DEFAULT_wxUSE_TIPWINDOW=yes
2313 DEFAULT_wxUSE_UNICODE=no
2314 DEFAULT_wxUSE_UNICODE_MSLU=yes
2315 DEFAULT_wxUSE_WCSRTOMBS=no
2317 DEFAULT_wxUSE_PALETTE=yes
2318 DEFAULT_wxUSE_IMAGE=yes
2319 DEFAULT_wxUSE_GIF=yes
2320 DEFAULT_wxUSE_PCX=yes
2321 DEFAULT_wxUSE_IFF=no
2322 DEFAULT_wxUSE_PNM=yes
2323 DEFAULT_wxUSE_XPM=yes
2324 DEFAULT_wxUSE_ICO_CUR=yes
2325 DEFAULT_wxUSE_ACCESSIBILITY=no
2327 DEFAULT_wxUSE_MONOLITHIC=no
2328 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2333 for toolkit in `echo $ALL_TOOLKITS`; do
2334 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2335 if test "x$LINE" != "x" ; then
2336 has_toolkit_in_cache=1
2337 eval "DEFAULT_$LINE"
2338 eval "CACHE_$toolkit=1"
2345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2346 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2348 # Check whether --enable-gui or --disable-gui was given.
2349 if test "${enable_gui+set}" = set; then
2350 enableval="$enable_gui"
2352 if test "$enableval" = yes; then
2353 ac_cv_use_gui='wxUSE_GUI
=yes'
2355 ac_cv_use_gui='wxUSE_GUI
=no
'
2360 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2361 if test "x$LINE" != x ; then
2362 eval "DEFAULT_$LINE"
2367 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2371 eval "$ac_cv_use_gui"
2372 if test "$no_cache" != 1; then
2373 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2376 if test "$wxUSE_GUI" = yes; then
2377 echo "$as_me:$LINENO: result: yes" >&5
2378 echo "${ECHO_T}yes" >&6
2380 echo "$as_me:$LINENO: result: no" >&5
2381 echo "${ECHO_T}no" >&6
2386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2387 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2389 # Check whether --enable-monolithic or --disable-monolithic was given.
2390 if test "${enable_monolithic+set}" = set; then
2391 enableval="$enable_monolithic"
2393 if test "$enableval" = yes; then
2394 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2396 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2401 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2402 if test "x$LINE" != x ; then
2403 eval "DEFAULT_$LINE"
2408 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2412 eval "$ac_cv_use_monolithic"
2413 if test "$no_cache" != 1; then
2414 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2417 if test "$wxUSE_MONOLITHIC" = yes; then
2418 echo "$as_me:$LINENO: result: yes" >&5
2419 echo "${ECHO_T}yes" >&6
2421 echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6
2426 if test "$wxUSE_GUI" = "yes"; then
2430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2431 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2433 # Check whether --enable-universal or --disable-universal was given.
2434 if test "${enable_universal+set}" = set; then
2435 enableval="$enable_universal"
2437 if test "$enableval" = yes; then
2438 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2440 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2445 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2446 if test "x$LINE" != x ; then
2447 eval "DEFAULT_$LINE"
2452 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2456 eval "$ac_cv_use_universal"
2457 if test "$no_cache" != 1; then
2458 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2461 if test "$wxUSE_UNIVERSAL" = yes; then
2462 echo "$as_me:$LINENO: result: yes" >&5
2463 echo "${ECHO_T}yes" >&6
2465 echo "$as_me:$LINENO: result: no" >&5
2466 echo "${ECHO_T}no" >&6
2470 # Check whether --with-gtk or --without-gtk was given.
2471 if test "${with_gtk+set}" = set; then
2473 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2476 # Check whether --with-motif or --without-motif was given.
2477 if test "${with_motif+set}" = set; then
2478 withval="$with_motif"
2479 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2482 # Check whether --with-mac or --without-mac was given.
2483 if test "${with_mac+set}" = set; then
2485 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2488 # Check whether --with-cocoa or --without-cocoa was given.
2489 if test "${with_cocoa+set}" = set; then
2490 withval="$with_cocoa"
2491 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2494 # Check whether --with-wine or --without-wine was given.
2495 if test "${with_wine+set}" = set; then
2496 withval="$with_wine"
2497 wxUSE_WINE="$withval" CACHE_WINE=1
2500 # Check whether --with-msw or --without-msw was given.
2501 if test "${with_msw+set}" = set; then
2503 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2506 # Check whether --with-pm or --without-pm was given.
2507 if test "${with_pm+set}" = set; then
2509 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2512 # Check whether --with-mgl or --without-mgl was given.
2513 if test "${with_mgl+set}" = set; then
2515 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2518 # Check whether --with-microwin or --without-microwin was given.
2519 if test "${with_microwin+set}" = set; then
2520 withval="$with_microwin"
2521 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2524 # Check whether --with-x11 or --without-x11 was given.
2525 if test "${with_x11+set}" = set; then
2527 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2532 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2534 # Check whether --enable-nanox or --disable-nanox was given.
2535 if test "${enable_nanox+set}" = set; then
2536 enableval="$enable_nanox"
2538 if test "$enableval" = yes; then
2539 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2541 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2546 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2547 if test "x$LINE" != x ; then
2548 eval "DEFAULT_$LINE"
2553 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2557 eval "$ac_cv_use_nanox"
2558 if test "$no_cache" != 1; then
2559 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2562 if test "$wxUSE_NANOX" = yes; then
2563 echo "$as_me:$LINENO: result: yes" >&5
2564 echo "${ECHO_T}yes" >&6
2566 echo "$as_me:$LINENO: result: no" >&5
2567 echo "${ECHO_T}no" >&6
2573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2574 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2576 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2577 if test "${enable_gtk2+set}" = set; then
2578 enableval="$enable_gtk2"
2580 if test "$enableval" = yes; then
2581 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2583 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2588 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2589 if test "x$LINE" != x ; then
2590 eval "DEFAULT_$LINE"
2595 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2599 eval "$ac_cv_use_gtk2"
2600 if test "$no_cache" != 1; then
2601 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2604 if test "$wxUSE_GTK2" = yes; then
2605 echo "$as_me:$LINENO: result: yes" >&5
2606 echo "${ECHO_T}yes" >&6
2608 echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6
2614 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2615 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2618 # Check whether --with-libpng or --without-libpng was given.
2619 if test "${with_libpng+set}" = set; then
2620 withval="$with_libpng"
2622 if test "$withval" = yes; then
2623 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2624 elif test "$withval" = no; then
2625 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2626 elif test "$withval" = sys; then
2627 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2628 elif test "$withval" = builtin; then
2629 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2631 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2632 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2633 { (exit 1); exit 1; }; }
2638 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2639 if test "x$LINE" != x ; then
2640 eval "DEFAULT_$LINE"
2645 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2649 eval "$ac_cv_use_libpng"
2650 if test "$no_cache" != 1; then
2651 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2654 if test "$wxUSE_LIBPNG" = yes; then
2655 echo "$as_me:$LINENO: result: yes" >&5
2656 echo "${ECHO_T}yes" >&6
2657 elif test "$wxUSE_LIBPNG" = no; then
2658 echo "$as_me:$LINENO: result: no" >&5
2659 echo "${ECHO_T}no" >&6
2660 elif test "$wxUSE_LIBPNG" = sys; then
2661 echo "$as_me:$LINENO: result: system version" >&5
2662 echo "${ECHO_T}system version" >&6
2663 elif test "$wxUSE_LIBPNG" = builtin; then
2664 echo "$as_me:$LINENO: result: builtin version" >&5
2665 echo "${ECHO_T}builtin version" >&6
2667 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2668 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2669 { (exit 1); exit 1; }; }
2673 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2674 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2677 # Check whether --with-libjpeg or --without-libjpeg was given.
2678 if test "${with_libjpeg+set}" = set; then
2679 withval="$with_libjpeg"
2681 if test "$withval" = yes; then
2682 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2683 elif test "$withval" = no; then
2684 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2685 elif test "$withval" = sys; then
2686 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2687 elif test "$withval" = builtin; then
2688 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2690 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2691 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2692 { (exit 1); exit 1; }; }
2697 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2698 if test "x$LINE" != x ; then
2699 eval "DEFAULT_$LINE"
2704 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2708 eval "$ac_cv_use_libjpeg"
2709 if test "$no_cache" != 1; then
2710 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2713 if test "$wxUSE_LIBJPEG" = yes; then
2714 echo "$as_me:$LINENO: result: yes" >&5
2715 echo "${ECHO_T}yes" >&6
2716 elif test "$wxUSE_LIBJPEG" = no; then
2717 echo "$as_me:$LINENO: result: no" >&5
2718 echo "${ECHO_T}no" >&6
2719 elif test "$wxUSE_LIBJPEG" = sys; then
2720 echo "$as_me:$LINENO: result: system version" >&5
2721 echo "${ECHO_T}system version" >&6
2722 elif test "$wxUSE_LIBJPEG" = builtin; then
2723 echo "$as_me:$LINENO: result: builtin version" >&5
2724 echo "${ECHO_T}builtin version" >&6
2726 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2727 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2728 { (exit 1); exit 1; }; }
2732 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2733 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2736 # Check whether --with-libtiff or --without-libtiff was given.
2737 if test "${with_libtiff+set}" = set; then
2738 withval="$with_libtiff"
2740 if test "$withval" = yes; then
2741 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2742 elif test "$withval" = no; then
2743 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2744 elif test "$withval" = sys; then
2745 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2746 elif test "$withval" = builtin; then
2747 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2749 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2750 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2751 { (exit 1); exit 1; }; }
2756 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2757 if test "x$LINE" != x ; then
2758 eval "DEFAULT_$LINE"
2763 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2767 eval "$ac_cv_use_libtiff"
2768 if test "$no_cache" != 1; then
2769 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2772 if test "$wxUSE_LIBTIFF" = yes; then
2773 echo "$as_me:$LINENO: result: yes" >&5
2774 echo "${ECHO_T}yes" >&6
2775 elif test "$wxUSE_LIBTIFF" = no; then
2776 echo "$as_me:$LINENO: result: no" >&5
2777 echo "${ECHO_T}no" >&6
2778 elif test "$wxUSE_LIBTIFF" = sys; then
2779 echo "$as_me:$LINENO: result: system version" >&5
2780 echo "${ECHO_T}system version" >&6
2781 elif test "$wxUSE_LIBTIFF" = builtin; then
2782 echo "$as_me:$LINENO: result: builtin version" >&5
2783 echo "${ECHO_T}builtin version" >&6
2785 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2786 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2787 { (exit 1); exit 1; }; }
2791 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2792 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2795 # Check whether --with-libmspack or --without-libmspack was given.
2796 if test "${with_libmspack+set}" = set; then
2797 withval="$with_libmspack"
2799 if test "$withval" = yes; then
2800 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
2802 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
2807 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2808 if test "x$LINE" != x ; then
2809 eval "DEFAULT_$LINE"
2814 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
2818 eval "$ac_cv_use_libmspack"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2823 if test "$wxUSE_LIBMSPACK" = yes; then
2824 echo "$as_me:$LINENO: result: yes" >&5
2825 echo "${ECHO_T}yes" >&6
2827 echo "$as_me:$LINENO: result: no" >&5
2828 echo "${ECHO_T}no" >&6
2832 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2833 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2836 # Check whether --with-opengl or --without-opengl was given.
2837 if test "${with_opengl+set}" = set; then
2838 withval="$with_opengl"
2840 if test "$withval" = yes; then
2841 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2843 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2848 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2849 if test "x$LINE" != x ; then
2850 eval "DEFAULT_$LINE"
2855 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2859 eval "$ac_cv_use_opengl"
2860 if test "$no_cache" != 1; then
2861 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2864 if test "$wxUSE_OPENGL" = yes; then
2865 echo "$as_me:$LINENO: result: yes" >&5
2866 echo "${ECHO_T}yes" >&6
2868 echo "$as_me:$LINENO: result: no" >&5
2869 echo "${ECHO_T}no" >&6
2876 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2877 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2880 # Check whether --with-dmalloc or --without-dmalloc was given.
2881 if test "${with_dmalloc+set}" = set; then
2882 withval="$with_dmalloc"
2884 if test "$withval" = yes; then
2885 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2887 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2892 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2893 if test "x$LINE" != x ; then
2894 eval "DEFAULT_$LINE"
2899 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2903 eval "$ac_cv_use_dmalloc"
2904 if test "$no_cache" != 1; then
2905 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2908 if test "$wxUSE_DMALLOC" = yes; then
2909 echo "$as_me:$LINENO: result: yes" >&5
2910 echo "${ECHO_T}yes" >&6
2912 echo "$as_me:$LINENO: result: no" >&5
2913 echo "${ECHO_T}no" >&6
2917 echo "$as_me:$LINENO: checking for --with-regex" >&5
2918 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2921 # Check whether --with-regex or --without-regex was given.
2922 if test "${with_regex+set}" = set; then
2923 withval="$with_regex"
2925 if test "$withval" = yes; then
2926 ac_cv_use_regex='wxUSE_REGEX
=yes'
2927 elif test "$withval" = no; then
2928 ac_cv_use_regex='wxUSE_REGEX
=no
'
2929 elif test "$withval" = sys; then
2930 ac_cv_use_regex='wxUSE_REGEX
=sys
'
2931 elif test "$withval" = builtin; then
2932 ac_cv_use_regex='wxUSE_REGEX
=builtin'
2934 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2935 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2936 { (exit 1); exit 1; }; }
2941 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2942 if test "x$LINE" != x ; then
2943 eval "DEFAULT_$LINE"
2948 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
2952 eval "$ac_cv_use_regex"
2953 if test "$no_cache" != 1; then
2954 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2957 if test "$wxUSE_REGEX" = yes; then
2958 echo "$as_me:$LINENO: result: yes" >&5
2959 echo "${ECHO_T}yes" >&6
2960 elif test "$wxUSE_REGEX" = no; then
2961 echo "$as_me:$LINENO: result: no" >&5
2962 echo "${ECHO_T}no" >&6
2963 elif test "$wxUSE_REGEX" = sys; then
2964 echo "$as_me:$LINENO: result: system version" >&5
2965 echo "${ECHO_T}system version" >&6
2966 elif test "$wxUSE_REGEX" = builtin; then
2967 echo "$as_me:$LINENO: result: builtin version" >&5
2968 echo "${ECHO_T}builtin version" >&6
2970 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2971 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2972 { (exit 1); exit 1; }; }
2976 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2977 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2980 # Check whether --with-zlib or --without-zlib was given.
2981 if test "${with_zlib+set}" = set; then
2982 withval="$with_zlib"
2984 if test "$withval" = yes; then
2985 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
2986 elif test "$withval" = no; then
2987 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
2988 elif test "$withval" = sys; then
2989 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
2990 elif test "$withval" = builtin; then
2991 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
2993 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2994 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2995 { (exit 1); exit 1; }; }
3000 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3001 if test "x$LINE" != x ; then
3002 eval "DEFAULT_$LINE"
3007 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3011 eval "$ac_cv_use_zlib"
3012 if test "$no_cache" != 1; then
3013 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3016 if test "$wxUSE_ZLIB" = yes; then
3017 echo "$as_me:$LINENO: result: yes" >&5
3018 echo "${ECHO_T}yes" >&6
3019 elif test "$wxUSE_ZLIB" = no; then
3020 echo "$as_me:$LINENO: result: no" >&5
3021 echo "${ECHO_T}no" >&6
3022 elif test "$wxUSE_ZLIB" = sys; then
3023 echo "$as_me:$LINENO: result: system version" >&5
3024 echo "${ECHO_T}system version" >&6
3025 elif test "$wxUSE_ZLIB" = builtin; then
3026 echo "$as_me:$LINENO: result: builtin version" >&5
3027 echo "${ECHO_T}builtin version" >&6
3029 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3030 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3031 { (exit 1); exit 1; }; }
3035 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3036 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3039 # Check whether --with-odbc or --without-odbc was given.
3040 if test "${with_odbc+set}" = set; then
3041 withval="$with_odbc"
3043 if test "$withval" = yes; then
3044 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3045 elif test "$withval" = no; then
3046 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3047 elif test "$withval" = sys; then
3048 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3049 elif test "$withval" = builtin; then
3050 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3052 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3053 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3054 { (exit 1); exit 1; }; }
3059 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3060 if test "x$LINE" != x ; then
3061 eval "DEFAULT_$LINE"
3066 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3070 eval "$ac_cv_use_odbc"
3071 if test "$no_cache" != 1; then
3072 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3075 if test "$wxUSE_ODBC" = yes; then
3076 echo "$as_me:$LINENO: result: yes" >&5
3077 echo "${ECHO_T}yes" >&6
3078 elif test "$wxUSE_ODBC" = no; then
3079 echo "$as_me:$LINENO: result: no" >&5
3080 echo "${ECHO_T}no" >&6
3081 elif test "$wxUSE_ODBC" = sys; then
3082 echo "$as_me:$LINENO: result: system version" >&5
3083 echo "${ECHO_T}system version" >&6
3084 elif test "$wxUSE_ODBC" = builtin; then
3085 echo "$as_me:$LINENO: result: builtin version" >&5
3086 echo "${ECHO_T}builtin version" >&6
3088 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3089 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3090 { (exit 1); exit 1; }; }
3094 echo "$as_me:$LINENO: checking for --with-expat" >&5
3095 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3098 # Check whether --with-expat or --without-expat was given.
3099 if test "${with_expat+set}" = set; then
3100 withval="$with_expat"
3102 if test "$withval" = yes; then
3103 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3104 elif test "$withval" = no; then
3105 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3106 elif test "$withval" = sys; then
3107 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3108 elif test "$withval" = builtin; then
3109 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3111 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3112 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3113 { (exit 1); exit 1; }; }
3118 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3119 if test "x$LINE" != x ; then
3120 eval "DEFAULT_$LINE"
3125 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3129 eval "$ac_cv_use_expat"
3130 if test "$no_cache" != 1; then
3131 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3134 if test "$wxUSE_EXPAT" = yes; then
3135 echo "$as_me:$LINENO: result: yes" >&5
3136 echo "${ECHO_T}yes" >&6
3137 elif test "$wxUSE_EXPAT" = no; then
3138 echo "$as_me:$LINENO: result: no" >&5
3139 echo "${ECHO_T}no" >&6
3140 elif test "$wxUSE_EXPAT" = sys; then
3141 echo "$as_me:$LINENO: result: system version" >&5
3142 echo "${ECHO_T}system version" >&6
3143 elif test "$wxUSE_EXPAT" = builtin; then
3144 echo "$as_me:$LINENO: result: builtin version" >&5
3145 echo "${ECHO_T}builtin version" >&6
3147 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3148 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3149 { (exit 1); exit 1; }; }
3156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3157 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3159 # Check whether --enable-shared or --disable-shared was given.
3160 if test "${enable_shared+set}" = set; then
3161 enableval="$enable_shared"
3163 if test "$enableval" = yes; then
3164 ac_cv_use_shared='wxUSE_SHARED
=yes'
3166 ac_cv_use_shared='wxUSE_SHARED
=no
'
3171 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3172 if test "x$LINE" != x ; then
3173 eval "DEFAULT_$LINE"
3178 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3182 eval "$ac_cv_use_shared"
3183 if test "$no_cache" != 1; then
3184 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3187 if test "$wxUSE_SHARED" = yes; then
3188 echo "$as_me:$LINENO: result: yes" >&5
3189 echo "${ECHO_T}yes" >&6
3191 echo "$as_me:$LINENO: result: no" >&5
3192 echo "${ECHO_T}no" >&6
3197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3198 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3200 # Check whether --enable-optimise or --disable-optimise was given.
3201 if test "${enable_optimise+set}" = set; then
3202 enableval="$enable_optimise"
3204 if test "$enableval" = yes; then
3205 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3207 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3212 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x ; then
3214 eval "DEFAULT_$LINE"
3219 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3223 eval "$ac_cv_use_optimise"
3224 if test "$no_cache" != 1; then
3225 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3228 if test "$wxUSE_OPTIMISE" = yes; then
3229 echo "$as_me:$LINENO: result: yes" >&5
3230 echo "${ECHO_T}yes" >&6
3232 echo "$as_me:$LINENO: result: no" >&5
3233 echo "${ECHO_T}no" >&6
3238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3239 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3241 # Check whether --enable-debug or --disable-debug was given.
3242 if test "${enable_debug+set}" = set; then
3243 enableval="$enable_debug"
3245 if test "$enableval" = yes; then
3246 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3248 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3253 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3254 if test "x$LINE" != x ; then
3255 eval "DEFAULT_$LINE"
3260 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3264 eval "$ac_cv_use_debug"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3269 if test "$wxUSE_DEBUG" = yes; then
3270 echo "$as_me:$LINENO: result: yes" >&5
3271 echo "${ECHO_T}yes" >&6
3273 echo "$as_me:$LINENO: result: no" >&5
3274 echo "${ECHO_T}no" >&6
3279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3280 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3282 # Check whether --enable-stl or --disable-stl was given.
3283 if test "${enable_stl+set}" = set; then
3284 enableval="$enable_stl"
3286 if test "$enableval" = yes; then
3287 ac_cv_use_stl='wxUSE_STL
=yes'
3289 ac_cv_use_stl='wxUSE_STL
=no
'
3294 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x ; then
3296 eval "DEFAULT_$LINE"
3301 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3305 eval "$ac_cv_use_stl"
3306 if test "$no_cache" != 1; then
3307 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3310 if test "$wxUSE_STL" = yes; then
3311 echo "$as_me:$LINENO: result: yes" >&5
3312 echo "${ECHO_T}yes" >&6
3314 echo "$as_me:$LINENO: result: no" >&5
3315 echo "${ECHO_T}no" >&6
3319 if test "$wxUSE_DEBUG" = "yes"; then
3320 DEFAULT_wxUSE_DEBUG_FLAG=yes
3321 DEFAULT_wxUSE_DEBUG_INFO=yes
3323 elif test "$wxUSE_DEBUG" = "no"; then
3324 DEFAULT_wxUSE_DEBUG_FLAG=no
3325 DEFAULT_wxUSE_DEBUG_INFO=no
3331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3332 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3334 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3335 if test "${enable_debug_flag+set}" = set; then
3336 enableval="$enable_debug_flag"
3338 if test "$enableval" = yes; then
3339 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3341 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3346 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3347 if test "x$LINE" != x ; then
3348 eval "DEFAULT_$LINE"
3353 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3357 eval "$ac_cv_use_debug_flag"
3358 if test "$no_cache" != 1; then
3359 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3362 if test "$wxUSE_DEBUG_FLAG" = yes; then
3363 echo "$as_me:$LINENO: result: yes" >&5
3364 echo "${ECHO_T}yes" >&6
3366 echo "$as_me:$LINENO: result: no" >&5
3367 echo "${ECHO_T}no" >&6
3372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3373 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3375 # Check whether --enable-debug_info or --disable-debug_info was given.
3376 if test "${enable_debug_info+set}" = set; then
3377 enableval="$enable_debug_info"
3379 if test "$enableval" = yes; then
3380 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3382 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3387 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3388 if test "x$LINE" != x ; then
3389 eval "DEFAULT_$LINE"
3394 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3398 eval "$ac_cv_use_debug_info"
3399 if test "$no_cache" != 1; then
3400 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3403 if test "$wxUSE_DEBUG_INFO" = yes; then
3404 echo "$as_me:$LINENO: result: yes" >&5
3405 echo "${ECHO_T}yes" >&6
3407 echo "$as_me:$LINENO: result: no" >&5
3408 echo "${ECHO_T}no" >&6
3413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3414 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3416 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3417 if test "${enable_debug_gdb+set}" = set; then
3418 enableval="$enable_debug_gdb"
3420 if test "$enableval" = yes; then
3421 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3423 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3428 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3429 if test "x$LINE" != x ; then
3430 eval "DEFAULT_$LINE"
3435 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3439 eval "$ac_cv_use_debug_gdb"
3440 if test "$no_cache" != 1; then
3441 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3444 if test "$wxUSE_DEBUG_GDB" = yes; then
3445 echo "$as_me:$LINENO: result: yes" >&5
3446 echo "${ECHO_T}yes" >&6
3448 echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6
3454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3455 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3457 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3458 if test "${enable_debug_cntxt+set}" = set; then
3459 enableval="$enable_debug_cntxt"
3461 if test "$enableval" = yes; then
3462 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3464 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3469 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3470 if test "x$LINE" != x ; then
3471 eval "DEFAULT_$LINE"
3476 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3480 eval "$ac_cv_use_debug_cntxt"
3481 if test "$no_cache" != 1; then
3482 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3485 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3486 echo "$as_me:$LINENO: result: yes" >&5
3487 echo "${ECHO_T}yes" >&6
3489 echo "$as_me:$LINENO: result: no" >&5
3490 echo "${ECHO_T}no" >&6
3495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3496 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3498 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3499 if test "${enable_mem_tracing+set}" = set; then
3500 enableval="$enable_mem_tracing"
3502 if test "$enableval" = yes; then
3503 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3505 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3510 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3511 if test "x$LINE" != x ; then
3512 eval "DEFAULT_$LINE"
3517 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3521 eval "$ac_cv_use_mem_tracing"
3522 if test "$no_cache" != 1; then
3523 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3526 if test "$wxUSE_MEM_TRACING" = yes; then
3527 echo "$as_me:$LINENO: result: yes" >&5
3528 echo "${ECHO_T}yes" >&6
3530 echo "$as_me:$LINENO: result: no" >&5
3531 echo "${ECHO_T}no" >&6
3536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3537 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3539 # Check whether --enable-profile or --disable-profile was given.
3540 if test "${enable_profile+set}" = set; then
3541 enableval="$enable_profile"
3543 if test "$enableval" = yes; then
3544 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3546 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3551 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3552 if test "x$LINE" != x ; then
3553 eval "DEFAULT_$LINE"
3558 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3562 eval "$ac_cv_use_profile"
3563 if test "$no_cache" != 1; then
3564 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3567 if test "$wxUSE_PROFILE" = yes; then
3568 echo "$as_me:$LINENO: result: yes" >&5
3569 echo "${ECHO_T}yes" >&6
3571 echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6
3577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3578 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3580 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3581 if test "${enable_no_rtti+set}" = set; then
3582 enableval="$enable_no_rtti"
3584 if test "$enableval" = yes; then
3585 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3587 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3592 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3593 if test "x$LINE" != x ; then
3594 eval "DEFAULT_$LINE"
3599 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3603 eval "$ac_cv_use_no_rtti"
3604 if test "$no_cache" != 1; then
3605 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3608 if test "$wxUSE_NO_RTTI" = yes; then
3609 echo "$as_me:$LINENO: result: yes" >&5
3610 echo "${ECHO_T}yes" >&6
3612 echo "$as_me:$LINENO: result: no" >&5
3613 echo "${ECHO_T}no" >&6
3618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3619 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3621 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3622 if test "${enable_no_exceptions+set}" = set; then
3623 enableval="$enable_no_exceptions"
3625 if test "$enableval" = yes; then
3626 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3628 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3633 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3634 if test "x$LINE" != x ; then
3635 eval "DEFAULT_$LINE"
3640 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3644 eval "$ac_cv_use_no_exceptions"
3645 if test "$no_cache" != 1; then
3646 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3649 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3650 echo "$as_me:$LINENO: result: yes" >&5
3651 echo "${ECHO_T}yes" >&6
3653 echo "$as_me:$LINENO: result: no" >&5
3654 echo "${ECHO_T}no" >&6
3659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3660 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3662 # Check whether --enable-permissive or --disable-permissive was given.
3663 if test "${enable_permissive+set}" = set; then
3664 enableval="$enable_permissive"
3666 if test "$enableval" = yes; then
3667 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3669 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3674 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x ; then
3676 eval "DEFAULT_$LINE"
3681 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3685 eval "$ac_cv_use_permissive"
3686 if test "$no_cache" != 1; then
3687 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3690 if test "$wxUSE_PERMISSIVE" = yes; then
3691 echo "$as_me:$LINENO: result: yes" >&5
3692 echo "${ECHO_T}yes" >&6
3694 echo "$as_me:$LINENO: result: no" >&5
3695 echo "${ECHO_T}no" >&6
3700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3701 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3703 # Check whether --enable-no_deps or --disable-no_deps was given.
3704 if test "${enable_no_deps+set}" = set; then
3705 enableval="$enable_no_deps"
3707 if test "$enableval" = yes; then
3708 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3710 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3715 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3716 if test "x$LINE" != x ; then
3717 eval "DEFAULT_$LINE"
3722 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3726 eval "$ac_cv_use_no_deps"
3727 if test "$no_cache" != 1; then
3728 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3731 if test "$wxUSE_NO_DEPS" = yes; then
3732 echo "$as_me:$LINENO: result: yes" >&5
3733 echo "${ECHO_T}yes" >&6
3735 echo "$as_me:$LINENO: result: no" >&5
3736 echo "${ECHO_T}no" >&6
3742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3743 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3745 # Check whether --enable-compat22 or --disable-compat22 was given.
3746 if test "${enable_compat22+set}" = set; then
3747 enableval="$enable_compat22"
3749 if test "$enableval" = yes; then
3750 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3752 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3757 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3758 if test "x$LINE" != x ; then
3759 eval "DEFAULT_$LINE"
3764 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3768 eval "$ac_cv_use_compat22"
3769 if test "$no_cache" != 1; then
3770 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3773 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3774 echo "$as_me:$LINENO: result: yes" >&5
3775 echo "${ECHO_T}yes" >&6
3777 echo "$as_me:$LINENO: result: no" >&5
3778 echo "${ECHO_T}no" >&6
3782 enablestring=disable
3783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3784 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3786 # Check whether --enable-compat24 or --disable-compat24 was given.
3787 if test "${enable_compat24+set}" = set; then
3788 enableval="$enable_compat24"
3790 if test "$enableval" = yes; then
3791 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
3793 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
3798 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3799 if test "x$LINE" != x ; then
3800 eval "DEFAULT_$LINE"
3805 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3809 eval "$ac_cv_use_compat24"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3814 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3815 echo "$as_me:$LINENO: result: yes" >&5
3816 echo "${ECHO_T}yes" >&6
3818 echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6
3823 # Check whether --enable-rpath or --disable-rpath was given.
3824 if test "${enable_rpath+set}" = set; then
3825 enableval="$enable_rpath"
3826 wxRPATH_DIR="$enableval"
3829 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3830 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3838 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3840 # Check whether --enable-intl or --disable-intl was given.
3841 if test "${enable_intl+set}" = set; then
3842 enableval="$enable_intl"
3844 if test "$enableval" = yes; then
3845 ac_cv_use_intl='wxUSE_INTL
=yes'
3847 ac_cv_use_intl='wxUSE_INTL
=no
'
3852 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3853 if test "x$LINE" != x ; then
3854 eval "DEFAULT_$LINE"
3859 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3863 eval "$ac_cv_use_intl"
3864 if test "$no_cache" != 1; then
3865 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3868 if test "$wxUSE_INTL" = yes; then
3869 echo "$as_me:$LINENO: result: yes" >&5
3870 echo "${ECHO_T}yes" >&6
3872 echo "$as_me:$LINENO: result: no" >&5
3873 echo "${ECHO_T}no" >&6
3878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3879 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3881 # Check whether --enable-config or --disable-config was given.
3882 if test "${enable_config+set}" = set; then
3883 enableval="$enable_config"
3885 if test "$enableval" = yes; then
3886 ac_cv_use_config='wxUSE_CONFIG
=yes'
3888 ac_cv_use_config='wxUSE_CONFIG
=no
'
3893 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3894 if test "x$LINE" != x ; then
3895 eval "DEFAULT_$LINE"
3900 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3904 eval "$ac_cv_use_config"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3909 if test "$wxUSE_CONFIG" = yes; then
3910 echo "$as_me:$LINENO: result: yes" >&5
3911 echo "${ECHO_T}yes" >&6
3913 echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3921 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3923 # Check whether --enable-protocols or --disable-protocols was given.
3924 if test "${enable_protocols+set}" = set; then
3925 enableval="$enable_protocols"
3927 if test "$enableval" = yes; then
3928 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
3930 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
3935 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3936 if test "x$LINE" != x ; then
3937 eval "DEFAULT_$LINE"
3942 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
3946 eval "$ac_cv_use_protocols"
3947 if test "$no_cache" != 1; then
3948 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3951 if test "$wxUSE_PROTOCOL" = yes; then
3952 echo "$as_me:$LINENO: result: yes" >&5
3953 echo "${ECHO_T}yes" >&6
3955 echo "$as_me:$LINENO: result: no" >&5
3956 echo "${ECHO_T}no" >&6
3961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3962 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3964 # Check whether --enable-ftp or --disable-ftp was given.
3965 if test "${enable_ftp+set}" = set; then
3966 enableval="$enable_ftp"
3968 if test "$enableval" = yes; then
3969 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
3971 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
3976 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3977 if test "x$LINE" != x ; then
3978 eval "DEFAULT_$LINE"
3983 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
3987 eval "$ac_cv_use_ftp"
3988 if test "$no_cache" != 1; then
3989 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3992 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3993 echo "$as_me:$LINENO: result: yes" >&5
3994 echo "${ECHO_T}yes" >&6
3996 echo "$as_me:$LINENO: result: no" >&5
3997 echo "${ECHO_T}no" >&6
4002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4003 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4005 # Check whether --enable-http or --disable-http was given.
4006 if test "${enable_http+set}" = set; then
4007 enableval="$enable_http"
4009 if test "$enableval" = yes; then
4010 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4012 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4017 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4018 if test "x$LINE" != x ; then
4019 eval "DEFAULT_$LINE"
4024 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4028 eval "$ac_cv_use_http"
4029 if test "$no_cache" != 1; then
4030 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4033 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4034 echo "$as_me:$LINENO: result: yes" >&5
4035 echo "${ECHO_T}yes" >&6
4037 echo "$as_me:$LINENO: result: no" >&5
4038 echo "${ECHO_T}no" >&6
4043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4044 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4046 # Check whether --enable-fileproto or --disable-fileproto was given.
4047 if test "${enable_fileproto+set}" = set; then
4048 enableval="$enable_fileproto"
4050 if test "$enableval" = yes; then
4051 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4053 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4058 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4059 if test "x$LINE" != x ; then
4060 eval "DEFAULT_$LINE"
4065 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4069 eval "$ac_cv_use_fileproto"
4070 if test "$no_cache" != 1; then
4071 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4074 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4075 echo "$as_me:$LINENO: result: yes" >&5
4076 echo "${ECHO_T}yes" >&6
4078 echo "$as_me:$LINENO: result: no" >&5
4079 echo "${ECHO_T}no" >&6
4084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4085 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4087 # Check whether --enable-sockets or --disable-sockets was given.
4088 if test "${enable_sockets+set}" = set; then
4089 enableval="$enable_sockets"
4091 if test "$enableval" = yes; then
4092 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4094 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4099 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4100 if test "x$LINE" != x ; then
4101 eval "DEFAULT_$LINE"
4106 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4110 eval "$ac_cv_use_sockets"
4111 if test "$no_cache" != 1; then
4112 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4115 if test "$wxUSE_SOCKETS" = yes; then
4116 echo "$as_me:$LINENO: result: yes" >&5
4117 echo "${ECHO_T}yes" >&6
4119 echo "$as_me:$LINENO: result: no" >&5
4120 echo "${ECHO_T}no" >&6
4125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4126 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4128 # Check whether --enable-ole or --disable-ole was given.
4129 if test "${enable_ole+set}" = set; then
4130 enableval="$enable_ole"
4132 if test "$enableval" = yes; then
4133 ac_cv_use_ole='wxUSE_OLE
=yes'
4135 ac_cv_use_ole='wxUSE_OLE
=no
'
4140 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4141 if test "x$LINE" != x ; then
4142 eval "DEFAULT_$LINE"
4147 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4151 eval "$ac_cv_use_ole"
4152 if test "$no_cache" != 1; then
4153 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4156 if test "$wxUSE_OLE" = yes; then
4157 echo "$as_me:$LINENO: result: yes" >&5
4158 echo "${ECHO_T}yes" >&6
4160 echo "$as_me:$LINENO: result: no" >&5
4161 echo "${ECHO_T}no" >&6
4166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4167 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4169 # Check whether --enable-dataobj or --disable-dataobj was given.
4170 if test "${enable_dataobj+set}" = set; then
4171 enableval="$enable_dataobj"
4173 if test "$enableval" = yes; then
4174 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4176 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4181 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4182 if test "x$LINE" != x ; then
4183 eval "DEFAULT_$LINE"
4188 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4192 eval "$ac_cv_use_dataobj"
4193 if test "$no_cache" != 1; then
4194 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4197 if test "$wxUSE_DATAOBJ" = yes; then
4198 echo "$as_me:$LINENO: result: yes" >&5
4199 echo "${ECHO_T}yes" >&6
4201 echo "$as_me:$LINENO: result: no" >&5
4202 echo "${ECHO_T}no" >&6
4208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4209 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4211 # Check whether --enable-ipc or --disable-ipc was given.
4212 if test "${enable_ipc+set}" = set; then
4213 enableval="$enable_ipc"
4215 if test "$enableval" = yes; then
4216 ac_cv_use_ipc='wxUSE_IPC
=yes'
4218 ac_cv_use_ipc='wxUSE_IPC
=no
'
4223 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4224 if test "x$LINE" != x ; then
4225 eval "DEFAULT_$LINE"
4230 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4234 eval "$ac_cv_use_ipc"
4235 if test "$no_cache" != 1; then
4236 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4239 if test "$wxUSE_IPC" = yes; then
4240 echo "$as_me:$LINENO: result: yes" >&5
4241 echo "${ECHO_T}yes" >&6
4243 echo "$as_me:$LINENO: result: no" >&5
4244 echo "${ECHO_T}no" >&6
4250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4251 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4253 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4254 if test "${enable_apple_ieee+set}" = set; then
4255 enableval="$enable_apple_ieee"
4257 if test "$enableval" = yes; then
4258 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4260 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4265 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4266 if test "x$LINE" != x ; then
4267 eval "DEFAULT_$LINE"
4272 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4276 eval "$ac_cv_use_apple_ieee"
4277 if test "$no_cache" != 1; then
4278 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4281 if test "$wxUSE_APPLE_IEEE" = yes; then
4282 echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6
4285 echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6
4291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4292 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4294 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4295 if test "${enable_catch_segvs+set}" = set; then
4296 enableval="$enable_catch_segvs"
4298 if test "$enableval" = yes; then
4299 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4301 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4306 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x ; then
4308 eval "DEFAULT_$LINE"
4313 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4317 eval "$ac_cv_use_catch_segvs"
4318 if test "$no_cache" != 1; then
4319 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4322 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4323 echo "$as_me:$LINENO: result: yes" >&5
4324 echo "${ECHO_T}yes" >&6
4326 echo "$as_me:$LINENO: result: no" >&5
4327 echo "${ECHO_T}no" >&6
4332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4333 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4335 # Check whether --enable-cmdline or --disable-cmdline was given.
4336 if test "${enable_cmdline+set}" = set; then
4337 enableval="$enable_cmdline"
4339 if test "$enableval" = yes; then
4340 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4342 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4347 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4348 if test "x$LINE" != x ; then
4349 eval "DEFAULT_$LINE"
4354 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4358 eval "$ac_cv_use_cmdline"
4359 if test "$no_cache" != 1; then
4360 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4363 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4364 echo "$as_me:$LINENO: result: yes" >&5
4365 echo "${ECHO_T}yes" >&6
4367 echo "$as_me:$LINENO: result: no" >&5
4368 echo "${ECHO_T}no" >&6
4373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4374 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4376 # Check whether --enable-datetime or --disable-datetime was given.
4377 if test "${enable_datetime+set}" = set; then
4378 enableval="$enable_datetime"
4380 if test "$enableval" = yes; then
4381 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4383 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4388 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4389 if test "x$LINE" != x ; then
4390 eval "DEFAULT_$LINE"
4395 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4399 eval "$ac_cv_use_datetime"
4400 if test "$no_cache" != 1; then
4401 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4404 if test "$wxUSE_DATETIME" = yes; then
4405 echo "$as_me:$LINENO: result: yes" >&5
4406 echo "${ECHO_T}yes" >&6
4408 echo "$as_me:$LINENO: result: no" >&5
4409 echo "${ECHO_T}no" >&6
4414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4415 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4417 # Check whether --enable-dialupman or --disable-dialupman was given.
4418 if test "${enable_dialupman+set}" = set; then
4419 enableval="$enable_dialupman"
4421 if test "$enableval" = yes; then
4422 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4424 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4429 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4430 if test "x$LINE" != x ; then
4431 eval "DEFAULT_$LINE"
4436 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4440 eval "$ac_cv_use_dialupman"
4441 if test "$no_cache" != 1; then
4442 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4445 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4446 echo "$as_me:$LINENO: result: yes" >&5
4447 echo "${ECHO_T}yes" >&6
4449 echo "$as_me:$LINENO: result: no" >&5
4450 echo "${ECHO_T}no" >&6
4455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4458 # Check whether --enable-dynlib or --disable-dynlib was given.
4459 if test "${enable_dynlib+set}" = set; then
4460 enableval="$enable_dynlib"
4462 if test "$enableval" = yes; then
4463 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4465 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4470 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4471 if test "x$LINE" != x ; then
4472 eval "DEFAULT_$LINE"
4477 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4481 eval "$ac_cv_use_dynlib"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4486 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4487 echo "$as_me:$LINENO: result: yes" >&5
4488 echo "${ECHO_T}yes" >&6
4490 echo "$as_me:$LINENO: result: no" >&5
4491 echo "${ECHO_T}no" >&6
4496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4499 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4500 if test "${enable_dynamicloader+set}" = set; then
4501 enableval="$enable_dynamicloader"
4503 if test "$enableval" = yes; then
4504 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4506 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4511 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x ; then
4513 eval "DEFAULT_$LINE"
4518 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4522 eval "$ac_cv_use_dynamicloader"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4527 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4528 echo "$as_me:$LINENO: result: yes" >&5
4529 echo "${ECHO_T}yes" >&6
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4538 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4540 # Check whether --enable-exceptions or --disable-exceptions was given.
4541 if test "${enable_exceptions+set}" = set; then
4542 enableval="$enable_exceptions"
4544 if test "$enableval" = yes; then
4545 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
4547 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
4552 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4553 if test "x$LINE" != x ; then
4554 eval "DEFAULT_$LINE"
4559 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
4563 eval "$ac_cv_use_exceptions"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4568 if test "$wxUSE_EXCEPTIONS" = yes; then
4569 echo "$as_me:$LINENO: result: yes" >&5
4570 echo "${ECHO_T}yes" >&6
4572 echo "$as_me:$LINENO: result: no" >&5
4573 echo "${ECHO_T}no" >&6
4578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4579 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4581 # Check whether --enable-ffile or --disable-ffile was given.
4582 if test "${enable_ffile+set}" = set; then
4583 enableval="$enable_ffile"
4585 if test "$enableval" = yes; then
4586 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4588 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4593 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x ; then
4595 eval "DEFAULT_$LINE"
4600 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4604 eval "$ac_cv_use_ffile"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4609 if test "$wxUSE_FFILE" = yes; then
4610 echo "$as_me:$LINENO: result: yes" >&5
4611 echo "${ECHO_T}yes" >&6
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4620 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4622 # Check whether --enable-file or --disable-file was given.
4623 if test "${enable_file+set}" = set; then
4624 enableval="$enable_file"
4626 if test "$enableval" = yes; then
4627 ac_cv_use_file='wxUSE_FILE
=yes'
4629 ac_cv_use_file='wxUSE_FILE
=no
'
4634 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4635 if test "x$LINE" != x ; then
4636 eval "DEFAULT_$LINE"
4641 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4645 eval "$ac_cv_use_file"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4650 if test "$wxUSE_FILE" = yes; then
4651 echo "$as_me:$LINENO: result: yes" >&5
4652 echo "${ECHO_T}yes" >&6
4654 echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6
4660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4663 # Check whether --enable-filesystem or --disable-filesystem was given.
4664 if test "${enable_filesystem+set}" = set; then
4665 enableval="$enable_filesystem"
4667 if test "$enableval" = yes; then
4668 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
4670 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
4675 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x ; then
4677 eval "DEFAULT_$LINE"
4682 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
4686 eval "$ac_cv_use_filesystem"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4691 if test "$wxUSE_FILESYSTEM" = yes; then
4692 echo "$as_me:$LINENO: result: yes" >&5
4693 echo "${ECHO_T}yes" >&6
4695 echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6
4701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4704 # Check whether --enable-fontmap or --disable-fontmap was given.
4705 if test "${enable_fontmap+set}" = set; then
4706 enableval="$enable_fontmap"
4708 if test "$enableval" = yes; then
4709 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4711 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4716 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x ; then
4718 eval "DEFAULT_$LINE"
4723 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4727 eval "$ac_cv_use_fontmap"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4732 if test "$wxUSE_FONTMAP" = yes; then
4733 echo "$as_me:$LINENO: result: yes" >&5
4734 echo "${ECHO_T}yes" >&6
4736 echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6
4742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4745 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4746 if test "${enable_fs_inet+set}" = set; then
4747 enableval="$enable_fs_inet"
4749 if test "$enableval" = yes; then
4750 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
4752 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
4757 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x ; then
4759 eval "DEFAULT_$LINE"
4764 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
4768 eval "$ac_cv_use_fs_inet"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4773 if test "$wxUSE_FS_INET" = yes; then
4774 echo "$as_me:$LINENO: result: yes" >&5
4775 echo "${ECHO_T}yes" >&6
4777 echo "$as_me:$LINENO: result: no" >&5
4778 echo "${ECHO_T}no" >&6
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4786 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4787 if test "${enable_fs_zip+set}" = set; then
4788 enableval="$enable_fs_zip"
4790 if test "$enableval" = yes; then
4791 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
4793 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
4798 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x ; then
4800 eval "DEFAULT_$LINE"
4805 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
4809 eval "$ac_cv_use_fs_zip"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4814 if test "$wxUSE_FS_ZIP" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4827 # Check whether --enable-geometry or --disable-geometry was given.
4828 if test "${enable_geometry+set}" = set; then
4829 enableval="$enable_geometry"
4831 if test "$enableval" = yes; then
4832 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4834 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4839 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x ; then
4841 eval "DEFAULT_$LINE"
4846 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4850 eval "$ac_cv_use_geometry"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4855 if test "$wxUSE_GEOMETRY" = yes; then
4856 echo "$as_me:$LINENO: result: yes" >&5
4857 echo "${ECHO_T}yes" >&6
4859 echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6
4865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4868 # Check whether --enable-log or --disable-log was given.
4869 if test "${enable_log+set}" = set; then
4870 enableval="$enable_log"
4872 if test "$enableval" = yes; then
4873 ac_cv_use_log='wxUSE_LOG
=yes'
4875 ac_cv_use_log='wxUSE_LOG
=no
'
4880 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x ; then
4882 eval "DEFAULT_$LINE"
4887 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4891 eval "$ac_cv_use_log"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4896 if test "$wxUSE_LOG" = yes; then
4897 echo "$as_me:$LINENO: result: yes" >&5
4898 echo "${ECHO_T}yes" >&6
4900 echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6
4906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4907 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4909 # Check whether --enable-longlong or --disable-longlong was given.
4910 if test "${enable_longlong+set}" = set; then
4911 enableval="$enable_longlong"
4913 if test "$enableval" = yes; then
4914 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
4916 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
4921 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x ; then
4923 eval "DEFAULT_$LINE"
4928 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
4932 eval "$ac_cv_use_longlong"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4937 if test "$wxUSE_LONGLONG" = yes; then
4938 echo "$as_me:$LINENO: result: yes" >&5
4939 echo "${ECHO_T}yes" >&6
4941 echo "$as_me:$LINENO: result: no" >&5
4942 echo "${ECHO_T}no" >&6
4947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
4948 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
4950 # Check whether --enable-mimetype or --disable-mimetype was given.
4951 if test "${enable_mimetype+set}" = set; then
4952 enableval="$enable_mimetype"
4954 if test "$enableval" = yes; then
4955 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
4957 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
4962 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4963 if test "x$LINE" != x ; then
4964 eval "DEFAULT_$LINE"
4969 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
4973 eval "$ac_cv_use_mimetype"
4974 if test "$no_cache" != 1; then
4975 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4978 if test "$wxUSE_MIMETYPE" = yes; then
4979 echo "$as_me:$LINENO: result: yes" >&5
4980 echo "${ECHO_T}yes" >&6
4982 echo "$as_me:$LINENO: result: no" >&5
4983 echo "${ECHO_T}no" >&6
4988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4989 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4991 # Check whether --enable-mslu or --disable-mslu was given.
4992 if test "${enable_mslu+set}" = set; then
4993 enableval="$enable_mslu"
4995 if test "$enableval" = yes; then
4996 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4998 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5003 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5004 if test "x$LINE" != x ; then
5005 eval "DEFAULT_$LINE"
5010 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5014 eval "$ac_cv_use_mslu"
5015 if test "$no_cache" != 1; then
5016 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5019 if test "$wxUSE_UNICODE_MSLU" = yes; then
5020 echo "$as_me:$LINENO: result: yes" >&5
5021 echo "${ECHO_T}yes" >&6
5023 echo "$as_me:$LINENO: result: no" >&5
5024 echo "${ECHO_T}no" >&6
5029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5032 # Check whether --enable-snglinst or --disable-snglinst was given.
5033 if test "${enable_snglinst+set}" = set; then
5034 enableval="$enable_snglinst"
5036 if test "$enableval" = yes; then
5037 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5039 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5044 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5045 if test "x$LINE" != x ; then
5046 eval "DEFAULT_$LINE"
5051 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5055 eval "$ac_cv_use_snglinst"
5056 if test "$no_cache" != 1; then
5057 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5060 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5061 echo "$as_me:$LINENO: result: yes" >&5
5062 echo "${ECHO_T}yes" >&6
5064 echo "$as_me:$LINENO: result: no" >&5
5065 echo "${ECHO_T}no" >&6
5070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5073 # Check whether --enable-streams or --disable-streams was given.
5074 if test "${enable_streams+set}" = set; then
5075 enableval="$enable_streams"
5077 if test "$enableval" = yes; then
5078 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5080 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5085 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x ; then
5087 eval "DEFAULT_$LINE"
5092 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5096 eval "$ac_cv_use_streams"
5097 if test "$no_cache" != 1; then
5098 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5101 if test "$wxUSE_STREAMS" = yes; then
5102 echo "$as_me:$LINENO: result: yes" >&5
5103 echo "${ECHO_T}yes" >&6
5105 echo "$as_me:$LINENO: result: no" >&5
5106 echo "${ECHO_T}no" >&6
5111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5112 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5114 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5115 if test "${enable_std_iostreams+set}" = set; then
5116 enableval="$enable_std_iostreams"
5118 if test "$enableval" = yes; then
5119 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5121 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5126 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5127 if test "x$LINE" != x ; then
5128 eval "DEFAULT_$LINE"
5133 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5137 eval "$ac_cv_use_std_iostreams"
5138 if test "$no_cache" != 1; then
5139 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5142 if test "$wxUSE_STD_IOSTREAM" = yes; then
5143 echo "$as_me:$LINENO: result: yes" >&5
5144 echo "${ECHO_T}yes" >&6
5146 echo "$as_me:$LINENO: result: no" >&5
5147 echo "${ECHO_T}no" >&6
5152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5153 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5155 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5156 if test "${enable_stopwatch+set}" = set; then
5157 enableval="$enable_stopwatch"
5159 if test "$enableval" = yes; then
5160 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5162 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5167 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5168 if test "x$LINE" != x ; then
5169 eval "DEFAULT_$LINE"
5174 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5178 eval "$ac_cv_use_stopwatch"
5179 if test "$no_cache" != 1; then
5180 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5183 if test "$wxUSE_STOPWATCH" = yes; then
5184 echo "$as_me:$LINENO: result: yes" >&5
5185 echo "${ECHO_T}yes" >&6
5187 echo "$as_me:$LINENO: result: no" >&5
5188 echo "${ECHO_T}no" >&6
5193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5196 # Check whether --enable-system_options or --disable-system_options was given.
5197 if test "${enable_system_options+set}" = set; then
5198 enableval="$enable_system_options"
5200 if test "$enableval" = yes; then
5201 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5203 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5208 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5209 if test "x$LINE" != x ; then
5210 eval "DEFAULT_$LINE"
5215 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5219 eval "$ac_cv_use_system_options"
5220 if test "$no_cache" != 1; then
5221 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5224 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5225 echo "$as_me:$LINENO: result: yes" >&5
5226 echo "${ECHO_T}yes" >&6
5228 echo "$as_me:$LINENO: result: no" >&5
5229 echo "${ECHO_T}no" >&6
5234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5237 # Check whether --enable-textbuf or --disable-textbuf was given.
5238 if test "${enable_textbuf+set}" = set; then
5239 enableval="$enable_textbuf"
5241 if test "$enableval" = yes; then
5242 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5244 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5249 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5250 if test "x$LINE" != x ; then
5251 eval "DEFAULT_$LINE"
5256 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5260 eval "$ac_cv_use_textbuf"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5265 if test "$wxUSE_TEXTBUFFER" = yes; then
5266 echo "$as_me:$LINENO: result: yes" >&5
5267 echo "${ECHO_T}yes" >&6
5269 echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6
5275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5276 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5278 # Check whether --enable-textfile or --disable-textfile was given.
5279 if test "${enable_textfile+set}" = set; then
5280 enableval="$enable_textfile"
5282 if test "$enableval" = yes; then
5283 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
5285 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
5290 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x ; then
5292 eval "DEFAULT_$LINE"
5297 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
5301 eval "$ac_cv_use_textfile"
5302 if test "$no_cache" != 1; then
5303 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5306 if test "$wxUSE_TEXTFILE" = yes; then
5307 echo "$as_me:$LINENO: result: yes" >&5
5308 echo "${ECHO_T}yes" >&6
5310 echo "$as_me:$LINENO: result: no" >&5
5311 echo "${ECHO_T}no" >&6
5316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5317 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5319 # Check whether --enable-timer or --disable-timer was given.
5320 if test "${enable_timer+set}" = set; then
5321 enableval="$enable_timer"
5323 if test "$enableval" = yes; then
5324 ac_cv_use_timer='wxUSE_TIMER
=yes'
5326 ac_cv_use_timer='wxUSE_TIMER
=no
'
5331 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x ; then
5333 eval "DEFAULT_$LINE"
5338 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
5342 eval "$ac_cv_use_timer"
5343 if test "$no_cache" != 1; then
5344 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5347 if test "$wxUSE_TIMER" = yes; then
5348 echo "$as_me:$LINENO: result: yes" >&5
5349 echo "${ECHO_T}yes" >&6
5351 echo "$as_me:$LINENO: result: no" >&5
5352 echo "${ECHO_T}no" >&6
5357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5358 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5360 # Check whether --enable-unicode or --disable-unicode was given.
5361 if test "${enable_unicode+set}" = set; then
5362 enableval="$enable_unicode"
5364 if test "$enableval" = yes; then
5365 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
5367 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
5372 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5373 if test "x$LINE" != x ; then
5374 eval "DEFAULT_$LINE"
5379 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
5383 eval "$ac_cv_use_unicode"
5384 if test "$no_cache" != 1; then
5385 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5388 if test "$wxUSE_UNICODE" = yes; then
5389 echo "$as_me:$LINENO: result: yes" >&5
5390 echo "${ECHO_T}yes" >&6
5392 echo "$as_me:$LINENO: result: no" >&5
5393 echo "${ECHO_T}no" >&6
5398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
5399 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
5401 # Check whether --enable-wave or --disable-wave was given.
5402 if test "${enable_wave+set}" = set; then
5403 enableval="$enable_wave"
5405 if test "$enableval" = yes; then
5406 ac_cv_use_wave='wxUSE_WAVE
=yes'
5408 ac_cv_use_wave='wxUSE_WAVE
=no
'
5413 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x ; then
5415 eval "DEFAULT_$LINE"
5420 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
5424 eval "$ac_cv_use_wave"
5425 if test "$no_cache" != 1; then
5426 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
5429 if test "$wxUSE_WAVE" = yes; then
5430 echo "$as_me:$LINENO: result: yes" >&5
5431 echo "${ECHO_T}yes" >&6
5433 echo "$as_me:$LINENO: result: no" >&5
5434 echo "${ECHO_T}no" >&6
5439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5440 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5442 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5443 if test "${enable_wxprintfv+set}" = set; then
5444 enableval="$enable_wxprintfv"
5446 if test "$enableval" = yes; then
5447 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
5449 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
5454 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5455 if test "x$LINE" != x ; then
5456 eval "DEFAULT_$LINE"
5461 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5465 eval "$ac_cv_use_wxprintfv"
5466 if test "$no_cache" != 1; then
5467 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5470 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5471 echo "$as_me:$LINENO: result: yes" >&5
5472 echo "${ECHO_T}yes" >&6
5474 echo "$as_me:$LINENO: result: no" >&5
5475 echo "${ECHO_T}no" >&6
5480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5481 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5483 # Check whether --enable-zipstream or --disable-zipstream was given.
5484 if test "${enable_zipstream+set}" = set; then
5485 enableval="$enable_zipstream"
5487 if test "$enableval" = yes; then
5488 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
5490 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
5495 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5496 if test "x$LINE" != x ; then
5497 eval "DEFAULT_$LINE"
5502 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
5506 eval "$ac_cv_use_zipstream"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5511 if test "$wxUSE_ZIPSTREAM" = yes; then
5512 echo "$as_me:$LINENO: result: yes" >&5
5513 echo "${ECHO_T}yes" >&6
5515 echo "$as_me:$LINENO: result: no" >&5
5516 echo "${ECHO_T}no" >&6
5521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5522 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5524 # Check whether --enable-gzstream or --disable-gzstream was given.
5525 if test "${enable_gzstream+set}" = set; then
5526 enableval="$enable_gzstream"
5528 if test "$enableval" = yes; then
5529 ac_cv_use_gzstream='wxUSE_GZSTREAM
=yes'
5531 ac_cv_use_gzstream='wxUSE_GZSTREAM
=no
'
5536 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5537 if test "x$LINE" != x ; then
5538 eval "DEFAULT_$LINE"
5543 ac_cv_use_gzstream='wxUSE_GZSTREAM
='$DEFAULT_wxUSE_GZSTREAM
5547 eval "$ac_cv_use_gzstream"
5548 if test "$no_cache" != 1; then
5549 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5552 if test "$wxUSE_GZSTREAM" = yes; then
5553 echo "$as_me:$LINENO: result: yes" >&5
5554 echo "${ECHO_T}yes" >&6
5556 echo "$as_me:$LINENO: result: no" >&5
5557 echo "${ECHO_T}no" >&6
5563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5564 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5566 # Check whether --enable-url or --disable-url was given.
5567 if test "${enable_url+set}" = set; then
5568 enableval="$enable_url"
5570 if test "$enableval" = yes; then
5571 ac_cv_use_url='wxUSE_URL
=yes'
5573 ac_cv_use_url='wxUSE_URL
=no
'
5578 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5579 if test "x$LINE" != x ; then
5580 eval "DEFAULT_$LINE"
5585 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5589 eval "$ac_cv_use_url"
5590 if test "$no_cache" != 1; then
5591 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5594 if test "$wxUSE_URL" = yes; then
5595 echo "$as_me:$LINENO: result: yes" >&5
5596 echo "${ECHO_T}yes" >&6
5598 echo "$as_me:$LINENO: result: no" >&5
5599 echo "${ECHO_T}no" >&6
5604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5605 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5607 # Check whether --enable-protocol or --disable-protocol was given.
5608 if test "${enable_protocol+set}" = set; then
5609 enableval="$enable_protocol"
5611 if test "$enableval" = yes; then
5612 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5614 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5619 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5620 if test "x$LINE" != x ; then
5621 eval "DEFAULT_$LINE"
5626 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5630 eval "$ac_cv_use_protocol"
5631 if test "$no_cache" != 1; then
5632 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5635 if test "$wxUSE_PROTOCOL" = yes; then
5636 echo "$as_me:$LINENO: result: yes" >&5
5637 echo "${ECHO_T}yes" >&6
5639 echo "$as_me:$LINENO: result: no" >&5
5640 echo "${ECHO_T}no" >&6
5645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5646 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5648 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5649 if test "${enable_protocol_http+set}" = set; then
5650 enableval="$enable_protocol_http"
5652 if test "$enableval" = yes; then
5653 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5655 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5660 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5661 if test "x$LINE" != x ; then
5662 eval "DEFAULT_$LINE"
5667 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5671 eval "$ac_cv_use_protocol_http"
5672 if test "$no_cache" != 1; then
5673 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5676 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5677 echo "$as_me:$LINENO: result: yes" >&5
5678 echo "${ECHO_T}yes" >&6
5680 echo "$as_me:$LINENO: result: no" >&5
5681 echo "${ECHO_T}no" >&6
5686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5687 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5689 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5690 if test "${enable_protocol_ftp+set}" = set; then
5691 enableval="$enable_protocol_ftp"
5693 if test "$enableval" = yes; then
5694 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5696 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5701 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5702 if test "x$LINE" != x ; then
5703 eval "DEFAULT_$LINE"
5708 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5712 eval "$ac_cv_use_protocol_ftp"
5713 if test "$no_cache" != 1; then
5714 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5717 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5718 echo "$as_me:$LINENO: result: yes" >&5
5719 echo "${ECHO_T}yes" >&6
5721 echo "$as_me:$LINENO: result: no" >&5
5722 echo "${ECHO_T}no" >&6
5727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5728 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5730 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5731 if test "${enable_protocol_file+set}" = set; then
5732 enableval="$enable_protocol_file"
5734 if test "$enableval" = yes; then
5735 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5737 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5742 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5743 if test "x$LINE" != x ; then
5744 eval "DEFAULT_$LINE"
5749 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5753 eval "$ac_cv_use_protocol_file"
5754 if test "$no_cache" != 1; then
5755 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5758 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5759 echo "$as_me:$LINENO: result: yes" >&5
5760 echo "${ECHO_T}yes" >&6
5762 echo "$as_me:$LINENO: result: no" >&5
5763 echo "${ECHO_T}no" >&6
5771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5774 # Check whether --enable-threads or --disable-threads was given.
5775 if test "${enable_threads+set}" = set; then
5776 enableval="$enable_threads"
5778 if test "$enableval" = yes; then
5779 ac_cv_use_threads='wxUSE_THREADS
=yes'
5781 ac_cv_use_threads='wxUSE_THREADS
=no
'
5786 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5787 if test "x$LINE" != x ; then
5788 eval "DEFAULT_$LINE"
5793 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5797 eval "$ac_cv_use_threads"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5802 if test "$wxUSE_THREADS" = yes; then
5803 echo "$as_me:$LINENO: result: yes" >&5
5804 echo "${ECHO_T}yes" >&6
5806 echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6
5811 if test "$wxUSE_GUI" = "yes"; then
5816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5817 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5819 # Check whether --enable-docview or --disable-docview was given.
5820 if test "${enable_docview+set}" = set; then
5821 enableval="$enable_docview"
5823 if test "$enableval" = yes; then
5824 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5826 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5831 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5832 if test "x$LINE" != x ; then
5833 eval "DEFAULT_$LINE"
5838 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5842 eval "$ac_cv_use_docview"
5843 if test "$no_cache" != 1; then
5844 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5847 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5848 echo "$as_me:$LINENO: result: yes" >&5
5849 echo "${ECHO_T}yes" >&6
5851 echo "$as_me:$LINENO: result: no" >&5
5852 echo "${ECHO_T}no" >&6
5857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5858 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5860 # Check whether --enable-help or --disable-help was given.
5861 if test "${enable_help+set}" = set; then
5862 enableval="$enable_help"
5864 if test "$enableval" = yes; then
5865 ac_cv_use_help='wxUSE_HELP
=yes'
5867 ac_cv_use_help='wxUSE_HELP
=no
'
5872 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5873 if test "x$LINE" != x ; then
5874 eval "DEFAULT_$LINE"
5879 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5883 eval "$ac_cv_use_help"
5884 if test "$no_cache" != 1; then
5885 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5888 if test "$wxUSE_HELP" = yes; then
5889 echo "$as_me:$LINENO: result: yes" >&5
5890 echo "${ECHO_T}yes" >&6
5892 echo "$as_me:$LINENO: result: no" >&5
5893 echo "${ECHO_T}no" >&6
5898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5899 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5901 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5902 if test "${enable_mshtmlhelp+set}" = set; then
5903 enableval="$enable_mshtmlhelp"
5905 if test "$enableval" = yes; then
5906 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
5908 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
5913 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5914 if test "x$LINE" != x ; then
5915 eval "DEFAULT_$LINE"
5920 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
5924 eval "$ac_cv_use_mshtmlhelp"
5925 if test "$no_cache" != 1; then
5926 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5929 if test "$wxUSE_MS_HTML_HELP" = yes; then
5930 echo "$as_me:$LINENO: result: yes" >&5
5931 echo "${ECHO_T}yes" >&6
5933 echo "$as_me:$LINENO: result: no" >&5
5934 echo "${ECHO_T}no" >&6
5939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5942 # Check whether --enable-html or --disable-html was given.
5943 if test "${enable_html+set}" = set; then
5944 enableval="$enable_html"
5946 if test "$enableval" = yes; then
5947 ac_cv_use_html='wxUSE_HTML
=yes'
5949 ac_cv_use_html='wxUSE_HTML
=no
'
5954 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5955 if test "x$LINE" != x ; then
5956 eval "DEFAULT_$LINE"
5961 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
5965 eval "$ac_cv_use_html"
5966 if test "$no_cache" != 1; then
5967 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5970 if test "$wxUSE_HTML" = yes; then
5971 echo "$as_me:$LINENO: result: yes" >&5
5972 echo "${ECHO_T}yes" >&6
5974 echo "$as_me:$LINENO: result: no" >&5
5975 echo "${ECHO_T}no" >&6
5980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5981 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5983 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5984 if test "${enable_htmlhelp+set}" = set; then
5985 enableval="$enable_htmlhelp"
5987 if test "$enableval" = yes; then
5988 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
5990 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
5995 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5996 if test "x$LINE" != x ; then
5997 eval "DEFAULT_$LINE"
6002 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
6006 eval "$ac_cv_use_htmlhelp"
6007 if test "$no_cache" != 1; then
6008 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6011 if test "$wxUSE_WXHTML_HELP" = yes; then
6012 echo "$as_me:$LINENO: result: yes" >&5
6013 echo "${ECHO_T}yes" >&6
6015 echo "$as_me:$LINENO: result: no" >&5
6016 echo "${ECHO_T}no" >&6
6021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6024 # Check whether --enable-constraints or --disable-constraints was given.
6025 if test "${enable_constraints+set}" = set; then
6026 enableval="$enable_constraints"
6028 if test "$enableval" = yes; then
6029 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
6031 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
6036 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6037 if test "x$LINE" != x ; then
6038 eval "DEFAULT_$LINE"
6043 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6047 eval "$ac_cv_use_constraints"
6048 if test "$no_cache" != 1; then
6049 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6052 if test "$wxUSE_CONSTRAINTS" = yes; then
6053 echo "$as_me:$LINENO: result: yes" >&5
6054 echo "${ECHO_T}yes" >&6
6056 echo "$as_me:$LINENO: result: no" >&5
6057 echo "${ECHO_T}no" >&6
6062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6065 # Check whether --enable-printarch or --disable-printarch was given.
6066 if test "${enable_printarch+set}" = set; then
6067 enableval="$enable_printarch"
6069 if test "$enableval" = yes; then
6070 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6072 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6077 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6078 if test "x$LINE" != x ; then
6079 eval "DEFAULT_$LINE"
6084 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6088 eval "$ac_cv_use_printarch"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6093 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6094 echo "$as_me:$LINENO: result: yes" >&5
6095 echo "${ECHO_T}yes" >&6
6097 echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6
6103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6106 # Check whether --enable-mdi or --disable-mdi was given.
6107 if test "${enable_mdi+set}" = set; then
6108 enableval="$enable_mdi"
6110 if test "$enableval" = yes; then
6111 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
6113 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
6118 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6119 if test "x$LINE" != x ; then
6120 eval "DEFAULT_$LINE"
6125 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6129 eval "$ac_cv_use_mdi"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6134 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6135 echo "$as_me:$LINENO: result: yes" >&5
6136 echo "${ECHO_T}yes" >&6
6138 echo "$as_me:$LINENO: result: no" >&5
6139 echo "${ECHO_T}no" >&6
6144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6145 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6147 # Check whether --enable-loggui or --disable-loggui was given.
6148 if test "${enable_loggui+set}" = set; then
6149 enableval="$enable_loggui"
6151 if test "$enableval" = yes; then
6152 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6154 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6159 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6160 if test "x$LINE" != x ; then
6161 eval "DEFAULT_$LINE"
6166 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6170 eval "$ac_cv_use_loggui"
6171 if test "$no_cache" != 1; then
6172 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6175 if test "$wxUSE_LOGGUI" = yes; then
6176 echo "$as_me:$LINENO: result: yes" >&5
6177 echo "${ECHO_T}yes" >&6
6179 echo "$as_me:$LINENO: result: no" >&5
6180 echo "${ECHO_T}no" >&6
6185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6186 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6188 # Check whether --enable-logwin or --disable-logwin was given.
6189 if test "${enable_logwin+set}" = set; then
6190 enableval="$enable_logwin"
6192 if test "$enableval" = yes; then
6193 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6195 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6200 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x ; then
6202 eval "DEFAULT_$LINE"
6207 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6211 eval "$ac_cv_use_logwin"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6216 if test "$wxUSE_LOGWINDOW" = yes; then
6217 echo "$as_me:$LINENO: result: yes" >&5
6218 echo "${ECHO_T}yes" >&6
6220 echo "$as_me:$LINENO: result: no" >&5
6221 echo "${ECHO_T}no" >&6
6226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6229 # Check whether --enable-logdialog or --disable-logdialog was given.
6230 if test "${enable_logdialog+set}" = set; then
6231 enableval="$enable_logdialog"
6233 if test "$enableval" = yes; then
6234 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6236 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6241 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6242 if test "x$LINE" != x ; then
6243 eval "DEFAULT_$LINE"
6248 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6252 eval "$ac_cv_use_logdialog"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6257 if test "$wxUSE_LOGDIALOG" = yes; then
6258 echo "$as_me:$LINENO: result: yes" >&5
6259 echo "${ECHO_T}yes" >&6
6261 echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6
6268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6269 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6271 # Check whether --enable-postscript or --disable-postscript was given.
6272 if test "${enable_postscript+set}" = set; then
6273 enableval="$enable_postscript"
6275 if test "$enableval" = yes; then
6276 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
6278 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
6283 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6284 if test "x$LINE" != x ; then
6285 eval "DEFAULT_$LINE"
6290 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
6294 eval "$ac_cv_use_postscript"
6295 if test "$no_cache" != 1; then
6296 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6299 if test "$wxUSE_POSTSCRIPT" = yes; then
6300 echo "$as_me:$LINENO: result: yes" >&5
6301 echo "${ECHO_T}yes" >&6
6303 echo "$as_me:$LINENO: result: no" >&5
6304 echo "${ECHO_T}no" >&6
6312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6313 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6315 # Check whether --enable-prologio or --disable-prologio was given.
6316 if test "${enable_prologio+set}" = set; then
6317 enableval="$enable_prologio"
6319 if test "$enableval" = yes; then
6320 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
6322 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
6327 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6328 if test "x$LINE" != x ; then
6329 eval "DEFAULT_$LINE"
6334 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
6338 eval "$ac_cv_use_prologio"
6339 if test "$no_cache" != 1; then
6340 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6343 if test "$wxUSE_PROLOGIO" = yes; then
6344 echo "$as_me:$LINENO: result: yes" >&5
6345 echo "${ECHO_T}yes" >&6
6347 echo "$as_me:$LINENO: result: no" >&5
6348 echo "${ECHO_T}no" >&6
6353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6354 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6356 # Check whether --enable-resources or --disable-resources was given.
6357 if test "${enable_resources+set}" = set; then
6358 enableval="$enable_resources"
6360 if test "$enableval" = yes; then
6361 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
6363 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
6368 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6369 if test "x$LINE" != x ; then
6370 eval "DEFAULT_$LINE"
6375 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
6379 eval "$ac_cv_use_resources"
6380 if test "$no_cache" != 1; then
6381 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6384 if test "$wxUSE_RESOURCES" = yes; then
6385 echo "$as_me:$LINENO: result: yes" >&5
6386 echo "${ECHO_T}yes" >&6
6388 echo "$as_me:$LINENO: result: no" >&5
6389 echo "${ECHO_T}no" >&6
6396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6397 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6399 # Check whether --enable-clipboard or --disable-clipboard was given.
6400 if test "${enable_clipboard+set}" = set; then
6401 enableval="$enable_clipboard"
6403 if test "$enableval" = yes; then
6404 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6406 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6411 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6412 if test "x$LINE" != x ; then
6413 eval "DEFAULT_$LINE"
6418 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6422 eval "$ac_cv_use_clipboard"
6423 if test "$no_cache" != 1; then
6424 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6427 if test "$wxUSE_CLIPBOARD" = yes; then
6428 echo "$as_me:$LINENO: result: yes" >&5
6429 echo "${ECHO_T}yes" >&6
6431 echo "$as_me:$LINENO: result: no" >&5
6432 echo "${ECHO_T}no" >&6
6437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6438 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6440 # Check whether --enable-dnd or --disable-dnd was given.
6441 if test "${enable_dnd+set}" = set; then
6442 enableval="$enable_dnd"
6444 if test "$enableval" = yes; then
6445 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6447 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6452 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6453 if test "x$LINE" != x ; then
6454 eval "DEFAULT_$LINE"
6459 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6463 eval "$ac_cv_use_dnd"
6464 if test "$no_cache" != 1; then
6465 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6468 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6469 echo "$as_me:$LINENO: result: yes" >&5
6470 echo "${ECHO_T}yes" >&6
6472 echo "$as_me:$LINENO: result: no" >&5
6473 echo "${ECHO_T}no" >&6
6478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6479 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6481 # Check whether --enable-metafile or --disable-metafile was given.
6482 if test "${enable_metafile+set}" = set; then
6483 enableval="$enable_metafile"
6485 if test "$enableval" = yes; then
6486 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6488 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6493 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6494 if test "x$LINE" != x ; then
6495 eval "DEFAULT_$LINE"
6500 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6504 eval "$ac_cv_use_metafile"
6505 if test "$no_cache" != 1; then
6506 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6509 if test "$wxUSE_METAFILE" = yes; then
6510 echo "$as_me:$LINENO: result: yes" >&5
6511 echo "${ECHO_T}yes" >&6
6513 echo "$as_me:$LINENO: result: no" >&5
6514 echo "${ECHO_T}no" >&6
6522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6523 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6525 # Check whether --enable-controls or --disable-controls was given.
6526 if test "${enable_controls+set}" = set; then
6527 enableval="$enable_controls"
6529 if test "$enableval" = yes; then
6530 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6532 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6537 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6538 if test "x$LINE" != x ; then
6539 eval "DEFAULT_$LINE"
6544 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6548 eval "$ac_cv_use_controls"
6549 if test "$no_cache" != 1; then
6550 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6553 if test "$wxUSE_CONTROLS" = yes; then
6554 echo "$as_me:$LINENO: result: yes" >&5
6555 echo "${ECHO_T}yes" >&6
6557 echo "$as_me:$LINENO: result: no" >&5
6558 echo "${ECHO_T}no" >&6
6562 if test "$wxUSE_CONTROLS" = "yes"; then
6563 DEFAULT_wxUSE_ACCEL=yes
6564 DEFAULT_wxUSE_BMPBUTTON=yes
6565 DEFAULT_wxUSE_BUTTON=yes
6566 DEFAULT_wxUSE_CALCTRL=no
6567 DEFAULT_wxUSE_CARET=yes
6568 DEFAULT_wxUSE_COMBOBOX=yes
6569 DEFAULT_wxUSE_CHECKBOX=yes
6570 DEFAULT_wxUSE_CHECKLISTBOX=yes
6571 DEFAULT_wxUSE_CHOICE=yes
6572 DEFAULT_wxUSE_GAUGE=yes
6573 DEFAULT_wxUSE_GRID=yes
6574 DEFAULT_wxUSE_IMAGLIST=yes
6575 DEFAULT_wxUSE_LISTBOOK=yes
6576 DEFAULT_wxUSE_LISTBOX=yes
6577 DEFAULT_wxUSE_LISTCTRL=yes
6578 DEFAULT_wxUSE_NOTEBOOK=yes
6579 DEFAULT_wxUSE_RADIOBOX=yes
6580 DEFAULT_wxUSE_RADIOBTN=yes
6581 DEFAULT_wxUSE_SASH=yes
6582 DEFAULT_wxUSE_SCROLLBAR=yes
6583 DEFAULT_wxUSE_SLIDER=yes
6584 DEFAULT_wxUSE_SPINBTN=yes
6585 DEFAULT_wxUSE_SPINCTRL=yes
6586 DEFAULT_wxUSE_SPLITTER=yes
6587 DEFAULT_wxUSE_STATBMP=yes
6588 DEFAULT_wxUSE_STATBOX=yes
6589 DEFAULT_wxUSE_STATLINE=yes
6590 DEFAULT_wxUSE_STATUSBAR=yes
6591 DEFAULT_wxUSE_TAB_DIALOG=yes
6592 DEFAULT_wxUSE_TOGGLEBTN=yes
6593 DEFAULT_wxUSE_TOOLBAR=yes
6594 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6595 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6596 DEFAULT_wxUSE_TOOLTIPS=yes
6597 DEFAULT_wxUSE_TREECTRL=yes
6598 DEFAULT_wxUSE_POPUPWIN=yes
6599 DEFAULT_wxUSE_TIPWINDOW=yes
6600 elif test "$wxUSE_CONTROLS" = "no"; then
6601 DEFAULT_wxUSE_ACCEL=no
6602 DEFAULT_wxUSE_BMPBUTTON=no
6603 DEFAULT_wxUSE_BUTTON=no
6604 DEFAULT_wxUSE_CALCTRL=no
6605 DEFAULT_wxUSE_CARET=no
6606 DEFAULT_wxUSE_COMBOBOX=no
6607 DEFAULT_wxUSE_CHECKBOX=no
6608 DEFAULT_wxUSE_CHECKLISTBOX=no
6609 DEFAULT_wxUSE_CHOICE=no
6610 DEFAULT_wxUSE_GAUGE=no
6611 DEFAULT_wxUSE_GRID=no
6612 DEFAULT_wxUSE_IMAGLIST=no
6613 DEFAULT_wxUSE_LISTBOOK=no
6614 DEFAULT_wxUSE_LISTBOX=no
6615 DEFAULT_wxUSE_LISTCTRL=no
6616 DEFAULT_wxUSE_NOTEBOOK=no
6617 DEFAULT_wxUSE_RADIOBOX=no
6618 DEFAULT_wxUSE_RADIOBTN=no
6619 DEFAULT_wxUSE_SASH=no
6620 DEFAULT_wxUSE_SCROLLBAR=no
6621 DEFAULT_wxUSE_SLIDER=no
6622 DEFAULT_wxUSE_SPINBTN=no
6623 DEFAULT_wxUSE_SPINCTRL=no
6624 DEFAULT_wxUSE_SPLITTER=no
6625 DEFAULT_wxUSE_STATBMP=no
6626 DEFAULT_wxUSE_STATBOX=no
6627 DEFAULT_wxUSE_STATLINE=no
6628 DEFAULT_wxUSE_STATUSBAR=no
6629 DEFAULT_wxUSE_TAB_DIALOG=no
6630 DEFAULT_wxUSE_TOGGLEBTN=no
6631 DEFAULT_wxUSE_TOOLBAR=no
6632 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6633 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6634 DEFAULT_wxUSE_TOOLTIPS=no
6635 DEFAULT_wxUSE_TREECTRL=no
6636 DEFAULT_wxUSE_POPUPWIN=no
6637 DEFAULT_wxUSE_TIPWINDOW=no
6640 ## FIXME: This is a blatant hack
6641 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6642 wxUSE_PRINTING_ARCHITECTURE=no
6643 wxUSE_DRAG_AND_DROP=no
6644 # Generic notebook requires tab dialog
6645 DEFAULT_wxUSE_TABDIALOG=yes
6646 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6647 DEFAULT_wxUSE_SCROLLBAR=no
6648 DEFAULT_wxUSE_TOOLTIPS=no
6649 DEFAULT_wxUSE_DRAGIMAGE=no
6654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6655 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6657 # Check whether --enable-accel or --disable-accel was given.
6658 if test "${enable_accel+set}" = set; then
6659 enableval="$enable_accel"
6661 if test "$enableval" = yes; then
6662 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6664 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6669 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x ; then
6671 eval "DEFAULT_$LINE"
6676 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6680 eval "$ac_cv_use_accel"
6681 if test "$no_cache" != 1; then
6682 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6685 if test "$wxUSE_ACCEL" = yes; then
6686 echo "$as_me:$LINENO: result: yes" >&5
6687 echo "${ECHO_T}yes" >&6
6689 echo "$as_me:$LINENO: result: no" >&5
6690 echo "${ECHO_T}no" >&6
6695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6696 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6698 # Check whether --enable-button or --disable-button was given.
6699 if test "${enable_button+set}" = set; then
6700 enableval="$enable_button"
6702 if test "$enableval" = yes; then
6703 ac_cv_use_button='wxUSE_BUTTON
=yes'
6705 ac_cv_use_button='wxUSE_BUTTON
=no
'
6710 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6711 if test "x$LINE" != x ; then
6712 eval "DEFAULT_$LINE"
6717 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6721 eval "$ac_cv_use_button"
6722 if test "$no_cache" != 1; then
6723 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6726 if test "$wxUSE_BUTTON" = yes; then
6727 echo "$as_me:$LINENO: result: yes" >&5
6728 echo "${ECHO_T}yes" >&6
6730 echo "$as_me:$LINENO: result: no" >&5
6731 echo "${ECHO_T}no" >&6
6736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6737 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6739 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6740 if test "${enable_bmpbutton+set}" = set; then
6741 enableval="$enable_bmpbutton"
6743 if test "$enableval" = yes; then
6744 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6746 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6751 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6752 if test "x$LINE" != x ; then
6753 eval "DEFAULT_$LINE"
6758 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6762 eval "$ac_cv_use_bmpbutton"
6763 if test "$no_cache" != 1; then
6764 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6767 if test "$wxUSE_BMPBUTTON" = yes; then
6768 echo "$as_me:$LINENO: result: yes" >&5
6769 echo "${ECHO_T}yes" >&6
6771 echo "$as_me:$LINENO: result: no" >&5
6772 echo "${ECHO_T}no" >&6
6777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6778 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6780 # Check whether --enable-calendar or --disable-calendar was given.
6781 if test "${enable_calendar+set}" = set; then
6782 enableval="$enable_calendar"
6784 if test "$enableval" = yes; then
6785 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6787 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6792 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6793 if test "x$LINE" != x ; then
6794 eval "DEFAULT_$LINE"
6799 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6803 eval "$ac_cv_use_calendar"
6804 if test "$no_cache" != 1; then
6805 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6808 if test "$wxUSE_CALCTRL" = yes; then
6809 echo "$as_me:$LINENO: result: yes" >&5
6810 echo "${ECHO_T}yes" >&6
6812 echo "$as_me:$LINENO: result: no" >&5
6813 echo "${ECHO_T}no" >&6
6818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6821 # Check whether --enable-caret or --disable-caret was given.
6822 if test "${enable_caret+set}" = set; then
6823 enableval="$enable_caret"
6825 if test "$enableval" = yes; then
6826 ac_cv_use_caret='wxUSE_CARET
=yes'
6828 ac_cv_use_caret='wxUSE_CARET
=no
'
6833 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x ; then
6835 eval "DEFAULT_$LINE"
6840 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6844 eval "$ac_cv_use_caret"
6845 if test "$no_cache" != 1; then
6846 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6849 if test "$wxUSE_CARET" = yes; then
6850 echo "$as_me:$LINENO: result: yes" >&5
6851 echo "${ECHO_T}yes" >&6
6853 echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6
6859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6862 # Check whether --enable-checkbox or --disable-checkbox was given.
6863 if test "${enable_checkbox+set}" = set; then
6864 enableval="$enable_checkbox"
6866 if test "$enableval" = yes; then
6867 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6869 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6874 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x ; then
6876 eval "DEFAULT_$LINE"
6881 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6885 eval "$ac_cv_use_checkbox"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6890 if test "$wxUSE_CHECKBOX" = yes; then
6891 echo "$as_me:$LINENO: result: yes" >&5
6892 echo "${ECHO_T}yes" >&6
6894 echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6
6900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6903 # Check whether --enable-checklst or --disable-checklst was given.
6904 if test "${enable_checklst+set}" = set; then
6905 enableval="$enable_checklst"
6907 if test "$enableval" = yes; then
6908 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
6910 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
6915 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x ; then
6917 eval "DEFAULT_$LINE"
6922 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
6926 eval "$ac_cv_use_checklst"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6931 if test "$wxUSE_CHECKLST" = yes; then
6932 echo "$as_me:$LINENO: result: yes" >&5
6933 echo "${ECHO_T}yes" >&6
6935 echo "$as_me:$LINENO: result: no" >&5
6936 echo "${ECHO_T}no" >&6
6941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6942 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6944 # Check whether --enable-choice or --disable-choice was given.
6945 if test "${enable_choice+set}" = set; then
6946 enableval="$enable_choice"
6948 if test "$enableval" = yes; then
6949 ac_cv_use_choice='wxUSE_CHOICE
=yes'
6951 ac_cv_use_choice='wxUSE_CHOICE
=no
'
6956 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6957 if test "x$LINE" != x ; then
6958 eval "DEFAULT_$LINE"
6963 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
6967 eval "$ac_cv_use_choice"
6968 if test "$no_cache" != 1; then
6969 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6972 if test "$wxUSE_CHOICE" = yes; then
6973 echo "$as_me:$LINENO: result: yes" >&5
6974 echo "${ECHO_T}yes" >&6
6976 echo "$as_me:$LINENO: result: no" >&5
6977 echo "${ECHO_T}no" >&6
6982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6985 # Check whether --enable-combobox or --disable-combobox was given.
6986 if test "${enable_combobox+set}" = set; then
6987 enableval="$enable_combobox"
6989 if test "$enableval" = yes; then
6990 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
6992 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
6997 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6998 if test "x$LINE" != x ; then
6999 eval "DEFAULT_$LINE"
7004 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7008 eval "$ac_cv_use_combobox"
7009 if test "$no_cache" != 1; then
7010 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7013 if test "$wxUSE_COMBOBOX" = yes; then
7014 echo "$as_me:$LINENO: result: yes" >&5
7015 echo "${ECHO_T}yes" >&6
7017 echo "$as_me:$LINENO: result: no" >&5
7018 echo "${ECHO_T}no" >&6
7023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7024 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7026 # Check whether --enable-display or --disable-display was given.
7027 if test "${enable_display+set}" = set; then
7028 enableval="$enable_display"
7030 if test "$enableval" = yes; then
7031 ac_cv_use_display='wxUSE_DISPLAY
=yes'
7033 ac_cv_use_display='wxUSE_DISPLAY
=no
'
7038 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7039 if test "x$LINE" != x ; then
7040 eval "DEFAULT_$LINE"
7045 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
7049 eval "$ac_cv_use_display"
7050 if test "$no_cache" != 1; then
7051 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7054 if test "$wxUSE_DISPLAY" = yes; then
7055 echo "$as_me:$LINENO: result: yes" >&5
7056 echo "${ECHO_T}yes" >&6
7058 echo "$as_me:$LINENO: result: no" >&5
7059 echo "${ECHO_T}no" >&6
7064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7065 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7067 # Check whether --enable-gauge or --disable-gauge was given.
7068 if test "${enable_gauge+set}" = set; then
7069 enableval="$enable_gauge"
7071 if test "$enableval" = yes; then
7072 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7074 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7079 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7080 if test "x$LINE" != x ; then
7081 eval "DEFAULT_$LINE"
7086 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7090 eval "$ac_cv_use_gauge"
7091 if test "$no_cache" != 1; then
7092 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7095 if test "$wxUSE_GAUGE" = yes; then
7096 echo "$as_me:$LINENO: result: yes" >&5
7097 echo "${ECHO_T}yes" >&6
7099 echo "$as_me:$LINENO: result: no" >&5
7100 echo "${ECHO_T}no" >&6
7105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7106 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7108 # Check whether --enable-grid or --disable-grid was given.
7109 if test "${enable_grid+set}" = set; then
7110 enableval="$enable_grid"
7112 if test "$enableval" = yes; then
7113 ac_cv_use_grid='wxUSE_GRID
=yes'
7115 ac_cv_use_grid='wxUSE_GRID
=no
'
7120 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7121 if test "x$LINE" != x ; then
7122 eval "DEFAULT_$LINE"
7127 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7131 eval "$ac_cv_use_grid"
7132 if test "$no_cache" != 1; then
7133 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7136 if test "$wxUSE_GRID" = yes; then
7137 echo "$as_me:$LINENO: result: yes" >&5
7138 echo "${ECHO_T}yes" >&6
7140 echo "$as_me:$LINENO: result: no" >&5
7141 echo "${ECHO_T}no" >&6
7146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7147 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7149 # Check whether --enable-imaglist or --disable-imaglist was given.
7150 if test "${enable_imaglist+set}" = set; then
7151 enableval="$enable_imaglist"
7153 if test "$enableval" = yes; then
7154 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7156 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7161 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7162 if test "x$LINE" != x ; then
7163 eval "DEFAULT_$LINE"
7168 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7172 eval "$ac_cv_use_imaglist"
7173 if test "$no_cache" != 1; then
7174 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7177 if test "$wxUSE_IMAGLIST" = yes; then
7178 echo "$as_me:$LINENO: result: yes" >&5
7179 echo "${ECHO_T}yes" >&6
7181 echo "$as_me:$LINENO: result: no" >&5
7182 echo "${ECHO_T}no" >&6
7187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7190 # Check whether --enable-listbook or --disable-listbook was given.
7191 if test "${enable_listbook+set}" = set; then
7192 enableval="$enable_listbook"
7194 if test "$enableval" = yes; then
7195 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
7197 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
7202 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7203 if test "x$LINE" != x ; then
7204 eval "DEFAULT_$LINE"
7209 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
7213 eval "$ac_cv_use_listbook"
7214 if test "$no_cache" != 1; then
7215 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7218 if test "$wxUSE_LISTBOOK" = yes; then
7219 echo "$as_me:$LINENO: result: yes" >&5
7220 echo "${ECHO_T}yes" >&6
7222 echo "$as_me:$LINENO: result: no" >&5
7223 echo "${ECHO_T}no" >&6
7228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7229 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7231 # Check whether --enable-listbox or --disable-listbox was given.
7232 if test "${enable_listbox+set}" = set; then
7233 enableval="$enable_listbox"
7235 if test "$enableval" = yes; then
7236 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7238 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7243 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7244 if test "x$LINE" != x ; then
7245 eval "DEFAULT_$LINE"
7250 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7254 eval "$ac_cv_use_listbox"
7255 if test "$no_cache" != 1; then
7256 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7259 if test "$wxUSE_LISTBOX" = yes; then
7260 echo "$as_me:$LINENO: result: yes" >&5
7261 echo "${ECHO_T}yes" >&6
7263 echo "$as_me:$LINENO: result: no" >&5
7264 echo "${ECHO_T}no" >&6
7269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7272 # Check whether --enable-listctrl or --disable-listctrl was given.
7273 if test "${enable_listctrl+set}" = set; then
7274 enableval="$enable_listctrl"
7276 if test "$enableval" = yes; then
7277 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7279 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7284 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7285 if test "x$LINE" != x ; then
7286 eval "DEFAULT_$LINE"
7291 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7295 eval "$ac_cv_use_listctrl"
7296 if test "$no_cache" != 1; then
7297 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7300 if test "$wxUSE_LISTCTRL" = yes; then
7301 echo "$as_me:$LINENO: result: yes" >&5
7302 echo "${ECHO_T}yes" >&6
7304 echo "$as_me:$LINENO: result: no" >&5
7305 echo "${ECHO_T}no" >&6
7310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7313 # Check whether --enable-notebook or --disable-notebook was given.
7314 if test "${enable_notebook+set}" = set; then
7315 enableval="$enable_notebook"
7317 if test "$enableval" = yes; then
7318 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7320 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7325 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7326 if test "x$LINE" != x ; then
7327 eval "DEFAULT_$LINE"
7332 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7336 eval "$ac_cv_use_notebook"
7337 if test "$no_cache" != 1; then
7338 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7341 if test "$wxUSE_NOTEBOOK" = yes; then
7342 echo "$as_me:$LINENO: result: yes" >&5
7343 echo "${ECHO_T}yes" >&6
7345 echo "$as_me:$LINENO: result: no" >&5
7346 echo "${ECHO_T}no" >&6
7351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7354 # Check whether --enable-radiobox or --disable-radiobox was given.
7355 if test "${enable_radiobox+set}" = set; then
7356 enableval="$enable_radiobox"
7358 if test "$enableval" = yes; then
7359 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7361 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7366 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7367 if test "x$LINE" != x ; then
7368 eval "DEFAULT_$LINE"
7373 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7377 eval "$ac_cv_use_radiobox"
7378 if test "$no_cache" != 1; then
7379 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7382 if test "$wxUSE_RADIOBOX" = yes; then
7383 echo "$as_me:$LINENO: result: yes" >&5
7384 echo "${ECHO_T}yes" >&6
7386 echo "$as_me:$LINENO: result: no" >&5
7387 echo "${ECHO_T}no" >&6
7392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7393 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7395 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7396 if test "${enable_radiobtn+set}" = set; then
7397 enableval="$enable_radiobtn"
7399 if test "$enableval" = yes; then
7400 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7402 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7407 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7408 if test "x$LINE" != x ; then
7409 eval "DEFAULT_$LINE"
7414 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7418 eval "$ac_cv_use_radiobtn"
7419 if test "$no_cache" != 1; then
7420 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7423 if test "$wxUSE_RADIOBTN" = yes; then
7424 echo "$as_me:$LINENO: result: yes" >&5
7425 echo "${ECHO_T}yes" >&6
7427 echo "$as_me:$LINENO: result: no" >&5
7428 echo "${ECHO_T}no" >&6
7433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7434 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7436 # Check whether --enable-sash or --disable-sash was given.
7437 if test "${enable_sash+set}" = set; then
7438 enableval="$enable_sash"
7440 if test "$enableval" = yes; then
7441 ac_cv_use_sash='wxUSE_SASH
=yes'
7443 ac_cv_use_sash='wxUSE_SASH
=no
'
7448 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7449 if test "x$LINE" != x ; then
7450 eval "DEFAULT_$LINE"
7455 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7459 eval "$ac_cv_use_sash"
7460 if test "$no_cache" != 1; then
7461 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7464 if test "$wxUSE_SASH" = yes; then
7465 echo "$as_me:$LINENO: result: yes" >&5
7466 echo "${ECHO_T}yes" >&6
7468 echo "$as_me:$LINENO: result: no" >&5
7469 echo "${ECHO_T}no" >&6
7474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7475 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7477 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7478 if test "${enable_scrollbar+set}" = set; then
7479 enableval="$enable_scrollbar"
7481 if test "$enableval" = yes; then
7482 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7484 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7489 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x ; then
7491 eval "DEFAULT_$LINE"
7496 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7500 eval "$ac_cv_use_scrollbar"
7501 if test "$no_cache" != 1; then
7502 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7505 if test "$wxUSE_SCROLLBAR" = yes; then
7506 echo "$as_me:$LINENO: result: yes" >&5
7507 echo "${ECHO_T}yes" >&6
7509 echo "$as_me:$LINENO: result: no" >&5
7510 echo "${ECHO_T}no" >&6
7515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7516 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7518 # Check whether --enable-slider or --disable-slider was given.
7519 if test "${enable_slider+set}" = set; then
7520 enableval="$enable_slider"
7522 if test "$enableval" = yes; then
7523 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7525 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7530 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7531 if test "x$LINE" != x ; then
7532 eval "DEFAULT_$LINE"
7537 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7541 eval "$ac_cv_use_slider"
7542 if test "$no_cache" != 1; then
7543 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7546 if test "$wxUSE_SLIDER" = yes; then
7547 echo "$as_me:$LINENO: result: yes" >&5
7548 echo "${ECHO_T}yes" >&6
7550 echo "$as_me:$LINENO: result: no" >&5
7551 echo "${ECHO_T}no" >&6
7556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7557 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7559 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7560 if test "${enable_spinbtn+set}" = set; then
7561 enableval="$enable_spinbtn"
7563 if test "$enableval" = yes; then
7564 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7566 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7571 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7572 if test "x$LINE" != x ; then
7573 eval "DEFAULT_$LINE"
7578 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7582 eval "$ac_cv_use_spinbtn"
7583 if test "$no_cache" != 1; then
7584 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7587 if test "$wxUSE_SPINBTN" = yes; then
7588 echo "$as_me:$LINENO: result: yes" >&5
7589 echo "${ECHO_T}yes" >&6
7591 echo "$as_me:$LINENO: result: no" >&5
7592 echo "${ECHO_T}no" >&6
7597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7598 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7600 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7601 if test "${enable_spinctrl+set}" = set; then
7602 enableval="$enable_spinctrl"
7604 if test "$enableval" = yes; then
7605 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7607 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7612 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7613 if test "x$LINE" != x ; then
7614 eval "DEFAULT_$LINE"
7619 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7623 eval "$ac_cv_use_spinctrl"
7624 if test "$no_cache" != 1; then
7625 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7628 if test "$wxUSE_SPINCTRL" = yes; then
7629 echo "$as_me:$LINENO: result: yes" >&5
7630 echo "${ECHO_T}yes" >&6
7632 echo "$as_me:$LINENO: result: no" >&5
7633 echo "${ECHO_T}no" >&6
7638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7639 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7641 # Check whether --enable-splitter or --disable-splitter was given.
7642 if test "${enable_splitter+set}" = set; then
7643 enableval="$enable_splitter"
7645 if test "$enableval" = yes; then
7646 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7648 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7653 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7654 if test "x$LINE" != x ; then
7655 eval "DEFAULT_$LINE"
7660 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7664 eval "$ac_cv_use_splitter"
7665 if test "$no_cache" != 1; then
7666 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7669 if test "$wxUSE_SPLITTER" = yes; then
7670 echo "$as_me:$LINENO: result: yes" >&5
7671 echo "${ECHO_T}yes" >&6
7673 echo "$as_me:$LINENO: result: no" >&5
7674 echo "${ECHO_T}no" >&6
7679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7680 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7682 # Check whether --enable-statbmp or --disable-statbmp was given.
7683 if test "${enable_statbmp+set}" = set; then
7684 enableval="$enable_statbmp"
7686 if test "$enableval" = yes; then
7687 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7689 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7694 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7695 if test "x$LINE" != x ; then
7696 eval "DEFAULT_$LINE"
7701 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7705 eval "$ac_cv_use_statbmp"
7706 if test "$no_cache" != 1; then
7707 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7710 if test "$wxUSE_STATBMP" = yes; then
7711 echo "$as_me:$LINENO: result: yes" >&5
7712 echo "${ECHO_T}yes" >&6
7714 echo "$as_me:$LINENO: result: no" >&5
7715 echo "${ECHO_T}no" >&6
7720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7721 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7723 # Check whether --enable-statbox or --disable-statbox was given.
7724 if test "${enable_statbox+set}" = set; then
7725 enableval="$enable_statbox"
7727 if test "$enableval" = yes; then
7728 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7730 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7735 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7736 if test "x$LINE" != x ; then
7737 eval "DEFAULT_$LINE"
7742 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7746 eval "$ac_cv_use_statbox"
7747 if test "$no_cache" != 1; then
7748 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7751 if test "$wxUSE_STATBOX" = yes; then
7752 echo "$as_me:$LINENO: result: yes" >&5
7753 echo "${ECHO_T}yes" >&6
7755 echo "$as_me:$LINENO: result: no" >&5
7756 echo "${ECHO_T}no" >&6
7761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7762 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7764 # Check whether --enable-statline or --disable-statline was given.
7765 if test "${enable_statline+set}" = set; then
7766 enableval="$enable_statline"
7768 if test "$enableval" = yes; then
7769 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7771 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7776 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7777 if test "x$LINE" != x ; then
7778 eval "DEFAULT_$LINE"
7783 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7787 eval "$ac_cv_use_statline"
7788 if test "$no_cache" != 1; then
7789 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7792 if test "$wxUSE_STATLINE" = yes; then
7793 echo "$as_me:$LINENO: result: yes" >&5
7794 echo "${ECHO_T}yes" >&6
7796 echo "$as_me:$LINENO: result: no" >&5
7797 echo "${ECHO_T}no" >&6
7802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7803 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7805 # Check whether --enable-stattext or --disable-stattext was given.
7806 if test "${enable_stattext+set}" = set; then
7807 enableval="$enable_stattext"
7809 if test "$enableval" = yes; then
7810 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7812 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7817 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7818 if test "x$LINE" != x ; then
7819 eval "DEFAULT_$LINE"
7824 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7828 eval "$ac_cv_use_stattext"
7829 if test "$no_cache" != 1; then
7830 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7833 if test "$wxUSE_STATTEXT" = yes; then
7834 echo "$as_me:$LINENO: result: yes" >&5
7835 echo "${ECHO_T}yes" >&6
7837 echo "$as_me:$LINENO: result: no" >&5
7838 echo "${ECHO_T}no" >&6
7843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7844 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7846 # Check whether --enable-statusbar or --disable-statusbar was given.
7847 if test "${enable_statusbar+set}" = set; then
7848 enableval="$enable_statusbar"
7850 if test "$enableval" = yes; then
7851 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7853 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7858 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7859 if test "x$LINE" != x ; then
7860 eval "DEFAULT_$LINE"
7865 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7869 eval "$ac_cv_use_statusbar"
7870 if test "$no_cache" != 1; then
7871 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7874 if test "$wxUSE_STATUSBAR" = yes; then
7875 echo "$as_me:$LINENO: result: yes" >&5
7876 echo "${ECHO_T}yes" >&6
7878 echo "$as_me:$LINENO: result: no" >&5
7879 echo "${ECHO_T}no" >&6
7884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7885 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7887 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7888 if test "${enable_tabdialog+set}" = set; then
7889 enableval="$enable_tabdialog"
7891 if test "$enableval" = yes; then
7892 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7894 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7899 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7900 if test "x$LINE" != x ; then
7901 eval "DEFAULT_$LINE"
7906 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
7910 eval "$ac_cv_use_tabdialog"
7911 if test "$no_cache" != 1; then
7912 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7915 if test "$wxUSE_TABDIALOG" = yes; then
7916 echo "$as_me:$LINENO: result: yes" >&5
7917 echo "${ECHO_T}yes" >&6
7919 echo "$as_me:$LINENO: result: no" >&5
7920 echo "${ECHO_T}no" >&6
7925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7926 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7928 # Check whether --enable-textctrl or --disable-textctrl was given.
7929 if test "${enable_textctrl+set}" = set; then
7930 enableval="$enable_textctrl"
7932 if test "$enableval" = yes; then
7933 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
7935 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
7940 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7941 if test "x$LINE" != x ; then
7942 eval "DEFAULT_$LINE"
7947 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
7951 eval "$ac_cv_use_textctrl"
7952 if test "$no_cache" != 1; then
7953 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7956 if test "$wxUSE_TEXTCTRL" = yes; then
7957 echo "$as_me:$LINENO: result: yes" >&5
7958 echo "${ECHO_T}yes" >&6
7960 echo "$as_me:$LINENO: result: no" >&5
7961 echo "${ECHO_T}no" >&6
7966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7967 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7969 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7970 if test "${enable_togglebtn+set}" = set; then
7971 enableval="$enable_togglebtn"
7973 if test "$enableval" = yes; then
7974 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
7976 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
7981 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7982 if test "x$LINE" != x ; then
7983 eval "DEFAULT_$LINE"
7988 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
7992 eval "$ac_cv_use_togglebtn"
7993 if test "$no_cache" != 1; then
7994 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7997 if test "$wxUSE_TOGGLEBTN" = yes; then
7998 echo "$as_me:$LINENO: result: yes" >&5
7999 echo "${ECHO_T}yes" >&6
8001 echo "$as_me:$LINENO: result: no" >&5
8002 echo "${ECHO_T}no" >&6
8007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8008 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8010 # Check whether --enable-toolbar or --disable-toolbar was given.
8011 if test "${enable_toolbar+set}" = set; then
8012 enableval="$enable_toolbar"
8014 if test "$enableval" = yes; then
8015 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
8017 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
8022 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8023 if test "x$LINE" != x ; then
8024 eval "DEFAULT_$LINE"
8029 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
8033 eval "$ac_cv_use_toolbar"
8034 if test "$no_cache" != 1; then
8035 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8038 if test "$wxUSE_TOOLBAR" = yes; then
8039 echo "$as_me:$LINENO: result: yes" >&5
8040 echo "${ECHO_T}yes" >&6
8042 echo "$as_me:$LINENO: result: no" >&5
8043 echo "${ECHO_T}no" >&6
8048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8051 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8052 if test "${enable_tbarnative+set}" = set; then
8053 enableval="$enable_tbarnative"
8055 if test "$enableval" = yes; then
8056 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
8058 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
8063 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8064 if test "x$LINE" != x ; then
8065 eval "DEFAULT_$LINE"
8070 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8074 eval "$ac_cv_use_tbarnative"
8075 if test "$no_cache" != 1; then
8076 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8079 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8080 echo "$as_me:$LINENO: result: yes" >&5
8081 echo "${ECHO_T}yes" >&6
8083 echo "$as_me:$LINENO: result: no" >&5
8084 echo "${ECHO_T}no" >&6
8089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8090 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8092 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8093 if test "${enable_tbarsmpl+set}" = set; then
8094 enableval="$enable_tbarsmpl"
8096 if test "$enableval" = yes; then
8097 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
8099 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
8104 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8105 if test "x$LINE" != x ; then
8106 eval "DEFAULT_$LINE"
8111 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8115 eval "$ac_cv_use_tbarsmpl"
8116 if test "$no_cache" != 1; then
8117 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8120 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8121 echo "$as_me:$LINENO: result: yes" >&5
8122 echo "${ECHO_T}yes" >&6
8124 echo "$as_me:$LINENO: result: no" >&5
8125 echo "${ECHO_T}no" >&6
8130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8131 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8133 # Check whether --enable-treectrl or --disable-treectrl was given.
8134 if test "${enable_treectrl+set}" = set; then
8135 enableval="$enable_treectrl"
8137 if test "$enableval" = yes; then
8138 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8140 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8145 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8146 if test "x$LINE" != x ; then
8147 eval "DEFAULT_$LINE"
8152 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8156 eval "$ac_cv_use_treectrl"
8157 if test "$no_cache" != 1; then
8158 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8161 if test "$wxUSE_TREECTRL" = yes; then
8162 echo "$as_me:$LINENO: result: yes" >&5
8163 echo "${ECHO_T}yes" >&6
8165 echo "$as_me:$LINENO: result: no" >&5
8166 echo "${ECHO_T}no" >&6
8171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8172 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8174 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8175 if test "${enable_tipwindow+set}" = set; then
8176 enableval="$enable_tipwindow"
8178 if test "$enableval" = yes; then
8179 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8181 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8186 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8187 if test "x$LINE" != x ; then
8188 eval "DEFAULT_$LINE"
8193 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8197 eval "$ac_cv_use_tipwindow"
8198 if test "$no_cache" != 1; then
8199 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8202 if test "$wxUSE_TIPWINDOW" = yes; then
8203 echo "$as_me:$LINENO: result: yes" >&5
8204 echo "${ECHO_T}yes" >&6
8206 echo "$as_me:$LINENO: result: no" >&5
8207 echo "${ECHO_T}no" >&6
8212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8215 # Check whether --enable-popupwin or --disable-popupwin was given.
8216 if test "${enable_popupwin+set}" = set; then
8217 enableval="$enable_popupwin"
8219 if test "$enableval" = yes; then
8220 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8222 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8227 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8228 if test "x$LINE" != x ; then
8229 eval "DEFAULT_$LINE"
8234 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8238 eval "$ac_cv_use_popupwin"
8239 if test "$no_cache" != 1; then
8240 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8243 if test "$wxUSE_POPUPWIN" = yes; then
8244 echo "$as_me:$LINENO: result: yes" >&5
8245 echo "${ECHO_T}yes" >&6
8247 echo "$as_me:$LINENO: result: no" >&5
8248 echo "${ECHO_T}no" >&6
8255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8256 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8258 # Check whether --enable-commondlg or --disable-commondlg was given.
8259 if test "${enable_commondlg+set}" = set; then
8260 enableval="$enable_commondlg"
8262 if test "$enableval" = yes; then
8263 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8265 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8270 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8271 if test "x$LINE" != x ; then
8272 eval "DEFAULT_$LINE"
8277 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8281 eval "$ac_cv_use_commondlg"
8282 if test "$no_cache" != 1; then
8283 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8286 if test "$wxUSE_COMMONDLGS" = yes; then
8287 echo "$as_me:$LINENO: result: yes" >&5
8288 echo "${ECHO_T}yes" >&6
8290 echo "$as_me:$LINENO: result: no" >&5
8291 echo "${ECHO_T}no" >&6
8296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8297 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8299 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8300 if test "${enable_choicedlg+set}" = set; then
8301 enableval="$enable_choicedlg"
8303 if test "$enableval" = yes; then
8304 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8306 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8311 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8312 if test "x$LINE" != x ; then
8313 eval "DEFAULT_$LINE"
8318 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8322 eval "$ac_cv_use_choicedlg"
8323 if test "$no_cache" != 1; then
8324 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8327 if test "$wxUSE_CHOICEDLG" = yes; then
8328 echo "$as_me:$LINENO: result: yes" >&5
8329 echo "${ECHO_T}yes" >&6
8331 echo "$as_me:$LINENO: result: no" >&5
8332 echo "${ECHO_T}no" >&6
8337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8338 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8340 # Check whether --enable-coldlg or --disable-coldlg was given.
8341 if test "${enable_coldlg+set}" = set; then
8342 enableval="$enable_coldlg"
8344 if test "$enableval" = yes; then
8345 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8347 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8352 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8353 if test "x$LINE" != x ; then
8354 eval "DEFAULT_$LINE"
8359 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8363 eval "$ac_cv_use_coldlg"
8364 if test "$no_cache" != 1; then
8365 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8368 if test "$wxUSE_COLOURDLG" = yes; then
8369 echo "$as_me:$LINENO: result: yes" >&5
8370 echo "${ECHO_T}yes" >&6
8372 echo "$as_me:$LINENO: result: no" >&5
8373 echo "${ECHO_T}no" >&6
8378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8379 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8381 # Check whether --enable-filedlg or --disable-filedlg was given.
8382 if test "${enable_filedlg+set}" = set; then
8383 enableval="$enable_filedlg"
8385 if test "$enableval" = yes; then
8386 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8388 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8393 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8394 if test "x$LINE" != x ; then
8395 eval "DEFAULT_$LINE"
8400 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8404 eval "$ac_cv_use_filedlg"
8405 if test "$no_cache" != 1; then
8406 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8409 if test "$wxUSE_FILEDLG" = yes; then
8410 echo "$as_me:$LINENO: result: yes" >&5
8411 echo "${ECHO_T}yes" >&6
8413 echo "$as_me:$LINENO: result: no" >&5
8414 echo "${ECHO_T}no" >&6
8419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8420 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8422 # Check whether --enable-finddlg or --disable-finddlg was given.
8423 if test "${enable_finddlg+set}" = set; then
8424 enableval="$enable_finddlg"
8426 if test "$enableval" = yes; then
8427 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8429 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8434 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8435 if test "x$LINE" != x ; then
8436 eval "DEFAULT_$LINE"
8441 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8445 eval "$ac_cv_use_finddlg"
8446 if test "$no_cache" != 1; then
8447 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8450 if test "$wxUSE_FINDREPLDLG" = yes; then
8451 echo "$as_me:$LINENO: result: yes" >&5
8452 echo "${ECHO_T}yes" >&6
8454 echo "$as_me:$LINENO: result: no" >&5
8455 echo "${ECHO_T}no" >&6
8460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8461 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8463 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8464 if test "${enable_fontdlg+set}" = set; then
8465 enableval="$enable_fontdlg"
8467 if test "$enableval" = yes; then
8468 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8470 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8475 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8476 if test "x$LINE" != x ; then
8477 eval "DEFAULT_$LINE"
8482 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8486 eval "$ac_cv_use_fontdlg"
8487 if test "$no_cache" != 1; then
8488 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8491 if test "$wxUSE_FONTDLG" = yes; then
8492 echo "$as_me:$LINENO: result: yes" >&5
8493 echo "${ECHO_T}yes" >&6
8495 echo "$as_me:$LINENO: result: no" >&5
8496 echo "${ECHO_T}no" >&6
8501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8502 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8504 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8505 if test "${enable_dirdlg+set}" = set; then
8506 enableval="$enable_dirdlg"
8508 if test "$enableval" = yes; then
8509 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8511 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8516 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8517 if test "x$LINE" != x ; then
8518 eval "DEFAULT_$LINE"
8523 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8527 eval "$ac_cv_use_dirdlg"
8528 if test "$no_cache" != 1; then
8529 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8532 if test "$wxUSE_DIRDLG" = yes; then
8533 echo "$as_me:$LINENO: result: yes" >&5
8534 echo "${ECHO_T}yes" >&6
8536 echo "$as_me:$LINENO: result: no" >&5
8537 echo "${ECHO_T}no" >&6
8542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8543 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8545 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8546 if test "${enable_msgdlg+set}" = set; then
8547 enableval="$enable_msgdlg"
8549 if test "$enableval" = yes; then
8550 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8552 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8557 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8558 if test "x$LINE" != x ; then
8559 eval "DEFAULT_$LINE"
8564 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8568 eval "$ac_cv_use_msgdlg"
8569 if test "$no_cache" != 1; then
8570 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8573 if test "$wxUSE_MSGDLG" = yes; then
8574 echo "$as_me:$LINENO: result: yes" >&5
8575 echo "${ECHO_T}yes" >&6
8577 echo "$as_me:$LINENO: result: no" >&5
8578 echo "${ECHO_T}no" >&6
8583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8584 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8586 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8587 if test "${enable_numberdlg+set}" = set; then
8588 enableval="$enable_numberdlg"
8590 if test "$enableval" = yes; then
8591 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8593 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8598 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8599 if test "x$LINE" != x ; then
8600 eval "DEFAULT_$LINE"
8605 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8609 eval "$ac_cv_use_numberdlg"
8610 if test "$no_cache" != 1; then
8611 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8614 if test "$wxUSE_NUMBERDLG" = yes; then
8615 echo "$as_me:$LINENO: result: yes" >&5
8616 echo "${ECHO_T}yes" >&6
8618 echo "$as_me:$LINENO: result: no" >&5
8619 echo "${ECHO_T}no" >&6
8624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8625 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8627 # Check whether --enable-splash or --disable-splash was given.
8628 if test "${enable_splash+set}" = set; then
8629 enableval="$enable_splash"
8631 if test "$enableval" = yes; then
8632 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8634 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8639 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8640 if test "x$LINE" != x ; then
8641 eval "DEFAULT_$LINE"
8646 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8650 eval "$ac_cv_use_splash"
8651 if test "$no_cache" != 1; then
8652 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8655 if test "$wxUSE_SPLASH" = yes; then
8656 echo "$as_me:$LINENO: result: yes" >&5
8657 echo "${ECHO_T}yes" >&6
8659 echo "$as_me:$LINENO: result: no" >&5
8660 echo "${ECHO_T}no" >&6
8665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8666 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8668 # Check whether --enable-textdlg or --disable-textdlg was given.
8669 if test "${enable_textdlg+set}" = set; then
8670 enableval="$enable_textdlg"
8672 if test "$enableval" = yes; then
8673 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8675 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8680 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8681 if test "x$LINE" != x ; then
8682 eval "DEFAULT_$LINE"
8687 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8691 eval "$ac_cv_use_textdlg"
8692 if test "$no_cache" != 1; then
8693 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8696 if test "$wxUSE_TEXTDLG" = yes; then
8697 echo "$as_me:$LINENO: result: yes" >&5
8698 echo "${ECHO_T}yes" >&6
8700 echo "$as_me:$LINENO: result: no" >&5
8701 echo "${ECHO_T}no" >&6
8706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8707 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8709 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8710 if test "${enable_tipdlg+set}" = set; then
8711 enableval="$enable_tipdlg"
8713 if test "$enableval" = yes; then
8714 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8716 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8721 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8722 if test "x$LINE" != x ; then
8723 eval "DEFAULT_$LINE"
8728 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8732 eval "$ac_cv_use_tipdlg"
8733 if test "$no_cache" != 1; then
8734 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8737 if test "$wxUSE_STARTUP_TIPS" = yes; then
8738 echo "$as_me:$LINENO: result: yes" >&5
8739 echo "${ECHO_T}yes" >&6
8741 echo "$as_me:$LINENO: result: no" >&5
8742 echo "${ECHO_T}no" >&6
8747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8748 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8750 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8751 if test "${enable_progressdlg+set}" = set; then
8752 enableval="$enable_progressdlg"
8754 if test "$enableval" = yes; then
8755 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8757 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8762 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8763 if test "x$LINE" != x ; then
8764 eval "DEFAULT_$LINE"
8769 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8773 eval "$ac_cv_use_progressdlg"
8774 if test "$no_cache" != 1; then
8775 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8778 if test "$wxUSE_PROGRESSDLG" = yes; then
8779 echo "$as_me:$LINENO: result: yes" >&5
8780 echo "${ECHO_T}yes" >&6
8782 echo "$as_me:$LINENO: result: no" >&5
8783 echo "${ECHO_T}no" >&6
8788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8789 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8791 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8792 if test "${enable_wizarddlg+set}" = set; then
8793 enableval="$enable_wizarddlg"
8795 if test "$enableval" = yes; then
8796 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8798 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8803 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8804 if test "x$LINE" != x ; then
8805 eval "DEFAULT_$LINE"
8810 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8814 eval "$ac_cv_use_wizarddlg"
8815 if test "$no_cache" != 1; then
8816 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8819 if test "$wxUSE_WIZARDDLG" = yes; then
8820 echo "$as_me:$LINENO: result: yes" >&5
8821 echo "${ECHO_T}yes" >&6
8823 echo "$as_me:$LINENO: result: no" >&5
8824 echo "${ECHO_T}no" >&6
8831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8832 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8834 # Check whether --enable-menus or --disable-menus was given.
8835 if test "${enable_menus+set}" = set; then
8836 enableval="$enable_menus"
8838 if test "$enableval" = yes; then
8839 ac_cv_use_menus='wxUSE_MENUS
=yes'
8841 ac_cv_use_menus='wxUSE_MENUS
=no
'
8846 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8847 if test "x$LINE" != x ; then
8848 eval "DEFAULT_$LINE"
8853 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8857 eval "$ac_cv_use_menus"
8858 if test "$no_cache" != 1; then
8859 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8862 if test "$wxUSE_MENUS" = yes; then
8863 echo "$as_me:$LINENO: result: yes" >&5
8864 echo "${ECHO_T}yes" >&6
8866 echo "$as_me:$LINENO: result: no" >&5
8867 echo "${ECHO_T}no" >&6
8872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8873 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8875 # Check whether --enable-miniframe or --disable-miniframe was given.
8876 if test "${enable_miniframe+set}" = set; then
8877 enableval="$enable_miniframe"
8879 if test "$enableval" = yes; then
8880 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8882 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8887 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8888 if test "x$LINE" != x ; then
8889 eval "DEFAULT_$LINE"
8894 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8898 eval "$ac_cv_use_miniframe"
8899 if test "$no_cache" != 1; then
8900 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8903 if test "$wxUSE_MINIFRAME" = yes; then
8904 echo "$as_me:$LINENO: result: yes" >&5
8905 echo "${ECHO_T}yes" >&6
8907 echo "$as_me:$LINENO: result: no" >&5
8908 echo "${ECHO_T}no" >&6
8913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8914 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8916 # Check whether --enable-tooltips or --disable-tooltips was given.
8917 if test "${enable_tooltips+set}" = set; then
8918 enableval="$enable_tooltips"
8920 if test "$enableval" = yes; then
8921 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
8923 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
8928 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8929 if test "x$LINE" != x ; then
8930 eval "DEFAULT_$LINE"
8935 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
8939 eval "$ac_cv_use_tooltips"
8940 if test "$no_cache" != 1; then
8941 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8944 if test "$wxUSE_TOOLTIPS" = yes; then
8945 echo "$as_me:$LINENO: result: yes" >&5
8946 echo "${ECHO_T}yes" >&6
8948 echo "$as_me:$LINENO: result: no" >&5
8949 echo "${ECHO_T}no" >&6
8954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8955 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8957 # Check whether --enable-splines or --disable-splines was given.
8958 if test "${enable_splines+set}" = set; then
8959 enableval="$enable_splines"
8961 if test "$enableval" = yes; then
8962 ac_cv_use_splines='wxUSE_SPLINES
=yes'
8964 ac_cv_use_splines='wxUSE_SPLINES
=no
'
8969 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8970 if test "x$LINE" != x ; then
8971 eval "DEFAULT_$LINE"
8976 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
8980 eval "$ac_cv_use_splines"
8981 if test "$no_cache" != 1; then
8982 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8985 if test "$wxUSE_SPLINES" = yes; then
8986 echo "$as_me:$LINENO: result: yes" >&5
8987 echo "${ECHO_T}yes" >&6
8989 echo "$as_me:$LINENO: result: no" >&5
8990 echo "${ECHO_T}no" >&6
8995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8996 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8998 # Check whether --enable-validators or --disable-validators was given.
8999 if test "${enable_validators+set}" = set; then
9000 enableval="$enable_validators"
9002 if test "$enableval" = yes; then
9003 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
9005 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
9010 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9011 if test "x$LINE" != x ; then
9012 eval "DEFAULT_$LINE"
9017 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
9021 eval "$ac_cv_use_validators"
9022 if test "$no_cache" != 1; then
9023 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9026 if test "$wxUSE_VALIDATORS" = yes; then
9027 echo "$as_me:$LINENO: result: yes" >&5
9028 echo "${ECHO_T}yes" >&6
9030 echo "$as_me:$LINENO: result: no" >&5
9031 echo "${ECHO_T}no" >&6
9036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9039 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9040 if test "${enable_busyinfo+set}" = set; then
9041 enableval="$enable_busyinfo"
9043 if test "$enableval" = yes; then
9044 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
9046 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
9051 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9052 if test "x$LINE" != x ; then
9053 eval "DEFAULT_$LINE"
9058 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
9062 eval "$ac_cv_use_busyinfo"
9063 if test "$no_cache" != 1; then
9064 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9067 if test "$wxUSE_BUSYINFO" = yes; then
9068 echo "$as_me:$LINENO: result: yes" >&5
9069 echo "${ECHO_T}yes" >&6
9071 echo "$as_me:$LINENO: result: no" >&5
9072 echo "${ECHO_T}no" >&6
9077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9078 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9080 # Check whether --enable-joystick or --disable-joystick was given.
9081 if test "${enable_joystick+set}" = set; then
9082 enableval="$enable_joystick"
9084 if test "$enableval" = yes; then
9085 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
9087 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
9092 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9093 if test "x$LINE" != x ; then
9094 eval "DEFAULT_$LINE"
9099 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
9103 eval "$ac_cv_use_joystick"
9104 if test "$no_cache" != 1; then
9105 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9108 if test "$wxUSE_JOYSTICK" = yes; then
9109 echo "$as_me:$LINENO: result: yes" >&5
9110 echo "${ECHO_T}yes" >&6
9112 echo "$as_me:$LINENO: result: no" >&5
9113 echo "${ECHO_T}no" >&6
9118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9119 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9121 # Check whether --enable-metafile or --disable-metafile was given.
9122 if test "${enable_metafile+set}" = set; then
9123 enableval="$enable_metafile"
9125 if test "$enableval" = yes; then
9126 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9128 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9133 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9134 if test "x$LINE" != x ; then
9135 eval "DEFAULT_$LINE"
9140 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9144 eval "$ac_cv_use_metafile"
9145 if test "$no_cache" != 1; then
9146 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9149 if test "$wxUSE_METAFILE" = yes; then
9150 echo "$as_me:$LINENO: result: yes" >&5
9151 echo "${ECHO_T}yes" >&6
9153 echo "$as_me:$LINENO: result: no" >&5
9154 echo "${ECHO_T}no" >&6
9159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9160 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9162 # Check whether --enable-dragimage or --disable-dragimage was given.
9163 if test "${enable_dragimage+set}" = set; then
9164 enableval="$enable_dragimage"
9166 if test "$enableval" = yes; then
9167 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
9169 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9174 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9175 if test "x$LINE" != x ; then
9176 eval "DEFAULT_$LINE"
9181 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9185 eval "$ac_cv_use_dragimage"
9186 if test "$no_cache" != 1; then
9187 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9190 if test "$wxUSE_DRAGIMAGE" = yes; then
9191 echo "$as_me:$LINENO: result: yes" >&5
9192 echo "${ECHO_T}yes" >&6
9194 echo "$as_me:$LINENO: result: no" >&5
9195 echo "${ECHO_T}no" >&6
9200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9201 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9203 # Check whether --enable-accessibility or --disable-accessibility was given.
9204 if test "${enable_accessibility+set}" = set; then
9205 enableval="$enable_accessibility"
9207 if test "$enableval" = yes; then
9208 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9210 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9215 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9216 if test "x$LINE" != x ; then
9217 eval "DEFAULT_$LINE"
9222 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9226 eval "$ac_cv_use_accessibility"
9227 if test "$no_cache" != 1; then
9228 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9231 if test "$wxUSE_ACCESSIBILITY" = yes; then
9232 echo "$as_me:$LINENO: result: yes" >&5
9233 echo "${ECHO_T}yes" >&6
9235 echo "$as_me:$LINENO: result: no" >&5
9236 echo "${ECHO_T}no" >&6
9243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9246 # Check whether --enable-palette or --disable-palette was given.
9247 if test "${enable_palette+set}" = set; then
9248 enableval="$enable_palette"
9250 if test "$enableval" = yes; then
9251 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9253 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9258 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9259 if test "x$LINE" != x ; then
9260 eval "DEFAULT_$LINE"
9265 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9269 eval "$ac_cv_use_palette"
9270 if test "$no_cache" != 1; then
9271 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9274 if test "$wxUSE_PALETTE" = yes; then
9275 echo "$as_me:$LINENO: result: yes" >&5
9276 echo "${ECHO_T}yes" >&6
9278 echo "$as_me:$LINENO: result: no" >&5
9279 echo "${ECHO_T}no" >&6
9284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9285 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9287 # Check whether --enable-image or --disable-image was given.
9288 if test "${enable_image+set}" = set; then
9289 enableval="$enable_image"
9291 if test "$enableval" = yes; then
9292 ac_cv_use_image='wxUSE_IMAGE
=yes'
9294 ac_cv_use_image='wxUSE_IMAGE
=no
'
9299 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9300 if test "x$LINE" != x ; then
9301 eval "DEFAULT_$LINE"
9306 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9310 eval "$ac_cv_use_image"
9311 if test "$no_cache" != 1; then
9312 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9315 if test "$wxUSE_IMAGE" = yes; then
9316 echo "$as_me:$LINENO: result: yes" >&5
9317 echo "${ECHO_T}yes" >&6
9319 echo "$as_me:$LINENO: result: no" >&5
9320 echo "${ECHO_T}no" >&6
9325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9326 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9328 # Check whether --enable-gif or --disable-gif was given.
9329 if test "${enable_gif+set}" = set; then
9330 enableval="$enable_gif"
9332 if test "$enableval" = yes; then
9333 ac_cv_use_gif='wxUSE_GIF
=yes'
9335 ac_cv_use_gif='wxUSE_GIF
=no
'
9340 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x ; then
9342 eval "DEFAULT_$LINE"
9347 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9351 eval "$ac_cv_use_gif"
9352 if test "$no_cache" != 1; then
9353 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9356 if test "$wxUSE_GIF" = yes; then
9357 echo "$as_me:$LINENO: result: yes" >&5
9358 echo "${ECHO_T}yes" >&6
9360 echo "$as_me:$LINENO: result: no" >&5
9361 echo "${ECHO_T}no" >&6
9366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9369 # Check whether --enable-pcx or --disable-pcx was given.
9370 if test "${enable_pcx+set}" = set; then
9371 enableval="$enable_pcx"
9373 if test "$enableval" = yes; then
9374 ac_cv_use_pcx='wxUSE_PCX
=yes'
9376 ac_cv_use_pcx='wxUSE_PCX
=no
'
9381 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9388 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9392 eval "$ac_cv_use_pcx"
9393 if test "$no_cache" != 1; then
9394 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9397 if test "$wxUSE_PCX" = yes; then
9398 echo "$as_me:$LINENO: result: yes" >&5
9399 echo "${ECHO_T}yes" >&6
9401 echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6
9407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9408 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9410 # Check whether --enable-iff or --disable-iff was given.
9411 if test "${enable_iff+set}" = set; then
9412 enableval="$enable_iff"
9414 if test "$enableval" = yes; then
9415 ac_cv_use_iff='wxUSE_IFF
=yes'
9417 ac_cv_use_iff='wxUSE_IFF
=no
'
9422 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9429 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9433 eval "$ac_cv_use_iff"
9434 if test "$no_cache" != 1; then
9435 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9438 if test "$wxUSE_IFF" = yes; then
9439 echo "$as_me:$LINENO: result: yes" >&5
9440 echo "${ECHO_T}yes" >&6
9442 echo "$as_me:$LINENO: result: no" >&5
9443 echo "${ECHO_T}no" >&6
9448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9449 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9451 # Check whether --enable-pnm or --disable-pnm was given.
9452 if test "${enable_pnm+set}" = set; then
9453 enableval="$enable_pnm"
9455 if test "$enableval" = yes; then
9456 ac_cv_use_pnm='wxUSE_PNM
=yes'
9458 ac_cv_use_pnm='wxUSE_PNM
=no
'
9463 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9464 if test "x$LINE" != x ; then
9465 eval "DEFAULT_$LINE"
9470 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9474 eval "$ac_cv_use_pnm"
9475 if test "$no_cache" != 1; then
9476 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9479 if test "$wxUSE_PNM" = yes; then
9480 echo "$as_me:$LINENO: result: yes" >&5
9481 echo "${ECHO_T}yes" >&6
9483 echo "$as_me:$LINENO: result: no" >&5
9484 echo "${ECHO_T}no" >&6
9489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9490 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9492 # Check whether --enable-xpm or --disable-xpm was given.
9493 if test "${enable_xpm+set}" = set; then
9494 enableval="$enable_xpm"
9496 if test "$enableval" = yes; then
9497 ac_cv_use_xpm='wxUSE_XPM
=yes'
9499 ac_cv_use_xpm='wxUSE_XPM
=no
'
9504 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9505 if test "x$LINE" != x ; then
9506 eval "DEFAULT_$LINE"
9511 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9515 eval "$ac_cv_use_xpm"
9516 if test "$no_cache" != 1; then
9517 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9520 if test "$wxUSE_XPM" = yes; then
9521 echo "$as_me:$LINENO: result: yes" >&5
9522 echo "${ECHO_T}yes" >&6
9524 echo "$as_me:$LINENO: result: no" >&5
9525 echo "${ECHO_T}no" >&6
9530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9531 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9533 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9534 if test "${enable_ico_cur+set}" = set; then
9535 enableval="$enable_ico_cur"
9537 if test "$enableval" = yes; then
9538 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9540 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9545 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9546 if test "x$LINE" != x ; then
9547 eval "DEFAULT_$LINE"
9552 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9556 eval "$ac_cv_use_ico_cur"
9557 if test "$no_cache" != 1; then
9558 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9561 if test "$wxUSE_ICO_CUR" = yes; then
9562 echo "$as_me:$LINENO: result: yes" >&5
9563 echo "${ECHO_T}yes" >&6
9565 echo "$as_me:$LINENO: result: no" >&5
9566 echo "${ECHO_T}no" >&6
9575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9576 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9578 # Check whether --enable-official_build or --disable-official_build was given.
9579 if test "${enable_official_build+set}" = set; then
9580 enableval="$enable_official_build"
9582 if test "$enableval" = yes; then
9583 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
9585 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
9590 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9591 if test "x$LINE" != x ; then
9592 eval "DEFAULT_$LINE"
9597 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
9601 eval "$ac_cv_use_official_build"
9602 if test "$no_cache" != 1; then
9603 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9606 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9607 echo "$as_me:$LINENO: result: yes" >&5
9608 echo "${ECHO_T}yes" >&6
9610 echo "$as_me:$LINENO: result: no" >&5
9611 echo "${ECHO_T}no" >&6
9614 # Check whether --enable-vendor or --disable-vendor was given.
9615 if test "${enable_vendor+set}" = set; then
9616 enableval="$enable_vendor"
9619 if test "x$VENDOR" = "x"; then
9624 *-pc-os2_emx | *-pc-os2-emx )
9634 echo "saving argument cache $wx_arg_cache_file"
9635 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9639 echo "$as_me:$LINENO: checking for toolkit" >&5
9640 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9642 # In Wine, we need to default to MSW, not GTK or MOTIF
9643 if test "$wxUSE_WINE" = "yes"; then
9644 DEFAULT_DEFAULT_wxUSE_GTK=0
9645 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9646 DEFAULT_DEFAULT_wxUSE_MSW=1
9649 if test "$wxUSE_GUI" = "yes"; then
9651 if test "$USE_BEOS" = 1; then
9652 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9653 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9654 { (exit 1); exit 1; }; }
9657 if test "$TOOLKIT_GIVEN" = 1; then
9658 for toolkit in `echo $ALL_TOOLKITS`; do
9660 eval "value=\$${var}"
9661 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9664 for toolkit in `echo $ALL_TOOLKITS`; do
9665 if test "$has_toolkit_in_cache" != 1; then
9666 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9668 var=DEFAULT_wxUSE_$toolkit
9670 eval "wxUSE_$toolkit=\$${var}"
9674 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9675 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9676 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9679 *-pc-os2_emx | *-pc-os2-emx )
9680 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9683 case "$NUM_TOOLKITS" in
9687 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9688 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9689 { (exit 1); exit 1; }; }
9692 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9693 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9694 { (exit 1); exit 1; }; }
9697 for toolkit in `echo $ALL_TOOLKITS`; do
9699 eval "value=\$${var}"
9700 if test "x$value" != x; then
9701 cache_var=CACHE_$toolkit
9702 eval "cache=\$${cache_var}"
9703 if test "$cache" = 1; then
9704 echo "$var=$value" >> ${wx_arg_cache_file}
9706 if test "$value" = 1; then
9707 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9708 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9709 echo "${ECHO_T}$toolkit_echo" >&6
9714 if test "x$host_alias" != "x"; then
9715 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9716 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9718 echo "$as_me:$LINENO: result: base only" >&5
9719 echo "${ECHO_T}base only" >&6
9727 if test "$wxUSE_MSW" = 1 ; then
9738 if test "$wxUSE_WINE" = "yes"; then
9745 if test "$wants_win32" = 1 ; then
9748 cat >>confdefs.h <<\_ACEOF
9752 cat >>confdefs.h <<\_ACEOF
9756 cat >>confdefs.h <<\_ACEOF
9757 #define __WINDOWS__ 1
9760 cat >>confdefs.h <<\_ACEOF
9761 #define __GNUWIN32__ 1
9764 cat >>confdefs.h <<\_ACEOF
9768 cat >>confdefs.h <<\_ACEOF
9769 #define WINVER 0x0400
9773 if test "$doesnt_want_win32" = 1 ; then
9778 if test "$USE_UNIX" = 1 ; then
9780 cat >>confdefs.h <<\_ACEOF
9787 cat >confcache <<\_ACEOF
9788 # This file is a shell script that caches the results of configure
9789 # tests run on this system so they can be shared between configure
9790 # scripts and configure runs, see configure's option
--config-cache.
9791 # It is not useful on other systems. If it contains results you don't
9792 # want to keep, you may remove or edit it.
9794 # config.status only pays attention to the cache file if you give it
9795 # the --recheck option to rerun configure.
9797 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9798 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9803 # The following way of writing the cache mishandles newlines in values,
9804 # but we know of no workaround that is simple, portable, and efficient.
9805 # So, don't put newlines in cache variables' values.
9806 # Ultrix sh set writes to stderr and can't be redirected directly,
9807 # and sets the high bit in the cache file unless we assign to the vars.
9810 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9812 # `set' does not quote correctly, so add quotes (double-quote
9813 # substitution turns \\\\ into \\, and sed turns \\ into \).
9816 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9819 # `set' quotes correctly as required by POSIX, so do not add quotes.
9821 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9828 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9830 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9832 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9833 if test -w $cache_file; then
9834 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9835 cat confcache
>$cache_file
9837 echo "not updating unwritable cache $cache_file"
9842 if test "$build" != "$host" ; then
9843 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9847 RANLIB
=$host_alias-ranlib
9848 DLLTOOL
=$host_alias-dlltool
9849 RESCOMP
=$host_alias-windres
9852 STRIP
=$host_alias-strip
9854 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9855 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9856 { (exit 1); exit 1; }; }
9862 ac_cpp
='$CPP $CPPFLAGS'
9863 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9864 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9865 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9866 if test -n "$ac_tool_prefix"; then
9867 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9868 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9869 echo "$as_me:$LINENO: checking for $ac_word" >&5
9870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9871 if test "${ac_cv_prog_CC+set}" = set; then
9872 echo $ECHO_N "(cached) $ECHO_C" >&6
9874 if test -n "$CC"; then
9875 ac_cv_prog_CC
="$CC" # Let the user override the test.
9877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9881 test -z "$as_dir" && as_dir
=.
9882 for ac_exec_ext
in '' $ac_executable_extensions; do
9883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9884 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9894 if test -n "$CC"; then
9895 echo "$as_me:$LINENO: result: $CC" >&5
9896 echo "${ECHO_T}$CC" >&6
9898 echo "$as_me:$LINENO: result: no" >&5
9899 echo "${ECHO_T}no" >&6
9903 if test -z "$ac_cv_prog_CC"; then
9905 # Extract the first word of "gcc", so it can be a program name with args.
9906 set dummy gcc
; ac_word
=$2
9907 echo "$as_me:$LINENO: checking for $ac_word" >&5
9908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9909 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9910 echo $ECHO_N "(cached) $ECHO_C" >&6
9912 if test -n "$ac_ct_CC"; then
9913 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9919 test -z "$as_dir" && as_dir
=.
9920 for ac_exec_ext
in '' $ac_executable_extensions; do
9921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9922 ac_cv_prog_ac_ct_CC
="gcc"
9923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9931 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9932 if test -n "$ac_ct_CC"; then
9933 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9934 echo "${ECHO_T}$ac_ct_CC" >&6
9936 echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6
9945 if test -z "$CC"; then
9946 if test -n "$ac_tool_prefix"; then
9947 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9948 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9949 echo "$as_me:$LINENO: checking for $ac_word" >&5
9950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9951 if test "${ac_cv_prog_CC+set}" = set; then
9952 echo $ECHO_N "(cached) $ECHO_C" >&6
9954 if test -n "$CC"; then
9955 ac_cv_prog_CC
="$CC" # Let the user override the test.
9957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9961 test -z "$as_dir" && as_dir
=.
9962 for ac_exec_ext
in '' $ac_executable_extensions; do
9963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9964 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9974 if test -n "$CC"; then
9975 echo "$as_me:$LINENO: result: $CC" >&5
9976 echo "${ECHO_T}$CC" >&6
9978 echo "$as_me:$LINENO: result: no" >&5
9979 echo "${ECHO_T}no" >&6
9983 if test -z "$ac_cv_prog_CC"; then
9985 # Extract the first word of "cc", so it can be a program name with args.
9986 set dummy cc
; ac_word
=$2
9987 echo "$as_me:$LINENO: checking for $ac_word" >&5
9988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9989 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9990 echo $ECHO_N "(cached) $ECHO_C" >&6
9992 if test -n "$ac_ct_CC"; then
9993 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9999 test -z "$as_dir" && as_dir
=.
10000 for ac_exec_ext
in '' $ac_executable_extensions; do
10001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10002 ac_cv_prog_ac_ct_CC
="cc"
10003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10011 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10012 if test -n "$ac_ct_CC"; then
10013 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10014 echo "${ECHO_T}$ac_ct_CC" >&6
10016 echo "$as_me:$LINENO: result: no" >&5
10017 echo "${ECHO_T}no" >&6
10022 CC
="$ac_cv_prog_CC"
10026 if test -z "$CC"; then
10027 # Extract the first word of "cc", so it can be a program name with args.
10028 set dummy cc
; ac_word
=$2
10029 echo "$as_me:$LINENO: checking for $ac_word" >&5
10030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10031 if test "${ac_cv_prog_CC+set}" = set; then
10032 echo $ECHO_N "(cached) $ECHO_C" >&6
10034 if test -n "$CC"; then
10035 ac_cv_prog_CC
="$CC" # Let the user override the test.
10037 ac_prog_rejected
=no
10038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10039 for as_dir
in $PATH
10042 test -z "$as_dir" && as_dir
=.
10043 for ac_exec_ext
in '' $ac_executable_extensions; do
10044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10045 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10046 ac_prog_rejected
=yes
10050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10056 if test $ac_prog_rejected = yes; then
10057 # We found a bogon in the path, so make sure we never use it.
10058 set dummy
$ac_cv_prog_CC
10060 if test $# != 0; then
10061 # We chose a different compiler from the bogus one.
10062 # However, it has the same basename, so the bogon will be chosen
10063 # first if we set CC to just the basename; use the full file name.
10065 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10071 if test -n "$CC"; then
10072 echo "$as_me:$LINENO: result: $CC" >&5
10073 echo "${ECHO_T}$CC" >&6
10075 echo "$as_me:$LINENO: result: no" >&5
10076 echo "${ECHO_T}no" >&6
10080 if test -z "$CC"; then
10081 if test -n "$ac_tool_prefix"; then
10084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10085 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10086 echo "$as_me:$LINENO: checking for $ac_word" >&5
10087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10088 if test "${ac_cv_prog_CC+set}" = set; then
10089 echo $ECHO_N "(cached) $ECHO_C" >&6
10091 if test -n "$CC"; then
10092 ac_cv_prog_CC
="$CC" # Let the user override the test.
10094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10095 for as_dir
in $PATH
10098 test -z "$as_dir" && as_dir
=.
10099 for ac_exec_ext
in '' $ac_executable_extensions; do
10100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10101 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10111 if test -n "$CC"; then
10112 echo "$as_me:$LINENO: result: $CC" >&5
10113 echo "${ECHO_T}$CC" >&6
10115 echo "$as_me:$LINENO: result: no" >&5
10116 echo "${ECHO_T}no" >&6
10119 test -n "$CC" && break
10122 if test -z "$CC"; then
10126 # Extract the first word of "$ac_prog", so it can be a program name with args.
10127 set dummy
$ac_prog; ac_word
=$2
10128 echo "$as_me:$LINENO: checking for $ac_word" >&5
10129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10130 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10131 echo $ECHO_N "(cached) $ECHO_C" >&6
10133 if test -n "$ac_ct_CC"; then
10134 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10137 for as_dir
in $PATH
10140 test -z "$as_dir" && as_dir
=.
10141 for ac_exec_ext
in '' $ac_executable_extensions; do
10142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10143 ac_cv_prog_ac_ct_CC
="$ac_prog"
10144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10152 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10153 if test -n "$ac_ct_CC"; then
10154 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10155 echo "${ECHO_T}$ac_ct_CC" >&6
10157 echo "$as_me:$LINENO: result: no" >&5
10158 echo "${ECHO_T}no" >&6
10161 test -n "$ac_ct_CC" && break
10170 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10171 See \`config.log' for more details." >&5
10172 echo "$as_me: error: no acceptable C compiler found in \$PATH
10173 See \`config.log' for more details." >&2;}
10174 { (exit 1); exit 1; }; }
10176 # Provide some information about the compiler.
10177 echo "$as_me:$LINENO:" \
10178 "checking for C compiler version" >&5
10179 ac_compiler
=`set X $ac_compile; echo $2`
10180 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10181 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184 (exit $ac_status); }
10185 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10186 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); }
10190 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10191 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); }
10196 cat >conftest.
$ac_ext <<_ACEOF
10197 #line $LINENO "configure"
10200 cat confdefs.h
>>conftest.
$ac_ext
10201 cat >>conftest.
$ac_ext <<_ACEOF
10202 /* end confdefs.h. */
10212 ac_clean_files_save
=$ac_clean_files
10213 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10214 # Try to create an executable without -o first, disregard a.out.
10215 # It will help us diagnose broken compilers, and finding out an intuition
10217 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10218 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10219 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10220 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10221 (eval $ac_link_default) 2>&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); }; then
10225 # Find the output, starting from the most likely. This scheme is
10226 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10229 # Be careful to initialize this variable, since it used to be cached.
10230 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10232 # b.out is created by i960 compilers.
10233 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10235 test -f "$ac_file" || continue
10237 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10240 # This is the source file.
10243 # We found the default executable, but exeext='' is most
10247 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10248 # FIXME: I believe we export ac_cv_exeext for Libtool,
10249 # but it would be cool to find out if it's true. Does anybody
10250 # maintain Libtool? --akim.
10251 export ac_cv_exeext
10258 echo "$as_me: failed program was:" >&5
10259 sed 's/^/| /' conftest.
$ac_ext >&5
10261 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10262 See \`config.log' for more details." >&5
10263 echo "$as_me: error: C compiler cannot create executables
10264 See \`config.log' for more details." >&2;}
10265 { (exit 77); exit 77; }; }
10268 ac_exeext
=$ac_cv_exeext
10269 echo "$as_me:$LINENO: result: $ac_file" >&5
10270 echo "${ECHO_T}$ac_file" >&6
10272 # Check the compiler produces executables we can run. If not, either
10273 # the compiler is broken, or we cross compile.
10274 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10275 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10276 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10277 # If not cross compiling, check that we can run a simple program.
10278 if test "$cross_compiling" != yes; then
10279 if { ac_try
='./$ac_file'
10280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10281 (eval $ac_try) 2>&5
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); }; }; then
10287 if test "$cross_compiling" = maybe
; then
10288 cross_compiling
=yes
10290 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10291 If you meant to cross compile, use \`--host'.
10292 See \`config.log' for more details." >&5
10293 echo "$as_me: error: cannot run C compiled programs.
10294 If you meant to cross compile, use \`--host'.
10295 See \`config.log' for more details." >&2;}
10296 { (exit 1); exit 1; }; }
10300 echo "$as_me:$LINENO: result: yes" >&5
10301 echo "${ECHO_T}yes" >&6
10303 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10304 ac_clean_files
=$ac_clean_files_save
10305 # Check the compiler produces executables we can run. If not, either
10306 # the compiler is broken, or we cross compile.
10307 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10308 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10309 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10310 echo "${ECHO_T}$cross_compiling" >&6
10312 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10313 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10315 (eval $ac_link) 2>&5
10317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); }; then
10319 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10320 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10321 # work properly (i.e., refer to `conftest.exe'), while it won't with
10323 for ac_file
in conftest.exe conftest conftest.
*; do
10324 test -f "$ac_file" || continue
10326 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10327 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10328 export ac_cv_exeext
10334 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10335 See \`config.log' for more details." >&5
10336 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10337 See \`config.log' for more details." >&2;}
10338 { (exit 1); exit 1; }; }
10341 rm -f conftest
$ac_cv_exeext
10342 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10343 echo "${ECHO_T}$ac_cv_exeext" >&6
10345 rm -f conftest.
$ac_ext
10346 EXEEXT
=$ac_cv_exeext
10348 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10349 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10350 if test "${ac_cv_objext+set}" = set; then
10351 echo $ECHO_N "(cached) $ECHO_C" >&6
10353 cat >conftest.
$ac_ext <<_ACEOF
10354 #line $LINENO "configure"
10357 cat confdefs.h
>>conftest.
$ac_ext
10358 cat >>conftest.
$ac_ext <<_ACEOF
10359 /* end confdefs.h. */
10369 rm -f conftest.o conftest.obj
10370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10371 (eval $ac_compile) 2>&5
10373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 (exit $ac_status); }; then
10375 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10377 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10378 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10383 echo "$as_me: failed program was:" >&5
10384 sed 's/^/| /' conftest.
$ac_ext >&5
10386 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10387 See \`config.log' for more details." >&5
10388 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10389 See \`config.log' for more details." >&2;}
10390 { (exit 1); exit 1; }; }
10393 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10395 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10396 echo "${ECHO_T}$ac_cv_objext" >&6
10397 OBJEXT
=$ac_cv_objext
10399 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10400 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10401 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10402 echo $ECHO_N "(cached) $ECHO_C" >&6
10404 cat >conftest.
$ac_ext <<_ACEOF
10405 #line $LINENO "configure"
10408 cat confdefs.h
>>conftest.
$ac_ext
10409 cat >>conftest.
$ac_ext <<_ACEOF
10410 /* end confdefs.h. */
10423 rm -f conftest.
$ac_objext
10424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10425 (eval $ac_compile) 2>&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); } &&
10429 { ac_try
='test -s conftest.$ac_objext'
10430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10431 (eval $ac_try) 2>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }; }; then
10435 ac_compiler_gnu
=yes
10437 echo "$as_me: failed program was:" >&5
10438 sed 's/^/| /' conftest.
$ac_ext >&5
10442 rm -f conftest.
$ac_objext conftest.
$ac_ext
10443 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10446 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10447 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10448 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10449 ac_test_CFLAGS
=${CFLAGS+set}
10450 ac_save_CFLAGS
=$CFLAGS
10452 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10453 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10454 if test "${ac_cv_prog_cc_g+set}" = set; then
10455 echo $ECHO_N "(cached) $ECHO_C" >&6
10457 cat >conftest.
$ac_ext <<_ACEOF
10458 #line $LINENO "configure"
10461 cat confdefs.h
>>conftest.
$ac_ext
10462 cat >>conftest.
$ac_ext <<_ACEOF
10463 /* end confdefs.h. */
10473 rm -f conftest.
$ac_objext
10474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10475 (eval $ac_compile) 2>&5
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); } &&
10479 { ac_try
='test -s conftest.$ac_objext'
10480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10481 (eval $ac_try) 2>&5
10483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10484 (exit $ac_status); }; }; then
10485 ac_cv_prog_cc_g
=yes
10487 echo "$as_me: failed program was:" >&5
10488 sed 's/^/| /' conftest.
$ac_ext >&5
10492 rm -f conftest.
$ac_objext conftest.
$ac_ext
10494 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10495 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10496 if test "$ac_test_CFLAGS" = set; then
10497 CFLAGS
=$ac_save_CFLAGS
10498 elif test $ac_cv_prog_cc_g = yes; then
10499 if test "$GCC" = yes; then
10505 if test "$GCC" = yes; then
10511 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10512 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10513 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10514 echo $ECHO_N "(cached) $ECHO_C" >&6
10516 ac_cv_prog_cc_stdc
=no
10518 cat >conftest.
$ac_ext <<_ACEOF
10519 #line $LINENO "configure"
10522 cat confdefs.h
>>conftest.
$ac_ext
10523 cat >>conftest.
$ac_ext <<_ACEOF
10524 /* end confdefs.h. */
10525 #include <stdarg.h>
10527 #include <sys/types.h>
10528 #include <sys/stat.h>
10529 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10530 struct buf { int x; };
10531 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10532 static char *e (p, i)
10538 static char *f (char * (*g) (char **, int), char **p, ...)
10543 s = g (p, va_arg (v,int));
10547 int test (int i, double x);
10548 struct s1 {int (*f) (int a);};
10549 struct s2 {int (*f) (double a);};
10550 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10556 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10561 # Don't try gcc -ansi; that turns off useful extensions and
10562 # breaks some systems' header files.
10563 # AIX -qlanglvl=ansi
10564 # Ultrix and OSF/1 -std1
10565 # HP-UX 10.20 and later -Ae
10566 # HP-UX older versions -Aa -D_HPUX_SOURCE
10567 # SVR4 -Xc -D__EXTENSIONS__
10568 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10570 CC
="$ac_save_CC $ac_arg"
10571 rm -f conftest.
$ac_objext
10572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10573 (eval $ac_compile) 2>&5
10575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10576 (exit $ac_status); } &&
10577 { ac_try
='test -s conftest.$ac_objext'
10578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10579 (eval $ac_try) 2>&5
10581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582 (exit $ac_status); }; }; then
10583 ac_cv_prog_cc_stdc
=$ac_arg
10586 echo "$as_me: failed program was:" >&5
10587 sed 's/^/| /' conftest.
$ac_ext >&5
10590 rm -f conftest.
$ac_objext
10592 rm -f conftest.
$ac_ext conftest.
$ac_objext
10597 case "x$ac_cv_prog_cc_stdc" in
10599 echo "$as_me:$LINENO: result: none needed" >&5
10600 echo "${ECHO_T}none needed" >&6 ;;
10602 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10603 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10604 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10607 # Some people use a C++ compiler to compile C. Since we use `exit',
10608 # in C++ we need to declare it. In case someone uses the same compiler
10609 # for both compiling C and C++ we need to have the C++ compiler decide
10610 # the declaration of exit, since it's the most demanding environment.
10611 cat >conftest.
$ac_ext <<_ACEOF
10612 #ifndef __cplusplus
10616 rm -f conftest.
$ac_objext
10617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10618 (eval $ac_compile) 2>&5
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); } &&
10622 { ac_try
='test -s conftest.$ac_objext'
10623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10624 (eval $ac_try) 2>&5
10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627 (exit $ac_status); }; }; then
10628 for ac_declaration
in \
10630 '#include <stdlib.h>' \
10631 'extern "C" void std::exit (int) throw (); using std::exit;' \
10632 'extern "C" void std::exit (int); using std::exit;' \
10633 'extern "C" void exit (int) throw ();' \
10634 'extern "C" void exit (int);' \
10637 cat >conftest.
$ac_ext <<_ACEOF
10638 #line $LINENO "configure"
10641 cat confdefs.h
>>conftest.
$ac_ext
10642 cat >>conftest.
$ac_ext <<_ACEOF
10643 /* end confdefs.h. */
10644 #include <stdlib.h>
10654 rm -f conftest.
$ac_objext
10655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10656 (eval $ac_compile) 2>&5
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } &&
10660 { ac_try
='test -s conftest.$ac_objext'
10661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10662 (eval $ac_try) 2>&5
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); }; }; then
10668 echo "$as_me: failed program was:" >&5
10669 sed 's/^/| /' conftest.
$ac_ext >&5
10673 rm -f conftest.
$ac_objext conftest.
$ac_ext
10674 cat >conftest.
$ac_ext <<_ACEOF
10675 #line $LINENO "configure"
10678 cat confdefs.h
>>conftest.
$ac_ext
10679 cat >>conftest.
$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10690 rm -f conftest.
$ac_objext
10691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10692 (eval $ac_compile) 2>&5
10694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10695 (exit $ac_status); } &&
10696 { ac_try
='test -s conftest.$ac_objext'
10697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10698 (eval $ac_try) 2>&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); }; }; then
10704 echo "$as_me: failed program was:" >&5
10705 sed 's/^/| /' conftest.
$ac_ext >&5
10708 rm -f conftest.
$ac_objext conftest.
$ac_ext
10711 if test -n "$ac_declaration"; then
10712 echo '#ifdef __cplusplus' >>confdefs.h
10713 echo $ac_declaration >>confdefs.h
10714 echo '#endif' >>confdefs.h
10718 echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.
$ac_ext >&5
10722 rm -f conftest.
$ac_objext conftest.
$ac_ext
10724 ac_cpp
='$CPP $CPPFLAGS'
10725 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10726 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10727 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10732 ac_cpp
='$CPP $CPPFLAGS'
10733 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10734 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10735 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10736 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10737 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10738 # On Suns, sometimes $CPP names a directory.
10739 if test -n "$CPP" && test -d "$CPP"; then
10742 if test -z "$CPP"; then
10743 if test "${ac_cv_prog_CPP+set}" = set; then
10744 echo $ECHO_N "(cached) $ECHO_C" >&6
10746 # Double quotes because CPP needs to be expanded
10747 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10749 ac_preproc_ok
=false
10750 for ac_c_preproc_warn_flag
in '' yes
10752 # Use a header file that comes with gcc, so configuring glibc
10753 # with a fresh cross-compiler works.
10754 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10755 # <limits.h> exists even on freestanding compilers.
10756 # On the NeXT, cc -E runs the code through the compiler's parser,
10757 # not just through cpp. "Syntax error" is here to catch this case.
10758 cat >conftest.
$ac_ext <<_ACEOF
10759 #line $LINENO "configure"
10762 cat confdefs.h
>>conftest.
$ac_ext
10763 cat >>conftest.
$ac_ext <<_ACEOF
10764 /* end confdefs.h. */
10766 # include <limits.h>
10768 # include <assert.h>
10772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10773 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10775 grep -v '^ *+' conftest.er1
>conftest.err
10777 cat conftest.err
>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); } >/dev
/null
; then
10780 if test -s conftest.err
; then
10781 ac_cpp_err
=$ac_c_preproc_warn_flag
10788 if test -z "$ac_cpp_err"; then
10791 echo "$as_me: failed program was:" >&5
10792 sed 's/^/| /' conftest.
$ac_ext >&5
10794 # Broken: fails on valid input.
10797 rm -f conftest.err conftest.
$ac_ext
10799 # OK, works on sane cases. Now check whether non-existent headers
10800 # can be detected and how.
10801 cat >conftest.
$ac_ext <<_ACEOF
10802 #line $LINENO "configure"
10805 cat confdefs.h
>>conftest.
$ac_ext
10806 cat >>conftest.
$ac_ext <<_ACEOF
10807 /* end confdefs.h. */
10808 #include <ac_nonexistent.h>
10810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10811 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10813 grep -v '^ *+' conftest.er1
>conftest.err
10815 cat conftest.err
>&5
10816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817 (exit $ac_status); } >/dev
/null
; then
10818 if test -s conftest.err
; then
10819 ac_cpp_err
=$ac_c_preproc_warn_flag
10826 if test -z "$ac_cpp_err"; then
10827 # Broken: success on invalid input.
10830 echo "$as_me: failed program was:" >&5
10831 sed 's/^/| /' conftest.
$ac_ext >&5
10833 # Passes both tests.
10837 rm -f conftest.err conftest.
$ac_ext
10840 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10841 rm -f conftest.err conftest.
$ac_ext
10842 if $ac_preproc_ok; then
10847 ac_cv_prog_CPP
=$CPP
10850 CPP
=$ac_cv_prog_CPP
10852 ac_cv_prog_CPP
=$CPP
10854 echo "$as_me:$LINENO: result: $CPP" >&5
10855 echo "${ECHO_T}$CPP" >&6
10856 ac_preproc_ok
=false
10857 for ac_c_preproc_warn_flag
in '' yes
10859 # Use a header file that comes with gcc, so configuring glibc
10860 # with a fresh cross-compiler works.
10861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10862 # <limits.h> exists even on freestanding compilers.
10863 # On the NeXT, cc -E runs the code through the compiler's parser,
10864 # not just through cpp. "Syntax error" is here to catch this case.
10865 cat >conftest.
$ac_ext <<_ACEOF
10866 #line $LINENO "configure"
10869 cat confdefs.h
>>conftest.
$ac_ext
10870 cat >>conftest.
$ac_ext <<_ACEOF
10871 /* end confdefs.h. */
10873 # include <limits.h>
10875 # include <assert.h>
10879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10880 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10882 grep -v '^ *+' conftest.er1
>conftest.err
10884 cat conftest.err
>&5
10885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886 (exit $ac_status); } >/dev
/null
; then
10887 if test -s conftest.err
; then
10888 ac_cpp_err
=$ac_c_preproc_warn_flag
10895 if test -z "$ac_cpp_err"; then
10898 echo "$as_me: failed program was:" >&5
10899 sed 's/^/| /' conftest.
$ac_ext >&5
10901 # Broken: fails on valid input.
10904 rm -f conftest.err conftest.
$ac_ext
10906 # OK, works on sane cases. Now check whether non-existent headers
10907 # can be detected and how.
10908 cat >conftest.
$ac_ext <<_ACEOF
10909 #line $LINENO "configure"
10912 cat confdefs.h
>>conftest.
$ac_ext
10913 cat >>conftest.
$ac_ext <<_ACEOF
10914 /* end confdefs.h. */
10915 #include <ac_nonexistent.h>
10917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10918 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10920 grep -v '^ *+' conftest.er1
>conftest.err
10922 cat conftest.err
>&5
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); } >/dev
/null
; then
10925 if test -s conftest.err
; then
10926 ac_cpp_err
=$ac_c_preproc_warn_flag
10933 if test -z "$ac_cpp_err"; then
10934 # Broken: success on invalid input.
10937 echo "$as_me: failed program was:" >&5
10938 sed 's/^/| /' conftest.
$ac_ext >&5
10940 # Passes both tests.
10944 rm -f conftest.err conftest.
$ac_ext
10947 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10948 rm -f conftest.err conftest.
$ac_ext
10949 if $ac_preproc_ok; then
10952 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10953 See \`config.log' for more details." >&5
10954 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10955 See \`config.log' for more details." >&2;}
10956 { (exit 1); exit 1; }; }
10960 ac_cpp
='$CPP $CPPFLAGS'
10961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10966 echo "$as_me:$LINENO: checking for egrep" >&5
10967 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10968 if test "${ac_cv_prog_egrep+set}" = set; then
10969 echo $ECHO_N "(cached) $ECHO_C" >&6
10971 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10972 then ac_cv_prog_egrep
='grep -E'
10973 else ac_cv_prog_egrep
='egrep'
10976 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10977 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10978 EGREP
=$ac_cv_prog_egrep
10981 if test $ac_cv_c_compiler_gnu = yes; then
10982 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10983 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10984 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6
10987 ac_pattern
="Autoconf.*'x'"
10988 cat >conftest.
$ac_ext <<_ACEOF
10989 #line $LINENO "configure"
10992 cat confdefs.h
>>conftest.
$ac_ext
10993 cat >>conftest.
$ac_ext <<_ACEOF
10994 /* end confdefs.h. */
10998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10999 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11000 ac_cv_prog_gcc_traditional
=yes
11002 ac_cv_prog_gcc_traditional
=no
11007 if test $ac_cv_prog_gcc_traditional = no
; then
11008 cat >conftest.
$ac_ext <<_ACEOF
11009 #line $LINENO "configure"
11012 cat confdefs.h
>>conftest.
$ac_ext
11013 cat >>conftest.
$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11015 #include <termio.h>
11018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11019 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11020 ac_cv_prog_gcc_traditional
=yes
11026 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11027 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11028 if test $ac_cv_prog_gcc_traditional = yes; then
11029 CC
="$CC -traditional"
11037 ac_cpp
='$CXXCPP $CPPFLAGS'
11038 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11039 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11040 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11043 CXXFLAGS
=${CXXFLAGS:=}
11045 ac_cpp
='$CXXCPP $CPPFLAGS'
11046 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11047 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11048 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11049 if test -n "$ac_tool_prefix"; then
11050 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11052 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11053 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11054 echo "$as_me:$LINENO: checking for $ac_word" >&5
11055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11056 if test "${ac_cv_prog_CXX+set}" = set; then
11057 echo $ECHO_N "(cached) $ECHO_C" >&6
11059 if test -n "$CXX"; then
11060 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11063 for as_dir
in $PATH
11066 test -z "$as_dir" && as_dir
=.
11067 for ac_exec_ext
in '' $ac_executable_extensions; do
11068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11069 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11078 CXX
=$ac_cv_prog_CXX
11079 if test -n "$CXX"; then
11080 echo "$as_me:$LINENO: result: $CXX" >&5
11081 echo "${ECHO_T}$CXX" >&6
11083 echo "$as_me:$LINENO: result: no" >&5
11084 echo "${ECHO_T}no" >&6
11087 test -n "$CXX" && break
11090 if test -z "$CXX"; then
11092 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11094 # Extract the first word of "$ac_prog", so it can be a program name with args.
11095 set dummy
$ac_prog; ac_word
=$2
11096 echo "$as_me:$LINENO: checking for $ac_word" >&5
11097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11098 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11099 echo $ECHO_N "(cached) $ECHO_C" >&6
11101 if test -n "$ac_ct_CXX"; then
11102 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11105 for as_dir
in $PATH
11108 test -z "$as_dir" && as_dir
=.
11109 for ac_exec_ext
in '' $ac_executable_extensions; do
11110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11111 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11120 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11121 if test -n "$ac_ct_CXX"; then
11122 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11123 echo "${ECHO_T}$ac_ct_CXX" >&6
11125 echo "$as_me:$LINENO: result: no" >&5
11126 echo "${ECHO_T}no" >&6
11129 test -n "$ac_ct_CXX" && break
11131 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11137 # Provide some information about the compiler.
11138 echo "$as_me:$LINENO:" \
11139 "checking for C++ compiler version" >&5
11140 ac_compiler
=`set X $ac_compile; echo $2`
11141 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11142 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); }
11146 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11147 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); }
11151 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11152 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); }
11157 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11158 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11159 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11160 echo $ECHO_N "(cached) $ECHO_C" >&6
11162 cat >conftest.
$ac_ext <<_ACEOF
11163 #line $LINENO "configure"
11166 cat confdefs.h
>>conftest.
$ac_ext
11167 cat >>conftest.
$ac_ext <<_ACEOF
11168 /* end confdefs.h. */
11181 rm -f conftest.
$ac_objext
11182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11183 (eval $ac_compile) 2>&5
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); } &&
11187 { ac_try
='test -s conftest.$ac_objext'
11188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11189 (eval $ac_try) 2>&5
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }; }; then
11193 ac_compiler_gnu
=yes
11195 echo "$as_me: failed program was:" >&5
11196 sed 's/^/| /' conftest.
$ac_ext >&5
11200 rm -f conftest.
$ac_objext conftest.
$ac_ext
11201 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11204 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11205 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11206 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11207 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11208 ac_save_CXXFLAGS
=$CXXFLAGS
11210 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11211 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11212 if test "${ac_cv_prog_cxx_g+set}" = set; then
11213 echo $ECHO_N "(cached) $ECHO_C" >&6
11215 cat >conftest.
$ac_ext <<_ACEOF
11216 #line $LINENO "configure"
11219 cat confdefs.h
>>conftest.
$ac_ext
11220 cat >>conftest.
$ac_ext <<_ACEOF
11221 /* end confdefs.h. */
11231 rm -f conftest.
$ac_objext
11232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11233 (eval $ac_compile) 2>&5
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); } &&
11237 { ac_try
='test -s conftest.$ac_objext'
11238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239 (eval $ac_try) 2>&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); }; }; then
11243 ac_cv_prog_cxx_g
=yes
11245 echo "$as_me: failed program was:" >&5
11246 sed 's/^/| /' conftest.
$ac_ext >&5
11248 ac_cv_prog_cxx_g
=no
11250 rm -f conftest.
$ac_objext conftest.
$ac_ext
11252 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11253 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11254 if test "$ac_test_CXXFLAGS" = set; then
11255 CXXFLAGS
=$ac_save_CXXFLAGS
11256 elif test $ac_cv_prog_cxx_g = yes; then
11257 if test "$GXX" = yes; then
11263 if test "$GXX" = yes; then
11269 for ac_declaration
in \
11271 '#include <stdlib.h>' \
11272 'extern "C" void std::exit (int) throw (); using std::exit;' \
11273 'extern "C" void std::exit (int); using std::exit;' \
11274 'extern "C" void exit (int) throw ();' \
11275 'extern "C" void exit (int);' \
11278 cat >conftest.
$ac_ext <<_ACEOF
11279 #line $LINENO "configure"
11282 cat confdefs.h
>>conftest.
$ac_ext
11283 cat >>conftest.
$ac_ext <<_ACEOF
11284 /* end confdefs.h. */
11285 #include <stdlib.h>
11295 rm -f conftest.
$ac_objext
11296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11297 (eval $ac_compile) 2>&5
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); } &&
11301 { ac_try
='test -s conftest.$ac_objext'
11302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11303 (eval $ac_try) 2>&5
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); }; }; then
11309 echo "$as_me: failed program was:" >&5
11310 sed 's/^/| /' conftest.
$ac_ext >&5
11314 rm -f conftest.
$ac_objext conftest.
$ac_ext
11315 cat >conftest.
$ac_ext <<_ACEOF
11316 #line $LINENO "configure"
11319 cat confdefs.h
>>conftest.
$ac_ext
11320 cat >>conftest.
$ac_ext <<_ACEOF
11321 /* end confdefs.h. */
11331 rm -f conftest.
$ac_objext
11332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11333 (eval $ac_compile) 2>&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); } &&
11337 { ac_try
='test -s conftest.$ac_objext'
11338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11339 (eval $ac_try) 2>&5
11341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); }; }; then
11345 echo "$as_me: failed program was:" >&5
11346 sed 's/^/| /' conftest.
$ac_ext >&5
11349 rm -f conftest.
$ac_objext conftest.
$ac_ext
11352 if test -n "$ac_declaration"; then
11353 echo '#ifdef __cplusplus' >>confdefs.h
11354 echo $ac_declaration >>confdefs.h
11355 echo '#endif' >>confdefs.h
11359 ac_cpp
='$CXXCPP $CPPFLAGS'
11360 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11361 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11362 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11366 ac_cpp
='$CPP $CPPFLAGS'
11367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11372 if test -n "$ac_tool_prefix"; then
11373 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11374 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11375 echo "$as_me:$LINENO: checking for $ac_word" >&5
11376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11377 if test "${ac_cv_prog_RANLIB+set}" = set; then
11378 echo $ECHO_N "(cached) $ECHO_C" >&6
11380 if test -n "$RANLIB"; then
11381 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11384 for as_dir
in $PATH
11387 test -z "$as_dir" && as_dir
=.
11388 for ac_exec_ext
in '' $ac_executable_extensions; do
11389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11390 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11399 RANLIB
=$ac_cv_prog_RANLIB
11400 if test -n "$RANLIB"; then
11401 echo "$as_me:$LINENO: result: $RANLIB" >&5
11402 echo "${ECHO_T}$RANLIB" >&6
11404 echo "$as_me:$LINENO: result: no" >&5
11405 echo "${ECHO_T}no" >&6
11409 if test -z "$ac_cv_prog_RANLIB"; then
11410 ac_ct_RANLIB
=$RANLIB
11411 # Extract the first word of "ranlib", so it can be a program name with args.
11412 set dummy ranlib
; ac_word
=$2
11413 echo "$as_me:$LINENO: checking for $ac_word" >&5
11414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11415 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11416 echo $ECHO_N "(cached) $ECHO_C" >&6
11418 if test -n "$ac_ct_RANLIB"; then
11419 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11422 for as_dir
in $PATH
11425 test -z "$as_dir" && as_dir
=.
11426 for ac_exec_ext
in '' $ac_executable_extensions; do
11427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11428 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11435 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11438 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11439 if test -n "$ac_ct_RANLIB"; then
11440 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11441 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11443 echo "$as_me:$LINENO: result: no" >&5
11444 echo "${ECHO_T}no" >&6
11447 RANLIB
=$ac_ct_RANLIB
11449 RANLIB
="$ac_cv_prog_RANLIB"
11453 # Extract the first word of "ar", so it can be a program name with args.
11454 set dummy
ar; ac_word
=$2
11455 echo "$as_me:$LINENO: checking for $ac_word" >&5
11456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11457 if test "${ac_cv_prog_AR+set}" = set; then
11458 echo $ECHO_N "(cached) $ECHO_C" >&6
11460 if test -n "$AR"; then
11461 ac_cv_prog_AR
="$AR" # Let the user override the test.
11463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11464 for as_dir
in $PATH
11467 test -z "$as_dir" && as_dir
=.
11468 for ac_exec_ext
in '' $ac_executable_extensions; do
11469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11480 if test -n "$AR"; then
11481 echo "$as_me:$LINENO: result: $AR" >&5
11482 echo "${ECHO_T}$AR" >&6
11484 echo "$as_me:$LINENO: result: no" >&5
11485 echo "${ECHO_T}no" >&6
11488 if test "x$AR" = "x" ; then
11489 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11490 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11491 { (exit 1); exit 1; }; }
11494 # Find a good install program. We prefer a C program (faster),
11495 # so one script is as good as another. But avoid the broken or
11496 # incompatible versions:
11497 # SysV /etc/install, /usr/sbin/install
11498 # SunOS /usr/etc/install
11499 # IRIX /sbin/install
11501 # AmigaOS /C/install, which installs bootblocks on floppy discs
11502 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11503 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11504 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11505 # ./install, which can be erroneously created by make from ./install.sh.
11506 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11507 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11508 if test -z "$INSTALL"; then
11509 if test "${ac_cv_path_install+set}" = set; then
11510 echo $ECHO_N "(cached) $ECHO_C" >&6
11512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11513 for as_dir
in $PATH
11516 test -z "$as_dir" && as_dir
=.
11517 # Account for people who put trailing slashes in PATH elements.
11519 .
/ | .
// | /cC
/* | \
11520 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11523 # OSF1 and SCO ODT 3.0 have their own names for install.
11524 # Don't use installbsd from OSF since it installs stuff as root
11526 for ac_prog
in ginstall scoinst
install; do
11527 for ac_exec_ext
in '' $ac_executable_extensions; do
11528 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11529 if test $ac_prog = install &&
11530 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11531 # AIX install. It has an incompatible calling convention.
11533 elif test $ac_prog = install &&
11534 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11535 # program-specific install script used by HP pwplus--don't use.
11538 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11550 if test "${ac_cv_path_install+set}" = set; then
11551 INSTALL
=$ac_cv_path_install
11553 # As a last resort, use the slow shell script. We don't cache a
11554 # path for INSTALL within a source directory, because that will
11555 # break other packages using the cache if that directory is
11556 # removed, or if the path is relative.
11557 INSTALL
=$ac_install_sh
11560 echo "$as_me:$LINENO: result: $INSTALL" >&5
11561 echo "${ECHO_T}$INSTALL" >&6
11563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11564 # It thinks the first close brace ends the variable substitution.
11565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11569 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11575 ?
:* ) # Drive letter, considered as absolute.
11578 INSTALL
=`pwd`/${INSTALL} ;;
11583 INSTALL_DIR
="mkdir"
11586 *) INSTALL_DIR
="$INSTALL -d"
11593 powerpc
-*-darwin* )
11594 INSTALL_PROGRAM
="cp -fp"
11595 INSTALL_DATA
="cp -fp"
11601 # Extract the first word of "strip", so it can be a program name with args.
11602 set dummy strip
; ac_word
=$2
11603 echo "$as_me:$LINENO: checking for $ac_word" >&5
11604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11605 if test "${ac_cv_prog_STRIP+set}" = set; then
11606 echo $ECHO_N "(cached) $ECHO_C" >&6
11608 if test -n "$STRIP"; then
11609 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11612 for as_dir
in $PATH
11615 test -z "$as_dir" && as_dir
=.
11616 for ac_exec_ext
in '' $ac_executable_extensions; do
11617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11618 ac_cv_prog_STRIP
="strip"
11619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11625 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11628 STRIP
=$ac_cv_prog_STRIP
11629 if test -n "$STRIP"; then
11630 echo "$as_me:$LINENO: result: $STRIP" >&5
11631 echo "${ECHO_T}$STRIP" >&6
11633 echo "$as_me:$LINENO: result: no" >&5
11634 echo "${ECHO_T}no" >&6
11638 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11639 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11640 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11641 echo $ECHO_N "(cached) $ECHO_C" >&6
11644 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11645 egrep -s GNU
> /dev
/null
); then
11646 wx_cv_prog_makeisgnu
="yes"
11648 wx_cv_prog_makeisgnu
="no"
11652 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11653 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11655 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11663 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11664 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11665 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11666 if test "${wx_cv_prog_makevpath+set}" = set; then
11667 echo $ECHO_N "(cached) $ECHO_C" >&6
11670 cat - << EOF > confMake
11676 if test ! -d sub
; then
11679 echo dummy
> sub
/file
11680 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11682 rm -f sub
/file check final_file confMake
11684 if test "$RESULT" = 0; then
11685 wx_cv_prog_makevpath
="yes"
11687 wx_cv_prog_makevpath
="no"
11691 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11692 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11694 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11695 { { echo "$as_me:$LINENO: error:
11696 You need a make-utility that is able to use the variable
11698 If your version of make does not support VPATH correctly,
11699 please install GNU-make (possibly as gmake), and start
11700 configure with the following command:
11701 export MAKE=gmake; ./configure for sh-type shells
11702 setenv MAKE gmake; ./configure for csh-type shells
11703 Also please do remember to use gmake in this case every time
11704 you are trying to compile.
11706 echo "$as_me: error:
11707 You need a make-utility that is able to use the variable
11709 If your version of make does not support VPATH correctly,
11710 please install GNU-make (possibly as gmake), and start
11711 configure with the following command:
11712 export MAKE=gmake; ./configure for sh-type shells
11713 setenv MAKE gmake; ./configure for csh-type shells
11714 Also please do remember to use gmake in this case every time
11715 you are trying to compile.
11717 { (exit 1); exit 1; }; }
11719 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11720 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11722 if test "$LN_S" = "ln -s"; then
11723 echo "$as_me:$LINENO: result: yes" >&5
11724 echo "${ECHO_T}yes" >&6
11726 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11727 echo "${ECHO_T}no, using $LN_S" >&6
11732 *-pc-os2_emx | *-pc-os2-emx )
11733 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11734 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11735 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11736 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11737 echo $ECHO_N "(cached) $ECHO_C" >&6
11739 ac_check_lib_save_LIBS
=$LIBS
11740 LIBS
="-lcExt $LIBS"
11741 cat >conftest.
$ac_ext <<_ACEOF
11742 #line $LINENO "configure"
11745 cat confdefs.h
>>conftest.
$ac_ext
11746 cat >>conftest.
$ac_ext <<_ACEOF
11747 /* end confdefs.h. */
11749 /* Override any gcc2 internal prototype to avoid an error. */
11753 /* We use char because int might match the return type of a gcc2
11754 builtin and then its argument prototype would still apply. */
11764 rm -f conftest.
$ac_objext conftest
$ac_exeext
11765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11766 (eval $ac_link) 2>&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } &&
11770 { ac_try
='test -s conftest$ac_exeext'
11771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11772 (eval $ac_try) 2>&5
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); }; }; then
11776 ac_cv_lib_cExt_drand48
=yes
11778 echo "$as_me: failed program was:" >&5
11779 sed 's/^/| /' conftest.
$ac_ext >&5
11781 ac_cv_lib_cExt_drand48
=no
11783 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11784 LIBS
=$ac_check_lib_save_LIBS
11786 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11787 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11788 if test $ac_cv_lib_cExt_drand48 = yes; then
11789 LIBS
="$LIBS -lcExt"
11793 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11795 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11796 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11797 if test "${wx_cv_gcc3+set}" = set; then
11798 echo $ECHO_N "(cached) $ECHO_C" >&6
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. */
11821 rm -f conftest.
$ac_objext
11822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11823 (eval $ac_compile) 2>&5
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); } &&
11827 { ac_try
='test -s conftest.$ac_objext'
11828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11829 (eval $ac_try) 2>&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); }; }; then
11837 echo "$as_me: failed program was:" >&5
11838 sed 's/^/| /' conftest.
$ac_ext >&5
11845 rm -f conftest.
$ac_objext conftest.
$ac_ext
11848 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11849 echo "${ECHO_T}$wx_cv_gcc3" >&6
11850 if test "$wx_cv_gcc3" = "no"; then
11851 LIBS
="$LIBS -lstdcpp"
11853 LIBS
="$LIBS -lstdcxx"
11859 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11860 echo "$as_me:$LINENO: checking for strings.h" >&5
11861 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11862 if test "${ac_cv_header_strings_h+set}" = set; then
11863 echo $ECHO_N "(cached) $ECHO_C" >&6
11865 ac_cv_header_strings_h
=no
11867 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11868 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11869 if test "$ac_cv_header_strings_h" = "no"; then
11870 echo "$as_me:$LINENO: result: forced no into cache" >&5
11871 echo "${ECHO_T}forced no into cache" >&6
11873 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11874 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11877 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11878 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11879 if test "${ac_cv_header_stdc+set}" = set; then
11880 echo $ECHO_N "(cached) $ECHO_C" >&6
11882 cat >conftest.
$ac_ext <<_ACEOF
11883 #line $LINENO "configure"
11886 cat confdefs.h
>>conftest.
$ac_ext
11887 cat >>conftest.
$ac_ext <<_ACEOF
11888 /* end confdefs.h. */
11889 #include <stdlib.h>
11890 #include <stdarg.h>
11891 #include <string.h>
11902 rm -f conftest.
$ac_objext
11903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11904 (eval $ac_compile) 2>&5
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); } &&
11908 { ac_try
='test -s conftest.$ac_objext'
11909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11910 (eval $ac_try) 2>&5
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); }; }; then
11914 ac_cv_header_stdc
=yes
11916 echo "$as_me: failed program was:" >&5
11917 sed 's/^/| /' conftest.
$ac_ext >&5
11919 ac_cv_header_stdc
=no
11921 rm -f conftest.
$ac_objext conftest.
$ac_ext
11923 if test $ac_cv_header_stdc = yes; then
11924 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11925 cat >conftest.
$ac_ext <<_ACEOF
11926 #line $LINENO "configure"
11929 cat confdefs.h
>>conftest.
$ac_ext
11930 cat >>conftest.
$ac_ext <<_ACEOF
11931 /* end confdefs.h. */
11932 #include <string.h>
11935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11936 $EGREP "memchr" >/dev
/null
2>&1; then
11939 ac_cv_header_stdc
=no
11945 if test $ac_cv_header_stdc = yes; then
11946 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11947 cat >conftest.
$ac_ext <<_ACEOF
11948 #line $LINENO "configure"
11951 cat confdefs.h
>>conftest.
$ac_ext
11952 cat >>conftest.
$ac_ext <<_ACEOF
11953 /* end confdefs.h. */
11954 #include <stdlib.h>
11957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11958 $EGREP "free" >/dev
/null
2>&1; then
11961 ac_cv_header_stdc
=no
11967 if test $ac_cv_header_stdc = yes; then
11968 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11969 if test "$cross_compiling" = yes; then
11972 cat >conftest.
$ac_ext <<_ACEOF
11973 #line $LINENO "configure"
11976 cat confdefs.h
>>conftest.
$ac_ext
11977 cat >>conftest.
$ac_ext <<_ACEOF
11978 /* end confdefs.h. */
11980 #if ((' ' & 0x0FF) == 0x020)
11981 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11982 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11984 # define ISLOWER(c) \
11985 (('a' <= (c) && (c) <= 'i') \
11986 || ('j' <= (c) && (c) <= 'r') \
11987 || ('s' <= (c) && (c) <= 'z'))
11988 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11991 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11996 for (i = 0; i < 256; i++)
11997 if (XOR (islower (i), ISLOWER (i))
11998 || toupper (i) != TOUPPER (i))
12003 rm -f conftest
$ac_exeext
12004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12005 (eval $ac_link) 2>&5
12007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12008 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12010 (eval $ac_try) 2>&5
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); }; }; then
12016 echo "$as_me: program exited with status $ac_status" >&5
12017 echo "$as_me: failed program was:" >&5
12018 sed 's/^/| /' conftest.
$ac_ext >&5
12020 ( exit $ac_status )
12021 ac_cv_header_stdc
=no
12023 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12027 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12028 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12029 if test $ac_cv_header_stdc = yes; then
12031 cat >>confdefs.h
<<\_ACEOF
12032 #define STDC_HEADERS 1
12037 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12047 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12048 inttypes.h stdint.h unistd.h
12050 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12051 echo "$as_me:$LINENO: checking for $ac_header" >&5
12052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12054 echo $ECHO_N "(cached) $ECHO_C" >&6
12056 cat >conftest.
$ac_ext <<_ACEOF
12057 #line $LINENO "configure"
12060 cat confdefs.h
>>conftest.
$ac_ext
12061 cat >>conftest.
$ac_ext <<_ACEOF
12062 /* end confdefs.h. */
12063 $ac_includes_default
12065 #include <$ac_header>
12067 rm -f conftest.
$ac_objext
12068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12069 (eval $ac_compile) 2>&5
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); } &&
12073 { ac_try
='test -s conftest.$ac_objext'
12074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075 (eval $ac_try) 2>&5
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); }; }; then
12079 eval "$as_ac_Header=yes"
12081 echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.
$ac_ext >&5
12084 eval "$as_ac_Header=no"
12086 rm -f conftest.
$ac_objext conftest.
$ac_ext
12088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12091 cat >>confdefs.h
<<_ACEOF
12092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12101 for ac_header
in strings.h
12103 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12105 echo "$as_me:$LINENO: checking for $ac_header" >&5
12106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12108 echo $ECHO_N "(cached) $ECHO_C" >&6
12110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12113 # Is the header compilable?
12114 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12115 echo $ECHO_N "checking $ac_header usability... $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
12124 #include <$ac_header>
12126 rm -f conftest.
$ac_objext
12127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12128 (eval $ac_compile) 2>&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); } &&
12132 { ac_try
='test -s conftest.$ac_objext'
12133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12134 (eval $ac_try) 2>&5
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); }; }; then
12138 ac_header_compiler
=yes
12140 echo "$as_me: failed program was:" >&5
12141 sed 's/^/| /' conftest.
$ac_ext >&5
12143 ac_header_compiler
=no
12145 rm -f conftest.
$ac_objext conftest.
$ac_ext
12146 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12147 echo "${ECHO_T}$ac_header_compiler" >&6
12149 # Is the header present?
12150 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12151 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12152 cat >conftest.
$ac_ext <<_ACEOF
12153 #line $LINENO "configure"
12156 cat confdefs.h
>>conftest.
$ac_ext
12157 cat >>conftest.
$ac_ext <<_ACEOF
12158 /* end confdefs.h. */
12159 #include <$ac_header>
12161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12162 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12164 grep -v '^ *+' conftest.er1
>conftest.err
12166 cat conftest.err
>&5
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); } >/dev
/null
; then
12169 if test -s conftest.err
; then
12170 ac_cpp_err
=$ac_c_preproc_warn_flag
12177 if test -z "$ac_cpp_err"; then
12178 ac_header_preproc
=yes
12180 echo "$as_me: failed program was:" >&5
12181 sed 's/^/| /' conftest.
$ac_ext >&5
12183 ac_header_preproc
=no
12185 rm -f conftest.err conftest.
$ac_ext
12186 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12187 echo "${ECHO_T}$ac_header_preproc" >&6
12189 # So? What about this header?
12190 case $ac_header_compiler:$ac_header_preproc in
12192 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12193 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12198 ## ------------------------------------ ##
12199 ## Report this to bug-autoconf@gnu.org. ##
12200 ## ------------------------------------ ##
12203 sed "s/^/$as_me: WARNING: /" >&2
12206 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12207 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12208 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12209 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12214 ## ------------------------------------ ##
12215 ## Report this to bug-autoconf@gnu.org. ##
12216 ## ------------------------------------ ##
12219 sed "s/^/$as_me: WARNING: /" >&2
12222 echo "$as_me:$LINENO: checking for $ac_header" >&5
12223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12225 echo $ECHO_N "(cached) $ECHO_C" >&6
12227 eval "$as_ac_Header=$ac_header_preproc"
12229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12234 cat >>confdefs.h
<<_ACEOF
12235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12244 for ac_header
in stdlib.h
12246 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12248 echo "$as_me:$LINENO: checking for $ac_header" >&5
12249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12251 echo $ECHO_N "(cached) $ECHO_C" >&6
12253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12256 # Is the header compilable?
12257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12259 cat >conftest.
$ac_ext <<_ACEOF
12260 #line $LINENO "configure"
12263 cat confdefs.h
>>conftest.
$ac_ext
12264 cat >>conftest.
$ac_ext <<_ACEOF
12265 /* end confdefs.h. */
12266 $ac_includes_default
12267 #include <$ac_header>
12269 rm -f conftest.
$ac_objext
12270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12271 (eval $ac_compile) 2>&5
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); } &&
12275 { ac_try
='test -s conftest.$ac_objext'
12276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12277 (eval $ac_try) 2>&5
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); }; }; then
12281 ac_header_compiler
=yes
12283 echo "$as_me: failed program was:" >&5
12284 sed 's/^/| /' conftest.
$ac_ext >&5
12286 ac_header_compiler
=no
12288 rm -f conftest.
$ac_objext conftest.
$ac_ext
12289 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12290 echo "${ECHO_T}$ac_header_compiler" >&6
12292 # Is the header present?
12293 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12294 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12295 cat >conftest.
$ac_ext <<_ACEOF
12296 #line $LINENO "configure"
12299 cat confdefs.h
>>conftest.
$ac_ext
12300 cat >>conftest.
$ac_ext <<_ACEOF
12301 /* end confdefs.h. */
12302 #include <$ac_header>
12304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12305 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12307 grep -v '^ *+' conftest.er1
>conftest.err
12309 cat conftest.err
>&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); } >/dev
/null
; then
12312 if test -s conftest.err
; then
12313 ac_cpp_err
=$ac_c_preproc_warn_flag
12320 if test -z "$ac_cpp_err"; then
12321 ac_header_preproc
=yes
12323 echo "$as_me: failed program was:" >&5
12324 sed 's/^/| /' conftest.
$ac_ext >&5
12326 ac_header_preproc
=no
12328 rm -f conftest.err conftest.
$ac_ext
12329 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12330 echo "${ECHO_T}$ac_header_preproc" >&6
12332 # So? What about this header?
12333 case $ac_header_compiler:$ac_header_preproc in
12335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12341 ## ------------------------------------ ##
12342 ## Report this to bug-autoconf@gnu.org. ##
12343 ## ------------------------------------ ##
12346 sed "s/^/$as_me: WARNING: /" >&2
12349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12354 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12357 ## ------------------------------------ ##
12358 ## Report this to bug-autoconf@gnu.org. ##
12359 ## ------------------------------------ ##
12362 sed "s/^/$as_me: WARNING: /" >&2
12365 echo "$as_me:$LINENO: checking for $ac_header" >&5
12366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12368 echo $ECHO_N "(cached) $ECHO_C" >&6
12370 eval "$as_ac_Header=$ac_header_preproc"
12372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12377 cat >>confdefs.h
<<_ACEOF
12378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12386 for ac_header
in malloc.h
12388 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12390 echo "$as_me:$LINENO: checking for $ac_header" >&5
12391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12393 echo $ECHO_N "(cached) $ECHO_C" >&6
12395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12398 # Is the header compilable?
12399 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12400 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12401 cat >conftest.
$ac_ext <<_ACEOF
12402 #line $LINENO "configure"
12405 cat confdefs.h
>>conftest.
$ac_ext
12406 cat >>conftest.
$ac_ext <<_ACEOF
12407 /* end confdefs.h. */
12408 $ac_includes_default
12409 #include <$ac_header>
12411 rm -f conftest.
$ac_objext
12412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12413 (eval $ac_compile) 2>&5
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); } &&
12417 { ac_try
='test -s conftest.$ac_objext'
12418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12419 (eval $ac_try) 2>&5
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); }; }; then
12423 ac_header_compiler
=yes
12425 echo "$as_me: failed program was:" >&5
12426 sed 's/^/| /' conftest.
$ac_ext >&5
12428 ac_header_compiler
=no
12430 rm -f conftest.
$ac_objext conftest.
$ac_ext
12431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12432 echo "${ECHO_T}$ac_header_compiler" >&6
12434 # Is the header present?
12435 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12437 cat >conftest.
$ac_ext <<_ACEOF
12438 #line $LINENO "configure"
12441 cat confdefs.h
>>conftest.
$ac_ext
12442 cat >>conftest.
$ac_ext <<_ACEOF
12443 /* end confdefs.h. */
12444 #include <$ac_header>
12446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12447 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12449 grep -v '^ *+' conftest.er1
>conftest.err
12451 cat conftest.err
>&5
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); } >/dev
/null
; then
12454 if test -s conftest.err
; then
12455 ac_cpp_err
=$ac_c_preproc_warn_flag
12462 if test -z "$ac_cpp_err"; then
12463 ac_header_preproc
=yes
12465 echo "$as_me: failed program was:" >&5
12466 sed 's/^/| /' conftest.
$ac_ext >&5
12468 ac_header_preproc
=no
12470 rm -f conftest.err conftest.
$ac_ext
12471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12472 echo "${ECHO_T}$ac_header_preproc" >&6
12474 # So? What about this header?
12475 case $ac_header_compiler:$ac_header_preproc in
12477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12478 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12483 ## ------------------------------------ ##
12484 ## Report this to bug-autoconf@gnu.org. ##
12485 ## ------------------------------------ ##
12488 sed "s/^/$as_me: WARNING: /" >&2
12491 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12492 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12493 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12494 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12496 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12499 ## ------------------------------------ ##
12500 ## Report this to bug-autoconf@gnu.org. ##
12501 ## ------------------------------------ ##
12504 sed "s/^/$as_me: WARNING: /" >&2
12507 echo "$as_me:$LINENO: checking for $ac_header" >&5
12508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12510 echo $ECHO_N "(cached) $ECHO_C" >&6
12512 eval "$as_ac_Header=$ac_header_preproc"
12514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12518 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12519 cat >>confdefs.h
<<_ACEOF
12520 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12528 for ac_header
in unistd.h
12530 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12532 echo "$as_me:$LINENO: checking for $ac_header" >&5
12533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12535 echo $ECHO_N "(cached) $ECHO_C" >&6
12537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12540 # Is the header compilable?
12541 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12542 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12543 cat >conftest.
$ac_ext <<_ACEOF
12544 #line $LINENO "configure"
12547 cat confdefs.h
>>conftest.
$ac_ext
12548 cat >>conftest.
$ac_ext <<_ACEOF
12549 /* end confdefs.h. */
12550 $ac_includes_default
12551 #include <$ac_header>
12553 rm -f conftest.
$ac_objext
12554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12555 (eval $ac_compile) 2>&5
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); } &&
12559 { ac_try
='test -s conftest.$ac_objext'
12560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12561 (eval $ac_try) 2>&5
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); }; }; then
12565 ac_header_compiler
=yes
12567 echo "$as_me: failed program was:" >&5
12568 sed 's/^/| /' conftest.
$ac_ext >&5
12570 ac_header_compiler
=no
12572 rm -f conftest.
$ac_objext conftest.
$ac_ext
12573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12574 echo "${ECHO_T}$ac_header_compiler" >&6
12576 # Is the header present?
12577 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12579 cat >conftest.
$ac_ext <<_ACEOF
12580 #line $LINENO "configure"
12583 cat confdefs.h
>>conftest.
$ac_ext
12584 cat >>conftest.
$ac_ext <<_ACEOF
12585 /* end confdefs.h. */
12586 #include <$ac_header>
12588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12589 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12591 grep -v '^ *+' conftest.er1
>conftest.err
12593 cat conftest.err
>&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } >/dev
/null
; then
12596 if test -s conftest.err
; then
12597 ac_cpp_err
=$ac_c_preproc_warn_flag
12604 if test -z "$ac_cpp_err"; then
12605 ac_header_preproc
=yes
12607 echo "$as_me: failed program was:" >&5
12608 sed 's/^/| /' conftest.
$ac_ext >&5
12610 ac_header_preproc
=no
12612 rm -f conftest.err conftest.
$ac_ext
12613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12614 echo "${ECHO_T}$ac_header_preproc" >&6
12616 # So? What about this header?
12617 case $ac_header_compiler:$ac_header_preproc in
12619 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12620 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12625 ## ------------------------------------ ##
12626 ## Report this to bug-autoconf@gnu.org. ##
12627 ## ------------------------------------ ##
12630 sed "s/^/$as_me: WARNING: /" >&2
12633 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12635 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12636 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12641 ## ------------------------------------ ##
12642 ## Report this to bug-autoconf@gnu.org. ##
12643 ## ------------------------------------ ##
12646 sed "s/^/$as_me: WARNING: /" >&2
12649 echo "$as_me:$LINENO: checking for $ac_header" >&5
12650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12652 echo $ECHO_N "(cached) $ECHO_C" >&6
12654 eval "$as_ac_Header=$ac_header_preproc"
12656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12661 cat >>confdefs.h
<<_ACEOF
12662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12670 for ac_header
in wchar.h
12672 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12674 echo "$as_me:$LINENO: checking for $ac_header" >&5
12675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12677 echo $ECHO_N "(cached) $ECHO_C" >&6
12679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12682 # Is the header compilable?
12683 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12684 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12685 cat >conftest.
$ac_ext <<_ACEOF
12686 #line $LINENO "configure"
12689 cat confdefs.h
>>conftest.
$ac_ext
12690 cat >>conftest.
$ac_ext <<_ACEOF
12691 /* end confdefs.h. */
12692 $ac_includes_default
12693 #include <$ac_header>
12695 rm -f conftest.
$ac_objext
12696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12697 (eval $ac_compile) 2>&5
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); } &&
12701 { ac_try
='test -s conftest.$ac_objext'
12702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12703 (eval $ac_try) 2>&5
12705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706 (exit $ac_status); }; }; then
12707 ac_header_compiler
=yes
12709 echo "$as_me: failed program was:" >&5
12710 sed 's/^/| /' conftest.
$ac_ext >&5
12712 ac_header_compiler
=no
12714 rm -f conftest.
$ac_objext conftest.
$ac_ext
12715 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12716 echo "${ECHO_T}$ac_header_compiler" >&6
12718 # Is the header present?
12719 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12720 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12721 cat >conftest.
$ac_ext <<_ACEOF
12722 #line $LINENO "configure"
12725 cat confdefs.h
>>conftest.
$ac_ext
12726 cat >>conftest.
$ac_ext <<_ACEOF
12727 /* end confdefs.h. */
12728 #include <$ac_header>
12730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12731 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12733 grep -v '^ *+' conftest.er1
>conftest.err
12735 cat conftest.err
>&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); } >/dev
/null
; then
12738 if test -s conftest.err
; then
12739 ac_cpp_err
=$ac_c_preproc_warn_flag
12746 if test -z "$ac_cpp_err"; then
12747 ac_header_preproc
=yes
12749 echo "$as_me: failed program was:" >&5
12750 sed 's/^/| /' conftest.
$ac_ext >&5
12752 ac_header_preproc
=no
12754 rm -f conftest.err conftest.
$ac_ext
12755 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12756 echo "${ECHO_T}$ac_header_preproc" >&6
12758 # So? What about this header?
12759 case $ac_header_compiler:$ac_header_preproc in
12761 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12762 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12764 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12767 ## ------------------------------------ ##
12768 ## Report this to bug-autoconf@gnu.org. ##
12769 ## ------------------------------------ ##
12772 sed "s/^/$as_me: WARNING: /" >&2
12775 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12776 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12777 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12778 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12780 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12783 ## ------------------------------------ ##
12784 ## Report this to bug-autoconf@gnu.org. ##
12785 ## ------------------------------------ ##
12788 sed "s/^/$as_me: WARNING: /" >&2
12791 echo "$as_me:$LINENO: checking for $ac_header" >&5
12792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12794 echo $ECHO_N "(cached) $ECHO_C" >&6
12796 eval "$as_ac_Header=$ac_header_preproc"
12798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12803 cat >>confdefs.h
<<_ACEOF
12804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12812 if test "$ac_cv_header_wchar_h" != "yes"; then
12814 for ac_header
in wcstr.h
12816 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12818 echo "$as_me:$LINENO: checking for $ac_header" >&5
12819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12821 echo $ECHO_N "(cached) $ECHO_C" >&6
12823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12826 # Is the header compilable?
12827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12829 cat >conftest.
$ac_ext <<_ACEOF
12830 #line $LINENO "configure"
12833 cat confdefs.h
>>conftest.
$ac_ext
12834 cat >>conftest.
$ac_ext <<_ACEOF
12835 /* end confdefs.h. */
12836 $ac_includes_default
12837 #include <$ac_header>
12839 rm -f conftest.
$ac_objext
12840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12841 (eval $ac_compile) 2>&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } &&
12845 { ac_try
='test -s conftest.$ac_objext'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; }; then
12851 ac_header_compiler
=yes
12853 echo "$as_me: failed program was:" >&5
12854 sed 's/^/| /' conftest.
$ac_ext >&5
12856 ac_header_compiler
=no
12858 rm -f conftest.
$ac_objext conftest.
$ac_ext
12859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12860 echo "${ECHO_T}$ac_header_compiler" >&6
12862 # Is the header present?
12863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12865 cat >conftest.
$ac_ext <<_ACEOF
12866 #line $LINENO "configure"
12869 cat confdefs.h
>>conftest.
$ac_ext
12870 cat >>conftest.
$ac_ext <<_ACEOF
12871 /* end confdefs.h. */
12872 #include <$ac_header>
12874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12875 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12877 grep -v '^ *+' conftest.er1
>conftest.err
12879 cat conftest.err
>&5
12880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); } >/dev
/null
; then
12882 if test -s conftest.err
; then
12883 ac_cpp_err
=$ac_c_preproc_warn_flag
12890 if test -z "$ac_cpp_err"; then
12891 ac_header_preproc
=yes
12893 echo "$as_me: failed program was:" >&5
12894 sed 's/^/| /' conftest.
$ac_ext >&5
12896 ac_header_preproc
=no
12898 rm -f conftest.err conftest.
$ac_ext
12899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12900 echo "${ECHO_T}$ac_header_preproc" >&6
12902 # So? What about this header?
12903 case $ac_header_compiler:$ac_header_preproc in
12905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12911 ## ------------------------------------ ##
12912 ## Report this to bug-autoconf@gnu.org. ##
12913 ## ------------------------------------ ##
12916 sed "s/^/$as_me: WARNING: /" >&2
12919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12927 ## ------------------------------------ ##
12928 ## Report this to bug-autoconf@gnu.org. ##
12929 ## ------------------------------------ ##
12932 sed "s/^/$as_me: WARNING: /" >&2
12935 echo "$as_me:$LINENO: checking for $ac_header" >&5
12936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12938 echo $ECHO_N "(cached) $ECHO_C" >&6
12940 eval "$as_ac_Header=$ac_header_preproc"
12942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12947 cat >>confdefs.h
<<_ACEOF
12948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12958 for ac_header
in fnmatch.h
12960 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12962 echo "$as_me:$LINENO: checking for $ac_header" >&5
12963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12965 echo $ECHO_N "(cached) $ECHO_C" >&6
12967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12970 # Is the header compilable?
12971 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12972 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12973 cat >conftest.
$ac_ext <<_ACEOF
12974 #line $LINENO "configure"
12977 cat confdefs.h
>>conftest.
$ac_ext
12978 cat >>conftest.
$ac_ext <<_ACEOF
12979 /* end confdefs.h. */
12980 $ac_includes_default
12981 #include <$ac_header>
12983 rm -f conftest.
$ac_objext
12984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12985 (eval $ac_compile) 2>&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
12989 { ac_try
='test -s conftest.$ac_objext'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; }; then
12995 ac_header_compiler
=yes
12997 echo "$as_me: failed program was:" >&5
12998 sed 's/^/| /' conftest.
$ac_ext >&5
13000 ac_header_compiler
=no
13002 rm -f conftest.
$ac_objext conftest.
$ac_ext
13003 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13004 echo "${ECHO_T}$ac_header_compiler" >&6
13006 # Is the header present?
13007 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13009 cat >conftest.
$ac_ext <<_ACEOF
13010 #line $LINENO "configure"
13013 cat confdefs.h
>>conftest.
$ac_ext
13014 cat >>conftest.
$ac_ext <<_ACEOF
13015 /* end confdefs.h. */
13016 #include <$ac_header>
13018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13019 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13021 grep -v '^ *+' conftest.er1
>conftest.err
13023 cat conftest.err
>&5
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); } >/dev
/null
; then
13026 if test -s conftest.err
; then
13027 ac_cpp_err
=$ac_c_preproc_warn_flag
13034 if test -z "$ac_cpp_err"; then
13035 ac_header_preproc
=yes
13037 echo "$as_me: failed program was:" >&5
13038 sed 's/^/| /' conftest.
$ac_ext >&5
13040 ac_header_preproc
=no
13042 rm -f conftest.err conftest.
$ac_ext
13043 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13044 echo "${ECHO_T}$ac_header_preproc" >&6
13046 # So? What about this header?
13047 case $ac_header_compiler:$ac_header_preproc in
13049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13055 ## ------------------------------------ ##
13056 ## Report this to bug-autoconf@gnu.org. ##
13057 ## ------------------------------------ ##
13060 sed "s/^/$as_me: WARNING: /" >&2
13063 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13064 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13065 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13066 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13071 ## ------------------------------------ ##
13072 ## Report this to bug-autoconf@gnu.org. ##
13073 ## ------------------------------------ ##
13076 sed "s/^/$as_me: WARNING: /" >&2
13079 echo "$as_me:$LINENO: checking for $ac_header" >&5
13080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13082 echo $ECHO_N "(cached) $ECHO_C" >&6
13084 eval "$as_ac_Header=$ac_header_preproc"
13086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13091 cat >>confdefs.h
<<_ACEOF
13092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13100 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13102 for ac_func
in fnmatch
13104 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13105 echo "$as_me:$LINENO: checking for $ac_func" >&5
13106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13107 if eval "test \"\${$as_ac_var+set}\" = set"; then
13108 echo $ECHO_N "(cached) $ECHO_C" >&6
13110 cat >conftest.
$ac_ext <<_ACEOF
13111 #line $LINENO "configure"
13114 cat confdefs.h
>>conftest.
$ac_ext
13115 cat >>conftest.
$ac_ext <<_ACEOF
13116 /* end confdefs.h. */
13117 /* System header to define __stub macros and hopefully few prototypes,
13118 which can conflict with char $ac_func (); below.
13119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13120 <limits.h> exists even on freestanding compilers. */
13122 # include <limits.h>
13124 # include <assert.h>
13126 /* Override any gcc2 internal prototype to avoid an error. */
13131 /* We use char because int might match the return type of a gcc2
13132 builtin and then its argument prototype would still apply. */
13134 /* The GNU C library defines this for functions which it implements
13135 to always fail with ENOSYS. Some functions are actually named
13136 something starting with __ and the normal name is an alias. */
13137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13140 char (*f) () = $ac_func;
13149 return f != $ac_func;
13154 rm -f conftest.
$ac_objext conftest
$ac_exeext
13155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13156 (eval $ac_link) 2>&5
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); } &&
13160 { ac_try
='test -s conftest$ac_exeext'
13161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13162 (eval $ac_try) 2>&5
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); }; }; then
13166 eval "$as_ac_var=yes"
13168 echo "$as_me: failed program was:" >&5
13169 sed 's/^/| /' conftest.
$ac_ext >&5
13171 eval "$as_ac_var=no"
13173 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13177 if test `eval echo '${'$as_ac_var'}'` = yes; then
13178 cat >>confdefs.h
<<_ACEOF
13179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13188 for ac_header
in langinfo.h
13190 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13192 echo "$as_me:$LINENO: checking for $ac_header" >&5
13193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13195 echo $ECHO_N "(cached) $ECHO_C" >&6
13197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13200 # Is the header compilable?
13201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13203 cat >conftest.
$ac_ext <<_ACEOF
13204 #line $LINENO "configure"
13207 cat confdefs.h
>>conftest.
$ac_ext
13208 cat >>conftest.
$ac_ext <<_ACEOF
13209 /* end confdefs.h. */
13210 $ac_includes_default
13211 #include <$ac_header>
13213 rm -f conftest.
$ac_objext
13214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13215 (eval $ac_compile) 2>&5
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); } &&
13219 { ac_try
='test -s conftest.$ac_objext'
13220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13221 (eval $ac_try) 2>&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); }; }; then
13225 ac_header_compiler
=yes
13227 echo "$as_me: failed program was:" >&5
13228 sed 's/^/| /' conftest.
$ac_ext >&5
13230 ac_header_compiler
=no
13232 rm -f conftest.
$ac_objext conftest.
$ac_ext
13233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13234 echo "${ECHO_T}$ac_header_compiler" >&6
13236 # Is the header present?
13237 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13238 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13239 cat >conftest.
$ac_ext <<_ACEOF
13240 #line $LINENO "configure"
13243 cat confdefs.h
>>conftest.
$ac_ext
13244 cat >>conftest.
$ac_ext <<_ACEOF
13245 /* end confdefs.h. */
13246 #include <$ac_header>
13248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13249 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13251 grep -v '^ *+' conftest.er1
>conftest.err
13253 cat conftest.err
>&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } >/dev
/null
; then
13256 if test -s conftest.err
; then
13257 ac_cpp_err
=$ac_c_preproc_warn_flag
13264 if test -z "$ac_cpp_err"; then
13265 ac_header_preproc
=yes
13267 echo "$as_me: failed program was:" >&5
13268 sed 's/^/| /' conftest.
$ac_ext >&5
13270 ac_header_preproc
=no
13272 rm -f conftest.err conftest.
$ac_ext
13273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13274 echo "${ECHO_T}$ac_header_preproc" >&6
13276 # So? What about this header?
13277 case $ac_header_compiler:$ac_header_preproc in
13279 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13280 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13285 ## ------------------------------------ ##
13286 ## Report this to bug-autoconf@gnu.org. ##
13287 ## ------------------------------------ ##
13290 sed "s/^/$as_me: WARNING: /" >&2
13293 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13294 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13295 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13296 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13301 ## ------------------------------------ ##
13302 ## Report this to bug-autoconf@gnu.org. ##
13303 ## ------------------------------------ ##
13306 sed "s/^/$as_me: WARNING: /" >&2
13309 echo "$as_me:$LINENO: checking for $ac_header" >&5
13310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13314 eval "$as_ac_Header=$ac_header_preproc"
13316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13321 cat >>confdefs.h
<<_ACEOF
13322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13331 *-pc-os2_emx | *-pc-os2-emx )
13332 if test $ac_cv_header_langinfo_h = "yes"; then
13333 LIBS
="$LIBS -lintl"
13338 if test "$wxUSE_GUI" = "yes"; then
13339 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13341 for ac_header
in X
11/Xlib.h
13343 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13345 echo "$as_me:$LINENO: checking for $ac_header" >&5
13346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13348 echo $ECHO_N "(cached) $ECHO_C" >&6
13350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13353 # Is the header compilable?
13354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13356 cat >conftest.
$ac_ext <<_ACEOF
13357 #line $LINENO "configure"
13360 cat confdefs.h
>>conftest.
$ac_ext
13361 cat >>conftest.
$ac_ext <<_ACEOF
13362 /* end confdefs.h. */
13363 $ac_includes_default
13364 #include <$ac_header>
13366 rm -f conftest.
$ac_objext
13367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13368 (eval $ac_compile) 2>&5
13370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 (exit $ac_status); } &&
13372 { ac_try
='test -s conftest.$ac_objext'
13373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13374 (eval $ac_try) 2>&5
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); }; }; then
13378 ac_header_compiler
=yes
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.
$ac_ext >&5
13383 ac_header_compiler
=no
13385 rm -f conftest.
$ac_objext conftest.
$ac_ext
13386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13387 echo "${ECHO_T}$ac_header_compiler" >&6
13389 # Is the header present?
13390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13392 cat >conftest.
$ac_ext <<_ACEOF
13393 #line $LINENO "configure"
13396 cat confdefs.h
>>conftest.
$ac_ext
13397 cat >>conftest.
$ac_ext <<_ACEOF
13398 /* end confdefs.h. */
13399 #include <$ac_header>
13401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13402 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13404 grep -v '^ *+' conftest.er1
>conftest.err
13406 cat conftest.err
>&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); } >/dev
/null
; then
13409 if test -s conftest.err
; then
13410 ac_cpp_err
=$ac_c_preproc_warn_flag
13417 if test -z "$ac_cpp_err"; then
13418 ac_header_preproc
=yes
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.
$ac_ext >&5
13423 ac_header_preproc
=no
13425 rm -f conftest.err conftest.
$ac_ext
13426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13427 echo "${ECHO_T}$ac_header_preproc" >&6
13429 # So? What about this header?
13430 case $ac_header_compiler:$ac_header_preproc in
13432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13438 ## ------------------------------------ ##
13439 ## Report this to bug-autoconf@gnu.org. ##
13440 ## ------------------------------------ ##
13443 sed "s/^/$as_me: WARNING: /" >&2
13446 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13447 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13448 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13449 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13454 ## ------------------------------------ ##
13455 ## Report this to bug-autoconf@gnu.org. ##
13456 ## ------------------------------------ ##
13459 sed "s/^/$as_me: WARNING: /" >&2
13462 echo "$as_me:$LINENO: checking for $ac_header" >&5
13463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13465 echo $ECHO_N "(cached) $ECHO_C" >&6
13467 eval "$as_ac_Header=$ac_header_preproc"
13469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13474 cat >>confdefs.h
<<_ACEOF
13475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13483 for ac_header
in X
11/XKBlib.h
13485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13486 echo "$as_me:$LINENO: checking for $ac_header" >&5
13487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13489 echo $ECHO_N "(cached) $ECHO_C" >&6
13491 cat >conftest.
$ac_ext <<_ACEOF
13492 #line $LINENO "configure"
13495 cat confdefs.h
>>conftest.
$ac_ext
13496 cat >>conftest.
$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13499 #if HAVE_X11_XLIB_H
13500 #include <X11/Xlib.h>
13504 #include <$ac_header>
13506 rm -f conftest.
$ac_objext
13507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13508 (eval $ac_compile) 2>&5
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); } &&
13512 { ac_try
='test -s conftest.$ac_objext'
13513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13514 (eval $ac_try) 2>&5
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); }; }; then
13518 eval "$as_ac_Header=yes"
13520 echo "$as_me: failed program was:" >&5
13521 sed 's/^/| /' conftest.
$ac_ext >&5
13523 eval "$as_ac_Header=no"
13525 rm -f conftest.
$ac_objext conftest.
$ac_ext
13527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13530 cat >>confdefs.h
<<_ACEOF
13531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13542 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13543 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13544 if test "${ac_cv_c_const+set}" = set; then
13545 echo $ECHO_N "(cached) $ECHO_C" >&6
13547 cat >conftest.
$ac_ext <<_ACEOF
13548 #line $LINENO "configure"
13551 cat confdefs.h
>>conftest.
$ac_ext
13552 cat >>conftest.
$ac_ext <<_ACEOF
13553 /* end confdefs.h. */
13558 /* FIXME: Include the comments suggested by Paul. */
13559 #ifndef __cplusplus
13560 /* Ultrix mips cc rejects this. */
13561 typedef int charset[2];
13563 /* SunOS 4.1.1 cc rejects this. */
13564 char const *const *ccp;
13566 /* NEC SVR4.0.2 mips cc rejects this. */
13567 struct point {int x, y;};
13568 static struct point const zero = {0,0};
13569 /* AIX XL C 1.02.0.0 rejects this.
13570 It does not let you subtract one const X* pointer from another in
13571 an arm of an if-expression whose if-part is not a constant
13573 const char *g = "string";
13574 ccp = &g + (g ? g-g : 0);
13575 /* HPUX 7.0 cc rejects these. */
13578 ccp = (char const *const *) p;
13579 { /* SCO 3.2v4 cc rejects this. */
13581 char const *s = 0 ? (char *) 0 : (char const *) 0;
13585 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13586 int x[] = {25, 17};
13587 const int *foo = &x[0];
13590 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13591 typedef const int *iptr;
13595 { /* AIX XL C 1.02.0.0 rejects this saying
13596 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13597 struct s { int j; const int *ap[3]; };
13598 struct s *b; b->j = 5;
13600 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13601 const int foo = 10;
13609 rm -f conftest.
$ac_objext
13610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13611 (eval $ac_compile) 2>&5
13613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614 (exit $ac_status); } &&
13615 { ac_try
='test -s conftest.$ac_objext'
13616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13617 (eval $ac_try) 2>&5
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); }; }; then
13623 echo "$as_me: failed program was:" >&5
13624 sed 's/^/| /' conftest.
$ac_ext >&5
13628 rm -f conftest.
$ac_objext conftest.
$ac_ext
13630 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13631 echo "${ECHO_T}$ac_cv_c_const" >&6
13632 if test $ac_cv_c_const = no
; then
13634 cat >>confdefs.h
<<\_ACEOF
13640 echo "$as_me:$LINENO: checking for inline" >&5
13641 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13642 if test "${ac_cv_c_inline+set}" = set; then
13643 echo $ECHO_N "(cached) $ECHO_C" >&6
13646 for ac_kw
in inline __inline__ __inline
; do
13647 cat >conftest.
$ac_ext <<_ACEOF
13648 #line $LINENO "configure"
13651 cat confdefs.h
>>conftest.
$ac_ext
13652 cat >>conftest.
$ac_ext <<_ACEOF
13653 /* end confdefs.h. */
13654 #ifndef __cplusplus
13656 static $ac_kw foo_t static_foo () {return 0; }
13657 $ac_kw foo_t foo () {return 0; }
13661 rm -f conftest.
$ac_objext
13662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13663 (eval $ac_compile) 2>&5
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); } &&
13667 { ac_try
='test -s conftest.$ac_objext'
13668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13669 (eval $ac_try) 2>&5
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); }; }; then
13673 ac_cv_c_inline
=$ac_kw; break
13675 echo "$as_me: failed program was:" >&5
13676 sed 's/^/| /' conftest.
$ac_ext >&5
13679 rm -f conftest.
$ac_objext conftest.
$ac_ext
13683 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13684 echo "${ECHO_T}$ac_cv_c_inline" >&6
13685 case $ac_cv_c_inline in
13688 cat >>confdefs.h
<<\_ACEOF
13692 *) cat >>confdefs.h
<<_ACEOF
13693 #define inline $ac_cv_c_inline
13699 echo "$as_me:$LINENO: checking for char" >&5
13700 echo $ECHO_N "checking for char... $ECHO_C" >&6
13701 if test "${ac_cv_type_char+set}" = set; then
13702 echo $ECHO_N "(cached) $ECHO_C" >&6
13704 cat >conftest.
$ac_ext <<_ACEOF
13705 #line $LINENO "configure"
13708 cat confdefs.h
>>conftest.
$ac_ext
13709 cat >>conftest.
$ac_ext <<_ACEOF
13710 /* end confdefs.h. */
13711 $ac_includes_default
13723 rm -f conftest.
$ac_objext
13724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13725 (eval $ac_compile) 2>&5
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); } &&
13729 { ac_try
='test -s conftest.$ac_objext'
13730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13731 (eval $ac_try) 2>&5
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); }; }; then
13735 ac_cv_type_char
=yes
13737 echo "$as_me: failed program was:" >&5
13738 sed 's/^/| /' conftest.
$ac_ext >&5
13742 rm -f conftest.
$ac_objext conftest.
$ac_ext
13744 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13745 echo "${ECHO_T}$ac_cv_type_char" >&6
13747 echo "$as_me:$LINENO: checking size of char" >&5
13748 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13749 if test "${ac_cv_sizeof_char+set}" = set; then
13750 echo $ECHO_N "(cached) $ECHO_C" >&6
13752 if test "$ac_cv_type_char" = yes; then
13753 # The cast to unsigned long works around a bug in the HP C Compiler
13754 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13755 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13756 # This bug is HP SR number 8606223364.
13757 if test "$cross_compiling" = yes; then
13758 # Depending upon the size, compute the lo and hi bounds.
13759 cat >conftest.
$ac_ext <<_ACEOF
13760 #line $LINENO "configure"
13763 cat confdefs.h
>>conftest.
$ac_ext
13764 cat >>conftest.
$ac_ext <<_ACEOF
13765 /* end confdefs.h. */
13766 $ac_includes_default
13770 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13777 rm -f conftest.
$ac_objext
13778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13779 (eval $ac_compile) 2>&5
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); } &&
13783 { ac_try
='test -s conftest.$ac_objext'
13784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13785 (eval $ac_try) 2>&5
13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788 (exit $ac_status); }; }; then
13791 cat >conftest.
$ac_ext <<_ACEOF
13792 #line $LINENO "configure"
13795 cat confdefs.h
>>conftest.
$ac_ext
13796 cat >>conftest.
$ac_ext <<_ACEOF
13797 /* end confdefs.h. */
13798 $ac_includes_default
13802 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13809 rm -f conftest.
$ac_objext
13810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13811 (eval $ac_compile) 2>&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); } &&
13815 { ac_try
='test -s conftest.$ac_objext'
13816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13817 (eval $ac_try) 2>&5
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); }; }; then
13821 ac_hi
=$ac_mid; break
13823 echo "$as_me: failed program was:" >&5
13824 sed 's/^/| /' conftest.
$ac_ext >&5
13826 ac_lo
=`expr $ac_mid + 1`
13827 if test $ac_lo -le $ac_mid; then
13831 ac_mid
=`expr 2 '*' $ac_mid + 1`
13833 rm -f conftest.
$ac_objext conftest.
$ac_ext
13836 echo "$as_me: failed program was:" >&5
13837 sed 's/^/| /' conftest.
$ac_ext >&5
13839 cat >conftest.
$ac_ext <<_ACEOF
13840 #line $LINENO "configure"
13843 cat confdefs.h
>>conftest.
$ac_ext
13844 cat >>conftest.
$ac_ext <<_ACEOF
13845 /* end confdefs.h. */
13846 $ac_includes_default
13850 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13857 rm -f conftest.
$ac_objext
13858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13859 (eval $ac_compile) 2>&5
13861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13862 (exit $ac_status); } &&
13863 { ac_try
='test -s conftest.$ac_objext'
13864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13865 (eval $ac_try) 2>&5
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 (exit $ac_status); }; }; then
13871 cat >conftest.
$ac_ext <<_ACEOF
13872 #line $LINENO "configure"
13875 cat confdefs.h
>>conftest.
$ac_ext
13876 cat >>conftest.
$ac_ext <<_ACEOF
13877 /* end confdefs.h. */
13878 $ac_includes_default
13882 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13889 rm -f conftest.
$ac_objext
13890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13891 (eval $ac_compile) 2>&5
13893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 (exit $ac_status); } &&
13895 { ac_try
='test -s conftest.$ac_objext'
13896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13897 (eval $ac_try) 2>&5
13899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900 (exit $ac_status); }; }; then
13901 ac_lo
=$ac_mid; break
13903 echo "$as_me: failed program was:" >&5
13904 sed 's/^/| /' conftest.
$ac_ext >&5
13906 ac_hi
=`expr '(' $ac_mid ')' - 1`
13907 if test $ac_mid -le $ac_hi; then
13911 ac_mid
=`expr 2 '*' $ac_mid`
13913 rm -f conftest.
$ac_objext conftest.
$ac_ext
13916 echo "$as_me: failed program was:" >&5
13917 sed 's/^/| /' conftest.
$ac_ext >&5
13921 rm -f conftest.
$ac_objext conftest.
$ac_ext
13923 rm -f conftest.
$ac_objext conftest.
$ac_ext
13924 # Binary search between lo and hi bounds.
13925 while test "x$ac_lo" != "x$ac_hi"; do
13926 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13927 cat >conftest.
$ac_ext <<_ACEOF
13928 #line $LINENO "configure"
13931 cat confdefs.h
>>conftest.
$ac_ext
13932 cat >>conftest.
$ac_ext <<_ACEOF
13933 /* end confdefs.h. */
13934 $ac_includes_default
13938 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13945 rm -f conftest.
$ac_objext
13946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13947 (eval $ac_compile) 2>&5
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); } &&
13951 { ac_try
='test -s conftest.$ac_objext'
13952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13953 (eval $ac_try) 2>&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); }; }; then
13959 echo "$as_me: failed program was:" >&5
13960 sed 's/^/| /' conftest.
$ac_ext >&5
13962 ac_lo
=`expr '(' $ac_mid ')' + 1`
13964 rm -f conftest.
$ac_objext conftest.
$ac_ext
13967 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13968 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13969 See \`config.log' for more details." >&5
13970 echo "$as_me: error: cannot compute sizeof (char), 77
13971 See \`config.log' for more details." >&2;}
13972 { (exit 1); exit 1; }; } ;;
13975 if test "$cross_compiling" = yes; then
13976 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13977 See \`config.log' for more details." >&5
13978 echo "$as_me: error: cannot run test program while cross compiling
13979 See \`config.log' for more details." >&2;}
13980 { (exit 1); exit 1; }; }
13982 cat >conftest.
$ac_ext <<_ACEOF
13983 #line $LINENO "configure"
13986 cat confdefs.h
>>conftest.
$ac_ext
13987 cat >>conftest.
$ac_ext <<_ACEOF
13988 /* end confdefs.h. */
13989 $ac_includes_default
13990 long longval () { return (long) (sizeof (char)); }
13991 unsigned long ulongval () { return (long) (sizeof (char)); }
13993 #include <stdlib.h>
13998 FILE *f = fopen ("conftest.val", "w");
14001 if (((long) (sizeof (char))) < 0)
14003 long i = longval ();
14004 if (i != ((long) (sizeof (char))))
14006 fprintf (f, "%ld\n", i);
14010 unsigned long i = ulongval ();
14011 if (i != ((long) (sizeof (char))))
14013 fprintf (f, "%lu\n", i);
14015 exit (ferror (f) || fclose (f) != 0);
14021 rm -f conftest
$ac_exeext
14022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14023 (eval $ac_link) 2>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14028 (eval $ac_try) 2>&5
14030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031 (exit $ac_status); }; }; then
14032 ac_cv_sizeof_char
=`cat conftest.val`
14034 echo "$as_me: program exited with status $ac_status" >&5
14035 echo "$as_me: failed program was:" >&5
14036 sed 's/^/| /' conftest.
$ac_ext >&5
14038 ( exit $ac_status )
14039 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14040 See \`config.log' for more details." >&5
14041 echo "$as_me: error: cannot compute sizeof (char), 77
14042 See \`config.log' for more details." >&2;}
14043 { (exit 1); exit 1; }; }
14045 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14050 ac_cv_sizeof_char
=0
14053 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14054 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14055 cat >>confdefs.h
<<_ACEOF
14056 #define SIZEOF_CHAR $ac_cv_sizeof_char
14060 echo "$as_me:$LINENO: checking for short" >&5
14061 echo $ECHO_N "checking for short... $ECHO_C" >&6
14062 if test "${ac_cv_type_short+set}" = set; then
14063 echo $ECHO_N "(cached) $ECHO_C" >&6
14065 cat >conftest.
$ac_ext <<_ACEOF
14066 #line $LINENO "configure"
14069 cat confdefs.h
>>conftest.
$ac_ext
14070 cat >>conftest.
$ac_ext <<_ACEOF
14071 /* end confdefs.h. */
14072 $ac_includes_default
14078 if (sizeof (short))
14084 rm -f conftest.
$ac_objext
14085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14086 (eval $ac_compile) 2>&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); } &&
14090 { ac_try
='test -s conftest.$ac_objext'
14091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14092 (eval $ac_try) 2>&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; }; then
14096 ac_cv_type_short
=yes
14098 echo "$as_me: failed program was:" >&5
14099 sed 's/^/| /' conftest.
$ac_ext >&5
14101 ac_cv_type_short
=no
14103 rm -f conftest.
$ac_objext conftest.
$ac_ext
14105 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14106 echo "${ECHO_T}$ac_cv_type_short" >&6
14108 echo "$as_me:$LINENO: checking size of short" >&5
14109 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14110 if test "${ac_cv_sizeof_short+set}" = set; then
14111 echo $ECHO_N "(cached) $ECHO_C" >&6
14113 if test "$ac_cv_type_short" = yes; then
14114 # The cast to unsigned long works around a bug in the HP C Compiler
14115 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14116 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14117 # This bug is HP SR number 8606223364.
14118 if test "$cross_compiling" = yes; then
14119 # Depending upon the size, compute the lo and hi bounds.
14120 cat >conftest.
$ac_ext <<_ACEOF
14121 #line $LINENO "configure"
14124 cat confdefs.h
>>conftest.
$ac_ext
14125 cat >>conftest.
$ac_ext <<_ACEOF
14126 /* end confdefs.h. */
14127 $ac_includes_default
14131 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14138 rm -f conftest.
$ac_objext
14139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14140 (eval $ac_compile) 2>&5
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); } &&
14144 { ac_try
='test -s conftest.$ac_objext'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; }; then
14152 cat >conftest.
$ac_ext <<_ACEOF
14153 #line $LINENO "configure"
14156 cat confdefs.h
>>conftest.
$ac_ext
14157 cat >>conftest.
$ac_ext <<_ACEOF
14158 /* end confdefs.h. */
14159 $ac_includes_default
14163 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14170 rm -f conftest.
$ac_objext
14171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14172 (eval $ac_compile) 2>&5
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); } &&
14176 { ac_try
='test -s conftest.$ac_objext'
14177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14178 (eval $ac_try) 2>&5
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); }; }; then
14182 ac_hi
=$ac_mid; break
14184 echo "$as_me: failed program was:" >&5
14185 sed 's/^/| /' conftest.
$ac_ext >&5
14187 ac_lo
=`expr $ac_mid + 1`
14188 if test $ac_lo -le $ac_mid; then
14192 ac_mid
=`expr 2 '*' $ac_mid + 1`
14194 rm -f conftest.
$ac_objext conftest.
$ac_ext
14197 echo "$as_me: failed program was:" >&5
14198 sed 's/^/| /' conftest.
$ac_ext >&5
14200 cat >conftest.
$ac_ext <<_ACEOF
14201 #line $LINENO "configure"
14204 cat confdefs.h
>>conftest.
$ac_ext
14205 cat >>conftest.
$ac_ext <<_ACEOF
14206 /* end confdefs.h. */
14207 $ac_includes_default
14211 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14218 rm -f conftest.
$ac_objext
14219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14220 (eval $ac_compile) 2>&5
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); } &&
14224 { ac_try
='test -s conftest.$ac_objext'
14225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14226 (eval $ac_try) 2>&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); }; }; then
14232 cat >conftest.
$ac_ext <<_ACEOF
14233 #line $LINENO "configure"
14236 cat confdefs.h
>>conftest.
$ac_ext
14237 cat >>conftest.
$ac_ext <<_ACEOF
14238 /* end confdefs.h. */
14239 $ac_includes_default
14243 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14250 rm -f conftest.
$ac_objext
14251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14252 (eval $ac_compile) 2>&5
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 (exit $ac_status); } &&
14256 { ac_try
='test -s conftest.$ac_objext'
14257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14258 (eval $ac_try) 2>&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); }; }; then
14262 ac_lo
=$ac_mid; break
14264 echo "$as_me: failed program was:" >&5
14265 sed 's/^/| /' conftest.
$ac_ext >&5
14267 ac_hi
=`expr '(' $ac_mid ')' - 1`
14268 if test $ac_mid -le $ac_hi; then
14272 ac_mid
=`expr 2 '*' $ac_mid`
14274 rm -f conftest.
$ac_objext conftest.
$ac_ext
14277 echo "$as_me: failed program was:" >&5
14278 sed 's/^/| /' conftest.
$ac_ext >&5
14282 rm -f conftest.
$ac_objext conftest.
$ac_ext
14284 rm -f conftest.
$ac_objext conftest.
$ac_ext
14285 # Binary search between lo and hi bounds.
14286 while test "x$ac_lo" != "x$ac_hi"; do
14287 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14288 cat >conftest.
$ac_ext <<_ACEOF
14289 #line $LINENO "configure"
14292 cat confdefs.h
>>conftest.
$ac_ext
14293 cat >>conftest.
$ac_ext <<_ACEOF
14294 /* end confdefs.h. */
14295 $ac_includes_default
14299 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14306 rm -f conftest.
$ac_objext
14307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14308 (eval $ac_compile) 2>&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); } &&
14312 { ac_try
='test -s conftest.$ac_objext'
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; }; then
14320 echo "$as_me: failed program was:" >&5
14321 sed 's/^/| /' conftest.
$ac_ext >&5
14323 ac_lo
=`expr '(' $ac_mid ')' + 1`
14325 rm -f conftest.
$ac_objext conftest.
$ac_ext
14328 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14329 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14330 See \`config.log' for more details." >&5
14331 echo "$as_me: error: cannot compute sizeof (short), 77
14332 See \`config.log' for more details." >&2;}
14333 { (exit 1); exit 1; }; } ;;
14336 if test "$cross_compiling" = yes; then
14337 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14338 See \`config.log' for more details." >&5
14339 echo "$as_me: error: cannot run test program while cross compiling
14340 See \`config.log' for more details." >&2;}
14341 { (exit 1); exit 1; }; }
14343 cat >conftest.
$ac_ext <<_ACEOF
14344 #line $LINENO "configure"
14347 cat confdefs.h
>>conftest.
$ac_ext
14348 cat >>conftest.
$ac_ext <<_ACEOF
14349 /* end confdefs.h. */
14350 $ac_includes_default
14351 long longval () { return (long) (sizeof (short)); }
14352 unsigned long ulongval () { return (long) (sizeof (short)); }
14354 #include <stdlib.h>
14359 FILE *f = fopen ("conftest.val", "w");
14362 if (((long) (sizeof (short))) < 0)
14364 long i = longval ();
14365 if (i != ((long) (sizeof (short))))
14367 fprintf (f, "%ld\n", i);
14371 unsigned long i = ulongval ();
14372 if (i != ((long) (sizeof (short))))
14374 fprintf (f, "%lu\n", i);
14376 exit (ferror (f) || fclose (f) != 0);
14382 rm -f conftest
$ac_exeext
14383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14384 (eval $ac_link) 2>&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14389 (eval $ac_try) 2>&5
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); }; }; then
14393 ac_cv_sizeof_short
=`cat conftest.val`
14395 echo "$as_me: program exited with status $ac_status" >&5
14396 echo "$as_me: failed program was:" >&5
14397 sed 's/^/| /' conftest.
$ac_ext >&5
14399 ( exit $ac_status )
14400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14401 See \`config.log' for more details." >&5
14402 echo "$as_me: error: cannot compute sizeof (short), 77
14403 See \`config.log' for more details." >&2;}
14404 { (exit 1); exit 1; }; }
14406 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14411 ac_cv_sizeof_short
=0
14414 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14415 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14416 cat >>confdefs.h
<<_ACEOF
14417 #define SIZEOF_SHORT $ac_cv_sizeof_short
14421 echo "$as_me:$LINENO: checking for void *" >&5
14422 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14423 if test "${ac_cv_type_void_p+set}" = set; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14426 cat >conftest.
$ac_ext <<_ACEOF
14427 #line $LINENO "configure"
14430 cat confdefs.h
>>conftest.
$ac_ext
14431 cat >>conftest.
$ac_ext <<_ACEOF
14432 /* end confdefs.h. */
14433 $ac_includes_default
14439 if (sizeof (void *))
14445 rm -f conftest.
$ac_objext
14446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14447 (eval $ac_compile) 2>&5
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); } &&
14451 { ac_try
='test -s conftest.$ac_objext'
14452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14453 (eval $ac_try) 2>&5
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); }; }; then
14457 ac_cv_type_void_p
=yes
14459 echo "$as_me: failed program was:" >&5
14460 sed 's/^/| /' conftest.
$ac_ext >&5
14462 ac_cv_type_void_p
=no
14464 rm -f conftest.
$ac_objext conftest.
$ac_ext
14466 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14467 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14469 echo "$as_me:$LINENO: checking size of void *" >&5
14470 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14471 if test "${ac_cv_sizeof_void_p+set}" = set; then
14472 echo $ECHO_N "(cached) $ECHO_C" >&6
14474 if test "$ac_cv_type_void_p" = yes; then
14475 # The cast to unsigned long works around a bug in the HP C Compiler
14476 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14477 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14478 # This bug is HP SR number 8606223364.
14479 if test "$cross_compiling" = yes; then
14480 # Depending upon the size, compute the lo and hi bounds.
14481 cat >conftest.
$ac_ext <<_ACEOF
14482 #line $LINENO "configure"
14485 cat confdefs.h
>>conftest.
$ac_ext
14486 cat >>conftest.
$ac_ext <<_ACEOF
14487 /* end confdefs.h. */
14488 $ac_includes_default
14492 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14499 rm -f conftest.
$ac_objext
14500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14501 (eval $ac_compile) 2>&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); } &&
14505 { ac_try
='test -s conftest.$ac_objext'
14506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507 (eval $ac_try) 2>&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; }; then
14513 cat >conftest.
$ac_ext <<_ACEOF
14514 #line $LINENO "configure"
14517 cat confdefs.h
>>conftest.
$ac_ext
14518 cat >>conftest.
$ac_ext <<_ACEOF
14519 /* end confdefs.h. */
14520 $ac_includes_default
14524 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14531 rm -f conftest.
$ac_objext
14532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14533 (eval $ac_compile) 2>&5
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); } &&
14537 { ac_try
='test -s conftest.$ac_objext'
14538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14539 (eval $ac_try) 2>&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); }; }; then
14543 ac_hi
=$ac_mid; break
14545 echo "$as_me: failed program was:" >&5
14546 sed 's/^/| /' conftest.
$ac_ext >&5
14548 ac_lo
=`expr $ac_mid + 1`
14549 if test $ac_lo -le $ac_mid; then
14553 ac_mid
=`expr 2 '*' $ac_mid + 1`
14555 rm -f conftest.
$ac_objext conftest.
$ac_ext
14558 echo "$as_me: failed program was:" >&5
14559 sed 's/^/| /' conftest.
$ac_ext >&5
14561 cat >conftest.
$ac_ext <<_ACEOF
14562 #line $LINENO "configure"
14565 cat confdefs.h
>>conftest.
$ac_ext
14566 cat >>conftest.
$ac_ext <<_ACEOF
14567 /* end confdefs.h. */
14568 $ac_includes_default
14572 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14579 rm -f conftest.
$ac_objext
14580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14581 (eval $ac_compile) 2>&5
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); } &&
14585 { ac_try
='test -s conftest.$ac_objext'
14586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14587 (eval $ac_try) 2>&5
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); }; }; then
14593 cat >conftest.
$ac_ext <<_ACEOF
14594 #line $LINENO "configure"
14597 cat confdefs.h
>>conftest.
$ac_ext
14598 cat >>conftest.
$ac_ext <<_ACEOF
14599 /* end confdefs.h. */
14600 $ac_includes_default
14604 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14611 rm -f conftest.
$ac_objext
14612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14613 (eval $ac_compile) 2>&5
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); } &&
14617 { ac_try
='test -s conftest.$ac_objext'
14618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14619 (eval $ac_try) 2>&5
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); }; }; then
14623 ac_lo
=$ac_mid; break
14625 echo "$as_me: failed program was:" >&5
14626 sed 's/^/| /' conftest.
$ac_ext >&5
14628 ac_hi
=`expr '(' $ac_mid ')' - 1`
14629 if test $ac_mid -le $ac_hi; then
14633 ac_mid
=`expr 2 '*' $ac_mid`
14635 rm -f conftest.
$ac_objext conftest.
$ac_ext
14638 echo "$as_me: failed program was:" >&5
14639 sed 's/^/| /' conftest.
$ac_ext >&5
14643 rm -f conftest.
$ac_objext conftest.
$ac_ext
14645 rm -f conftest.
$ac_objext conftest.
$ac_ext
14646 # Binary search between lo and hi bounds.
14647 while test "x$ac_lo" != "x$ac_hi"; do
14648 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14649 cat >conftest.
$ac_ext <<_ACEOF
14650 #line $LINENO "configure"
14653 cat confdefs.h
>>conftest.
$ac_ext
14654 cat >>conftest.
$ac_ext <<_ACEOF
14655 /* end confdefs.h. */
14656 $ac_includes_default
14660 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14667 rm -f conftest.
$ac_objext
14668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14669 (eval $ac_compile) 2>&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); } &&
14673 { ac_try
='test -s conftest.$ac_objext'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; }; then
14681 echo "$as_me: failed program was:" >&5
14682 sed 's/^/| /' conftest.
$ac_ext >&5
14684 ac_lo
=`expr '(' $ac_mid ')' + 1`
14686 rm -f conftest.
$ac_objext conftest.
$ac_ext
14689 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14690 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14691 See \`config.log' for more details." >&5
14692 echo "$as_me: error: cannot compute sizeof (void *), 77
14693 See \`config.log' for more details." >&2;}
14694 { (exit 1); exit 1; }; } ;;
14697 if test "$cross_compiling" = yes; then
14698 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14699 See \`config.log' for more details." >&5
14700 echo "$as_me: error: cannot run test program while cross compiling
14701 See \`config.log' for more details." >&2;}
14702 { (exit 1); exit 1; }; }
14704 cat >conftest.
$ac_ext <<_ACEOF
14705 #line $LINENO "configure"
14708 cat confdefs.h
>>conftest.
$ac_ext
14709 cat >>conftest.
$ac_ext <<_ACEOF
14710 /* end confdefs.h. */
14711 $ac_includes_default
14712 long longval () { return (long) (sizeof (void *)); }
14713 unsigned long ulongval () { return (long) (sizeof (void *)); }
14715 #include <stdlib.h>
14720 FILE *f = fopen ("conftest.val", "w");
14723 if (((long) (sizeof (void *))) < 0)
14725 long i = longval ();
14726 if (i != ((long) (sizeof (void *))))
14728 fprintf (f, "%ld\n", i);
14732 unsigned long i = ulongval ();
14733 if (i != ((long) (sizeof (void *))))
14735 fprintf (f, "%lu\n", i);
14737 exit (ferror (f) || fclose (f) != 0);
14743 rm -f conftest
$ac_exeext
14744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14745 (eval $ac_link) 2>&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14750 (eval $ac_try) 2>&5
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); }; }; then
14754 ac_cv_sizeof_void_p
=`cat conftest.val`
14756 echo "$as_me: program exited with status $ac_status" >&5
14757 echo "$as_me: failed program was:" >&5
14758 sed 's/^/| /' conftest.
$ac_ext >&5
14760 ( exit $ac_status )
14761 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14762 See \`config.log' for more details." >&5
14763 echo "$as_me: error: cannot compute sizeof (void *), 77
14764 See \`config.log' for more details." >&2;}
14765 { (exit 1); exit 1; }; }
14767 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14772 ac_cv_sizeof_void_p
=0
14775 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14776 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14777 cat >>confdefs.h
<<_ACEOF
14778 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14782 echo "$as_me:$LINENO: checking for int" >&5
14783 echo $ECHO_N "checking for int... $ECHO_C" >&6
14784 if test "${ac_cv_type_int+set}" = set; then
14785 echo $ECHO_N "(cached) $ECHO_C" >&6
14787 cat >conftest.
$ac_ext <<_ACEOF
14788 #line $LINENO "configure"
14791 cat confdefs.h
>>conftest.
$ac_ext
14792 cat >>conftest.
$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14794 $ac_includes_default
14806 rm -f conftest.
$ac_objext
14807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14808 (eval $ac_compile) 2>&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } &&
14812 { ac_try
='test -s conftest.$ac_objext'
14813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14814 (eval $ac_try) 2>&5
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); }; }; then
14820 echo "$as_me: failed program was:" >&5
14821 sed 's/^/| /' conftest.
$ac_ext >&5
14825 rm -f conftest.
$ac_objext conftest.
$ac_ext
14827 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14828 echo "${ECHO_T}$ac_cv_type_int" >&6
14830 echo "$as_me:$LINENO: checking size of int" >&5
14831 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14832 if test "${ac_cv_sizeof_int+set}" = set; then
14833 echo $ECHO_N "(cached) $ECHO_C" >&6
14835 if test "$ac_cv_type_int" = yes; then
14836 # The cast to unsigned long works around a bug in the HP C Compiler
14837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14839 # This bug is HP SR number 8606223364.
14840 if test "$cross_compiling" = yes; then
14841 # Depending upon the size, compute the lo and hi bounds.
14842 cat >conftest.
$ac_ext <<_ACEOF
14843 #line $LINENO "configure"
14846 cat confdefs.h
>>conftest.
$ac_ext
14847 cat >>conftest.
$ac_ext <<_ACEOF
14848 /* end confdefs.h. */
14849 $ac_includes_default
14853 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14860 rm -f conftest.
$ac_objext
14861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14862 (eval $ac_compile) 2>&5
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); } &&
14866 { ac_try
='test -s conftest.$ac_objext'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; }; then
14874 cat >conftest.
$ac_ext <<_ACEOF
14875 #line $LINENO "configure"
14878 cat confdefs.h
>>conftest.
$ac_ext
14879 cat >>conftest.
$ac_ext <<_ACEOF
14880 /* end confdefs.h. */
14881 $ac_includes_default
14885 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14892 rm -f conftest.
$ac_objext
14893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14894 (eval $ac_compile) 2>&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); } &&
14898 { ac_try
='test -s conftest.$ac_objext'
14899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14900 (eval $ac_try) 2>&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); }; }; then
14904 ac_hi
=$ac_mid; break
14906 echo "$as_me: failed program was:" >&5
14907 sed 's/^/| /' conftest.
$ac_ext >&5
14909 ac_lo
=`expr $ac_mid + 1`
14910 if test $ac_lo -le $ac_mid; then
14914 ac_mid
=`expr 2 '*' $ac_mid + 1`
14916 rm -f conftest.
$ac_objext conftest.
$ac_ext
14919 echo "$as_me: failed program was:" >&5
14920 sed 's/^/| /' conftest.
$ac_ext >&5
14922 cat >conftest.
$ac_ext <<_ACEOF
14923 #line $LINENO "configure"
14926 cat confdefs.h
>>conftest.
$ac_ext
14927 cat >>conftest.
$ac_ext <<_ACEOF
14928 /* end confdefs.h. */
14929 $ac_includes_default
14933 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14940 rm -f conftest.
$ac_objext
14941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14942 (eval $ac_compile) 2>&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); } &&
14946 { ac_try
='test -s conftest.$ac_objext'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; }; then
14954 cat >conftest.
$ac_ext <<_ACEOF
14955 #line $LINENO "configure"
14958 cat confdefs.h
>>conftest.
$ac_ext
14959 cat >>conftest.
$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14961 $ac_includes_default
14965 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14972 rm -f conftest.
$ac_objext
14973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14974 (eval $ac_compile) 2>&5
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); } &&
14978 { ac_try
='test -s conftest.$ac_objext'
14979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14980 (eval $ac_try) 2>&5
14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983 (exit $ac_status); }; }; then
14984 ac_lo
=$ac_mid; break
14986 echo "$as_me: failed program was:" >&5
14987 sed 's/^/| /' conftest.
$ac_ext >&5
14989 ac_hi
=`expr '(' $ac_mid ')' - 1`
14990 if test $ac_mid -le $ac_hi; then
14994 ac_mid
=`expr 2 '*' $ac_mid`
14996 rm -f conftest.
$ac_objext conftest.
$ac_ext
14999 echo "$as_me: failed program was:" >&5
15000 sed 's/^/| /' conftest.
$ac_ext >&5
15004 rm -f conftest.
$ac_objext conftest.
$ac_ext
15006 rm -f conftest.
$ac_objext conftest.
$ac_ext
15007 # Binary search between lo and hi bounds.
15008 while test "x$ac_lo" != "x$ac_hi"; do
15009 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15010 cat >conftest.
$ac_ext <<_ACEOF
15011 #line $LINENO "configure"
15014 cat confdefs.h
>>conftest.
$ac_ext
15015 cat >>conftest.
$ac_ext <<_ACEOF
15016 /* end confdefs.h. */
15017 $ac_includes_default
15021 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15028 rm -f conftest.
$ac_objext
15029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15030 (eval $ac_compile) 2>&5
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); } &&
15034 { ac_try
='test -s conftest.$ac_objext'
15035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15036 (eval $ac_try) 2>&5
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); }; }; then
15042 echo "$as_me: failed program was:" >&5
15043 sed 's/^/| /' conftest.
$ac_ext >&5
15045 ac_lo
=`expr '(' $ac_mid ')' + 1`
15047 rm -f conftest.
$ac_objext conftest.
$ac_ext
15050 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15051 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15052 See \`config.log' for more details." >&5
15053 echo "$as_me: error: cannot compute sizeof (int), 77
15054 See \`config.log' for more details." >&2;}
15055 { (exit 1); exit 1; }; } ;;
15058 if test "$cross_compiling" = yes; then
15059 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15060 See \`config.log' for more details." >&5
15061 echo "$as_me: error: cannot run test program while cross compiling
15062 See \`config.log' for more details." >&2;}
15063 { (exit 1); exit 1; }; }
15065 cat >conftest.
$ac_ext <<_ACEOF
15066 #line $LINENO "configure"
15069 cat confdefs.h
>>conftest.
$ac_ext
15070 cat >>conftest.
$ac_ext <<_ACEOF
15071 /* end confdefs.h. */
15072 $ac_includes_default
15073 long longval () { return (long) (sizeof (int)); }
15074 unsigned long ulongval () { return (long) (sizeof (int)); }
15076 #include <stdlib.h>
15081 FILE *f = fopen ("conftest.val", "w");
15084 if (((long) (sizeof (int))) < 0)
15086 long i = longval ();
15087 if (i != ((long) (sizeof (int))))
15089 fprintf (f, "%ld\n", i);
15093 unsigned long i = ulongval ();
15094 if (i != ((long) (sizeof (int))))
15096 fprintf (f, "%lu\n", i);
15098 exit (ferror (f) || fclose (f) != 0);
15104 rm -f conftest
$ac_exeext
15105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15106 (eval $ac_link) 2>&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111 (eval $ac_try) 2>&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; }; then
15115 ac_cv_sizeof_int
=`cat conftest.val`
15117 echo "$as_me: program exited with status $ac_status" >&5
15118 echo "$as_me: failed program was:" >&5
15119 sed 's/^/| /' conftest.
$ac_ext >&5
15121 ( exit $ac_status )
15122 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15123 See \`config.log' for more details." >&5
15124 echo "$as_me: error: cannot compute sizeof (int), 77
15125 See \`config.log' for more details." >&2;}
15126 { (exit 1); exit 1; }; }
15128 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15136 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15137 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15138 cat >>confdefs.h
<<_ACEOF
15139 #define SIZEOF_INT $ac_cv_sizeof_int
15143 echo "$as_me:$LINENO: checking for long" >&5
15144 echo $ECHO_N "checking for long... $ECHO_C" >&6
15145 if test "${ac_cv_type_long+set}" = set; then
15146 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 cat >conftest.
$ac_ext <<_ACEOF
15149 #line $LINENO "configure"
15152 cat confdefs.h
>>conftest.
$ac_ext
15153 cat >>conftest.
$ac_ext <<_ACEOF
15154 /* end confdefs.h. */
15155 $ac_includes_default
15167 rm -f conftest.
$ac_objext
15168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15169 (eval $ac_compile) 2>&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } &&
15173 { ac_try
='test -s conftest.$ac_objext'
15174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15175 (eval $ac_try) 2>&5
15177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15178 (exit $ac_status); }; }; then
15179 ac_cv_type_long
=yes
15181 echo "$as_me: failed program was:" >&5
15182 sed 's/^/| /' conftest.
$ac_ext >&5
15186 rm -f conftest.
$ac_objext conftest.
$ac_ext
15188 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15189 echo "${ECHO_T}$ac_cv_type_long" >&6
15191 echo "$as_me:$LINENO: checking size of long" >&5
15192 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15193 if test "${ac_cv_sizeof_long+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 if test "$ac_cv_type_long" = yes; then
15197 # The cast to unsigned long works around a bug in the HP C Compiler
15198 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15199 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15200 # This bug is HP SR number 8606223364.
15201 if test "$cross_compiling" = yes; then
15202 # Depending upon the size, compute the lo and hi bounds.
15203 cat >conftest.
$ac_ext <<_ACEOF
15204 #line $LINENO "configure"
15207 cat confdefs.h
>>conftest.
$ac_ext
15208 cat >>conftest.
$ac_ext <<_ACEOF
15209 /* end confdefs.h. */
15210 $ac_includes_default
15214 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15221 rm -f conftest.
$ac_objext
15222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15223 (eval $ac_compile) 2>&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); } &&
15227 { ac_try
='test -s conftest.$ac_objext'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; }; then
15235 cat >conftest.
$ac_ext <<_ACEOF
15236 #line $LINENO "configure"
15239 cat confdefs.h
>>conftest.
$ac_ext
15240 cat >>conftest.
$ac_ext <<_ACEOF
15241 /* end confdefs.h. */
15242 $ac_includes_default
15246 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15253 rm -f conftest.
$ac_objext
15254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15255 (eval $ac_compile) 2>&5
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); } &&
15259 { ac_try
='test -s conftest.$ac_objext'
15260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15261 (eval $ac_try) 2>&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }; }; then
15265 ac_hi
=$ac_mid; break
15267 echo "$as_me: failed program was:" >&5
15268 sed 's/^/| /' conftest.
$ac_ext >&5
15270 ac_lo
=`expr $ac_mid + 1`
15271 if test $ac_lo -le $ac_mid; then
15275 ac_mid
=`expr 2 '*' $ac_mid + 1`
15277 rm -f conftest.
$ac_objext conftest.
$ac_ext
15280 echo "$as_me: failed program was:" >&5
15281 sed 's/^/| /' conftest.
$ac_ext >&5
15283 cat >conftest.
$ac_ext <<_ACEOF
15284 #line $LINENO "configure"
15287 cat confdefs.h
>>conftest.
$ac_ext
15288 cat >>conftest.
$ac_ext <<_ACEOF
15289 /* end confdefs.h. */
15290 $ac_includes_default
15294 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15301 rm -f conftest.
$ac_objext
15302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15303 (eval $ac_compile) 2>&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } &&
15307 { ac_try
='test -s conftest.$ac_objext'
15308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309 (eval $ac_try) 2>&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; }; then
15315 cat >conftest.
$ac_ext <<_ACEOF
15316 #line $LINENO "configure"
15319 cat confdefs.h
>>conftest.
$ac_ext
15320 cat >>conftest.
$ac_ext <<_ACEOF
15321 /* end confdefs.h. */
15322 $ac_includes_default
15326 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15333 rm -f conftest.
$ac_objext
15334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15335 (eval $ac_compile) 2>&5
15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338 (exit $ac_status); } &&
15339 { ac_try
='test -s conftest.$ac_objext'
15340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15341 (eval $ac_try) 2>&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); }; }; then
15345 ac_lo
=$ac_mid; break
15347 echo "$as_me: failed program was:" >&5
15348 sed 's/^/| /' conftest.
$ac_ext >&5
15350 ac_hi
=`expr '(' $ac_mid ')' - 1`
15351 if test $ac_mid -le $ac_hi; then
15355 ac_mid
=`expr 2 '*' $ac_mid`
15357 rm -f conftest.
$ac_objext conftest.
$ac_ext
15360 echo "$as_me: failed program was:" >&5
15361 sed 's/^/| /' conftest.
$ac_ext >&5
15365 rm -f conftest.
$ac_objext conftest.
$ac_ext
15367 rm -f conftest.
$ac_objext conftest.
$ac_ext
15368 # Binary search between lo and hi bounds.
15369 while test "x$ac_lo" != "x$ac_hi"; do
15370 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15371 cat >conftest.
$ac_ext <<_ACEOF
15372 #line $LINENO "configure"
15375 cat confdefs.h
>>conftest.
$ac_ext
15376 cat >>conftest.
$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15378 $ac_includes_default
15382 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15389 rm -f conftest.
$ac_objext
15390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15391 (eval $ac_compile) 2>&5
15393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394 (exit $ac_status); } &&
15395 { ac_try
='test -s conftest.$ac_objext'
15396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15397 (eval $ac_try) 2>&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); }; }; then
15403 echo "$as_me: failed program was:" >&5
15404 sed 's/^/| /' conftest.
$ac_ext >&5
15406 ac_lo
=`expr '(' $ac_mid ')' + 1`
15408 rm -f conftest.
$ac_objext conftest.
$ac_ext
15411 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15412 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15413 See \`config.log' for more details." >&5
15414 echo "$as_me: error: cannot compute sizeof (long), 77
15415 See \`config.log' for more details." >&2;}
15416 { (exit 1); exit 1; }; } ;;
15419 if test "$cross_compiling" = yes; then
15420 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15421 See \`config.log' for more details." >&5
15422 echo "$as_me: error: cannot run test program while cross compiling
15423 See \`config.log' for more details." >&2;}
15424 { (exit 1); exit 1; }; }
15426 cat >conftest.
$ac_ext <<_ACEOF
15427 #line $LINENO "configure"
15430 cat confdefs.h
>>conftest.
$ac_ext
15431 cat >>conftest.
$ac_ext <<_ACEOF
15432 /* end confdefs.h. */
15433 $ac_includes_default
15434 long longval () { return (long) (sizeof (long)); }
15435 unsigned long ulongval () { return (long) (sizeof (long)); }
15437 #include <stdlib.h>
15442 FILE *f = fopen ("conftest.val", "w");
15445 if (((long) (sizeof (long))) < 0)
15447 long i = longval ();
15448 if (i != ((long) (sizeof (long))))
15450 fprintf (f, "%ld\n", i);
15454 unsigned long i = ulongval ();
15455 if (i != ((long) (sizeof (long))))
15457 fprintf (f, "%lu\n", i);
15459 exit (ferror (f) || fclose (f) != 0);
15465 rm -f conftest
$ac_exeext
15466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15467 (eval $ac_link) 2>&5
15469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15470 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; }; then
15476 ac_cv_sizeof_long
=`cat conftest.val`
15478 echo "$as_me: program exited with status $ac_status" >&5
15479 echo "$as_me: failed program was:" >&5
15480 sed 's/^/| /' conftest.
$ac_ext >&5
15482 ( exit $ac_status )
15483 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15484 See \`config.log' for more details." >&5
15485 echo "$as_me: error: cannot compute sizeof (long), 77
15486 See \`config.log' for more details." >&2;}
15487 { (exit 1); exit 1; }; }
15489 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15494 ac_cv_sizeof_long
=0
15497 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15498 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15499 cat >>confdefs.h
<<_ACEOF
15500 #define SIZEOF_LONG $ac_cv_sizeof_long
15507 echo "$as_me:$LINENO: checking for long long" >&5
15508 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15509 if test "${ac_cv_type_long_long+set}" = set; then
15510 echo $ECHO_N "(cached) $ECHO_C" >&6
15512 cat >conftest.
$ac_ext <<_ACEOF
15513 #line $LINENO "configure"
15516 cat confdefs.h
>>conftest.
$ac_ext
15517 cat >>conftest.
$ac_ext <<_ACEOF
15518 /* end confdefs.h. */
15519 $ac_includes_default
15523 if ((long long *) 0)
15525 if (sizeof (long long))
15531 rm -f conftest.
$ac_objext
15532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15533 (eval $ac_compile) 2>&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); } &&
15537 { ac_try
='test -s conftest.$ac_objext'
15538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15539 (eval $ac_try) 2>&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); }; }; then
15543 ac_cv_type_long_long
=yes
15545 echo "$as_me: failed program was:" >&5
15546 sed 's/^/| /' conftest.
$ac_ext >&5
15548 ac_cv_type_long_long
=no
15550 rm -f conftest.
$ac_objext conftest.
$ac_ext
15552 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15553 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15555 echo "$as_me:$LINENO: checking size of long long" >&5
15556 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15557 if test "${ac_cv_sizeof_long_long+set}" = set; then
15558 echo $ECHO_N "(cached) $ECHO_C" >&6
15560 if test "$ac_cv_type_long_long" = yes; then
15561 # The cast to unsigned long works around a bug in the HP C Compiler
15562 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15563 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15564 # This bug is HP SR number 8606223364.
15565 if test "$cross_compiling" = yes; then
15566 # Depending upon the size, compute the lo and hi bounds.
15567 cat >conftest.
$ac_ext <<_ACEOF
15568 #line $LINENO "configure"
15571 cat confdefs.h
>>conftest.
$ac_ext
15572 cat >>conftest.
$ac_ext <<_ACEOF
15573 /* end confdefs.h. */
15574 $ac_includes_default
15578 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15585 rm -f conftest.
$ac_objext
15586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15587 (eval $ac_compile) 2>&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); } &&
15591 { ac_try
='test -s conftest.$ac_objext'
15592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593 (eval $ac_try) 2>&5
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); }; }; then
15599 cat >conftest.
$ac_ext <<_ACEOF
15600 #line $LINENO "configure"
15603 cat confdefs.h
>>conftest.
$ac_ext
15604 cat >>conftest.
$ac_ext <<_ACEOF
15605 /* end confdefs.h. */
15606 $ac_includes_default
15610 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15617 rm -f conftest.
$ac_objext
15618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15619 (eval $ac_compile) 2>&5
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); } &&
15623 { ac_try
='test -s conftest.$ac_objext'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; }; then
15629 ac_hi
=$ac_mid; break
15631 echo "$as_me: failed program was:" >&5
15632 sed 's/^/| /' conftest.
$ac_ext >&5
15634 ac_lo
=`expr $ac_mid + 1`
15635 if test $ac_lo -le $ac_mid; then
15639 ac_mid
=`expr 2 '*' $ac_mid + 1`
15641 rm -f conftest.
$ac_objext conftest.
$ac_ext
15644 echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.
$ac_ext >&5
15647 cat >conftest.
$ac_ext <<_ACEOF
15648 #line $LINENO "configure"
15651 cat confdefs.h
>>conftest.
$ac_ext
15652 cat >>conftest.
$ac_ext <<_ACEOF
15653 /* end confdefs.h. */
15654 $ac_includes_default
15658 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15665 rm -f conftest.
$ac_objext
15666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15667 (eval $ac_compile) 2>&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); } &&
15671 { ac_try
='test -s conftest.$ac_objext'
15672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15673 (eval $ac_try) 2>&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); }; }; then
15679 cat >conftest.
$ac_ext <<_ACEOF
15680 #line $LINENO "configure"
15683 cat confdefs.h
>>conftest.
$ac_ext
15684 cat >>conftest.
$ac_ext <<_ACEOF
15685 /* end confdefs.h. */
15686 $ac_includes_default
15690 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15697 rm -f conftest.
$ac_objext
15698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15699 (eval $ac_compile) 2>&5
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); } &&
15703 { ac_try
='test -s conftest.$ac_objext'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; }; then
15709 ac_lo
=$ac_mid; break
15711 echo "$as_me: failed program was:" >&5
15712 sed 's/^/| /' conftest.
$ac_ext >&5
15714 ac_hi
=`expr '(' $ac_mid ')' - 1`
15715 if test $ac_mid -le $ac_hi; then
15719 ac_mid
=`expr 2 '*' $ac_mid`
15721 rm -f conftest.
$ac_objext conftest.
$ac_ext
15724 echo "$as_me: failed program was:" >&5
15725 sed 's/^/| /' conftest.
$ac_ext >&5
15729 rm -f conftest.
$ac_objext conftest.
$ac_ext
15731 rm -f conftest.
$ac_objext conftest.
$ac_ext
15732 # Binary search between lo and hi bounds.
15733 while test "x$ac_lo" != "x$ac_hi"; do
15734 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15735 cat >conftest.
$ac_ext <<_ACEOF
15736 #line $LINENO "configure"
15739 cat confdefs.h
>>conftest.
$ac_ext
15740 cat >>conftest.
$ac_ext <<_ACEOF
15741 /* end confdefs.h. */
15742 $ac_includes_default
15746 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15753 rm -f conftest.
$ac_objext
15754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15755 (eval $ac_compile) 2>&5
15757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15758 (exit $ac_status); } &&
15759 { ac_try
='test -s conftest.$ac_objext'
15760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15761 (eval $ac_try) 2>&5
15763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15764 (exit $ac_status); }; }; then
15767 echo "$as_me: failed program was:" >&5
15768 sed 's/^/| /' conftest.
$ac_ext >&5
15770 ac_lo
=`expr '(' $ac_mid ')' + 1`
15772 rm -f conftest.
$ac_objext conftest.
$ac_ext
15775 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15776 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15777 See \`config.log' for more details." >&5
15778 echo "$as_me: error: cannot compute sizeof (long long), 77
15779 See \`config.log' for more details." >&2;}
15780 { (exit 1); exit 1; }; } ;;
15783 if test "$cross_compiling" = yes; then
15784 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15785 See \`config.log' for more details." >&5
15786 echo "$as_me: error: cannot run test program while cross compiling
15787 See \`config.log' for more details." >&2;}
15788 { (exit 1); exit 1; }; }
15790 cat >conftest.
$ac_ext <<_ACEOF
15791 #line $LINENO "configure"
15794 cat confdefs.h
>>conftest.
$ac_ext
15795 cat >>conftest.
$ac_ext <<_ACEOF
15796 /* end confdefs.h. */
15797 $ac_includes_default
15798 long longval () { return (long) (sizeof (long long)); }
15799 unsigned long ulongval () { return (long) (sizeof (long long)); }
15801 #include <stdlib.h>
15806 FILE *f = fopen ("conftest.val", "w");
15809 if (((long) (sizeof (long long))) < 0)
15811 long i = longval ();
15812 if (i != ((long) (sizeof (long long))))
15814 fprintf (f, "%ld\n", i);
15818 unsigned long i = ulongval ();
15819 if (i != ((long) (sizeof (long long))))
15821 fprintf (f, "%lu\n", i);
15823 exit (ferror (f) || fclose (f) != 0);
15829 rm -f conftest
$ac_exeext
15830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15831 (eval $ac_link) 2>&5
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; }; then
15840 ac_cv_sizeof_long_long
=`cat conftest.val`
15842 echo "$as_me: program exited with status $ac_status" >&5
15843 echo "$as_me: failed program was:" >&5
15844 sed 's/^/| /' conftest.
$ac_ext >&5
15846 ( exit $ac_status )
15847 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15848 See \`config.log' for more details." >&5
15849 echo "$as_me: error: cannot compute sizeof (long long), 77
15850 See \`config.log' for more details." >&2;}
15851 { (exit 1); exit 1; }; }
15853 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15858 ac_cv_sizeof_long_long
=0
15861 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15862 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15863 cat >>confdefs.h
<<_ACEOF
15864 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15870 echo "$as_me:$LINENO: checking for long long" >&5
15871 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15872 if test "${ac_cv_type_long_long+set}" = set; then
15873 echo $ECHO_N "(cached) $ECHO_C" >&6
15875 cat >conftest.
$ac_ext <<_ACEOF
15876 #line $LINENO "configure"
15879 cat confdefs.h
>>conftest.
$ac_ext
15880 cat >>conftest.
$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15882 $ac_includes_default
15886 if ((long long *) 0)
15888 if (sizeof (long long))
15894 rm -f conftest.
$ac_objext
15895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15896 (eval $ac_compile) 2>&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); } &&
15900 { ac_try
='test -s conftest.$ac_objext'
15901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902 (eval $ac_try) 2>&5
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); }; }; then
15906 ac_cv_type_long_long
=yes
15908 echo "$as_me: failed program was:" >&5
15909 sed 's/^/| /' conftest.
$ac_ext >&5
15911 ac_cv_type_long_long
=no
15913 rm -f conftest.
$ac_objext conftest.
$ac_ext
15915 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15916 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15918 echo "$as_me:$LINENO: checking size of long long" >&5
15919 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15920 if test "${ac_cv_sizeof_long_long+set}" = set; then
15921 echo $ECHO_N "(cached) $ECHO_C" >&6
15923 if test "$ac_cv_type_long_long" = yes; then
15924 # The cast to unsigned long works around a bug in the HP C Compiler
15925 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15926 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15927 # This bug is HP SR number 8606223364.
15928 if test "$cross_compiling" = yes; then
15929 # Depending upon the size, compute the lo and hi bounds.
15930 cat >conftest.
$ac_ext <<_ACEOF
15931 #line $LINENO "configure"
15934 cat confdefs.h
>>conftest.
$ac_ext
15935 cat >>conftest.
$ac_ext <<_ACEOF
15936 /* end confdefs.h. */
15937 $ac_includes_default
15941 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15948 rm -f conftest.
$ac_objext
15949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15950 (eval $ac_compile) 2>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } &&
15954 { ac_try
='test -s conftest.$ac_objext'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; }; then
15962 cat >conftest.
$ac_ext <<_ACEOF
15963 #line $LINENO "configure"
15966 cat confdefs.h
>>conftest.
$ac_ext
15967 cat >>conftest.
$ac_ext <<_ACEOF
15968 /* end confdefs.h. */
15969 $ac_includes_default
15973 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15980 rm -f conftest.
$ac_objext
15981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15982 (eval $ac_compile) 2>&5
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } &&
15986 { ac_try
='test -s conftest.$ac_objext'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; }; then
15992 ac_hi
=$ac_mid; break
15994 echo "$as_me: failed program was:" >&5
15995 sed 's/^/| /' conftest.
$ac_ext >&5
15997 ac_lo
=`expr $ac_mid + 1`
15998 if test $ac_lo -le $ac_mid; then
16002 ac_mid
=`expr 2 '*' $ac_mid + 1`
16004 rm -f conftest.
$ac_objext conftest.
$ac_ext
16007 echo "$as_me: failed program was:" >&5
16008 sed 's/^/| /' conftest.
$ac_ext >&5
16010 cat >conftest.
$ac_ext <<_ACEOF
16011 #line $LINENO "configure"
16014 cat confdefs.h
>>conftest.
$ac_ext
16015 cat >>conftest.
$ac_ext <<_ACEOF
16016 /* end confdefs.h. */
16017 $ac_includes_default
16021 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16028 rm -f conftest.
$ac_objext
16029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16030 (eval $ac_compile) 2>&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); } &&
16034 { ac_try
='test -s conftest.$ac_objext'
16035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16036 (eval $ac_try) 2>&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); }; }; then
16042 cat >conftest.
$ac_ext <<_ACEOF
16043 #line $LINENO "configure"
16046 cat confdefs.h
>>conftest.
$ac_ext
16047 cat >>conftest.
$ac_ext <<_ACEOF
16048 /* end confdefs.h. */
16049 $ac_includes_default
16053 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16060 rm -f conftest.
$ac_objext
16061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16062 (eval $ac_compile) 2>&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } &&
16066 { ac_try
='test -s conftest.$ac_objext'
16067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16068 (eval $ac_try) 2>&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); }; }; then
16072 ac_lo
=$ac_mid; break
16074 echo "$as_me: failed program was:" >&5
16075 sed 's/^/| /' conftest.
$ac_ext >&5
16077 ac_hi
=`expr '(' $ac_mid ')' - 1`
16078 if test $ac_mid -le $ac_hi; then
16082 ac_mid
=`expr 2 '*' $ac_mid`
16084 rm -f conftest.
$ac_objext conftest.
$ac_ext
16087 echo "$as_me: failed program was:" >&5
16088 sed 's/^/| /' conftest.
$ac_ext >&5
16092 rm -f conftest.
$ac_objext conftest.
$ac_ext
16094 rm -f conftest.
$ac_objext conftest.
$ac_ext
16095 # Binary search between lo and hi bounds.
16096 while test "x$ac_lo" != "x$ac_hi"; do
16097 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16098 cat >conftest.
$ac_ext <<_ACEOF
16099 #line $LINENO "configure"
16102 cat confdefs.h
>>conftest.
$ac_ext
16103 cat >>conftest.
$ac_ext <<_ACEOF
16104 /* end confdefs.h. */
16105 $ac_includes_default
16109 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16116 rm -f conftest.
$ac_objext
16117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16118 (eval $ac_compile) 2>&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } &&
16122 { ac_try
='test -s conftest.$ac_objext'
16123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16124 (eval $ac_try) 2>&5
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); }; }; then
16130 echo "$as_me: failed program was:" >&5
16131 sed 's/^/| /' conftest.
$ac_ext >&5
16133 ac_lo
=`expr '(' $ac_mid ')' + 1`
16135 rm -f conftest.
$ac_objext conftest.
$ac_ext
16138 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16139 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16140 See \`config.log' for more details." >&5
16141 echo "$as_me: error: cannot compute sizeof (long long), 77
16142 See \`config.log' for more details." >&2;}
16143 { (exit 1); exit 1; }; } ;;
16146 if test "$cross_compiling" = yes; then
16147 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16148 See \`config.log' for more details." >&5
16149 echo "$as_me: error: cannot run test program while cross compiling
16150 See \`config.log' for more details." >&2;}
16151 { (exit 1); exit 1; }; }
16153 cat >conftest.
$ac_ext <<_ACEOF
16154 #line $LINENO "configure"
16157 cat confdefs.h
>>conftest.
$ac_ext
16158 cat >>conftest.
$ac_ext <<_ACEOF
16159 /* end confdefs.h. */
16160 $ac_includes_default
16161 long longval () { return (long) (sizeof (long long)); }
16162 unsigned long ulongval () { return (long) (sizeof (long long)); }
16164 #include <stdlib.h>
16169 FILE *f = fopen ("conftest.val", "w");
16172 if (((long) (sizeof (long long))) < 0)
16174 long i = longval ();
16175 if (i != ((long) (sizeof (long long))))
16177 fprintf (f, "%ld\n", i);
16181 unsigned long i = ulongval ();
16182 if (i != ((long) (sizeof (long long))))
16184 fprintf (f, "%lu\n", i);
16186 exit (ferror (f) || fclose (f) != 0);
16192 rm -f conftest
$ac_exeext
16193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16194 (eval $ac_link) 2>&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16199 (eval $ac_try) 2>&5
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); }; }; then
16203 ac_cv_sizeof_long_long
=`cat conftest.val`
16205 echo "$as_me: program exited with status $ac_status" >&5
16206 echo "$as_me: failed program was:" >&5
16207 sed 's/^/| /' conftest.
$ac_ext >&5
16209 ( exit $ac_status )
16210 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16211 See \`config.log' for more details." >&5
16212 echo "$as_me: error: cannot compute sizeof (long long), 77
16213 See \`config.log' for more details." >&2;}
16214 { (exit 1); exit 1; }; }
16216 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16221 ac_cv_sizeof_long_long
=0
16224 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16225 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16226 cat >>confdefs.h
<<_ACEOF
16227 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16231 if test "$ac_cv_sizeof_long_long" != "0"; then
16232 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16236 echo "$as_me:$LINENO: checking for long long" >&5
16237 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16238 if test "${ac_cv_type_long_long+set}" = set; then
16239 echo $ECHO_N "(cached) $ECHO_C" >&6
16241 cat >conftest.
$ac_ext <<_ACEOF
16242 #line $LINENO "configure"
16245 cat confdefs.h
>>conftest.
$ac_ext
16246 cat >>conftest.
$ac_ext <<_ACEOF
16247 /* end confdefs.h. */
16248 $ac_includes_default
16252 if ((long long *) 0)
16254 if (sizeof (long long))
16260 rm -f conftest.
$ac_objext
16261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16262 (eval $ac_compile) 2>&5
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); } &&
16266 { ac_try
='test -s conftest.$ac_objext'
16267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16268 (eval $ac_try) 2>&5
16270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 (exit $ac_status); }; }; then
16272 ac_cv_type_long_long
=yes
16274 echo "$as_me: failed program was:" >&5
16275 sed 's/^/| /' conftest.
$ac_ext >&5
16277 ac_cv_type_long_long
=no
16279 rm -f conftest.
$ac_objext conftest.
$ac_ext
16281 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16282 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16284 echo "$as_me:$LINENO: checking size of long long" >&5
16285 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16286 if test "${ac_cv_sizeof_long_long+set}" = set; then
16287 echo $ECHO_N "(cached) $ECHO_C" >&6
16289 if test "$ac_cv_type_long_long" = yes; then
16290 # The cast to unsigned long works around a bug in the HP C Compiler
16291 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16292 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16293 # This bug is HP SR number 8606223364.
16294 if test "$cross_compiling" = yes; then
16295 # Depending upon the size, compute the lo and hi bounds.
16296 cat >conftest.
$ac_ext <<_ACEOF
16297 #line $LINENO "configure"
16300 cat confdefs.h
>>conftest.
$ac_ext
16301 cat >>conftest.
$ac_ext <<_ACEOF
16302 /* end confdefs.h. */
16303 $ac_includes_default
16307 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16314 rm -f conftest.
$ac_objext
16315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16316 (eval $ac_compile) 2>&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); } &&
16320 { ac_try
='test -s conftest.$ac_objext'
16321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16322 (eval $ac_try) 2>&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; }; then
16328 cat >conftest.
$ac_ext <<_ACEOF
16329 #line $LINENO "configure"
16332 cat confdefs.h
>>conftest.
$ac_ext
16333 cat >>conftest.
$ac_ext <<_ACEOF
16334 /* end confdefs.h. */
16335 $ac_includes_default
16339 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16346 rm -f conftest.
$ac_objext
16347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16348 (eval $ac_compile) 2>&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); } &&
16352 { ac_try
='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16358 ac_hi
=$ac_mid; break
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.
$ac_ext >&5
16363 ac_lo
=`expr $ac_mid + 1`
16364 if test $ac_lo -le $ac_mid; then
16368 ac_mid
=`expr 2 '*' $ac_mid + 1`
16370 rm -f conftest.
$ac_objext conftest.
$ac_ext
16373 echo "$as_me: failed program was:" >&5
16374 sed 's/^/| /' conftest.
$ac_ext >&5
16376 cat >conftest.
$ac_ext <<_ACEOF
16377 #line $LINENO "configure"
16380 cat confdefs.h
>>conftest.
$ac_ext
16381 cat >>conftest.
$ac_ext <<_ACEOF
16382 /* end confdefs.h. */
16383 $ac_includes_default
16387 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16394 rm -f conftest.
$ac_objext
16395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16396 (eval $ac_compile) 2>&5
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); } &&
16400 { ac_try
='test -s conftest.$ac_objext'
16401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16402 (eval $ac_try) 2>&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); }; }; then
16408 cat >conftest.
$ac_ext <<_ACEOF
16409 #line $LINENO "configure"
16412 cat confdefs.h
>>conftest.
$ac_ext
16413 cat >>conftest.
$ac_ext <<_ACEOF
16414 /* end confdefs.h. */
16415 $ac_includes_default
16419 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16426 rm -f conftest.
$ac_objext
16427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16428 (eval $ac_compile) 2>&5
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); } &&
16432 { ac_try
='test -s conftest.$ac_objext'
16433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16434 (eval $ac_try) 2>&5
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); }; }; then
16438 ac_lo
=$ac_mid; break
16440 echo "$as_me: failed program was:" >&5
16441 sed 's/^/| /' conftest.
$ac_ext >&5
16443 ac_hi
=`expr '(' $ac_mid ')' - 1`
16444 if test $ac_mid -le $ac_hi; then
16448 ac_mid
=`expr 2 '*' $ac_mid`
16450 rm -f conftest.
$ac_objext conftest.
$ac_ext
16453 echo "$as_me: failed program was:" >&5
16454 sed 's/^/| /' conftest.
$ac_ext >&5
16458 rm -f conftest.
$ac_objext conftest.
$ac_ext
16460 rm -f conftest.
$ac_objext conftest.
$ac_ext
16461 # Binary search between lo and hi bounds.
16462 while test "x$ac_lo" != "x$ac_hi"; do
16463 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16464 cat >conftest.
$ac_ext <<_ACEOF
16465 #line $LINENO "configure"
16468 cat confdefs.h
>>conftest.
$ac_ext
16469 cat >>conftest.
$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16471 $ac_includes_default
16475 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16482 rm -f conftest.
$ac_objext
16483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16484 (eval $ac_compile) 2>&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } &&
16488 { ac_try
='test -s conftest.$ac_objext'
16489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16490 (eval $ac_try) 2>&5
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); }; }; then
16496 echo "$as_me: failed program was:" >&5
16497 sed 's/^/| /' conftest.
$ac_ext >&5
16499 ac_lo
=`expr '(' $ac_mid ')' + 1`
16501 rm -f conftest.
$ac_objext conftest.
$ac_ext
16504 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16505 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16506 See \`config.log' for more details." >&5
16507 echo "$as_me: error: cannot compute sizeof (long long), 77
16508 See \`config.log' for more details." >&2;}
16509 { (exit 1); exit 1; }; } ;;
16512 if test "$cross_compiling" = yes; then
16513 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16514 See \`config.log' for more details." >&5
16515 echo "$as_me: error: cannot run test program while cross compiling
16516 See \`config.log' for more details." >&2;}
16517 { (exit 1); exit 1; }; }
16519 cat >conftest.
$ac_ext <<_ACEOF
16520 #line $LINENO "configure"
16523 cat confdefs.h
>>conftest.
$ac_ext
16524 cat >>conftest.
$ac_ext <<_ACEOF
16525 /* end confdefs.h. */
16526 $ac_includes_default
16527 long longval () { return (long) (sizeof (long long)); }
16528 unsigned long ulongval () { return (long) (sizeof (long long)); }
16530 #include <stdlib.h>
16535 FILE *f = fopen ("conftest.val", "w");
16538 if (((long) (sizeof (long long))) < 0)
16540 long i = longval ();
16541 if (i != ((long) (sizeof (long long))))
16543 fprintf (f, "%ld\n", i);
16547 unsigned long i = ulongval ();
16548 if (i != ((long) (sizeof (long long))))
16550 fprintf (f, "%lu\n", i);
16552 exit (ferror (f) || fclose (f) != 0);
16558 rm -f conftest
$ac_exeext
16559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16560 (eval $ac_link) 2>&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; }; then
16569 ac_cv_sizeof_long_long
=`cat conftest.val`
16571 echo "$as_me: program exited with status $ac_status" >&5
16572 echo "$as_me: failed program was:" >&5
16573 sed 's/^/| /' conftest.
$ac_ext >&5
16575 ( exit $ac_status )
16576 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16577 See \`config.log' for more details." >&5
16578 echo "$as_me: error: cannot compute sizeof (long long), 77
16579 See \`config.log' for more details." >&2;}
16580 { (exit 1); exit 1; }; }
16582 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16587 ac_cv_sizeof_long_long
=0
16590 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16591 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16592 cat >>confdefs.h
<<_ACEOF
16593 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16599 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16600 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16601 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16602 echo $ECHO_N "(cached) $ECHO_C" >&6
16605 if test "$cross_compiling" = yes; then
16609 wx_cv_sizeof_wchar_t
=0
16612 wx_cv_sizeof_wchar_t
=4
16618 cat >conftest.
$ac_ext <<_ACEOF
16619 #line $LINENO "configure"
16622 cat confdefs.h
>>conftest.
$ac_ext
16623 cat >>conftest.
$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16626 /* DJGPP only has fake wchar_t: */
16628 # error "fake wchar_t"
16630 #ifdef HAVE_WCHAR_H
16632 # include <stddef.h>
16634 # include <wchar.h>
16636 #ifdef HAVE_STDLIB_H
16637 # include <stdlib.h>
16642 FILE *f=fopen("conftestval", "w");
16644 fprintf(f, "%i", sizeof(wchar_t));
16649 rm -f conftest
$ac_exeext
16650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16651 (eval $ac_link) 2>&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; }; then
16660 wx_cv_sizeof_wchar_t
=`cat conftestval`
16662 echo "$as_me: program exited with status $ac_status" >&5
16663 echo "$as_me: failed program was:" >&5
16664 sed 's/^/| /' conftest.
$ac_ext >&5
16666 ( exit $ac_status )
16667 wx_cv_sizeof_wchar_t
=0
16669 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16673 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16674 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16676 cat >>confdefs.h
<<_ACEOF
16677 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16681 # Check whether --enable-largefile or --disable-largefile was given.
16682 if test "${enable_largefile+set}" = set; then
16683 enableval
="$enable_largefile"
16686 if test "$enable_largefile" != no
; then
16689 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16690 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16691 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16692 echo $ECHO_N "(cached) $ECHO_C" >&6
16695 cat >conftest.
$ac_ext <<_ACEOF
16696 #line $LINENO "configure"
16699 cat confdefs.h
>>conftest.
$ac_ext
16700 cat >>conftest.
$ac_ext <<_ACEOF
16701 /* end confdefs.h. */
16702 #define _FILE_OFFSET_BITS 64
16703 #include <sys/types.h>
16708 unsigned int field: sizeof(off_t) == 8;
16715 rm -f conftest.
$ac_objext
16716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16717 (eval $ac_compile) 2>&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } &&
16721 { ac_try
='test -s conftest.$ac_objext'
16722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16723 (eval $ac_try) 2>&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; }; then
16727 ac_cv_sys_file_offset_bits
=64
16729 echo "$as_me: failed program was:" >&5
16730 sed 's/^/| /' conftest.
$ac_ext >&5
16732 ac_cv_sys_file_offset_bits
=no
16734 rm -f conftest.
$ac_objext conftest.
$ac_ext
16738 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16739 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16741 if test "$ac_cv_sys_file_offset_bits" != no
; then
16743 cat >>confdefs.h
<<_ACEOF
16744 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16749 if test "x$wx_largefile" != "xyes"; then
16751 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16752 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16753 if test "${ac_cv_sys_large_files+set}" = set; then
16754 echo $ECHO_N "(cached) $ECHO_C" >&6
16757 cat >conftest.
$ac_ext <<_ACEOF
16758 #line $LINENO "configure"
16761 cat confdefs.h
>>conftest.
$ac_ext
16762 cat >>conftest.
$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16764 #define _LARGE_FILES 1
16765 #include <sys/types.h>
16770 unsigned int field: sizeof(off_t) == 8;
16777 rm -f conftest.
$ac_objext
16778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16779 (eval $ac_compile) 2>&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } &&
16783 { ac_try
='test -s conftest.$ac_objext'
16784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16785 (eval $ac_try) 2>&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; }; then
16789 ac_cv_sys_large_files
=1
16791 echo "$as_me: failed program was:" >&5
16792 sed 's/^/| /' conftest.
$ac_ext >&5
16794 ac_cv_sys_large_files
=no
16796 rm -f conftest.
$ac_objext conftest.
$ac_ext
16800 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16801 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16803 if test "$ac_cv_sys_large_files" != no
; then
16805 cat >>confdefs.h
<<_ACEOF
16806 #define _LARGE_FILES $ac_cv_sys_large_files
16813 echo "$as_me:$LINENO: checking if large file support is available" >&5
16814 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16815 if test "x$wx_largefile" = "xyes"; then
16816 cat >>confdefs.h
<<\_ACEOF
16817 #define HAVE_LARGEFILE_SUPPORT 1
16821 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16822 echo "${ECHO_T}$wx_largefile" >&6
16826 if test "x$wx_largefile" = "xyes"; then
16827 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16828 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16830 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16832 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16835 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16836 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16837 if test "${ac_cv_c_bigendian+set}" = set; then
16838 echo $ECHO_N "(cached) $ECHO_C" >&6
16840 ac_cv_c_bigendian
=unknown
16841 # See if sys/param.h defines the BYTE_ORDER macro.
16842 cat >conftest.
$ac_ext <<_ACEOF
16843 #line $LINENO "configure"
16846 cat confdefs.h
>>conftest.
$ac_ext
16847 cat >>conftest.
$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849 #include <sys/types.h>
16850 #include <sys/param.h>
16855 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16856 bogus endian macros
16862 rm -f conftest.
$ac_objext
16863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16864 (eval $ac_compile) 2>&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); } &&
16868 { ac_try
='test -s conftest.$ac_objext'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; }; then
16874 # It does; now see whether it defined to BIG_ENDIAN or not.
16875 cat >conftest.
$ac_ext <<_ACEOF
16876 #line $LINENO "configure"
16879 cat confdefs.h
>>conftest.
$ac_ext
16880 cat >>conftest.
$ac_ext <<_ACEOF
16881 /* end confdefs.h. */
16882 #include <sys/types.h>
16883 #include <sys/param.h>
16888 #if BYTE_ORDER != BIG_ENDIAN
16895 rm -f conftest.
$ac_objext
16896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16897 (eval $ac_compile) 2>&5
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); } &&
16901 { ac_try
='test -s conftest.$ac_objext'
16902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16903 (eval $ac_try) 2>&5
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); }; }; then
16907 ac_cv_c_bigendian
=yes
16909 echo "$as_me: failed program was:" >&5
16910 sed 's/^/| /' conftest.
$ac_ext >&5
16912 ac_cv_c_bigendian
=no
16914 rm -f conftest.
$ac_objext conftest.
$ac_ext
16916 echo "$as_me: failed program was:" >&5
16917 sed 's/^/| /' conftest.
$ac_ext >&5
16920 rm -f conftest.
$ac_objext conftest.
$ac_ext
16921 if test $ac_cv_c_bigendian = unknown
; then
16922 if test "$cross_compiling" = yes; then
16923 ac_cv_c_bigendian
=unknown
16925 cat >conftest.
$ac_ext <<_ACEOF
16926 #line $LINENO "configure"
16929 cat confdefs.h
>>conftest.
$ac_ext
16930 cat >>conftest.
$ac_ext <<_ACEOF
16931 /* end confdefs.h. */
16933 /* Are we little or big endian? From Harbison&Steele. */
16937 char c[sizeof (long)];
16940 exit (u.c[sizeof (long) - 1] == 1);
16943 rm -f conftest
$ac_exeext
16944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16945 (eval $ac_link) 2>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; }; then
16954 ac_cv_c_bigendian
=no
16956 echo "$as_me: program exited with status $ac_status" >&5
16957 echo "$as_me: failed program was:" >&5
16958 sed 's/^/| /' conftest.
$ac_ext >&5
16960 ( exit $ac_status )
16961 ac_cv_c_bigendian
=yes
16963 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16967 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16968 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16969 if test $ac_cv_c_bigendian = unknown
; then
16970 { 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
16971 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;}
16973 if test $ac_cv_c_bigendian = yes; then
16974 cat >>confdefs.h
<<\_ACEOF
16975 #define WORDS_BIGENDIAN 1
16983 ac_cpp
='$CXXCPP $CPPFLAGS'
16984 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16985 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16986 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16987 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16988 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16989 if test -z "$CXXCPP"; then
16990 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16991 echo $ECHO_N "(cached) $ECHO_C" >&6
16993 # Double quotes because CXXCPP needs to be expanded
16994 for CXXCPP
in "$CXX -E" "/lib/cpp"
16996 ac_preproc_ok
=false
16997 for ac_cxx_preproc_warn_flag
in '' yes
16999 # Use a header file that comes with gcc, so configuring glibc
17000 # with a fresh cross-compiler works.
17001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17002 # <limits.h> exists even on freestanding compilers.
17003 # On the NeXT, cc -E runs the code through the compiler's parser,
17004 # not just through cpp. "Syntax error" is here to catch this case.
17005 cat >conftest.
$ac_ext <<_ACEOF
17006 #line $LINENO "configure"
17009 cat confdefs.h
>>conftest.
$ac_ext
17010 cat >>conftest.
$ac_ext <<_ACEOF
17011 /* end confdefs.h. */
17013 # include <limits.h>
17015 # include <assert.h>
17019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17020 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17022 grep -v '^ *+' conftest.er1
>conftest.err
17024 cat conftest.err
>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } >/dev
/null
; then
17027 if test -s conftest.err
; then
17028 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17035 if test -z "$ac_cpp_err"; then
17038 echo "$as_me: failed program was:" >&5
17039 sed 's/^/| /' conftest.
$ac_ext >&5
17041 # Broken: fails on valid input.
17044 rm -f conftest.err conftest.
$ac_ext
17046 # OK, works on sane cases. Now check whether non-existent headers
17047 # can be detected and how.
17048 cat >conftest.
$ac_ext <<_ACEOF
17049 #line $LINENO "configure"
17052 cat confdefs.h
>>conftest.
$ac_ext
17053 cat >>conftest.
$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17055 #include <ac_nonexistent.h>
17057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17058 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17060 grep -v '^ *+' conftest.er1
>conftest.err
17062 cat conftest.err
>&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } >/dev
/null
; then
17065 if test -s conftest.err
; then
17066 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17073 if test -z "$ac_cpp_err"; then
17074 # Broken: success on invalid input.
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.
$ac_ext >&5
17080 # Passes both tests.
17084 rm -f conftest.err conftest.
$ac_ext
17087 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17088 rm -f conftest.err conftest.
$ac_ext
17089 if $ac_preproc_ok; then
17094 ac_cv_prog_CXXCPP
=$CXXCPP
17097 CXXCPP
=$ac_cv_prog_CXXCPP
17099 ac_cv_prog_CXXCPP
=$CXXCPP
17101 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17102 echo "${ECHO_T}$CXXCPP" >&6
17103 ac_preproc_ok
=false
17104 for ac_cxx_preproc_warn_flag
in '' yes
17106 # Use a header file that comes with gcc, so configuring glibc
17107 # with a fresh cross-compiler works.
17108 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17109 # <limits.h> exists even on freestanding compilers.
17110 # On the NeXT, cc -E runs the code through the compiler's parser,
17111 # not just through cpp. "Syntax error" is here to catch this case.
17112 cat >conftest.
$ac_ext <<_ACEOF
17113 #line $LINENO "configure"
17116 cat confdefs.h
>>conftest.
$ac_ext
17117 cat >>conftest.
$ac_ext <<_ACEOF
17118 /* end confdefs.h. */
17120 # include <limits.h>
17122 # include <assert.h>
17126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17127 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17129 grep -v '^ *+' conftest.er1
>conftest.err
17131 cat conftest.err
>&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); } >/dev
/null
; then
17134 if test -s conftest.err
; then
17135 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17142 if test -z "$ac_cpp_err"; then
17145 echo "$as_me: failed program was:" >&5
17146 sed 's/^/| /' conftest.
$ac_ext >&5
17148 # Broken: fails on valid input.
17151 rm -f conftest.err conftest.
$ac_ext
17153 # OK, works on sane cases. Now check whether non-existent headers
17154 # can be detected and how.
17155 cat >conftest.
$ac_ext <<_ACEOF
17156 #line $LINENO "configure"
17159 cat confdefs.h
>>conftest.
$ac_ext
17160 cat >>conftest.
$ac_ext <<_ACEOF
17161 /* end confdefs.h. */
17162 #include <ac_nonexistent.h>
17164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17165 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17167 grep -v '^ *+' conftest.er1
>conftest.err
17169 cat conftest.err
>&5
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); } >/dev
/null
; then
17172 if test -s conftest.err
; then
17173 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17180 if test -z "$ac_cpp_err"; then
17181 # Broken: success on invalid input.
17184 echo "$as_me: failed program was:" >&5
17185 sed 's/^/| /' conftest.
$ac_ext >&5
17187 # Passes both tests.
17191 rm -f conftest.err conftest.
$ac_ext
17194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17195 rm -f conftest.err conftest.
$ac_ext
17196 if $ac_preproc_ok; then
17199 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17200 See \`config.log' for more details." >&5
17201 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17202 See \`config.log' for more details." >&2;}
17203 { (exit 1); exit 1; }; }
17207 ac_cpp
='$CXXCPP $CPPFLAGS'
17208 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17209 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17210 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17214 if test "$cross_compiling" = "yes"; then
17215 cat >>confdefs.h
<<\_ACEOF
17216 #define wxUSE_IOSTREAMH 1
17223 ac_cpp
='$CXXCPP $CPPFLAGS'
17224 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17225 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17226 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17230 for ac_header
in iostream
17232 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17234 echo "$as_me:$LINENO: checking for $ac_header" >&5
17235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17237 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17242 # Is the header compilable?
17243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17245 cat >conftest.
$ac_ext <<_ACEOF
17246 #line $LINENO "configure"
17249 cat confdefs.h
>>conftest.
$ac_ext
17250 cat >>conftest.
$ac_ext <<_ACEOF
17251 /* end confdefs.h. */
17252 $ac_includes_default
17253 #include <$ac_header>
17255 rm -f conftest.
$ac_objext
17256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17257 (eval $ac_compile) 2>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } &&
17261 { ac_try
='test -s conftest.$ac_objext'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; }; then
17267 ac_header_compiler
=yes
17269 echo "$as_me: failed program was:" >&5
17270 sed 's/^/| /' conftest.
$ac_ext >&5
17272 ac_header_compiler
=no
17274 rm -f conftest.
$ac_objext conftest.
$ac_ext
17275 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17276 echo "${ECHO_T}$ac_header_compiler" >&6
17278 # Is the header present?
17279 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17280 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17281 cat >conftest.
$ac_ext <<_ACEOF
17282 #line $LINENO "configure"
17285 cat confdefs.h
>>conftest.
$ac_ext
17286 cat >>conftest.
$ac_ext <<_ACEOF
17287 /* end confdefs.h. */
17288 #include <$ac_header>
17290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17291 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17293 grep -v '^ *+' conftest.er1
>conftest.err
17295 cat conftest.err
>&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } >/dev
/null
; then
17298 if test -s conftest.err
; then
17299 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17306 if test -z "$ac_cpp_err"; then
17307 ac_header_preproc
=yes
17309 echo "$as_me: failed program was:" >&5
17310 sed 's/^/| /' conftest.
$ac_ext >&5
17312 ac_header_preproc
=no
17314 rm -f conftest.err conftest.
$ac_ext
17315 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17316 echo "${ECHO_T}$ac_header_preproc" >&6
17318 # So? What about this header?
17319 case $ac_header_compiler:$ac_header_preproc in
17321 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17322 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17327 ## ------------------------------------ ##
17328 ## Report this to bug-autoconf@gnu.org. ##
17329 ## ------------------------------------ ##
17332 sed "s/^/$as_me: WARNING: /" >&2
17335 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17336 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17337 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17338 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17340 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17343 ## ------------------------------------ ##
17344 ## Report this to bug-autoconf@gnu.org. ##
17345 ## ------------------------------------ ##
17348 sed "s/^/$as_me: WARNING: /" >&2
17351 echo "$as_me:$LINENO: checking for $ac_header" >&5
17352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17354 echo $ECHO_N "(cached) $ECHO_C" >&6
17356 eval "$as_ac_Header=$ac_header_preproc"
17358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17363 cat >>confdefs.h
<<_ACEOF
17364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17372 if test "$ac_cv_header_iostream" = "yes" ; then
17375 cat >>confdefs.h
<<\_ACEOF
17376 #define wxUSE_IOSTREAMH 1
17382 ac_cpp
='$CPP $CPPFLAGS'
17383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17391 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17392 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17393 if test "${wx_cv_cpp_bool+set}" = set; then
17394 echo $ECHO_N "(cached) $ECHO_C" >&6
17400 ac_cpp
='$CXXCPP $CPPFLAGS'
17401 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17402 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17403 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17406 cat >conftest.
$ac_ext <<_ACEOF
17407 #line $LINENO "configure"
17410 cat confdefs.h
>>conftest.
$ac_ext
17411 cat >>conftest.
$ac_ext <<_ACEOF
17412 /* end confdefs.h. */
17427 rm -f conftest.
$ac_objext
17428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17429 (eval $ac_compile) 2>&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); } &&
17433 { ac_try
='test -s conftest.$ac_objext'
17434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435 (eval $ac_try) 2>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }; }; then
17443 echo "$as_me: failed program was:" >&5
17444 sed 's/^/| /' conftest.
$ac_ext >&5
17451 rm -f conftest.
$ac_objext conftest.
$ac_ext
17454 ac_cpp
='$CPP $CPPFLAGS'
17455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17461 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17462 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17464 if test "$wx_cv_cpp_bool" = "yes"; then
17465 cat >>confdefs.h
<<\_ACEOF
17466 #define HAVE_BOOL 1
17473 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17474 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17475 if test "${wx_cv_explicit+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17482 ac_cpp
='$CXXCPP $CPPFLAGS'
17483 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17484 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17485 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17488 cat >conftest.
$ac_ext <<_ACEOF
17489 #line $LINENO "configure"
17492 cat confdefs.h
>>conftest.
$ac_ext
17493 cat >>conftest.
$ac_ext <<_ACEOF
17494 /* end confdefs.h. */
17496 class Foo { public: explicit Foo(int) {} };
17508 rm -f conftest.
$ac_objext
17509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17510 (eval $ac_compile) 2>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } &&
17514 { ac_try
='test -s conftest.$ac_objext'
17515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17516 (eval $ac_try) 2>&5
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); }; }; then
17521 cat >conftest.
$ac_ext <<_ACEOF
17522 #line $LINENO "configure"
17525 cat confdefs.h
>>conftest.
$ac_ext
17526 cat >>conftest.
$ac_ext <<_ACEOF
17527 /* end confdefs.h. */
17529 class Foo { public: explicit Foo(int) {} };
17530 static void TakeFoo(const Foo& foo) { }
17543 rm -f conftest.
$ac_objext
17544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17545 (eval $ac_compile) 2>&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); } &&
17549 { ac_try
='test -s conftest.$ac_objext'
17550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17551 (eval $ac_try) 2>&5
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); }; }; then
17557 echo "$as_me: failed program was:" >&5
17558 sed 's/^/| /' conftest.
$ac_ext >&5
17563 rm -f conftest.
$ac_objext conftest.
$ac_ext
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.
$ac_ext >&5
17572 rm -f conftest.
$ac_objext conftest.
$ac_ext
17575 ac_cpp
='$CPP $CPPFLAGS'
17576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17582 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17583 echo "${ECHO_T}$wx_cv_explicit" >&6
17585 if test "$wx_cv_explicit" = "yes"; then
17586 cat >>confdefs.h
<<\_ACEOF
17587 #define HAVE_EXPLICIT 1
17593 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17594 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17595 if test "${ac_cv_cxx_const_cast+set}" = set; then
17596 echo $ECHO_N "(cached) $ECHO_C" >&6
17601 ac_cpp
='$CXXCPP $CPPFLAGS'
17602 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17603 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17604 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17606 cat >conftest.
$ac_ext <<_ACEOF
17607 #line $LINENO "configure"
17610 cat confdefs.h
>>conftest.
$ac_ext
17611 cat >>conftest.
$ac_ext <<_ACEOF
17612 /* end confdefs.h. */
17617 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17622 rm -f conftest.
$ac_objext
17623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17624 (eval $ac_compile) 2>&5
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); } &&
17628 { ac_try
='test -s conftest.$ac_objext'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; }; then
17634 ac_cv_cxx_const_cast
=yes
17636 echo "$as_me: failed program was:" >&5
17637 sed 's/^/| /' conftest.
$ac_ext >&5
17639 ac_cv_cxx_const_cast
=no
17641 rm -f conftest.
$ac_objext conftest.
$ac_ext
17643 ac_cpp
='$CPP $CPPFLAGS'
17644 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17645 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17646 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17650 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17651 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17652 if test "$ac_cv_cxx_const_cast" = yes; then
17654 cat >>confdefs.h
<<\_ACEOF
17655 #define HAVE_CONST_CAST
17661 if test "$wxUSE_STL" = "yes"; then
17663 ac_cpp
='$CXXCPP $CPPFLAGS'
17664 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17665 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17666 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17669 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17670 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17671 cat >conftest.
$ac_ext <<_ACEOF
17672 #line $LINENO "configure"
17675 cat confdefs.h
>>conftest.
$ac_ext
17676 cat >>conftest.
$ac_ext <<_ACEOF
17677 /* end confdefs.h. */
17679 #include <functional>
17680 #include <algorithm>
17686 std::vector<int> moo;
17687 std::list<int> foo;
17688 std::vector<int>::iterator it =
17689 std::find_if(moo.begin(), moo.end(),
17690 std::bind2nd(std::less<int>(), 3));
17695 rm -f conftest.
$ac_objext
17696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17697 (eval $ac_compile) 2>&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); } &&
17701 { ac_try
='test -s conftest.$ac_objext'
17702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17703 (eval $ac_try) 2>&5
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }; }; then
17707 echo "$as_me:$LINENO: result: yes" >&5
17708 echo "${ECHO_T}yes" >&6
17710 echo "$as_me: failed program was:" >&5
17711 sed 's/^/| /' conftest.
$ac_ext >&5
17713 echo "$as_me:$LINENO: result: no" >&5
17714 echo "${ECHO_T}no" >&6
17715 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17716 echo "$as_me: error: Basic STL functionality missing" >&2;}
17717 { (exit 1); exit 1; }; }
17719 rm -f conftest.
$ac_objext conftest.
$ac_ext
17721 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17722 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17723 cat >conftest.
$ac_ext <<_ACEOF
17724 #line $LINENO "configure"
17727 cat confdefs.h
>>conftest.
$ac_ext
17728 cat >>conftest.
$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17739 rm -f conftest.
$ac_objext
17740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17741 (eval $ac_compile) 2>&5
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); } &&
17745 { ac_try
='test -s conftest.$ac_objext'
17746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17747 (eval $ac_try) 2>&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); }; }; then
17751 echo "$as_me:$LINENO: result: yes" >&5
17752 echo "${ECHO_T}yes" >&6
17753 cat >>confdefs.h
<<\_ACEOF
17754 #define HAVE_STD_WSTRING 1
17758 echo "$as_me: failed program was:" >&5
17759 sed 's/^/| /' conftest.
$ac_ext >&5
17761 echo "$as_me:$LINENO: result: no" >&5
17762 echo "${ECHO_T}no" >&6
17764 rm -f conftest.
$ac_objext conftest.
$ac_ext
17766 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17767 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17768 cat >conftest.
$ac_ext <<_ACEOF
17769 #line $LINENO "configure"
17772 cat confdefs.h
>>conftest.
$ac_ext
17773 cat >>conftest.
$ac_ext <<_ACEOF
17774 /* end confdefs.h. */
17779 std::string foo, bar;
17781 foo.compare(1, 1, bar);
17782 foo.compare(1, 1, bar, 1, 1);
17784 foo.compare(1, 1, "");
17785 foo.compare(1, 1, "", 2);
17790 rm -f conftest.
$ac_objext
17791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17792 (eval $ac_compile) 2>&5
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); } &&
17796 { ac_try
='test -s conftest.$ac_objext'
17797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17798 (eval $ac_try) 2>&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); }; }; then
17802 echo "$as_me:$LINENO: result: yes" >&5
17803 echo "${ECHO_T}yes" >&6
17804 cat >>confdefs.h
<<\_ACEOF
17805 #define HAVE_STD_STRING_COMPARE 1
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.
$ac_ext >&5
17812 echo "$as_me:$LINENO: result: no" >&5
17813 echo "${ECHO_T}no" >&6
17815 rm -f conftest.
$ac_objext conftest.
$ac_ext
17818 ac_cpp
='$CPP $CPPFLAGS'
17819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17827 /usr/local/include \
17829 /usr/Motif-1.2/include \
17830 /usr/Motif-2.1/include \
17832 /usr/include/Motif1.2 \
17833 /opt/xpm/include/X11 \
17834 /opt/GBxpm/include/ \
17835 /opt/GBxpm/X11/include/ \
17837 /usr/Motif1.2/include \
17839 /usr/openwin/include \
17843 /usr/X11R6/include \
17844 /usr/X11R6.4/include \
17845 /usr/X11R5/include \
17846 /usr/X11R4/include \
17848 /usr/include/X11R6 \
17849 /usr/include/X11R5 \
17850 /usr/include/X11R4 \
17852 /usr/local/X11R6/include \
17853 /usr/local/X11R5/include \
17854 /usr/local/X11R4/include \
17856 /usr/local/include/X11R6 \
17857 /usr/local/include/X11R5 \
17858 /usr/local/include/X11R4 \
17862 /usr/local/X11/include \
17863 /usr/local/include/X11 \
17865 /usr/X386/include \
17866 /usr/x386/include \
17867 /usr/XFree86/include/X11 \
17869 X:/XFree86/include \
17870 X:/XFree86/include/X11 \
17873 /usr/local/include/gtk \
17874 /usr/include/glib \
17875 /usr/local/include/glib \
17878 /usr/local/include/qt \
17880 /usr/include/windows \
17881 /usr/include/wine \
17882 /usr/local/include/wine \
17884 /usr/unsupported/include \
17885 /usr/athena/include \
17886 /usr/local/x11r5/include \
17887 /usr/lpp/Xamples/include \
17889 /usr/openwin/share/include"
17891 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17894 cat >confcache
<<\_ACEOF
17895 # This file is a shell script that caches the results of configure
17896 # tests run on this system so they can be shared between configure
17897 # scripts and configure runs, see configure's option --config-cache.
17898 # It is not useful on other systems. If it contains results you don't
17899 # want to keep, you may remove or edit it.
17901 # config.status only pays attention to the cache file if you give it
17902 # the --recheck option to rerun configure.
17904 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17905 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17906 # following values.
17910 # The following way of writing the cache mishandles newlines in values,
17911 # but we know of no workaround that is simple, portable, and efficient.
17912 # So, don't put newlines in cache variables' values.
17913 # Ultrix sh set writes to stderr and can't be redirected directly,
17914 # and sets the high bit in the cache file unless we assign to the vars.
17917 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17919 # `set' does not quote correctly, so add quotes (double-quote
17920 # substitution turns \\\\ into \\, and sed turns \\ into \).
17923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17926 # `set' quotes correctly as required by POSIX, so do not add quotes.
17928 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17937 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17939 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17940 if test -w $cache_file; then
17941 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17942 cat confcache
>$cache_file
17944 echo "not updating unwritable cache $cache_file"
17949 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17950 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17951 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17952 if test "${wx_cv_lib_glibc21+set}" = set; then
17953 echo $ECHO_N "(cached) $ECHO_C" >&6
17956 cat >conftest.
$ac_ext <<_ACEOF
17957 #line $LINENO "configure"
17960 cat confdefs.h
>>conftest.
$ac_ext
17961 cat >>conftest.
$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17963 #include <features.h>
17968 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17969 #error not glibc2.1
17976 rm -f conftest.
$ac_objext
17977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17978 (eval $ac_compile) 2>&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); } &&
17982 { ac_try
='test -s conftest.$ac_objext'
17983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17984 (eval $ac_try) 2>&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); }; }; then
17989 wx_cv_lib_glibc21
=yes
17992 echo "$as_me: failed program was:" >&5
17993 sed 's/^/| /' conftest.
$ac_ext >&5
17996 wx_cv_lib_glibc21
=no
18000 rm -f conftest.
$ac_objext conftest.
$ac_ext
18003 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18004 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18005 if test "$wx_cv_lib_glibc21" = "yes"; then
18006 cat >>confdefs.h
<<\_ACEOF
18007 #define wxHAVE_GLIBC2 1
18013 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18014 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18015 cat >>confdefs.h
<<\_ACEOF
18016 #define _GNU_SOURCE 1
18025 if test "$wxUSE_REGEX" != "no"; then
18026 cat >>confdefs.h
<<\_ACEOF
18027 #define wxUSE_REGEX 1
18031 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18032 if test "${ac_cv_header_regex_h+set}" = set; then
18033 echo "$as_me:$LINENO: checking for regex.h" >&5
18034 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18035 if test "${ac_cv_header_regex_h+set}" = set; then
18036 echo $ECHO_N "(cached) $ECHO_C" >&6
18038 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18039 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18041 # Is the header compilable?
18042 echo "$as_me:$LINENO: checking regex.h usability" >&5
18043 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18044 cat >conftest.
$ac_ext <<_ACEOF
18045 #line $LINENO "configure"
18048 cat confdefs.h
>>conftest.
$ac_ext
18049 cat >>conftest.
$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 $ac_includes_default
18054 rm -f conftest.
$ac_objext
18055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18056 (eval $ac_compile) 2>&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); } &&
18060 { ac_try
='test -s conftest.$ac_objext'
18061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18062 (eval $ac_try) 2>&5
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); }; }; then
18066 ac_header_compiler
=yes
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.
$ac_ext >&5
18071 ac_header_compiler
=no
18073 rm -f conftest.
$ac_objext conftest.
$ac_ext
18074 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18075 echo "${ECHO_T}$ac_header_compiler" >&6
18077 # Is the header present?
18078 echo "$as_me:$LINENO: checking regex.h presence" >&5
18079 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18080 cat >conftest.
$ac_ext <<_ACEOF
18081 #line $LINENO "configure"
18084 cat confdefs.h
>>conftest.
$ac_ext
18085 cat >>conftest.
$ac_ext <<_ACEOF
18086 /* end confdefs.h. */
18089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18092 grep -v '^ *+' conftest.er1
>conftest.err
18094 cat conftest.err
>&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } >/dev
/null
; then
18097 if test -s conftest.err
; then
18098 ac_cpp_err
=$ac_c_preproc_warn_flag
18105 if test -z "$ac_cpp_err"; then
18106 ac_header_preproc
=yes
18108 echo "$as_me: failed program was:" >&5
18109 sed 's/^/| /' conftest.
$ac_ext >&5
18111 ac_header_preproc
=no
18113 rm -f conftest.err conftest.
$ac_ext
18114 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18115 echo "${ECHO_T}$ac_header_preproc" >&6
18117 # So? What about this header?
18118 case $ac_header_compiler:$ac_header_preproc in
18120 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18121 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18122 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18123 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18126 ## ------------------------------------ ##
18127 ## Report this to bug-autoconf@gnu.org. ##
18128 ## ------------------------------------ ##
18131 sed "s/^/$as_me: WARNING: /" >&2
18134 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18135 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18136 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18137 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18138 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18139 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18142 ## ------------------------------------ ##
18143 ## Report this to bug-autoconf@gnu.org. ##
18144 ## ------------------------------------ ##
18147 sed "s/^/$as_me: WARNING: /" >&2
18150 echo "$as_me:$LINENO: checking for regex.h" >&5
18151 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18152 if test "${ac_cv_header_regex_h+set}" = set; then
18153 echo $ECHO_N "(cached) $ECHO_C" >&6
18155 ac_cv_header_regex_h
=$ac_header_preproc
18157 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18158 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18161 if test $ac_cv_header_regex_h = yes; then
18163 for ac_func
in regcomp
18165 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18166 echo "$as_me:$LINENO: checking for $ac_func" >&5
18167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18168 if eval "test \"\${$as_ac_var+set}\" = set"; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18171 cat >conftest.
$ac_ext <<_ACEOF
18172 #line $LINENO "configure"
18175 cat confdefs.h
>>conftest.
$ac_ext
18176 cat >>conftest.
$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18178 /* System header to define __stub macros and hopefully few prototypes,
18179 which can conflict with char $ac_func (); below.
18180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18181 <limits.h> exists even on freestanding compilers. */
18183 # include <limits.h>
18185 # include <assert.h>
18187 /* Override any gcc2 internal prototype to avoid an error. */
18192 /* We use char because int might match the return type of a gcc2
18193 builtin and then its argument prototype would still apply. */
18195 /* The GNU C library defines this for functions which it implements
18196 to always fail with ENOSYS. Some functions are actually named
18197 something starting with __ and the normal name is an alias. */
18198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18201 char (*f) () = $ac_func;
18210 return f != $ac_func;
18215 rm -f conftest.
$ac_objext conftest
$ac_exeext
18216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18217 (eval $ac_link) 2>&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); } &&
18221 { ac_try
='test -s conftest$ac_exeext'
18222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18223 (eval $ac_try) 2>&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); }; }; then
18227 eval "$as_ac_var=yes"
18229 echo "$as_me: failed program was:" >&5
18230 sed 's/^/| /' conftest.
$ac_ext >&5
18232 eval "$as_ac_var=no"
18234 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18238 if test `eval echo '${'$as_ac_var'}'` = yes; then
18239 cat >>confdefs.h
<<_ACEOF
18240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18250 if test "x$ac_cv_func_regcomp" != "xyes"; then
18251 if test "$wxUSE_REGEX" = "sys" ; then
18252 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18253 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18254 { (exit 1); exit 1; }; }
18256 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18257 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18258 wxUSE_REGEX
=builtin
18265 if test "$wxUSE_REGEX" = "builtin" ; then
18266 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18273 if test "$wxUSE_ZLIB" != "no" ; then
18274 cat >>confdefs.h
<<\_ACEOF
18275 #define wxUSE_ZLIB 1
18279 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18280 if test "$USE_DARWIN" = 1; then
18281 system_zlib_h_ok
="yes"
18283 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18284 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18285 if test "${ac_cv_header_zlib_h+set}" = set; then
18286 echo $ECHO_N "(cached) $ECHO_C" >&6
18288 if test "$cross_compiling" = yes; then
18289 unset ac_cv_header_zlib_h
18292 cat >conftest.
$ac_ext <<_ACEOF
18293 #line $LINENO "configure"
18296 cat confdefs.h
>>conftest.
$ac_ext
18297 cat >>conftest.
$ac_ext <<_ACEOF
18298 /* end confdefs.h. */
18305 FILE *f=fopen("conftestval", "w");
18308 ZLIB_VERSION[0] == '1' &&
18309 (ZLIB_VERSION[2] > '1' ||
18310 (ZLIB_VERSION[2] == '1' &&
18311 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18316 rm -f conftest
$ac_exeext
18317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18318 (eval $ac_link) 2>&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; }; then
18327 ac_cv_header_zlib_h
=`cat conftestval`
18329 echo "$as_me: program exited with status $ac_status" >&5
18330 echo "$as_me: failed program was:" >&5
18331 sed 's/^/| /' conftest.
$ac_ext >&5
18333 ( exit $ac_status )
18334 ac_cv_header_zlib_h
=no
18336 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18340 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18341 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18342 if test "${ac_cv_header_zlib_h+set}" = set; then
18343 echo "$as_me:$LINENO: checking for zlib.h" >&5
18344 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18345 if test "${ac_cv_header_zlib_h+set}" = set; then
18346 echo $ECHO_N "(cached) $ECHO_C" >&6
18348 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18349 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18351 # Is the header compilable?
18352 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18353 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18354 cat >conftest.
$ac_ext <<_ACEOF
18355 #line $LINENO "configure"
18358 cat confdefs.h
>>conftest.
$ac_ext
18359 cat >>conftest.
$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18361 $ac_includes_default
18364 rm -f conftest.
$ac_objext
18365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18366 (eval $ac_compile) 2>&5
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); } &&
18370 { ac_try
='test -s conftest.$ac_objext'
18371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18372 (eval $ac_try) 2>&5
18374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 (exit $ac_status); }; }; then
18376 ac_header_compiler
=yes
18378 echo "$as_me: failed program was:" >&5
18379 sed 's/^/| /' conftest.
$ac_ext >&5
18381 ac_header_compiler
=no
18383 rm -f conftest.
$ac_objext conftest.
$ac_ext
18384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18385 echo "${ECHO_T}$ac_header_compiler" >&6
18387 # Is the header present?
18388 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18389 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18390 cat >conftest.
$ac_ext <<_ACEOF
18391 #line $LINENO "configure"
18394 cat confdefs.h
>>conftest.
$ac_ext
18395 cat >>conftest.
$ac_ext <<_ACEOF
18396 /* end confdefs.h. */
18399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18400 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18402 grep -v '^ *+' conftest.er1
>conftest.err
18404 cat conftest.err
>&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } >/dev
/null
; then
18407 if test -s conftest.err
; then
18408 ac_cpp_err
=$ac_c_preproc_warn_flag
18415 if test -z "$ac_cpp_err"; then
18416 ac_header_preproc
=yes
18418 echo "$as_me: failed program was:" >&5
18419 sed 's/^/| /' conftest.
$ac_ext >&5
18421 ac_header_preproc
=no
18423 rm -f conftest.err conftest.
$ac_ext
18424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18425 echo "${ECHO_T}$ac_header_preproc" >&6
18427 # So? What about this header?
18428 case $ac_header_compiler:$ac_header_preproc in
18430 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18431 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18432 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18433 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18436 ## ------------------------------------ ##
18437 ## Report this to bug-autoconf@gnu.org. ##
18438 ## ------------------------------------ ##
18441 sed "s/^/$as_me: WARNING: /" >&2
18444 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18445 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18446 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18447 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18448 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18449 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18452 ## ------------------------------------ ##
18453 ## Report this to bug-autoconf@gnu.org. ##
18454 ## ------------------------------------ ##
18457 sed "s/^/$as_me: WARNING: /" >&2
18460 echo "$as_me:$LINENO: checking for zlib.h" >&5
18461 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18462 if test "${ac_cv_header_zlib_h+set}" = set; then
18463 echo $ECHO_N "(cached) $ECHO_C" >&6
18465 ac_cv_header_zlib_h
=$ac_header_preproc
18467 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18468 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18474 system_zlib_h_ok
=$ac_cv_header_zlib_h
18477 if test "$system_zlib_h_ok" = "yes"; then
18478 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18479 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18480 if test "${ac_cv_lib_z_deflate+set}" = set; then
18481 echo $ECHO_N "(cached) $ECHO_C" >&6
18483 ac_check_lib_save_LIBS
=$LIBS
18485 cat >conftest.
$ac_ext <<_ACEOF
18486 #line $LINENO "configure"
18489 cat confdefs.h
>>conftest.
$ac_ext
18490 cat >>conftest.
$ac_ext <<_ACEOF
18491 /* end confdefs.h. */
18493 /* Override any gcc2 internal prototype to avoid an error. */
18497 /* We use char because int might match the return type of a gcc2
18498 builtin and then its argument prototype would still apply. */
18508 rm -f conftest.
$ac_objext conftest
$ac_exeext
18509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18510 (eval $ac_link) 2>&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } &&
18514 { ac_try
='test -s conftest$ac_exeext'
18515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18516 (eval $ac_try) 2>&5
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }; }; then
18520 ac_cv_lib_z_deflate
=yes
18522 echo "$as_me: failed program was:" >&5
18523 sed 's/^/| /' conftest.
$ac_ext >&5
18525 ac_cv_lib_z_deflate
=no
18527 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18528 LIBS
=$ac_check_lib_save_LIBS
18530 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18531 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18532 if test $ac_cv_lib_z_deflate = yes; then
18538 if test "x$ZLIB_LINK" = "x" ; then
18539 if test "$wxUSE_ZLIB" = "sys" ; then
18540 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18541 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18542 { (exit 1); exit 1; }; }
18544 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18545 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18553 if test "$wxUSE_ZLIB" = "builtin" ; then
18554 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18561 if test "$wxUSE_LIBPNG" != "no" ; then
18562 cat >>confdefs.h
<<\_ACEOF
18563 #define wxUSE_LIBPNG 1
18567 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18568 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18569 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18573 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18574 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18575 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18576 wxUSE_LIBPNG
=builtin
18579 if test "$wxUSE_MGL" != 1 ; then
18580 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18581 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18582 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18583 if test "${ac_cv_header_png_h+set}" = set; then
18584 echo $ECHO_N "(cached) $ECHO_C" >&6
18586 if test "$cross_compiling" = yes; then
18587 unset ac_cv_header_png_h
18590 cat >conftest.
$ac_ext <<_ACEOF
18591 #line $LINENO "configure"
18594 cat confdefs.h
>>conftest.
$ac_ext
18595 cat >>conftest.
$ac_ext <<_ACEOF
18596 /* end confdefs.h. */
18603 FILE *f=fopen("conftestval", "w");
18606 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18611 rm -f conftest
$ac_exeext
18612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18613 (eval $ac_link) 2>&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18618 (eval $ac_try) 2>&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); }; }; then
18622 ac_cv_header_png_h
=`cat conftestval`
18624 echo "$as_me: program exited with status $ac_status" >&5
18625 echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.
$ac_ext >&5
18628 ( exit $ac_status )
18629 ac_cv_header_png_h
=no
18631 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18635 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18636 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18637 if test "${ac_cv_header_png_h+set}" = set; then
18638 echo "$as_me:$LINENO: checking for png.h" >&5
18639 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18640 if test "${ac_cv_header_png_h+set}" = set; then
18641 echo $ECHO_N "(cached) $ECHO_C" >&6
18643 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18644 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18646 # Is the header compilable?
18647 echo "$as_me:$LINENO: checking png.h usability" >&5
18648 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18649 cat >conftest.
$ac_ext <<_ACEOF
18650 #line $LINENO "configure"
18653 cat confdefs.h
>>conftest.
$ac_ext
18654 cat >>conftest.
$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18656 $ac_includes_default
18659 rm -f conftest.
$ac_objext
18660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18661 (eval $ac_compile) 2>&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); } &&
18665 { ac_try
='test -s conftest.$ac_objext'
18666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18667 (eval $ac_try) 2>&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); }; }; then
18671 ac_header_compiler
=yes
18673 echo "$as_me: failed program was:" >&5
18674 sed 's/^/| /' conftest.
$ac_ext >&5
18676 ac_header_compiler
=no
18678 rm -f conftest.
$ac_objext conftest.
$ac_ext
18679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18680 echo "${ECHO_T}$ac_header_compiler" >&6
18682 # Is the header present?
18683 echo "$as_me:$LINENO: checking png.h presence" >&5
18684 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18685 cat >conftest.
$ac_ext <<_ACEOF
18686 #line $LINENO "configure"
18689 cat confdefs.h
>>conftest.
$ac_ext
18690 cat >>conftest.
$ac_ext <<_ACEOF
18691 /* end confdefs.h. */
18694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18695 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18697 grep -v '^ *+' conftest.er1
>conftest.err
18699 cat conftest.err
>&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); } >/dev
/null
; then
18702 if test -s conftest.err
; then
18703 ac_cpp_err
=$ac_c_preproc_warn_flag
18710 if test -z "$ac_cpp_err"; then
18711 ac_header_preproc
=yes
18713 echo "$as_me: failed program was:" >&5
18714 sed 's/^/| /' conftest.
$ac_ext >&5
18716 ac_header_preproc
=no
18718 rm -f conftest.err conftest.
$ac_ext
18719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18720 echo "${ECHO_T}$ac_header_preproc" >&6
18722 # So? What about this header?
18723 case $ac_header_compiler:$ac_header_preproc in
18725 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18726 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18727 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18728 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18731 ## ------------------------------------ ##
18732 ## Report this to bug-autoconf@gnu.org. ##
18733 ## ------------------------------------ ##
18736 sed "s/^/$as_me: WARNING: /" >&2
18739 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18740 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18741 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18742 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18743 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18744 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18747 ## ------------------------------------ ##
18748 ## Report this to bug-autoconf@gnu.org. ##
18749 ## ------------------------------------ ##
18752 sed "s/^/$as_me: WARNING: /" >&2
18755 echo "$as_me:$LINENO: checking for png.h" >&5
18756 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18757 if test "${ac_cv_header_png_h+set}" = set; then
18758 echo $ECHO_N "(cached) $ECHO_C" >&6
18760 ac_cv_header_png_h
=$ac_header_preproc
18762 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18763 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18769 if test "$ac_cv_header_png_h" = "yes"; then
18770 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18771 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18772 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18773 echo $ECHO_N "(cached) $ECHO_C" >&6
18775 ac_check_lib_save_LIBS
=$LIBS
18776 LIBS
="-lpng -lz -lm $LIBS"
18777 cat >conftest.
$ac_ext <<_ACEOF
18778 #line $LINENO "configure"
18781 cat confdefs.h
>>conftest.
$ac_ext
18782 cat >>conftest.
$ac_ext <<_ACEOF
18783 /* end confdefs.h. */
18785 /* Override any gcc2 internal prototype to avoid an error. */
18789 /* We use char because int might match the return type of a gcc2
18790 builtin and then its argument prototype would still apply. */
18791 char png_check_sig ();
18800 rm -f conftest.
$ac_objext conftest
$ac_exeext
18801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18802 (eval $ac_link) 2>&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); } &&
18806 { ac_try
='test -s conftest$ac_exeext'
18807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18808 (eval $ac_try) 2>&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); }; }; then
18812 ac_cv_lib_png_png_check_sig
=yes
18814 echo "$as_me: failed program was:" >&5
18815 sed 's/^/| /' conftest.
$ac_ext >&5
18817 ac_cv_lib_png_png_check_sig
=no
18819 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18820 LIBS
=$ac_check_lib_save_LIBS
18822 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18823 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18824 if test $ac_cv_lib_png_png_check_sig = yes; then
18830 if test "x$PNG_LINK" = "x" ; then
18831 if test "$wxUSE_LIBPNG" = "sys" ; then
18832 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18833 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18834 { (exit 1); exit 1; }; }
18836 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18837 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18838 wxUSE_LIBPNG
=builtin
18846 if test "$wxUSE_LIBPNG" = "builtin" ; then
18847 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18856 if test "$wxUSE_LIBJPEG" != "no" ; then
18857 cat >>confdefs.h
<<\_ACEOF
18858 #define wxUSE_LIBJPEG 1
18862 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18863 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18864 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18868 if test "$wxUSE_MGL" != 1 ; then
18869 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18870 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18871 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18872 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18873 echo $ECHO_N "(cached) $ECHO_C" >&6
18875 cat >conftest.
$ac_ext <<_ACEOF
18876 #line $LINENO "configure"
18879 cat confdefs.h
>>conftest.
$ac_ext
18880 cat >>conftest.
$ac_ext <<_ACEOF
18881 /* end confdefs.h. */
18883 #undef HAVE_STDLIB_H
18885 #include <jpeglib.h>
18896 rm -f conftest.
$ac_objext
18897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18898 (eval $ac_compile) 2>&5
18900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901 (exit $ac_status); } &&
18902 { ac_try
='test -s conftest.$ac_objext'
18903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18904 (eval $ac_try) 2>&5
18906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907 (exit $ac_status); }; }; then
18908 ac_cv_header_jpeglib_h
=yes
18910 echo "$as_me: failed program was:" >&5
18911 sed 's/^/| /' conftest.
$ac_ext >&5
18913 ac_cv_header_jpeglib_h
=no
18916 rm -f conftest.
$ac_objext conftest.
$ac_ext
18920 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18921 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18923 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18924 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18925 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18926 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18927 echo $ECHO_N "(cached) $ECHO_C" >&6
18929 ac_check_lib_save_LIBS
=$LIBS
18930 LIBS
="-ljpeg $LIBS"
18931 cat >conftest.
$ac_ext <<_ACEOF
18932 #line $LINENO "configure"
18935 cat confdefs.h
>>conftest.
$ac_ext
18936 cat >>conftest.
$ac_ext <<_ACEOF
18937 /* end confdefs.h. */
18939 /* Override any gcc2 internal prototype to avoid an error. */
18943 /* We use char because int might match the return type of a gcc2
18944 builtin and then its argument prototype would still apply. */
18945 char jpeg_read_header ();
18949 jpeg_read_header ();
18954 rm -f conftest.
$ac_objext conftest
$ac_exeext
18955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18956 (eval $ac_link) 2>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); } &&
18960 { ac_try
='test -s conftest$ac_exeext'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; }; then
18966 ac_cv_lib_jpeg_jpeg_read_header
=yes
18968 echo "$as_me: failed program was:" >&5
18969 sed 's/^/| /' conftest.
$ac_ext >&5
18971 ac_cv_lib_jpeg_jpeg_read_header
=no
18973 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18974 LIBS
=$ac_check_lib_save_LIBS
18976 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18977 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18978 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18979 JPEG_LINK
=" -ljpeg"
18984 if test "x$JPEG_LINK" = "x" ; then
18985 if test "$wxUSE_LIBJPEG" = "sys" ; then
18986 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18987 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18988 { (exit 1); exit 1; }; }
18990 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18991 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18992 wxUSE_LIBJPEG
=builtin
19000 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19001 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
19008 TIFF_PREREQ_LINKS
=-lm
19009 if test "$wxUSE_LIBTIFF" != "no" ; then
19010 cat >>confdefs.h
<<\_ACEOF
19011 #define wxUSE_LIBTIFF 1
19015 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19016 if test "$wxUSE_LIBJPEG" = "sys"; then
19017 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
19019 if test "$wxUSE_ZLIB" = "sys"; then
19020 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19022 if test "${ac_cv_header_tiffio_h+set}" = set; then
19023 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19024 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19025 if test "${ac_cv_header_tiffio_h+set}" = set; then
19026 echo $ECHO_N "(cached) $ECHO_C" >&6
19028 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19029 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19031 # Is the header compilable?
19032 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19033 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19034 cat >conftest.
$ac_ext <<_ACEOF
19035 #line $LINENO "configure"
19038 cat confdefs.h
>>conftest.
$ac_ext
19039 cat >>conftest.
$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19041 $ac_includes_default
19042 #include <tiffio.h>
19044 rm -f conftest.
$ac_objext
19045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19046 (eval $ac_compile) 2>&5
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); } &&
19050 { ac_try
='test -s conftest.$ac_objext'
19051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052 (eval $ac_try) 2>&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; }; then
19056 ac_header_compiler
=yes
19058 echo "$as_me: failed program was:" >&5
19059 sed 's/^/| /' conftest.
$ac_ext >&5
19061 ac_header_compiler
=no
19063 rm -f conftest.
$ac_objext conftest.
$ac_ext
19064 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19065 echo "${ECHO_T}$ac_header_compiler" >&6
19067 # Is the header present?
19068 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19069 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19070 cat >conftest.
$ac_ext <<_ACEOF
19071 #line $LINENO "configure"
19074 cat confdefs.h
>>conftest.
$ac_ext
19075 cat >>conftest.
$ac_ext <<_ACEOF
19076 /* end confdefs.h. */
19077 #include <tiffio.h>
19079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19080 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19082 grep -v '^ *+' conftest.er1
>conftest.err
19084 cat conftest.err
>&5
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); } >/dev
/null
; then
19087 if test -s conftest.err
; then
19088 ac_cpp_err
=$ac_c_preproc_warn_flag
19095 if test -z "$ac_cpp_err"; then
19096 ac_header_preproc
=yes
19098 echo "$as_me: failed program was:" >&5
19099 sed 's/^/| /' conftest.
$ac_ext >&5
19101 ac_header_preproc
=no
19103 rm -f conftest.err conftest.
$ac_ext
19104 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19105 echo "${ECHO_T}$ac_header_preproc" >&6
19107 # So? What about this header?
19108 case $ac_header_compiler:$ac_header_preproc in
19110 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19111 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19112 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19113 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19116 ## ------------------------------------ ##
19117 ## Report this to bug-autoconf@gnu.org. ##
19118 ## ------------------------------------ ##
19121 sed "s/^/$as_me: WARNING: /" >&2
19124 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19125 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19126 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19127 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19128 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19129 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19132 ## ------------------------------------ ##
19133 ## Report this to bug-autoconf@gnu.org. ##
19134 ## ------------------------------------ ##
19137 sed "s/^/$as_me: WARNING: /" >&2
19140 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19141 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19142 if test "${ac_cv_header_tiffio_h+set}" = set; then
19143 echo $ECHO_N "(cached) $ECHO_C" >&6
19145 ac_cv_header_tiffio_h
=$ac_header_preproc
19147 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19148 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19151 if test $ac_cv_header_tiffio_h = yes; then
19153 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19154 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19155 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19156 echo $ECHO_N "(cached) $ECHO_C" >&6
19158 ac_check_lib_save_LIBS
=$LIBS
19159 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19160 cat >conftest.
$ac_ext <<_ACEOF
19161 #line $LINENO "configure"
19164 cat confdefs.h
>>conftest.
$ac_ext
19165 cat >>conftest.
$ac_ext <<_ACEOF
19166 /* end confdefs.h. */
19168 /* Override any gcc2 internal prototype to avoid an error. */
19172 /* We use char because int might match the return type of a gcc2
19173 builtin and then its argument prototype would still apply. */
19183 rm -f conftest.
$ac_objext conftest
$ac_exeext
19184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19185 (eval $ac_link) 2>&5
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); } &&
19189 { ac_try
='test -s conftest$ac_exeext'
19190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19191 (eval $ac_try) 2>&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); }; }; then
19195 ac_cv_lib_tiff_TIFFError
=yes
19197 echo "$as_me: failed program was:" >&5
19198 sed 's/^/| /' conftest.
$ac_ext >&5
19200 ac_cv_lib_tiff_TIFFError
=no
19202 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19203 LIBS
=$ac_check_lib_save_LIBS
19205 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19206 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19207 if test $ac_cv_lib_tiff_TIFFError = yes; then
19208 TIFF_LINK
=" -ltiff"
19217 if test "x$TIFF_LINK" = "x" ; then
19218 if test "$wxUSE_LIBTIFF" = "sys" ; then
19219 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19220 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19221 { (exit 1); exit 1; }; }
19223 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19224 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19225 wxUSE_LIBTIFF
=builtin
19232 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19233 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19238 if test "$wxUSE_EXPAT" != "no"; then
19240 cat >>confdefs.h
<<\_ACEOF
19241 #define wxUSE_EXPAT 1
19244 cat >>confdefs.h
<<\_ACEOF
19245 #define wxUSE_XML 1
19249 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19250 if test "${ac_cv_header_expat_h+set}" = set; then
19251 echo "$as_me:$LINENO: checking for expat.h" >&5
19252 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19253 if test "${ac_cv_header_expat_h+set}" = set; then
19254 echo $ECHO_N "(cached) $ECHO_C" >&6
19256 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19257 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19259 # Is the header compilable?
19260 echo "$as_me:$LINENO: checking expat.h usability" >&5
19261 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19262 cat >conftest.
$ac_ext <<_ACEOF
19263 #line $LINENO "configure"
19266 cat confdefs.h
>>conftest.
$ac_ext
19267 cat >>conftest.
$ac_ext <<_ACEOF
19268 /* end confdefs.h. */
19269 $ac_includes_default
19272 rm -f conftest.
$ac_objext
19273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19274 (eval $ac_compile) 2>&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } &&
19278 { ac_try
='test -s conftest.$ac_objext'
19279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19280 (eval $ac_try) 2>&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); }; }; then
19284 ac_header_compiler
=yes
19286 echo "$as_me: failed program was:" >&5
19287 sed 's/^/| /' conftest.
$ac_ext >&5
19289 ac_header_compiler
=no
19291 rm -f conftest.
$ac_objext conftest.
$ac_ext
19292 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19293 echo "${ECHO_T}$ac_header_compiler" >&6
19295 # Is the header present?
19296 echo "$as_me:$LINENO: checking expat.h presence" >&5
19297 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19298 cat >conftest.
$ac_ext <<_ACEOF
19299 #line $LINENO "configure"
19302 cat confdefs.h
>>conftest.
$ac_ext
19303 cat >>conftest.
$ac_ext <<_ACEOF
19304 /* end confdefs.h. */
19307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19308 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19310 grep -v '^ *+' conftest.er1
>conftest.err
19312 cat conftest.err
>&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); } >/dev
/null
; then
19315 if test -s conftest.err
; then
19316 ac_cpp_err
=$ac_c_preproc_warn_flag
19323 if test -z "$ac_cpp_err"; then
19324 ac_header_preproc
=yes
19326 echo "$as_me: failed program was:" >&5
19327 sed 's/^/| /' conftest.
$ac_ext >&5
19329 ac_header_preproc
=no
19331 rm -f conftest.err conftest.
$ac_ext
19332 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19333 echo "${ECHO_T}$ac_header_preproc" >&6
19335 # So? What about this header?
19336 case $ac_header_compiler:$ac_header_preproc in
19338 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19339 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19340 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19341 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19344 ## ------------------------------------ ##
19345 ## Report this to bug-autoconf@gnu.org. ##
19346 ## ------------------------------------ ##
19349 sed "s/^/$as_me: WARNING: /" >&2
19352 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19353 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19354 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19355 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19356 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19357 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19360 ## ------------------------------------ ##
19361 ## Report this to bug-autoconf@gnu.org. ##
19362 ## ------------------------------------ ##
19365 sed "s/^/$as_me: WARNING: /" >&2
19368 echo "$as_me:$LINENO: checking for expat.h" >&5
19369 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19370 if test "${ac_cv_header_expat_h+set}" = set; then
19371 echo $ECHO_N "(cached) $ECHO_C" >&6
19373 ac_cv_header_expat_h
=$ac_header_preproc
19375 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19376 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19379 if test $ac_cv_header_expat_h = yes; then
19384 if test "x$found_expat_h" = "x1"; then
19385 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19386 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19387 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19388 echo $ECHO_N "(cached) $ECHO_C" >&6
19394 ac_cpp
='$CXXCPP $CPPFLAGS'
19395 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19399 cat >conftest.
$ac_ext <<_ACEOF
19400 #line $LINENO "configure"
19403 cat confdefs.h
>>conftest.
$ac_ext
19404 cat >>conftest.
$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19415 rm -f conftest.
$ac_objext
19416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19417 (eval $ac_compile) 2>&5
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); } &&
19421 { ac_try
='test -s conftest.$ac_objext'
19422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19423 (eval $ac_try) 2>&5
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); }; }; then
19427 wx_cv_expat_is_not_broken
=yes
19429 echo "$as_me: failed program was:" >&5
19430 sed 's/^/| /' conftest.
$ac_ext >&5
19432 wx_cv_expat_is_not_broken
=no
19435 rm -f conftest.
$ac_objext conftest.
$ac_ext
19437 ac_cpp
='$CPP $CPPFLAGS'
19438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19445 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19446 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19447 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19448 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19449 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19450 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19451 echo $ECHO_N "(cached) $ECHO_C" >&6
19453 ac_check_lib_save_LIBS
=$LIBS
19454 LIBS
="-lexpat $LIBS"
19455 cat >conftest.
$ac_ext <<_ACEOF
19456 #line $LINENO "configure"
19459 cat confdefs.h
>>conftest.
$ac_ext
19460 cat >>conftest.
$ac_ext <<_ACEOF
19461 /* end confdefs.h. */
19463 /* Override any gcc2 internal prototype to avoid an error. */
19467 /* We use char because int might match the return type of a gcc2
19468 builtin and then its argument prototype would still apply. */
19469 char XML_ParserCreate ();
19473 XML_ParserCreate ();
19478 rm -f conftest.
$ac_objext conftest
$ac_exeext
19479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19480 (eval $ac_link) 2>&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } &&
19484 { ac_try
='test -s conftest$ac_exeext'
19485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486 (eval $ac_try) 2>&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; }; then
19490 ac_cv_lib_expat_XML_ParserCreate
=yes
19492 echo "$as_me: failed program was:" >&5
19493 sed 's/^/| /' conftest.
$ac_ext >&5
19495 ac_cv_lib_expat_XML_ParserCreate
=no
19497 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19498 LIBS
=$ac_check_lib_save_LIBS
19500 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19501 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19502 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19503 EXPAT_LINK
=" -lexpat"
19508 if test "x$EXPAT_LINK" = "x" ; then
19509 if test "$wxUSE_EXPAT" = "sys" ; then
19510 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19511 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19512 { (exit 1); exit 1; }; }
19514 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19515 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19516 wxUSE_EXPAT
=builtin
19522 if test "$wxUSE_EXPAT" = "builtin" ; then
19525 subdirs
="$subdirs src/expat"
19532 if test "$wxUSE_LIBMSPACK" != "no"; then
19534 if test "${ac_cv_header_mspack_h+set}" = set; then
19535 echo "$as_me:$LINENO: checking for mspack.h" >&5
19536 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19537 if test "${ac_cv_header_mspack_h+set}" = set; then
19538 echo $ECHO_N "(cached) $ECHO_C" >&6
19540 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19541 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19543 # Is the header compilable?
19544 echo "$as_me:$LINENO: checking mspack.h usability" >&5
19545 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
19546 cat >conftest.
$ac_ext <<_ACEOF
19547 #line $LINENO "configure"
19550 cat confdefs.h
>>conftest.
$ac_ext
19551 cat >>conftest.
$ac_ext <<_ACEOF
19552 /* end confdefs.h. */
19553 $ac_includes_default
19554 #include <mspack.h>
19556 rm -f conftest.
$ac_objext
19557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19558 (eval $ac_compile) 2>&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); } &&
19562 { ac_try
='test -s conftest.$ac_objext'
19563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19564 (eval $ac_try) 2>&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); }; }; then
19568 ac_header_compiler
=yes
19570 echo "$as_me: failed program was:" >&5
19571 sed 's/^/| /' conftest.
$ac_ext >&5
19573 ac_header_compiler
=no
19575 rm -f conftest.
$ac_objext conftest.
$ac_ext
19576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19577 echo "${ECHO_T}$ac_header_compiler" >&6
19579 # Is the header present?
19580 echo "$as_me:$LINENO: checking mspack.h presence" >&5
19581 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
19582 cat >conftest.
$ac_ext <<_ACEOF
19583 #line $LINENO "configure"
19586 cat confdefs.h
>>conftest.
$ac_ext
19587 cat >>conftest.
$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 #include <mspack.h>
19591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19592 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19594 grep -v '^ *+' conftest.er1
>conftest.err
19596 cat conftest.err
>&5
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); } >/dev
/null
; then
19599 if test -s conftest.err
; then
19600 ac_cpp_err
=$ac_c_preproc_warn_flag
19607 if test -z "$ac_cpp_err"; then
19608 ac_header_preproc
=yes
19610 echo "$as_me: failed program was:" >&5
19611 sed 's/^/| /' conftest.
$ac_ext >&5
19613 ac_header_preproc
=no
19615 rm -f conftest.err conftest.
$ac_ext
19616 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19617 echo "${ECHO_T}$ac_header_preproc" >&6
19619 # So? What about this header?
19620 case $ac_header_compiler:$ac_header_preproc in
19622 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
19623 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19624 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19625 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19628 ## ------------------------------------ ##
19629 ## Report this to bug-autoconf@gnu.org. ##
19630 ## ------------------------------------ ##
19633 sed "s/^/$as_me: WARNING: /" >&2
19636 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
19637 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
19638 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
19639 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
19640 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19641 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19644 ## ------------------------------------ ##
19645 ## Report this to bug-autoconf@gnu.org. ##
19646 ## ------------------------------------ ##
19649 sed "s/^/$as_me: WARNING: /" >&2
19652 echo "$as_me:$LINENO: checking for mspack.h" >&5
19653 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19654 if test "${ac_cv_header_mspack_h+set}" = set; then
19655 echo $ECHO_N "(cached) $ECHO_C" >&6
19657 ac_cv_header_mspack_h
=$ac_header_preproc
19659 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19660 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19663 if test $ac_cv_header_mspack_h = yes; then
19668 if test "x$found_mspack_h" = "x1"; then
19669 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
19670 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
19671 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
19672 echo $ECHO_N "(cached) $ECHO_C" >&6
19674 ac_check_lib_save_LIBS
=$LIBS
19675 LIBS
="-lmspack $LIBS"
19676 cat >conftest.
$ac_ext <<_ACEOF
19677 #line $LINENO "configure"
19680 cat confdefs.h
>>conftest.
$ac_ext
19681 cat >>conftest.
$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19684 /* Override any gcc2 internal prototype to avoid an error. */
19688 /* We use char because int might match the return type of a gcc2
19689 builtin and then its argument prototype would still apply. */
19690 char mspack_create_chm_decompressor ();
19694 mspack_create_chm_decompressor ();
19699 rm -f conftest.
$ac_objext conftest
$ac_exeext
19700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19701 (eval $ac_link) 2>&5
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); } &&
19705 { ac_try
='test -s conftest$ac_exeext'
19706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19707 (eval $ac_try) 2>&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); }; }; then
19711 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.
$ac_ext >&5
19716 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
19718 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19719 LIBS
=$ac_check_lib_save_LIBS
19721 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
19722 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
19723 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
19724 MSPACK_LINK
=" -lmspack"
19728 if test "x$MSPACK_LINK" = "x" ; then
19731 cat >>confdefs.h
<<\_ACEOF
19732 #define wxUSE_LIBMSPACK 1
19747 if test "$USE_WIN32" = 1 ; then
19749 for ac_header
in w32api.h
19751 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19753 echo "$as_me:$LINENO: checking for $ac_header" >&5
19754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19756 echo $ECHO_N "(cached) $ECHO_C" >&6
19758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19761 # Is the header compilable?
19762 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19763 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19764 cat >conftest.
$ac_ext <<_ACEOF
19765 #line $LINENO "configure"
19768 cat confdefs.h
>>conftest.
$ac_ext
19769 cat >>conftest.
$ac_ext <<_ACEOF
19770 /* end confdefs.h. */
19771 $ac_includes_default
19772 #include <$ac_header>
19774 rm -f conftest.
$ac_objext
19775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19776 (eval $ac_compile) 2>&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } &&
19780 { ac_try
='test -s conftest.$ac_objext'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; }; then
19786 ac_header_compiler
=yes
19788 echo "$as_me: failed program was:" >&5
19789 sed 's/^/| /' conftest.
$ac_ext >&5
19791 ac_header_compiler
=no
19793 rm -f conftest.
$ac_objext conftest.
$ac_ext
19794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19795 echo "${ECHO_T}$ac_header_compiler" >&6
19797 # Is the header present?
19798 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19799 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19800 cat >conftest.
$ac_ext <<_ACEOF
19801 #line $LINENO "configure"
19804 cat confdefs.h
>>conftest.
$ac_ext
19805 cat >>conftest.
$ac_ext <<_ACEOF
19806 /* end confdefs.h. */
19807 #include <$ac_header>
19809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19810 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19812 grep -v '^ *+' conftest.er1
>conftest.err
19814 cat conftest.err
>&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } >/dev
/null
; then
19817 if test -s conftest.err
; then
19818 ac_cpp_err
=$ac_c_preproc_warn_flag
19825 if test -z "$ac_cpp_err"; then
19826 ac_header_preproc
=yes
19828 echo "$as_me: failed program was:" >&5
19829 sed 's/^/| /' conftest.
$ac_ext >&5
19831 ac_header_preproc
=no
19833 rm -f conftest.err conftest.
$ac_ext
19834 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19835 echo "${ECHO_T}$ac_header_preproc" >&6
19837 # So? What about this header?
19838 case $ac_header_compiler:$ac_header_preproc in
19840 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19841 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19846 ## ------------------------------------ ##
19847 ## Report this to bug-autoconf@gnu.org. ##
19848 ## ------------------------------------ ##
19851 sed "s/^/$as_me: WARNING: /" >&2
19854 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19855 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19856 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19857 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19859 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19862 ## ------------------------------------ ##
19863 ## Report this to bug-autoconf@gnu.org. ##
19864 ## ------------------------------------ ##
19867 sed "s/^/$as_me: WARNING: /" >&2
19870 echo "$as_me:$LINENO: checking for $ac_header" >&5
19871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19873 echo $ECHO_N "(cached) $ECHO_C" >&6
19875 eval "$as_ac_Header=$ac_header_preproc"
19877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19882 cat >>confdefs.h
<<_ACEOF
19883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19890 if test "${ac_cv_header_windows_h+set}" = set; then
19891 echo "$as_me:$LINENO: checking for windows.h" >&5
19892 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19893 if test "${ac_cv_header_windows_h+set}" = set; then
19894 echo $ECHO_N "(cached) $ECHO_C" >&6
19896 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19897 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19899 # Is the header compilable?
19900 echo "$as_me:$LINENO: checking windows.h usability" >&5
19901 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19902 cat >conftest.
$ac_ext <<_ACEOF
19903 #line $LINENO "configure"
19906 cat confdefs.h
>>conftest.
$ac_ext
19907 cat >>conftest.
$ac_ext <<_ACEOF
19908 /* end confdefs.h. */
19909 $ac_includes_default
19910 #include <windows.h>
19912 rm -f conftest.
$ac_objext
19913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19914 (eval $ac_compile) 2>&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } &&
19918 { ac_try
='test -s conftest.$ac_objext'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; }; then
19924 ac_header_compiler
=yes
19926 echo "$as_me: failed program was:" >&5
19927 sed 's/^/| /' conftest.
$ac_ext >&5
19929 ac_header_compiler
=no
19931 rm -f conftest.
$ac_objext conftest.
$ac_ext
19932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19933 echo "${ECHO_T}$ac_header_compiler" >&6
19935 # Is the header present?
19936 echo "$as_me:$LINENO: checking windows.h presence" >&5
19937 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19938 cat >conftest.
$ac_ext <<_ACEOF
19939 #line $LINENO "configure"
19942 cat confdefs.h
>>conftest.
$ac_ext
19943 cat >>conftest.
$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19945 #include <windows.h>
19947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19948 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19950 grep -v '^ *+' conftest.er1
>conftest.err
19952 cat conftest.err
>&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } >/dev
/null
; then
19955 if test -s conftest.err
; then
19956 ac_cpp_err
=$ac_c_preproc_warn_flag
19963 if test -z "$ac_cpp_err"; then
19964 ac_header_preproc
=yes
19966 echo "$as_me: failed program was:" >&5
19967 sed 's/^/| /' conftest.
$ac_ext >&5
19969 ac_header_preproc
=no
19971 rm -f conftest.err conftest.
$ac_ext
19972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19973 echo "${ECHO_T}$ac_header_preproc" >&6
19975 # So? What about this header?
19976 case $ac_header_compiler:$ac_header_preproc in
19978 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19979 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19980 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19981 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19984 ## ------------------------------------ ##
19985 ## Report this to bug-autoconf@gnu.org. ##
19986 ## ------------------------------------ ##
19989 sed "s/^/$as_me: WARNING: /" >&2
19992 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19993 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19994 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19995 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19996 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19997 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20000 ## ------------------------------------ ##
20001 ## Report this to bug-autoconf@gnu.org. ##
20002 ## ------------------------------------ ##
20005 sed "s/^/$as_me: WARNING: /" >&2
20008 echo "$as_me:$LINENO: checking for windows.h" >&5
20009 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20010 if test "${ac_cv_header_windows_h+set}" = set; then
20011 echo $ECHO_N "(cached) $ECHO_C" >&6
20013 ac_cv_header_windows_h
=$ac_header_preproc
20015 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20016 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20019 if test $ac_cv_header_windows_h = yes; then
20023 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20024 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20025 { (exit 1); exit 1; }; }
20031 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20033 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20034 LIBS
="$LIBS -loleacc"
20039 LIBS
="$LIBS -lkernel32 -luser32"
20040 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
20043 if test "$wxUSE_ODBC" = "sys" ; then
20046 if test "$wxUSE_ODBC" = "yes" ; then
20047 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
20048 cat >>confdefs.h
<<\_ACEOF
20049 #define wxUSE_ODBC 1
20054 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20055 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
20057 WIN32INSTALL
=win32install
20060 if test "$wxUSE_GUI" = "yes"; then
20069 if test "$wxUSE_MSW" = 1 ; then
20075 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20079 if test "$wxUSE_GTK" = 1; then
20080 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20081 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20083 gtk_version_cached
=1
20084 if test "${wx_cv_lib_gtk+set}" = set; then
20085 echo $ECHO_N "(cached) $ECHO_C" >&6
20088 gtk_version_cached
=0
20089 echo "$as_me:$LINENO: result: " >&5
20090 echo "${ECHO_T}" >&6
20093 if test "$wxUSE_THREADS" = "yes"; then
20094 GTK_MODULES
=gthread
20098 if test "x$wxUSE_GTK2" = "xyes"; then
20099 # Check whether --enable-gtktest or --disable-gtktest was given.
20100 if test "${enable_gtktest+set}" = set; then
20101 enableval
="$enable_gtktest"
20107 pkg_config_args
=gtk
+-2.0
20108 for module
in .
$GTK_MODULES
20112 pkg_config_args
="$pkg_config_args gthread-2.0"
20119 # Extract the first word of "pkg-config", so it can be a program name with args.
20120 set dummy pkg
-config; ac_word
=$2
20121 echo "$as_me:$LINENO: checking for $ac_word" >&5
20122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20123 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20124 echo $ECHO_N "(cached) $ECHO_C" >&6
20126 case $PKG_CONFIG in
20128 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20132 for as_dir
in $PATH
20135 test -z "$as_dir" && as_dir
=.
20136 for ac_exec_ext
in '' $ac_executable_extensions; do
20137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20138 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20145 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20149 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20151 if test -n "$PKG_CONFIG"; then
20152 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20153 echo "${ECHO_T}$PKG_CONFIG" >&6
20155 echo "$as_me:$LINENO: result: no" >&5
20156 echo "${ECHO_T}no" >&6
20160 if test x
$PKG_CONFIG != xno
; then
20161 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
20164 echo *** pkg
-config too old
; version
0.7 or better required.
20172 min_gtk_version
=2.0.0
20173 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20174 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20176 if test x
$PKG_CONFIG != xno
; then
20177 ## don't try to run the test against uninstalled libtool libs
20178 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20179 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20183 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20190 if test x
"$no_gtk" = x
; then
20191 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
20192 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
20193 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20194 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20195 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20196 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20197 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20198 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20199 if test "x$enable_gtktest" = "xyes" ; then
20200 ac_save_CFLAGS
="$CFLAGS"
20201 ac_save_LIBS
="$LIBS"
20202 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20203 LIBS
="$GTK_LIBS $LIBS"
20205 if test "$cross_compiling" = yes; then
20206 echo $ac_n "cross compiling; assumed OK... $ac_c"
20208 cat >conftest.
$ac_ext <<_ACEOF
20209 #line $LINENO "configure"
20212 cat confdefs.h
>>conftest.
$ac_ext
20213 cat >>conftest.
$ac_ext <<_ACEOF
20214 /* end confdefs.h. */
20216 #include <gtk/gtk.h>
20218 #include <stdlib.h>
20223 int major, minor, micro;
20226 system ("touch conf.gtktest");
20228 /* HP/UX 9 (%@#!) writes to sscanf strings */
20229 tmp_version = g_strdup("$min_gtk_version");
20230 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20231 printf("%s, bad version string\n", "$min_gtk_version");
20235 if ((gtk_major_version != $gtk_config_major_version) ||
20236 (gtk_minor_version != $gtk_config_minor_version) ||
20237 (gtk_micro_version != $gtk_config_micro_version))
20239 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20240 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20241 gtk_major_version, gtk_minor_version, gtk_micro_version);
20242 printf ("*** was found! If pkg-config was correct, then it is best\n");
20243 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20244 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20245 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20246 printf("*** required on your system.\n");
20247 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20248 printf("*** to point to the correct configuration files\n");
20250 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20251 (gtk_minor_version != GTK_MINOR_VERSION) ||
20252 (gtk_micro_version != GTK_MICRO_VERSION))
20254 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20255 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20256 printf("*** library (version %d.%d.%d)\n",
20257 gtk_major_version, gtk_minor_version, gtk_micro_version);
20261 if ((gtk_major_version > major) ||
20262 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20263 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20269 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20270 gtk_major_version, gtk_minor_version, gtk_micro_version);
20271 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20272 major, minor, micro);
20273 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20275 printf("*** If you have already installed a sufficiently new version, this error\n");
20276 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20277 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20278 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20279 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20280 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20281 printf("*** so that the correct libraries are found at run-time))\n");
20288 rm -f conftest
$ac_exeext
20289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20290 (eval $ac_link) 2>&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; }; then
20301 echo "$as_me: program exited with status $ac_status" >&5
20302 echo "$as_me: failed program was:" >&5
20303 sed 's/^/| /' conftest.
$ac_ext >&5
20305 ( exit $ac_status )
20308 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20310 CFLAGS
="$ac_save_CFLAGS"
20311 LIBS
="$ac_save_LIBS"
20314 if test "x$no_gtk" = x
; then
20315 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20316 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20319 echo "$as_me:$LINENO: result: no" >&5
20320 echo "${ECHO_T}no" >&6
20321 if test "$PKG_CONFIG" = "no" ; then
20322 echo "*** A new enough version of pkg-config was not found."
20323 echo "*** See http://pkgconfig.sourceforge.net"
20325 if test -f conf.gtktest
; then
20328 echo "*** Could not run GTK+ test program, checking why..."
20329 ac_save_CFLAGS
="$CFLAGS"
20330 ac_save_LIBS
="$LIBS"
20331 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20332 LIBS
="$LIBS $GTK_LIBS"
20333 cat >conftest.
$ac_ext <<_ACEOF
20334 #line $LINENO "configure"
20337 cat confdefs.h
>>conftest.
$ac_ext
20338 cat >>conftest.
$ac_ext <<_ACEOF
20339 /* end confdefs.h. */
20341 #include <gtk/gtk.h>
20347 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20352 rm -f conftest.
$ac_objext conftest
$ac_exeext
20353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20354 (eval $ac_link) 2>&5
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); } &&
20358 { ac_try
='test -s conftest$ac_exeext'
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; }; then
20364 echo "*** The test program compiled, but did not run. This usually means"
20365 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20366 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20367 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20368 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20369 echo "*** is required on your system"
20371 echo "*** If you have an old version installed, it is best to remove it, although"
20372 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20374 echo "$as_me: failed program was:" >&5
20375 sed 's/^/| /' conftest.
$ac_ext >&5
20377 echo "*** The test program failed to compile or link. See the file config.log for the"
20378 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20380 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20381 CFLAGS
="$ac_save_CFLAGS"
20382 LIBS
="$ac_save_LIBS"
20395 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20396 if test "${with_gtk_prefix+set}" = set; then
20397 withval
="$with_gtk_prefix"
20398 gtk_config_prefix
="$withval"
20400 gtk_config_prefix
=""
20403 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20404 if test "${with_gtk_exec_prefix+set}" = set; then
20405 withval
="$with_gtk_exec_prefix"
20406 gtk_config_exec_prefix
="$withval"
20408 gtk_config_exec_prefix
=""
20410 # Check whether --enable-gtktest or --disable-gtktest was given.
20411 if test "${enable_gtktest+set}" = set; then
20412 enableval
="$enable_gtktest"
20418 for module
in .
$GTK_MODULES
20422 gtk_config_args
="$gtk_config_args gthread"
20427 if test x
$gtk_config_exec_prefix != x
; then
20428 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20429 if test x
${GTK_CONFIG+set} != xset
; then
20430 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20433 if test x
$gtk_config_prefix != x
; then
20434 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20435 if test x
${GTK_CONFIG+set} != xset
; then
20436 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20440 # Extract the first word of "gtk-config", so it can be a program name with args.
20441 set dummy gtk
-config; ac_word
=$2
20442 echo "$as_me:$LINENO: checking for $ac_word" >&5
20443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20444 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20445 echo $ECHO_N "(cached) $ECHO_C" >&6
20447 case $GTK_CONFIG in
20449 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20453 for as_dir
in $PATH
20456 test -z "$as_dir" && as_dir
=.
20457 for ac_exec_ext
in '' $ac_executable_extensions; do
20458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20459 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20466 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20470 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20472 if test -n "$GTK_CONFIG"; then
20473 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20474 echo "${ECHO_T}$GTK_CONFIG" >&6
20476 echo "$as_me:$LINENO: result: no" >&5
20477 echo "${ECHO_T}no" >&6
20480 min_gtk_version
=1.2.7
20481 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20482 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20484 if test "$GTK_CONFIG" = "no" ; then
20487 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20488 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20489 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20490 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20491 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20492 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20493 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20494 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20495 if test "x$enable_gtktest" = "xyes" ; then
20496 ac_save_CFLAGS
="$CFLAGS"
20497 ac_save_LIBS
="$LIBS"
20498 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20499 LIBS
="$GTK_LIBS $LIBS"
20501 if test "$cross_compiling" = yes; then
20502 echo $ac_n "cross compiling; assumed OK... $ac_c"
20504 cat >conftest.
$ac_ext <<_ACEOF
20505 #line $LINENO "configure"
20508 cat confdefs.h
>>conftest.
$ac_ext
20509 cat >>conftest.
$ac_ext <<_ACEOF
20510 /* end confdefs.h. */
20512 #include <gtk/gtk.h>
20514 #include <stdlib.h>
20519 int major, minor, micro;
20522 system ("touch conf.gtktest");
20524 /* HP/UX 9 (%@#!) writes to sscanf strings */
20525 tmp_version = g_strdup("$min_gtk_version");
20526 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20527 printf("%s, bad version string\n", "$min_gtk_version");
20531 if ((gtk_major_version != $gtk_config_major_version) ||
20532 (gtk_minor_version != $gtk_config_minor_version) ||
20533 (gtk_micro_version != $gtk_config_micro_version))
20535 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20536 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20537 gtk_major_version, gtk_minor_version, gtk_micro_version);
20538 printf ("*** was found! If gtk-config was correct, then it is best\n");
20539 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20540 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20541 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20542 printf("*** required on your system.\n");
20543 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20544 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20545 printf("*** before re-running configure\n");
20547 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20548 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20549 (gtk_minor_version != GTK_MINOR_VERSION) ||
20550 (gtk_micro_version != GTK_MICRO_VERSION))
20552 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20553 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20554 printf("*** library (version %d.%d.%d)\n",
20555 gtk_major_version, gtk_minor_version, gtk_micro_version);
20557 #endif /* defined (GTK_MAJOR_VERSION) ... */
20560 if ((gtk_major_version > major) ||
20561 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20562 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20568 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20569 gtk_major_version, gtk_minor_version, gtk_micro_version);
20570 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20571 major, minor, micro);
20572 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20574 printf("*** If you have already installed a sufficiently new version, this error\n");
20575 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20576 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20577 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20578 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20579 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20580 printf("*** so that the correct libraries are found at run-time))\n");
20587 rm -f conftest
$ac_exeext
20588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20589 (eval $ac_link) 2>&5
20591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20594 (eval $ac_try) 2>&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); }; }; then
20600 echo "$as_me: program exited with status $ac_status" >&5
20601 echo "$as_me: failed program was:" >&5
20602 sed 's/^/| /' conftest.
$ac_ext >&5
20604 ( exit $ac_status )
20607 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20609 CFLAGS
="$ac_save_CFLAGS"
20610 LIBS
="$ac_save_LIBS"
20613 if test "x$no_gtk" = x
; then
20614 echo "$as_me:$LINENO: result: yes" >&5
20615 echo "${ECHO_T}yes" >&6
20616 wx_cv_lib_gtk
=1.2.7
20618 echo "$as_me:$LINENO: result: no" >&5
20619 echo "${ECHO_T}no" >&6
20620 if test "$GTK_CONFIG" = "no" ; then
20621 echo "*** The gtk-config script installed by GTK could not be found"
20622 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20623 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20624 echo "*** full path to gtk-config."
20626 if test -f conf.gtktest
; then
20629 echo "*** Could not run GTK test program, checking why..."
20630 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20631 LIBS
="$LIBS $GTK_LIBS"
20632 cat >conftest.
$ac_ext <<_ACEOF
20633 #line $LINENO "configure"
20636 cat confdefs.h
>>conftest.
$ac_ext
20637 cat >>conftest.
$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20640 #include <gtk/gtk.h>
20646 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20651 rm -f conftest.
$ac_objext conftest
$ac_exeext
20652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20653 (eval $ac_link) 2>&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); } &&
20657 { ac_try
='test -s conftest$ac_exeext'
20658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20659 (eval $ac_try) 2>&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); }; }; then
20663 echo "*** The test program compiled, but did not run. This usually means"
20664 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20665 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20666 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20667 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20668 echo "*** is required on your system"
20670 echo "*** If you have an old version installed, it is best to remove it, although"
20671 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20673 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20674 echo "*** came with the system with the command"
20676 echo "*** rpm --erase --nodeps gtk gtk-devel"
20678 echo "$as_me: failed program was:" >&5
20679 sed 's/^/| /' conftest.
$ac_ext >&5
20681 echo "*** The test program failed to compile or link. See the file config.log for the"
20682 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20683 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20684 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20686 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20687 CFLAGS
="$ac_save_CFLAGS"
20688 LIBS
="$ac_save_LIBS"
20700 if test -z "$wx_cv_lib_gtk"; then
20702 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20703 if test "${with_gtk_prefix+set}" = set; then
20704 withval
="$with_gtk_prefix"
20705 gtk_config_prefix
="$withval"
20707 gtk_config_prefix
=""
20710 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20711 if test "${with_gtk_exec_prefix+set}" = set; then
20712 withval
="$with_gtk_exec_prefix"
20713 gtk_config_exec_prefix
="$withval"
20715 gtk_config_exec_prefix
=""
20717 # Check whether --enable-gtktest or --disable-gtktest was given.
20718 if test "${enable_gtktest+set}" = set; then
20719 enableval
="$enable_gtktest"
20725 for module
in .
$GTK_MODULES
20729 gtk_config_args
="$gtk_config_args gthread"
20734 if test x
$gtk_config_exec_prefix != x
; then
20735 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20736 if test x
${GTK_CONFIG+set} != xset
; then
20737 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20740 if test x
$gtk_config_prefix != x
; then
20741 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20742 if test x
${GTK_CONFIG+set} != xset
; then
20743 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20747 # Extract the first word of "gtk-config", so it can be a program name with args.
20748 set dummy gtk
-config; ac_word
=$2
20749 echo "$as_me:$LINENO: checking for $ac_word" >&5
20750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20751 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20752 echo $ECHO_N "(cached) $ECHO_C" >&6
20754 case $GTK_CONFIG in
20756 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20760 for as_dir
in $PATH
20763 test -z "$as_dir" && as_dir
=.
20764 for ac_exec_ext
in '' $ac_executable_extensions; do
20765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20766 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20773 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20777 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20779 if test -n "$GTK_CONFIG"; then
20780 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20781 echo "${ECHO_T}$GTK_CONFIG" >&6
20783 echo "$as_me:$LINENO: result: no" >&5
20784 echo "${ECHO_T}no" >&6
20787 min_gtk_version
=1.2.3
20788 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20789 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20791 if test "$GTK_CONFIG" = "no" ; then
20794 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20795 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20796 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20797 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20798 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20799 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20800 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20801 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20802 if test "x$enable_gtktest" = "xyes" ; then
20803 ac_save_CFLAGS
="$CFLAGS"
20804 ac_save_LIBS
="$LIBS"
20805 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20806 LIBS
="$GTK_LIBS $LIBS"
20808 if test "$cross_compiling" = yes; then
20809 echo $ac_n "cross compiling; assumed OK... $ac_c"
20811 cat >conftest.
$ac_ext <<_ACEOF
20812 #line $LINENO "configure"
20815 cat confdefs.h
>>conftest.
$ac_ext
20816 cat >>conftest.
$ac_ext <<_ACEOF
20817 /* end confdefs.h. */
20819 #include <gtk/gtk.h>
20821 #include <stdlib.h>
20826 int major, minor, micro;
20829 system ("touch conf.gtktest");
20831 /* HP/UX 9 (%@#!) writes to sscanf strings */
20832 tmp_version = g_strdup("$min_gtk_version");
20833 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20834 printf("%s, bad version string\n", "$min_gtk_version");
20838 if ((gtk_major_version != $gtk_config_major_version) ||
20839 (gtk_minor_version != $gtk_config_minor_version) ||
20840 (gtk_micro_version != $gtk_config_micro_version))
20842 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20843 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20844 gtk_major_version, gtk_minor_version, gtk_micro_version);
20845 printf ("*** was found! If gtk-config was correct, then it is best\n");
20846 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20847 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20848 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20849 printf("*** required on your system.\n");
20850 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20851 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20852 printf("*** before re-running configure\n");
20854 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20855 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20856 (gtk_minor_version != GTK_MINOR_VERSION) ||
20857 (gtk_micro_version != GTK_MICRO_VERSION))
20859 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20860 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20861 printf("*** library (version %d.%d.%d)\n",
20862 gtk_major_version, gtk_minor_version, gtk_micro_version);
20864 #endif /* defined (GTK_MAJOR_VERSION) ... */
20867 if ((gtk_major_version > major) ||
20868 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20869 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20875 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20876 gtk_major_version, gtk_minor_version, gtk_micro_version);
20877 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20878 major, minor, micro);
20879 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20881 printf("*** If you have already installed a sufficiently new version, this error\n");
20882 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20883 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20884 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20885 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20886 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20887 printf("*** so that the correct libraries are found at run-time))\n");
20894 rm -f conftest
$ac_exeext
20895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20896 (eval $ac_link) 2>&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; }; then
20907 echo "$as_me: program exited with status $ac_status" >&5
20908 echo "$as_me: failed program was:" >&5
20909 sed 's/^/| /' conftest.
$ac_ext >&5
20911 ( exit $ac_status )
20914 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20916 CFLAGS
="$ac_save_CFLAGS"
20917 LIBS
="$ac_save_LIBS"
20920 if test "x$no_gtk" = x
; then
20921 echo "$as_me:$LINENO: result: yes" >&5
20922 echo "${ECHO_T}yes" >&6
20923 wx_cv_lib_gtk
=1.2.3
20925 echo "$as_me:$LINENO: result: no" >&5
20926 echo "${ECHO_T}no" >&6
20927 if test "$GTK_CONFIG" = "no" ; then
20928 echo "*** The gtk-config script installed by GTK could not be found"
20929 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20930 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20931 echo "*** full path to gtk-config."
20933 if test -f conf.gtktest
; then
20936 echo "*** Could not run GTK test program, checking why..."
20937 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20938 LIBS
="$LIBS $GTK_LIBS"
20939 cat >conftest.
$ac_ext <<_ACEOF
20940 #line $LINENO "configure"
20943 cat confdefs.h
>>conftest.
$ac_ext
20944 cat >>conftest.
$ac_ext <<_ACEOF
20945 /* end confdefs.h. */
20947 #include <gtk/gtk.h>
20953 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20958 rm -f conftest.
$ac_objext conftest
$ac_exeext
20959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20960 (eval $ac_link) 2>&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); } &&
20964 { ac_try
='test -s conftest$ac_exeext'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; }; then
20970 echo "*** The test program compiled, but did not run. This usually means"
20971 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20972 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20973 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20974 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20975 echo "*** is required on your system"
20977 echo "*** If you have an old version installed, it is best to remove it, although"
20978 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20980 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20981 echo "*** came with the system with the command"
20983 echo "*** rpm --erase --nodeps gtk gtk-devel"
20985 echo "$as_me: failed program was:" >&5
20986 sed 's/^/| /' conftest.
$ac_ext >&5
20988 echo "*** The test program failed to compile or link. See the file config.log for the"
20989 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20990 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20991 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20993 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20994 CFLAGS
="$ac_save_CFLAGS"
20995 LIBS
="$ac_save_LIBS"
21009 if test -z "$wx_cv_lib_gtk"; then
21012 wx_cv_cflags_gtk
=$GTK_CFLAGS
21013 wx_cv_libs_gtk
=$GTK_LIBS
21020 if test "$gtk_version_cached" = 1; then
21021 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21022 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21025 case "$wx_cv_lib_gtk" in
21034 *) { { echo "$as_me:$LINENO: error:
21035 Please check that gtk-config is in path, the directory
21036 where GTK+ libraries are installed (returned by
21037 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21038 equivalent variable and GTK+ is version 1.2.3 or above.
21040 echo "$as_me: error:
21041 Please check that gtk-config is in path, the directory
21042 where GTK+ libraries are installed (returned by
21043 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21044 equivalent variable and GTK+ is version 1.2.3 or above.
21046 { (exit 1); exit 1; }; }
21050 if test "$WXGTK20" = 1; then
21051 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21055 if test -z "$PKG_CONFIG"; then
21056 # Extract the first word of "pkg-config", so it can be a program name with args.
21057 set dummy pkg
-config; ac_word
=$2
21058 echo "$as_me:$LINENO: checking for $ac_word" >&5
21059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21060 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21061 echo $ECHO_N "(cached) $ECHO_C" >&6
21063 case $PKG_CONFIG in
21065 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21069 for as_dir
in $PATH
21072 test -z "$as_dir" && as_dir
=.
21073 for ac_exec_ext
in '' $ac_executable_extensions; do
21074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21075 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21082 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21086 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21088 if test -n "$PKG_CONFIG"; then
21089 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21090 echo "${ECHO_T}$PKG_CONFIG" >&6
21092 echo "$as_me:$LINENO: result: no" >&5
21093 echo "${ECHO_T}no" >&6
21098 if test "$PKG_CONFIG" = "no" ; then
21099 echo "*** The pkg-config script could not be found. Make sure it is"
21100 echo "*** in your path, or set the PKG_CONFIG environment variable"
21101 echo "*** to the full path to pkg-config."
21102 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21104 PKG_CONFIG_MIN_VERSION
=0.9.0
21105 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21106 echo "$as_me:$LINENO: checking for pangoft2" >&5
21107 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21109 if $PKG_CONFIG --exists "pangoft2" ; then
21110 echo "$as_me:$LINENO: result: yes" >&5
21111 echo "${ECHO_T}yes" >&6
21114 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21115 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21116 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
21117 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21118 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21120 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21121 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21122 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
21123 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21124 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21128 ## If we have a custom action on failure, don't print errors, but
21129 ## do set a variable so people can do so.
21130 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21137 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21138 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21142 if test $succeeded = yes; then
21144 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
21145 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21149 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21150 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21151 wxUSE_PRINTING_ARCHITECTURE
="no"
21158 if test "$wxUSE_UNICODE" = "yes"; then
21159 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21160 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21165 if test "$USE_DARWIN" != 1; then
21167 for ac_func
in poll
21169 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21170 echo "$as_me:$LINENO: checking for $ac_func" >&5
21171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21172 if eval "test \"\${$as_ac_var+set}\" = set"; then
21173 echo $ECHO_N "(cached) $ECHO_C" >&6
21175 cat >conftest.
$ac_ext <<_ACEOF
21176 #line $LINENO "configure"
21179 cat confdefs.h
>>conftest.
$ac_ext
21180 cat >>conftest.
$ac_ext <<_ACEOF
21181 /* end confdefs.h. */
21182 /* System header to define __stub macros and hopefully few prototypes,
21183 which can conflict with char $ac_func (); below.
21184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21185 <limits.h> exists even on freestanding compilers. */
21187 # include <limits.h>
21189 # include <assert.h>
21191 /* Override any gcc2 internal prototype to avoid an error. */
21196 /* We use char because int might match the return type of a gcc2
21197 builtin and then its argument prototype would still apply. */
21199 /* The GNU C library defines this for functions which it implements
21200 to always fail with ENOSYS. Some functions are actually named
21201 something starting with __ and the normal name is an alias. */
21202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21205 char (*f) () = $ac_func;
21214 return f != $ac_func;
21219 rm -f conftest.
$ac_objext conftest
$ac_exeext
21220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21221 (eval $ac_link) 2>&5
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); } &&
21225 { ac_try
='test -s conftest$ac_exeext'
21226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21227 (eval $ac_try) 2>&5
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); }; }; then
21231 eval "$as_ac_var=yes"
21233 echo "$as_me: failed program was:" >&5
21234 sed 's/^/| /' conftest.
$ac_ext >&5
21236 eval "$as_ac_var=no"
21238 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21242 if test `eval echo '${'$as_ac_var'}'` = yes; then
21243 cat >>confdefs.h
<<_ACEOF
21244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21252 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
21253 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21255 AFMINSTALL
=afminstall
21259 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21260 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21261 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21262 echo $ECHO_N "(cached) $ECHO_C" >&6
21264 ac_check_lib_save_LIBS
=$LIBS
21266 cat >conftest.
$ac_ext <<_ACEOF
21267 #line $LINENO "configure"
21270 cat confdefs.h
>>conftest.
$ac_ext
21271 cat >>conftest.
$ac_ext <<_ACEOF
21272 /* end confdefs.h. */
21274 /* Override any gcc2 internal prototype to avoid an error. */
21278 /* We use char because int might match the return type of a gcc2
21279 builtin and then its argument prototype would still apply. */
21280 char gdk_im_open ();
21289 rm -f conftest.
$ac_objext conftest
$ac_exeext
21290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21291 (eval $ac_link) 2>&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } &&
21295 { ac_try
='test -s conftest$ac_exeext'
21296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21297 (eval $ac_try) 2>&5
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); }; }; then
21301 ac_cv_lib_gdk_gdk_im_open
=yes
21303 echo "$as_me: failed program was:" >&5
21304 sed 's/^/| /' conftest.
$ac_ext >&5
21306 ac_cv_lib_gdk_gdk_im_open
=no
21308 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21309 LIBS
=$ac_check_lib_save_LIBS
21311 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21312 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21313 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21314 cat >>confdefs.h
<<\_ACEOF
21322 if test "$wxUSE_MGL" = 1; then
21323 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21324 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21325 if test "x$MGL_ROOT" = x
; then
21326 echo "$as_me:$LINENO: result: not found" >&5
21327 echo "${ECHO_T}not found" >&6
21328 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21329 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21330 { (exit 1); exit 1; }; }
21332 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21333 echo "${ECHO_T}$MGL_ROOT" >&6
21336 echo "$as_me:$LINENO: checking for libmgl location" >&5
21337 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21340 if test "x$wxUSE_SHARED" = xyes
; then
21341 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21343 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21347 mgl_os_candidates
="dos32/dj2"
21350 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21351 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21352 { (exit 1); exit 1; }; }
21358 for mgl_os_i
in $mgl_os_candidates ; do
21359 if test "x$mgl_os" = x
; then
21360 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21361 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
21362 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
21367 if test "x$mgl_lib_type" = x
; then
21368 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
21369 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
21370 mgl_lib_type
=release
21377 if test "x$mgl_os" = x
; then
21378 echo "$as_me:$LINENO: result: not found" >&5
21379 echo "${ECHO_T}not found" >&6
21380 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21381 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21382 { (exit 1); exit 1; }; }
21384 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21385 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21387 wxUSE_UNIVERSAL
="yes"
21389 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21390 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21392 AFMINSTALL
=afminstall
21397 if test "$wxUSE_MICROWIN" = 1; then
21398 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21399 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21400 if test "x$MICROWINDOWS" = x
; then
21401 echo "$as_me:$LINENO: result: not found" >&5
21402 echo "${ECHO_T}not found" >&6
21403 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21404 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21405 { (exit 1); exit 1; }; }
21407 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21408 echo "${ECHO_T}$MICROWINDOWS" >&6
21411 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21412 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21413 echo "${ECHO_T}MicroWindows' libraries found." >&6
21415 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21416 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21417 { (exit 1); exit 1; }; }
21420 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21421 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21423 wxUSE_UNIVERSAL
="yes"
21425 AFMINSTALL
=afminstall
21427 GUIDIST
=MICROWIN_DIST
21429 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21432 if test "$wxUSE_X11" = 1; then
21433 echo "$as_me:$LINENO: checking for X" >&5
21434 echo $ECHO_N "checking for X... $ECHO_C" >&6
21437 # Check whether --with-x or --without-x was given.
21438 if test "${with_x+set}" = set; then
21442 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21443 if test "x$with_x" = xno
; then
21444 # The user explicitly disabled X.
21447 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21448 # Both variables are already set.
21451 if test "${ac_cv_have_x+set}" = set; then
21452 echo $ECHO_N "(cached) $ECHO_C" >&6
21454 # One or both of the vars are not set, and there is no cached value.
21455 ac_x_includes
=no ac_x_libraries
=no
21456 rm -fr conftest.dir
21457 if mkdir conftest.dir
; then
21459 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21460 cat >Imakefile
<<'_ACEOF'
21462 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21464 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21465 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21466 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21467 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21468 for ac_extension
in a so sl
; do
21469 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21470 test -f $ac_im_libdir/libX11.
$ac_extension; then
21471 ac_im_usrlibdir
=$ac_im_libdir; break
21474 # Screen out bogus values from the imake configuration. They are
21475 # bogus both because they are the default anyway, and because
21476 # using them would break gcc on systems where it needs fixed includes.
21477 case $ac_im_incroot in
21479 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21481 case $ac_im_usrlibdir in
21482 /usr
/lib
| /lib
) ;;
21483 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21487 rm -fr conftest.dir
21490 # Standard set of common directories for X headers.
21491 # Check X11 before X11Rn because it is often a symlink to the current release.
21503 /usr/local/X11/include
21504 /usr/local/X11R6/include
21505 /usr/local/X11R5/include
21506 /usr/local/X11R4/include
21508 /usr/local/include/X11
21509 /usr/local/include/X11R6
21510 /usr/local/include/X11R5
21511 /usr/local/include/X11R4
21515 /usr/XFree86/include/X11
21519 /usr/unsupported/include
21520 /usr/athena/include
21521 /usr/local/x11r5/include
21522 /usr/lpp/Xamples/include
21524 /usr/openwin/include
21525 /usr/openwin/share/include'
21527 if test "$ac_x_includes" = no
; then
21528 # Guess where to find include files, by looking for Intrinsic.h.
21529 # First, try using that file with no special directory specified.
21530 cat >conftest.
$ac_ext <<_ACEOF
21531 #line $LINENO "configure"
21534 cat confdefs.h
>>conftest.
$ac_ext
21535 cat >>conftest.
$ac_ext <<_ACEOF
21536 /* end confdefs.h. */
21537 #include <X11/Intrinsic.h>
21539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21540 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21542 grep -v '^ *+' conftest.er1
>conftest.err
21544 cat conftest.err
>&5
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); } >/dev
/null
; then
21547 if test -s conftest.err
; then
21548 ac_cpp_err
=$ac_c_preproc_warn_flag
21555 if test -z "$ac_cpp_err"; then
21556 # We can compile using X headers with no special include directory.
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.
$ac_ext >&5
21562 for ac_dir
in $ac_x_header_dirs; do
21563 if test -r "$ac_dir/X11/Intrinsic.h"; then
21564 ac_x_includes
=$ac_dir
21569 rm -f conftest.err conftest.
$ac_ext
21570 fi # $ac_x_includes = no
21572 if test "$ac_x_libraries" = no
; then
21573 # Check for the libraries.
21574 # See if we find them without any special options.
21575 # Don't add to $LIBS permanently.
21578 cat >conftest.
$ac_ext <<_ACEOF
21579 #line $LINENO "configure"
21582 cat confdefs.h
>>conftest.
$ac_ext
21583 cat >>conftest.
$ac_ext <<_ACEOF
21584 /* end confdefs.h. */
21585 #include <X11/Intrinsic.h>
21594 rm -f conftest.
$ac_objext conftest
$ac_exeext
21595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21596 (eval $ac_link) 2>&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); } &&
21600 { ac_try
='test -s conftest$ac_exeext'
21601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21602 (eval $ac_try) 2>&5
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); }; }; then
21607 # We can link X programs with no special library path.
21610 echo "$as_me: failed program was:" >&5
21611 sed 's/^/| /' conftest.
$ac_ext >&5
21614 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21616 # Don't even attempt the hair of trying to link an X program!
21617 for ac_extension
in a so sl
; do
21618 if test -r $ac_dir/libXt.
$ac_extension; then
21619 ac_x_libraries
=$ac_dir
21625 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21626 fi # $ac_x_libraries = no
21628 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21629 # Didn't find X anywhere. Cache the known absence of X.
21630 ac_cv_have_x
="have_x=no"
21632 # Record where we found X for the cache.
21633 ac_cv_have_x
="have_x=yes \
21634 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21639 eval "$ac_cv_have_x"
21642 if test "$have_x" != yes; then
21643 echo "$as_me:$LINENO: result: $have_x" >&5
21644 echo "${ECHO_T}$have_x" >&6
21647 # If each of the values was on the command line, it overrides each guess.
21648 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21649 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21650 # Update the cache value to reflect the command line values.
21651 ac_cv_have_x
="have_x=yes \
21652 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21653 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21654 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21657 if test "$no_x" = yes; then
21658 # Not all programs may use this symbol, but it does not hurt to define it.
21660 cat >>confdefs.h
<<\_ACEOF
21661 #define X_DISPLAY_MISSING 1
21664 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21666 if test -n "$x_includes"; then
21667 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21670 # It would also be nice to do this for all -L options, not just this one.
21671 if test -n "$x_libraries"; then
21672 X_LIBS
="$X_LIBS -L$x_libraries"
21673 # For Solaris; some versions of Sun CC require a space after -R and
21674 # others require no space. Words are not sufficient . . . .
21675 case `(uname -sr) 2>/dev/null` in
21677 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21678 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21679 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21680 cat >conftest.
$ac_ext <<_ACEOF
21681 #line $LINENO "configure"
21684 cat confdefs.h
>>conftest.
$ac_ext
21685 cat >>conftest.
$ac_ext <<_ACEOF
21686 /* end confdefs.h. */
21696 rm -f conftest.
$ac_objext conftest
$ac_exeext
21697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21698 (eval $ac_link) 2>&5
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); } &&
21702 { ac_try
='test -s conftest$ac_exeext'
21703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21704 (eval $ac_try) 2>&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); }; }; then
21710 echo "$as_me: failed program was:" >&5
21711 sed 's/^/| /' conftest.
$ac_ext >&5
21715 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21716 if test $ac_R_nospace = yes; then
21717 echo "$as_me:$LINENO: result: no" >&5
21718 echo "${ECHO_T}no" >&6
21719 X_LIBS
="$X_LIBS -R$x_libraries"
21721 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21722 cat >conftest.
$ac_ext <<_ACEOF
21723 #line $LINENO "configure"
21726 cat confdefs.h
>>conftest.
$ac_ext
21727 cat >>conftest.
$ac_ext <<_ACEOF
21728 /* end confdefs.h. */
21738 rm -f conftest.
$ac_objext conftest
$ac_exeext
21739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21740 (eval $ac_link) 2>&5
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); } &&
21744 { ac_try
='test -s conftest$ac_exeext'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; }; then
21752 echo "$as_me: failed program was:" >&5
21753 sed 's/^/| /' conftest.
$ac_ext >&5
21757 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21758 if test $ac_R_space = yes; then
21759 echo "$as_me:$LINENO: result: yes" >&5
21760 echo "${ECHO_T}yes" >&6
21761 X_LIBS
="$X_LIBS -R $x_libraries"
21763 echo "$as_me:$LINENO: result: neither works" >&5
21764 echo "${ECHO_T}neither works" >&6
21767 LIBS
=$ac_xsave_LIBS
21771 # Check for system-dependent libraries X programs must link with.
21772 # Do this before checking for the system-independent R6 libraries
21773 # (-lICE), since we may need -lsocket or whatever for X linking.
21775 if test "$ISC" = yes; then
21776 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21778 # Martyn Johnson says this is needed for Ultrix, if the X
21779 # libraries were built with DECnet support. And Karl Berry says
21780 # the Alpha needs dnet_stub (dnet does not exist).
21781 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
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. */
21790 /* Override any gcc2 internal prototype to avoid an error. */
21794 /* We use char because int might match the return type of a gcc2
21795 builtin and then its argument prototype would still apply. */
21796 char XOpenDisplay ();
21805 rm -f conftest.
$ac_objext conftest
$ac_exeext
21806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21807 (eval $ac_link) 2>&5
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); } &&
21811 { ac_try
='test -s conftest$ac_exeext'
21812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21813 (eval $ac_try) 2>&5
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); }; }; then
21819 echo "$as_me: failed program was:" >&5
21820 sed 's/^/| /' conftest.
$ac_ext >&5
21822 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21823 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21824 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21825 echo $ECHO_N "(cached) $ECHO_C" >&6
21827 ac_check_lib_save_LIBS
=$LIBS
21828 LIBS
="-ldnet $LIBS"
21829 cat >conftest.
$ac_ext <<_ACEOF
21830 #line $LINENO "configure"
21833 cat confdefs.h
>>conftest.
$ac_ext
21834 cat >>conftest.
$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21837 /* Override any gcc2 internal prototype to avoid an error. */
21841 /* We use char because int might match the return type of a gcc2
21842 builtin and then its argument prototype would still apply. */
21852 rm -f conftest.
$ac_objext conftest
$ac_exeext
21853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21854 (eval $ac_link) 2>&5
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); } &&
21858 { ac_try
='test -s conftest$ac_exeext'
21859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21860 (eval $ac_try) 2>&5
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); }; }; then
21864 ac_cv_lib_dnet_dnet_ntoa
=yes
21866 echo "$as_me: failed program was:" >&5
21867 sed 's/^/| /' conftest.
$ac_ext >&5
21869 ac_cv_lib_dnet_dnet_ntoa
=no
21871 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21872 LIBS
=$ac_check_lib_save_LIBS
21874 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21875 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21876 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21877 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21880 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21881 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21882 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21883 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21884 echo $ECHO_N "(cached) $ECHO_C" >&6
21886 ac_check_lib_save_LIBS
=$LIBS
21887 LIBS
="-ldnet_stub $LIBS"
21888 cat >conftest.
$ac_ext <<_ACEOF
21889 #line $LINENO "configure"
21892 cat confdefs.h
>>conftest.
$ac_ext
21893 cat >>conftest.
$ac_ext <<_ACEOF
21894 /* end confdefs.h. */
21896 /* Override any gcc2 internal prototype to avoid an error. */
21900 /* We use char because int might match the return type of a gcc2
21901 builtin and then its argument prototype would still apply. */
21911 rm -f conftest.
$ac_objext conftest
$ac_exeext
21912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21913 (eval $ac_link) 2>&5
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); } &&
21917 { ac_try
='test -s conftest$ac_exeext'
21918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21919 (eval $ac_try) 2>&5
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); }; }; then
21923 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21925 echo "$as_me: failed program was:" >&5
21926 sed 's/^/| /' conftest.
$ac_ext >&5
21928 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21930 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21931 LIBS
=$ac_check_lib_save_LIBS
21933 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21934 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21935 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21936 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21941 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21942 LIBS
="$ac_xsave_LIBS"
21944 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21945 # to get the SysV transport functions.
21946 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21948 # The nsl library prevents programs from opening the X display
21949 # on Irix 5.2, according to T.E. Dickey.
21950 # The functions gethostbyname, getservbyname, and inet_addr are
21951 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21952 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21953 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21954 if test "${ac_cv_func_gethostbyname+set}" = set; then
21955 echo $ECHO_N "(cached) $ECHO_C" >&6
21957 cat >conftest.
$ac_ext <<_ACEOF
21958 #line $LINENO "configure"
21961 cat confdefs.h
>>conftest.
$ac_ext
21962 cat >>conftest.
$ac_ext <<_ACEOF
21963 /* end confdefs.h. */
21964 /* System header to define __stub macros and hopefully few prototypes,
21965 which can conflict with char gethostbyname (); below.
21966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21967 <limits.h> exists even on freestanding compilers. */
21969 # include <limits.h>
21971 # include <assert.h>
21973 /* Override any gcc2 internal prototype to avoid an error. */
21978 /* We use char because int might match the return type of a gcc2
21979 builtin and then its argument prototype would still apply. */
21980 char gethostbyname ();
21981 /* The GNU C library defines this for functions which it implements
21982 to always fail with ENOSYS. Some functions are actually named
21983 something starting with __ and the normal name is an alias. */
21984 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21987 char (*f) () = gethostbyname;
21996 return f != gethostbyname;
22001 rm -f conftest.
$ac_objext conftest
$ac_exeext
22002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22003 (eval $ac_link) 2>&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } &&
22007 { ac_try
='test -s conftest$ac_exeext'
22008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22009 (eval $ac_try) 2>&5
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); }; }; then
22013 ac_cv_func_gethostbyname
=yes
22015 echo "$as_me: failed program was:" >&5
22016 sed 's/^/| /' conftest.
$ac_ext >&5
22018 ac_cv_func_gethostbyname
=no
22020 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22022 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22023 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22025 if test $ac_cv_func_gethostbyname = no
; then
22026 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22027 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22028 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22029 echo $ECHO_N "(cached) $ECHO_C" >&6
22031 ac_check_lib_save_LIBS
=$LIBS
22033 cat >conftest.
$ac_ext <<_ACEOF
22034 #line $LINENO "configure"
22037 cat confdefs.h
>>conftest.
$ac_ext
22038 cat >>conftest.
$ac_ext <<_ACEOF
22039 /* end confdefs.h. */
22041 /* Override any gcc2 internal prototype to avoid an error. */
22045 /* We use char because int might match the return type of a gcc2
22046 builtin and then its argument prototype would still apply. */
22047 char gethostbyname ();
22056 rm -f conftest.
$ac_objext conftest
$ac_exeext
22057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22058 (eval $ac_link) 2>&5
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); } &&
22062 { ac_try
='test -s conftest$ac_exeext'
22063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22064 (eval $ac_try) 2>&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); }; }; then
22068 ac_cv_lib_nsl_gethostbyname
=yes
22070 echo "$as_me: failed program was:" >&5
22071 sed 's/^/| /' conftest.
$ac_ext >&5
22073 ac_cv_lib_nsl_gethostbyname
=no
22075 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22076 LIBS
=$ac_check_lib_save_LIBS
22078 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22079 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22080 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22081 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
22084 if test $ac_cv_lib_nsl_gethostbyname = no
; then
22085 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22086 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22087 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22088 echo $ECHO_N "(cached) $ECHO_C" >&6
22090 ac_check_lib_save_LIBS
=$LIBS
22092 cat >conftest.
$ac_ext <<_ACEOF
22093 #line $LINENO "configure"
22096 cat confdefs.h
>>conftest.
$ac_ext
22097 cat >>conftest.
$ac_ext <<_ACEOF
22098 /* end confdefs.h. */
22100 /* Override any gcc2 internal prototype to avoid an error. */
22104 /* We use char because int might match the return type of a gcc2
22105 builtin and then its argument prototype would still apply. */
22106 char gethostbyname ();
22115 rm -f conftest.
$ac_objext conftest
$ac_exeext
22116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22117 (eval $ac_link) 2>&5
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); } &&
22121 { ac_try
='test -s conftest$ac_exeext'
22122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22123 (eval $ac_try) 2>&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); }; }; then
22127 ac_cv_lib_bsd_gethostbyname
=yes
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.
$ac_ext >&5
22132 ac_cv_lib_bsd_gethostbyname
=no
22134 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22135 LIBS
=$ac_check_lib_save_LIBS
22137 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22138 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22139 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22140 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
22146 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22147 # socket/setsockopt and other routines are undefined under SCO ODT
22148 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22149 # on later versions), says Simon Leinen: it contains gethostby*
22150 # variants that don't use the name server (or something). -lsocket
22151 # must be given before -lnsl if both are needed. We assume that
22152 # if connect needs -lnsl, so does gethostbyname.
22153 echo "$as_me:$LINENO: checking for connect" >&5
22154 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22155 if test "${ac_cv_func_connect+set}" = set; then
22156 echo $ECHO_N "(cached) $ECHO_C" >&6
22158 cat >conftest.
$ac_ext <<_ACEOF
22159 #line $LINENO "configure"
22162 cat confdefs.h
>>conftest.
$ac_ext
22163 cat >>conftest.
$ac_ext <<_ACEOF
22164 /* end confdefs.h. */
22165 /* System header to define __stub macros and hopefully few prototypes,
22166 which can conflict with char connect (); below.
22167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22168 <limits.h> exists even on freestanding compilers. */
22170 # include <limits.h>
22172 # include <assert.h>
22174 /* Override any gcc2 internal prototype to avoid an error. */
22179 /* We use char because int might match the return type of a gcc2
22180 builtin and then its argument prototype would still apply. */
22182 /* The GNU C library defines this for functions which it implements
22183 to always fail with ENOSYS. Some functions are actually named
22184 something starting with __ and the normal name is an alias. */
22185 #if defined (__stub_connect) || defined (__stub___connect)
22188 char (*f) () = connect;
22197 return f != connect;
22202 rm -f conftest.
$ac_objext conftest
$ac_exeext
22203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22204 (eval $ac_link) 2>&5
22206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22207 (exit $ac_status); } &&
22208 { ac_try
='test -s conftest$ac_exeext'
22209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22210 (eval $ac_try) 2>&5
22212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22213 (exit $ac_status); }; }; then
22214 ac_cv_func_connect
=yes
22216 echo "$as_me: failed program was:" >&5
22217 sed 's/^/| /' conftest.
$ac_ext >&5
22219 ac_cv_func_connect
=no
22221 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22223 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22224 echo "${ECHO_T}$ac_cv_func_connect" >&6
22226 if test $ac_cv_func_connect = no
; then
22227 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22228 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22229 if test "${ac_cv_lib_socket_connect+set}" = set; then
22230 echo $ECHO_N "(cached) $ECHO_C" >&6
22232 ac_check_lib_save_LIBS
=$LIBS
22233 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
22234 cat >conftest.
$ac_ext <<_ACEOF
22235 #line $LINENO "configure"
22238 cat confdefs.h
>>conftest.
$ac_ext
22239 cat >>conftest.
$ac_ext <<_ACEOF
22240 /* end confdefs.h. */
22242 /* Override any gcc2 internal prototype to avoid an error. */
22246 /* We use char because int might match the return type of a gcc2
22247 builtin and then its argument prototype would still apply. */
22257 rm -f conftest.
$ac_objext conftest
$ac_exeext
22258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22259 (eval $ac_link) 2>&5
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); } &&
22263 { ac_try
='test -s conftest$ac_exeext'
22264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22265 (eval $ac_try) 2>&5
22267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22268 (exit $ac_status); }; }; then
22269 ac_cv_lib_socket_connect
=yes
22271 echo "$as_me: failed program was:" >&5
22272 sed 's/^/| /' conftest.
$ac_ext >&5
22274 ac_cv_lib_socket_connect
=no
22276 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22277 LIBS
=$ac_check_lib_save_LIBS
22279 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22280 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22281 if test $ac_cv_lib_socket_connect = yes; then
22282 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
22287 # Guillermo Gomez says -lposix is necessary on A/UX.
22288 echo "$as_me:$LINENO: checking for remove" >&5
22289 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22290 if test "${ac_cv_func_remove+set}" = set; then
22291 echo $ECHO_N "(cached) $ECHO_C" >&6
22293 cat >conftest.
$ac_ext <<_ACEOF
22294 #line $LINENO "configure"
22297 cat confdefs.h
>>conftest.
$ac_ext
22298 cat >>conftest.
$ac_ext <<_ACEOF
22299 /* end confdefs.h. */
22300 /* System header to define __stub macros and hopefully few prototypes,
22301 which can conflict with char remove (); below.
22302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22303 <limits.h> exists even on freestanding compilers. */
22305 # include <limits.h>
22307 # include <assert.h>
22309 /* Override any gcc2 internal prototype to avoid an error. */
22314 /* We use char because int might match the return type of a gcc2
22315 builtin and then its argument prototype would still apply. */
22317 /* The GNU C library defines this for functions which it implements
22318 to always fail with ENOSYS. Some functions are actually named
22319 something starting with __ and the normal name is an alias. */
22320 #if defined (__stub_remove) || defined (__stub___remove)
22323 char (*f) () = remove;
22332 return f != remove;
22337 rm -f conftest.
$ac_objext conftest
$ac_exeext
22338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22339 (eval $ac_link) 2>&5
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); } &&
22343 { ac_try
='test -s conftest$ac_exeext'
22344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22345 (eval $ac_try) 2>&5
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); }; }; then
22349 ac_cv_func_remove
=yes
22351 echo "$as_me: failed program was:" >&5
22352 sed 's/^/| /' conftest.
$ac_ext >&5
22354 ac_cv_func_remove
=no
22356 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22358 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22359 echo "${ECHO_T}$ac_cv_func_remove" >&6
22361 if test $ac_cv_func_remove = no
; then
22362 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22363 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22364 if test "${ac_cv_lib_posix_remove+set}" = set; then
22365 echo $ECHO_N "(cached) $ECHO_C" >&6
22367 ac_check_lib_save_LIBS
=$LIBS
22368 LIBS
="-lposix $LIBS"
22369 cat >conftest.
$ac_ext <<_ACEOF
22370 #line $LINENO "configure"
22373 cat confdefs.h
>>conftest.
$ac_ext
22374 cat >>conftest.
$ac_ext <<_ACEOF
22375 /* end confdefs.h. */
22377 /* Override any gcc2 internal prototype to avoid an error. */
22381 /* We use char because int might match the return type of a gcc2
22382 builtin and then its argument prototype would still apply. */
22392 rm -f conftest.
$ac_objext conftest
$ac_exeext
22393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22394 (eval $ac_link) 2>&5
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); } &&
22398 { ac_try
='test -s conftest$ac_exeext'
22399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22400 (eval $ac_try) 2>&5
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); }; }; then
22404 ac_cv_lib_posix_remove
=yes
22406 echo "$as_me: failed program was:" >&5
22407 sed 's/^/| /' conftest.
$ac_ext >&5
22409 ac_cv_lib_posix_remove
=no
22411 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22412 LIBS
=$ac_check_lib_save_LIBS
22414 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22415 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22416 if test $ac_cv_lib_posix_remove = yes; then
22417 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22422 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22423 echo "$as_me:$LINENO: checking for shmat" >&5
22424 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22425 if test "${ac_cv_func_shmat+set}" = set; then
22426 echo $ECHO_N "(cached) $ECHO_C" >&6
22428 cat >conftest.
$ac_ext <<_ACEOF
22429 #line $LINENO "configure"
22432 cat confdefs.h
>>conftest.
$ac_ext
22433 cat >>conftest.
$ac_ext <<_ACEOF
22434 /* end confdefs.h. */
22435 /* System header to define __stub macros and hopefully few prototypes,
22436 which can conflict with char shmat (); below.
22437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22438 <limits.h> exists even on freestanding compilers. */
22440 # include <limits.h>
22442 # include <assert.h>
22444 /* Override any gcc2 internal prototype to avoid an error. */
22449 /* We use char because int might match the return type of a gcc2
22450 builtin and then its argument prototype would still apply. */
22452 /* The GNU C library defines this for functions which it implements
22453 to always fail with ENOSYS. Some functions are actually named
22454 something starting with __ and the normal name is an alias. */
22455 #if defined (__stub_shmat) || defined (__stub___shmat)
22458 char (*f) () = shmat;
22472 rm -f conftest.
$ac_objext conftest
$ac_exeext
22473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22474 (eval $ac_link) 2>&5
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); } &&
22478 { ac_try
='test -s conftest$ac_exeext'
22479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22480 (eval $ac_try) 2>&5
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); }; }; then
22484 ac_cv_func_shmat
=yes
22486 echo "$as_me: failed program was:" >&5
22487 sed 's/^/| /' conftest.
$ac_ext >&5
22489 ac_cv_func_shmat
=no
22491 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22493 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22494 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22496 if test $ac_cv_func_shmat = no
; then
22497 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22498 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22499 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22500 echo $ECHO_N "(cached) $ECHO_C" >&6
22502 ac_check_lib_save_LIBS
=$LIBS
22504 cat >conftest.
$ac_ext <<_ACEOF
22505 #line $LINENO "configure"
22508 cat confdefs.h
>>conftest.
$ac_ext
22509 cat >>conftest.
$ac_ext <<_ACEOF
22510 /* end confdefs.h. */
22512 /* Override any gcc2 internal prototype to avoid an error. */
22516 /* We use char because int might match the return type of a gcc2
22517 builtin and then its argument prototype would still apply. */
22527 rm -f conftest.
$ac_objext conftest
$ac_exeext
22528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22529 (eval $ac_link) 2>&5
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); } &&
22533 { ac_try
='test -s conftest$ac_exeext'
22534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22535 (eval $ac_try) 2>&5
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); }; }; then
22539 ac_cv_lib_ipc_shmat
=yes
22541 echo "$as_me: failed program was:" >&5
22542 sed 's/^/| /' conftest.
$ac_ext >&5
22544 ac_cv_lib_ipc_shmat
=no
22546 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22547 LIBS
=$ac_check_lib_save_LIBS
22549 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22550 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22551 if test $ac_cv_lib_ipc_shmat = yes; then
22552 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22558 # Check for libraries that X11R6 Xt/Xaw programs need.
22559 ac_save_LDFLAGS
=$LDFLAGS
22560 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22561 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22562 # check for ICE first), but we must link in the order -lSM -lICE or
22563 # we get undefined symbols. So assume we have SM if we have ICE.
22564 # These have to be linked with before -lX11, unlike the other
22565 # libraries we check for below, so use a different variable.
22566 # John Interrante, Karl Berry
22567 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22568 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22569 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22570 echo $ECHO_N "(cached) $ECHO_C" >&6
22572 ac_check_lib_save_LIBS
=$LIBS
22573 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22574 cat >conftest.
$ac_ext <<_ACEOF
22575 #line $LINENO "configure"
22578 cat confdefs.h
>>conftest.
$ac_ext
22579 cat >>conftest.
$ac_ext <<_ACEOF
22580 /* end confdefs.h. */
22582 /* Override any gcc2 internal prototype to avoid an error. */
22586 /* We use char because int might match the return type of a gcc2
22587 builtin and then its argument prototype would still apply. */
22588 char IceConnectionNumber ();
22592 IceConnectionNumber ();
22597 rm -f conftest.
$ac_objext conftest
$ac_exeext
22598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22599 (eval $ac_link) 2>&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } &&
22603 { ac_try
='test -s conftest$ac_exeext'
22604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22605 (eval $ac_try) 2>&5
22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608 (exit $ac_status); }; }; then
22609 ac_cv_lib_ICE_IceConnectionNumber
=yes
22611 echo "$as_me: failed program was:" >&5
22612 sed 's/^/| /' conftest.
$ac_ext >&5
22614 ac_cv_lib_ICE_IceConnectionNumber
=no
22616 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22617 LIBS
=$ac_check_lib_save_LIBS
22619 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22620 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22621 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22622 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22625 LDFLAGS
=$ac_save_LDFLAGS
22630 if test "$no_x" = "yes"; then
22631 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22632 echo "$as_me: error: X11 not found" >&2;}
22633 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22636 GUI_TK_LIBRARY
="$X_LIBS"
22637 TOOLKIT_INCLUDE
="$X_CFLAGS"
22638 AFMINSTALL
=afminstall
22639 COMPILED_X_PROGRAM
=0
22641 if test "$wxUSE_NANOX" = "yes"; then
22642 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22643 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22644 if test "x$MICROWIN" = x
; then
22645 echo "$as_me:$LINENO: result: not found" >&5
22646 echo "${ECHO_T}not found" >&6
22647 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22648 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22649 { (exit 1); exit 1; }; }
22651 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22652 echo "${ECHO_T}$MICROWIN" >&6
22653 cat >>confdefs.h
<<\_ACEOF
22654 #define wxUSE_NANOX 1
22661 echo "$as_me:$LINENO: checking for Xpm library" >&5
22662 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22665 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22667 for ac_extension
in a so sl dylib
; do
22668 if test -f "$ac_dir/libXpm.$ac_extension"; then
22669 ac_find_libraries
=$ac_dir
22675 if test "$ac_find_libraries" != "" ; then
22677 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22679 if test $result = 0; then
22682 ac_path_to_link
=" -L$ac_find_libraries"
22685 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22687 cat >>confdefs.h
<<\_ACEOF
22688 #define wxHAVE_LIB_XPM 1
22691 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22692 echo "${ECHO_T}found at $ac_find_libraries" >&6
22694 cat >conftest.
$ac_ext <<_ACEOF
22695 #line $LINENO "configure"
22698 cat confdefs.h
>>conftest.
$ac_ext
22699 cat >>conftest.
$ac_ext <<_ACEOF
22700 /* end confdefs.h. */
22702 #include <X11/xpm.h>
22709 version = XpmLibraryVersion();
22715 rm -f conftest.
$ac_objext
22716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22717 (eval $ac_compile) 2>&5
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); } &&
22721 { ac_try
='test -s conftest.$ac_objext'
22722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22723 (eval $ac_try) 2>&5
22725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726 (exit $ac_status); }; }; then
22729 cat >>confdefs.h
<<\_ACEOF
22730 #define wxHAVE_LIB_XPM 1
22733 echo "$as_me:$LINENO: result: found in default search path" >&5
22734 echo "${ECHO_T}found in default search path" >&6
22735 COMPILED_X_PROGRAM
=0
22738 echo "$as_me: failed program was:" >&5
22739 sed 's/^/| /' conftest.
$ac_ext >&5
22742 echo "$as_me:$LINENO: result: no" >&5
22743 echo "${ECHO_T}no" >&6
22744 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22745 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22749 rm -f conftest.
$ac_objext conftest.
$ac_ext
22752 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22753 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22754 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22755 echo $ECHO_N "(cached) $ECHO_C" >&6
22757 ac_check_lib_save_LIBS
=$LIBS
22758 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22759 cat >conftest.
$ac_ext <<_ACEOF
22760 #line $LINENO "configure"
22763 cat confdefs.h
>>conftest.
$ac_ext
22764 cat >>conftest.
$ac_ext <<_ACEOF
22765 /* end confdefs.h. */
22767 /* Override any gcc2 internal prototype to avoid an error. */
22771 /* We use char because int might match the return type of a gcc2
22772 builtin and then its argument prototype would still apply. */
22773 char XShapeQueryExtension ();
22777 XShapeQueryExtension ();
22782 rm -f conftest.
$ac_objext conftest
$ac_exeext
22783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22784 (eval $ac_link) 2>&5
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); } &&
22788 { ac_try
='test -s conftest$ac_exeext'
22789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22790 (eval $ac_try) 2>&5
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); }; }; then
22794 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22796 echo "$as_me: failed program was:" >&5
22797 sed 's/^/| /' conftest.
$ac_ext >&5
22799 ac_cv_lib_Xext_XShapeQueryExtension
=no
22801 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22802 LIBS
=$ac_check_lib_save_LIBS
22804 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22805 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22806 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22808 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22814 if test "$wxUSE_UNICODE" = "yes"; then
22818 if test -z "$PKG_CONFIG"; then
22819 # Extract the first word of "pkg-config", so it can be a program name with args.
22820 set dummy pkg
-config; ac_word
=$2
22821 echo "$as_me:$LINENO: checking for $ac_word" >&5
22822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22823 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22824 echo $ECHO_N "(cached) $ECHO_C" >&6
22826 case $PKG_CONFIG in
22828 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22832 for as_dir
in $PATH
22835 test -z "$as_dir" && as_dir
=.
22836 for ac_exec_ext
in '' $ac_executable_extensions; do
22837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22838 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22845 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22849 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22851 if test -n "$PKG_CONFIG"; then
22852 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22853 echo "${ECHO_T}$PKG_CONFIG" >&6
22855 echo "$as_me:$LINENO: result: no" >&5
22856 echo "${ECHO_T}no" >&6
22861 if test "$PKG_CONFIG" = "no" ; then
22862 echo "*** The pkg-config script could not be found. Make sure it is"
22863 echo "*** in your path, or set the PKG_CONFIG environment variable"
22864 echo "*** to the full path to pkg-config."
22865 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22867 PKG_CONFIG_MIN_VERSION
=0.9.0
22868 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22869 echo "$as_me:$LINENO: checking for pangox" >&5
22870 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22872 if $PKG_CONFIG --exists "pangox" ; then
22873 echo "$as_me:$LINENO: result: yes" >&5
22874 echo "${ECHO_T}yes" >&6
22877 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22878 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22879 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22880 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22881 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22883 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22884 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22885 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22886 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22887 echo "${ECHO_T}$PANGOX_LIBS" >&6
22891 ## If we have a custom action on failure, don't print errors, but
22892 ## do set a variable so people can do so.
22893 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22900 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22901 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22905 if test $succeeded = yes; then
22907 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22908 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22912 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22913 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22914 { (exit 1); exit 1; }; }
22922 if test -z "$PKG_CONFIG"; then
22923 # Extract the first word of "pkg-config", so it can be a program name with args.
22924 set dummy pkg
-config; ac_word
=$2
22925 echo "$as_me:$LINENO: checking for $ac_word" >&5
22926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22927 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22928 echo $ECHO_N "(cached) $ECHO_C" >&6
22930 case $PKG_CONFIG in
22932 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22936 for as_dir
in $PATH
22939 test -z "$as_dir" && as_dir
=.
22940 for ac_exec_ext
in '' $ac_executable_extensions; do
22941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22942 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22949 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22953 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22955 if test -n "$PKG_CONFIG"; then
22956 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22957 echo "${ECHO_T}$PKG_CONFIG" >&6
22959 echo "$as_me:$LINENO: result: no" >&5
22960 echo "${ECHO_T}no" >&6
22965 if test "$PKG_CONFIG" = "no" ; then
22966 echo "*** The pkg-config script could not be found. Make sure it is"
22967 echo "*** in your path, or set the PKG_CONFIG environment variable"
22968 echo "*** to the full path to pkg-config."
22969 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22971 PKG_CONFIG_MIN_VERSION
=0.9.0
22972 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22973 echo "$as_me:$LINENO: checking for pangoft2" >&5
22974 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22976 if $PKG_CONFIG --exists "pangoft2" ; then
22977 echo "$as_me:$LINENO: result: yes" >&5
22978 echo "${ECHO_T}yes" >&6
22981 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22982 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22983 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22984 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22985 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22987 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22988 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22989 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22990 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22991 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22995 ## If we have a custom action on failure, don't print errors, but
22996 ## do set a variable so people can do so.
22997 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23004 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23005 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23009 if test $succeeded = yes; then
23011 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
23012 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23016 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23017 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23018 wxUSE_PRINTING_ARCHITECTURE
="no"
23026 if test -z "$PKG_CONFIG"; then
23027 # Extract the first word of "pkg-config", so it can be a program name with args.
23028 set dummy pkg
-config; ac_word
=$2
23029 echo "$as_me:$LINENO: checking for $ac_word" >&5
23030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23031 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23032 echo $ECHO_N "(cached) $ECHO_C" >&6
23034 case $PKG_CONFIG in
23036 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23040 for as_dir
in $PATH
23043 test -z "$as_dir" && as_dir
=.
23044 for ac_exec_ext
in '' $ac_executable_extensions; do
23045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23046 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23053 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23057 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23059 if test -n "$PKG_CONFIG"; then
23060 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23061 echo "${ECHO_T}$PKG_CONFIG" >&6
23063 echo "$as_me:$LINENO: result: no" >&5
23064 echo "${ECHO_T}no" >&6
23069 if test "$PKG_CONFIG" = "no" ; then
23070 echo "*** The pkg-config script could not be found. Make sure it is"
23071 echo "*** in your path, or set the PKG_CONFIG environment variable"
23072 echo "*** to the full path to pkg-config."
23073 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23075 PKG_CONFIG_MIN_VERSION
=0.9.0
23076 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23077 echo "$as_me:$LINENO: checking for pangoxft" >&5
23078 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
23080 if $PKG_CONFIG --exists "pangoxft" ; then
23081 echo "$as_me:$LINENO: result: yes" >&5
23082 echo "${ECHO_T}yes" >&6
23085 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
23086 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
23087 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
23088 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
23089 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
23091 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
23092 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
23093 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
23094 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23095 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23099 ## If we have a custom action on failure, don't print errors, but
23100 ## do set a variable so people can do so.
23101 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23108 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23109 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23113 if test $succeeded = yes; then
23115 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
23116 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23120 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23121 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23128 wxUSE_UNIVERSAL
="yes"
23130 if test "$wxUSE_NANOX" = "yes"; then
23131 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23132 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"
23133 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23135 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
23138 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
23143 if test "$wxUSE_MOTIF" = 1; then
23144 if test "$no_x" = yes; then
23145 # Not all programs may use this symbol, but it does not hurt to define it.
23147 cat >>confdefs.h
<<\_ACEOF
23148 #define X_DISPLAY_MISSING 1
23151 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23153 if test -n "$x_includes"; then
23154 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23157 # It would also be nice to do this for all -L options, not just this one.
23158 if test -n "$x_libraries"; then
23159 X_LIBS
="$X_LIBS -L$x_libraries"
23160 # For Solaris; some versions of Sun CC require a space after -R and
23161 # others require no space. Words are not sufficient . . . .
23162 case `(uname -sr) 2>/dev/null` in
23164 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23165 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23166 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23167 cat >conftest.
$ac_ext <<_ACEOF
23168 #line $LINENO "configure"
23171 cat confdefs.h
>>conftest.
$ac_ext
23172 cat >>conftest.
$ac_ext <<_ACEOF
23173 /* end confdefs.h. */
23183 rm -f conftest.
$ac_objext conftest
$ac_exeext
23184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23185 (eval $ac_link) 2>&5
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); } &&
23189 { ac_try
='test -s conftest$ac_exeext'
23190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23191 (eval $ac_try) 2>&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); }; }; then
23197 echo "$as_me: failed program was:" >&5
23198 sed 's/^/| /' conftest.
$ac_ext >&5
23202 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23203 if test $ac_R_nospace = yes; then
23204 echo "$as_me:$LINENO: result: no" >&5
23205 echo "${ECHO_T}no" >&6
23206 X_LIBS
="$X_LIBS -R$x_libraries"
23208 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23209 cat >conftest.
$ac_ext <<_ACEOF
23210 #line $LINENO "configure"
23213 cat confdefs.h
>>conftest.
$ac_ext
23214 cat >>conftest.
$ac_ext <<_ACEOF
23215 /* end confdefs.h. */
23225 rm -f conftest.
$ac_objext conftest
$ac_exeext
23226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23227 (eval $ac_link) 2>&5
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); } &&
23231 { ac_try
='test -s conftest$ac_exeext'
23232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23233 (eval $ac_try) 2>&5
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; }; then
23239 echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.
$ac_ext >&5
23244 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23245 if test $ac_R_space = yes; then
23246 echo "$as_me:$LINENO: result: yes" >&5
23247 echo "${ECHO_T}yes" >&6
23248 X_LIBS
="$X_LIBS -R $x_libraries"
23250 echo "$as_me:$LINENO: result: neither works" >&5
23251 echo "${ECHO_T}neither works" >&6
23254 LIBS
=$ac_xsave_LIBS
23258 # Check for system-dependent libraries X programs must link with.
23259 # Do this before checking for the system-independent R6 libraries
23260 # (-lICE), since we may need -lsocket or whatever for X linking.
23262 if test "$ISC" = yes; then
23263 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23265 # Martyn Johnson says this is needed for Ultrix, if the X
23266 # libraries were built with DECnet support. And Karl Berry says
23267 # the Alpha needs dnet_stub (dnet does not exist).
23268 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23269 cat >conftest.
$ac_ext <<_ACEOF
23270 #line $LINENO "configure"
23273 cat confdefs.h
>>conftest.
$ac_ext
23274 cat >>conftest.
$ac_ext <<_ACEOF
23275 /* end confdefs.h. */
23277 /* Override any gcc2 internal prototype to avoid an error. */
23281 /* We use char because int might match the return type of a gcc2
23282 builtin and then its argument prototype would still apply. */
23283 char XOpenDisplay ();
23292 rm -f conftest.
$ac_objext conftest
$ac_exeext
23293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23294 (eval $ac_link) 2>&5
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); } &&
23298 { ac_try
='test -s conftest$ac_exeext'
23299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23300 (eval $ac_try) 2>&5
23302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23303 (exit $ac_status); }; }; then
23306 echo "$as_me: failed program was:" >&5
23307 sed 's/^/| /' conftest.
$ac_ext >&5
23309 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23310 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23311 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23312 echo $ECHO_N "(cached) $ECHO_C" >&6
23314 ac_check_lib_save_LIBS
=$LIBS
23315 LIBS
="-ldnet $LIBS"
23316 cat >conftest.
$ac_ext <<_ACEOF
23317 #line $LINENO "configure"
23320 cat confdefs.h
>>conftest.
$ac_ext
23321 cat >>conftest.
$ac_ext <<_ACEOF
23322 /* end confdefs.h. */
23324 /* Override any gcc2 internal prototype to avoid an error. */
23328 /* We use char because int might match the return type of a gcc2
23329 builtin and then its argument prototype would still apply. */
23339 rm -f conftest.
$ac_objext conftest
$ac_exeext
23340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23341 (eval $ac_link) 2>&5
23343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344 (exit $ac_status); } &&
23345 { ac_try
='test -s conftest$ac_exeext'
23346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23347 (eval $ac_try) 2>&5
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); }; }; then
23351 ac_cv_lib_dnet_dnet_ntoa
=yes
23353 echo "$as_me: failed program was:" >&5
23354 sed 's/^/| /' conftest.
$ac_ext >&5
23356 ac_cv_lib_dnet_dnet_ntoa
=no
23358 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23359 LIBS
=$ac_check_lib_save_LIBS
23361 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23362 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23363 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23364 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23367 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23368 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23369 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23370 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23371 echo $ECHO_N "(cached) $ECHO_C" >&6
23373 ac_check_lib_save_LIBS
=$LIBS
23374 LIBS
="-ldnet_stub $LIBS"
23375 cat >conftest.
$ac_ext <<_ACEOF
23376 #line $LINENO "configure"
23379 cat confdefs.h
>>conftest.
$ac_ext
23380 cat >>conftest.
$ac_ext <<_ACEOF
23381 /* end confdefs.h. */
23383 /* Override any gcc2 internal prototype to avoid an error. */
23387 /* We use char because int might match the return type of a gcc2
23388 builtin and then its argument prototype would still apply. */
23398 rm -f conftest.
$ac_objext conftest
$ac_exeext
23399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23400 (eval $ac_link) 2>&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } &&
23404 { ac_try
='test -s conftest$ac_exeext'
23405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23406 (eval $ac_try) 2>&5
23408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23409 (exit $ac_status); }; }; then
23410 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23412 echo "$as_me: failed program was:" >&5
23413 sed 's/^/| /' conftest.
$ac_ext >&5
23415 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23417 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23418 LIBS
=$ac_check_lib_save_LIBS
23420 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23421 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23422 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23423 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23428 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23429 LIBS
="$ac_xsave_LIBS"
23431 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23432 # to get the SysV transport functions.
23433 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23435 # The nsl library prevents programs from opening the X display
23436 # on Irix 5.2, according to T.E. Dickey.
23437 # The functions gethostbyname, getservbyname, and inet_addr are
23438 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23439 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23440 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23441 if test "${ac_cv_func_gethostbyname+set}" = set; then
23442 echo $ECHO_N "(cached) $ECHO_C" >&6
23444 cat >conftest.
$ac_ext <<_ACEOF
23445 #line $LINENO "configure"
23448 cat confdefs.h
>>conftest.
$ac_ext
23449 cat >>conftest.
$ac_ext <<_ACEOF
23450 /* end confdefs.h. */
23451 /* System header to define __stub macros and hopefully few prototypes,
23452 which can conflict with char gethostbyname (); below.
23453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23454 <limits.h> exists even on freestanding compilers. */
23456 # include <limits.h>
23458 # include <assert.h>
23460 /* Override any gcc2 internal prototype to avoid an error. */
23465 /* We use char because int might match the return type of a gcc2
23466 builtin and then its argument prototype would still apply. */
23467 char gethostbyname ();
23468 /* The GNU C library defines this for functions which it implements
23469 to always fail with ENOSYS. Some functions are actually named
23470 something starting with __ and the normal name is an alias. */
23471 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23474 char (*f) () = gethostbyname;
23483 return f != gethostbyname;
23488 rm -f conftest.
$ac_objext conftest
$ac_exeext
23489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23490 (eval $ac_link) 2>&5
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); } &&
23494 { ac_try
='test -s conftest$ac_exeext'
23495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23496 (eval $ac_try) 2>&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; }; then
23500 ac_cv_func_gethostbyname
=yes
23502 echo "$as_me: failed program was:" >&5
23503 sed 's/^/| /' conftest.
$ac_ext >&5
23505 ac_cv_func_gethostbyname
=no
23507 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23509 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23510 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23512 if test $ac_cv_func_gethostbyname = no
; then
23513 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23514 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23515 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23516 echo $ECHO_N "(cached) $ECHO_C" >&6
23518 ac_check_lib_save_LIBS
=$LIBS
23520 cat >conftest.
$ac_ext <<_ACEOF
23521 #line $LINENO "configure"
23524 cat confdefs.h
>>conftest.
$ac_ext
23525 cat >>conftest.
$ac_ext <<_ACEOF
23526 /* end confdefs.h. */
23528 /* Override any gcc2 internal prototype to avoid an error. */
23532 /* We use char because int might match the return type of a gcc2
23533 builtin and then its argument prototype would still apply. */
23534 char gethostbyname ();
23543 rm -f conftest.
$ac_objext conftest
$ac_exeext
23544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23545 (eval $ac_link) 2>&5
23547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23548 (exit $ac_status); } &&
23549 { ac_try
='test -s conftest$ac_exeext'
23550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23551 (eval $ac_try) 2>&5
23553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23554 (exit $ac_status); }; }; then
23555 ac_cv_lib_nsl_gethostbyname
=yes
23557 echo "$as_me: failed program was:" >&5
23558 sed 's/^/| /' conftest.
$ac_ext >&5
23560 ac_cv_lib_nsl_gethostbyname
=no
23562 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23563 LIBS
=$ac_check_lib_save_LIBS
23565 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23566 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23567 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23568 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23571 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23572 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23573 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23574 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23575 echo $ECHO_N "(cached) $ECHO_C" >&6
23577 ac_check_lib_save_LIBS
=$LIBS
23579 cat >conftest.
$ac_ext <<_ACEOF
23580 #line $LINENO "configure"
23583 cat confdefs.h
>>conftest.
$ac_ext
23584 cat >>conftest.
$ac_ext <<_ACEOF
23585 /* end confdefs.h. */
23587 /* Override any gcc2 internal prototype to avoid an error. */
23591 /* We use char because int might match the return type of a gcc2
23592 builtin and then its argument prototype would still apply. */
23593 char gethostbyname ();
23602 rm -f conftest.
$ac_objext conftest
$ac_exeext
23603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23604 (eval $ac_link) 2>&5
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); } &&
23608 { ac_try
='test -s conftest$ac_exeext'
23609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23610 (eval $ac_try) 2>&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); }; }; then
23614 ac_cv_lib_bsd_gethostbyname
=yes
23616 echo "$as_me: failed program was:" >&5
23617 sed 's/^/| /' conftest.
$ac_ext >&5
23619 ac_cv_lib_bsd_gethostbyname
=no
23621 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23622 LIBS
=$ac_check_lib_save_LIBS
23624 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23625 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23626 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23627 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23633 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23634 # socket/setsockopt and other routines are undefined under SCO ODT
23635 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23636 # on later versions), says Simon Leinen: it contains gethostby*
23637 # variants that don't use the name server (or something). -lsocket
23638 # must be given before -lnsl if both are needed. We assume that
23639 # if connect needs -lnsl, so does gethostbyname.
23640 echo "$as_me:$LINENO: checking for connect" >&5
23641 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23642 if test "${ac_cv_func_connect+set}" = set; then
23643 echo $ECHO_N "(cached) $ECHO_C" >&6
23645 cat >conftest.
$ac_ext <<_ACEOF
23646 #line $LINENO "configure"
23649 cat confdefs.h
>>conftest.
$ac_ext
23650 cat >>conftest.
$ac_ext <<_ACEOF
23651 /* end confdefs.h. */
23652 /* System header to define __stub macros and hopefully few prototypes,
23653 which can conflict with char connect (); below.
23654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23655 <limits.h> exists even on freestanding compilers. */
23657 # include <limits.h>
23659 # include <assert.h>
23661 /* Override any gcc2 internal prototype to avoid an error. */
23666 /* We use char because int might match the return type of a gcc2
23667 builtin and then its argument prototype would still apply. */
23669 /* The GNU C library defines this for functions which it implements
23670 to always fail with ENOSYS. Some functions are actually named
23671 something starting with __ and the normal name is an alias. */
23672 #if defined (__stub_connect) || defined (__stub___connect)
23675 char (*f) () = connect;
23684 return f != connect;
23689 rm -f conftest.
$ac_objext conftest
$ac_exeext
23690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23691 (eval $ac_link) 2>&5
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); } &&
23695 { ac_try
='test -s conftest$ac_exeext'
23696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23697 (eval $ac_try) 2>&5
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); }; }; then
23701 ac_cv_func_connect
=yes
23703 echo "$as_me: failed program was:" >&5
23704 sed 's/^/| /' conftest.
$ac_ext >&5
23706 ac_cv_func_connect
=no
23708 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23710 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23711 echo "${ECHO_T}$ac_cv_func_connect" >&6
23713 if test $ac_cv_func_connect = no
; then
23714 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23715 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23716 if test "${ac_cv_lib_socket_connect+set}" = set; then
23717 echo $ECHO_N "(cached) $ECHO_C" >&6
23719 ac_check_lib_save_LIBS
=$LIBS
23720 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23721 cat >conftest.
$ac_ext <<_ACEOF
23722 #line $LINENO "configure"
23725 cat confdefs.h
>>conftest.
$ac_ext
23726 cat >>conftest.
$ac_ext <<_ACEOF
23727 /* end confdefs.h. */
23729 /* Override any gcc2 internal prototype to avoid an error. */
23733 /* We use char because int might match the return type of a gcc2
23734 builtin and then its argument prototype would still apply. */
23744 rm -f conftest.
$ac_objext conftest
$ac_exeext
23745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23746 (eval $ac_link) 2>&5
23748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23749 (exit $ac_status); } &&
23750 { ac_try
='test -s conftest$ac_exeext'
23751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23752 (eval $ac_try) 2>&5
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); }; }; then
23756 ac_cv_lib_socket_connect
=yes
23758 echo "$as_me: failed program was:" >&5
23759 sed 's/^/| /' conftest.
$ac_ext >&5
23761 ac_cv_lib_socket_connect
=no
23763 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23764 LIBS
=$ac_check_lib_save_LIBS
23766 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23767 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23768 if test $ac_cv_lib_socket_connect = yes; then
23769 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23774 # Guillermo Gomez says -lposix is necessary on A/UX.
23775 echo "$as_me:$LINENO: checking for remove" >&5
23776 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23777 if test "${ac_cv_func_remove+set}" = set; then
23778 echo $ECHO_N "(cached) $ECHO_C" >&6
23780 cat >conftest.
$ac_ext <<_ACEOF
23781 #line $LINENO "configure"
23784 cat confdefs.h
>>conftest.
$ac_ext
23785 cat >>conftest.
$ac_ext <<_ACEOF
23786 /* end confdefs.h. */
23787 /* System header to define __stub macros and hopefully few prototypes,
23788 which can conflict with char remove (); below.
23789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23790 <limits.h> exists even on freestanding compilers. */
23792 # include <limits.h>
23794 # include <assert.h>
23796 /* Override any gcc2 internal prototype to avoid an error. */
23801 /* We use char because int might match the return type of a gcc2
23802 builtin and then its argument prototype would still apply. */
23804 /* The GNU C library defines this for functions which it implements
23805 to always fail with ENOSYS. Some functions are actually named
23806 something starting with __ and the normal name is an alias. */
23807 #if defined (__stub_remove) || defined (__stub___remove)
23810 char (*f) () = remove;
23819 return f != remove;
23824 rm -f conftest.
$ac_objext conftest
$ac_exeext
23825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23826 (eval $ac_link) 2>&5
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); } &&
23830 { ac_try
='test -s conftest$ac_exeext'
23831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23832 (eval $ac_try) 2>&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); }; }; then
23836 ac_cv_func_remove
=yes
23838 echo "$as_me: failed program was:" >&5
23839 sed 's/^/| /' conftest.
$ac_ext >&5
23841 ac_cv_func_remove
=no
23843 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23845 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23846 echo "${ECHO_T}$ac_cv_func_remove" >&6
23848 if test $ac_cv_func_remove = no
; then
23849 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23850 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23851 if test "${ac_cv_lib_posix_remove+set}" = set; then
23852 echo $ECHO_N "(cached) $ECHO_C" >&6
23854 ac_check_lib_save_LIBS
=$LIBS
23855 LIBS
="-lposix $LIBS"
23856 cat >conftest.
$ac_ext <<_ACEOF
23857 #line $LINENO "configure"
23860 cat confdefs.h
>>conftest.
$ac_ext
23861 cat >>conftest.
$ac_ext <<_ACEOF
23862 /* end confdefs.h. */
23864 /* Override any gcc2 internal prototype to avoid an error. */
23868 /* We use char because int might match the return type of a gcc2
23869 builtin and then its argument prototype would still apply. */
23879 rm -f conftest.
$ac_objext conftest
$ac_exeext
23880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23881 (eval $ac_link) 2>&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); } &&
23885 { ac_try
='test -s conftest$ac_exeext'
23886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23887 (eval $ac_try) 2>&5
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); }; }; then
23891 ac_cv_lib_posix_remove
=yes
23893 echo "$as_me: failed program was:" >&5
23894 sed 's/^/| /' conftest.
$ac_ext >&5
23896 ac_cv_lib_posix_remove
=no
23898 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23899 LIBS
=$ac_check_lib_save_LIBS
23901 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23902 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23903 if test $ac_cv_lib_posix_remove = yes; then
23904 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23909 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23910 echo "$as_me:$LINENO: checking for shmat" >&5
23911 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23912 if test "${ac_cv_func_shmat+set}" = set; then
23913 echo $ECHO_N "(cached) $ECHO_C" >&6
23915 cat >conftest.
$ac_ext <<_ACEOF
23916 #line $LINENO "configure"
23919 cat confdefs.h
>>conftest.
$ac_ext
23920 cat >>conftest.
$ac_ext <<_ACEOF
23921 /* end confdefs.h. */
23922 /* System header to define __stub macros and hopefully few prototypes,
23923 which can conflict with char shmat (); below.
23924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23925 <limits.h> exists even on freestanding compilers. */
23927 # include <limits.h>
23929 # include <assert.h>
23931 /* Override any gcc2 internal prototype to avoid an error. */
23936 /* We use char because int might match the return type of a gcc2
23937 builtin and then its argument prototype would still apply. */
23939 /* The GNU C library defines this for functions which it implements
23940 to always fail with ENOSYS. Some functions are actually named
23941 something starting with __ and the normal name is an alias. */
23942 #if defined (__stub_shmat) || defined (__stub___shmat)
23945 char (*f) () = shmat;
23959 rm -f conftest.
$ac_objext conftest
$ac_exeext
23960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23961 (eval $ac_link) 2>&5
23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964 (exit $ac_status); } &&
23965 { ac_try
='test -s conftest$ac_exeext'
23966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23967 (eval $ac_try) 2>&5
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); }; }; then
23971 ac_cv_func_shmat
=yes
23973 echo "$as_me: failed program was:" >&5
23974 sed 's/^/| /' conftest.
$ac_ext >&5
23976 ac_cv_func_shmat
=no
23978 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23980 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23981 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23983 if test $ac_cv_func_shmat = no
; then
23984 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23985 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23986 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23987 echo $ECHO_N "(cached) $ECHO_C" >&6
23989 ac_check_lib_save_LIBS
=$LIBS
23991 cat >conftest.
$ac_ext <<_ACEOF
23992 #line $LINENO "configure"
23995 cat confdefs.h
>>conftest.
$ac_ext
23996 cat >>conftest.
$ac_ext <<_ACEOF
23997 /* end confdefs.h. */
23999 /* Override any gcc2 internal prototype to avoid an error. */
24003 /* We use char because int might match the return type of a gcc2
24004 builtin and then its argument prototype would still apply. */
24014 rm -f conftest.
$ac_objext conftest
$ac_exeext
24015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24016 (eval $ac_link) 2>&5
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); } &&
24020 { ac_try
='test -s conftest$ac_exeext'
24021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24022 (eval $ac_try) 2>&5
24024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24025 (exit $ac_status); }; }; then
24026 ac_cv_lib_ipc_shmat
=yes
24028 echo "$as_me: failed program was:" >&5
24029 sed 's/^/| /' conftest.
$ac_ext >&5
24031 ac_cv_lib_ipc_shmat
=no
24033 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24034 LIBS
=$ac_check_lib_save_LIBS
24036 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24037 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24038 if test $ac_cv_lib_ipc_shmat = yes; then
24039 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
24045 # Check for libraries that X11R6 Xt/Xaw programs need.
24046 ac_save_LDFLAGS
=$LDFLAGS
24047 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
24048 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24049 # check for ICE first), but we must link in the order -lSM -lICE or
24050 # we get undefined symbols. So assume we have SM if we have ICE.
24051 # These have to be linked with before -lX11, unlike the other
24052 # libraries we check for below, so use a different variable.
24053 # John Interrante, Karl Berry
24054 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24055 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24056 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24057 echo $ECHO_N "(cached) $ECHO_C" >&6
24059 ac_check_lib_save_LIBS
=$LIBS
24060 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
24061 cat >conftest.
$ac_ext <<_ACEOF
24062 #line $LINENO "configure"
24065 cat confdefs.h
>>conftest.
$ac_ext
24066 cat >>conftest.
$ac_ext <<_ACEOF
24067 /* end confdefs.h. */
24069 /* Override any gcc2 internal prototype to avoid an error. */
24073 /* We use char because int might match the return type of a gcc2
24074 builtin and then its argument prototype would still apply. */
24075 char IceConnectionNumber ();
24079 IceConnectionNumber ();
24084 rm -f conftest.
$ac_objext conftest
$ac_exeext
24085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24086 (eval $ac_link) 2>&5
24088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24089 (exit $ac_status); } &&
24090 { ac_try
='test -s conftest$ac_exeext'
24091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24092 (eval $ac_try) 2>&5
24094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24095 (exit $ac_status); }; }; then
24096 ac_cv_lib_ICE_IceConnectionNumber
=yes
24098 echo "$as_me: failed program was:" >&5
24099 sed 's/^/| /' conftest.
$ac_ext >&5
24101 ac_cv_lib_ICE_IceConnectionNumber
=no
24103 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24104 LIBS
=$ac_check_lib_save_LIBS
24106 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24107 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24108 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24109 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24112 LDFLAGS
=$ac_save_LDFLAGS
24117 if test "$no_x" = "yes"; then
24118 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24119 echo "$as_me: error: X11 not found" >&2;}
24120 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24123 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
24124 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
24125 AFMINSTALL
=afminstall
24126 COMPILED_X_PROGRAM
=0
24128 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24129 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24132 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24134 if test -f "$ac_dir/Xm/Xm.h"; then
24135 ac_find_includes
=$ac_dir
24140 if test "$ac_find_includes" != "" ; then
24141 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24142 echo "${ECHO_T}found in $ac_find_includes" >&6
24144 if test "x$ac_find_includes" = "x/usr/include"; then
24145 ac_path_to_include
=""
24147 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
24149 if test $result = 0; then
24150 ac_path_to_include
=""
24152 ac_path_to_include
=" -I$ac_find_includes"
24156 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
24158 cat >conftest.
$ac_ext <<_ACEOF
24159 #line $LINENO "configure"
24162 cat confdefs.h
>>conftest.
$ac_ext
24163 cat >>conftest.
$ac_ext <<_ACEOF
24164 /* end confdefs.h. */
24173 version = xmUseVersion;
24179 rm -f conftest.
$ac_objext
24180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24181 (eval $ac_compile) 2>&5
24183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24184 (exit $ac_status); } &&
24185 { ac_try
='test -s conftest.$ac_objext'
24186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24187 (eval $ac_try) 2>&5
24189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190 (exit $ac_status); }; }; then
24192 echo "$as_me:$LINENO: result: found in default search path" >&5
24193 echo "${ECHO_T}found in default search path" >&6
24194 COMPILED_X_PROGRAM
=1
24197 echo "$as_me: failed program was:" >&5
24198 sed 's/^/| /' conftest.
$ac_ext >&5
24201 echo "$as_me:$LINENO: result: no" >&5
24202 echo "${ECHO_T}no" >&6
24203 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24204 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24205 { (exit 1); exit 1; }; }
24209 rm -f conftest.
$ac_objext conftest.
$ac_ext
24212 if test "$COMPILED_X_PROGRAM" = 0; then
24213 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24214 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24217 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24219 for ac_extension
in a so sl dylib
; do
24220 if test -f "$ac_dir/libXm.$ac_extension"; then
24221 ac_find_libraries
=$ac_dir
24227 if test "$ac_find_libraries" != "" ; then
24228 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24229 echo "${ECHO_T}found at $ac_find_libraries" >&6
24232 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24234 if test $result = 0; then
24237 ac_path_to_link
=" -L$ac_find_libraries"
24240 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24242 save_CFLAGS
=$CFLAGS
24243 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24245 cat >conftest.
$ac_ext <<_ACEOF
24246 #line $LINENO "configure"
24249 cat confdefs.h
>>conftest.
$ac_ext
24250 cat >>conftest.
$ac_ext <<_ACEOF
24251 /* end confdefs.h. */
24260 version = xmUseVersion;
24266 rm -f conftest.
$ac_objext
24267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24268 (eval $ac_compile) 2>&5
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); } &&
24272 { ac_try
='test -s conftest.$ac_objext'
24273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24274 (eval $ac_try) 2>&5
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); }; }; then
24279 echo "$as_me:$LINENO: result: found in default search path" >&5
24280 echo "${ECHO_T}found in default search path" >&6
24281 COMPILED_X_PROGRAM
=1
24284 echo "$as_me: failed program was:" >&5
24285 sed 's/^/| /' conftest.
$ac_ext >&5
24288 echo "$as_me:$LINENO: result: no" >&5
24289 echo "${ECHO_T}no" >&6
24290 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24291 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24292 { (exit 1); exit 1; }; }
24296 rm -f conftest.
$ac_objext conftest.
$ac_ext
24298 CFLAGS
=$save_CFLAGS
24303 echo "$as_me:$LINENO: checking for Xpm library" >&5
24304 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24307 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24309 for ac_extension
in a so sl dylib
; do
24310 if test -f "$ac_dir/libXpm.$ac_extension"; then
24311 ac_find_libraries
=$ac_dir
24317 if test "$ac_find_libraries" != "" ; then
24319 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24321 if test $result = 0; then
24324 ac_path_to_link
=" -L$ac_find_libraries"
24327 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24330 cat >>confdefs.h
<<\_ACEOF
24331 #define wxHAVE_LIB_XPM 1
24334 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24335 echo "${ECHO_T}found at $ac_find_libraries" >&6
24337 save_CFLAGS
=$CFLAGS
24338 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24340 cat >conftest.
$ac_ext <<_ACEOF
24341 #line $LINENO "configure"
24344 cat confdefs.h
>>conftest.
$ac_ext
24345 cat >>conftest.
$ac_ext <<_ACEOF
24346 /* end confdefs.h. */
24348 #include <X11/xpm.h>
24355 version = XpmLibraryVersion();
24361 rm -f conftest.
$ac_objext
24362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24363 (eval $ac_compile) 2>&5
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); } &&
24367 { ac_try
='test -s conftest.$ac_objext'
24368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24369 (eval $ac_try) 2>&5
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); }; }; then
24375 cat >>confdefs.h
<<\_ACEOF
24376 #define wxHAVE_LIB_XPM 1
24379 echo "$as_me:$LINENO: result: found in default search path" >&5
24380 echo "${ECHO_T}found in default search path" >&6
24381 COMPILED_X_PROGRAM
=0
24384 echo "$as_me: failed program was:" >&5
24385 sed 's/^/| /' conftest.
$ac_ext >&5
24388 echo "$as_me:$LINENO: result: no" >&5
24389 echo "${ECHO_T}no" >&6
24390 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24391 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24395 rm -f conftest.
$ac_objext conftest.
$ac_ext
24397 CFLAGS
=$save_CFLAGS
24400 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24401 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24405 for libp
in "" " -lXp"; do
24406 if test "$libs_found" = "0"; then
24407 for libsm_ice
in "" " -lSM -lICE"; do
24408 if test "$libs_found" = "0"; then
24410 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24411 save_CFLAGS
=$CFLAGS
24412 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24414 cat >conftest.
$ac_ext <<_ACEOF
24415 #line $LINENO "configure"
24418 cat confdefs.h
>>conftest.
$ac_ext
24419 cat >>conftest.
$ac_ext <<_ACEOF
24420 /* end confdefs.h. */
24423 #include <Xm/List.h>
24429 XmString string = NULL;
24432 XmListAddItem(w, string, position);
24438 rm -f conftest.
$ac_objext conftest
$ac_exeext
24439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24440 (eval $ac_link) 2>&5
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); } &&
24444 { ac_try
='test -s conftest$ac_exeext'
24445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24446 (eval $ac_try) 2>&5
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); }; }; then
24452 libsm_ice_link
="$libsm_ice"
24453 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24454 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24458 echo "$as_me: failed program was:" >&5
24459 sed 's/^/| /' conftest.
$ac_ext >&5
24464 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24467 CFLAGS
=$save_CFLAGS
24473 if test "$libs_found" = "0"; then
24474 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24475 echo "${ECHO_T}can't find the right libraries" >&6
24476 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24477 echo "$as_me: error: can't link a simple motif program" >&2;}
24478 { (exit 1); exit 1; }; }
24481 save_CFLAGS
=$CFLAGS
24482 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24483 echo "$as_me:$LINENO: checking for Motif 2" >&5
24484 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24485 cat >conftest.
$ac_ext <<_ACEOF
24486 #line $LINENO "configure"
24489 cat confdefs.h
>>conftest.
$ac_ext
24490 cat >>conftest.
$ac_ext <<_ACEOF
24491 /* end confdefs.h. */
24499 #if XmVersion < 2000
24500 #error "Not Motif 2"
24507 rm -f conftest.
$ac_objext
24508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24509 (eval $ac_compile) 2>&5
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); } &&
24513 { ac_try
='test -s conftest.$ac_objext'
24514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24515 (eval $ac_try) 2>&5
24517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24518 (exit $ac_status); }; }; then
24520 cat >>confdefs.h
<<\_ACEOF
24521 #define __WXMOTIF20__ 1
24524 echo "$as_me:$LINENO: result: found" >&5
24525 echo "${ECHO_T}found" >&6
24528 echo "$as_me: failed program was:" >&5
24529 sed 's/^/| /' conftest.
$ac_ext >&5
24532 cat >>confdefs.h
<<\_ACEOF
24533 #define __WXMOTIF20__ 0
24536 echo "$as_me:$LINENO: result: not found" >&5
24537 echo "${ECHO_T}not found" >&6
24540 rm -f conftest.
$ac_objext conftest.
$ac_ext
24541 CFLAGS
=$save_CFLAGS
24543 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24544 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24550 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24551 test "$wxHAVE_XEXT_LIB" = 1; then
24552 save_CFLAGS
="$CFLAGS"
24553 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24555 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24556 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24557 cat >conftest.
$ac_ext <<_ACEOF
24558 #line $LINENO "configure"
24561 cat confdefs.h
>>conftest.
$ac_ext
24562 cat >>conftest.
$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24565 #include <X11/Xlib.h>
24566 #include <X11/extensions/shape.h>
24572 int dummy1, dummy2;
24573 XShapeQueryExtension((Display*)NULL,
24574 (int*)NULL, (int*)NULL);
24580 rm -f conftest.
$ac_objext
24581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24582 (eval $ac_compile) 2>&5
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); } &&
24586 { ac_try
='test -s conftest.$ac_objext'
24587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24588 (eval $ac_try) 2>&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); }; }; then
24593 cat >>confdefs.h
<<\_ACEOF
24594 #define HAVE_XSHAPE 1
24597 echo "$as_me:$LINENO: result: found" >&5
24598 echo "${ECHO_T}found" >&6
24601 echo "$as_me: failed program was:" >&5
24602 sed 's/^/| /' conftest.
$ac_ext >&5
24605 echo "$as_me:$LINENO: result: not found" >&5
24606 echo "${ECHO_T}not found" >&6
24609 rm -f conftest.
$ac_objext conftest.
$ac_ext
24610 CFLAGS
="$save_CFLAGS"
24613 if test "$wxUSE_MAC" = 1; then
24614 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24615 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24616 if test "$GCC" = yes; then
24617 echo "$as_me:$LINENO: result: gcc" >&5
24618 echo "${ECHO_T}gcc" >&6
24619 CPPFLAGS_PASCAL
="-fpascal-strings"
24620 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24621 echo "$as_me:$LINENO: result: xlc" >&5
24622 echo "${ECHO_T}xlc" >&6
24623 CPPFLAGS_PASCAL
="-qmacpstr"
24625 echo "$as_me:$LINENO: result: none" >&5
24626 echo "${ECHO_T}none" >&6
24629 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24631 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24634 WXBASEPORT
="_carbon"
24637 if test "$wxUSE_COCOA" = 1; then
24638 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24643 if test "$wxUSE_PM" = 1; then
24648 if test "$TOOLKIT" = "PM" ; then
24651 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24654 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24656 if test "$wxUSE_UNIVERSAL" = "yes"; then
24657 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24659 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24660 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24662 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24663 if test "$wxUSE_X11" = 1; then
24664 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24666 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24668 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24671 ALL_OBJECTS
="\$(GUIOBJS)"
24672 ALL_SOURCES
="\$(ALL_SOURCES)"
24673 ALL_HEADERS
="\$(ALL_HEADERS)"
24676 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24678 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24679 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24682 if test "$wxUSE_HTML" = "yes"; then
24683 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24686 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24687 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24689 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24690 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24692 if test "$wxUSE_LIBPNG" = "builtin" ; then
24693 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24696 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24697 DISTDIR
="wx\$(TOOLKIT)"
24703 if test "$USE_WIN32" = 1 ; then
24704 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24705 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24709 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24710 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24713 ALL_SOURCES
="\$(ALL_SOURCES)"
24714 ALL_HEADERS
="\$(ALL_HEADERS)"
24716 PORT_FILES
="\${top_srcdir}/src/files.lst"
24718 GUIDIST
="BASE_DIST"
24728 if test "$TOOLKIT" != "MSW" ; then
24730 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24732 if test "${ac_cv_header_sql_h+set}" = set; then
24733 echo "$as_me:$LINENO: checking for sql.h" >&5
24734 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24735 if test "${ac_cv_header_sql_h+set}" = set; then
24736 echo $ECHO_N "(cached) $ECHO_C" >&6
24738 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24739 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24741 # Is the header compilable?
24742 echo "$as_me:$LINENO: checking sql.h usability" >&5
24743 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24744 cat >conftest.
$ac_ext <<_ACEOF
24745 #line $LINENO "configure"
24748 cat confdefs.h
>>conftest.
$ac_ext
24749 cat >>conftest.
$ac_ext <<_ACEOF
24750 /* end confdefs.h. */
24751 $ac_includes_default
24754 rm -f conftest.
$ac_objext
24755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24756 (eval $ac_compile) 2>&5
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); } &&
24760 { ac_try
='test -s conftest.$ac_objext'
24761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24762 (eval $ac_try) 2>&5
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); }; }; then
24766 ac_header_compiler
=yes
24768 echo "$as_me: failed program was:" >&5
24769 sed 's/^/| /' conftest.
$ac_ext >&5
24771 ac_header_compiler
=no
24773 rm -f conftest.
$ac_objext conftest.
$ac_ext
24774 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24775 echo "${ECHO_T}$ac_header_compiler" >&6
24777 # Is the header present?
24778 echo "$as_me:$LINENO: checking sql.h presence" >&5
24779 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24780 cat >conftest.
$ac_ext <<_ACEOF
24781 #line $LINENO "configure"
24784 cat confdefs.h
>>conftest.
$ac_ext
24785 cat >>conftest.
$ac_ext <<_ACEOF
24786 /* end confdefs.h. */
24789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24790 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24792 grep -v '^ *+' conftest.er1
>conftest.err
24794 cat conftest.err
>&5
24795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24796 (exit $ac_status); } >/dev
/null
; then
24797 if test -s conftest.err
; then
24798 ac_cpp_err
=$ac_c_preproc_warn_flag
24805 if test -z "$ac_cpp_err"; then
24806 ac_header_preproc
=yes
24808 echo "$as_me: failed program was:" >&5
24809 sed 's/^/| /' conftest.
$ac_ext >&5
24811 ac_header_preproc
=no
24813 rm -f conftest.err conftest.
$ac_ext
24814 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24815 echo "${ECHO_T}$ac_header_preproc" >&6
24817 # So? What about this header?
24818 case $ac_header_compiler:$ac_header_preproc in
24820 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24821 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24822 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24823 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24826 ## ------------------------------------ ##
24827 ## Report this to bug-autoconf@gnu.org. ##
24828 ## ------------------------------------ ##
24831 sed "s/^/$as_me: WARNING: /" >&2
24834 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24835 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24836 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24837 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24838 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24839 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24842 ## ------------------------------------ ##
24843 ## Report this to bug-autoconf@gnu.org. ##
24844 ## ------------------------------------ ##
24847 sed "s/^/$as_me: WARNING: /" >&2
24850 echo "$as_me:$LINENO: checking for sql.h" >&5
24851 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24852 if test "${ac_cv_header_sql_h+set}" = set; then
24853 echo $ECHO_N "(cached) $ECHO_C" >&6
24855 ac_cv_header_sql_h
=$ac_header_preproc
24857 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24858 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24861 if test $ac_cv_header_sql_h = yes; then
24866 if test "x$found_sql_h" = "x1" ; then
24867 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24868 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24869 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24870 echo $ECHO_N "(cached) $ECHO_C" >&6
24872 ac_check_lib_save_LIBS
=$LIBS
24873 LIBS
="-liodbc $LIBS"
24874 cat >conftest.
$ac_ext <<_ACEOF
24875 #line $LINENO "configure"
24878 cat confdefs.h
>>conftest.
$ac_ext
24879 cat >>conftest.
$ac_ext <<_ACEOF
24880 /* end confdefs.h. */
24882 /* Override any gcc2 internal prototype to avoid an error. */
24886 /* We use char because int might match the return type of a gcc2
24887 builtin and then its argument prototype would still apply. */
24888 char SQLAllocEnv ();
24897 rm -f conftest.
$ac_objext conftest
$ac_exeext
24898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24899 (eval $ac_link) 2>&5
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); } &&
24903 { ac_try
='test -s conftest$ac_exeext'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; }; then
24909 ac_cv_lib_iodbc_SQLAllocEnv
=yes
24911 echo "$as_me: failed program was:" >&5
24912 sed 's/^/| /' conftest.
$ac_ext >&5
24914 ac_cv_lib_iodbc_SQLAllocEnv
=no
24916 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24917 LIBS
=$ac_check_lib_save_LIBS
24919 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24920 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24921 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24922 ODBC_LINK
=" -liodbc"
24925 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24926 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24927 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24928 echo $ECHO_N "(cached) $ECHO_C" >&6
24930 ac_check_lib_save_LIBS
=$LIBS
24931 LIBS
="-lunixodbc $LIBS"
24932 cat >conftest.
$ac_ext <<_ACEOF
24933 #line $LINENO "configure"
24936 cat confdefs.h
>>conftest.
$ac_ext
24937 cat >>conftest.
$ac_ext <<_ACEOF
24938 /* end confdefs.h. */
24940 /* Override any gcc2 internal prototype to avoid an error. */
24944 /* We use char because int might match the return type of a gcc2
24945 builtin and then its argument prototype would still apply. */
24946 char SQLAllocEnv ();
24955 rm -f conftest.
$ac_objext conftest
$ac_exeext
24956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24957 (eval $ac_link) 2>&5
24959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960 (exit $ac_status); } &&
24961 { ac_try
='test -s conftest$ac_exeext'
24962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24963 (eval $ac_try) 2>&5
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); }; }; then
24967 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
24969 echo "$as_me: failed program was:" >&5
24970 sed 's/^/| /' conftest.
$ac_ext >&5
24972 ac_cv_lib_unixodbc_SQLAllocEnv
=no
24974 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24975 LIBS
=$ac_check_lib_save_LIBS
24977 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24978 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24979 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24980 ODBC_LINK
=" -lunixodbc"
24983 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24984 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24985 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24986 echo $ECHO_N "(cached) $ECHO_C" >&6
24988 ac_check_lib_save_LIBS
=$LIBS
24989 LIBS
="-lodbc $LIBS"
24990 cat >conftest.
$ac_ext <<_ACEOF
24991 #line $LINENO "configure"
24994 cat confdefs.h
>>conftest.
$ac_ext
24995 cat >>conftest.
$ac_ext <<_ACEOF
24996 /* end confdefs.h. */
24998 /* Override any gcc2 internal prototype to avoid an error. */
25002 /* We use char because int might match the return type of a gcc2
25003 builtin and then its argument prototype would still apply. */
25004 char SQLAllocEnv ();
25013 rm -f conftest.
$ac_objext conftest
$ac_exeext
25014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25015 (eval $ac_link) 2>&5
25017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25018 (exit $ac_status); } &&
25019 { ac_try
='test -s conftest$ac_exeext'
25020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25021 (eval $ac_try) 2>&5
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); }; }; then
25025 ac_cv_lib_odbc_SQLAllocEnv
=yes
25027 echo "$as_me: failed program was:" >&5
25028 sed 's/^/| /' conftest.
$ac_ext >&5
25030 ac_cv_lib_odbc_SQLAllocEnv
=no
25032 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25033 LIBS
=$ac_check_lib_save_LIBS
25035 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
25036 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
25037 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
25038 ODBC_LINK
=" -lodbc"
25048 if test "x$ODBC_LINK" = "x" ; then
25049 if test "$wxUSE_ODBC" = "sys" ; then
25050 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25051 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25052 { (exit 1); exit 1; }; }
25054 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25055 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25062 if test "$wxUSE_ODBC" != "no" ; then
25063 cat >>confdefs.h
<<\_ACEOF
25064 #define wxUSE_ODBC 1
25067 if test "$wxUSE_ODBC" = "builtin" ; then
25068 cat >>confdefs.h
<<\_ACEOF
25069 #define wxUSE_BUILTIN_IODBC 1
25073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
25075 WXODBCFLAG
="-D_IODBC_"
25079 if test "$wxUSE_REGEX" = "builtin" ; then
25080 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
25082 if test "$wxUSE_ZLIB" = "builtin" ; then
25083 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
25088 if test "$wxUSE_OPENGL" = "yes"; then
25089 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25090 OPENGL_LIBS
="-framework OpenGL -framework AGL"
25091 elif test "$wxUSE_MSW" = 1; then
25092 OPENGL_LIBS
="-lopengl32 -lglu32"
25097 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25099 if test -f "$ac_dir/GL/gl.h"; then
25100 ac_find_includes
=$ac_dir
25105 if test "$ac_find_includes" != "" ; then
25106 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25107 echo "${ECHO_T}found in $ac_find_includes" >&6
25109 if test "x$ac_find_includes" = "x/usr/include"; then
25110 ac_path_to_include
=""
25112 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
25114 if test $result = 0; then
25115 ac_path_to_include
=""
25117 ac_path_to_include
=" -I$ac_find_includes"
25121 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
25124 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25125 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25126 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25127 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25128 echo $ECHO_N "(cached) $ECHO_C" >&6
25130 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25131 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25133 # Is the header compilable?
25134 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25135 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25136 cat >conftest.
$ac_ext <<_ACEOF
25137 #line $LINENO "configure"
25140 cat confdefs.h
>>conftest.
$ac_ext
25141 cat >>conftest.
$ac_ext <<_ACEOF
25142 /* end confdefs.h. */
25143 $ac_includes_default
25146 rm -f conftest.
$ac_objext
25147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25148 (eval $ac_compile) 2>&5
25150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151 (exit $ac_status); } &&
25152 { ac_try
='test -s conftest.$ac_objext'
25153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25154 (eval $ac_try) 2>&5
25156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25157 (exit $ac_status); }; }; then
25158 ac_header_compiler
=yes
25160 echo "$as_me: failed program was:" >&5
25161 sed 's/^/| /' conftest.
$ac_ext >&5
25163 ac_header_compiler
=no
25165 rm -f conftest.
$ac_objext conftest.
$ac_ext
25166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25167 echo "${ECHO_T}$ac_header_compiler" >&6
25169 # Is the header present?
25170 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25171 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25172 cat >conftest.
$ac_ext <<_ACEOF
25173 #line $LINENO "configure"
25176 cat confdefs.h
>>conftest.
$ac_ext
25177 cat >>conftest.
$ac_ext <<_ACEOF
25178 /* end confdefs.h. */
25181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25182 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25184 grep -v '^ *+' conftest.er1
>conftest.err
25186 cat conftest.err
>&5
25187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25188 (exit $ac_status); } >/dev
/null
; then
25189 if test -s conftest.err
; then
25190 ac_cpp_err
=$ac_c_preproc_warn_flag
25197 if test -z "$ac_cpp_err"; then
25198 ac_header_preproc
=yes
25200 echo "$as_me: failed program was:" >&5
25201 sed 's/^/| /' conftest.
$ac_ext >&5
25203 ac_header_preproc
=no
25205 rm -f conftest.err conftest.
$ac_ext
25206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25207 echo "${ECHO_T}$ac_header_preproc" >&6
25209 # So? What about this header?
25210 case $ac_header_compiler:$ac_header_preproc in
25212 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25213 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25214 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25215 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25218 ## ------------------------------------ ##
25219 ## Report this to bug-autoconf@gnu.org. ##
25220 ## ------------------------------------ ##
25223 sed "s/^/$as_me: WARNING: /" >&2
25226 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25227 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25228 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25229 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25230 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25231 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25234 ## ------------------------------------ ##
25235 ## Report this to bug-autoconf@gnu.org. ##
25236 ## ------------------------------------ ##
25239 sed "s/^/$as_me: WARNING: /" >&2
25242 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25243 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25244 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25245 echo $ECHO_N "(cached) $ECHO_C" >&6
25247 ac_cv_header_GL_gl_h
=$ac_header_preproc
25249 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25250 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25253 if test $ac_cv_header_GL_gl_h = yes; then
25257 echo "$as_me:$LINENO: checking for -lGL" >&5
25258 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25261 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25263 for ac_extension
in a so sl dylib
; do
25264 if test -f "$ac_dir/libGL.$ac_extension"; then
25265 ac_find_libraries
=$ac_dir
25271 if test "$ac_find_libraries" != "" ; then
25273 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25275 if test $result = 0; then
25278 ac_path_to_link
=" -L$ac_find_libraries"
25281 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25282 LDFLAGS_GL
="$ac_path_to_link"
25287 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25289 for ac_extension
in a so sl dylib
; do
25290 if test -f "$ac_dir/libGLU.$ac_extension"; then
25291 ac_find_libraries
=$ac_dir
25297 if test "$ac_find_libraries" != "" ; then
25299 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25301 if test $result = 0; then
25304 ac_path_to_link
=" -L$ac_find_libraries"
25307 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25308 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25309 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
25313 OPENGL_LIBS
="-lGL -lGLU"
25314 echo "$as_me:$LINENO: result: yes" >&5
25315 echo "${ECHO_T}yes" >&6
25319 if test "$found_gl" != 1; then
25320 echo "$as_me:$LINENO: result: no" >&5
25321 echo "${ECHO_T}no" >&6
25322 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25323 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25326 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25328 for ac_extension
in a so sl dylib
; do
25329 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25330 ac_find_libraries
=$ac_dir
25336 if test "$ac_find_libraries" != "" ; then
25338 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25340 if test $result = 0; then
25343 ac_path_to_link
=" -L$ac_find_libraries"
25346 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
25347 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
25348 echo "$as_me:$LINENO: result: yes" >&5
25349 echo "${ECHO_T}yes" >&6
25351 echo "$as_me:$LINENO: result: no" >&5
25352 echo "${ECHO_T}no" >&6
25360 if test "x$OPENGL_LIBS" = "x"; then
25361 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25362 echo "$as_me: error: OpenGL libraries not available" >&2;}
25363 { (exit 1); exit 1; }; }
25367 if test "$wxUSE_OPENGL" = "yes"; then
25369 cat >>confdefs.h
<<\_ACEOF
25370 #define wxUSE_OPENGL 1
25373 cat >>confdefs.h
<<\_ACEOF
25374 #define wxUSE_GLCANVAS 1
25377 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25381 if test -z "$TOOLKIT_VPATH" ; then
25382 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
25385 if test -n "$TOOLKIT" ; then
25386 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25390 lib_unicode_suffix
=
25391 if test "$wxUSE_UNICODE" = "yes"; then
25392 lib_unicode_suffix
=u
25398 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25404 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25408 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25410 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25411 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25413 if test "$cross_compiling" = "yes"; then
25414 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
25415 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
25416 HOST_SUFFIX
="-${host_alias}"
25419 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
25420 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
25421 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25422 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25424 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25425 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25427 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25428 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25429 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25430 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25433 *-*-cygwin* | *-*-mingw32* )
25434 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25435 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25440 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25441 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25443 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25444 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25445 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25446 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25448 if test "$wxUSE_MAC" = 1; then
25449 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25450 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25455 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25456 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25458 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25459 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25461 if test "$wxUSE_OPENGL" = "yes"; then
25462 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25463 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25468 if test "$wxUSE_SHARED" = "yes"; then
25470 *-pc-os2_emx | *-pc-os2-emx | \
25473 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25474 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25480 if test "$wxUSE_SHARED" = "yes"; then
25484 found_versioning
=no
25487 if test $found_versioning = no
; then
25488 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25489 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25490 if test "${wx_cv_version_script+set}" = set; then
25491 echo $ECHO_N "(cached) $ECHO_C" >&6
25494 echo "VER_1 { *; };" >conftest.sym
25495 echo "int main() { return 0; }" >conftest.cpp
25498 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25499 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25501 (eval $ac_try) 2>&5
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); }; } ; then
25505 if test -s conftest.stderr
; then
25506 wx_cv_version_script
=no
25508 wx_cv_version_script
=yes
25511 wx_cv_version_script
=no
25513 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25516 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25517 echo "${ECHO_T}$wx_cv_version_script" >&6
25518 if test $wx_cv_version_script = yes ; then
25519 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25525 *-*-linux* | *-*-gnu* )
25526 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25530 if test "$GCC" = yes ; then
25531 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25533 saveLdflags
="$LDFLAGS"
25534 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25535 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25536 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25537 cat >conftest.
$ac_ext <<_ACEOF
25538 #line $LINENO "configure"
25541 cat confdefs.h
>>conftest.
$ac_ext
25542 cat >>conftest.
$ac_ext <<_ACEOF
25543 /* end confdefs.h. */
25553 rm -f conftest.
$ac_objext conftest
$ac_exeext
25554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25555 (eval $ac_link) 2>&5
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); } &&
25559 { ac_try
='test -s conftest$ac_exeext'
25560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561 (eval $ac_try) 2>&5
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); }; }; then
25566 echo "$as_me:$LINENO: result: yes" >&5
25567 echo "${ECHO_T}yes" >&6
25568 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25571 echo "$as_me: failed program was:" >&5
25572 sed 's/^/| /' conftest.
$ac_ext >&5
25575 echo "$as_me:$LINENO: result: no" >&5
25576 echo "${ECHO_T}no" >&6
25577 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25578 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25579 LDFLAGS
="$saveLdflags -Wl,-R,/"
25580 cat >conftest.
$ac_ext <<_ACEOF
25581 #line $LINENO "configure"
25584 cat confdefs.h
>>conftest.
$ac_ext
25585 cat >>conftest.
$ac_ext <<_ACEOF
25586 /* end confdefs.h. */
25596 rm -f conftest.
$ac_objext conftest
$ac_exeext
25597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25598 (eval $ac_link) 2>&5
25600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25601 (exit $ac_status); } &&
25602 { ac_try
='test -s conftest$ac_exeext'
25603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25604 (eval $ac_try) 2>&5
25606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607 (exit $ac_status); }; }; then
25609 echo "$as_me:$LINENO: result: yes" >&5
25610 echo "${ECHO_T}yes" >&6
25611 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25613 echo "$as_me: failed program was:" >&5
25614 sed 's/^/| /' conftest.
$ac_ext >&5
25617 echo "$as_me:$LINENO: result: no" >&5
25618 echo "${ECHO_T}no" >&6
25621 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25624 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25625 LDFLAGS
="$saveLdflags"
25627 SHARED_LD
="${CXX} -G -o"
25629 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25633 powerpc
-*-darwin* )
25634 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25635 cat <<EOF >change-install-names
25637 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25638 inst_cmd="install_name_tool "
25639 for i in \${libnames} ; do
25640 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25644 chmod +x change
-install-names
25649 if test "x$WX_TARGET_LIBRARY" = "x"; then
25650 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25651 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25654 WX_TARGET_LIBRARY_TYPE
="so"
25655 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25658 if test "$wxUSE_SHARED" = "no"; then
25660 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25661 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25664 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25665 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25668 if test "$wxUSE_OPENGL" = "yes"; then
25669 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25670 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25672 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25675 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25676 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25678 WX_TARGET_LIBRARY_TYPE
="a"
25679 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25689 if test "$wxUSE_MAC" = 1; then
25690 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25691 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25692 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25693 # Extract the first word of "Rez", so it can be a program name with args.
25694 set dummy Rez
; ac_word
=$2
25695 echo "$as_me:$LINENO: checking for $ac_word" >&5
25696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25697 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25698 echo $ECHO_N "(cached) $ECHO_C" >&6
25700 if test -n "$RESCOMP"; then
25701 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25704 for as_dir
in $PATH
25707 test -z "$as_dir" && as_dir
=.
25708 for ac_exec_ext
in '' $ac_executable_extensions; do
25709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25710 ac_cv_prog_RESCOMP
="Rez"
25711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25717 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25720 RESCOMP
=$ac_cv_prog_RESCOMP
25721 if test -n "$RESCOMP"; then
25722 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25723 echo "${ECHO_T}$RESCOMP" >&6
25725 echo "$as_me:$LINENO: result: no" >&5
25726 echo "${ECHO_T}no" >&6
25729 # Extract the first word of "DeRez", so it can be a program name with args.
25730 set dummy DeRez
; ac_word
=$2
25731 echo "$as_me:$LINENO: checking for $ac_word" >&5
25732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25733 if test "${ac_cv_prog_DEREZ+set}" = set; then
25734 echo $ECHO_N "(cached) $ECHO_C" >&6
25736 if test -n "$DEREZ"; then
25737 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25740 for as_dir
in $PATH
25743 test -z "$as_dir" && as_dir
=.
25744 for ac_exec_ext
in '' $ac_executable_extensions; do
25745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25746 ac_cv_prog_DEREZ
="DeRez"
25747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25753 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25756 DEREZ
=$ac_cv_prog_DEREZ
25757 if test -n "$DEREZ"; then
25758 echo "$as_me:$LINENO: result: $DEREZ" >&5
25759 echo "${ECHO_T}$DEREZ" >&6
25761 echo "$as_me:$LINENO: result: no" >&5
25762 echo "${ECHO_T}no" >&6
25765 # Extract the first word of "SetFile", so it can be a program name with args.
25766 set dummy SetFile
; ac_word
=$2
25767 echo "$as_me:$LINENO: checking for $ac_word" >&5
25768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25769 if test "${ac_cv_prog_SETFILE+set}" = set; then
25770 echo $ECHO_N "(cached) $ECHO_C" >&6
25772 if test -n "$SETFILE"; then
25773 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25776 for as_dir
in $PATH
25779 test -z "$as_dir" && as_dir
=.
25780 for ac_exec_ext
in '' $ac_executable_extensions; do
25781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25782 ac_cv_prog_SETFILE
="SetFile"
25783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25789 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25792 SETFILE
=$ac_cv_prog_SETFILE
25793 if test -n "$SETFILE"; then
25794 echo "$as_me:$LINENO: result: $SETFILE" >&5
25795 echo "${ECHO_T}$SETFILE" >&6
25797 echo "$as_me:$LINENO: result: no" >&5
25798 echo "${ECHO_T}no" >&6
25801 MACOSX_BUNDLE
="bundle"
25802 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25803 MACSETFILE
="\$(SETFILE)"
25804 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25805 elif test "$wxUSE_COCOA" = 1; then
25806 # Extract the first word of "Rez", so it can be a program name with args.
25807 set dummy Rez
; ac_word
=$2
25808 echo "$as_me:$LINENO: checking for $ac_word" >&5
25809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25810 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25811 echo $ECHO_N "(cached) $ECHO_C" >&6
25813 if test -n "$RESCOMP"; then
25814 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25817 for as_dir
in $PATH
25820 test -z "$as_dir" && as_dir
=.
25821 for ac_exec_ext
in '' $ac_executable_extensions; do
25822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25823 ac_cv_prog_RESCOMP
="Rez"
25824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25830 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25833 RESCOMP
=$ac_cv_prog_RESCOMP
25834 if test -n "$RESCOMP"; then
25835 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25836 echo "${ECHO_T}$RESCOMP" >&6
25838 echo "$as_me:$LINENO: result: no" >&5
25839 echo "${ECHO_T}no" >&6
25842 # Extract the first word of "DeRez", so it can be a program name with args.
25843 set dummy DeRez
; ac_word
=$2
25844 echo "$as_me:$LINENO: checking for $ac_word" >&5
25845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25846 if test "${ac_cv_prog_DEREZ+set}" = set; then
25847 echo $ECHO_N "(cached) $ECHO_C" >&6
25849 if test -n "$DEREZ"; then
25850 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25853 for as_dir
in $PATH
25856 test -z "$as_dir" && as_dir
=.
25857 for ac_exec_ext
in '' $ac_executable_extensions; do
25858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25859 ac_cv_prog_DEREZ
="DeRez"
25860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25866 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25869 DEREZ
=$ac_cv_prog_DEREZ
25870 if test -n "$DEREZ"; then
25871 echo "$as_me:$LINENO: result: $DEREZ" >&5
25872 echo "${ECHO_T}$DEREZ" >&6
25874 echo "$as_me:$LINENO: result: no" >&5
25875 echo "${ECHO_T}no" >&6
25878 # Extract the first word of "SetFile", so it can be a program name with args.
25879 set dummy SetFile
; ac_word
=$2
25880 echo "$as_me:$LINENO: checking for $ac_word" >&5
25881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25882 if test "${ac_cv_prog_SETFILE+set}" = set; then
25883 echo $ECHO_N "(cached) $ECHO_C" >&6
25885 if test -n "$SETFILE"; then
25886 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25889 for as_dir
in $PATH
25892 test -z "$as_dir" && as_dir
=.
25893 for ac_exec_ext
in '' $ac_executable_extensions; do
25894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25895 ac_cv_prog_SETFILE
="SetFile"
25896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25902 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25905 SETFILE
=$ac_cv_prog_SETFILE
25906 if test -n "$SETFILE"; then
25907 echo "$as_me:$LINENO: result: $SETFILE" >&5
25908 echo "${ECHO_T}$SETFILE" >&6
25910 echo "$as_me:$LINENO: result: no" >&5
25911 echo "${ECHO_T}no" >&6
25914 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25915 MACSETFILE
="\$(SETFILE)"
25916 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25918 if test "$wxUSE_PM" = 1; then
25919 MACRESCOMP
="emxbind -ep"
25924 echo "$as_me:$LINENO: checking for mode_t" >&5
25925 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25926 if test "${ac_cv_type_mode_t+set}" = set; then
25927 echo $ECHO_N "(cached) $ECHO_C" >&6
25929 cat >conftest.
$ac_ext <<_ACEOF
25930 #line $LINENO "configure"
25933 cat confdefs.h
>>conftest.
$ac_ext
25934 cat >>conftest.
$ac_ext <<_ACEOF
25935 /* end confdefs.h. */
25936 $ac_includes_default
25942 if (sizeof (mode_t))
25948 rm -f conftest.
$ac_objext
25949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25950 (eval $ac_compile) 2>&5
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); } &&
25954 { ac_try
='test -s conftest.$ac_objext'
25955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25956 (eval $ac_try) 2>&5
25958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959 (exit $ac_status); }; }; then
25960 ac_cv_type_mode_t
=yes
25962 echo "$as_me: failed program was:" >&5
25963 sed 's/^/| /' conftest.
$ac_ext >&5
25965 ac_cv_type_mode_t
=no
25967 rm -f conftest.
$ac_objext conftest.
$ac_ext
25969 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25970 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25971 if test $ac_cv_type_mode_t = yes; then
25975 cat >>confdefs.h
<<_ACEOF
25981 echo "$as_me:$LINENO: checking for off_t" >&5
25982 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25983 if test "${ac_cv_type_off_t+set}" = set; then
25984 echo $ECHO_N "(cached) $ECHO_C" >&6
25986 cat >conftest.
$ac_ext <<_ACEOF
25987 #line $LINENO "configure"
25990 cat confdefs.h
>>conftest.
$ac_ext
25991 cat >>conftest.
$ac_ext <<_ACEOF
25992 /* end confdefs.h. */
25993 $ac_includes_default
25999 if (sizeof (off_t))
26005 rm -f conftest.
$ac_objext
26006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26007 (eval $ac_compile) 2>&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } &&
26011 { ac_try
='test -s conftest.$ac_objext'
26012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26013 (eval $ac_try) 2>&5
26015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26016 (exit $ac_status); }; }; then
26017 ac_cv_type_off_t
=yes
26019 echo "$as_me: failed program was:" >&5
26020 sed 's/^/| /' conftest.
$ac_ext >&5
26022 ac_cv_type_off_t
=no
26024 rm -f conftest.
$ac_objext conftest.
$ac_ext
26026 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26027 echo "${ECHO_T}$ac_cv_type_off_t" >&6
26028 if test $ac_cv_type_off_t = yes; then
26032 cat >>confdefs.h
<<_ACEOF
26038 echo "$as_me:$LINENO: checking for pid_t" >&5
26039 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26040 if test "${ac_cv_type_pid_t+set}" = set; then
26041 echo $ECHO_N "(cached) $ECHO_C" >&6
26043 cat >conftest.
$ac_ext <<_ACEOF
26044 #line $LINENO "configure"
26047 cat confdefs.h
>>conftest.
$ac_ext
26048 cat >>conftest.
$ac_ext <<_ACEOF
26049 /* end confdefs.h. */
26050 $ac_includes_default
26056 if (sizeof (pid_t))
26062 rm -f conftest.
$ac_objext
26063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26064 (eval $ac_compile) 2>&5
26066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26067 (exit $ac_status); } &&
26068 { ac_try
='test -s conftest.$ac_objext'
26069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26070 (eval $ac_try) 2>&5
26072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073 (exit $ac_status); }; }; then
26074 ac_cv_type_pid_t
=yes
26076 echo "$as_me: failed program was:" >&5
26077 sed 's/^/| /' conftest.
$ac_ext >&5
26079 ac_cv_type_pid_t
=no
26081 rm -f conftest.
$ac_objext conftest.
$ac_ext
26083 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26084 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26085 if test $ac_cv_type_pid_t = yes; then
26089 cat >>confdefs.h
<<_ACEOF
26095 echo "$as_me:$LINENO: checking for size_t" >&5
26096 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26097 if test "${ac_cv_type_size_t+set}" = set; then
26098 echo $ECHO_N "(cached) $ECHO_C" >&6
26100 cat >conftest.
$ac_ext <<_ACEOF
26101 #line $LINENO "configure"
26104 cat confdefs.h
>>conftest.
$ac_ext
26105 cat >>conftest.
$ac_ext <<_ACEOF
26106 /* end confdefs.h. */
26107 $ac_includes_default
26113 if (sizeof (size_t))
26119 rm -f conftest.
$ac_objext
26120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26121 (eval $ac_compile) 2>&5
26123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124 (exit $ac_status); } &&
26125 { ac_try
='test -s conftest.$ac_objext'
26126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26127 (eval $ac_try) 2>&5
26129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130 (exit $ac_status); }; }; then
26131 ac_cv_type_size_t
=yes
26133 echo "$as_me: failed program was:" >&5
26134 sed 's/^/| /' conftest.
$ac_ext >&5
26136 ac_cv_type_size_t
=no
26138 rm -f conftest.
$ac_objext conftest.
$ac_ext
26140 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26141 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26142 if test $ac_cv_type_size_t = yes; then
26146 cat >>confdefs.h
<<_ACEOF
26147 #define size_t unsigned
26152 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26153 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26154 if test "${ac_cv_type_uid_t+set}" = set; then
26155 echo $ECHO_N "(cached) $ECHO_C" >&6
26157 cat >conftest.
$ac_ext <<_ACEOF
26158 #line $LINENO "configure"
26161 cat confdefs.h
>>conftest.
$ac_ext
26162 cat >>conftest.
$ac_ext <<_ACEOF
26163 /* end confdefs.h. */
26164 #include <sys/types.h>
26167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26168 $EGREP "uid_t" >/dev
/null
2>&1; then
26169 ac_cv_type_uid_t
=yes
26171 ac_cv_type_uid_t
=no
26176 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26177 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26178 if test $ac_cv_type_uid_t = no
; then
26180 cat >>confdefs.h
<<\_ACEOF
26185 cat >>confdefs.h
<<\_ACEOF
26195 ac_cpp
='$CXXCPP $CPPFLAGS'
26196 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26197 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26198 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26200 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26201 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26202 if test "${wx_cv_size_t_is_uint+set}" = set; then
26203 echo $ECHO_N "(cached) $ECHO_C" >&6
26206 cat >conftest.
$ac_ext <<_ACEOF
26207 #line $LINENO "configure"
26210 cat confdefs.h
>>conftest.
$ac_ext
26211 cat >>conftest.
$ac_ext <<_ACEOF
26212 /* end confdefs.h. */
26213 #include <stddef.h>
26220 struct Foo { void foo(size_t); void foo(unsigned int); };
26228 rm -f conftest.
$ac_objext
26229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26230 (eval $ac_compile) 2>&5
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); } &&
26234 { ac_try
='test -s conftest.$ac_objext'
26235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26236 (eval $ac_try) 2>&5
26238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26239 (exit $ac_status); }; }; then
26240 wx_cv_size_t_is_uint
=no
26242 echo "$as_me: failed program was:" >&5
26243 sed 's/^/| /' conftest.
$ac_ext >&5
26245 wx_cv_size_t_is_uint
=yes
26248 rm -f conftest.
$ac_objext conftest.
$ac_ext
26252 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26253 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26255 if test "$wx_cv_size_t_is_uint" = "yes"; then
26256 cat >>confdefs.h
<<\_ACEOF
26257 #define wxSIZE_T_IS_UINT 1
26261 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26262 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26263 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26264 echo $ECHO_N "(cached) $ECHO_C" >&6
26266 cat >conftest.
$ac_ext <<_ACEOF
26267 #line $LINENO "configure"
26270 cat confdefs.h
>>conftest.
$ac_ext
26271 cat >>conftest.
$ac_ext <<_ACEOF
26272 /* end confdefs.h. */
26273 #include <stddef.h>
26280 struct Foo { void foo(size_t); void foo(unsigned long); };
26288 rm -f conftest.
$ac_objext
26289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26290 (eval $ac_compile) 2>&5
26292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26293 (exit $ac_status); } &&
26294 { ac_try
='test -s conftest.$ac_objext'
26295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26296 (eval $ac_try) 2>&5
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); }; }; then
26300 wx_cv_size_t_is_ulong
=no
26302 echo "$as_me: failed program was:" >&5
26303 sed 's/^/| /' conftest.
$ac_ext >&5
26305 wx_cv_size_t_is_ulong
=yes
26308 rm -f conftest.
$ac_objext conftest.
$ac_ext
26311 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26312 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26314 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26315 cat >>confdefs.h
<<\_ACEOF
26316 #define wxSIZE_T_IS_ULONG 1
26323 ac_cpp
='$CPP $CPPFLAGS'
26324 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26325 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26326 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26330 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26331 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26332 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26333 echo $ECHO_N "(cached) $ECHO_C" >&6
26336 cat >conftest.
$ac_ext <<_ACEOF
26337 #line $LINENO "configure"
26340 cat confdefs.h
>>conftest.
$ac_ext
26341 cat >>conftest.
$ac_ext <<_ACEOF
26342 /* end confdefs.h. */
26356 rm -f conftest.
$ac_objext
26357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26358 (eval $ac_compile) 2>&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); } &&
26362 { ac_try
='test -s conftest.$ac_objext'
26363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26364 (eval $ac_try) 2>&5
26366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26367 (exit $ac_status); }; }; then
26369 wx_cv_struct_pw_gecos
=yes
26372 echo "$as_me: failed program was:" >&5
26373 sed 's/^/| /' conftest.
$ac_ext >&5
26376 wx_cv_struct_pw_gecos
=no
26380 rm -f conftest.
$ac_objext conftest.
$ac_ext
26384 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26385 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26387 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26388 cat >>confdefs.h
<<\_ACEOF
26389 #define HAVE_PW_GECOS 1
26395 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26396 cat >>confdefs.h
<<\_ACEOF
26397 #define wxUSE_WCHAR_T 1
26404 for ac_func
in wcslen
26406 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26407 echo "$as_me:$LINENO: checking for $ac_func" >&5
26408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26409 if eval "test \"\${$as_ac_var+set}\" = set"; then
26410 echo $ECHO_N "(cached) $ECHO_C" >&6
26412 cat >conftest.
$ac_ext <<_ACEOF
26413 #line $LINENO "configure"
26416 cat confdefs.h
>>conftest.
$ac_ext
26417 cat >>conftest.
$ac_ext <<_ACEOF
26418 /* end confdefs.h. */
26419 /* System header to define __stub macros and hopefully few prototypes,
26420 which can conflict with char $ac_func (); below.
26421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26422 <limits.h> exists even on freestanding compilers. */
26424 # include <limits.h>
26426 # include <assert.h>
26428 /* Override any gcc2 internal prototype to avoid an error. */
26433 /* We use char because int might match the return type of a gcc2
26434 builtin and then its argument prototype would still apply. */
26436 /* The GNU C library defines this for functions which it implements
26437 to always fail with ENOSYS. Some functions are actually named
26438 something starting with __ and the normal name is an alias. */
26439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26442 char (*f) () = $ac_func;
26451 return f != $ac_func;
26456 rm -f conftest.
$ac_objext conftest
$ac_exeext
26457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26458 (eval $ac_link) 2>&5
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); } &&
26462 { ac_try
='test -s conftest$ac_exeext'
26463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26464 (eval $ac_try) 2>&5
26466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26467 (exit $ac_status); }; }; then
26468 eval "$as_ac_var=yes"
26470 echo "$as_me: failed program was:" >&5
26471 sed 's/^/| /' conftest.
$ac_ext >&5
26473 eval "$as_ac_var=no"
26475 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26479 if test `eval echo '${'$as_ac_var'}'` = yes; then
26480 cat >>confdefs.h
<<_ACEOF
26481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26488 if test "$WCSLEN_FOUND" = 0; then
26489 if test "$TOOLKIT" = "MSW"; then
26490 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26491 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26492 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26493 echo $ECHO_N "(cached) $ECHO_C" >&6
26495 ac_check_lib_save_LIBS
=$LIBS
26496 LIBS
="-lmsvcrt $LIBS"
26497 cat >conftest.
$ac_ext <<_ACEOF
26498 #line $LINENO "configure"
26501 cat confdefs.h
>>conftest.
$ac_ext
26502 cat >>conftest.
$ac_ext <<_ACEOF
26503 /* end confdefs.h. */
26505 /* Override any gcc2 internal prototype to avoid an error. */
26509 /* We use char because int might match the return type of a gcc2
26510 builtin and then its argument prototype would still apply. */
26520 rm -f conftest.
$ac_objext conftest
$ac_exeext
26521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26522 (eval $ac_link) 2>&5
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } &&
26526 { ac_try
='test -s conftest$ac_exeext'
26527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26528 (eval $ac_try) 2>&5
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); }; }; then
26532 ac_cv_lib_msvcrt_wcslen
=yes
26534 echo "$as_me: failed program was:" >&5
26535 sed 's/^/| /' conftest.
$ac_ext >&5
26537 ac_cv_lib_msvcrt_wcslen
=no
26539 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26540 LIBS
=$ac_check_lib_save_LIBS
26542 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26543 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26544 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26549 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26550 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26551 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26552 echo $ECHO_N "(cached) $ECHO_C" >&6
26554 ac_check_lib_save_LIBS
=$LIBS
26556 cat >conftest.
$ac_ext <<_ACEOF
26557 #line $LINENO "configure"
26560 cat confdefs.h
>>conftest.
$ac_ext
26561 cat >>conftest.
$ac_ext <<_ACEOF
26562 /* end confdefs.h. */
26564 /* Override any gcc2 internal prototype to avoid an error. */
26568 /* We use char because int might match the return type of a gcc2
26569 builtin and then its argument prototype would still apply. */
26579 rm -f conftest.
$ac_objext conftest
$ac_exeext
26580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26581 (eval $ac_link) 2>&5
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); } &&
26585 { ac_try
='test -s conftest$ac_exeext'
26586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26587 (eval $ac_try) 2>&5
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); }; }; then
26591 ac_cv_lib_w_wcslen
=yes
26593 echo "$as_me: failed program was:" >&5
26594 sed 's/^/| /' conftest.
$ac_ext >&5
26596 ac_cv_lib_w_wcslen
=no
26598 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26599 LIBS
=$ac_check_lib_save_LIBS
26601 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26602 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26603 if test $ac_cv_lib_w_wcslen = yes; then
26613 if test "$WCSLEN_FOUND" = 1; then
26614 cat >>confdefs.h
<<\_ACEOF
26615 #define HAVE_WCSLEN 1
26621 for ac_func
in wcsrtombs
26623 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26624 echo "$as_me:$LINENO: checking for $ac_func" >&5
26625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26626 if eval "test \"\${$as_ac_var+set}\" = set"; then
26627 echo $ECHO_N "(cached) $ECHO_C" >&6
26629 cat >conftest.
$ac_ext <<_ACEOF
26630 #line $LINENO "configure"
26633 cat confdefs.h
>>conftest.
$ac_ext
26634 cat >>conftest.
$ac_ext <<_ACEOF
26635 /* end confdefs.h. */
26636 /* System header to define __stub macros and hopefully few prototypes,
26637 which can conflict with char $ac_func (); below.
26638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26639 <limits.h> exists even on freestanding compilers. */
26641 # include <limits.h>
26643 # include <assert.h>
26645 /* Override any gcc2 internal prototype to avoid an error. */
26650 /* We use char because int might match the return type of a gcc2
26651 builtin and then its argument prototype would still apply. */
26653 /* The GNU C library defines this for functions which it implements
26654 to always fail with ENOSYS. Some functions are actually named
26655 something starting with __ and the normal name is an alias. */
26656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26659 char (*f) () = $ac_func;
26668 return f != $ac_func;
26673 rm -f conftest.
$ac_objext conftest
$ac_exeext
26674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26675 (eval $ac_link) 2>&5
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); } &&
26679 { ac_try
='test -s conftest$ac_exeext'
26680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26681 (eval $ac_try) 2>&5
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); }; }; then
26685 eval "$as_ac_var=yes"
26687 echo "$as_me: failed program was:" >&5
26688 sed 's/^/| /' conftest.
$ac_ext >&5
26690 eval "$as_ac_var=no"
26692 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26696 if test `eval echo '${'$as_ac_var'}'` = yes; then
26697 cat >>confdefs.h
<<_ACEOF
26698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26705 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26706 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26712 ac_cpp
='$CXXCPP $CPPFLAGS'
26713 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26714 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26715 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26719 for ac_func
in vsnprintf
26721 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26722 echo "$as_me:$LINENO: checking for $ac_func" >&5
26723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26724 if eval "test \"\${$as_ac_var+set}\" = set"; then
26725 echo $ECHO_N "(cached) $ECHO_C" >&6
26727 cat >conftest.
$ac_ext <<_ACEOF
26728 #line $LINENO "configure"
26731 cat confdefs.h
>>conftest.
$ac_ext
26732 cat >>conftest.
$ac_ext <<_ACEOF
26733 /* end confdefs.h. */
26734 /* System header to define __stub macros and hopefully few prototypes,
26735 which can conflict with char $ac_func (); below.
26736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26737 <limits.h> exists even on freestanding compilers. */
26739 # include <limits.h>
26741 # include <assert.h>
26743 /* Override any gcc2 internal prototype to avoid an error. */
26748 /* We use char because int might match the return type of a gcc2
26749 builtin and then its argument prototype would still apply. */
26751 /* The GNU C library defines this for functions which it implements
26752 to always fail with ENOSYS. Some functions are actually named
26753 something starting with __ and the normal name is an alias. */
26754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26757 char (*f) () = $ac_func;
26766 return f != $ac_func;
26771 rm -f conftest.
$ac_objext conftest
$ac_exeext
26772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26773 (eval $ac_link) 2>&5
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); } &&
26777 { ac_try
='test -s conftest$ac_exeext'
26778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26779 (eval $ac_try) 2>&5
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); }; }; then
26783 eval "$as_ac_var=yes"
26785 echo "$as_me: failed program was:" >&5
26786 sed 's/^/| /' conftest.
$ac_ext >&5
26788 eval "$as_ac_var=no"
26790 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26794 if test `eval echo '${'$as_ac_var'}'` = yes; then
26795 cat >>confdefs.h
<<_ACEOF
26796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26803 if test "$ac_cv_func_vsnprintf" = "yes"; then
26804 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26805 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26806 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26807 echo $ECHO_N "(cached) $ECHO_C" >&6
26810 cat >conftest.
$ac_ext <<_ACEOF
26811 #line $LINENO "configure"
26814 cat confdefs.h
>>conftest.
$ac_ext
26815 cat >>conftest.
$ac_ext <<_ACEOF
26816 /* end confdefs.h. */
26819 #include <stdarg.h>
26827 vsnprintf(buf, 10u, "%s", ap);
26833 rm -f conftest.
$ac_objext
26834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26835 (eval $ac_compile) 2>&5
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); } &&
26839 { ac_try
='test -s conftest.$ac_objext'
26840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26841 (eval $ac_try) 2>&5
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); }; }; then
26845 wx_cv_func_vsnprintf_decl
=yes
26847 echo "$as_me: failed program was:" >&5
26848 sed 's/^/| /' conftest.
$ac_ext >&5
26850 wx_cv_func_vsnprintf_decl
=no
26853 rm -f conftest.
$ac_objext conftest.
$ac_ext
26857 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26858 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26860 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26861 cat >>confdefs.h
<<\_ACEOF
26862 #define HAVE_VSNPRINTF_DECL 1
26868 if test "$wxUSE_UNICODE" = yes; then
26872 for ac_func
in fputwc wprintf vswprintf
26874 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26875 echo "$as_me:$LINENO: checking for $ac_func" >&5
26876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26877 if eval "test \"\${$as_ac_var+set}\" = set"; then
26878 echo $ECHO_N "(cached) $ECHO_C" >&6
26880 cat >conftest.
$ac_ext <<_ACEOF
26881 #line $LINENO "configure"
26884 cat confdefs.h
>>conftest.
$ac_ext
26885 cat >>conftest.
$ac_ext <<_ACEOF
26886 /* end confdefs.h. */
26887 /* System header to define __stub macros and hopefully few prototypes,
26888 which can conflict with char $ac_func (); below.
26889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26890 <limits.h> exists even on freestanding compilers. */
26892 # include <limits.h>
26894 # include <assert.h>
26896 /* Override any gcc2 internal prototype to avoid an error. */
26901 /* We use char because int might match the return type of a gcc2
26902 builtin and then its argument prototype would still apply. */
26904 /* The GNU C library defines this for functions which it implements
26905 to always fail with ENOSYS. Some functions are actually named
26906 something starting with __ and the normal name is an alias. */
26907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26910 char (*f) () = $ac_func;
26919 return f != $ac_func;
26924 rm -f conftest.
$ac_objext conftest
$ac_exeext
26925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26926 (eval $ac_link) 2>&5
26928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26929 (exit $ac_status); } &&
26930 { ac_try
='test -s conftest$ac_exeext'
26931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26932 (eval $ac_try) 2>&5
26934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26935 (exit $ac_status); }; }; then
26936 eval "$as_ac_var=yes"
26938 echo "$as_me: failed program was:" >&5
26939 sed 's/^/| /' conftest.
$ac_ext >&5
26941 eval "$as_ac_var=no"
26943 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26947 if test `eval echo '${'$as_ac_var'}'` = yes; then
26948 cat >>confdefs.h
<<_ACEOF
26949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26956 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26957 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26958 cat >conftest.
$ac_ext <<_ACEOF
26959 #line $LINENO "configure"
26962 cat confdefs.h
>>conftest.
$ac_ext
26963 cat >>conftest.
$ac_ext <<_ACEOF
26964 /* end confdefs.h. */
26974 rm -f conftest.
$ac_objext
26975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26976 (eval $ac_compile) 2>&5
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); } &&
26980 { ac_try
='test -s conftest.$ac_objext'
26981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26982 (eval $ac_try) 2>&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); }; }; then
26986 echo "$as_me:$LINENO: result: yes" >&5
26987 echo "${ECHO_T}yes" >&6
26988 cat >>confdefs.h
<<\_ACEOF
26989 #define HAVE__VSNWPRINTF 1
26993 echo "$as_me: failed program was:" >&5
26994 sed 's/^/| /' conftest.
$ac_ext >&5
26996 echo "$as_me:$LINENO: result: no" >&5
26997 echo "${ECHO_T}no" >&6
26999 rm -f conftest.
$ac_objext conftest.
$ac_ext;
27003 ac_cpp
='$CPP $CPPFLAGS'
27004 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27005 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27006 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27011 if test "$TOOLKIT" != "MSW"; then
27017 ac_cpp
='$CXXCPP $CPPFLAGS'
27018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27025 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
27026 if test "${with_libiconv_prefix+set}" = set; then
27027 withval
="$with_libiconv_prefix"
27029 for dir
in `echo "$withval" | tr : ' '`; do
27030 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
27031 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
27036 echo "$as_me:$LINENO: checking for iconv" >&5
27037 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27038 if test "${am_cv_func_iconv+set}" = set; then
27039 echo $ECHO_N "(cached) $ECHO_C" >&6
27042 am_cv_func_iconv
="no, consider installing GNU libiconv"
27044 cat >conftest.
$ac_ext <<_ACEOF
27045 #line $LINENO "configure"
27048 cat confdefs.h
>>conftest.
$ac_ext
27049 cat >>conftest.
$ac_ext <<_ACEOF
27050 /* end confdefs.h. */
27051 #include <stdlib.h>
27056 iconv_t cd = iconv_open("","");
27057 iconv(cd,NULL,NULL,NULL,NULL);
27063 rm -f conftest.
$ac_objext conftest
$ac_exeext
27064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27065 (eval $ac_link) 2>&5
27067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27068 (exit $ac_status); } &&
27069 { ac_try
='test -s conftest$ac_exeext'
27070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27071 (eval $ac_try) 2>&5
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); }; }; then
27075 am_cv_func_iconv
=yes
27077 echo "$as_me: failed program was:" >&5
27078 sed 's/^/| /' conftest.
$ac_ext >&5
27081 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27082 if test "$am_cv_func_iconv" != yes; then
27083 am_save_LIBS
="$LIBS"
27084 LIBS
="$LIBS -liconv"
27085 cat >conftest.
$ac_ext <<_ACEOF
27086 #line $LINENO "configure"
27089 cat confdefs.h
>>conftest.
$ac_ext
27090 cat >>conftest.
$ac_ext <<_ACEOF
27091 /* end confdefs.h. */
27092 #include <stdlib.h>
27097 iconv_t cd = iconv_open("","");
27098 iconv(cd,NULL,NULL,NULL,NULL);
27104 rm -f conftest.
$ac_objext conftest
$ac_exeext
27105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27106 (eval $ac_link) 2>&5
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); } &&
27110 { ac_try
='test -s conftest$ac_exeext'
27111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27112 (eval $ac_try) 2>&5
27114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 (exit $ac_status); }; }; then
27116 am_cv_lib_iconv
=yes
27117 am_cv_func_iconv
=yes
27119 echo "$as_me: failed program was:" >&5
27120 sed 's/^/| /' conftest.
$ac_ext >&5
27123 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27124 LIBS
="$am_save_LIBS"
27128 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27129 echo "${ECHO_T}$am_cv_func_iconv" >&6
27130 if test "$am_cv_func_iconv" = yes; then
27132 cat >>confdefs.h
<<\_ACEOF
27133 #define HAVE_ICONV 1
27136 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27137 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27138 if test "${wx_cv_func_iconv_const+set}" = set; then
27139 echo $ECHO_N "(cached) $ECHO_C" >&6
27141 cat >conftest.
$ac_ext <<_ACEOF
27142 #line $LINENO "configure"
27145 cat confdefs.h
>>conftest.
$ac_ext
27146 cat >>conftest.
$ac_ext <<_ACEOF
27147 /* end confdefs.h. */
27149 #include <stdlib.h>
27155 #if defined(__STDC__) || defined(__cplusplus)
27156 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27169 rm -f conftest.
$ac_objext
27170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27171 (eval $ac_compile) 2>&5
27173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27174 (exit $ac_status); } &&
27175 { ac_try
='test -s conftest.$ac_objext'
27176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27177 (eval $ac_try) 2>&5
27179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27180 (exit $ac_status); }; }; then
27181 wx_cv_func_iconv_const
="no"
27183 echo "$as_me: failed program was:" >&5
27184 sed 's/^/| /' conftest.
$ac_ext >&5
27186 wx_cv_func_iconv_const
="yes"
27189 rm -f conftest.
$ac_objext conftest.
$ac_ext
27192 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27193 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27196 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27197 iconv_const
="const"
27201 cat >>confdefs.h
<<_ACEOF
27202 #define ICONV_CONST $iconv_const
27207 if test "$am_cv_lib_iconv" = yes; then
27212 LIBS
="$LIBICONV $LIBS"
27214 ac_cpp
='$CPP $CPPFLAGS'
27215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27220 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27222 for ac_func
in sigaction
27224 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27225 echo "$as_me:$LINENO: checking for $ac_func" >&5
27226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27227 if eval "test \"\${$as_ac_var+set}\" = set"; then
27228 echo $ECHO_N "(cached) $ECHO_C" >&6
27230 cat >conftest.
$ac_ext <<_ACEOF
27231 #line $LINENO "configure"
27234 cat confdefs.h
>>conftest.
$ac_ext
27235 cat >>conftest.
$ac_ext <<_ACEOF
27236 /* end confdefs.h. */
27237 /* System header to define __stub macros and hopefully few prototypes,
27238 which can conflict with char $ac_func (); below.
27239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27240 <limits.h> exists even on freestanding compilers. */
27242 # include <limits.h>
27244 # include <assert.h>
27246 /* Override any gcc2 internal prototype to avoid an error. */
27251 /* We use char because int might match the return type of a gcc2
27252 builtin and then its argument prototype would still apply. */
27254 /* The GNU C library defines this for functions which it implements
27255 to always fail with ENOSYS. Some functions are actually named
27256 something starting with __ and the normal name is an alias. */
27257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27260 char (*f) () = $ac_func;
27269 return f != $ac_func;
27274 rm -f conftest.
$ac_objext conftest
$ac_exeext
27275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27276 (eval $ac_link) 2>&5
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); } &&
27280 { ac_try
='test -s conftest$ac_exeext'
27281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27282 (eval $ac_try) 2>&5
27284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27285 (exit $ac_status); }; }; then
27286 eval "$as_ac_var=yes"
27288 echo "$as_me: failed program was:" >&5
27289 sed 's/^/| /' conftest.
$ac_ext >&5
27291 eval "$as_ac_var=no"
27293 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27297 if test `eval echo '${'$as_ac_var'}'` = yes; then
27298 cat >>confdefs.h
<<_ACEOF
27299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27306 if test "$ac_cv_func_sigaction" = "no"; then
27307 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27308 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27309 wxUSE_ON_FATAL_EXCEPTION
=no
27312 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27316 ac_cpp
='$CXXCPP $CPPFLAGS'
27317 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27318 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27319 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27322 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27323 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27324 if test "${wx_cv_type_sa_handler+set}" = set; then
27325 echo $ECHO_N "(cached) $ECHO_C" >&6
27328 cat >conftest.
$ac_ext <<_ACEOF
27329 #line $LINENO "configure"
27332 cat confdefs.h
>>conftest.
$ac_ext
27333 cat >>conftest.
$ac_ext <<_ACEOF
27334 /* end confdefs.h. */
27335 #include <signal.h>
27340 extern void testSigHandler(int);
27342 struct sigaction sa;
27343 sa.sa_handler = testSigHandler;
27349 rm -f conftest.
$ac_objext
27350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27351 (eval $ac_compile) 2>&5
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } &&
27355 { ac_try
='test -s conftest.$ac_objext'
27356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27357 (eval $ac_try) 2>&5
27359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360 (exit $ac_status); }; }; then
27362 wx_cv_type_sa_handler
=int
27365 echo "$as_me: failed program was:" >&5
27366 sed 's/^/| /' conftest.
$ac_ext >&5
27369 wx_cv_type_sa_handler
=void
27372 rm -f conftest.
$ac_objext conftest.
$ac_ext
27375 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27376 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27379 ac_cpp
='$CPP $CPPFLAGS'
27380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27385 cat >>confdefs.h
<<_ACEOF
27386 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27394 for ac_func
in mkstemp mktemp
27396 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27397 echo "$as_me:$LINENO: checking for $ac_func" >&5
27398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27399 if eval "test \"\${$as_ac_var+set}\" = set"; then
27400 echo $ECHO_N "(cached) $ECHO_C" >&6
27402 cat >conftest.
$ac_ext <<_ACEOF
27403 #line $LINENO "configure"
27406 cat confdefs.h
>>conftest.
$ac_ext
27407 cat >>conftest.
$ac_ext <<_ACEOF
27408 /* end confdefs.h. */
27409 /* System header to define __stub macros and hopefully few prototypes,
27410 which can conflict with char $ac_func (); below.
27411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27412 <limits.h> exists even on freestanding compilers. */
27414 # include <limits.h>
27416 # include <assert.h>
27418 /* Override any gcc2 internal prototype to avoid an error. */
27423 /* We use char because int might match the return type of a gcc2
27424 builtin and then its argument prototype would still apply. */
27426 /* The GNU C library defines this for functions which it implements
27427 to always fail with ENOSYS. Some functions are actually named
27428 something starting with __ and the normal name is an alias. */
27429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27432 char (*f) () = $ac_func;
27441 return f != $ac_func;
27446 rm -f conftest.
$ac_objext conftest
$ac_exeext
27447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27448 (eval $ac_link) 2>&5
27450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451 (exit $ac_status); } &&
27452 { ac_try
='test -s conftest$ac_exeext'
27453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27454 (eval $ac_try) 2>&5
27456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27457 (exit $ac_status); }; }; then
27458 eval "$as_ac_var=yes"
27460 echo "$as_me: failed program was:" >&5
27461 sed 's/^/| /' conftest.
$ac_ext >&5
27463 eval "$as_ac_var=no"
27465 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27469 if test `eval echo '${'$as_ac_var'}'` = yes; then
27470 cat >>confdefs.h
<<_ACEOF
27471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27478 echo "$as_me:$LINENO: checking for statfs" >&5
27479 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27480 if test "${wx_cv_func_statfs+set}" = set; then
27481 echo $ECHO_N "(cached) $ECHO_C" >&6
27483 cat >conftest.
$ac_ext <<_ACEOF
27484 #line $LINENO "configure"
27487 cat confdefs.h
>>conftest.
$ac_ext
27488 cat >>conftest.
$ac_ext <<_ACEOF
27489 /* end confdefs.h. */
27491 #if defined(__BSD__)
27492 #include <sys/param.h>
27493 #include <sys/mount.h>
27495 #include <sys/vfs.h>
27513 rm -f conftest.
$ac_objext
27514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27515 (eval $ac_compile) 2>&5
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); } &&
27519 { ac_try
='test -s conftest.$ac_objext'
27520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27521 (eval $ac_try) 2>&5
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); }; }; then
27526 wx_cv_func_statfs
=yes
27529 echo "$as_me: failed program was:" >&5
27530 sed 's/^/| /' conftest.
$ac_ext >&5
27533 wx_cv_func_statfs
=no
27537 rm -f conftest.
$ac_objext conftest.
$ac_ext
27540 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27541 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27543 if test "$wx_cv_func_statfs" = "yes"; then
27544 wx_cv_type_statvfs_t
="struct statfs"
27545 cat >>confdefs.h
<<\_ACEOF
27546 #define HAVE_STATFS 1
27550 echo "$as_me:$LINENO: checking for statvfs" >&5
27551 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27552 if test "${wx_cv_func_statvfs+set}" = set; then
27553 echo $ECHO_N "(cached) $ECHO_C" >&6
27555 cat >conftest.
$ac_ext <<_ACEOF
27556 #line $LINENO "configure"
27559 cat confdefs.h
>>conftest.
$ac_ext
27560 cat >>conftest.
$ac_ext <<_ACEOF
27561 /* end confdefs.h. */
27563 #include <stddef.h>
27564 #include <sys/statvfs.h>
27570 statvfs("/", NULL);
27576 rm -f conftest.
$ac_objext
27577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27578 (eval $ac_compile) 2>&5
27580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27581 (exit $ac_status); } &&
27582 { ac_try
='test -s conftest.$ac_objext'
27583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27584 (eval $ac_try) 2>&5
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); }; }; then
27588 wx_cv_func_statvfs
=yes
27590 echo "$as_me: failed program was:" >&5
27591 sed 's/^/| /' conftest.
$ac_ext >&5
27593 wx_cv_func_statvfs
=no
27596 rm -f conftest.
$ac_objext conftest.
$ac_ext
27599 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27600 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27602 if test "$wx_cv_func_statvfs" = "yes"; then
27606 ac_cpp
='$CXXCPP $CPPFLAGS'
27607 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27608 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27609 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27612 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27613 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27614 if test "${wx_cv_type_statvfs_t+set}" = set; then
27615 echo $ECHO_N "(cached) $ECHO_C" >&6
27617 cat >conftest.
$ac_ext <<_ACEOF
27618 #line $LINENO "configure"
27621 cat confdefs.h
>>conftest.
$ac_ext
27622 cat >>conftest.
$ac_ext <<_ACEOF
27623 /* end confdefs.h. */
27625 #include <sys/statvfs.h>
27642 rm -f conftest.
$ac_objext
27643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27644 (eval $ac_compile) 2>&5
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); } &&
27648 { ac_try
='test -s conftest.$ac_objext'
27649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27650 (eval $ac_try) 2>&5
27652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653 (exit $ac_status); }; }; then
27654 wx_cv_type_statvfs_t
=statvfs_t
27656 echo "$as_me: failed program was:" >&5
27657 sed 's/^/| /' conftest.
$ac_ext >&5
27660 cat >conftest.
$ac_ext <<_ACEOF
27661 #line $LINENO "configure"
27664 cat confdefs.h
>>conftest.
$ac_ext
27665 cat >>conftest.
$ac_ext <<_ACEOF
27666 /* end confdefs.h. */
27668 #include <sys/statvfs.h>
27685 rm -f conftest.
$ac_objext
27686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27687 (eval $ac_compile) 2>&5
27689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27690 (exit $ac_status); } &&
27691 { ac_try
='test -s conftest.$ac_objext'
27692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27693 (eval $ac_try) 2>&5
27695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27696 (exit $ac_status); }; }; then
27697 wx_cv_type_statvfs_t
="struct statvfs"
27699 echo "$as_me: failed program was:" >&5
27700 sed 's/^/| /' conftest.
$ac_ext >&5
27702 wx_cv_type_statvfs_t
="unknown"
27705 rm -f conftest.
$ac_objext conftest.
$ac_ext
27709 rm -f conftest.
$ac_objext conftest.
$ac_ext
27712 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27713 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27716 ac_cpp
='$CPP $CPPFLAGS'
27717 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27718 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27719 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27722 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27723 cat >>confdefs.h
<<\_ACEOF
27724 #define HAVE_STATVFS 1
27729 wx_cv_type_statvfs_t
="unknown"
27733 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27734 cat >>confdefs.h
<<_ACEOF
27735 #define WX_STATFS_T $wx_cv_type_statvfs_t
27739 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27740 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27743 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27746 for ac_func
in fcntl flock
27748 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27749 echo "$as_me:$LINENO: checking for $ac_func" >&5
27750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27751 if eval "test \"\${$as_ac_var+set}\" = set"; then
27752 echo $ECHO_N "(cached) $ECHO_C" >&6
27754 cat >conftest.
$ac_ext <<_ACEOF
27755 #line $LINENO "configure"
27758 cat confdefs.h
>>conftest.
$ac_ext
27759 cat >>conftest.
$ac_ext <<_ACEOF
27760 /* end confdefs.h. */
27761 /* System header to define __stub macros and hopefully few prototypes,
27762 which can conflict with char $ac_func (); below.
27763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27764 <limits.h> exists even on freestanding compilers. */
27766 # include <limits.h>
27768 # include <assert.h>
27770 /* Override any gcc2 internal prototype to avoid an error. */
27775 /* We use char because int might match the return type of a gcc2
27776 builtin and then its argument prototype would still apply. */
27778 /* The GNU C library defines this for functions which it implements
27779 to always fail with ENOSYS. Some functions are actually named
27780 something starting with __ and the normal name is an alias. */
27781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27784 char (*f) () = $ac_func;
27793 return f != $ac_func;
27798 rm -f conftest.
$ac_objext conftest
$ac_exeext
27799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27800 (eval $ac_link) 2>&5
27802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27803 (exit $ac_status); } &&
27804 { ac_try
='test -s conftest$ac_exeext'
27805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27806 (eval $ac_try) 2>&5
27808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27809 (exit $ac_status); }; }; then
27810 eval "$as_ac_var=yes"
27812 echo "$as_me: failed program was:" >&5
27813 sed 's/^/| /' conftest.
$ac_ext >&5
27815 eval "$as_ac_var=no"
27817 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27821 if test `eval echo '${'$as_ac_var'}'` = yes; then
27822 cat >>confdefs.h
<<_ACEOF
27823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27830 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27831 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27832 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27833 wxUSE_SNGLINST_CHECKER
=no
27838 for ac_func
in timegm
27840 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27841 echo "$as_me:$LINENO: checking for $ac_func" >&5
27842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27843 if eval "test \"\${$as_ac_var+set}\" = set"; then
27844 echo $ECHO_N "(cached) $ECHO_C" >&6
27846 cat >conftest.
$ac_ext <<_ACEOF
27847 #line $LINENO "configure"
27850 cat confdefs.h
>>conftest.
$ac_ext
27851 cat >>conftest.
$ac_ext <<_ACEOF
27852 /* end confdefs.h. */
27853 /* System header to define __stub macros and hopefully few prototypes,
27854 which can conflict with char $ac_func (); below.
27855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27856 <limits.h> exists even on freestanding compilers. */
27858 # include <limits.h>
27860 # include <assert.h>
27862 /* Override any gcc2 internal prototype to avoid an error. */
27867 /* We use char because int might match the return type of a gcc2
27868 builtin and then its argument prototype would still apply. */
27870 /* The GNU C library defines this for functions which it implements
27871 to always fail with ENOSYS. Some functions are actually named
27872 something starting with __ and the normal name is an alias. */
27873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27876 char (*f) () = $ac_func;
27885 return f != $ac_func;
27890 rm -f conftest.
$ac_objext conftest
$ac_exeext
27891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27892 (eval $ac_link) 2>&5
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); } &&
27896 { ac_try
='test -s conftest$ac_exeext'
27897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27898 (eval $ac_try) 2>&5
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); }; }; then
27902 eval "$as_ac_var=yes"
27904 echo "$as_me: failed program was:" >&5
27905 sed 's/^/| /' conftest.
$ac_ext >&5
27907 eval "$as_ac_var=no"
27909 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27913 if test `eval echo '${'$as_ac_var'}'` = yes; then
27914 cat >>confdefs.h
<<_ACEOF
27915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27924 for ac_func
in putenv setenv
27926 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27927 echo "$as_me:$LINENO: checking for $ac_func" >&5
27928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27929 if eval "test \"\${$as_ac_var+set}\" = set"; then
27930 echo $ECHO_N "(cached) $ECHO_C" >&6
27932 cat >conftest.
$ac_ext <<_ACEOF
27933 #line $LINENO "configure"
27936 cat confdefs.h
>>conftest.
$ac_ext
27937 cat >>conftest.
$ac_ext <<_ACEOF
27938 /* end confdefs.h. */
27939 /* System header to define __stub macros and hopefully few prototypes,
27940 which can conflict with char $ac_func (); below.
27941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27942 <limits.h> exists even on freestanding compilers. */
27944 # include <limits.h>
27946 # include <assert.h>
27948 /* Override any gcc2 internal prototype to avoid an error. */
27953 /* We use char because int might match the return type of a gcc2
27954 builtin and then its argument prototype would still apply. */
27956 /* The GNU C library defines this for functions which it implements
27957 to always fail with ENOSYS. Some functions are actually named
27958 something starting with __ and the normal name is an alias. */
27959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27962 char (*f) () = $ac_func;
27971 return f != $ac_func;
27976 rm -f conftest.
$ac_objext conftest
$ac_exeext
27977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27978 (eval $ac_link) 2>&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); } &&
27982 { ac_try
='test -s conftest$ac_exeext'
27983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27984 (eval $ac_try) 2>&5
27986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27987 (exit $ac_status); }; }; then
27988 eval "$as_ac_var=yes"
27990 echo "$as_me: failed program was:" >&5
27991 sed 's/^/| /' conftest.
$ac_ext >&5
27993 eval "$as_ac_var=no"
27995 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27999 if test `eval echo '${'$as_ac_var'}'` = yes; then
28000 cat >>confdefs.h
<<_ACEOF
28001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28008 HAVE_SOME_SLEEP_FUNC
=0
28009 if test "$USE_BEOS" = 1; then
28010 cat >>confdefs.h
<<\_ACEOF
28011 #define HAVE_SLEEP 1
28014 HAVE_SOME_SLEEP_FUNC
=1
28017 if test "$USE_DARWIN" = 1; then
28018 cat >>confdefs.h
<<\_ACEOF
28019 #define HAVE_USLEEP 1
28022 HAVE_SOME_SLEEP_FUNC
=1
28025 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
28028 for ac_func
in nanosleep
28030 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28031 echo "$as_me:$LINENO: checking for $ac_func" >&5
28032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28033 if eval "test \"\${$as_ac_var+set}\" = set"; then
28034 echo $ECHO_N "(cached) $ECHO_C" >&6
28036 cat >conftest.
$ac_ext <<_ACEOF
28037 #line $LINENO "configure"
28040 cat confdefs.h
>>conftest.
$ac_ext
28041 cat >>conftest.
$ac_ext <<_ACEOF
28042 /* end confdefs.h. */
28043 /* System header to define __stub macros and hopefully few prototypes,
28044 which can conflict with char $ac_func (); below.
28045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28046 <limits.h> exists even on freestanding compilers. */
28048 # include <limits.h>
28050 # include <assert.h>
28052 /* Override any gcc2 internal prototype to avoid an error. */
28057 /* We use char because int might match the return type of a gcc2
28058 builtin and then its argument prototype would still apply. */
28060 /* The GNU C library defines this for functions which it implements
28061 to always fail with ENOSYS. Some functions are actually named
28062 something starting with __ and the normal name is an alias. */
28063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28066 char (*f) () = $ac_func;
28075 return f != $ac_func;
28080 rm -f conftest.
$ac_objext conftest
$ac_exeext
28081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28082 (eval $ac_link) 2>&5
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); } &&
28086 { ac_try
='test -s conftest$ac_exeext'
28087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28088 (eval $ac_try) 2>&5
28090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28091 (exit $ac_status); }; }; then
28092 eval "$as_ac_var=yes"
28094 echo "$as_me: failed program was:" >&5
28095 sed 's/^/| /' conftest.
$ac_ext >&5
28097 eval "$as_ac_var=no"
28099 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28103 if test `eval echo '${'$as_ac_var'}'` = yes; then
28104 cat >>confdefs.h
<<_ACEOF
28105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28107 cat >>confdefs.h
<<\_ACEOF
28108 #define HAVE_NANOSLEEP 1
28113 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28114 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28115 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28116 echo $ECHO_N "(cached) $ECHO_C" >&6
28118 ac_check_lib_save_LIBS
=$LIBS
28119 LIBS
="-lposix4 $LIBS"
28120 cat >conftest.
$ac_ext <<_ACEOF
28121 #line $LINENO "configure"
28124 cat confdefs.h
>>conftest.
$ac_ext
28125 cat >>conftest.
$ac_ext <<_ACEOF
28126 /* end confdefs.h. */
28128 /* Override any gcc2 internal prototype to avoid an error. */
28132 /* We use char because int might match the return type of a gcc2
28133 builtin and then its argument prototype would still apply. */
28143 rm -f conftest.
$ac_objext conftest
$ac_exeext
28144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28145 (eval $ac_link) 2>&5
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); } &&
28149 { ac_try
='test -s conftest$ac_exeext'
28150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28151 (eval $ac_try) 2>&5
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); }; }; then
28155 ac_cv_lib_posix4_nanosleep
=yes
28157 echo "$as_me: failed program was:" >&5
28158 sed 's/^/| /' conftest.
$ac_ext >&5
28160 ac_cv_lib_posix4_nanosleep
=no
28162 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28163 LIBS
=$ac_check_lib_save_LIBS
28165 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28166 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28167 if test $ac_cv_lib_posix4_nanosleep = yes; then
28169 cat >>confdefs.h
<<\_ACEOF
28170 #define HAVE_NANOSLEEP 1
28173 POSIX4_LINK
=" -lposix4"
28178 for ac_func
in usleep
28180 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28181 echo "$as_me:$LINENO: checking for $ac_func" >&5
28182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28183 if eval "test \"\${$as_ac_var+set}\" = set"; then
28184 echo $ECHO_N "(cached) $ECHO_C" >&6
28186 cat >conftest.
$ac_ext <<_ACEOF
28187 #line $LINENO "configure"
28190 cat confdefs.h
>>conftest.
$ac_ext
28191 cat >>conftest.
$ac_ext <<_ACEOF
28192 /* end confdefs.h. */
28193 /* System header to define __stub macros and hopefully few prototypes,
28194 which can conflict with char $ac_func (); below.
28195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28196 <limits.h> exists even on freestanding compilers. */
28198 # include <limits.h>
28200 # include <assert.h>
28202 /* Override any gcc2 internal prototype to avoid an error. */
28207 /* We use char because int might match the return type of a gcc2
28208 builtin and then its argument prototype would still apply. */
28210 /* The GNU C library defines this for functions which it implements
28211 to always fail with ENOSYS. Some functions are actually named
28212 something starting with __ and the normal name is an alias. */
28213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28216 char (*f) () = $ac_func;
28225 return f != $ac_func;
28230 rm -f conftest.
$ac_objext conftest
$ac_exeext
28231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28232 (eval $ac_link) 2>&5
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); } &&
28236 { ac_try
='test -s conftest$ac_exeext'
28237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28238 (eval $ac_try) 2>&5
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); }; }; then
28242 eval "$as_ac_var=yes"
28244 echo "$as_me: failed program was:" >&5
28245 sed 's/^/| /' conftest.
$ac_ext >&5
28247 eval "$as_ac_var=no"
28249 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28253 if test `eval echo '${'$as_ac_var'}'` = yes; then
28254 cat >>confdefs.h
<<_ACEOF
28255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28257 cat >>confdefs.h
<<\_ACEOF
28258 #define HAVE_USLEEP 1
28262 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28263 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28281 for ac_func
in uname gethostname
28283 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28284 echo "$as_me:$LINENO: checking for $ac_func" >&5
28285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28286 if eval "test \"\${$as_ac_var+set}\" = set"; then
28287 echo $ECHO_N "(cached) $ECHO_C" >&6
28289 cat >conftest.
$ac_ext <<_ACEOF
28290 #line $LINENO "configure"
28293 cat confdefs.h
>>conftest.
$ac_ext
28294 cat >>conftest.
$ac_ext <<_ACEOF
28295 /* end confdefs.h. */
28296 /* System header to define __stub macros and hopefully few prototypes,
28297 which can conflict with char $ac_func (); below.
28298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28299 <limits.h> exists even on freestanding compilers. */
28301 # include <limits.h>
28303 # include <assert.h>
28305 /* Override any gcc2 internal prototype to avoid an error. */
28310 /* We use char because int might match the return type of a gcc2
28311 builtin and then its argument prototype would still apply. */
28313 /* The GNU C library defines this for functions which it implements
28314 to always fail with ENOSYS. Some functions are actually named
28315 something starting with __ and the normal name is an alias. */
28316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28319 char (*f) () = $ac_func;
28328 return f != $ac_func;
28333 rm -f conftest.
$ac_objext conftest
$ac_exeext
28334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28335 (eval $ac_link) 2>&5
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); } &&
28339 { ac_try
='test -s conftest$ac_exeext'
28340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28341 (eval $ac_try) 2>&5
28343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344 (exit $ac_status); }; }; then
28345 eval "$as_ac_var=yes"
28347 echo "$as_me: failed program was:" >&5
28348 sed 's/^/| /' conftest.
$ac_ext >&5
28350 eval "$as_ac_var=no"
28352 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28356 if test `eval echo '${'$as_ac_var'}'` = yes; then
28357 cat >>confdefs.h
<<_ACEOF
28358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28368 ac_cpp
='$CXXCPP $CPPFLAGS'
28369 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28370 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28371 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28375 for ac_func
in strtok_r
28377 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28378 echo "$as_me:$LINENO: checking for $ac_func" >&5
28379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28380 if eval "test \"\${$as_ac_var+set}\" = set"; then
28381 echo $ECHO_N "(cached) $ECHO_C" >&6
28383 cat >conftest.
$ac_ext <<_ACEOF
28384 #line $LINENO "configure"
28387 cat confdefs.h
>>conftest.
$ac_ext
28388 cat >>conftest.
$ac_ext <<_ACEOF
28389 /* end confdefs.h. */
28390 /* System header to define __stub macros and hopefully few prototypes,
28391 which can conflict with char $ac_func (); below.
28392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28393 <limits.h> exists even on freestanding compilers. */
28395 # include <limits.h>
28397 # include <assert.h>
28399 /* Override any gcc2 internal prototype to avoid an error. */
28404 /* We use char because int might match the return type of a gcc2
28405 builtin and then its argument prototype would still apply. */
28407 /* The GNU C library defines this for functions which it implements
28408 to always fail with ENOSYS. Some functions are actually named
28409 something starting with __ and the normal name is an alias. */
28410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28413 char (*f) () = $ac_func;
28422 return f != $ac_func;
28427 rm -f conftest.
$ac_objext conftest
$ac_exeext
28428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28429 (eval $ac_link) 2>&5
28431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28432 (exit $ac_status); } &&
28433 { ac_try
='test -s conftest$ac_exeext'
28434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28435 (eval $ac_try) 2>&5
28437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28438 (exit $ac_status); }; }; then
28439 eval "$as_ac_var=yes"
28441 echo "$as_me: failed program was:" >&5
28442 sed 's/^/| /' conftest.
$ac_ext >&5
28444 eval "$as_ac_var=no"
28446 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28450 if test `eval echo '${'$as_ac_var'}'` = yes; then
28451 cat >>confdefs.h
<<_ACEOF
28452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28460 ac_cpp
='$CPP $CPPFLAGS'
28461 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28462 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28463 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28468 for ac_func
in inet_addr
28470 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28471 echo "$as_me:$LINENO: checking for $ac_func" >&5
28472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28473 if eval "test \"\${$as_ac_var+set}\" = set"; then
28474 echo $ECHO_N "(cached) $ECHO_C" >&6
28476 cat >conftest.
$ac_ext <<_ACEOF
28477 #line $LINENO "configure"
28480 cat confdefs.h
>>conftest.
$ac_ext
28481 cat >>conftest.
$ac_ext <<_ACEOF
28482 /* end confdefs.h. */
28483 /* System header to define __stub macros and hopefully few prototypes,
28484 which can conflict with char $ac_func (); below.
28485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28486 <limits.h> exists even on freestanding compilers. */
28488 # include <limits.h>
28490 # include <assert.h>
28492 /* Override any gcc2 internal prototype to avoid an error. */
28497 /* We use char because int might match the return type of a gcc2
28498 builtin and then its argument prototype would still apply. */
28500 /* The GNU C library defines this for functions which it implements
28501 to always fail with ENOSYS. Some functions are actually named
28502 something starting with __ and the normal name is an alias. */
28503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28506 char (*f) () = $ac_func;
28515 return f != $ac_func;
28520 rm -f conftest.
$ac_objext conftest
$ac_exeext
28521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28522 (eval $ac_link) 2>&5
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); } &&
28526 { ac_try
='test -s conftest$ac_exeext'
28527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28528 (eval $ac_try) 2>&5
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); }; }; then
28532 eval "$as_ac_var=yes"
28534 echo "$as_me: failed program was:" >&5
28535 sed 's/^/| /' conftest.
$ac_ext >&5
28537 eval "$as_ac_var=no"
28539 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28543 if test `eval echo '${'$as_ac_var'}'` = yes; then
28544 cat >>confdefs.h
<<_ACEOF
28545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28547 cat >>confdefs.h
<<\_ACEOF
28548 #define HAVE_INET_ADDR 1
28553 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28554 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28555 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28556 echo $ECHO_N "(cached) $ECHO_C" >&6
28558 ac_check_lib_save_LIBS
=$LIBS
28560 cat >conftest.
$ac_ext <<_ACEOF
28561 #line $LINENO "configure"
28564 cat confdefs.h
>>conftest.
$ac_ext
28565 cat >>conftest.
$ac_ext <<_ACEOF
28566 /* end confdefs.h. */
28568 /* Override any gcc2 internal prototype to avoid an error. */
28572 /* We use char because int might match the return type of a gcc2
28573 builtin and then its argument prototype would still apply. */
28583 rm -f conftest.
$ac_objext conftest
$ac_exeext
28584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28585 (eval $ac_link) 2>&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); } &&
28589 { ac_try
='test -s conftest$ac_exeext'
28590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591 (eval $ac_try) 2>&5
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); }; }; then
28595 ac_cv_lib_nsl_inet_addr
=yes
28597 echo "$as_me: failed program was:" >&5
28598 sed 's/^/| /' conftest.
$ac_ext >&5
28600 ac_cv_lib_nsl_inet_addr
=no
28602 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28603 LIBS
=$ac_check_lib_save_LIBS
28605 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28606 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28607 if test $ac_cv_lib_nsl_inet_addr = yes; then
28611 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28612 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28613 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28614 echo $ECHO_N "(cached) $ECHO_C" >&6
28616 ac_check_lib_save_LIBS
=$LIBS
28617 LIBS
="-lresolv $LIBS"
28618 cat >conftest.
$ac_ext <<_ACEOF
28619 #line $LINENO "configure"
28622 cat confdefs.h
>>conftest.
$ac_ext
28623 cat >>conftest.
$ac_ext <<_ACEOF
28624 /* end confdefs.h. */
28626 /* Override any gcc2 internal prototype to avoid an error. */
28630 /* We use char because int might match the return type of a gcc2
28631 builtin and then its argument prototype would still apply. */
28641 rm -f conftest.
$ac_objext conftest
$ac_exeext
28642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28643 (eval $ac_link) 2>&5
28645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28646 (exit $ac_status); } &&
28647 { ac_try
='test -s conftest$ac_exeext'
28648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28649 (eval $ac_try) 2>&5
28651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28652 (exit $ac_status); }; }; then
28653 ac_cv_lib_resolv_inet_addr
=yes
28655 echo "$as_me: failed program was:" >&5
28656 sed 's/^/| /' conftest.
$ac_ext >&5
28658 ac_cv_lib_resolv_inet_addr
=no
28660 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28661 LIBS
=$ac_check_lib_save_LIBS
28663 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28664 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28665 if test $ac_cv_lib_resolv_inet_addr = yes; then
28669 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28670 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28671 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28672 echo $ECHO_N "(cached) $ECHO_C" >&6
28674 ac_check_lib_save_LIBS
=$LIBS
28675 LIBS
="-lsocket $LIBS"
28676 cat >conftest.
$ac_ext <<_ACEOF
28677 #line $LINENO "configure"
28680 cat confdefs.h
>>conftest.
$ac_ext
28681 cat >>conftest.
$ac_ext <<_ACEOF
28682 /* end confdefs.h. */
28684 /* Override any gcc2 internal prototype to avoid an error. */
28688 /* We use char because int might match the return type of a gcc2
28689 builtin and then its argument prototype would still apply. */
28699 rm -f conftest.
$ac_objext conftest
$ac_exeext
28700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28701 (eval $ac_link) 2>&5
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); } &&
28705 { ac_try
='test -s conftest$ac_exeext'
28706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28707 (eval $ac_try) 2>&5
28709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28710 (exit $ac_status); }; }; then
28711 ac_cv_lib_socket_inet_addr
=yes
28713 echo "$as_me: failed program was:" >&5
28714 sed 's/^/| /' conftest.
$ac_ext >&5
28716 ac_cv_lib_socket_inet_addr
=no
28718 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28719 LIBS
=$ac_check_lib_save_LIBS
28721 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28722 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28723 if test $ac_cv_lib_socket_inet_addr = yes; then
28743 for ac_func
in inet_aton
28745 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28746 echo "$as_me:$LINENO: checking for $ac_func" >&5
28747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28748 if eval "test \"\${$as_ac_var+set}\" = set"; then
28749 echo $ECHO_N "(cached) $ECHO_C" >&6
28751 cat >conftest.
$ac_ext <<_ACEOF
28752 #line $LINENO "configure"
28755 cat confdefs.h
>>conftest.
$ac_ext
28756 cat >>conftest.
$ac_ext <<_ACEOF
28757 /* end confdefs.h. */
28758 /* System header to define __stub macros and hopefully few prototypes,
28759 which can conflict with char $ac_func (); below.
28760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28761 <limits.h> exists even on freestanding compilers. */
28763 # include <limits.h>
28765 # include <assert.h>
28767 /* Override any gcc2 internal prototype to avoid an error. */
28772 /* We use char because int might match the return type of a gcc2
28773 builtin and then its argument prototype would still apply. */
28775 /* The GNU C library defines this for functions which it implements
28776 to always fail with ENOSYS. Some functions are actually named
28777 something starting with __ and the normal name is an alias. */
28778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28781 char (*f) () = $ac_func;
28790 return f != $ac_func;
28795 rm -f conftest.
$ac_objext conftest
$ac_exeext
28796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28797 (eval $ac_link) 2>&5
28799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28800 (exit $ac_status); } &&
28801 { ac_try
='test -s conftest$ac_exeext'
28802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28803 (eval $ac_try) 2>&5
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); }; }; then
28807 eval "$as_ac_var=yes"
28809 echo "$as_me: failed program was:" >&5
28810 sed 's/^/| /' conftest.
$ac_ext >&5
28812 eval "$as_ac_var=no"
28814 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28818 if test `eval echo '${'$as_ac_var'}'` = yes; then
28819 cat >>confdefs.h
<<_ACEOF
28820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28822 cat >>confdefs.h
<<\_ACEOF
28823 #define HAVE_INET_ATON 1
28828 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28829 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28830 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28831 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28832 echo $ECHO_N "(cached) $ECHO_C" >&6
28834 ac_check_lib_save_LIBS
=$LIBS
28835 LIBS
="-l$INET_LINK $LIBS"
28836 cat >conftest.
$ac_ext <<_ACEOF
28837 #line $LINENO "configure"
28840 cat confdefs.h
>>conftest.
$ac_ext
28841 cat >>conftest.
$ac_ext <<_ACEOF
28842 /* end confdefs.h. */
28844 /* Override any gcc2 internal prototype to avoid an error. */
28848 /* We use char because int might match the return type of a gcc2
28849 builtin and then its argument prototype would still apply. */
28859 rm -f conftest.
$ac_objext conftest
$ac_exeext
28860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28861 (eval $ac_link) 2>&5
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); } &&
28865 { ac_try
='test -s conftest$ac_exeext'
28866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28867 (eval $ac_try) 2>&5
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); }; }; then
28871 eval "$as_ac_Lib=yes"
28873 echo "$as_me: failed program was:" >&5
28874 sed 's/^/| /' conftest.
$ac_ext >&5
28876 eval "$as_ac_Lib=no"
28878 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28879 LIBS
=$ac_check_lib_save_LIBS
28881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28882 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28883 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28884 cat >>confdefs.h
<<\_ACEOF
28885 #define HAVE_INET_ATON 1
28895 if test "x$INET_LINK" != "x"; then
28896 cat >>confdefs.h
<<\_ACEOF
28897 #define HAVE_INET_ADDR 1
28900 INET_LINK
=" -l$INET_LINK"
28908 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28909 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28910 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28911 echo $ECHO_N "(cached) $ECHO_C" >&6
28913 ac_check_lib_save_LIBS
=$LIBS
28915 cat >conftest.
$ac_ext <<_ACEOF
28916 #line $LINENO "configure"
28919 cat confdefs.h
>>conftest.
$ac_ext
28920 cat >>conftest.
$ac_ext <<_ACEOF
28921 /* end confdefs.h. */
28923 /* Override any gcc2 internal prototype to avoid an error. */
28927 /* We use char because int might match the return type of a gcc2
28928 builtin and then its argument prototype would still apply. */
28938 rm -f conftest.
$ac_objext conftest
$ac_exeext
28939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28940 (eval $ac_link) 2>&5
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); } &&
28944 { ac_try
='test -s conftest$ac_exeext'
28945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28946 (eval $ac_try) 2>&5
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); }; }; then
28950 ac_cv_lib_esd_esd_close
=yes
28952 echo "$as_me: failed program was:" >&5
28953 sed 's/^/| /' conftest.
$ac_ext >&5
28955 ac_cv_lib_esd_esd_close
=no
28957 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28958 LIBS
=$ac_check_lib_save_LIBS
28960 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28961 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28962 if test $ac_cv_lib_esd_esd_close = yes; then
28965 for ac_header
in esd.h
28967 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28969 echo "$as_me:$LINENO: checking for $ac_header" >&5
28970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28972 echo $ECHO_N "(cached) $ECHO_C" >&6
28974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28977 # Is the header compilable?
28978 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28979 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28980 cat >conftest.
$ac_ext <<_ACEOF
28981 #line $LINENO "configure"
28984 cat confdefs.h
>>conftest.
$ac_ext
28985 cat >>conftest.
$ac_ext <<_ACEOF
28986 /* end confdefs.h. */
28987 $ac_includes_default
28988 #include <$ac_header>
28990 rm -f conftest.
$ac_objext
28991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28992 (eval $ac_compile) 2>&5
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); } &&
28996 { ac_try
='test -s conftest.$ac_objext'
28997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28998 (eval $ac_try) 2>&5
29000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29001 (exit $ac_status); }; }; then
29002 ac_header_compiler
=yes
29004 echo "$as_me: failed program was:" >&5
29005 sed 's/^/| /' conftest.
$ac_ext >&5
29007 ac_header_compiler
=no
29009 rm -f conftest.
$ac_objext conftest.
$ac_ext
29010 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29011 echo "${ECHO_T}$ac_header_compiler" >&6
29013 # Is the header present?
29014 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29015 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29016 cat >conftest.
$ac_ext <<_ACEOF
29017 #line $LINENO "configure"
29020 cat confdefs.h
>>conftest.
$ac_ext
29021 cat >>conftest.
$ac_ext <<_ACEOF
29022 /* end confdefs.h. */
29023 #include <$ac_header>
29025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29026 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29028 grep -v '^ *+' conftest.er1
>conftest.err
29030 cat conftest.err
>&5
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); } >/dev
/null
; then
29033 if test -s conftest.err
; then
29034 ac_cpp_err
=$ac_c_preproc_warn_flag
29041 if test -z "$ac_cpp_err"; then
29042 ac_header_preproc
=yes
29044 echo "$as_me: failed program was:" >&5
29045 sed 's/^/| /' conftest.
$ac_ext >&5
29047 ac_header_preproc
=no
29049 rm -f conftest.err conftest.
$ac_ext
29050 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29051 echo "${ECHO_T}$ac_header_preproc" >&6
29053 # So? What about this header?
29054 case $ac_header_compiler:$ac_header_preproc in
29056 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29057 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29062 ## ------------------------------------ ##
29063 ## Report this to bug-autoconf@gnu.org. ##
29064 ## ------------------------------------ ##
29067 sed "s/^/$as_me: WARNING: /" >&2
29070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29075 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29078 ## ------------------------------------ ##
29079 ## Report this to bug-autoconf@gnu.org. ##
29080 ## ------------------------------------ ##
29083 sed "s/^/$as_me: WARNING: /" >&2
29086 echo "$as_me:$LINENO: checking for $ac_header" >&5
29087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29089 echo $ECHO_N "(cached) $ECHO_C" >&6
29091 eval "$as_ac_Header=$ac_header_preproc"
29093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29098 cat >>confdefs.h
<<_ACEOF
29099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29102 EXTRALIBS_ESD
="-lesd"
29113 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29114 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29115 cat >conftest.
$ac_ext <<_ACEOF
29116 #line $LINENO "configure"
29119 cat confdefs.h
>>conftest.
$ac_ext
29120 cat >>conftest.
$ac_ext <<_ACEOF
29121 /* end confdefs.h. */
29123 #include <linux/cdrom.h>
29126 #include <sys/cdio.h>
29132 struct cdrom_tocentry entry, old_entry;
29137 rm -f conftest.
$ac_objext
29138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29139 (eval $ac_compile) 2>&5
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); } &&
29143 { ac_try
='test -s conftest.$ac_objext'
29144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29145 (eval $ac_try) 2>&5
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); }; }; then
29149 echo "$as_me:$LINENO: result: yes" >&5
29150 echo "${ECHO_T}yes" >&6
29151 cat >>confdefs.h
<<\_ACEOF
29152 #define HAVE_KNOWN_CDROM_INTERFACE 1
29156 echo "$as_me: failed program was:" >&5
29157 sed 's/^/| /' conftest.
$ac_ext >&5
29159 echo "$as_me:$LINENO: result: no" >&5
29160 echo "${ECHO_T}no" >&6
29162 rm -f conftest.
$ac_objext conftest.
$ac_ext
29165 cat >confcache
<<\_ACEOF
29166 # This file is a shell script that caches the results of configure
29167 # tests run on this system so they can be shared between configure
29168 # scripts and configure runs, see configure's option --config-cache.
29169 # It is not useful on other systems. If it contains results you don't
29170 # want to keep, you may remove or edit it.
29172 # config.status only pays attention to the cache file if you give it
29173 # the --recheck option to rerun configure.
29175 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29176 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29177 # following values.
29181 # The following way of writing the cache mishandles newlines in values,
29182 # but we know of no workaround that is simple, portable, and efficient.
29183 # So, don't put newlines in cache variables' values.
29184 # Ultrix sh set writes to stderr and can't be redirected directly,
29185 # and sets the high bit in the cache file unless we assign to the vars.
29188 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29190 # `set' does not quote correctly, so add quotes (double-quote
29191 # substitution turns \\\\ into \\, and sed turns \\ into \).
29194 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29197 # `set' quotes correctly as required by POSIX, so do not add quotes.
29199 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29206 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29208 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29210 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
29211 if test -w $cache_file; then
29212 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29213 cat confcache
>$cache_file
29215 echo "not updating unwritable cache $cache_file"
29222 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29228 if test "$wxUSE_THREADS" = "yes" ; then
29229 if test "$USE_BEOS" = 1; then
29230 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29231 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29236 if test "$wxUSE_THREADS" = "yes" ; then
29239 THREAD_OPTS
="-pthread"
29241 *-*-solaris2* | *-*-sunos4* )
29242 if test "x$GCC" = "xyes"; then
29243 THREAD_OPTS
="-pthreads $THREAD_OPTS"
29245 THREAD_OPTS
="-mt $THREAD_OPTS"
29249 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
29251 *-*-darwin* | *-*-cygwin* )
29255 THREAD_OPTS
="pthreads"
29258 if test "x$GCC" != "xyes"; then
29264 if test "x$GCC" = "xyes"; then
29270 if test "x$GCC" != "xyes"; then
29271 THREAD_OPTS
="-Ethread"
29276 THREAD_OPTS
="$THREAD_OPTS pthread none"
29279 for flag
in $THREAD_OPTS; do
29282 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29283 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29287 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29288 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29289 THREADS_CFLAGS
="$flag"
29293 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29294 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29295 THREADS_LINK
="-l$flag"
29300 save_CFLAGS
="$CFLAGS"
29301 LIBS
="$THREADS_LINK $LIBS"
29302 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
29304 cat >conftest.
$ac_ext <<_ACEOF
29305 #line $LINENO "configure"
29308 cat confdefs.h
>>conftest.
$ac_ext
29309 cat >>conftest.
$ac_ext <<_ACEOF
29310 /* end confdefs.h. */
29311 #include <pthread.h>
29315 pthread_create(0,0,0,0);
29320 rm -f conftest.
$ac_objext conftest
$ac_exeext
29321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29322 (eval $ac_link) 2>&5
29324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29325 (exit $ac_status); } &&
29326 { ac_try
='test -s conftest$ac_exeext'
29327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29328 (eval $ac_try) 2>&5
29330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29331 (exit $ac_status); }; }; then
29334 echo "$as_me: failed program was:" >&5
29335 sed 's/^/| /' conftest.
$ac_ext >&5
29338 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29341 CFLAGS
="$save_CFLAGS"
29343 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29344 echo "${ECHO_T}$THREADS_OK" >&6
29345 if test "x$THREADS_OK" = "xyes"; then
29353 if test "x$THREADS_OK" != "xyes"; then
29355 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29356 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29358 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
29359 LIBS
="$THREADS_LINK $LIBS"
29361 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29362 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29366 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
29367 flag
="-D_THREAD_SAFE"
29370 flag
="-D_THREAD_SAFE"
29373 flag
="-D_REENTRANT"
29374 if test "x$GCC" != "xyes"; then
29375 flag
="$flag -D_RWSTD_MULTI_THREAD"
29378 *solaris
* | alpha
*-osf*)
29379 flag
="-D_REENTRANT"
29382 echo "$as_me:$LINENO: result: ${flag}" >&5
29383 echo "${ECHO_T}${flag}" >&6
29384 if test "x$flag" != xno
; then
29385 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
29388 if test "x$THREADS_CFLAGS" != "x"; then
29389 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
29390 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
29395 if test "$wxUSE_THREADS" = "yes" ; then
29397 for ac_func
in thr_setconcurrency
29399 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29400 echo "$as_me:$LINENO: checking for $ac_func" >&5
29401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29402 if eval "test \"\${$as_ac_var+set}\" = set"; then
29403 echo $ECHO_N "(cached) $ECHO_C" >&6
29405 cat >conftest.
$ac_ext <<_ACEOF
29406 #line $LINENO "configure"
29409 cat confdefs.h
>>conftest.
$ac_ext
29410 cat >>conftest.
$ac_ext <<_ACEOF
29411 /* end confdefs.h. */
29412 /* System header to define __stub macros and hopefully few prototypes,
29413 which can conflict with char $ac_func (); below.
29414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29415 <limits.h> exists even on freestanding compilers. */
29417 # include <limits.h>
29419 # include <assert.h>
29421 /* Override any gcc2 internal prototype to avoid an error. */
29426 /* We use char because int might match the return type of a gcc2
29427 builtin and then its argument prototype would still apply. */
29429 /* The GNU C library defines this for functions which it implements
29430 to always fail with ENOSYS. Some functions are actually named
29431 something starting with __ and the normal name is an alias. */
29432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29435 char (*f) () = $ac_func;
29444 return f != $ac_func;
29449 rm -f conftest.
$ac_objext conftest
$ac_exeext
29450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29451 (eval $ac_link) 2>&5
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); } &&
29455 { ac_try
='test -s conftest$ac_exeext'
29456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29457 (eval $ac_try) 2>&5
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); }; }; then
29461 eval "$as_ac_var=yes"
29463 echo "$as_me: failed program was:" >&5
29464 sed 's/^/| /' conftest.
$ac_ext >&5
29466 eval "$as_ac_var=no"
29468 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29472 if test `eval echo '${'$as_ac_var'}'` = yes; then
29473 cat >>confdefs.h
<<_ACEOF
29474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29482 for ac_header
in sched.h
29484 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29486 echo "$as_me:$LINENO: checking for $ac_header" >&5
29487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29489 echo $ECHO_N "(cached) $ECHO_C" >&6
29491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29494 # Is the header compilable?
29495 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29496 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29497 cat >conftest.
$ac_ext <<_ACEOF
29498 #line $LINENO "configure"
29501 cat confdefs.h
>>conftest.
$ac_ext
29502 cat >>conftest.
$ac_ext <<_ACEOF
29503 /* end confdefs.h. */
29504 $ac_includes_default
29505 #include <$ac_header>
29507 rm -f conftest.
$ac_objext
29508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29509 (eval $ac_compile) 2>&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } &&
29513 { ac_try
='test -s conftest.$ac_objext'
29514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29515 (eval $ac_try) 2>&5
29517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29518 (exit $ac_status); }; }; then
29519 ac_header_compiler
=yes
29521 echo "$as_me: failed program was:" >&5
29522 sed 's/^/| /' conftest.
$ac_ext >&5
29524 ac_header_compiler
=no
29526 rm -f conftest.
$ac_objext conftest.
$ac_ext
29527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29528 echo "${ECHO_T}$ac_header_compiler" >&6
29530 # Is the header present?
29531 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29533 cat >conftest.
$ac_ext <<_ACEOF
29534 #line $LINENO "configure"
29537 cat confdefs.h
>>conftest.
$ac_ext
29538 cat >>conftest.
$ac_ext <<_ACEOF
29539 /* end confdefs.h. */
29540 #include <$ac_header>
29542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29543 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29545 grep -v '^ *+' conftest.er1
>conftest.err
29547 cat conftest.err
>&5
29548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29549 (exit $ac_status); } >/dev
/null
; then
29550 if test -s conftest.err
; then
29551 ac_cpp_err
=$ac_c_preproc_warn_flag
29558 if test -z "$ac_cpp_err"; then
29559 ac_header_preproc
=yes
29561 echo "$as_me: failed program was:" >&5
29562 sed 's/^/| /' conftest.
$ac_ext >&5
29564 ac_header_preproc
=no
29566 rm -f conftest.err conftest.
$ac_ext
29567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29568 echo "${ECHO_T}$ac_header_preproc" >&6
29570 # So? What about this header?
29571 case $ac_header_compiler:$ac_header_preproc in
29573 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29574 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29576 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29579 ## ------------------------------------ ##
29580 ## Report this to bug-autoconf@gnu.org. ##
29581 ## ------------------------------------ ##
29584 sed "s/^/$as_me: WARNING: /" >&2
29587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29592 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29595 ## ------------------------------------ ##
29596 ## Report this to bug-autoconf@gnu.org. ##
29597 ## ------------------------------------ ##
29600 sed "s/^/$as_me: WARNING: /" >&2
29603 echo "$as_me:$LINENO: checking for $ac_header" >&5
29604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29606 echo $ECHO_N "(cached) $ECHO_C" >&6
29608 eval "$as_ac_Header=$ac_header_preproc"
29610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29611 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29615 cat >>confdefs.h
<<_ACEOF
29616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29623 if test "$ac_cv_header_sched_h" = "yes"; then
29624 echo "$as_me:$LINENO: checking for sched_yield" >&5
29625 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29626 if test "${ac_cv_func_sched_yield+set}" = set; then
29627 echo $ECHO_N "(cached) $ECHO_C" >&6
29629 cat >conftest.
$ac_ext <<_ACEOF
29630 #line $LINENO "configure"
29633 cat confdefs.h
>>conftest.
$ac_ext
29634 cat >>conftest.
$ac_ext <<_ACEOF
29635 /* end confdefs.h. */
29636 /* System header to define __stub macros and hopefully few prototypes,
29637 which can conflict with char sched_yield (); below.
29638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29639 <limits.h> exists even on freestanding compilers. */
29641 # include <limits.h>
29643 # include <assert.h>
29645 /* Override any gcc2 internal prototype to avoid an error. */
29650 /* We use char because int might match the return type of a gcc2
29651 builtin and then its argument prototype would still apply. */
29652 char sched_yield ();
29653 /* The GNU C library defines this for functions which it implements
29654 to always fail with ENOSYS. Some functions are actually named
29655 something starting with __ and the normal name is an alias. */
29656 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29659 char (*f) () = sched_yield;
29668 return f != sched_yield;
29673 rm -f conftest.
$ac_objext conftest
$ac_exeext
29674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29675 (eval $ac_link) 2>&5
29677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29678 (exit $ac_status); } &&
29679 { ac_try
='test -s conftest$ac_exeext'
29680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29681 (eval $ac_try) 2>&5
29683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29684 (exit $ac_status); }; }; then
29685 ac_cv_func_sched_yield
=yes
29687 echo "$as_me: failed program was:" >&5
29688 sed 's/^/| /' conftest.
$ac_ext >&5
29690 ac_cv_func_sched_yield
=no
29692 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29694 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29695 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29696 if test $ac_cv_func_sched_yield = yes; then
29697 cat >>confdefs.h
<<\_ACEOF
29698 #define HAVE_SCHED_YIELD 1
29703 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29704 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29705 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29706 echo $ECHO_N "(cached) $ECHO_C" >&6
29708 ac_check_lib_save_LIBS
=$LIBS
29709 LIBS
="-lposix4 $LIBS"
29710 cat >conftest.
$ac_ext <<_ACEOF
29711 #line $LINENO "configure"
29714 cat confdefs.h
>>conftest.
$ac_ext
29715 cat >>conftest.
$ac_ext <<_ACEOF
29716 /* end confdefs.h. */
29718 /* Override any gcc2 internal prototype to avoid an error. */
29722 /* We use char because int might match the return type of a gcc2
29723 builtin and then its argument prototype would still apply. */
29724 char sched_yield ();
29733 rm -f conftest.
$ac_objext conftest
$ac_exeext
29734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29735 (eval $ac_link) 2>&5
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); } &&
29739 { ac_try
='test -s conftest$ac_exeext'
29740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29741 (eval $ac_try) 2>&5
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); }; }; then
29745 ac_cv_lib_posix4_sched_yield
=yes
29747 echo "$as_me: failed program was:" >&5
29748 sed 's/^/| /' conftest.
$ac_ext >&5
29750 ac_cv_lib_posix4_sched_yield
=no
29752 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29753 LIBS
=$ac_check_lib_save_LIBS
29755 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29756 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29757 if test $ac_cv_lib_posix4_sched_yield = yes; then
29758 cat >>confdefs.h
<<\_ACEOF
29759 #define HAVE_SCHED_YIELD 1
29761 POSIX4_LINK
=" -lposix4"
29763 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29764 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29775 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29776 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29777 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29778 echo $ECHO_N "(cached) $ECHO_C" >&6
29780 cat >conftest.
$ac_ext <<_ACEOF
29781 #line $LINENO "configure"
29784 cat confdefs.h
>>conftest.
$ac_ext
29785 cat >>conftest.
$ac_ext <<_ACEOF
29786 /* end confdefs.h. */
29787 /* System header to define __stub macros and hopefully few prototypes,
29788 which can conflict with char pthread_attr_getschedpolicy (); below.
29789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29790 <limits.h> exists even on freestanding compilers. */
29792 # include <limits.h>
29794 # include <assert.h>
29796 /* Override any gcc2 internal prototype to avoid an error. */
29801 /* We use char because int might match the return type of a gcc2
29802 builtin and then its argument prototype would still apply. */
29803 char pthread_attr_getschedpolicy ();
29804 /* The GNU C library defines this for functions which it implements
29805 to always fail with ENOSYS. Some functions are actually named
29806 something starting with __ and the normal name is an alias. */
29807 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29810 char (*f) () = pthread_attr_getschedpolicy;
29819 return f != pthread_attr_getschedpolicy;
29824 rm -f conftest.
$ac_objext conftest
$ac_exeext
29825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29826 (eval $ac_link) 2>&5
29828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 (exit $ac_status); } &&
29830 { ac_try
='test -s conftest$ac_exeext'
29831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29832 (eval $ac_try) 2>&5
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); }; }; then
29836 ac_cv_func_pthread_attr_getschedpolicy
=yes
29838 echo "$as_me: failed program was:" >&5
29839 sed 's/^/| /' conftest.
$ac_ext >&5
29841 ac_cv_func_pthread_attr_getschedpolicy
=no
29843 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29845 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29846 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29847 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29848 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29849 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29850 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29851 echo $ECHO_N "(cached) $ECHO_C" >&6
29853 cat >conftest.
$ac_ext <<_ACEOF
29854 #line $LINENO "configure"
29857 cat confdefs.h
>>conftest.
$ac_ext
29858 cat >>conftest.
$ac_ext <<_ACEOF
29859 /* end confdefs.h. */
29860 /* System header to define __stub macros and hopefully few prototypes,
29861 which can conflict with char pthread_attr_setschedparam (); below.
29862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29863 <limits.h> exists even on freestanding compilers. */
29865 # include <limits.h>
29867 # include <assert.h>
29869 /* Override any gcc2 internal prototype to avoid an error. */
29874 /* We use char because int might match the return type of a gcc2
29875 builtin and then its argument prototype would still apply. */
29876 char pthread_attr_setschedparam ();
29877 /* The GNU C library defines this for functions which it implements
29878 to always fail with ENOSYS. Some functions are actually named
29879 something starting with __ and the normal name is an alias. */
29880 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29883 char (*f) () = pthread_attr_setschedparam;
29892 return f != pthread_attr_setschedparam;
29897 rm -f conftest.
$ac_objext conftest
$ac_exeext
29898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29899 (eval $ac_link) 2>&5
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); } &&
29903 { ac_try
='test -s conftest$ac_exeext'
29904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29905 (eval $ac_try) 2>&5
29907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908 (exit $ac_status); }; }; then
29909 ac_cv_func_pthread_attr_setschedparam
=yes
29911 echo "$as_me: failed program was:" >&5
29912 sed 's/^/| /' conftest.
$ac_ext >&5
29914 ac_cv_func_pthread_attr_setschedparam
=no
29916 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29918 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29919 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29920 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29921 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29922 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29923 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29924 echo $ECHO_N "(cached) $ECHO_C" >&6
29926 cat >conftest.
$ac_ext <<_ACEOF
29927 #line $LINENO "configure"
29930 cat confdefs.h
>>conftest.
$ac_ext
29931 cat >>conftest.
$ac_ext <<_ACEOF
29932 /* end confdefs.h. */
29933 /* System header to define __stub macros and hopefully few prototypes,
29934 which can conflict with char sched_get_priority_max (); below.
29935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29936 <limits.h> exists even on freestanding compilers. */
29938 # include <limits.h>
29940 # include <assert.h>
29942 /* Override any gcc2 internal prototype to avoid an error. */
29947 /* We use char because int might match the return type of a gcc2
29948 builtin and then its argument prototype would still apply. */
29949 char sched_get_priority_max ();
29950 /* The GNU C library defines this for functions which it implements
29951 to always fail with ENOSYS. Some functions are actually named
29952 something starting with __ and the normal name is an alias. */
29953 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29956 char (*f) () = sched_get_priority_max;
29965 return f != sched_get_priority_max;
29970 rm -f conftest.
$ac_objext conftest
$ac_exeext
29971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29972 (eval $ac_link) 2>&5
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); } &&
29976 { ac_try
='test -s conftest$ac_exeext'
29977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29978 (eval $ac_try) 2>&5
29980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29981 (exit $ac_status); }; }; then
29982 ac_cv_func_sched_get_priority_max
=yes
29984 echo "$as_me: failed program was:" >&5
29985 sed 's/^/| /' conftest.
$ac_ext >&5
29987 ac_cv_func_sched_get_priority_max
=no
29989 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29991 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29992 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29993 if test $ac_cv_func_sched_get_priority_max = yes; then
29996 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29997 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29998 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29999 echo $ECHO_N "(cached) $ECHO_C" >&6
30001 ac_check_lib_save_LIBS
=$LIBS
30002 LIBS
="-lposix4 $LIBS"
30003 cat >conftest.
$ac_ext <<_ACEOF
30004 #line $LINENO "configure"
30007 cat confdefs.h
>>conftest.
$ac_ext
30008 cat >>conftest.
$ac_ext <<_ACEOF
30009 /* end confdefs.h. */
30011 /* Override any gcc2 internal prototype to avoid an error. */
30015 /* We use char because int might match the return type of a gcc2
30016 builtin and then its argument prototype would still apply. */
30017 char sched_get_priority_max ();
30021 sched_get_priority_max ();
30026 rm -f conftest.
$ac_objext conftest
$ac_exeext
30027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30028 (eval $ac_link) 2>&5
30030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30031 (exit $ac_status); } &&
30032 { ac_try
='test -s conftest$ac_exeext'
30033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30034 (eval $ac_try) 2>&5
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); }; }; then
30038 ac_cv_lib_posix4_sched_get_priority_max
=yes
30040 echo "$as_me: failed program was:" >&5
30041 sed 's/^/| /' conftest.
$ac_ext >&5
30043 ac_cv_lib_posix4_sched_get_priority_max
=no
30045 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30046 LIBS
=$ac_check_lib_save_LIBS
30048 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30049 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30050 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30053 POSIX4_LINK
=" -lposix4"
30067 if test "$HAVE_PRIOR_FUNCS" = 1; then
30068 cat >>confdefs.h
<<\_ACEOF
30069 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30073 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30074 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30077 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30078 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30079 if test "${ac_cv_func_pthread_cancel+set}" = set; then
30080 echo $ECHO_N "(cached) $ECHO_C" >&6
30082 cat >conftest.
$ac_ext <<_ACEOF
30083 #line $LINENO "configure"
30086 cat confdefs.h
>>conftest.
$ac_ext
30087 cat >>conftest.
$ac_ext <<_ACEOF
30088 /* end confdefs.h. */
30089 /* System header to define __stub macros and hopefully few prototypes,
30090 which can conflict with char pthread_cancel (); below.
30091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30092 <limits.h> exists even on freestanding compilers. */
30094 # include <limits.h>
30096 # include <assert.h>
30098 /* Override any gcc2 internal prototype to avoid an error. */
30103 /* We use char because int might match the return type of a gcc2
30104 builtin and then its argument prototype would still apply. */
30105 char pthread_cancel ();
30106 /* The GNU C library defines this for functions which it implements
30107 to always fail with ENOSYS. Some functions are actually named
30108 something starting with __ and the normal name is an alias. */
30109 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30112 char (*f) () = pthread_cancel;
30121 return f != pthread_cancel;
30126 rm -f conftest.
$ac_objext conftest
$ac_exeext
30127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30128 (eval $ac_link) 2>&5
30130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30131 (exit $ac_status); } &&
30132 { ac_try
='test -s conftest$ac_exeext'
30133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30134 (eval $ac_try) 2>&5
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); }; }; then
30138 ac_cv_func_pthread_cancel
=yes
30140 echo "$as_me: failed program was:" >&5
30141 sed 's/^/| /' conftest.
$ac_ext >&5
30143 ac_cv_func_pthread_cancel
=no
30145 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30147 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30148 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30149 if test $ac_cv_func_pthread_cancel = yes; then
30150 cat >>confdefs.h
<<\_ACEOF
30151 #define HAVE_PTHREAD_CANCEL 1
30155 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30156 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30162 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30163 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30164 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30165 echo $ECHO_N "(cached) $ECHO_C" >&6
30168 cat >conftest.
$ac_ext <<_ACEOF
30169 #line $LINENO "configure"
30172 cat confdefs.h
>>conftest.
$ac_ext
30173 cat >>conftest.
$ac_ext <<_ACEOF
30174 /* end confdefs.h. */
30175 #include <pthread.h>
30180 pthread_mutexattr_t attr;
30181 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30187 rm -f conftest.
$ac_objext
30188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30189 (eval $ac_compile) 2>&5
30191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30192 (exit $ac_status); } &&
30193 { ac_try
='test -s conftest.$ac_objext'
30194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30195 (eval $ac_try) 2>&5
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); }; }; then
30200 wx_cv_type_pthread_mutexattr_t
=yes
30203 echo "$as_me: failed program was:" >&5
30204 sed 's/^/| /' conftest.
$ac_ext >&5
30207 wx_cv_type_pthread_mutexattr_t
=no
30211 rm -f conftest.
$ac_objext conftest.
$ac_ext
30214 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30215 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30217 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30218 cat >>confdefs.h
<<\_ACEOF
30219 #define HAVE_PTHREAD_MUTEXATTR_T 1
30223 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30224 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30225 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30226 echo $ECHO_N "(cached) $ECHO_C" >&6
30229 cat >conftest.
$ac_ext <<_ACEOF
30230 #line $LINENO "configure"
30233 cat confdefs.h
>>conftest.
$ac_ext
30234 cat >>conftest.
$ac_ext <<_ACEOF
30235 /* end confdefs.h. */
30236 #include <pthread.h>
30241 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30247 rm -f conftest.
$ac_objext
30248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30249 (eval $ac_compile) 2>&5
30251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30252 (exit $ac_status); } &&
30253 { ac_try
='test -s conftest.$ac_objext'
30254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30255 (eval $ac_try) 2>&5
30257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30258 (exit $ac_status); }; }; then
30260 wx_cv_type_pthread_rec_mutex_init
=yes
30263 echo "$as_me: failed program was:" >&5
30264 sed 's/^/| /' conftest.
$ac_ext >&5
30267 wx_cv_type_pthread_rec_mutex_init
=no
30271 rm -f conftest.
$ac_objext conftest.
$ac_ext
30274 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30275 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30276 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30277 cat >>confdefs.h
<<\_ACEOF
30278 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30282 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30283 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30289 if test "$wxUSE_THREADS" = "yes" ; then
30292 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30293 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30294 if test "${wx_cv_cflags_mthread+set}" = set; then
30295 echo $ECHO_N "(cached) $ECHO_C" >&6
30298 CFLAGS_OLD
="$CFLAGS"
30299 CFLAGS
="$CFLAGS -mthreads"
30300 cat >conftest.
$ac_ext <<_ACEOF
30301 #line $LINENO "configure"
30304 cat confdefs.h
>>conftest.
$ac_ext
30305 cat >>conftest.
$ac_ext <<_ACEOF
30306 /* end confdefs.h. */
30316 rm -f conftest.
$ac_objext
30317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30318 (eval $ac_compile) 2>&5
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); } &&
30322 { ac_try
='test -s conftest.$ac_objext'
30323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30324 (eval $ac_try) 2>&5
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); }; }; then
30328 wx_cv_cflags_mthread
=yes
30330 echo "$as_me: failed program was:" >&5
30331 sed 's/^/| /' conftest.
$ac_ext >&5
30333 wx_cv_cflags_mthread
=no
30336 rm -f conftest.
$ac_objext conftest.
$ac_ext
30340 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30341 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30343 if test "$wx_cv_cflags_mthread" = "yes"; then
30344 CXXFLAGS
="$CXXFLAGS -mthreads"
30345 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
30346 LDFLAGS
="$LDFLAGS -mthreads"
30348 CFLAGS
="$CFLAGS_OLD"
30352 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30353 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30354 LDFLAGS
="$LDFLAGS -Zmt"
30360 if test "$wxUSE_THREADS" = "yes"; then
30361 cat >>confdefs.h
<<\_ACEOF
30362 #define wxUSE_THREADS 1
30366 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
30368 if test "$ac_cv_func_strtok_r" = "yes"; then
30369 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30370 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30371 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30372 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
30373 echo "$as_me:$LINENO: result: yes" >&5
30374 echo "${ECHO_T}yes" >&6
30376 echo "$as_me:$LINENO: result: no" >&5
30377 echo "${ECHO_T}no" >&6
30382 if test "$WXGTK20" = 1 ; then
30383 cat >>confdefs.h
<<_ACEOF
30384 #define __WXGTK20__ $WXGTK20
30390 if test "$WXGTK12" = 1 ; then
30391 cat >>confdefs.h
<<_ACEOF
30392 #define __WXGTK12__ $WXGTK12
30397 if test "$WXGTK127" = 1 ; then
30398 cat >>confdefs.h
<<_ACEOF
30399 #define __WXGTK127__ $WXGTK127
30406 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30411 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30412 wxUSE_DEBUG_INFO
=yes
30416 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30417 cat >>confdefs.h
<<\_ACEOF
30421 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30423 if test "$wxUSE_GTK" = 1 ; then
30424 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30428 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30429 cat >>confdefs.h
<<\_ACEOF
30430 #define wxUSE_MEMORY_TRACING 1
30433 cat >>confdefs.h
<<\_ACEOF
30434 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30437 cat >>confdefs.h
<<\_ACEOF
30438 #define wxUSE_DEBUG_NEW_ALWAYS 1
30441 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30444 if test "$wxUSE_DMALLOC" = "yes" ; then
30445 DMALLOC_LIBS
="-ldmalloc"
30449 if test "$wxUSE_PROFILE" = "yes" ; then
30454 CODE_GEN_FLAGS_CXX
=
30455 if test "$GCC" = "yes" ; then
30456 if test "$wxUSE_NO_RTTI" = "yes" ; then
30457 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30459 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30460 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30462 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30463 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30468 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30471 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30477 if test "$wxUSE_OPTIMISE" = "no" ; then
30478 if test "$GCC" = yes ; then
30482 if test "$GCC" = yes ; then
30486 i586
-*-*|i686
-*-* )
30487 OPTIMISE
="${OPTIMISE} "
30496 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30497 cat >>confdefs.h
<<\_ACEOF
30498 #define WXWIN_COMPATIBILITY_2_2 1
30502 WXWIN_COMPATIBILITY_2_4
="yes"
30505 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30506 cat >>confdefs.h
<<\_ACEOF
30507 #define WXWIN_COMPATIBILITY_2_4 1
30513 if test "$wxUSE_GUI" = "yes"; then
30514 cat >>confdefs.h
<<\_ACEOF
30515 #define wxUSE_GUI 1
30520 cat >>confdefs.h
<<\_ACEOF
30521 #define wxUSE_NOGUI 1
30527 if test "$wxUSE_UNIX" = "yes"; then
30528 cat >>confdefs.h
<<\_ACEOF
30529 #define wxUSE_UNIX 1
30535 if test "$wxUSE_STL" = "yes"; then
30536 cat >>confdefs.h
<<\_ACEOF
30537 #define wxUSE_STL 1
30542 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30543 cat >>confdefs.h
<<\_ACEOF
30544 #define wxUSE_APPLE_IEEE 1
30549 if test "$wxUSE_TIMER" = "yes"; then
30550 cat >>confdefs.h
<<\_ACEOF
30551 #define wxUSE_TIMER 1
30556 if test "$wxUSE_WAVE" = "yes"; then
30557 cat >>confdefs.h
<<\_ACEOF
30558 #define wxUSE_WAVE 1
30563 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30564 cat >>confdefs.h
<<\_ACEOF
30565 #define wxUSE_CMDLINE_PARSER 1
30570 if test "$wxUSE_STOPWATCH" = "yes"; then
30571 cat >>confdefs.h
<<\_ACEOF
30572 #define wxUSE_STOPWATCH 1
30577 if test "$wxUSE_DATETIME" = "yes"; then
30578 cat >>confdefs.h
<<\_ACEOF
30579 #define wxUSE_DATETIME 1
30584 if test "$wxUSE_FILE" = "yes"; then
30585 cat >>confdefs.h
<<\_ACEOF
30586 #define wxUSE_FILE 1
30591 if test "$wxUSE_FFILE" = "yes"; then
30592 cat >>confdefs.h
<<\_ACEOF
30593 #define wxUSE_FFILE 1
30598 if test "$wxUSE_FILESYSTEM" = "yes"; then
30599 cat >>confdefs.h
<<\_ACEOF
30600 #define wxUSE_FILESYSTEM 1
30605 if test "$wxUSE_FS_ZIP" = "yes"; then
30606 cat >>confdefs.h
<<\_ACEOF
30607 #define wxUSE_FS_ZIP 1
30612 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30613 cat >>confdefs.h
<<\_ACEOF
30614 #define wxUSE_ZIPSTREAM 1
30619 if test "$wxUSE_GZSTREAM" = "yes"; then
30620 cat >>confdefs.h
<<\_ACEOF
30621 #define wxUSE_GZSTREAM 1
30626 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30627 cat >>confdefs.h
<<\_ACEOF
30628 #define wxUSE_ON_FATAL_EXCEPTION 1
30633 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30634 cat >>confdefs.h
<<\_ACEOF
30635 #define wxUSE_SNGLINST_CHECKER 1
30640 if test "$wxUSE_BUSYINFO" = "yes"; then
30641 cat >>confdefs.h
<<\_ACEOF
30642 #define wxUSE_BUSYINFO 1
30647 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30648 cat >>confdefs.h
<<\_ACEOF
30649 #define wxUSE_STD_IOSTREAM 1
30654 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30655 cat >>confdefs.h
<<\_ACEOF
30656 #define wxUSE_TEXTBUFFER 1
30661 if test "$wxUSE_TEXTFILE" = "yes"; then
30662 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30663 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30664 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30666 cat >>confdefs.h
<<\_ACEOF
30667 #define wxUSE_TEXTFILE 1
30673 if test "$wxUSE_CONFIG" = "yes" ; then
30674 if test "$wxUSE_TEXTFILE" != "yes"; then
30675 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30676 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30678 cat >>confdefs.h
<<\_ACEOF
30679 #define wxUSE_CONFIG 1
30682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30686 if test "$wxUSE_INTL" = "yes" ; then
30687 if test "$wxUSE_FILE" != "yes"; then
30688 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30689 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30691 cat >>confdefs.h
<<\_ACEOF
30692 #define wxUSE_INTL 1
30695 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30696 GUIDIST
="$GUIDIST INTL_DIST"
30700 if test "$wxUSE_LOG" = "yes"; then
30701 cat >>confdefs.h
<<\_ACEOF
30702 #define wxUSE_LOG 1
30706 if test "$wxUSE_LOGGUI" = "yes"; then
30707 cat >>confdefs.h
<<\_ACEOF
30708 #define wxUSE_LOGGUI 1
30713 if test "$wxUSE_LOGWINDOW" = "yes"; then
30714 cat >>confdefs.h
<<\_ACEOF
30715 #define wxUSE_LOGWINDOW 1
30720 if test "$wxUSE_LOGDIALOG" = "yes"; then
30721 cat >>confdefs.h
<<\_ACEOF
30722 #define wxUSE_LOG_DIALOG 1
30728 if test "$wxUSE_LONGLONG" = "yes"; then
30729 cat >>confdefs.h
<<\_ACEOF
30730 #define wxUSE_LONGLONG 1
30735 if test "$wxUSE_GEOMETRY" = "yes"; then
30736 cat >>confdefs.h
<<\_ACEOF
30737 #define wxUSE_GEOMETRY 1
30742 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30743 cat >>confdefs.h
<<\_ACEOF
30744 #define wxUSE_DIALUP_MANAGER 1
30747 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30750 if test "$wxUSE_STREAMS" = "yes" ; then
30751 cat >>confdefs.h
<<\_ACEOF
30752 #define wxUSE_STREAMS 1
30758 if test "$wxUSE_DATETIME" = "yes"; then
30760 for ac_func
in strptime
30762 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30763 echo "$as_me:$LINENO: checking for $ac_func" >&5
30764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30765 if eval "test \"\${$as_ac_var+set}\" = set"; then
30766 echo $ECHO_N "(cached) $ECHO_C" >&6
30768 cat >conftest.
$ac_ext <<_ACEOF
30769 #line $LINENO "configure"
30772 cat confdefs.h
>>conftest.
$ac_ext
30773 cat >>conftest.
$ac_ext <<_ACEOF
30774 /* end confdefs.h. */
30775 /* System header to define __stub macros and hopefully few prototypes,
30776 which can conflict with char $ac_func (); below.
30777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30778 <limits.h> exists even on freestanding compilers. */
30780 # include <limits.h>
30782 # include <assert.h>
30784 /* Override any gcc2 internal prototype to avoid an error. */
30789 /* We use char because int might match the return type of a gcc2
30790 builtin and then its argument prototype would still apply. */
30792 /* The GNU C library defines this for functions which it implements
30793 to always fail with ENOSYS. Some functions are actually named
30794 something starting with __ and the normal name is an alias. */
30795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30798 char (*f) () = $ac_func;
30807 return f != $ac_func;
30812 rm -f conftest.
$ac_objext conftest
$ac_exeext
30813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30814 (eval $ac_link) 2>&5
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); } &&
30818 { ac_try
='test -s conftest$ac_exeext'
30819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30820 (eval $ac_try) 2>&5
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); }; }; then
30824 eval "$as_ac_var=yes"
30826 echo "$as_me: failed program was:" >&5
30827 sed 's/^/| /' conftest.
$ac_ext >&5
30829 eval "$as_ac_var=no"
30831 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30835 if test `eval echo '${'$as_ac_var'}'` = yes; then
30836 cat >>confdefs.h
<<_ACEOF
30837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30844 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30845 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30846 if test "${wx_cv_var_timezone+set}" = set; then
30847 echo $ECHO_N "(cached) $ECHO_C" >&6
30850 cat >conftest.
$ac_ext <<_ACEOF
30851 #line $LINENO "configure"
30854 cat confdefs.h
>>conftest.
$ac_ext
30855 cat >>conftest.
$ac_ext <<_ACEOF
30856 /* end confdefs.h. */
30871 rm -f conftest.
$ac_objext
30872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30873 (eval $ac_compile) 2>&5
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); } &&
30877 { ac_try
='test -s conftest.$ac_objext'
30878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30879 (eval $ac_try) 2>&5
30881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30882 (exit $ac_status); }; }; then
30884 wx_cv_var_timezone
=timezone
30887 echo "$as_me: failed program was:" >&5
30888 sed 's/^/| /' conftest.
$ac_ext >&5
30891 cat >conftest.
$ac_ext <<_ACEOF
30892 #line $LINENO "configure"
30895 cat confdefs.h
>>conftest.
$ac_ext
30896 cat >>conftest.
$ac_ext <<_ACEOF
30897 /* end confdefs.h. */
30912 rm -f conftest.
$ac_objext
30913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30914 (eval $ac_compile) 2>&5
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); } &&
30918 { ac_try
='test -s conftest.$ac_objext'
30919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30920 (eval $ac_try) 2>&5
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); }; }; then
30925 wx_cv_var_timezone
=_timezone
30928 echo "$as_me: failed program was:" >&5
30929 sed 's/^/| /' conftest.
$ac_ext >&5
30932 cat >conftest.
$ac_ext <<_ACEOF
30933 #line $LINENO "configure"
30936 cat confdefs.h
>>conftest.
$ac_ext
30937 cat >>conftest.
$ac_ext <<_ACEOF
30938 /* end confdefs.h. */
30953 rm -f conftest.
$ac_objext
30954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30955 (eval $ac_compile) 2>&5
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); } &&
30959 { ac_try
='test -s conftest.$ac_objext'
30960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30961 (eval $ac_try) 2>&5
30963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30964 (exit $ac_status); }; }; then
30966 wx_cv_var_timezone
=__timezone
30969 echo "$as_me: failed program was:" >&5
30970 sed 's/^/| /' conftest.
$ac_ext >&5
30973 if test "$USE_DOS" = 0 ; then
30974 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30975 echo "$as_me: WARNING: no timezone variable" >&2;}
30980 rm -f conftest.
$ac_objext conftest.
$ac_ext
30984 rm -f conftest.
$ac_objext conftest.
$ac_ext
30988 rm -f conftest.
$ac_objext conftest.
$ac_ext
30992 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30993 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30995 if test "x$wx_cv_var_timezone" != x
; then
30996 cat >>confdefs.h
<<_ACEOF
30997 #define WX_TIMEZONE $wx_cv_var_timezone
31003 for ac_func
in localtime
31005 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31006 echo "$as_me:$LINENO: checking for $ac_func" >&5
31007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31008 if eval "test \"\${$as_ac_var+set}\" = set"; then
31009 echo $ECHO_N "(cached) $ECHO_C" >&6
31011 cat >conftest.
$ac_ext <<_ACEOF
31012 #line $LINENO "configure"
31015 cat confdefs.h
>>conftest.
$ac_ext
31016 cat >>conftest.
$ac_ext <<_ACEOF
31017 /* end confdefs.h. */
31018 /* System header to define __stub macros and hopefully few prototypes,
31019 which can conflict with char $ac_func (); below.
31020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31021 <limits.h> exists even on freestanding compilers. */
31023 # include <limits.h>
31025 # include <assert.h>
31027 /* Override any gcc2 internal prototype to avoid an error. */
31032 /* We use char because int might match the return type of a gcc2
31033 builtin and then its argument prototype would still apply. */
31035 /* The GNU C library defines this for functions which it implements
31036 to always fail with ENOSYS. Some functions are actually named
31037 something starting with __ and the normal name is an alias. */
31038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31041 char (*f) () = $ac_func;
31050 return f != $ac_func;
31055 rm -f conftest.
$ac_objext conftest
$ac_exeext
31056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31057 (eval $ac_link) 2>&5
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); } &&
31061 { ac_try
='test -s conftest$ac_exeext'
31062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31063 (eval $ac_try) 2>&5
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); }; }; then
31067 eval "$as_ac_var=yes"
31069 echo "$as_me: failed program was:" >&5
31070 sed 's/^/| /' conftest.
$ac_ext >&5
31072 eval "$as_ac_var=no"
31074 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31078 if test `eval echo '${'$as_ac_var'}'` = yes; then
31079 cat >>confdefs.h
<<_ACEOF
31080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31087 if test "$ac_cv_func_localtime" = "yes"; then
31088 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
31089 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
31090 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
31091 echo $ECHO_N "(cached) $ECHO_C" >&6
31094 cat >conftest.
$ac_ext <<_ACEOF
31095 #line $LINENO "configure"
31098 cat confdefs.h
>>conftest.
$ac_ext
31099 cat >>conftest.
$ac_ext <<_ACEOF
31100 /* end confdefs.h. */
31115 rm -f conftest.
$ac_objext
31116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31117 (eval $ac_compile) 2>&5
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); } &&
31121 { ac_try
='test -s conftest.$ac_objext'
31122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31123 (eval $ac_try) 2>&5
31125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31126 (exit $ac_status); }; }; then
31128 wx_cv_struct_tm_has_gmtoff
=yes
31131 echo "$as_me: failed program was:" >&5
31132 sed 's/^/| /' conftest.
$ac_ext >&5
31134 wx_cv_struct_tm_has_gmtoff
=no
31137 rm -f conftest.
$ac_objext conftest.
$ac_ext
31140 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
31141 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
31144 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
31145 cat >>confdefs.h
<<\_ACEOF
31146 #define WX_GMTOFF_IN_TM 1
31153 for ac_func
in gettimeofday ftime
31155 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31156 echo "$as_me:$LINENO: checking for $ac_func" >&5
31157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31158 if eval "test \"\${$as_ac_var+set}\" = set"; then
31159 echo $ECHO_N "(cached) $ECHO_C" >&6
31161 cat >conftest.
$ac_ext <<_ACEOF
31162 #line $LINENO "configure"
31165 cat confdefs.h
>>conftest.
$ac_ext
31166 cat >>conftest.
$ac_ext <<_ACEOF
31167 /* end confdefs.h. */
31168 /* System header to define __stub macros and hopefully few prototypes,
31169 which can conflict with char $ac_func (); below.
31170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31171 <limits.h> exists even on freestanding compilers. */
31173 # include <limits.h>
31175 # include <assert.h>
31177 /* Override any gcc2 internal prototype to avoid an error. */
31182 /* We use char because int might match the return type of a gcc2
31183 builtin and then its argument prototype would still apply. */
31185 /* The GNU C library defines this for functions which it implements
31186 to always fail with ENOSYS. Some functions are actually named
31187 something starting with __ and the normal name is an alias. */
31188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31191 char (*f) () = $ac_func;
31200 return f != $ac_func;
31205 rm -f conftest.
$ac_objext conftest
$ac_exeext
31206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31207 (eval $ac_link) 2>&5
31209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31210 (exit $ac_status); } &&
31211 { ac_try
='test -s conftest$ac_exeext'
31212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31213 (eval $ac_try) 2>&5
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); }; }; then
31217 eval "$as_ac_var=yes"
31219 echo "$as_me: failed program was:" >&5
31220 sed 's/^/| /' conftest.
$ac_ext >&5
31222 eval "$as_ac_var=no"
31224 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31228 if test `eval echo '${'$as_ac_var'}'` = yes; then
31229 cat >>confdefs.h
<<_ACEOF
31230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31237 if test "$ac_cv_func_gettimeofday" = "yes"; then
31238 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31239 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31240 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31241 echo $ECHO_N "(cached) $ECHO_C" >&6
31247 ac_cpp
='$CXXCPP $CPPFLAGS'
31248 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31249 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31250 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31253 cat >conftest.
$ac_ext <<_ACEOF
31254 #line $LINENO "configure"
31257 cat confdefs.h
>>conftest.
$ac_ext
31258 cat >>conftest.
$ac_ext <<_ACEOF
31259 /* end confdefs.h. */
31261 #include <sys/time.h>
31262 #include <unistd.h>
31269 gettimeofday(&tv, NULL);
31275 rm -f conftest.
$ac_objext
31276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31277 (eval $ac_compile) 2>&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } &&
31281 { ac_try
='test -s conftest.$ac_objext'
31282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31283 (eval $ac_try) 2>&5
31285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31286 (exit $ac_status); }; }; then
31287 wx_cv_func_gettimeofday_has_2_args
=yes
31289 echo "$as_me: failed program was:" >&5
31290 sed 's/^/| /' conftest.
$ac_ext >&5
31292 cat >conftest.
$ac_ext <<_ACEOF
31293 #line $LINENO "configure"
31296 cat confdefs.h
>>conftest.
$ac_ext
31297 cat >>conftest.
$ac_ext <<_ACEOF
31298 /* end confdefs.h. */
31300 #include <sys/time.h>
31301 #include <unistd.h>
31314 rm -f conftest.
$ac_objext
31315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31316 (eval $ac_compile) 2>&5
31318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319 (exit $ac_status); } &&
31320 { ac_try
='test -s conftest.$ac_objext'
31321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31322 (eval $ac_try) 2>&5
31324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31325 (exit $ac_status); }; }; then
31326 wx_cv_func_gettimeofday_has_2_args
=no
31328 echo "$as_me: failed program was:" >&5
31329 sed 's/^/| /' conftest.
$ac_ext >&5
31332 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31333 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31334 wx_cv_func_gettimeofday_has_2_args
=unknown
31338 rm -f conftest.
$ac_objext conftest.
$ac_ext
31341 rm -f conftest.
$ac_objext conftest.
$ac_ext
31343 ac_cpp
='$CPP $CPPFLAGS'
31344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31350 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31351 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31353 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31354 cat >>confdefs.h
<<\_ACEOF
31355 #define WX_GETTIMEOFDAY_NO_TZ 1
31361 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
31365 if test "$wxUSE_SOCKETS" = "yes"; then
31366 if test "$wxUSE_MGL" = "1"; then
31367 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31368 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31371 if test "$wxUSE_COCOA" = "1"; then
31372 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31373 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31378 if test "$wxUSE_SOCKETS" = "yes"; then
31379 if test "$TOOLKIT" != "MSW"; then
31380 echo "$as_me:$LINENO: checking for socket" >&5
31381 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31382 if test "${ac_cv_func_socket+set}" = set; then
31383 echo $ECHO_N "(cached) $ECHO_C" >&6
31385 cat >conftest.
$ac_ext <<_ACEOF
31386 #line $LINENO "configure"
31389 cat confdefs.h
>>conftest.
$ac_ext
31390 cat >>conftest.
$ac_ext <<_ACEOF
31391 /* end confdefs.h. */
31392 /* System header to define __stub macros and hopefully few prototypes,
31393 which can conflict with char socket (); below.
31394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31395 <limits.h> exists even on freestanding compilers. */
31397 # include <limits.h>
31399 # include <assert.h>
31401 /* Override any gcc2 internal prototype to avoid an error. */
31406 /* We use char because int might match the return type of a gcc2
31407 builtin and then its argument prototype would still apply. */
31409 /* The GNU C library defines this for functions which it implements
31410 to always fail with ENOSYS. Some functions are actually named
31411 something starting with __ and the normal name is an alias. */
31412 #if defined (__stub_socket) || defined (__stub___socket)
31415 char (*f) () = socket;
31424 return f != socket;
31429 rm -f conftest.
$ac_objext conftest
$ac_exeext
31430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31431 (eval $ac_link) 2>&5
31433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31434 (exit $ac_status); } &&
31435 { ac_try
='test -s conftest$ac_exeext'
31436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31437 (eval $ac_try) 2>&5
31439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31440 (exit $ac_status); }; }; then
31441 ac_cv_func_socket
=yes
31443 echo "$as_me: failed program was:" >&5
31444 sed 's/^/| /' conftest.
$ac_ext >&5
31446 ac_cv_func_socket
=no
31448 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31450 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31451 echo "${ECHO_T}$ac_cv_func_socket" >&6
31452 if test $ac_cv_func_socket = yes; then
31456 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31457 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31458 if test "${ac_cv_lib_socket_socket+set}" = set; then
31459 echo $ECHO_N "(cached) $ECHO_C" >&6
31461 ac_check_lib_save_LIBS
=$LIBS
31462 LIBS
="-lsocket $LIBS"
31463 cat >conftest.
$ac_ext <<_ACEOF
31464 #line $LINENO "configure"
31467 cat confdefs.h
>>conftest.
$ac_ext
31468 cat >>conftest.
$ac_ext <<_ACEOF
31469 /* end confdefs.h. */
31471 /* Override any gcc2 internal prototype to avoid an error. */
31475 /* We use char because int might match the return type of a gcc2
31476 builtin and then its argument prototype would still apply. */
31486 rm -f conftest.
$ac_objext conftest
$ac_exeext
31487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31488 (eval $ac_link) 2>&5
31490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31491 (exit $ac_status); } &&
31492 { ac_try
='test -s conftest$ac_exeext'
31493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31494 (eval $ac_try) 2>&5
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); }; }; then
31498 ac_cv_lib_socket_socket
=yes
31500 echo "$as_me: failed program was:" >&5
31501 sed 's/^/| /' conftest.
$ac_ext >&5
31503 ac_cv_lib_socket_socket
=no
31505 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31506 LIBS
=$ac_check_lib_save_LIBS
31508 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31509 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31510 if test $ac_cv_lib_socket_socket = yes; then
31511 if test "$INET_LINK" != " -lsocket"; then
31512 INET_LINK
="$INET_LINK -lsocket"
31516 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31517 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31530 if test "$wxUSE_SOCKETS" = "yes" ; then
31531 if test "$TOOLKIT" != "MSW"; then
31532 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31533 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31534 if test "${wx_cv_type_getsockname3+set}" = set; then
31535 echo $ECHO_N "(cached) $ECHO_C" >&6
31538 cat >conftest.
$ac_ext <<_ACEOF
31539 #line $LINENO "configure"
31542 cat confdefs.h
>>conftest.
$ac_ext
31543 cat >>conftest.
$ac_ext <<_ACEOF
31544 /* end confdefs.h. */
31546 #include <sys/types.h>
31547 #include <sys/socket.h>
31554 getsockname(0, 0, &len);
31560 rm -f conftest.
$ac_objext
31561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31562 (eval $ac_compile) 2>&5
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); } &&
31566 { ac_try
='test -s conftest.$ac_objext'
31567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31568 (eval $ac_try) 2>&5
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); }; }; then
31572 wx_cv_type_getsockname3
=socklen_t
31574 echo "$as_me: failed program was:" >&5
31575 sed 's/^/| /' conftest.
$ac_ext >&5
31578 CFLAGS_OLD
="$CFLAGS"
31579 if test "$GCC" = yes ; then
31580 CFLAGS
="$CFLAGS -Werror"
31583 cat >conftest.
$ac_ext <<_ACEOF
31584 #line $LINENO "configure"
31587 cat confdefs.h
>>conftest.
$ac_ext
31588 cat >>conftest.
$ac_ext <<_ACEOF
31589 /* end confdefs.h. */
31591 #include <sys/types.h>
31592 #include <sys/socket.h>
31599 getsockname(0, 0, &len);
31605 rm -f conftest.
$ac_objext
31606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31607 (eval $ac_compile) 2>&5
31609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31610 (exit $ac_status); } &&
31611 { ac_try
='test -s conftest.$ac_objext'
31612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31613 (eval $ac_try) 2>&5
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); }; }; then
31617 wx_cv_type_getsockname3
=size_t
31619 echo "$as_me: failed program was:" >&5
31620 sed 's/^/| /' conftest.
$ac_ext >&5
31622 cat >conftest.
$ac_ext <<_ACEOF
31623 #line $LINENO "configure"
31626 cat confdefs.h
>>conftest.
$ac_ext
31627 cat >>conftest.
$ac_ext <<_ACEOF
31628 /* end confdefs.h. */
31630 #include <sys/types.h>
31631 #include <sys/socket.h>
31638 getsockname(0, 0, &len);
31644 rm -f conftest.
$ac_objext
31645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31646 (eval $ac_compile) 2>&5
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); } &&
31650 { ac_try
='test -s conftest.$ac_objext'
31651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31652 (eval $ac_try) 2>&5
31654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31655 (exit $ac_status); }; }; then
31656 wx_cv_type_getsockname3
=int
31658 echo "$as_me: failed program was:" >&5
31659 sed 's/^/| /' conftest.
$ac_ext >&5
31661 wx_cv_type_getsockname3
=unknown
31664 rm -f conftest.
$ac_objext conftest.
$ac_ext
31667 rm -f conftest.
$ac_objext conftest.
$ac_ext
31669 CFLAGS
="$CFLAGS_OLD"
31673 rm -f conftest.
$ac_objext conftest.
$ac_ext
31676 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31677 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31679 if test "$wx_cv_type_getsockname3" = "unknown"; then
31681 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31682 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31684 cat >>confdefs.h
<<_ACEOF
31685 #define SOCKLEN_T $wx_cv_type_getsockname3
31692 if test "$wxUSE_SOCKETS" = "yes" ; then
31693 cat >>confdefs.h
<<\_ACEOF
31694 #define wxUSE_SOCKETS 1
31697 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31700 if test "$wxUSE_PROTOCOL" = "yes"; then
31701 if test "$wxUSE_SOCKETS" != "yes"; then
31702 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31703 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31708 if test "$wxUSE_PROTOCOL" = "yes"; then
31709 cat >>confdefs.h
<<\_ACEOF
31710 #define wxUSE_PROTOCOL 1
31714 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31715 cat >>confdefs.h
<<\_ACEOF
31716 #define wxUSE_PROTOCOL_HTTP 1
31720 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31721 cat >>confdefs.h
<<\_ACEOF
31722 #define wxUSE_PROTOCOL_FTP 1
31726 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31727 cat >>confdefs.h
<<\_ACEOF
31728 #define wxUSE_PROTOCOL_FILE 1
31733 if test "$wxUSE_FS_INET" = "yes"; then
31734 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31735 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31740 if test "$wxUSE_URL" = "yes"; then
31741 if test "$wxUSE_PROTOCOL" != "yes"; then
31742 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31743 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31746 if test "$wxUSE_URL" = "yes"; then
31747 cat >>confdefs.h
<<\_ACEOF
31748 #define wxUSE_URL 1
31754 if test "$wxUSE_FS_INET" = "yes"; then
31755 cat >>confdefs.h
<<\_ACEOF
31756 #define wxUSE_FS_INET 1
31762 if test "$wxUSE_GUI" = "yes"; then
31764 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31765 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31766 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31770 if test "$TOOLKIT" != "MSW"; then
31771 if test "$wxUSE_JOYSTICK" = "yes"; then
31773 for ac_header
in linux
/joystick.h
31775 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31777 echo "$as_me:$LINENO: checking for $ac_header" >&5
31778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31780 echo $ECHO_N "(cached) $ECHO_C" >&6
31782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31785 # Is the header compilable?
31786 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31787 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31788 cat >conftest.
$ac_ext <<_ACEOF
31789 #line $LINENO "configure"
31792 cat confdefs.h
>>conftest.
$ac_ext
31793 cat >>conftest.
$ac_ext <<_ACEOF
31794 /* end confdefs.h. */
31795 $ac_includes_default
31796 #include <$ac_header>
31798 rm -f conftest.
$ac_objext
31799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31800 (eval $ac_compile) 2>&5
31802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803 (exit $ac_status); } &&
31804 { ac_try
='test -s conftest.$ac_objext'
31805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31806 (eval $ac_try) 2>&5
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); }; }; then
31810 ac_header_compiler
=yes
31812 echo "$as_me: failed program was:" >&5
31813 sed 's/^/| /' conftest.
$ac_ext >&5
31815 ac_header_compiler
=no
31817 rm -f conftest.
$ac_objext conftest.
$ac_ext
31818 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31819 echo "${ECHO_T}$ac_header_compiler" >&6
31821 # Is the header present?
31822 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31824 cat >conftest.
$ac_ext <<_ACEOF
31825 #line $LINENO "configure"
31828 cat confdefs.h
>>conftest.
$ac_ext
31829 cat >>conftest.
$ac_ext <<_ACEOF
31830 /* end confdefs.h. */
31831 #include <$ac_header>
31833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31834 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31836 grep -v '^ *+' conftest.er1
>conftest.err
31838 cat conftest.err
>&5
31839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31840 (exit $ac_status); } >/dev
/null
; then
31841 if test -s conftest.err
; then
31842 ac_cpp_err
=$ac_c_preproc_warn_flag
31849 if test -z "$ac_cpp_err"; then
31850 ac_header_preproc
=yes
31852 echo "$as_me: failed program was:" >&5
31853 sed 's/^/| /' conftest.
$ac_ext >&5
31855 ac_header_preproc
=no
31857 rm -f conftest.err conftest.
$ac_ext
31858 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31859 echo "${ECHO_T}$ac_header_preproc" >&6
31861 # So? What about this header?
31862 case $ac_header_compiler:$ac_header_preproc in
31864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31867 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31870 ## ------------------------------------ ##
31871 ## Report this to bug-autoconf@gnu.org. ##
31872 ## ------------------------------------ ##
31875 sed "s/^/$as_me: WARNING: /" >&2
31878 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31879 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31880 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31881 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31883 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31886 ## ------------------------------------ ##
31887 ## Report this to bug-autoconf@gnu.org. ##
31888 ## ------------------------------------ ##
31891 sed "s/^/$as_me: WARNING: /" >&2
31894 echo "$as_me:$LINENO: checking for $ac_header" >&5
31895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31897 echo $ECHO_N "(cached) $ECHO_C" >&6
31899 eval "$as_ac_Header=$ac_header_preproc"
31901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31906 cat >>confdefs.h
<<_ACEOF
31907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31914 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31916 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31917 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31922 if test "$wxUSE_JOYSTICK" = "yes"; then
31923 cat >>confdefs.h
<<\_ACEOF
31924 #define wxUSE_JOYSTICK 1
31927 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31932 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31936 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31937 if test "$USE_DARWIN" = 1; then
31941 for ac_func
in dlopen
31943 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31944 echo "$as_me:$LINENO: checking for $ac_func" >&5
31945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31946 if eval "test \"\${$as_ac_var+set}\" = set"; then
31947 echo $ECHO_N "(cached) $ECHO_C" >&6
31949 cat >conftest.
$ac_ext <<_ACEOF
31950 #line $LINENO "configure"
31953 cat confdefs.h
>>conftest.
$ac_ext
31954 cat >>conftest.
$ac_ext <<_ACEOF
31955 /* end confdefs.h. */
31956 /* System header to define __stub macros and hopefully few prototypes,
31957 which can conflict with char $ac_func (); below.
31958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31959 <limits.h> exists even on freestanding compilers. */
31961 # include <limits.h>
31963 # include <assert.h>
31965 /* Override any gcc2 internal prototype to avoid an error. */
31970 /* We use char because int might match the return type of a gcc2
31971 builtin and then its argument prototype would still apply. */
31973 /* The GNU C library defines this for functions which it implements
31974 to always fail with ENOSYS. Some functions are actually named
31975 something starting with __ and the normal name is an alias. */
31976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31979 char (*f) () = $ac_func;
31988 return f != $ac_func;
31993 rm -f conftest.
$ac_objext conftest
$ac_exeext
31994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31995 (eval $ac_link) 2>&5
31997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31998 (exit $ac_status); } &&
31999 { ac_try
='test -s conftest$ac_exeext'
32000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32001 (eval $ac_try) 2>&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); }; }; then
32005 eval "$as_ac_var=yes"
32007 echo "$as_me: failed program was:" >&5
32008 sed 's/^/| /' conftest.
$ac_ext >&5
32010 eval "$as_ac_var=no"
32012 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32016 if test `eval echo '${'$as_ac_var'}'` = yes; then
32017 cat >>confdefs.h
<<_ACEOF
32018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32021 cat >>confdefs.h
<<\_ACEOF
32022 #define HAVE_DLOPEN 1
32029 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32030 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
32031 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32032 echo $ECHO_N "(cached) $ECHO_C" >&6
32034 ac_check_lib_save_LIBS
=$LIBS
32036 cat >conftest.
$ac_ext <<_ACEOF
32037 #line $LINENO "configure"
32040 cat confdefs.h
>>conftest.
$ac_ext
32041 cat >>conftest.
$ac_ext <<_ACEOF
32042 /* end confdefs.h. */
32044 /* Override any gcc2 internal prototype to avoid an error. */
32048 /* We use char because int might match the return type of a gcc2
32049 builtin and then its argument prototype would still apply. */
32059 rm -f conftest.
$ac_objext conftest
$ac_exeext
32060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32061 (eval $ac_link) 2>&5
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); } &&
32065 { ac_try
='test -s conftest$ac_exeext'
32066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32067 (eval $ac_try) 2>&5
32069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32070 (exit $ac_status); }; }; then
32071 ac_cv_lib_dl_dlopen
=yes
32073 echo "$as_me: failed program was:" >&5
32074 sed 's/^/| /' conftest.
$ac_ext >&5
32076 ac_cv_lib_dl_dlopen
=no
32078 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32079 LIBS
=$ac_check_lib_save_LIBS
32081 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
32082 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
32083 if test $ac_cv_lib_dl_dlopen = yes; then
32085 cat >>confdefs.h
<<\_ACEOF
32086 #define HAVE_DLOPEN 1
32090 DL_LINK
=" -ldl$DL_LINK"
32095 for ac_func
in shl_load
32097 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32098 echo "$as_me:$LINENO: checking for $ac_func" >&5
32099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32100 if eval "test \"\${$as_ac_var+set}\" = set"; then
32101 echo $ECHO_N "(cached) $ECHO_C" >&6
32103 cat >conftest.
$ac_ext <<_ACEOF
32104 #line $LINENO "configure"
32107 cat confdefs.h
>>conftest.
$ac_ext
32108 cat >>conftest.
$ac_ext <<_ACEOF
32109 /* end confdefs.h. */
32110 /* System header to define __stub macros and hopefully few prototypes,
32111 which can conflict with char $ac_func (); below.
32112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32113 <limits.h> exists even on freestanding compilers. */
32115 # include <limits.h>
32117 # include <assert.h>
32119 /* Override any gcc2 internal prototype to avoid an error. */
32124 /* We use char because int might match the return type of a gcc2
32125 builtin and then its argument prototype would still apply. */
32127 /* The GNU C library defines this for functions which it implements
32128 to always fail with ENOSYS. Some functions are actually named
32129 something starting with __ and the normal name is an alias. */
32130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32133 char (*f) () = $ac_func;
32142 return f != $ac_func;
32147 rm -f conftest.
$ac_objext conftest
$ac_exeext
32148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32149 (eval $ac_link) 2>&5
32151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32152 (exit $ac_status); } &&
32153 { ac_try
='test -s conftest$ac_exeext'
32154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32155 (eval $ac_try) 2>&5
32157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32158 (exit $ac_status); }; }; then
32159 eval "$as_ac_var=yes"
32161 echo "$as_me: failed program was:" >&5
32162 sed 's/^/| /' conftest.
$ac_ext >&5
32164 eval "$as_ac_var=no"
32166 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32170 if test `eval echo '${'$as_ac_var'}'` = yes; then
32171 cat >>confdefs.h
<<_ACEOF
32172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32175 cat >>confdefs.h
<<\_ACEOF
32176 #define HAVE_SHL_LOAD 1
32183 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32184 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32185 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32186 echo $ECHO_N "(cached) $ECHO_C" >&6
32188 ac_check_lib_save_LIBS
=$LIBS
32189 LIBS
="-lshl_load $LIBS"
32190 cat >conftest.
$ac_ext <<_ACEOF
32191 #line $LINENO "configure"
32194 cat confdefs.h
>>conftest.
$ac_ext
32195 cat >>conftest.
$ac_ext <<_ACEOF
32196 /* end confdefs.h. */
32198 /* Override any gcc2 internal prototype to avoid an error. */
32202 /* We use char because int might match the return type of a gcc2
32203 builtin and then its argument prototype would still apply. */
32213 rm -f conftest.
$ac_objext conftest
$ac_exeext
32214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32215 (eval $ac_link) 2>&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); } &&
32219 { ac_try
='test -s conftest$ac_exeext'
32220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32221 (eval $ac_try) 2>&5
32223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 (exit $ac_status); }; }; then
32225 ac_cv_lib_shl_load_dld
=yes
32227 echo "$as_me: failed program was:" >&5
32228 sed 's/^/| /' conftest.
$ac_ext >&5
32230 ac_cv_lib_shl_load_dld
=no
32232 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32233 LIBS
=$ac_check_lib_save_LIBS
32235 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32236 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32237 if test $ac_cv_lib_shl_load_dld = yes; then
32240 DL_LINK
=" -ldld$DL_LINK"
32256 if test "$HAVE_DL_FUNCS" = 1; then
32258 for ac_func
in dlerror
32260 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32261 echo "$as_me:$LINENO: checking for $ac_func" >&5
32262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32263 if eval "test \"\${$as_ac_var+set}\" = set"; then
32264 echo $ECHO_N "(cached) $ECHO_C" >&6
32266 cat >conftest.
$ac_ext <<_ACEOF
32267 #line $LINENO "configure"
32270 cat confdefs.h
>>conftest.
$ac_ext
32271 cat >>conftest.
$ac_ext <<_ACEOF
32272 /* end confdefs.h. */
32273 /* System header to define __stub macros and hopefully few prototypes,
32274 which can conflict with char $ac_func (); below.
32275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32276 <limits.h> exists even on freestanding compilers. */
32278 # include <limits.h>
32280 # include <assert.h>
32282 /* Override any gcc2 internal prototype to avoid an error. */
32287 /* We use char because int might match the return type of a gcc2
32288 builtin and then its argument prototype would still apply. */
32290 /* The GNU C library defines this for functions which it implements
32291 to always fail with ENOSYS. Some functions are actually named
32292 something starting with __ and the normal name is an alias. */
32293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32296 char (*f) () = $ac_func;
32305 return f != $ac_func;
32310 rm -f conftest.
$ac_objext conftest
$ac_exeext
32311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32312 (eval $ac_link) 2>&5
32314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32315 (exit $ac_status); } &&
32316 { ac_try
='test -s conftest$ac_exeext'
32317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32318 (eval $ac_try) 2>&5
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); }; }; then
32322 eval "$as_ac_var=yes"
32324 echo "$as_me: failed program was:" >&5
32325 sed 's/^/| /' conftest.
$ac_ext >&5
32327 eval "$as_ac_var=no"
32329 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32333 if test `eval echo '${'$as_ac_var'}'` = yes; then
32334 cat >>confdefs.h
<<_ACEOF
32335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32337 cat >>confdefs.h
<<\_ACEOF
32338 #define HAVE_DLERROR 1
32343 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32344 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32345 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32346 echo $ECHO_N "(cached) $ECHO_C" >&6
32348 ac_check_lib_save_LIBS
=$LIBS
32350 cat >conftest.
$ac_ext <<_ACEOF
32351 #line $LINENO "configure"
32354 cat confdefs.h
>>conftest.
$ac_ext
32355 cat >>conftest.
$ac_ext <<_ACEOF
32356 /* end confdefs.h. */
32358 /* Override any gcc2 internal prototype to avoid an error. */
32362 /* We use char because int might match the return type of a gcc2
32363 builtin and then its argument prototype would still apply. */
32373 rm -f conftest.
$ac_objext conftest
$ac_exeext
32374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32375 (eval $ac_link) 2>&5
32377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378 (exit $ac_status); } &&
32379 { ac_try
='test -s conftest$ac_exeext'
32380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32381 (eval $ac_try) 2>&5
32383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32384 (exit $ac_status); }; }; then
32385 ac_cv_lib_dl_dlerror
=yes
32387 echo "$as_me: failed program was:" >&5
32388 sed 's/^/| /' conftest.
$ac_ext >&5
32390 ac_cv_lib_dl_dlerror
=no
32392 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32393 LIBS
=$ac_check_lib_save_LIBS
32395 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32396 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32397 if test $ac_cv_lib_dl_dlerror = yes; then
32398 cat >>confdefs.h
<<\_ACEOF
32399 #define HAVE_DLERROR 1
32412 if test "$HAVE_DL_FUNCS" = 0; then
32413 if test "$HAVE_SHL_FUNCS" = 0; then
32414 if test "$USE_UNIX" = 1; then
32415 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32416 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32417 wxUSE_DYNAMIC_LOADER
=no
32418 wxUSE_DYNLIB_CLASS
=no
32420 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32421 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32428 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32429 cat >>confdefs.h
<<\_ACEOF
32430 #define wxUSE_DYNAMIC_LOADER 1
32434 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32435 cat >>confdefs.h
<<\_ACEOF
32436 #define wxUSE_DYNLIB_CLASS 1
32442 if test "$wxUSE_FONTMAP" = "yes" ; then
32443 cat >>confdefs.h
<<\_ACEOF
32444 #define wxUSE_FONTMAP 1
32449 if test "$wxUSE_UNICODE" = "yes" ; then
32450 cat >>confdefs.h
<<\_ACEOF
32451 #define wxUSE_UNICODE 1
32455 if test "$USE_WIN32" != 1; then
32456 wxUSE_UNICODE_MSLU
=no
32459 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32460 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32461 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32462 if test "${ac_cv_lib_unicows_main+set}" = set; then
32463 echo $ECHO_N "(cached) $ECHO_C" >&6
32465 ac_check_lib_save_LIBS
=$LIBS
32466 LIBS
="-lunicows $LIBS"
32467 cat >conftest.
$ac_ext <<_ACEOF
32468 #line $LINENO "configure"
32471 cat confdefs.h
>>conftest.
$ac_ext
32472 cat >>conftest.
$ac_ext <<_ACEOF
32473 /* end confdefs.h. */
32484 rm -f conftest.
$ac_objext conftest
$ac_exeext
32485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32486 (eval $ac_link) 2>&5
32488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489 (exit $ac_status); } &&
32490 { ac_try
='test -s conftest$ac_exeext'
32491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32492 (eval $ac_try) 2>&5
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); }; }; then
32496 ac_cv_lib_unicows_main
=yes
32498 echo "$as_me: failed program was:" >&5
32499 sed 's/^/| /' conftest.
$ac_ext >&5
32501 ac_cv_lib_unicows_main
=no
32503 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32504 LIBS
=$ac_check_lib_save_LIBS
32506 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32507 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32508 if test $ac_cv_lib_unicows_main = yes; then
32510 cat >>confdefs.h
<<\_ACEOF
32511 #define wxUSE_UNICODE_MSLU 1
32517 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32518 Applications will only run on Windows NT/2000/XP!" >&5
32519 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32520 Applications will only run on Windows NT/2000/XP!" >&2;}
32521 wxUSE_UNICODE_MSLU
=no
32528 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32529 cat >>confdefs.h
<<\_ACEOF
32530 #define wxUSE_EXPERIMENTAL_PRINTF 1
32536 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32537 cat >>confdefs.h
<<\_ACEOF
32538 #define wxUSE_POSTSCRIPT 1
32543 cat >>confdefs.h
<<\_ACEOF
32544 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32548 cat >>confdefs.h
<<\_ACEOF
32549 #define wxUSE_NORMALIZED_PS_FONTS 1
32554 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32555 cat >>confdefs.h
<<\_ACEOF
32556 #define wxUSE_CONSTRAINTS 1
32559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32562 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32563 cat >>confdefs.h
<<\_ACEOF
32564 #define wxUSE_MDI_ARCHITECTURE 1
32567 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32570 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32571 cat >>confdefs.h
<<\_ACEOF
32572 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32576 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32581 if test "$wxUSE_HELP" = "yes"; then
32582 cat >>confdefs.h
<<\_ACEOF
32583 #define wxUSE_HELP 1
32586 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32588 if test "$wxUSE_MSW" = 1; then
32589 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32590 cat >>confdefs.h
<<\_ACEOF
32591 #define wxUSE_MS_HTML_HELP 1
32597 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32598 if test "$wxUSE_HTML" = "yes"; then
32599 cat >>confdefs.h
<<\_ACEOF
32600 #define wxUSE_WXHTML_HELP 1
32604 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32605 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32606 wxUSE_WXHTML_HELP
=no
32611 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32612 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32613 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32614 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32616 cat >>confdefs.h
<<\_ACEOF
32617 #define wxUSE_PRINTING_ARCHITECTURE 1
32621 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32624 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32625 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32626 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32627 { (exit 1); exit 1; }; }
32631 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32632 -o "$wxUSE_CLIPBOARD" = "yes" \
32633 -o "$wxUSE_OLE" = "yes" \
32634 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32636 for ac_header
in ole2.h
32638 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32640 echo "$as_me:$LINENO: checking for $ac_header" >&5
32641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32643 echo $ECHO_N "(cached) $ECHO_C" >&6
32645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32648 # Is the header compilable?
32649 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32650 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32651 cat >conftest.
$ac_ext <<_ACEOF
32652 #line $LINENO "configure"
32655 cat confdefs.h
>>conftest.
$ac_ext
32656 cat >>conftest.
$ac_ext <<_ACEOF
32657 /* end confdefs.h. */
32658 $ac_includes_default
32659 #include <$ac_header>
32661 rm -f conftest.
$ac_objext
32662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32663 (eval $ac_compile) 2>&5
32665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32666 (exit $ac_status); } &&
32667 { ac_try
='test -s conftest.$ac_objext'
32668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32669 (eval $ac_try) 2>&5
32671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32672 (exit $ac_status); }; }; then
32673 ac_header_compiler
=yes
32675 echo "$as_me: failed program was:" >&5
32676 sed 's/^/| /' conftest.
$ac_ext >&5
32678 ac_header_compiler
=no
32680 rm -f conftest.
$ac_objext conftest.
$ac_ext
32681 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32682 echo "${ECHO_T}$ac_header_compiler" >&6
32684 # Is the header present?
32685 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32686 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32687 cat >conftest.
$ac_ext <<_ACEOF
32688 #line $LINENO "configure"
32691 cat confdefs.h
>>conftest.
$ac_ext
32692 cat >>conftest.
$ac_ext <<_ACEOF
32693 /* end confdefs.h. */
32694 #include <$ac_header>
32696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32697 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32699 grep -v '^ *+' conftest.er1
>conftest.err
32701 cat conftest.err
>&5
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); } >/dev
/null
; then
32704 if test -s conftest.err
; then
32705 ac_cpp_err
=$ac_c_preproc_warn_flag
32712 if test -z "$ac_cpp_err"; then
32713 ac_header_preproc
=yes
32715 echo "$as_me: failed program was:" >&5
32716 sed 's/^/| /' conftest.
$ac_ext >&5
32718 ac_header_preproc
=no
32720 rm -f conftest.err conftest.
$ac_ext
32721 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32722 echo "${ECHO_T}$ac_header_preproc" >&6
32724 # So? What about this header?
32725 case $ac_header_compiler:$ac_header_preproc in
32727 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32728 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32730 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32733 ## ------------------------------------ ##
32734 ## Report this to bug-autoconf@gnu.org. ##
32735 ## ------------------------------------ ##
32738 sed "s/^/$as_me: WARNING: /" >&2
32741 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32742 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32743 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32744 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32749 ## ------------------------------------ ##
32750 ## Report this to bug-autoconf@gnu.org. ##
32751 ## ------------------------------------ ##
32754 sed "s/^/$as_me: WARNING: /" >&2
32757 echo "$as_me:$LINENO: checking for $ac_header" >&5
32758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32760 echo $ECHO_N "(cached) $ECHO_C" >&6
32762 eval "$as_ac_Header=$ac_header_preproc"
32764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32769 cat >>confdefs.h
<<_ACEOF
32770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32778 if test "$ac_cv_header_ole2_h" = "yes" ; then
32779 if test "$GCC" = yes ; then
32783 ac_cpp
='$CXXCPP $CPPFLAGS'
32784 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32785 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32786 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32789 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32790 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32791 cat >conftest.
$ac_ext <<_ACEOF
32792 #line $LINENO "configure"
32795 cat confdefs.h
>>conftest.
$ac_ext
32796 cat >>conftest.
$ac_ext <<_ACEOF
32797 /* end confdefs.h. */
32798 #include <windows.h>
32808 rm -f conftest.
$ac_objext
32809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32810 (eval $ac_compile) 2>&5
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 (exit $ac_status); } &&
32814 { ac_try
='test -s conftest.$ac_objext'
32815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32816 (eval $ac_try) 2>&5
32818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819 (exit $ac_status); }; }; then
32820 echo "$as_me:$LINENO: result: no" >&5
32821 echo "${ECHO_T}no" >&6
32823 echo "$as_me: failed program was:" >&5
32824 sed 's/^/| /' conftest.
$ac_ext >&5
32826 echo "$as_me:$LINENO: result: yes" >&5
32827 echo "${ECHO_T}yes" >&6
32828 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32830 rm -f conftest.
$ac_objext conftest.
$ac_ext
32832 ac_cpp
='$CPP $CPPFLAGS'
32833 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32834 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32835 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32837 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32838 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32839 cat >>confdefs.h
<<\_ACEOF
32840 #define wxUSE_OLE 1
32846 cat >>confdefs.h
<<\_ACEOF
32847 #define wxUSE_DATAOBJ 1
32851 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32852 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32855 wxUSE_DRAG_AND_DROP
=no
32860 if test "$wxUSE_METAFILE" = "yes"; then
32861 cat >>confdefs.h
<<\_ACEOF
32862 #define wxUSE_METAFILE 1
32866 cat >>confdefs.h
<<\_ACEOF
32867 #define wxUSE_ENH_METAFILE 1
32873 if test "$wxUSE_IPC" = "yes"; then
32874 if test "$wxUSE_SOCKETS" != "yes"; then
32875 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32876 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32879 cat >>confdefs.h
<<\_ACEOF
32880 #define wxUSE_IPC 1
32885 if test "$wxUSE_CLIPBOARD" = "yes"; then
32886 if test "$wxUSE_MGL" = 1; then
32887 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32888 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32892 if test "$wxUSE_CLIPBOARD" = "yes"; then
32893 cat >>confdefs.h
<<\_ACEOF
32894 #define wxUSE_CLIPBOARD 1
32898 cat >>confdefs.h
<<\_ACEOF
32899 #define wxUSE_DATAOBJ 1
32905 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32906 if test "$wxUSE_GTK" = 1; then
32907 if test "$WXGTK12" != 1; then
32908 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32909 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32910 wxUSE_DRAG_AND_DROP
=no
32914 if test "$wxUSE_MOTIF" = 1; then
32915 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32916 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32917 wxUSE_DRAG_AND_DROP
=no
32920 if test "$wxUSE_X11" = 1; then
32921 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32922 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32923 wxUSE_DRAG_AND_DROP
=no
32926 if test "$wxUSE_MGL" = 1; then
32927 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32928 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32929 wxUSE_DRAG_AND_DROP
=no
32932 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32933 cat >>confdefs.h
<<\_ACEOF
32934 #define wxUSE_DRAG_AND_DROP 1
32937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32942 if test "$wxUSE_SPLINES" = "yes" ; then
32943 cat >>confdefs.h
<<\_ACEOF
32944 #define wxUSE_SPLINES 1
32951 if test "$wxUSE_CONTROLS" = "yes"; then
32955 if test "$wxUSE_ACCEL" = "yes"; then
32956 cat >>confdefs.h
<<\_ACEOF
32957 #define wxUSE_ACCEL 1
32963 if test "$wxUSE_BUTTON" = "yes"; then
32964 cat >>confdefs.h
<<\_ACEOF
32965 #define wxUSE_BUTTON 1
32971 if test "$wxUSE_BMPBUTTON" = "yes"; then
32972 cat >>confdefs.h
<<\_ACEOF
32973 #define wxUSE_BMPBUTTON 1
32979 if test "$wxUSE_CALCTRL" = "yes"; then
32980 cat >>confdefs.h
<<\_ACEOF
32981 #define wxUSE_CALENDARCTRL 1
32985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32988 if test "$wxUSE_CARET" = "yes"; then
32989 cat >>confdefs.h
<<\_ACEOF
32990 #define wxUSE_CARET 1
32994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32997 if test "$wxUSE_COMBOBOX" = "yes"; then
32998 cat >>confdefs.h
<<\_ACEOF
32999 #define wxUSE_COMBOBOX 1
33005 if test "$wxUSE_CHOICE" = "yes"; then
33006 cat >>confdefs.h
<<\_ACEOF
33007 #define wxUSE_CHOICE 1
33013 if test "$wxUSE_CHECKBOX" = "yes"; then
33014 cat >>confdefs.h
<<\_ACEOF
33015 #define wxUSE_CHECKBOX 1
33021 if test "$wxUSE_CHECKLST" = "yes"; then
33022 cat >>confdefs.h
<<\_ACEOF
33023 #define wxUSE_CHECKLISTBOX 1
33027 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
33030 if test "$wxUSE_DISPLAY" = "yes"; then
33031 cat >>confdefs.h
<<\_ACEOF
33032 #define wxUSE_DISPLAY 1
33035 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
33038 if test "$wxUSE_GAUGE" = "yes"; then
33039 cat >>confdefs.h
<<\_ACEOF
33040 #define wxUSE_GAUGE 1
33046 if test "$wxUSE_GRID" = "yes"; then
33047 cat >>confdefs.h
<<\_ACEOF
33048 #define wxUSE_GRID 1
33052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
33055 if test "$wxUSE_IMAGLIST" = "yes"; then
33056 cat >>confdefs.h
<<\_ACEOF
33057 #define wxUSE_IMAGLIST 1
33062 if test "$wxUSE_LISTBOOK" = "yes"; then
33063 cat >>confdefs.h
<<\_ACEOF
33064 #define wxUSE_LISTBOOK 1
33070 if test "$wxUSE_LISTBOX" = "yes"; then
33071 cat >>confdefs.h
<<\_ACEOF
33072 #define wxUSE_LISTBOX 1
33078 if test "$wxUSE_LISTCTRL" = "yes"; then
33079 if test "$wxUSE_IMAGLIST" = "yes"; then
33080 cat >>confdefs.h
<<\_ACEOF
33081 #define wxUSE_LISTCTRL 1
33085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
33087 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
33088 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
33092 if test "$wxUSE_NOTEBOOK" = "yes"; then
33093 cat >>confdefs.h
<<\_ACEOF
33094 #define wxUSE_NOTEBOOK 1
33098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
33102 if test "$wxUSE_RADIOBOX" = "yes"; then
33103 cat >>confdefs.h
<<\_ACEOF
33104 #define wxUSE_RADIOBOX 1
33110 if test "$wxUSE_RADIOBTN" = "yes"; then
33111 cat >>confdefs.h
<<\_ACEOF
33112 #define wxUSE_RADIOBTN 1
33118 if test "$wxUSE_SASH" = "yes"; then
33119 cat >>confdefs.h
<<\_ACEOF
33120 #define wxUSE_SASH 1
33123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
33126 if test "$wxUSE_SCROLLBAR" = "yes"; then
33127 cat >>confdefs.h
<<\_ACEOF
33128 #define wxUSE_SCROLLBAR 1
33132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
33135 if test "$wxUSE_SLIDER" = "yes"; then
33136 cat >>confdefs.h
<<\_ACEOF
33137 #define wxUSE_SLIDER 1
33143 if test "$wxUSE_SPINBTN" = "yes"; then
33144 cat >>confdefs.h
<<\_ACEOF
33145 #define wxUSE_SPINBTN 1
33151 if test "$wxUSE_SPINCTRL" = "yes"; then
33152 cat >>confdefs.h
<<\_ACEOF
33153 #define wxUSE_SPINCTRL 1
33159 if test "$wxUSE_SPLITTER" = "yes"; then
33160 cat >>confdefs.h
<<\_ACEOF
33161 #define wxUSE_SPLITTER 1
33164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
33167 if test "$wxUSE_STATBMP" = "yes"; then
33168 cat >>confdefs.h
<<\_ACEOF
33169 #define wxUSE_STATBMP 1
33175 if test "$wxUSE_STATBOX" = "yes"; then
33176 cat >>confdefs.h
<<\_ACEOF
33177 #define wxUSE_STATBOX 1
33183 if test "$wxUSE_STATTEXT" = "yes"; then
33184 cat >>confdefs.h
<<\_ACEOF
33185 #define wxUSE_STATTEXT 1
33191 if test "$wxUSE_STATLINE" = "yes"; then
33192 cat >>confdefs.h
<<\_ACEOF
33193 #define wxUSE_STATLINE 1
33199 if test "$wxUSE_STATUSBAR" = "yes"; then
33200 cat >>confdefs.h
<<\_ACEOF
33201 #define wxUSE_STATUSBAR 1
33206 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
33209 if test "$wxUSE_TABDIALOG" = "yes"; then
33210 cat >>confdefs.h
<<\_ACEOF
33211 #define wxUSE_TAB_DIALOG 1
33214 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
33217 if test "$wxUSE_TEXTCTRL" = "yes"; then
33218 cat >>confdefs.h
<<\_ACEOF
33219 #define wxUSE_TEXTCTRL 1
33223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
33226 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33227 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33228 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33229 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33232 if test "$wxUSE_UNIVERSAL" = "yes"; then
33233 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33234 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33238 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33239 cat >>confdefs.h
<<\_ACEOF
33240 #define wxUSE_TOGGLEBTN 1
33247 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33248 cat >>confdefs.h
<<\_ACEOF
33249 #define wxUSE_TOOLBAR_SIMPLE 1
33252 wxUSE_TOOLBAR
="yes"
33256 if test "$wxUSE_TOOLBAR" = "yes"; then
33257 cat >>confdefs.h
<<\_ACEOF
33258 #define wxUSE_TOOLBAR 1
33263 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33264 wxUSE_TOOLBAR_NATIVE
="yes"
33267 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33268 cat >>confdefs.h
<<\_ACEOF
33269 #define wxUSE_TOOLBAR_NATIVE 1
33275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
33278 if test "$wxUSE_TOOLTIPS" = "yes"; then
33279 if test "$wxUSE_MOTIF" = 1; then
33280 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33281 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33283 if test "$wxUSE_UNIVERSAL" = "yes"; then
33284 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33285 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33287 cat >>confdefs.h
<<\_ACEOF
33288 #define wxUSE_TOOLTIPS 1
33295 if test "$wxUSE_TREECTRL" = "yes"; then
33296 if test "$wxUSE_IMAGLIST" = "yes"; then
33297 cat >>confdefs.h
<<\_ACEOF
33298 #define wxUSE_TREECTRL 1
33302 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
33304 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33305 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33309 if test "$wxUSE_POPUPWIN" = "yes"; then
33310 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33311 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33312 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33314 if test "$wxUSE_PM" = 1; then
33315 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33316 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33318 cat >>confdefs.h
<<\_ACEOF
33319 #define wxUSE_POPUPWIN 1
33328 if test "$wxUSE_TIPWINDOW" = "yes"; then
33329 if test "$wxUSE_PM" = 1; then
33330 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33331 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33333 cat >>confdefs.h
<<\_ACEOF
33334 #define wxUSE_TIPWINDOW 1
33340 if test "$USES_CONTROLS" = 1; then
33341 cat >>confdefs.h
<<\_ACEOF
33342 #define wxUSE_CONTROLS 1
33348 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33349 cat >>confdefs.h
<<\_ACEOF
33350 #define wxUSE_ACCESSIBILITY 1
33353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
33356 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33357 cat >>confdefs.h
<<\_ACEOF
33358 #define wxUSE_DRAGIMAGE 1
33361 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
33364 if test "$wxUSE_EXCEPTIONS" = "yes"; then
33365 cat >>confdefs.h
<<\_ACEOF
33366 #define wxUSE_EXCEPTIONS 1
33372 if test "$wxUSE_HTML" = "yes"; then
33373 cat >>confdefs.h
<<\_ACEOF
33374 #define wxUSE_HTML 1
33378 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33381 if test "$wxUSE_MENUS" = "yes"; then
33382 cat >>confdefs.h
<<\_ACEOF
33383 #define wxUSE_MENUS 1
33386 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
33389 if test "$wxUSE_METAFILE" = "yes"; then
33390 cat >>confdefs.h
<<\_ACEOF
33391 #define wxUSE_METAFILE 1
33396 if test "$wxUSE_MIMETYPE" = "yes"; then
33397 cat >>confdefs.h
<<\_ACEOF
33398 #define wxUSE_MIMETYPE 1
33403 if test "$wxUSE_MINIFRAME" = "yes"; then
33404 cat >>confdefs.h
<<\_ACEOF
33405 #define wxUSE_MINIFRAME 1
33408 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
33411 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33412 cat >>confdefs.h
<<\_ACEOF
33413 #define wxUSE_SYSTEM_OPTIONS 1
33416 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33417 "$TOOLKIT" = "MOTIF"; then
33418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
33423 if test "$wxUSE_VALIDATORS" = "yes"; then
33424 cat >>confdefs.h
<<\_ACEOF
33425 #define wxUSE_VALIDATORS 1
33428 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
33431 if test "$wxUSE_PALETTE" = "yes" ; then
33432 cat >>confdefs.h
<<\_ACEOF
33433 #define wxUSE_PALETTE 1
33438 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33439 LIBS
=" -lunicows $LIBS"
33443 if test "$wxUSE_IMAGE" = "yes" ; then
33444 cat >>confdefs.h
<<\_ACEOF
33445 #define wxUSE_IMAGE 1
33449 if test "$wxUSE_GIF" = "yes" ; then
33450 cat >>confdefs.h
<<\_ACEOF
33451 #define wxUSE_GIF 1
33456 if test "$wxUSE_PCX" = "yes" ; then
33457 cat >>confdefs.h
<<\_ACEOF
33458 #define wxUSE_PCX 1
33463 if test "$wxUSE_IFF" = "yes" ; then
33464 cat >>confdefs.h
<<\_ACEOF
33465 #define wxUSE_IFF 1
33470 if test "$wxUSE_PNM" = "yes" ; then
33471 cat >>confdefs.h
<<\_ACEOF
33472 #define wxUSE_PNM 1
33477 if test "$wxUSE_XPM" = "yes" ; then
33478 cat >>confdefs.h
<<\_ACEOF
33479 #define wxUSE_XPM 1
33484 if test "$wxUSE_ICO_CUR" = "yes" ; then
33485 cat >>confdefs.h
<<\_ACEOF
33486 #define wxUSE_ICO_CUR 1
33493 if test "$wxUSE_CHOICEDLG" = "yes"; then
33494 cat >>confdefs.h
<<\_ACEOF
33495 #define wxUSE_CHOICEDLG 1
33500 if test "$wxUSE_COLOURDLG" = "yes"; then
33501 cat >>confdefs.h
<<\_ACEOF
33502 #define wxUSE_COLOURDLG 1
33507 if test "$wxUSE_FILEDLG" = "yes"; then
33508 cat >>confdefs.h
<<\_ACEOF
33509 #define wxUSE_FILEDLG 1
33514 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33515 cat >>confdefs.h
<<\_ACEOF
33516 #define wxUSE_FINDREPLDLG 1
33521 if test "$wxUSE_FONTDLG" = "yes"; then
33522 cat >>confdefs.h
<<\_ACEOF
33523 #define wxUSE_FONTDLG 1
33528 if test "$wxUSE_DIRDLG" = "yes"; then
33529 if test "$wxUSE_TREECTRL" != "yes"; then
33530 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33531 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33533 cat >>confdefs.h
<<\_ACEOF
33534 #define wxUSE_DIRDLG 1
33540 if test "$wxUSE_MSGDLG" = "yes"; then
33541 cat >>confdefs.h
<<\_ACEOF
33542 #define wxUSE_MSGDLG 1
33547 if test "$wxUSE_NUMBERDLG" = "yes"; then
33548 cat >>confdefs.h
<<\_ACEOF
33549 #define wxUSE_NUMBERDLG 1
33554 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33555 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33556 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33557 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33559 cat >>confdefs.h
<<\_ACEOF
33560 #define wxUSE_PROGRESSDLG 1
33566 if test "$wxUSE_SPLASH" = "yes"; then
33567 cat >>confdefs.h
<<\_ACEOF
33568 #define wxUSE_SPLASH 1
33573 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33574 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33575 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33576 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33578 cat >>confdefs.h
<<\_ACEOF
33579 #define wxUSE_STARTUP_TIPS 1
33585 if test "$wxUSE_TEXTDLG" = "yes"; then
33586 cat >>confdefs.h
<<\_ACEOF
33587 #define wxUSE_TEXTDLG 1
33592 if test "$wxUSE_WIZARDDLG" = "yes"; then
33593 cat >>confdefs.h
<<\_ACEOF
33594 #define wxUSE_WIZARDDLG 1
33597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33601 if test "$cross_compiling" = "yes"; then
33604 OSINFO
=`uname -s -r -m`
33605 OSINFO
="\"$OSINFO\""
33608 cat >>confdefs.h
<<_ACEOF
33609 #define WXWIN_OS_DESCRIPTION $OSINFO
33614 if test "x$prefix" != "xNONE"; then
33617 wxPREFIX
=$ac_default_prefix
33620 cat >>confdefs.h
<<_ACEOF
33621 #define wxINSTALL_PREFIX "$wxPREFIX"
33625 top_builddir_wxconfig
=`pwd`
33629 CORE_BASE_LIBS
="net base"
33630 CORE_GUI_LIBS
="adv core"
33632 if test "$wxUSE_XML" = "yes" ; then
33633 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
33635 if test "$wxUSE_ODBC" != "no" ; then
33636 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
33637 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
33639 if test "$wxUSE_HTML" = "yes" ; then
33640 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
33643 if test "$wxUSE_GUI" != "yes"; then
33654 if test "$wxUSE_MAC" = 1 ; then
33655 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33657 if test "$wxUSE_COCOA" = 1 ; then
33658 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33662 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33669 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33670 echo "$as_me:$LINENO: checking for $ac_func" >&5
33671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33672 if eval "test \"\${$as_ac_var+set}\" = set"; then
33673 echo $ECHO_N "(cached) $ECHO_C" >&6
33675 cat >conftest.
$ac_ext <<_ACEOF
33676 #line $LINENO "configure"
33679 cat confdefs.h
>>conftest.
$ac_ext
33680 cat >>conftest.
$ac_ext <<_ACEOF
33681 /* end confdefs.h. */
33682 /* System header to define __stub macros and hopefully few prototypes,
33683 which can conflict with char $ac_func (); below.
33684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33685 <limits.h> exists even on freestanding compilers. */
33687 # include <limits.h>
33689 # include <assert.h>
33691 /* Override any gcc2 internal prototype to avoid an error. */
33696 /* We use char because int might match the return type of a gcc2
33697 builtin and then its argument prototype would still apply. */
33699 /* The GNU C library defines this for functions which it implements
33700 to always fail with ENOSYS. Some functions are actually named
33701 something starting with __ and the normal name is an alias. */
33702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33705 char (*f) () = $ac_func;
33714 return f != $ac_func;
33719 rm -f conftest.
$ac_objext conftest
$ac_exeext
33720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33721 (eval $ac_link) 2>&5
33723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33724 (exit $ac_status); } &&
33725 { ac_try
='test -s conftest$ac_exeext'
33726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33727 (eval $ac_try) 2>&5
33729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33730 (exit $ac_status); }; }; then
33731 eval "$as_ac_var=yes"
33733 echo "$as_me: failed program was:" >&5
33734 sed 's/^/| /' conftest.
$ac_ext >&5
33736 eval "$as_ac_var=no"
33738 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33742 if test `eval echo '${'$as_ac_var'}'` = yes; then
33743 cat >>confdefs.h
<<_ACEOF
33744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33751 for ac_func
in floor
33753 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33754 echo "$as_me:$LINENO: checking for $ac_func" >&5
33755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33756 if eval "test \"\${$as_ac_var+set}\" = set"; then
33757 echo $ECHO_N "(cached) $ECHO_C" >&6
33759 cat >conftest.
$ac_ext <<_ACEOF
33760 #line $LINENO "configure"
33763 cat confdefs.h
>>conftest.
$ac_ext
33764 cat >>conftest.
$ac_ext <<_ACEOF
33765 /* end confdefs.h. */
33766 /* System header to define __stub macros and hopefully few prototypes,
33767 which can conflict with char $ac_func (); below.
33768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33769 <limits.h> exists even on freestanding compilers. */
33771 # include <limits.h>
33773 # include <assert.h>
33775 /* Override any gcc2 internal prototype to avoid an error. */
33780 /* We use char because int might match the return type of a gcc2
33781 builtin and then its argument prototype would still apply. */
33783 /* The GNU C library defines this for functions which it implements
33784 to always fail with ENOSYS. Some functions are actually named
33785 something starting with __ and the normal name is an alias. */
33786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33789 char (*f) () = $ac_func;
33798 return f != $ac_func;
33803 rm -f conftest.
$ac_objext conftest
$ac_exeext
33804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33805 (eval $ac_link) 2>&5
33807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33808 (exit $ac_status); } &&
33809 { ac_try
='test -s conftest$ac_exeext'
33810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33811 (eval $ac_try) 2>&5
33813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33814 (exit $ac_status); }; }; then
33815 eval "$as_ac_var=yes"
33817 echo "$as_me: failed program was:" >&5
33818 sed 's/^/| /' conftest.
$ac_ext >&5
33820 eval "$as_ac_var=no"
33822 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33826 if test `eval echo '${'$as_ac_var'}'` = yes; then
33827 cat >>confdefs.h
<<_ACEOF
33828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33834 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33835 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33836 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33837 echo "$as_me:$LINENO: result: yes" >&5
33838 echo "${ECHO_T}yes" >&6
33840 echo "$as_me:$LINENO: result: no" >&5
33841 echo "${ECHO_T}no" >&6
33843 # use different functions to avoid configure caching
33849 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33850 echo "$as_me:$LINENO: checking for $ac_func" >&5
33851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33852 if eval "test \"\${$as_ac_var+set}\" = set"; then
33853 echo $ECHO_N "(cached) $ECHO_C" >&6
33855 cat >conftest.
$ac_ext <<_ACEOF
33856 #line $LINENO "configure"
33859 cat confdefs.h
>>conftest.
$ac_ext
33860 cat >>conftest.
$ac_ext <<_ACEOF
33861 /* end confdefs.h. */
33862 /* System header to define __stub macros and hopefully few prototypes,
33863 which can conflict with char $ac_func (); below.
33864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33865 <limits.h> exists even on freestanding compilers. */
33867 # include <limits.h>
33869 # include <assert.h>
33871 /* Override any gcc2 internal prototype to avoid an error. */
33876 /* We use char because int might match the return type of a gcc2
33877 builtin and then its argument prototype would still apply. */
33879 /* The GNU C library defines this for functions which it implements
33880 to always fail with ENOSYS. Some functions are actually named
33881 something starting with __ and the normal name is an alias. */
33882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33885 char (*f) () = $ac_func;
33894 return f != $ac_func;
33899 rm -f conftest.
$ac_objext conftest
$ac_exeext
33900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33901 (eval $ac_link) 2>&5
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); } &&
33905 { ac_try
='test -s conftest$ac_exeext'
33906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33907 (eval $ac_try) 2>&5
33909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33910 (exit $ac_status); }; }; then
33911 eval "$as_ac_var=yes"
33913 echo "$as_me: failed program was:" >&5
33914 sed 's/^/| /' conftest.
$ac_ext >&5
33916 eval "$as_ac_var=no"
33918 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33922 if test `eval echo '${'$as_ac_var'}'` = yes; then
33923 cat >>confdefs.h
<<_ACEOF
33924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33931 for ac_func
in ceil
33933 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33934 echo "$as_me:$LINENO: checking for $ac_func" >&5
33935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33936 if eval "test \"\${$as_ac_var+set}\" = set"; then
33937 echo $ECHO_N "(cached) $ECHO_C" >&6
33939 cat >conftest.
$ac_ext <<_ACEOF
33940 #line $LINENO "configure"
33943 cat confdefs.h
>>conftest.
$ac_ext
33944 cat >>conftest.
$ac_ext <<_ACEOF
33945 /* end confdefs.h. */
33946 /* System header to define __stub macros and hopefully few prototypes,
33947 which can conflict with char $ac_func (); below.
33948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33949 <limits.h> exists even on freestanding compilers. */
33951 # include <limits.h>
33953 # include <assert.h>
33955 /* Override any gcc2 internal prototype to avoid an error. */
33960 /* We use char because int might match the return type of a gcc2
33961 builtin and then its argument prototype would still apply. */
33963 /* The GNU C library defines this for functions which it implements
33964 to always fail with ENOSYS. Some functions are actually named
33965 something starting with __ and the normal name is an alias. */
33966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33969 char (*f) () = $ac_func;
33978 return f != $ac_func;
33983 rm -f conftest.
$ac_objext conftest
$ac_exeext
33984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33985 (eval $ac_link) 2>&5
33987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33988 (exit $ac_status); } &&
33989 { ac_try
='test -s conftest$ac_exeext'
33990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33991 (eval $ac_try) 2>&5
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); }; }; then
33995 eval "$as_ac_var=yes"
33997 echo "$as_me: failed program was:" >&5
33998 sed 's/^/| /' conftest.
$ac_ext >&5
34000 eval "$as_ac_var=no"
34002 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34006 if test `eval echo '${'$as_ac_var'}'` = yes; then
34007 cat >>confdefs.h
<<_ACEOF
34008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34014 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
34015 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
34016 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
34017 echo "$as_me:$LINENO: result: yes" >&5
34018 echo "${ECHO_T}yes" >&6
34020 echo "$as_me:$LINENO: result: no" >&5
34021 echo "${ECHO_T}no" >&6
34022 # not sure we should warn the user, crash, etc.
34026 if test "$wxUSE_GUI" = "yes"; then
34029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
34030 drawing dynamic erase event exec font image \
34031 minimal propsize rotate shaped widgets render"
34033 if test "$wxUSE_MONOLITHIC" != "yes"; then
34034 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
34037 SAMPLES_SUBDIRS
="console"
34041 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
34042 -I\${top_srcdir}/include \
34043 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
34046 if test "$GXX" = yes ; then
34047 CXXWARNINGS
="-Wall"
34050 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34052 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34053 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34054 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34057 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
34058 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
34059 EXTRALIBS_XML
="$EXPAT_LINK"
34060 EXTRALIBS_HTML
="$MSPACK_LINK"
34061 EXTRALIBS_ODBC
="$ODBC_LINK"
34062 if test "$wxUSE_GUI" = "yes"; then
34063 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
34065 if test "$wxUSE_OPENGL" = "yes"; then
34066 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
34069 LDFLAGS
="$LDFLAGS $PROFILE"
34071 if test "$wxUSE_GTK" = 1; then
34074 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
34077 WXCONFIG_EXTRALIBS
="$LIBS"
34079 if test "$wxUSE_REGEX" = "builtin" ; then
34080 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
34082 if test "$wxUSE_EXPAT" = "builtin" ; then
34083 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
34085 if test "$wxUSE_ODBC" = "builtin" ; then
34086 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
34088 if test "$wxUSE_LIBTIFF" = "builtin" ; then
34089 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
34091 if test "$wxUSE_LIBJPEG" = "builtin" ; then
34092 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
34094 if test "$wxUSE_LIBPNG" = "builtin" ; then
34095 wxconfig_3rdparty
="$wxconfig_3rdparty png"
34097 if test "$wxUSE_ZLIB" = "builtin" ; then
34098 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
34100 if test "$wxUSE_ODBC" = "builtin" ; then
34101 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
34104 for i
in $wxconfig_3rdparty ; do
34105 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
34109 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
34123 if test $wxUSE_MONOLITHIC = "yes" ; then
34129 if test $wxUSE_ODBC != "no" ; then
34135 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
34158 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
34166 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
34168 if test -n "$ac_tool_prefix"; then
34169 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
34170 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
34171 echo "$as_me:$LINENO: checking for $ac_word" >&5
34172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34173 if test "${ac_cv_prog_RANLIB+set}" = set; then
34174 echo $ECHO_N "(cached) $ECHO_C" >&6
34176 if test -n "$RANLIB"; then
34177 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
34179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34180 for as_dir
in $PATH
34183 test -z "$as_dir" && as_dir
=.
34184 for ac_exec_ext
in '' $ac_executable_extensions; do
34185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34186 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
34187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34195 RANLIB
=$ac_cv_prog_RANLIB
34196 if test -n "$RANLIB"; then
34197 echo "$as_me:$LINENO: result: $RANLIB" >&5
34198 echo "${ECHO_T}$RANLIB" >&6
34200 echo "$as_me:$LINENO: result: no" >&5
34201 echo "${ECHO_T}no" >&6
34205 if test -z "$ac_cv_prog_RANLIB"; then
34206 ac_ct_RANLIB
=$RANLIB
34207 # Extract the first word of "ranlib", so it can be a program name with args.
34208 set dummy ranlib
; ac_word
=$2
34209 echo "$as_me:$LINENO: checking for $ac_word" >&5
34210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34211 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34212 echo $ECHO_N "(cached) $ECHO_C" >&6
34214 if test -n "$ac_ct_RANLIB"; then
34215 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
34217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34218 for as_dir
in $PATH
34221 test -z "$as_dir" && as_dir
=.
34222 for ac_exec_ext
in '' $ac_executable_extensions; do
34223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34224 ac_cv_prog_ac_ct_RANLIB
="ranlib"
34225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34231 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
34234 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
34235 if test -n "$ac_ct_RANLIB"; then
34236 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34237 echo "${ECHO_T}$ac_ct_RANLIB" >&6
34239 echo "$as_me:$LINENO: result: no" >&5
34240 echo "${ECHO_T}no" >&6
34243 RANLIB
=$ac_ct_RANLIB
34245 RANLIB
="$ac_cv_prog_RANLIB"
34248 # Find a good install program. We prefer a C program (faster),
34249 # so one script is as good as another. But avoid the broken or
34250 # incompatible versions:
34251 # SysV /etc/install, /usr/sbin/install
34252 # SunOS /usr/etc/install
34253 # IRIX /sbin/install
34255 # AmigaOS /C/install, which installs bootblocks on floppy discs
34256 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34257 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34258 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34259 # ./install, which can be erroneously created by make from ./install.sh.
34260 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34261 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34262 if test -z "$INSTALL"; then
34263 if test "${ac_cv_path_install+set}" = set; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34267 for as_dir
in $PATH
34270 test -z "$as_dir" && as_dir
=.
34271 # Account for people who put trailing slashes in PATH elements.
34273 .
/ | .
// | /cC
/* | \
34274 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
34277 # OSF1 and SCO ODT 3.0 have their own names for install.
34278 # Don't use installbsd from OSF since it installs stuff as root
34280 for ac_prog
in ginstall scoinst
install; do
34281 for ac_exec_ext
in '' $ac_executable_extensions; do
34282 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34283 if test $ac_prog = install &&
34284 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34285 # AIX install. It has an incompatible calling convention.
34287 elif test $ac_prog = install &&
34288 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34289 # program-specific install script used by HP pwplus--don't use.
34292 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
34304 if test "${ac_cv_path_install+set}" = set; then
34305 INSTALL
=$ac_cv_path_install
34307 # As a last resort, use the slow shell script. We don't cache a
34308 # path for INSTALL within a source directory, because that will
34309 # break other packages using the cache if that directory is
34310 # removed, or if the path is relative.
34311 INSTALL
=$ac_install_sh
34314 echo "$as_me:$LINENO: result: $INSTALL" >&5
34315 echo "${ECHO_T}$INSTALL" >&6
34317 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34318 # It thinks the first close brace ends the variable substitution.
34319 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
34321 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
34323 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
34325 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34326 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34328 if test "$LN_S" = "ln -s"; then
34329 echo "$as_me:$LINENO: result: yes" >&5
34330 echo "${ECHO_T}yes" >&6
34332 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34333 echo "${ECHO_T}no, using $LN_S" >&6
34337 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34338 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34339 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34340 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34341 echo $ECHO_N "(cached) $ECHO_C" >&6
34343 cat >conftest.
make <<\_ACEOF
34345 @
echo 'ac_maketemp="$(MAKE)"'
34347 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34348 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34349 if test -n "$ac_maketemp"; then
34350 eval ac_cv_prog_make_
${ac_make}_set
=yes
34352 eval ac_cv_prog_make_
${ac_make}_set
=no
34354 rm -f conftest.
make
34356 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34357 echo "$as_me:$LINENO: result: yes" >&5
34358 echo "${ECHO_T}yes" >&6
34361 echo "$as_me:$LINENO: result: no" >&5
34362 echo "${ECHO_T}no" >&6
34363 SET_MAKE
="MAKE=${MAKE-make}"
34368 if test -n "$ac_tool_prefix"; then
34369 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34370 set dummy
${ac_tool_prefix}ar; ac_word
=$2
34371 echo "$as_me:$LINENO: checking for $ac_word" >&5
34372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34373 if test "${ac_cv_prog_AR+set}" = set; then
34374 echo $ECHO_N "(cached) $ECHO_C" >&6
34376 if test -n "$AR"; then
34377 ac_cv_prog_AR
="$AR" # Let the user override the test.
34379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34380 for as_dir
in $PATH
34383 test -z "$as_dir" && as_dir
=.
34384 for ac_exec_ext
in '' $ac_executable_extensions; do
34385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34386 ac_cv_prog_AR
="${ac_tool_prefix}ar"
34387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34396 if test -n "$AR"; then
34397 echo "$as_me:$LINENO: result: $AR" >&5
34398 echo "${ECHO_T}$AR" >&6
34400 echo "$as_me:$LINENO: result: no" >&5
34401 echo "${ECHO_T}no" >&6
34405 if test -z "$ac_cv_prog_AR"; then
34407 # Extract the first word of "ar", so it can be a program name with args.
34408 set dummy
ar; ac_word
=$2
34409 echo "$as_me:$LINENO: checking for $ac_word" >&5
34410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34411 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34412 echo $ECHO_N "(cached) $ECHO_C" >&6
34414 if test -n "$ac_ct_AR"; then
34415 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
34417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34418 for as_dir
in $PATH
34421 test -z "$as_dir" && as_dir
=.
34422 for ac_exec_ext
in '' $ac_executable_extensions; do
34423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34424 ac_cv_prog_ac_ct_AR
="ar"
34425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34431 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
34434 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
34435 if test -n "$ac_ct_AR"; then
34436 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34437 echo "${ECHO_T}$ac_ct_AR" >&6
34439 echo "$as_me:$LINENO: result: no" >&5
34440 echo "${ECHO_T}no" >&6
34445 AR
="$ac_cv_prog_AR"
34448 if test -n "$ac_tool_prefix"; then
34449 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34450 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
34451 echo "$as_me:$LINENO: checking for $ac_word" >&5
34452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34453 if test "${ac_cv_prog_STRIP+set}" = set; then
34454 echo $ECHO_N "(cached) $ECHO_C" >&6
34456 if test -n "$STRIP"; then
34457 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
34459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34460 for as_dir
in $PATH
34463 test -z "$as_dir" && as_dir
=.
34464 for ac_exec_ext
in '' $ac_executable_extensions; do
34465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34466 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
34467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34475 STRIP
=$ac_cv_prog_STRIP
34476 if test -n "$STRIP"; then
34477 echo "$as_me:$LINENO: result: $STRIP" >&5
34478 echo "${ECHO_T}$STRIP" >&6
34480 echo "$as_me:$LINENO: result: no" >&5
34481 echo "${ECHO_T}no" >&6
34485 if test -z "$ac_cv_prog_STRIP"; then
34487 # Extract the first word of "strip", so it can be a program name with args.
34488 set dummy strip
; ac_word
=$2
34489 echo "$as_me:$LINENO: checking for $ac_word" >&5
34490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34491 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34492 echo $ECHO_N "(cached) $ECHO_C" >&6
34494 if test -n "$ac_ct_STRIP"; then
34495 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
34497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34498 for as_dir
in $PATH
34501 test -z "$as_dir" && as_dir
=.
34502 for ac_exec_ext
in '' $ac_executable_extensions; do
34503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34504 ac_cv_prog_ac_ct_STRIP
="strip"
34505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34511 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
34514 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
34515 if test -n "$ac_ct_STRIP"; then
34516 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34517 echo "${ECHO_T}$ac_ct_STRIP" >&6
34519 echo "$as_me:$LINENO: result: no" >&5
34520 echo "${ECHO_T}no" >&6
34525 STRIP
="$ac_cv_prog_STRIP"
34528 if test -n "$ac_tool_prefix"; then
34529 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34530 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
34531 echo "$as_me:$LINENO: checking for $ac_word" >&5
34532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34533 if test "${ac_cv_prog_NM+set}" = set; then
34534 echo $ECHO_N "(cached) $ECHO_C" >&6
34536 if test -n "$NM"; then
34537 ac_cv_prog_NM
="$NM" # Let the user override the test.
34539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34540 for as_dir
in $PATH
34543 test -z "$as_dir" && as_dir
=.
34544 for ac_exec_ext
in '' $ac_executable_extensions; do
34545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34546 ac_cv_prog_NM
="${ac_tool_prefix}nm"
34547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34556 if test -n "$NM"; then
34557 echo "$as_me:$LINENO: result: $NM" >&5
34558 echo "${ECHO_T}$NM" >&6
34560 echo "$as_me:$LINENO: result: no" >&5
34561 echo "${ECHO_T}no" >&6
34565 if test -z "$ac_cv_prog_NM"; then
34567 # Extract the first word of "nm", so it can be a program name with args.
34568 set dummy nm
; ac_word
=$2
34569 echo "$as_me:$LINENO: checking for $ac_word" >&5
34570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34571 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34572 echo $ECHO_N "(cached) $ECHO_C" >&6
34574 if test -n "$ac_ct_NM"; then
34575 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
34577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34578 for as_dir
in $PATH
34581 test -z "$as_dir" && as_dir
=.
34582 for ac_exec_ext
in '' $ac_executable_extensions; do
34583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34584 ac_cv_prog_ac_ct_NM
="nm"
34585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34591 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
34594 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
34595 if test -n "$ac_ct_NM"; then
34596 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34597 echo "${ECHO_T}$ac_ct_NM" >&6
34599 echo "$as_me:$LINENO: result: no" >&5
34600 echo "${ECHO_T}no" >&6
34605 NM
="$ac_cv_prog_NM"
34611 INSTALL_DIR
="mkdir"
34613 *) INSTALL_DIR
="$INSTALL -d"
34620 *-*-cygwin* | *-*-mingw32* )
34621 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
34627 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34628 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34629 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34630 echo $ECHO_N "(cached) $ECHO_C" >&6
34633 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
34634 egrep -s GNU
> /dev
/null
); then
34635 bakefile_cv_prog_makeisgnu
="yes"
34637 bakefile_cv_prog_makeisgnu
="no"
34641 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34642 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34644 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34660 *-*-cygwin* | *-*-mingw32* )
34666 *-pc-os2_emx | *-pc-os2-emx )
34669 powerpc
-*-darwin* )
34687 SO_SUFFIX_MODULE
="so"
34696 SO_SUFFIX_MODULE
="sl"
34700 SO_SUFFIX_MODULE
="a"
34702 *-*-cygwin* | *-*-mingw32* )
34704 SO_SUFFIX_MODULE
="dll"
34712 *-pc-os2_emx | *-pc-os2-emx )
34717 powerpc
-*-darwin* )
34719 SO_SUFFIX_MODULE
="bundle"
34731 SHARED_LD_CC
="\$(CC) -shared -o"
34732 SHARED_LD_CXX
="\$(CXX) -shared -o"
34734 if test "x$GCC" = "xyes"; then
34740 if test "x$GCC" = "xyes"; then
34741 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
34742 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
34744 LDFLAGS
="$LDFLAGS -L/usr/lib"
34746 SHARED_LD_CC
="${CC} -b -o"
34747 SHARED_LD_CXX
="${CXX} -b -o"
34753 if test "x$GCC" != "xyes"; then
34754 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34755 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34756 if test "${bakefile_cv_prog_icc+set}" = set; then
34757 echo $ECHO_N "(cached) $ECHO_C" >&6
34760 cat >conftest.
$ac_ext <<_ACEOF
34761 #line $LINENO "configure"
34764 cat confdefs.h
>>conftest.
$ac_ext
34765 cat >>conftest.
$ac_ext <<_ACEOF
34766 /* end confdefs.h. */
34772 #ifndef __INTEL_COMPILER
34780 rm -f conftest.
$ac_objext
34781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34782 (eval $ac_compile) 2>&5
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); } &&
34786 { ac_try
='test -s conftest.$ac_objext'
34787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34788 (eval $ac_try) 2>&5
34790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34791 (exit $ac_status); }; }; then
34792 bakefile_cv_prog_icc
=yes
34794 echo "$as_me: failed program was:" >&5
34795 sed 's/^/| /' conftest.
$ac_ext >&5
34797 bakefile_cv_prog_icc
=no
34800 rm -f conftest.
$ac_objext conftest.
$ac_ext
34803 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34804 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34805 if test "$bakefile_cv_prog_icc" = "yes"; then
34812 if test "x$GCC" != xyes
; then
34813 SHARED_LD_CC
="${CC} -G -o"
34814 SHARED_LD_CXX
="${CXX} -G -o"
34820 CFLAGS
="$CFLAGS -fno-common"
34821 CXXFLAGS
="$CXXFLAGS -fno-common"
34824 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34825 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34826 if test "${wx_cv_gcc31+set}" = set; then
34827 echo $ECHO_N "(cached) $ECHO_C" >&6
34830 cat >conftest.
$ac_ext <<_ACEOF
34831 #line $LINENO "configure"
34834 cat confdefs.h
>>conftest.
$ac_ext
34835 cat >>conftest.
$ac_ext <<_ACEOF
34836 /* end confdefs.h. */
34842 #if (__GNUC__ < 3) || \
34843 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34851 rm -f conftest.
$ac_objext
34852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34853 (eval $ac_compile) 2>&5
34855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856 (exit $ac_status); } &&
34857 { ac_try
='test -s conftest.$ac_objext'
34858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34859 (eval $ac_try) 2>&5
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); }; }; then
34867 echo "$as_me: failed program was:" >&5
34868 sed 's/^/| /' conftest.
$ac_ext >&5
34875 rm -f conftest.
$ac_objext conftest.
$ac_ext
34878 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34879 echo "${ECHO_T}$wx_cv_gcc31" >&6
34880 if test "$wx_cv_gcc31" = "no"; then
34881 cat <<EOF >shared-ld-sh
34883 #-----------------------------------------------------------------------------
34884 #-- Name: distrib/mac/shared-ld-sh
34885 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34886 #-- Author: Gilles Depeyrot
34887 #-- Copyright: (c) 2002 Gilles Depeyrot
34888 #-- Licence: any use permitted
34889 #-----------------------------------------------------------------------------
34894 linking_flag="-dynamiclib"
34896 while test \${#} -gt 0; do
34903 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34904 # collect these options and values
34905 args="\${args} \${1} \${2}"
34909 -l*|-L*|-flat_namespace)
34910 # collect these options
34911 args="\${args} \${1}"
34914 -dynamiclib|-bundle)
34915 linking_flag="\${1}"
34919 echo "shared-ld: unhandled option '\${1}'"
34923 *.o | *.a | *.dylib)
34924 # collect object files
34925 objects="\${objects} \${1}"
34929 echo "shared-ld: unhandled argument '\${1}'"
34938 # Link one module containing all the others
34940 if test \${verbose} = 1; then
34941 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34943 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34945 if test \${status} != 0; then
34950 # Link the shared library from the single module created
34952 if test \${verbose} = 1; then
34953 echo "cc \${linking_flag} master.\$\$.o \${args}"
34955 c++ \${linking_flag} master.\$\$.o \${args}
34957 if test \${status} != 0; then
34962 # Remove intermediate module
34964 rm -f master.\$\$.o
34968 chmod +x shared
-ld-sh
34970 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -o"
34971 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -o"
34972 SHARED_LD_CXX
="$SHARED_LD_CC"
34973 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
34975 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -o"
34976 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -o"
34977 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -o"
34978 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -o"
34981 PIC_FLAG
="-dynamic -fPIC"
34985 if test "x$GCC" != "xyes"; then
34986 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34987 set dummy makeC
++SharedLib
; ac_word
=$2
34988 echo "$as_me:$LINENO: checking for $ac_word" >&5
34989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34990 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34991 echo $ECHO_N "(cached) $ECHO_C" >&6
34993 if test -n "$AIX_CXX_LD"; then
34994 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34997 for as_dir
in $PATH
35000 test -z "$as_dir" && as_dir
=.
35001 for ac_exec_ext
in '' $ac_executable_extensions; do
35002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35003 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
35004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35010 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
35013 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
35014 if test -n "$AIX_CXX_LD"; then
35015 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
35016 echo "${ECHO_T}$AIX_CXX_LD" >&6
35018 echo "$as_me:$LINENO: result: no" >&5
35019 echo "${ECHO_T}no" >&6
35022 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
35023 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
35028 SHARED_LD_CC
="${LD} -shared -o"
35029 SHARED_LD_CXX
="${LD} -shared -o"
35033 if test "x$GCC" != "xyes"; then
35038 *-*-cygwin* | *-*-mingw32* )
35042 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
35046 *-pc-os2_emx | *-pc-os2-emx | \
35051 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
35052 echo "$as_me: error: unknown system type $host." >&2;}
35053 { (exit 1); exit 1; }; }
35056 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
35057 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
35059 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
35060 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
35079 SONAME_FLAG
="-Wl,-soname,"
35107 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
35108 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
35111 if test "x$GCC" = "xyes"; then
35115 powerpc
-*-darwin* )
35116 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
35119 DEPSFLAG_GCC
="-MMD"
35122 echo "$as_me:$LINENO: result: gcc" >&5
35123 echo "${ECHO_T}gcc" >&6
35125 echo "$as_me:$LINENO: result: none" >&5
35126 echo "${ECHO_T}none" >&6
35129 if test $DEPS_TRACKING = 1 ; then
35133 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35134 # script. It is used to track C/C++ files dependencies in portable way.
35136 # Permission is given to use this file in any way.
35140 DEPSFLAG_GCC="$DEPSFLAG_GCC"
35144 if test \$DEPSMODE = gcc ; then
35145 \${*} \${DEPSFLAG_GCC}
35147 if test \${status} != 0 ; then
35150 # move created file to the location we want it in:
35151 while test \${#} -gt 0; do
35165 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
35166 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
35167 if test -f \$depfile ; then
35168 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35171 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
35172 if test -f \$depfile ; then
35173 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35193 *-*-cygwin* | *-*-mingw32* )
35194 if test "$build" != "$host" ; then
35195 RESCOMP
=$host_alias-windres
35197 # Extract the first word of "windres", so it can be a program name with args.
35198 set dummy windres
; ac_word
=$2
35199 echo "$as_me:$LINENO: checking for $ac_word" >&5
35200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35201 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35202 echo $ECHO_N "(cached) $ECHO_C" >&6
35204 if test -n "$RESCOMP"; then
35205 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
35207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35208 for as_dir
in $PATH
35211 test -z "$as_dir" && as_dir
=.
35212 for ac_exec_ext
in '' $ac_executable_extensions; do
35213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35214 ac_cv_prog_RESCOMP
="windres"
35215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35221 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
35224 RESCOMP
=$ac_cv_prog_RESCOMP
35225 if test -n "$RESCOMP"; then
35226 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35227 echo "${ECHO_T}$RESCOMP" >&6
35229 echo "$as_me:$LINENO: result: no" >&5
35230 echo "${ECHO_T}no" >&6
35237 # Extract the first word of "Rez", so it can be a program name with args.
35238 set dummy Rez
; ac_word
=$2
35239 echo "$as_me:$LINENO: checking for $ac_word" >&5
35240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35241 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35242 echo $ECHO_N "(cached) $ECHO_C" >&6
35244 if test -n "$RESCOMP"; then
35245 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
35247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35248 for as_dir
in $PATH
35251 test -z "$as_dir" && as_dir
=.
35252 for ac_exec_ext
in '' $ac_executable_extensions; do
35253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35254 ac_cv_prog_RESCOMP
="Rez"
35255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35261 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
35264 RESCOMP
=$ac_cv_prog_RESCOMP
35265 if test -n "$RESCOMP"; then
35266 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35267 echo "${ECHO_T}$RESCOMP" >&6
35269 echo "$as_me:$LINENO: result: no" >&5
35270 echo "${ECHO_T}no" >&6
35273 # Extract the first word of "SetFile", so it can be a program name with args.
35274 set dummy SetFile
; ac_word
=$2
35275 echo "$as_me:$LINENO: checking for $ac_word" >&5
35276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35277 if test "${ac_cv_prog_SETFILE+set}" = set; then
35278 echo $ECHO_N "(cached) $ECHO_C" >&6
35280 if test -n "$SETFILE"; then
35281 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
35283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35284 for as_dir
in $PATH
35287 test -z "$as_dir" && as_dir
=.
35288 for ac_exec_ext
in '' $ac_executable_extensions; do
35289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35290 ac_cv_prog_SETFILE
="SetFile"
35291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35297 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
35300 SETFILE
=$ac_cv_prog_SETFILE
35301 if test -n "$SETFILE"; then
35302 echo "$as_me:$LINENO: result: $SETFILE" >&5
35303 echo "${ECHO_T}$SETFILE" >&6
35305 echo "$as_me:$LINENO: result: no" >&5
35306 echo "${ECHO_T}no" >&6
35321 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35322 if test "${enable_precomp_headers+set}" = set; then
35323 enableval
="$enable_precomp_headers"
35324 bk_use_pch
="$enableval"
35329 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35330 if test "x$GCC" = "xyes"; then
35331 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35332 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35333 cat >conftest.
$ac_ext <<_ACEOF
35334 #line $LINENO "configure"
35337 cat confdefs.h
>>conftest.
$ac_ext
35338 cat >>conftest.
$ac_ext <<_ACEOF
35339 /* end confdefs.h. */
35345 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35346 #error "no pch support"
35349 #error "no pch support"
35351 #if (__GNUC__ == 3) && \
35352 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35353 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35354 #error "no pch support"
35361 rm -f conftest.
$ac_objext
35362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35363 (eval $ac_compile) 2>&5
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 (exit $ac_status); } &&
35367 { ac_try
='test -s conftest.$ac_objext'
35368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35369 (eval $ac_try) 2>&5
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); }; }; then
35374 echo "$as_me:$LINENO: result: yes" >&5
35375 echo "${ECHO_T}yes" >&6
35376 CPPFLAGS
="-fpch-deps $CPPFLAGS"
35380 echo "$as_me: failed program was:" >&5
35381 sed 's/^/| /' conftest.
$ac_ext >&5
35384 echo "$as_me:$LINENO: result: no" >&5
35385 echo "${ECHO_T}no" >&6
35388 rm -f conftest.
$ac_objext conftest.
$ac_ext
35389 if test $GCC_PCH = 1 ; then
35390 cat <<EOF >bk-make-pch
35393 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35394 # script. It is used to generated precompiled headers.
35396 # Permission is given to use this file in any way.
35405 while test \${#} -gt 0; do
35408 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35409 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35410 headerfile="\${incdir}/\${header}"
35414 compiler="\${compiler} \${1}"
35418 if test "x\${headerfile}" = "x" ; then
35419 echo "error: can't find header \${header} in include paths" >2
35421 if test -f \${outfile} ; then
35424 mkdir -p \`dirname \${outfile}\`
35426 depsfile=".deps/\`basename \${outfile}\`.d"
35428 # can do this because gcc is >= 3.4:
35429 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35433 chmod +x bk
-make-pch
35442 COND_BUILD_DEBUG
="#"
35443 if test "x$BUILD" = "xdebug" ; then
35444 COND_BUILD_DEBUG
=""
35447 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
35448 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35449 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
35452 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
35453 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35454 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
35457 COND_BUILD_RELEASE
="#"
35458 if test "x$BUILD" = "xrelease" ; then
35459 COND_BUILD_RELEASE
=""
35462 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
35463 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35464 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
35467 COND_DEBUG_FLAG_1
="#"
35468 if test "x$DEBUG_FLAG" = "x1" ; then
35469 COND_DEBUG_FLAG_1
=""
35472 COND_DEBUG_INFO_0
="#"
35473 if test "x$DEBUG_INFO" = "x0" ; then
35474 COND_DEBUG_INFO_0
=""
35477 COND_DEBUG_INFO_1
="#"
35478 if test "x$DEBUG_INFO" = "x1" ; then
35479 COND_DEBUG_INFO_1
=""
35482 COND_DEPS_TRACKING_0
="#"
35483 if test "x$DEPS_TRACKING" = "x0" ; then
35484 COND_DEPS_TRACKING_0
=""
35487 COND_DEPS_TRACKING_1
="#"
35488 if test "x$DEPS_TRACKING" = "x1" ; then
35489 COND_DEPS_TRACKING_1
=""
35493 if test "x$GCC_PCH" = "x1" ; then
35497 COND_MONOLITHIC_0
="#"
35498 if test "x$MONOLITHIC" = "x0" ; then
35499 COND_MONOLITHIC_0
=""
35502 COND_MONOLITHIC_0_SHARED_0
="#"
35503 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35504 COND_MONOLITHIC_0_SHARED_0
=""
35507 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
35508 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35509 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
35512 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
35513 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35514 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
35517 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
35518 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35519 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
35522 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
35523 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35524 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
35527 COND_MONOLITHIC_0_SHARED_1
="#"
35528 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35529 COND_MONOLITHIC_0_SHARED_1
=""
35532 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
35533 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35534 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
35537 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
35538 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35539 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
35542 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
35543 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35544 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
35547 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
35548 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35549 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
35552 COND_MONOLITHIC_1
="#"
35553 if test "x$MONOLITHIC" = "x1" ; then
35554 COND_MONOLITHIC_1
=""
35557 COND_MONOLITHIC_1_SHARED_0
="#"
35558 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35559 COND_MONOLITHIC_1_SHARED_0
=""
35562 COND_MONOLITHIC_1_SHARED_1
="#"
35563 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35564 COND_MONOLITHIC_1_SHARED_1
=""
35567 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
35568 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35569 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
35572 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
35573 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35574 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
35577 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
35578 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35579 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
35582 COND_PLATFORM_MACOSX_1
="#"
35583 if test "x$PLATFORM_MACOSX" = "x1" ; then
35584 COND_PLATFORM_MACOSX_1
=""
35587 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
35588 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35589 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
35592 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
35593 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35594 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
35597 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
35598 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35599 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
35602 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
35603 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
35604 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
35607 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
35608 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35609 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
35612 COND_PLATFORM_MAC_1
="#"
35613 if test "x$PLATFORM_MAC" = "x1" ; then
35614 COND_PLATFORM_MAC_1
=""
35617 COND_PLATFORM_OS2_1
="#"
35618 if test "x$PLATFORM_OS2" = "x1" ; then
35619 COND_PLATFORM_OS2_1
=""
35622 COND_PLATFORM_UNIX_0
="#"
35623 if test "x$PLATFORM_UNIX" = "x0" ; then
35624 COND_PLATFORM_UNIX_0
=""
35627 COND_PLATFORM_UNIX_1
="#"
35628 if test "x$PLATFORM_UNIX" = "x1" ; then
35629 COND_PLATFORM_UNIX_1
=""
35632 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
35633 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
35634 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
35637 COND_PLATFORM_WIN32_0
="#"
35638 if test "x$PLATFORM_WIN32" = "x0" ; then
35639 COND_PLATFORM_WIN32_0
=""
35642 COND_PLATFORM_WIN32_1
="#"
35643 if test "x$PLATFORM_WIN32" = "x1" ; then
35644 COND_PLATFORM_WIN32_1
=""
35648 if test "x$SHARED" = "x0" ; then
35652 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
35653 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35654 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
35657 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35658 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35659 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35662 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35663 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35664 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35667 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35668 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35669 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35672 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
35673 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35674 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
35677 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
35678 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35679 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
35682 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
35683 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35684 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
35687 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
35688 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35689 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
35693 if test "x$SHARED" = "x1" ; then
35697 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
35698 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35699 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
35702 COND_TOOLKIT_COCOA
="#"
35703 if test "x$TOOLKIT" = "xCOCOA" ; then
35704 COND_TOOLKIT_COCOA
=""
35707 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
35708 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35709 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
35712 COND_TOOLKIT_GTK
="#"
35713 if test "x$TOOLKIT" = "xGTK" ; then
35714 COND_TOOLKIT_GTK
=""
35717 COND_TOOLKIT_GTK_USE_GUI_1
="#"
35718 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35719 COND_TOOLKIT_GTK_USE_GUI_1
=""
35722 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
35723 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35724 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
35727 COND_TOOLKIT_MAC
="#"
35728 if test "x$TOOLKIT" = "xMAC" ; then
35729 COND_TOOLKIT_MAC
=""
35732 COND_TOOLKIT_MAC_USE_GUI_1
="#"
35733 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35734 COND_TOOLKIT_MAC_USE_GUI_1
=""
35737 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
35738 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35739 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
35742 COND_TOOLKIT_MGL
="#"
35743 if test "x$TOOLKIT" = "xMGL" ; then
35744 COND_TOOLKIT_MGL
=""
35747 COND_TOOLKIT_MGL_USE_GUI_1
="#"
35748 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35749 COND_TOOLKIT_MGL_USE_GUI_1
=""
35752 COND_TOOLKIT_MOTIF
="#"
35753 if test "x$TOOLKIT" = "xMOTIF" ; then
35754 COND_TOOLKIT_MOTIF
=""
35757 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
35758 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35759 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
35762 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
35763 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35764 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
35767 COND_TOOLKIT_MSW
="#"
35768 if test "x$TOOLKIT" = "xMSW" ; then
35769 COND_TOOLKIT_MSW
=""
35772 COND_TOOLKIT_MSW_USE_GUI_1
="#"
35773 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35774 COND_TOOLKIT_MSW_USE_GUI_1
=""
35777 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
35778 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35779 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
35782 COND_TOOLKIT_PM
="#"
35783 if test "x$TOOLKIT" = "xPM" ; then
35787 COND_TOOLKIT_PM_USE_GUI_1
="#"
35788 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35789 COND_TOOLKIT_PM_USE_GUI_1
=""
35792 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
35793 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35794 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
35797 COND_TOOLKIT_X11
="#"
35798 if test "x$TOOLKIT" = "xX11" ; then
35799 COND_TOOLKIT_X11
=""
35802 COND_TOOLKIT_X11_USE_GUI_1
="#"
35803 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35804 COND_TOOLKIT_X11_USE_GUI_1
=""
35808 if test "x$UNICODE" = "x1" ; then
35812 COND_USE_EXCEPTIONS_0
="#"
35813 if test "x$USE_EXCEPTIONS" = "x0" ; then
35814 COND_USE_EXCEPTIONS_0
=""
35817 COND_USE_EXCEPTIONS_1
="#"
35818 if test "x$USE_EXCEPTIONS" = "x1" ; then
35819 COND_USE_EXCEPTIONS_1
=""
35823 if test "x$USE_GUI" = "x0" ; then
35828 if test "x$USE_GUI" = "x1" ; then
35832 COND_USE_GUI_1_WXUNIV_0
="#"
35833 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35834 COND_USE_GUI_1_WXUNIV_0
=""
35837 COND_USE_GUI_1_WXUNIV_1
="#"
35838 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35839 COND_USE_GUI_1_WXUNIV_1
=""
35842 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35843 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35844 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35847 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35848 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35849 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35852 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35853 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35854 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35857 COND_USE_ODBC_1
="#"
35858 if test "x$USE_ODBC" = "x1" ; then
35862 COND_USE_SOSYMLINKS_1
="#"
35863 if test "x$USE_SOSYMLINKS" = "x1" ; then
35864 COND_USE_SOSYMLINKS_1
=""
35867 COND_USE_SOVERLINUX_1
="#"
35868 if test "x$USE_SOVERLINUX" = "x1" ; then
35869 COND_USE_SOVERLINUX_1
=""
35872 COND_USE_SOVERSION_0
="#"
35873 if test "x$USE_SOVERSION" = "x0" ; then
35874 COND_USE_SOVERSION_0
=""
35877 COND_USE_SOVERSOLARIS_1
="#"
35878 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35879 COND_USE_SOVERSOLARIS_1
=""
35883 if test "x$WXUNIV" = "x1" ; then
35887 COND_WXUSE_EXPAT_BUILTIN
="#"
35888 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35889 COND_WXUSE_EXPAT_BUILTIN
=""
35892 COND_WXUSE_LIBJPEG_BUILTIN
="#"
35893 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35894 COND_WXUSE_LIBJPEG_BUILTIN
=""
35897 COND_WXUSE_LIBPNG_BUILTIN
="#"
35898 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35899 COND_WXUSE_LIBPNG_BUILTIN
=""
35902 COND_WXUSE_LIBTIFF_BUILTIN
="#"
35903 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35904 COND_WXUSE_LIBTIFF_BUILTIN
=""
35907 COND_WXUSE_ODBC_BUILTIN
="#"
35908 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35909 COND_WXUSE_ODBC_BUILTIN
=""
35912 COND_WXUSE_REGEX_BUILTIN
="#"
35913 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35914 COND_WXUSE_REGEX_BUILTIN
=""
35917 COND_WXUSE_ZLIB_BUILTIN
="#"
35918 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35919 COND_WXUSE_ZLIB_BUILTIN
=""
35926 if test $GCC_PCH = 1 ; then
35927 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35930 powerpc
-*-darwin* )
35931 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
35936 powerpc
-*-darwin* )
35937 CODE_GEN_FLAGS_CXX
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35942 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
36043 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36044 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36045 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
36046 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36047 echo $ECHO_N "(cached) $ECHO_C" >&6
36049 cat >conftest.
make <<\_ACEOF
36051 @
echo 'ac_maketemp="$(MAKE)"'
36053 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36054 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36055 if test -n "$ac_maketemp"; then
36056 eval ac_cv_prog_make_
${ac_make}_set
=yes
36058 eval ac_cv_prog_make_
${ac_make}_set
=no
36060 rm -f conftest.
make
36062 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36063 echo "$as_me:$LINENO: result: yes" >&5
36064 echo "${ECHO_T}yes" >&6
36067 echo "$as_me:$LINENO: result: no" >&5
36068 echo "${ECHO_T}no" >&6
36069 SET_MAKE
="MAKE=${MAKE-make}"
36073 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
36074 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
36077 ac_config_headers
="$ac_config_headers setup.h"
36080 ac_config_files
="$ac_config_files wx-config version-script Makefile"
36083 ac_config_commands
="$ac_config_commands default"
36087 if test "$wxUSE_GUI" = "yes"; then
36088 SUBDIRS
="samples demos utils contrib"
36089 else SUBDIRS
="samples utils"
36092 for subdir
in `echo $SUBDIRS`; do
36093 if test -d ${srcdir}/${subdir} ; then
36094 if test "$wxUSE_GUI" = "yes"; then
36095 if test ${subdir} = "samples"; then
36096 makefiles
="samples/Makefile.in $makefiles"
36097 for sample
in `echo $SAMPLES_SUBDIRS`; do
36098 if test -d $srcdir/samples
/$sample; then
36099 makefiles
="samples/$sample/Makefile.in $makefiles"
36102 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
36104 else if test ${subdir} = "samples"; then
36105 makefiles
="samples/Makefile.in samples/console/Makefile.in"
36106 else makefiles
="utils/HelpGen/Makefile.in \
36107 utils/HelpGen/src/Makefile.in \
36108 utils/tex2rtf/Makefile.in \
36109 utils/tex2rtf/src/Makefile.in"
36113 for mkin
in $makefiles ; do
36114 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
36115 ac_config_files
="$ac_config_files $mk"
36122 cat >confcache
<<\_ACEOF
36123 # This file is a shell script that caches the results of configure
36124 # tests run on this system so they can be shared between configure
36125 # scripts and configure runs, see configure's option --config-cache.
36126 # It is not useful on other systems. If it contains results you don't
36127 # want to keep, you may remove or edit it.
36129 # config.status only pays attention to the cache file if you give it
36130 # the --recheck option to rerun configure.
36132 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36133 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36134 # following values.
36138 # The following way of writing the cache mishandles newlines in values,
36139 # but we know of no workaround that is simple, portable, and efficient.
36140 # So, don't put newlines in cache variables' values.
36141 # Ultrix sh set writes to stderr and can't be redirected directly,
36142 # and sets the high bit in the cache file unless we assign to the vars.
36145 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36147 # `set' does not quote correctly, so add quotes (double-quote
36148 # substitution turns \\\\ into \\, and sed turns \\ into \).
36151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36154 # `set' quotes correctly as required by POSIX, so do not add quotes.
36156 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36163 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36165 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36167 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36168 if test -w $cache_file; then
36169 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36170 cat confcache
>$cache_file
36172 echo "not updating unwritable cache $cache_file"
36177 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
36178 # Let make expand exec_prefix.
36179 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
36181 # VPATH may cause trouble with some makes, so we remove $(srcdir),
36182 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36183 # trailing colons and then remove the whole line if VPATH becomes empty
36184 # (actually we leave an empty line to preserve line numbers).
36185 if test "x$srcdir" = x.
; then
36186 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
36187 s/:*\$(srcdir):*/:/;
36188 s/:*\${srcdir}:*/:/;
36190 s/^\([^=]*=[ ]*\):*/\1/;
36196 DEFS
=-DHAVE_CONFIG_H
36200 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
36201 # 1. Remove the extension, and $U if already installed.
36202 ac_i
=`echo "$ac_i" |
36203 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
36205 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
36206 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
36208 LIBOBJS
=$ac_libobjs
36210 LTLIBOBJS
=$ac_ltlibobjs
36214 : ${CONFIG_STATUS=./config.status}
36215 ac_clean_files_save
=$ac_clean_files
36216 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
36217 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
36218 echo "$as_me: creating $CONFIG_STATUS" >&6;}
36219 cat >$CONFIG_STATUS <<_ACEOF
36221 # Generated by $as_me.
36222 # Run this file to recreate the current configuration.
36223 # Compiler output produced by configure, useful for debugging
36224 # configure, is in config.log if it exists.
36227 ac_cs_recheck=false
36229 SHELL=\${CONFIG_SHELL-$SHELL}
36232 cat >>$CONFIG_STATUS <<\_ACEOF
36233 ## --------------------- ##
36234 ## M4sh Initialization. ##
36235 ## --------------------- ##
36237 # Be Bourne compatible
36238 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
36241 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
36242 # is contrary to our usage. Disable this feature.
36243 alias -g '${1+"$@"}'='"$@"'
36244 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
36248 # Support unset when possible.
36249 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
36256 # Work around bugs in pre-3.0 UWIN ksh.
36257 $as_unset ENV MAIL MAILPATH
36264 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
36265 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
36266 LC_TELEPHONE LC_TIME
36268 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
36269 eval $as_var=C
; export $as_var
36275 # Required to use basename.
36276 if expr a
: '\(a\)' >/dev
/null
2>&1; then
36282 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
36283 as_basename
=basename
36289 # Name of the executable.
36290 as_me
=`$as_basename "$0" ||
36291 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36292 X"$0" : 'X\(//\)$' \| \
36293 X"$0" : 'X\(/\)$' \| \
36294 . : '\(.\)' 2>/dev/null ||
36296 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36297 /^X\/\(\/\/\)$/{ s//\1/; q; }
36298 /^X\/\(\/\).*/{ s//\1/; q; }
36302 # PATH needs CR, and LINENO needs CR and PATH.
36303 # Avoid depending upon Character Ranges.
36304 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
36305 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36306 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
36307 as_cr_digits
='0123456789'
36308 as_cr_alnum
=$as_cr_Letters$as_cr_digits
36310 # The user is always right.
36311 if test "${PATH_SEPARATOR+set}" != set; then
36312 echo "#! /bin/sh" >conf$$.sh
36313 echo "exit 0" >>conf$$.sh
36315 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
36324 as_lineno_1
=$LINENO
36325 as_lineno_2
=$LINENO
36326 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
36327 test "x$as_lineno_1" != "x$as_lineno_2" &&
36328 test "x$as_lineno_3" = "x$as_lineno_2" || {
36329 # Find who we are. Look in the path if we contain no path at all
36332 *[\\/]* ) as_myself
=$0 ;;
36333 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36334 for as_dir
in $PATH
36337 test -z "$as_dir" && as_dir
=.
36338 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
36343 # We did not find ourselves, most probably we were run as `sh COMMAND'
36344 # in which case we are not to be found in the path.
36345 if test "x$as_myself" = x
; then
36348 if test ! -f "$as_myself"; then
36349 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36350 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36351 { (exit 1); exit 1; }; }
36353 case $CONFIG_SHELL in
36355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36356 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
36359 test -z "$as_dir" && as_dir
=.
36360 for as_base
in sh bash ksh sh5
; do
36363 if ("$as_dir/$as_base" -c '
36364 as_lineno_1=$LINENO
36365 as_lineno_2=$LINENO
36366 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36367 test "x$as_lineno_1" != "x$as_lineno_2" &&
36368 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
36369 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
36370 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
36371 CONFIG_SHELL
=$as_dir/$as_base
36372 export CONFIG_SHELL
36373 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36381 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36382 # uniformly replaced by the line number. The first 'sed' inserts a
36383 # line-number line before each line; the second 'sed' does the real
36384 # work. The second script uses 'N' to pair each line-number line
36385 # with the numbered line, and appends trailing '-' during
36386 # substitution so that $LINENO is not a special case at line end.
36387 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36388 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36389 sed '=' <$as_myself |
36394 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36397 s,^['$as_cr_digits']*\n,,
36398 ' >$as_me.lineno
&&
36399 chmod +x
$as_me.lineno
||
36400 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36401 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36402 { (exit 1); exit 1; }; }
36404 # Don't try to exec as it changes $[0], causing all sort of problems
36405 # (the dirname of $[0] is not the place where we might find the
36406 # original and so on. Autoconf is especially sensible to this).
36408 # Exit status is that of the last command.
36413 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36414 *c
*,-n*) ECHO_N
= ECHO_C
='
36416 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
36417 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
36420 if expr a
: '\(a\)' >/dev
/null
2>&1; then
36426 rm -f conf$$ conf$$.exe conf$$.
file
36428 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
36429 # We could just check for DJGPP; but this test a) works b) is more generic
36430 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36431 if test -f conf$$.exe
; then
36432 # Don't use ln at all; we don't have any links
36437 elif ln conf$$.
file conf$$
2>/dev
/null
; then
36442 rm -f conf$$ conf$$.exe conf$$.
file
36444 if mkdir -p .
2>/dev
/null
; then
36450 as_executable_p
="test -f"
36452 # Sed expression to map a string onto a valid CPP name.
36453 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36455 # Sed expression to map a string onto a valid variable name.
36456 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36460 # We need space, tab and new line, in precisely that order.
36470 # Open the log real soon, to keep \$[0] and so on meaningful, and to
36471 # report actual input values of CONFIG_FILES etc. instead of their
36472 # values after options handling. Logging --version etc. is OK.
36476 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36477 ## Running $as_me. ##
36482 This file was extended by wxWindows $as_me 2.5.1, which was
36483 generated by GNU Autoconf 2.57. Invocation command line was
36485 CONFIG_FILES = $CONFIG_FILES
36486 CONFIG_HEADERS = $CONFIG_HEADERS
36487 CONFIG_LINKS = $CONFIG_LINKS
36488 CONFIG_COMMANDS = $CONFIG_COMMANDS
36492 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36496 # Files that config.status was made for.
36497 if test -n "$ac_config_files"; then
36498 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36501 if test -n "$ac_config_headers"; then
36502 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36505 if test -n "$ac_config_links"; then
36506 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36509 if test -n "$ac_config_commands"; then
36510 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36513 cat >>$CONFIG_STATUS <<\_ACEOF
36516 \`$as_me' instantiates files from templates according to the
36517 current configuration.
36519 Usage: $0 [OPTIONS] [FILE]...
36521 -h, --help print this help, then exit
36522 -V, --version print version number, then exit
36523 -q, --quiet do not print progress messages
36524 -d, --debug don't remove temporary files
36525 --recheck update $as_me by reconfiguring in the same conditions
36526 --file=FILE[:TEMPLATE]
36527 instantiate the configuration file FILE
36528 --header=FILE[:TEMPLATE]
36529 instantiate the configuration header FILE
36531 Configuration files:
36534 Configuration headers:
36537 Configuration commands:
36540 Report bugs to <bug-autoconf@gnu.org>."
36543 cat >>$CONFIG_STATUS <<_ACEOF
36545 wxWindows config.status 2.5.1
36546 configured by $0, generated by GNU Autoconf 2.57,
36547 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36549 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36550 Free Software Foundation, Inc.
36551 This config.status script is free software; the Free Software Foundation
36552 gives unlimited permission to copy, distribute and modify it."
36557 cat >>$CONFIG_STATUS <<\_ACEOF
36558 # If no file are specified by the user, then we need to provide default
36559 # value. By we need to know if files were specified by the user.
36565 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
36566 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
36574 *) # This is not an option, so the user has probably given explicit
36577 ac_need_defaults
=false
;;
36581 # Handling of the options.
36583 cat >>$CONFIG_STATUS <<\_ACEOF
36584 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36586 --version | --vers* | -V )
36587 echo "$ac_cs_version"; exit 0 ;;
36589 # Conflict between --help and --header
36590 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36591 Try \`$0 --help' for more information." >&5
36592 echo "$as_me: error: ambiguous option: $1
36593 Try \`$0 --help' for more information." >&2;}
36594 { (exit 1); exit 1; }; };;
36595 --help | --hel | -h )
36596 echo "$ac_cs_usage"; exit 0 ;;
36597 --debug | --d* | -d )
36599 --file | --fil | --fi | --f )
36601 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
36602 ac_need_defaults
=false
;;
36603 --header | --heade | --head | --hea )
36605 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
36606 ac_need_defaults
=false
;;
36607 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36608 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36611 # This is an error.
36612 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36613 Try \`$0 --help' for more information." >&5
36614 echo "$as_me: error: unrecognized option: $1
36615 Try \`$0 --help' for more information." >&2;}
36616 { (exit 1); exit 1; }; } ;;
36618 *) ac_config_targets
="$ac_config_targets $1" ;;
36624 ac_configure_extra_args
=
36626 if $ac_cs_silent; then
36628 ac_configure_extra_args
="$ac_configure_extra_args --silent"
36632 cat >>$CONFIG_STATUS <<_ACEOF
36633 if \$ac_cs_recheck; then
36634 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36635 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36640 cat >>$CONFIG_STATUS <<_ACEOF
36642 # INIT-COMMANDS section.
36646 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36655 cat >>$CONFIG_STATUS <<\_ACEOF
36656 for ac_config_target
in $ac_config_targets
36658 case "$ac_config_target" in
36659 # Handling of arguments.
36660 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
36661 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
36662 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
36663 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
36664 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
36665 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
36666 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36667 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36668 { (exit 1); exit 1; }; };;
36672 # If the user did not use the arguments to specify the items to instantiate,
36673 # then the envvar interface is used. Set only those that are not.
36674 # We use the long form for the default assignment because of an extremely
36675 # bizarre bug on SunOS 4.1.3.
36676 if $ac_need_defaults; then
36677 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
36678 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
36679 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
36682 # Have a temporary directory for convenience. Make it in the build tree
36683 # simply because there is no reason to put it here, and in addition,
36684 # creating and moving files from /tmp can sometimes cause problems.
36685 # Create a temporary directory, and hook for its removal unless debugging.
36688 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36689 trap '{ (exit 1); exit 1; }' 1 2 13 15
36692 # Create a (secure) tmp directory for tmp files.
36695 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36696 test -n "$tmp" && test -d "$tmp"
36699 tmp
=.
/confstat$$
-$RANDOM
36700 (umask 077 && mkdir $tmp)
36703 echo "$me: cannot create a temporary directory in ." >&2
36704 { (exit 1); exit 1; }
36709 cat >>$CONFIG_STATUS <<_ACEOF
36712 # CONFIG_FILES section.
36715 # No need to generate the scripts if there are no CONFIG_FILES.
36716 # This happens for instance when ./config.status config.h
36717 if test -n "\$CONFIG_FILES"; then
36718 # Protect against being on the right side of a sed subst in config.status.
36719 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36720 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36721 s,@SHELL@,$SHELL,;t t
36722 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36723 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36724 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36725 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36726 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36727 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36728 s,@exec_prefix@,$exec_prefix,;t t
36729 s,@prefix@,$prefix,;t t
36730 s,@program_transform_name@,$program_transform_name,;t t
36731 s,@bindir@,$bindir,;t t
36732 s,@sbindir@,$sbindir,;t t
36733 s,@libexecdir@,$libexecdir,;t t
36734 s,@datadir@,$datadir,;t t
36735 s,@sysconfdir@,$sysconfdir,;t t
36736 s,@sharedstatedir@,$sharedstatedir,;t t
36737 s,@localstatedir@,$localstatedir,;t t
36738 s,@libdir@,$libdir,;t t
36739 s,@includedir@,$includedir,;t t
36740 s,@oldincludedir@,$oldincludedir,;t t
36741 s,@infodir@,$infodir,;t t
36742 s,@mandir@,$mandir,;t t
36743 s,@build_alias@,$build_alias,;t t
36744 s,@host_alias@,$host_alias,;t t
36745 s,@target_alias@,$target_alias,;t t
36746 s,@DEFS@,$DEFS,;t t
36747 s,@ECHO_C@,$ECHO_C,;t t
36748 s,@ECHO_N@,$ECHO_N,;t t
36749 s,@ECHO_T@,$ECHO_T,;t t
36750 s,@LIBS@,$LIBS,;t t
36751 s,@build@,$build,;t t
36752 s,@build_cpu@,$build_cpu,;t t
36753 s,@build_vendor@,$build_vendor,;t t
36754 s,@build_os@,$build_os,;t t
36755 s,@host@,$host,;t t
36756 s,@host_cpu@,$host_cpu,;t t
36757 s,@host_vendor@,$host_vendor,;t t
36758 s,@host_os@,$host_os,;t t
36759 s,@target@,$target,;t t
36760 s,@target_cpu@,$target_cpu,;t t
36761 s,@target_vendor@,$target_vendor,;t t
36762 s,@target_os@,$target_os,;t t
36764 s,@CFLAGS@,$CFLAGS,;t t
36765 s,@LDFLAGS@,$LDFLAGS,;t t
36766 s,@CPPFLAGS@,$CPPFLAGS,;t t
36767 s,@ac_ct_CC@,$ac_ct_CC,;t t
36768 s,@EXEEXT@,$EXEEXT,;t t
36769 s,@OBJEXT@,$OBJEXT,;t t
36771 s,@EGREP@,$EGREP,;t t
36773 s,@CXXFLAGS@,$CXXFLAGS,;t t
36774 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36775 s,@RANLIB@,$RANLIB,;t t
36776 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36778 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36779 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36780 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36781 s,@STRIP@,$STRIP,;t t
36782 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36783 s,@LN_S@,$LN_S,;t t
36784 s,@CXXCPP@,$CXXCPP,;t t
36785 s,@subdirs@,$subdirs,;t t
36786 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36787 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36788 s,@GTK_LIBS@,$GTK_LIBS,;t t
36789 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36790 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36791 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36792 s,@X_CFLAGS@,$X_CFLAGS,;t t
36793 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36794 s,@X_LIBS@,$X_LIBS,;t t
36795 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36796 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36797 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36798 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36799 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36800 s,@RESCOMP@,$RESCOMP,;t t
36801 s,@DEREZ@,$DEREZ,;t t
36802 s,@SETFILE@,$SETFILE,;t t
36803 s,@LIBICONV@,$LIBICONV,;t t
36804 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36805 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36806 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36807 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36808 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36809 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36810 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36811 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36812 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36813 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36814 s,@VENDOR@,$VENDOR,;t t
36815 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36816 s,@WXUNIV@,$WXUNIV,;t t
36817 s,@MONOLITHIC@,$MONOLITHIC,;t t
36818 s,@EXTRALIBS@,$EXTRALIBS,;t t
36819 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36820 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
36821 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36822 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36823 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36824 s,@UNICODE@,$UNICODE,;t t
36825 s,@BUILD@,$BUILD,;t t
36826 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36827 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36828 s,@SHARED@,$SHARED,;t t
36829 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36830 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36831 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36832 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36833 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36834 s,@SET_MAKE@,$SET_MAKE,;t t
36835 s,@MAKE_SET@,$MAKE_SET,;t t
36836 s,@ac_ct_AR@,$ac_ct_AR,;t t
36837 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36839 s,@ac_ct_NM@,$ac_ct_NM,;t t
36840 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36841 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36842 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36843 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36844 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36845 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36846 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36847 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36848 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36849 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36850 s,@LIBPREFIX@,$LIBPREFIX,;t t
36851 s,@DLLPREFIX@,$DLLPREFIX,;t t
36852 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36853 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36854 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36855 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36856 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36857 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36858 s,@PIC_FLAG@,$PIC_FLAG,;t t
36859 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36860 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36861 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36862 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36863 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36864 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36865 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36866 s,@GCC_PCH@,$GCC_PCH,;t t
36867 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36868 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36869 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36870 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36871 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36872 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36873 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36874 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36875 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36876 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36877 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36878 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36879 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36880 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36881 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
36882 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36883 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36884 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36885 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36886 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
36887 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36888 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36889 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36890 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36891 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36892 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36893 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36894 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36895 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36896 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36897 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36898 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36899 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
36900 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36901 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36902 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36903 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36904 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36905 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
36906 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36907 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36908 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36909 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36910 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36911 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36912 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36913 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36914 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36915 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36916 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36917 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36918 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36919 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36920 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36921 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36922 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36923 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36924 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36925 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36926 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36927 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36928 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36929 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36930 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36931 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36932 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36933 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36934 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36935 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36936 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36937 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36938 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36939 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36940 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36941 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36942 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36943 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36944 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36945 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36946 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36947 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36948 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36949 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36950 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
36951 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36952 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36953 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36954 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36955 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36956 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36957 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36958 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36959 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36960 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36961 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36962 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36963 s,@PATH_IFS@,$PATH_IFS,;t t
36964 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36965 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36966 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36967 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36968 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36969 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36970 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36971 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36972 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36973 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36974 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36975 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36976 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36977 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36978 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36979 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36980 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36981 s,@WX_ALL@,$WX_ALL,;t t
36982 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36983 s,@SHARED_LD@,$SHARED_LD,;t t
36984 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36985 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36986 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36987 s,@USE_GUI@,$USE_GUI,;t t
36988 s,@AFMINSTALL@,$AFMINSTALL,;t t
36989 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36990 s,@TOOLKIT@,$TOOLKIT,;t t
36991 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36992 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36993 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36994 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36995 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36996 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36997 s,@cross_compiling@,$cross_compiling,;t t
36998 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36999 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
37000 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
37001 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
37002 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
37003 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
37004 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
37005 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
37006 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
37007 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
37008 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
37009 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
37010 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
37011 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
37012 s,@GUIDIST@,$GUIDIST,;t t
37013 s,@PORT_FILES@,$PORT_FILES,;t t
37014 s,@DISTDIR@,$DISTDIR,;t t
37015 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
37016 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
37017 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
37018 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
37019 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
37020 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
37021 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
37022 s,@RESFLAGS@,$RESFLAGS,;t t
37023 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
37024 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
37025 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
37026 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
37027 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
37028 s,@MACRESCOMP@,$MACRESCOMP,;t t
37029 s,@MACSETFILE@,$MACSETFILE,;t t
37030 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
37032 s,@DLLTOOL@,$DLLTOOL,;t t
37035 s,@MAKEINFO@,$MAKEINFO,;t t
37036 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
37037 s,@LIBOBJS@,$LIBOBJS,;t t
37038 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
37043 cat >>$CONFIG_STATUS <<\_ACEOF
37044 # Split the substitutions into bite-sized pieces for seds with
37045 # small command number limits, like on Digital OSF/1 and HP-UX.
37046 ac_max_sed_lines
=48
37047 ac_sed_frag
=1 # Number of current file.
37048 ac_beg
=1 # First line for current file.
37049 ac_end
=$ac_max_sed_lines # Line after last line for current file.
37052 while $ac_more_lines; do
37053 if test $ac_beg -gt 1; then
37054 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
37056 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
37058 if test ! -s $tmp/subs.frag
; then
37059 ac_more_lines
=false
37061 # The purpose of the label and of the branching condition is to
37062 # speed up the sed processing (if there are no `@' at all, there
37063 # is no need to browse any of the substitutions).
37064 # These are the two extra sed commands mentioned above.
37066 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
37067 if test -z "$ac_sed_cmds"; then
37068 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
37070 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
37072 ac_sed_frag
=`expr $ac_sed_frag + 1`
37074 ac_end
=`expr $ac_end + $ac_max_sed_lines`
37077 if test -z "$ac_sed_cmds"; then
37080 fi # test -n "$CONFIG_FILES"
37083 cat >>$CONFIG_STATUS <<\_ACEOF
37084 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
37085 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37087 - | *:- | *:-:* ) # input from stdin
37089 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37090 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37091 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37092 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37093 * ) ac_file_in
=$ac_file.
in ;;
37096 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
37097 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
37098 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37099 X"$ac_file" : 'X\(//\)[^/]' \| \
37100 X"$ac_file" : 'X\(//\)$' \| \
37101 X"$ac_file" : 'X\(/\)' \| \
37102 . : '\(.\)' 2>/dev/null ||
37104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37105 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37106 /^X\(\/\/\)$/{ s//\1/; q; }
37107 /^X\(\/\).*/{ s//\1/; q; }
37109 { if $as_mkdir_p; then
37114 while test ! -d "$as_dir"; do
37115 as_dirs
="$as_dir $as_dirs"
37116 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37117 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37118 X"$as_dir" : 'X\(//\)[^/]' \| \
37119 X"$as_dir" : 'X\(//\)$' \| \
37120 X"$as_dir" : 'X\(/\)' \| \
37121 . : '\(.\)' 2>/dev/null ||
37123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37124 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37125 /^X\(\/\/\)$/{ s//\1/; q; }
37126 /^X\(\/\).*/{ s//\1/; q; }
37129 test ! -n "$as_dirs" || mkdir $as_dirs
37130 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37131 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37132 { (exit 1); exit 1; }; }; }
37136 if test "$ac_dir" != .
; then
37137 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37138 # A "../" for each directory in $ac_dir_suffix.
37139 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37141 ac_dir_suffix
= ac_top_builddir
=
37145 .
) # No --srcdir option. We are building in place.
37147 if test -z "$ac_top_builddir"; then
37150 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37152 [\\/]* | ?
:[\\/]* ) # Absolute path.
37153 ac_srcdir
=$srcdir$ac_dir_suffix;
37154 ac_top_srcdir
=$srcdir ;;
37155 *) # Relative path.
37156 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37157 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37159 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37161 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37162 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37163 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37164 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37168 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
37169 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
37172 if test x
"$ac_file" != x
-; then
37173 { echo "$as_me:$LINENO: creating $ac_file" >&5
37174 echo "$as_me: creating $ac_file" >&6;}
37177 # Let's still pretend it is `configure' which instantiates (i.e., don't
37178 # use $as_me), people would be surprised to read:
37179 # /* config.h. Generated by config.status. */
37180 if test x
"$ac_file" = x
-; then
37183 configure_input
="$ac_file. "
37185 configure_input
=$configure_input"Generated from `echo $ac_file_in |
37186 sed 's,.*/,,'` by configure."
37188 # First look for the input files in the build tree, otherwise in the
37190 ac_file_inputs
=`IFS=:
37191 for f in $ac_file_in; do
37193 -) echo $tmp/stdin ;;
37195 # Absolute (can't be DOS-style, as IFS=:)
37196 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37197 echo "$as_me: error: cannot find input file: $f" >&2;}
37198 { (exit 1); exit 1; }; }
37201 if test -f "$f"; then
37204 elif test -f "$srcdir/$f"; then
37209 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37210 echo "$as_me: error: cannot find input file: $f" >&2;}
37211 { (exit 1); exit 1; }; }
37214 done` || { (exit 1); exit 1; }
37216 cat >>$CONFIG_STATUS <<_ACEOF
37220 cat >>$CONFIG_STATUS <<\_ACEOF
37222 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
37223 s
,@configure_input@
,$configure_input,;t t
37224 s
,@srcdir@
,$ac_srcdir,;t t
37225 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
37226 s
,@top_srcdir@
,$ac_top_srcdir,;t t
37227 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
37228 s
,@builddir@
,$ac_builddir,;t t
37229 s
,@abs_builddir@
,$ac_abs_builddir,;t t
37230 s
,@top_builddir@
,$ac_top_builddir,;t t
37231 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
37232 s
,@INSTALL@
,$ac_INSTALL,;t t
37233 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
37235 if test x"$ac_file" != x-; then
37236 mv $tmp/out $ac_file
37244 cat >>$CONFIG_STATUS <<\_ACEOF
37247 # CONFIG_HEADER section.
37250 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
37251 # NAME is the cpp macro being defined and VALUE is the value it is being given.
37253 # ac_d sets the value in "#define NAME VALUE" lines.
37254 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
37255 ac_dB
='[ ].*$,\1#\2'
37258 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
37259 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
37260 ac_uB
='$,\1#\2define\3'
37264 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
37265 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37267 - | *:- | *:-:* ) # input from stdin
37269 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37270 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37271 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37272 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37273 * ) ac_file_in
=$ac_file.
in ;;
37276 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37277 echo "$as_me: creating $ac_file" >&6;}
37279 # First look for the input files in the build tree, otherwise in the
37281 ac_file_inputs
=`IFS=:
37282 for f in $ac_file_in; do
37284 -) echo $tmp/stdin ;;
37286 # Absolute (can't be DOS-style, as IFS=:)
37287 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37288 echo "$as_me: error: cannot find input file: $f" >&2;}
37289 { (exit 1); exit 1; }; }
37292 if test -f "$f"; then
37295 elif test -f "$srcdir/$f"; then
37300 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37301 echo "$as_me: error: cannot find input file: $f" >&2;}
37302 { (exit 1); exit 1; }; }
37305 done` || { (exit 1); exit 1; }
37306 # Remove the trailing spaces.
37307 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37311 # Transform confdefs.h into two sed scripts, `conftest.defines' and
37312 # `conftest.undefs', that substitutes the proper values into
37313 # config.h.in to produce config.h. The first handles `#define'
37314 # templates, and the second `#undef' templates.
37315 # And first: Protect against being on the right side of a sed subst in
37316 # config.status. Protect against being in an unquoted here document
37317 # in config.status.
37318 rm -f conftest.defines conftest.undefs
37319 # Using a here document instead of a string reduces the quoting nightmare.
37320 # Putting comments in sed scripts is not portable.
37322 # `end' is used to avoid that the second main sed command (meant for
37323 # 0-ary CPP macros) applies to n-ary macro definitions.
37324 # See the Autoconf documentation for `clear'.
37325 cat >confdef2sed.
sed <<\_ACEOF
37330 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37332 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37335 # If some macros were called several times there might be several times
37336 # the same #defines, which is useless. Nevertheless, we may not want to
37337 # sort them, since we want the *last* AC-DEFINE to be honored.
37338 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37339 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37340 rm -f confdef2sed.sed
37342 # This sed command replaces #undef with comments. This is necessary, for
37343 # example, in the case of _POSIX_SOURCE, which is predefined and required
37344 # on some systems where configure will not decide to define it.
37345 cat >>conftest.undefs <<\_ACEOF
37346 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37349 # Break up conftest.defines because some shells have a limit on the size
37350 # of here documents, and old seds have small limits too (100 cmds).
37351 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37352 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37353 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37354 echo ' :' >>$CONFIG_STATUS
37355 rm -f conftest.tail
37356 while grep . conftest.defines >/dev/null
37358 # Write a limited-size here document to $tmp/defines.sed.
37359 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37360 # Speed up: don't consider the non `#define' lines.
37361 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37362 # Work around the forget-to-reset-the-flag bug.
37363 echo 't clr' >>$CONFIG_STATUS
37364 echo ': clr' >>$CONFIG_STATUS
37365 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
37367 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37369 mv $tmp/out $tmp/in
37371 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
37372 rm -f conftest.defines
37373 mv conftest.
tail conftest.defines
37375 rm -f conftest.defines
37376 echo ' fi # grep' >>$CONFIG_STATUS
37377 echo >>$CONFIG_STATUS
37379 # Break up conftest.undefs because some shells have a limit on the size
37380 # of here documents, and old seds have small limits too (100 cmds).
37381 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37382 rm -f conftest.
tail
37383 while grep . conftest.undefs
>/dev
/null
37385 # Write a limited-size here document to $tmp/undefs.sed.
37386 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37387 # Speed up: don't consider the non
`#undef'
37388 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37389 # Work around the forget-to-reset-the-flag bug.
37390 echo 't clr' >>$CONFIG_STATUS
37391 echo ': clr' >>$CONFIG_STATUS
37392 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37394 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37396 mv $tmp/out $tmp/in
37398 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37399 rm -f conftest.undefs
37400 mv conftest.tail conftest.undefs
37402 rm -f conftest.undefs
37404 cat >>$CONFIG_STATUS <<\_ACEOF
37405 # Let's still pretend it is `configure
' which instantiates (i.e., don't
37406 # use $as_me), people would be surprised to read:
37407 # /* config.h. Generated by config.status. */
37408 if test x
"$ac_file" = x
-; then
37409 echo "/* Generated by configure. */" >$tmp/config.h
37411 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37413 cat $tmp/in >>$tmp/config.h
37415 if test x
"$ac_file" != x
-; then
37416 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
37417 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37418 echo "$as_me: $ac_file is unchanged" >&6;}
37420 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
37421 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37422 X"$ac_file" : 'X\(//\)[^/]' \| \
37423 X"$ac_file" : 'X\(//\)$' \| \
37424 X"$ac_file" : 'X\(/\)' \| \
37425 . : '\(.\)' 2>/dev/null ||
37427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37428 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37429 /^X\(\/\/\)$/{ s//\1/; q; }
37430 /^X\(\/\).*/{ s//\1/; q; }
37432 { if $as_mkdir_p; then
37437 while test ! -d "$as_dir"; do
37438 as_dirs
="$as_dir $as_dirs"
37439 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37440 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37441 X"$as_dir" : 'X\(//\)[^/]' \| \
37442 X"$as_dir" : 'X\(//\)$' \| \
37443 X"$as_dir" : 'X\(/\)' \| \
37444 . : '\(.\)' 2>/dev/null ||
37446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37447 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37448 /^X\(\/\/\)$/{ s//\1/; q; }
37449 /^X\(\/\).*/{ s//\1/; q; }
37452 test ! -n "$as_dirs" || mkdir $as_dirs
37453 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37454 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37455 { (exit 1); exit 1; }; }; }
37458 mv $tmp/config.h
$ac_file
37462 rm -f $tmp/config.h
37466 cat >>$CONFIG_STATUS <<\_ACEOF
37469 # CONFIG_COMMANDS section.
37471 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
37472 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
37473 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37474 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
37475 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37476 X"$ac_dest" : 'X\(//\)[^/]' \| \
37477 X"$ac_dest" : 'X\(//\)$' \| \
37478 X"$ac_dest" : 'X\(/\)' \| \
37479 . : '\(.\)' 2>/dev/null ||
37481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37482 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37483 /^X\(\/\/\)$/{ s//\1/; q; }
37484 /^X\(\/\).*/{ s//\1/; q; }
37488 if test "$ac_dir" != .
; then
37489 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37490 # A "../" for each directory in $ac_dir_suffix.
37491 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37493 ac_dir_suffix
= ac_top_builddir
=
37497 .
) # No --srcdir option. We are building in place.
37499 if test -z "$ac_top_builddir"; then
37502 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37504 [\\/]* | ?
:[\\/]* ) # Absolute path.
37505 ac_srcdir
=$srcdir$ac_dir_suffix;
37506 ac_top_srcdir
=$srcdir ;;
37507 *) # Relative path.
37508 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37509 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37511 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37513 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37514 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37515 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37516 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37519 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37520 echo "$as_me: executing $ac_dest commands" >&6;}
37523 if test ! -h wx
-config; then
37525 mv wx
-config wx
${TOOLCHAIN_NAME}-config
37526 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
37529 if test ! -d lib
; then
37532 if test ! -d lib
/wx
; then
37535 if test ! -d lib
/wx
/include
; then
37536 mkdir lib
/wx
/include
37538 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
37539 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
37541 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
37542 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
37544 if test -f setup.h
; then
37545 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
37552 cat >>$CONFIG_STATUS <<\_ACEOF
37554 { (exit 0); exit 0; }
37556 chmod +x
$CONFIG_STATUS
37557 ac_clean_files
=$ac_clean_files_save
37560 # configure is writing to config.log, and then calls config.status.
37561 # config.status does its own redirection, appending to config.log.
37562 # Unfortunately, on DOS this fails, as config.log is still kept open
37563 # by configure, so config.status won't be able to write to it; its
37564 # output is simply discarded. So we exec the FD to /dev/null,
37565 # effectively closing config.log, so it can be properly (re)opened and
37566 # appended to by config.status. When coming back to configure, we
37567 # need to make the FD available again.
37568 if test "$no_create" != yes; then
37570 ac_config_status_args
=
37571 test "$silent" = yes &&
37572 ac_config_status_args
="$ac_config_status_args --quiet"
37574 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
37576 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37577 # would make configure fail if this is the last instruction.
37578 $ac_cs_success || { (exit 1); exit 1; }
37582 # CONFIG_SUBDIRS section.
37584 if test "$no_recursion" != yes; then
37586 # Remove --cache-file and --srcdir arguments so they do not pile up.
37587 ac_sub_configure_args
=
37589 for ac_arg
in $ac_configure_args; do
37590 if test -n "$ac_prev"; then
37595 -cache-file | --cache-file | --cache-fil | --cache-fi \
37596 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37597 ac_prev
=cache_file
;;
37598 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37599 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37602 --config-cache | -C)
37604 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37606 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37608 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37610 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37612 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
37616 # Always prepend --prefix to ensure using the same prefix
37617 # in subdir configurations.
37618 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
37621 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
37623 # Do not complain, so a configure script can configure whichever
37624 # parts of a large source tree are present.
37625 test -d $srcdir/$ac_dir || continue
37627 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37628 echo "$as_me: configuring in $ac_dir" >&6;}
37629 { if $as_mkdir_p; then
37634 while test ! -d "$as_dir"; do
37635 as_dirs
="$as_dir $as_dirs"
37636 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37637 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37638 X"$as_dir" : 'X\(//\)[^/]' \| \
37639 X"$as_dir" : 'X\(//\)$' \| \
37640 X"$as_dir" : 'X\(/\)' \| \
37641 . : '\(.\)' 2>/dev/null ||
37643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37644 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37645 /^X\(\/\/\)$/{ s//\1/; q; }
37646 /^X\(\/\).*/{ s//\1/; q; }
37649 test ! -n "$as_dirs" || mkdir $as_dirs
37650 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37651 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37652 { (exit 1); exit 1; }; }; }
37656 if test "$ac_dir" != .
; then
37657 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37658 # A "../" for each directory in $ac_dir_suffix.
37659 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37661 ac_dir_suffix
= ac_top_builddir
=
37665 .
) # No --srcdir option. We are building in place.
37667 if test -z "$ac_top_builddir"; then
37670 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37672 [\\/]* | ?
:[\\/]* ) # Absolute path.
37673 ac_srcdir
=$srcdir$ac_dir_suffix;
37674 ac_top_srcdir
=$srcdir ;;
37675 *) # Relative path.
37676 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37677 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37679 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37681 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37682 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37683 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37684 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37689 # Check for guested configure; otherwise get Cygnus style configure.
37690 if test -f $ac_srcdir/configure.gnu
; then
37691 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
37692 elif test -f $ac_srcdir/configure
; then
37693 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
37694 elif test -f $ac_srcdir/configure.
in; then
37695 ac_sub_configure
=$ac_configure
37697 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37698 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37702 # The recursion is here.
37703 if test -n "$ac_sub_configure"; then
37704 # Make the cache file name correct relative to the subdirectory.
37705 case $cache_file in
37706 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
37707 *) # Relative path.
37708 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
37711 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37712 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37713 # The eval makes quoting arguments work.
37714 eval $ac_sub_configure $ac_sub_configure_args \
37715 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37716 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37717 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37718 { (exit 1); exit 1; }; }
37727 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37729 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37730 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37732 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37733 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37734 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37736 echo " What level of wxWindows compatibility should be enabled?"
37737 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37738 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37740 echo " Which libraries should wxWindows use?"
37741 echo " jpeg ${wxUSE_LIBJPEG-none}"
37742 echo " png ${wxUSE_LIBPNG-none}"
37743 echo " regex ${wxUSE_REGEX}"
37744 echo " tiff ${wxUSE_LIBTIFF-none}"
37745 echo " zlib ${wxUSE_ZLIB}"
37746 echo " odbc ${wxUSE_ODBC}"
37747 echo " expat ${wxUSE_EXPAT}"
37748 echo " libmspack ${wxUSE_LIBMSPACK}"