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 LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
377 -build | --build | --buil | --bui | --bu)
378 ac_prev
=build_alias
;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev
=cache_file
;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* | --disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* | --enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
433 -help | --help | --hel | --he | -h)
435 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
438 ac_init_help
=short
;;
440 -host | --host | --hos | --ho)
441 ac_prev
=host_alias
;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev
=includedir
;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir | --libdir | --libdi | --libd)
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 # Obsolete; use --without-fp.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site | --site | --sit)
563 -site=* | --site=* | --sit=*)
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev
=target_alias
;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias
=$ac_optarg ;;
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
586 -version | --version | --versio | --versi | --vers | -V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* | --without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
776 ac_env_CXX_set
=${CXX+set}
777 ac_env_CXX_value
=$CXX
778 ac_cv_env_CXX_set
=${CXX+set}
779 ac_cv_env_CXX_value
=$CXX
780 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value
=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
784 ac_env_CXXCPP_set
=${CXXCPP+set}
785 ac_env_CXXCPP_value
=$CXXCPP
786 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value
=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --x-includes=DIR X include files are
in DIR
851 --x-libraries=DIR X library files are
in DIR
854 --build=BUILD configure
for building on BUILD
[guessed
]
855 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
856 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
860 if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short
| recursive
) echo "Configuration of wxWindows 2.5.1:";;
867 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
868 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don
't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes (Win32 only)
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-apple_ieee use the Apple IEEE codec
902 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
903 --enable-cmdline use wxCmdLineParser class
904 --enable-datetime use wxDateTime class
905 --enable-dialupman use dialup network classes
906 --enable-dynlib use wxLibrary class for DLL loading
907 --enable-dynamicloader use (new) wxDynamicLibrary class
908 --enable-exceptions build exception-safe library
909 --enable-ffile use wxFFile class
910 --enable-file use wxFile class
911 --enable-filesystem use virtual file systems classes
912 --enable-fontmap use font encodings conversion classes
913 --enable-fs_inet use virtual HTTP/FTP filesystems
914 --enable-fs_zip use virtual ZIP filesystems
915 --enable-geometry use geometry class
916 --enable-log use logging system
917 --enable-longlong use wxLongLong class
918 --enable-mimetype use wxMimeTypesManager
919 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
920 --enable-snglinst use wxSingleInstanceChecker class
921 --enable-streams use wxStream etc classes
922 --enable-std_iostreams use standard C++ stream classes
923 --enable-stopwatch use wxStopWatch class
924 --enable-sysoptions use wxSystemOptions
925 --enable-textbuf use wxTextBuffer class
926 --enable-textfile use wxTextFile class
927 --enable-timer use wxTimer class
928 --enable-unicode compile wxString with Unicode support
929 --enable-wave use wxWave class
930 --enable-wxprintfv use wxWindows implementation of vprintf()
931 --enable-zipstream use wxZipInputStream
932 --enable-gzstream use wxGzipInputStream
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n
'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbook use wxListbook class
971 --enable-listbox use wxListBox class
972 --enable-listctrl use wxListCtrl class
973 --enable-notebook use wxNotebook class
974 --enable-radiobox use wxRadioBox class
975 --enable-radiobtn use wxRadioButton class
976 --enable-sash use wxSashWindow class
977 --enable-scrollbar use wxScrollBar class and scrollable windows
978 --enable-slider use wxSlider class
979 --enable-spinbtn use wxSpinButton class
980 --enable-spinctrl use wxSpinCtrl class
981 --enable-splitter use wxSplitterWindow class
982 --enable-statbmp use wxStaticBitmap class
983 --enable-statbox use wxStaticBox class
984 --enable-statline use wxStaticLine class
985 --enable-stattext use wxStaticText class
986 --enable-statusbar use wxStatusBar class
987 --enable-tabdialog use wxTabControl class
988 --enable-textctrl use wxTextCtrl class
989 --enable-togglebtn use wxToggleButton class
990 --enable-toolbar use wxToolBar class
991 --enable-tbarnative use native wxToolBar class
992 --enable-tbarsmpl use wxToolBarSimple class
993 --enable-treectrl use wxTreeCtrl class
994 --enable-tipwindow use wxTipWindow class
995 --enable-popupwin use wxPopUpWindow class
996 --enable-commondlg use all common dialogs
997 --enable-choicedlg use wxChoiceDialog
998 --enable-coldlg use wxColourDialog
999 --enable-filedlg use wxFileDialog
1000 --enable-finddlg use wxFindReplaceDialog
1001 --enable-fontdlg use wxFontDialog
1002 --enable-dirdlg use wxDirDialog
1003 --enable-msgdlg use wxMessageDialog
1004 --enable-numberdlg use wxNumberEntryDialog
1005 --enable-splash use wxSplashScreen
1006 --enable-textdlg use wxTextDialog
1007 --enable-tipdlg use startup tips
1008 --enable-progressdlg use wxProgressDialog
1009 --enable-wizarddlg use wxWizard
1010 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1011 --enable-miniframe use wxMiniFrame class
1012 --enable-tooltips use wxToolTip class
1013 --enable-splines use spline drawing code
1014 --enable-validators use wxValidator and derived classes
1015 --enable-busyinfo use wxBusyInfo
1016 --enable-joystick use wxJoystick (Linux only)
1017 --enable-metafiles use wxMetaFile (Windows only)
1018 --enable-dragimage use wxDragImage
1019 --enable-accessibility enable accessibility support
1020 --enable-palette use wxPalette class
1021 --enable-image use wxImage class
1022 --enable-gif use gif images (GIF file format)
1023 --enable-pcx use pcx images (PCX file format)
1024 --enable-iff use iff images (IFF file format)
1025 --enable-pnm use pnm images (PNM file format)
1026 --enable-xpm use xpm images (XPM file format)
1027 --enable-icocur use Windows ICO and CUR formats
1028 --enable-official_build official build of wxWindows (win32 DLL only)
1029 --enable-vendor=VENDOR vendor name (win32 DLL only)
1030 --disable-largefile omit support for large files
1031 --disable-gtktest do not try to compile and run a test GTK+ program
1032 --disable-gtktest Do not try to compile and run a test GTK program
1033 --disable-precomp-headers don't use precompiled headers even
if compiler can
1036 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1037 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1039 --with-motif use Motif
/Lesstif
1040 --with-mac use Mac OS X
1041 --with-cocoa use Cocoa
1042 --with-wine use Wine
1043 --with-msw use MS
-Windows
1044 --with-pm use OS
/2 Presentation Manager
1045 --with-mgl use SciTech MGL
1046 --with-microwin use MicroWindows
1048 --with-libpng use libpng
(PNG image format
)
1049 --with-libjpeg use libjpeg
(JPEG
file format
)
1050 --with-libtiff use libtiff
(TIFF
file format
)
1051 --with-libxpm use libxpm
(XPM
file format
)
1052 --with-libmspack use libmspack
(CHM
help files loading
)
1053 --with-opengl use OpenGL
(or Mesa
)
1054 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1055 --with-regex enable support
for wxRegEx class
1056 --with-zlib use zlib
for LZW compression
1057 --with-odbc use the IODBC and wxODBC classes
1058 --with-expat enable XML support using expat parser
1059 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1060 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1061 --with-x use the X Window System
1062 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1064 Some influential environment variables
:
1065 CC C compiler
command
1066 CFLAGS C compiler flags
1067 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1068 nonstandard directory
<lib dir
>
1069 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1070 headers
in a nonstandard directory
<include dir
>
1072 CXX C
++ compiler
command
1073 CXXFLAGS C
++ compiler flags
1074 CXXCPP C
++ preprocessor
1076 Use these variables to override the choices made by
`configure' or to help
1077 it to find libraries and programs with nonstandard names/locations.
1079 Report bugs to <wx-dev@lists.wxwindows.org>.
1083 if test "$ac_init_help" = "recursive"; then
1084 # If there are subdirs, report their specific --help.
1086 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1087 test -d $ac_dir || continue
1090 if test "$ac_dir" != .; then
1091 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1092 # A "../" for each directory in $ac_dir_suffix.
1093 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1095 ac_dir_suffix= ac_top_builddir=
1099 .) # No --srcdir option. We are building in place.
1101 if test -z "$ac_top_builddir"; then
1104 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1106 [\\/]* | ?:[\\/]* ) # Absolute path.
1107 ac_srcdir=$srcdir$ac_dir_suffix;
1108 ac_top_srcdir=$srcdir ;;
1110 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1111 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1113 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1115 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1116 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
1117 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1118 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1121 # Check for guested configure; otherwise get Cygnus style configure.
1122 if test -f $ac_srcdir/configure.gnu; then
1124 $SHELL $ac_srcdir/configure.gnu --help=recursive
1125 elif test -f $ac_srcdir/configure; then
1127 $SHELL $ac_srcdir/configure --help=recursive
1128 elif test -f $ac_srcdir/configure.ac ||
1129 test -f $ac_srcdir/configure.in; then
1131 $ac_configure --help
1133 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1139 test -n "$ac_init_help" && exit 0
1140 if $ac_init_version; then
1142 wxWindows configure 2.5.1
1143 generated by GNU Autoconf 2.57
1145 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1146 Free Software Foundation, Inc.
1147 This configure script is free software; the Free Software Foundation
1148 gives unlimited permission to copy, distribute and modify it.
1154 This file contains any messages produced by compilers while
1155 running configure, to aid debugging if configure makes a mistake.
1157 It was created by wxWindows $as_me 2.5.1, which was
1158 generated by GNU Autoconf 2.57. Invocation command line was
1169 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1170 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1171 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1172 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1173 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1175 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1176 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1178 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1179 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1180 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1181 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1182 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1183 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1184 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1192 test -z "$as_dir" && as_dir=.
1193 echo "PATH: $as_dir"
1208 # Keep a trace of the command line.
1209 # Strip out --no-create and --no-recursion so they do not pile up.
1210 # Strip out --silent because we don't want to record it for future runs.
1211 # Also quote any args containing shell meta-characters.
1212 # Make two passes to allow for proper duplicate-argument suppression.
1217 ac_must_keep_next=false
1223 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1224 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1225 | -silent | --silent | --silen | --sile | --sil)
1227 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1228 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1231 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1233 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1234 if test $ac_must_keep_next = true; then
1235 ac_must_keep_next=false # Got value, back to normal.
1238 *=* | --config-cache | -C | -disable-* | --disable-* \
1239 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1240 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1241 | -with-* | --with-* | -without-* | --without-* | --x)
1242 case "$ac_configure_args0 " in
1243 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1246 -* ) ac_must_keep_next=true ;;
1249 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1250 # Get rid of the leading space.
1256 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1257 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1259 # When interrupted or exit'd, cleanup temporary files, and complete
1260 # config.log. We remove comments because anyway the quotes in there
1261 # would cause problems or look ugly.
1262 # WARNING: Be sure not to use single quotes in there, as some shells,
1263 # such as our DU 5.0 friend, will then `close
' the trap.
1264 trap 'exit_status
=$?
1265 # Save into config.log some information that might help in debugging.
1270 ## ---------------- ##
1271 ## Cache variables. ##
1272 ## ---------------- ##
1275 # The following way of writing the cache mishandles newlines in values,
1278 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1281 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1286 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1293 ## ----------------- ##
1294 ## Output variables. ##
1295 ## ----------------- ##
1298 for ac_var
in $ac_subst_vars
1300 eval ac_val
=$
`echo $ac_var`
1301 echo "$ac_var='"'"'$ac_val'"'"'"
1305 if test -n "$ac_subst_files"; then
1312 for ac_var
in $ac_subst_files
1314 eval ac_val
=$
`echo $ac_var`
1315 echo "$ac_var='"'"'$ac_val'"'"'"
1320 if test -s confdefs.h
; then
1327 sed "/^$/d" confdefs.h
| sort
1330 test "$ac_signal" != 0 &&
1331 echo "$as_me: caught signal $ac_signal"
1332 echo "$as_me: exit $exit_status"
1334 rm -f core core.
* *.core
&&
1335 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1338 for ac_signal in 1 2 13 15; do
1339 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1343 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1344 rm -rf conftest* confdefs.h
1345 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1348 # Predefined preprocessor variables.
1350 cat >>confdefs.h <<_ACEOF
1351 #define PACKAGE_NAME "$PACKAGE_NAME"
1355 cat >>confdefs.h <<_ACEOF
1356 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1360 cat >>confdefs.h <<_ACEOF
1361 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1365 cat >>confdefs.h <<_ACEOF
1366 #define PACKAGE_STRING "$PACKAGE_STRING"
1370 cat >>confdefs.h <<_ACEOF
1371 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1375 # Let the site file select an alternate cache file if it wants to.
1376 # Prefer explicitly selected file to automatically selected ones.
1377 if test -z "$CONFIG_SITE"; then
1378 if test "x$prefix" != xNONE; then
1379 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1381 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1384 for ac_site_file in $CONFIG_SITE; do
1385 if test -r "$ac_site_file"; then
1386 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1387 echo "$as_me: loading site script $ac_site_file" >&6;}
1388 sed 's
/^
/| /' "$ac_site_file" >&5
1393 if test -r "$cache_file"; then
1394 # Some versions of bash will fail to source /dev/null (special
1395 # files actually), so we avoid doing that.
1396 if test -f "$cache_file"; then
1397 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1398 echo "$as_me: loading cache $cache_file" >&6;}
1400 [\\/]* | ?:[\\/]* ) . $cache_file;;
1401 *) . ./$cache_file;;
1405 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1406 echo "$as_me: creating cache $cache_file" >&6;}
1410 # Check that the precious variables saved in the cache have kept the same
1412 ac_cache_corrupted=false
1413 for ac_var in `(set) 2>&1 |
1414 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1415 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1416 eval ac_new_set=\$ac_env_${ac_var}_set
1417 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1418 eval ac_new_val="\$ac_env_${ac_var}_value"
1419 case $ac_old_set,$ac_new_set in
1421 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1422 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1423 ac_cache_corrupted=: ;;
1425 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1426 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1427 ac_cache_corrupted=: ;;
1430 if test "x$ac_old_val" != "x$ac_new_val"; then
1431 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1432 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1433 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1434 echo "$as_me: former value: $ac_old_val" >&2;}
1435 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1436 echo "$as_me: current value: $ac_new_val" >&2;}
1437 ac_cache_corrupted=:
1440 # Pass precious variables to config.status.
1441 if test "$ac_new_set" = set; then
1443 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1444 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1445 *) ac_arg=$ac_var=$ac_new_val ;;
1447 case " $ac_configure_args " in
1448 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1449 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1453 if $ac_cache_corrupted; then
1454 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1455 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1456 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1457 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1458 { (exit 1); exit 1; }; }
1462 ac_cpp='$CPP $CPPFLAGS'
1463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1464 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1497 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1498 if test -f $ac_dir/install-sh; then
1500 ac_install_sh="$ac_aux_dir/install-sh -c"
1502 elif test -f $ac_dir/install.sh; then
1504 ac_install_sh="$ac_aux_dir/install.sh -c"
1506 elif test -f $ac_dir/shtool; then
1508 ac_install_sh="$ac_aux_dir/shtool install -c"
1512 if test -z "$ac_aux_dir"; then
1513 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1514 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1515 { (exit 1); exit 1; }; }
1517 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1518 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1519 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1521 # Make sure we can run config.sub.
1522 $ac_config_sub sun4 >/dev/null 2>&1 ||
1523 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1524 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1525 { (exit 1); exit 1; }; }
1527 echo "$as_me:$LINENO: checking build system type" >&5
1528 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1529 if test "${ac_cv_build+set}" = set; then
1530 echo $ECHO_N "(cached) $ECHO_C" >&6
1532 ac_cv_build_alias=$build_alias
1533 test -z "$ac_cv_build_alias" &&
1534 ac_cv_build_alias=`$ac_config_guess`
1535 test -z "$ac_cv_build_alias" &&
1536 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1537 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1538 { (exit 1); exit 1; }; }
1539 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1540 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1541 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1542 { (exit 1); exit 1; }; }
1545 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1546 echo "${ECHO_T}$ac_cv_build" >&6
1548 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1549 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1550 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1553 echo "$as_me:$LINENO: checking host system type" >&5
1554 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1555 if test "${ac_cv_host+set}" = set; then
1556 echo $ECHO_N "(cached) $ECHO_C" >&6
1558 ac_cv_host_alias=$host_alias
1559 test -z "$ac_cv_host_alias" &&
1560 ac_cv_host_alias=$ac_cv_build_alias
1561 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1562 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1563 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1564 { (exit 1); exit 1; }; }
1567 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1568 echo "${ECHO_T}$ac_cv_host" >&6
1570 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1571 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1572 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1575 echo "$as_me:$LINENO: checking target system type" >&5
1576 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1577 if test "${ac_cv_target+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 ac_cv_target_alias=$target_alias
1581 test "x$ac_cv_target_alias" = "x" &&
1582 ac_cv_target_alias=$ac_cv_host_alias
1583 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1584 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1585 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1586 { (exit 1); exit 1; }; }
1589 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1590 echo "${ECHO_T}$ac_cv_target" >&6
1591 target=$ac_cv_target
1592 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1593 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1594 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1597 # The aliases save the names the user supplied, while $host etc.
1598 # will get canonicalized.
1599 test -n "$target_alias" &&
1600 test "$program_prefix$program_suffix$program_transform_name" = \
1602 program_prefix=${target_alias}-
1606 WX_MAJOR_VERSION_NUMBER=2
1607 WX_MINOR_VERSION_NUMBER=5
1610 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1611 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1613 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1629 USE_BSD= USE_DARWIN= USE_FREEBSD=
1635 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1641 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1643 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1645 DEFAULT_wxUSE_COCOA=0
1649 DEFAULT_wxUSE_MICROWIN=0
1650 DEFAULT_wxUSE_MOTIF=0
1655 DEFAULT_DEFAULT_wxUSE_COCOA=0
1656 DEFAULT_DEFAULT_wxUSE_GTK=0
1657 DEFAULT_DEFAULT_wxUSE_MAC=0
1658 DEFAULT_DEFAULT_wxUSE_MGL=0
1659 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1660 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1661 DEFAULT_DEFAULT_wxUSE_MSW=0
1662 DEFAULT_DEFAULT_wxUSE_PM=0
1663 DEFAULT_DEFAULT_wxUSE_X11=0
1668 SAMPLES_RPATH_POSTLINK=
1673 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1674 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1676 cat >>confdefs.h <<\_ACEOF
1683 cat >>confdefs.h <<\_ACEOF
1688 if test "x$TMP" = "xalpha"; then
1690 cat >>confdefs.h <<\_ACEOF
1695 DEFAULT_DEFAULT_wxUSE_GTK=1
1699 cat >>confdefs.h <<\_ACEOF
1704 if test "x$TMP" = "xalpha"; then
1706 cat >>confdefs.h <<\_ACEOF
1711 DEFAULT_DEFAULT_wxUSE_GTK=1
1713 *-*-irix5* | *-*-irix6* )
1716 cat >>confdefs.h <<\_ACEOF
1720 cat >>confdefs.h <<\_ACEOF
1724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1730 cat >>confdefs.h <<\_ACEOF
1734 cat >>confdefs.h <<\_ACEOF
1735 #define __SOLARIS__ 1
1738 cat >>confdefs.h <<\_ACEOF
1742 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1743 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1749 cat >>confdefs.h <<\_ACEOF
1753 cat >>confdefs.h <<\_ACEOF
1757 cat >>confdefs.h <<\_ACEOF
1761 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1766 cat >>confdefs.h <<\_ACEOF
1767 #define __FREEBSD__ 1
1770 cat >>confdefs.h <<\_ACEOF
1774 DEFAULT_DEFAULT_wxUSE_GTK=1
1779 cat >>confdefs.h <<\_ACEOF
1780 #define __OPENBSD__ 1
1783 cat >>confdefs.h <<\_ACEOF
1787 DEFAULT_DEFAULT_wxUSE_GTK=1
1792 cat >>confdefs.h <<\_ACEOF
1793 #define __NETBSD__ 1
1796 cat >>confdefs.h <<\_ACEOF
1800 DEFAULT_DEFAULT_wxUSE_GTK=1
1805 cat >>confdefs.h <<\_ACEOF
1809 cat >>confdefs.h <<\_ACEOF
1813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1814 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1819 cat >>confdefs.h <<\_ACEOF
1823 cat >>confdefs.h <<\_ACEOF
1827 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1832 cat >>confdefs.h <<\_ACEOF
1836 cat >>confdefs.h <<\_ACEOF
1840 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1847 cat >>confdefs.h <<\_ACEOF
1851 cat >>confdefs.h <<\_ACEOF
1855 cat >>confdefs.h <<\_ACEOF
1859 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1866 cat >>confdefs.h <<\_ACEOF
1867 #define __UNIXWARE__ 1
1872 *-*-cygwin* | *-*-mingw32* )
1876 DEFAULT_DEFAULT_wxUSE_MSW=1
1882 cat >>confdefs.h <<\_ACEOF
1887 DEFAULT_DEFAULT_wxUSE_MGL=1
1888 LIBS="$LIBS -lstdc++"
1891 *-pc-os2_emx | *-pc-os2-emx )
1892 cat >>confdefs.h <<\_ACEOF
1897 cat >>confdefs.h <<\_ACEOF
1902 DEFAULT_DEFAULT_wxUSE_PM=1
1904 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1905 ac_executable_extensions=".exe"
1906 export ac_executable_extensions
1910 for ac_dir in $PATH; do
1912 if test -z "$ac_TEMP_PATH"; then
1913 ac_TEMP_PATH="$ac_dir"
1915 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1918 export PATH="$ac_TEMP_PATH"
1926 cat >>confdefs.h <<\_ACEOF
1930 cat >>confdefs.h <<\_ACEOF
1931 #define __DARWIN__ 1
1934 cat >>confdefs.h <<\_ACEOF
1935 #define __POWERPC__ 1
1938 cat >>confdefs.h <<\_ACEOF
1939 #define TARGET_CARBON 1
1942 DEFAULT_DEFAULT_wxUSE_MAC=1
1947 cat >>confdefs.h <<\_ACEOF
1954 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1955 echo "$as_me: error: unknown system type ${host}." >&2;}
1956 { (exit 1); exit 1; }; }
1962 wx_arg_cache_file="configarg.cache"
1963 echo "loading argument cache $wx_arg_cache_file"
1964 rm -f ${wx_arg_cache_file}.tmp
1965 touch ${wx_arg_cache_file}.tmp
1966 touch ${wx_arg_cache_file}
1970 if test $DEBUG_CONFIGURE = 1; then
1971 DEFAULT_wxUSE_UNIVERSAL=no
1972 DEFAULT_wxUSE_STL=no
1974 DEFAULT_wxUSE_NANOX=no
1976 DEFAULT_wxUSE_THREADS=yes
1978 DEFAULT_wxUSE_SHARED=yes
1979 DEFAULT_wxUSE_OPTIMISE=no
1980 DEFAULT_wxUSE_PROFILE=no
1981 DEFAULT_wxUSE_NO_DEPS=no
1982 DEFAULT_wxUSE_NO_RTTI=no
1983 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1984 DEFAULT_wxUSE_PERMISSIVE=no
1985 DEFAULT_wxUSE_DEBUG_FLAG=yes
1986 DEFAULT_wxUSE_DEBUG_INFO=yes
1987 DEFAULT_wxUSE_DEBUG_GDB=yes
1988 DEFAULT_wxUSE_MEM_TRACING=no
1989 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1990 DEFAULT_wxUSE_DMALLOC=no
1991 DEFAULT_wxUSE_APPLE_IEEE=no
1993 DEFAULT_wxUSE_EXCEPTIONS=no
1994 DEFAULT_wxUSE_LOG=yes
1995 DEFAULT_wxUSE_LOGWINDOW=no
1996 DEFAULT_wxUSE_LOGGUI=no
1997 DEFAULT_wxUSE_LOGDIALOG=no
1999 DEFAULT_wxUSE_GUI=yes
2000 DEFAULT_wxUSE_CONTROLS=no
2002 DEFAULT_wxUSE_REGEX=no
2003 DEFAULT_wxUSE_XML=no
2004 DEFAULT_wxUSE_EXPAT=no
2005 DEFAULT_wxUSE_ZLIB=no
2006 DEFAULT_wxUSE_LIBPNG=no
2007 DEFAULT_wxUSE_LIBJPEG=no
2008 DEFAULT_wxUSE_LIBTIFF=no
2009 DEFAULT_wxUSE_LIBXPM=no
2010 DEFAULT_wxUSE_ODBC=no
2011 DEFAULT_wxUSE_OPENGL=no
2013 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2014 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2015 DEFAULT_wxUSE_STD_IOSTREAM=no
2016 DEFAULT_wxUSE_CMDLINE_PARSER=no
2017 DEFAULT_wxUSE_DATETIME=no
2018 DEFAULT_wxUSE_TIMER=no
2019 DEFAULT_wxUSE_STOPWATCH=no
2020 DEFAULT_wxUSE_FILE=no
2021 DEFAULT_wxUSE_FFILE=no
2022 DEFAULT_wxUSE_TEXTBUFFER=no
2023 DEFAULT_wxUSE_TEXTFILE=no
2024 DEFAULT_wxUSE_WAVE=no
2025 DEFAULT_wxUSE_INTL=no
2026 DEFAULT_wxUSE_CONFIG=no
2027 DEFAULT_wxUSE_FONTMAP=no
2028 DEFAULT_wxUSE_STREAMS=no
2029 DEFAULT_wxUSE_SOCKETS=no
2030 DEFAULT_wxUSE_OLE=no
2031 DEFAULT_wxUSE_DATAOBJ=no
2032 DEFAULT_wxUSE_DIALUP_MANAGER=no
2033 DEFAULT_wxUSE_JOYSTICK=no
2034 DEFAULT_wxUSE_DYNLIB_CLASS=no
2035 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2036 DEFAULT_wxUSE_LONGLONG=no
2037 DEFAULT_wxUSE_GEOMETRY=no
2039 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2040 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2041 DEFAULT_wxUSE_POSTSCRIPT=no
2043 DEFAULT_wxUSE_CLIPBOARD=no
2044 DEFAULT_wxUSE_TOOLTIPS=no
2045 DEFAULT_wxUSE_DRAG_AND_DROP=no
2046 DEFAULT_wxUSE_DRAGIMAGE=no
2047 DEFAULT_wxUSE_SPLINES=no
2049 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2050 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2051 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2053 DEFAULT_wxUSE_RESOURCES=no
2054 DEFAULT_wxUSE_CONSTRAINTS=no
2055 DEFAULT_wxUSE_IPC=no
2056 DEFAULT_wxUSE_HELP=no
2057 DEFAULT_wxUSE_MS_HTML_HELP=no
2058 DEFAULT_wxUSE_WXHTML_HELP=no
2059 DEFAULT_wxUSE_TREELAYOUT=no
2060 DEFAULT_wxUSE_METAFILE=no
2061 DEFAULT_wxUSE_MIMETYPE=no
2062 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2063 DEFAULT_wxUSE_PROTOCOL=no
2064 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2065 DEFAULT_wxUSE_PROTOCOL_FTP=no
2066 DEFAULT_wxUSE_PROTOCOL_FILE=no
2067 DEFAULT_wxUSE_URL=no
2069 DEFAULT_wxUSE_COMMONDLGS=no
2070 DEFAULT_wxUSE_CHOICEDLG=no
2071 DEFAULT_wxUSE_COLOURDLG=no
2072 DEFAULT_wxUSE_DIRDLG=no
2073 DEFAULT_wxUSE_FILEDLG=no
2074 DEFAULT_wxUSE_FINDREPLDLG=no
2075 DEFAULT_wxUSE_FONTDLG=no
2076 DEFAULT_wxUSE_MSGDLG=no
2077 DEFAULT_wxUSE_NUMBERDLG=no
2078 DEFAULT_wxUSE_TEXTDLG=no
2079 DEFAULT_wxUSE_SPLASH=no
2080 DEFAULT_wxUSE_STARTUP_TIPS=no
2081 DEFAULT_wxUSE_PROGRESSDLG=no
2082 DEFAULT_wxUSE_WIZARDDLG=no
2084 DEFAULT_wxUSE_MENUS=no
2085 DEFAULT_wxUSE_MINIFRAME=no
2086 DEFAULT_wxUSE_HTML=no
2087 DEFAULT_wxUSE_FILESYSTEM=no
2088 DEFAULT_wxUSE_FS_INET=no
2089 DEFAULT_wxUSE_FS_ZIP=no
2090 DEFAULT_wxUSE_BUSYINFO=no
2091 DEFAULT_wxUSE_ZIPSTREAM=no
2092 DEFAULT_wxUSE_GZSTREAM=no
2093 DEFAULT_wxUSE_VALIDATORS=no
2095 DEFAULT_wxUSE_ACCEL=no
2096 DEFAULT_wxUSE_BUTTON=no
2097 DEFAULT_wxUSE_BMPBUTTON=no
2098 DEFAULT_wxUSE_CALCTRL=no
2099 DEFAULT_wxUSE_CARET=no
2100 DEFAULT_wxUSE_CHECKBOX=no
2101 DEFAULT_wxUSE_CHECKLST=no
2102 DEFAULT_wxUSE_CHOICE=no
2103 DEFAULT_wxUSE_COMBOBOX=no
2104 DEFAULT_wxUSE_DISPLAY=no
2105 DEFAULT_wxUSE_GAUGE=no
2106 DEFAULT_wxUSE_GRID=no
2107 DEFAULT_wxUSE_IMAGLIST=no
2108 DEFAULT_wxUSE_LISTBOOK=no
2109 DEFAULT_wxUSE_LISTBOX=no
2110 DEFAULT_wxUSE_LISTCTRL=no
2111 DEFAULT_wxUSE_NOTEBOOK=no
2112 DEFAULT_wxUSE_RADIOBOX=no
2113 DEFAULT_wxUSE_RADIOBTN=no
2114 DEFAULT_wxUSE_SASH=no
2115 DEFAULT_wxUSE_SCROLLBAR=no
2116 DEFAULT_wxUSE_SLIDER=no
2117 DEFAULT_wxUSE_SPINBTN=no
2118 DEFAULT_wxUSE_SPINCTRL=no
2119 DEFAULT_wxUSE_SPLITTER=no
2120 DEFAULT_wxUSE_STATBMP=no
2121 DEFAULT_wxUSE_STATBOX=no
2122 DEFAULT_wxUSE_STATLINE=no
2123 DEFAULT_wxUSE_STATTEXT=no
2124 DEFAULT_wxUSE_STATUSBAR=yes
2125 DEFAULT_wxUSE_TABDIALOG=no
2126 DEFAULT_wxUSE_TEXTCTRL=no
2127 DEFAULT_wxUSE_TOGGLEBTN=no
2128 DEFAULT_wxUSE_TOOLBAR=no
2129 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2130 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2131 DEFAULT_wxUSE_TREECTRL=no
2132 DEFAULT_wxUSE_POPUPWIN=no
2133 DEFAULT_wxUSE_TIPWINDOW=no
2135 DEFAULT_wxUSE_UNICODE=no
2136 DEFAULT_wxUSE_UNICODE_MSLU=no
2137 DEFAULT_wxUSE_WCSRTOMBS=no
2139 DEFAULT_wxUSE_PALETTE=no
2140 DEFAULT_wxUSE_IMAGE=no
2141 DEFAULT_wxUSE_GIF=no
2142 DEFAULT_wxUSE_PCX=no
2143 DEFAULT_wxUSE_PNM=no
2144 DEFAULT_wxUSE_IFF=no
2145 DEFAULT_wxUSE_XPM=no
2146 DEFAULT_wxUSE_ICO_CUR=no
2147 DEFAULT_wxUSE_ACCESSIBILITY=no
2149 DEFAULT_wxUSE_MONOLITHIC=no
2150 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2152 DEFAULT_wxUSE_UNIVERSAL=no
2153 DEFAULT_wxUSE_STL=no
2155 DEFAULT_wxUSE_NANOX=no
2157 DEFAULT_wxUSE_THREADS=yes
2159 DEFAULT_wxUSE_SHARED=yes
2160 DEFAULT_wxUSE_OPTIMISE=yes
2161 DEFAULT_wxUSE_PROFILE=no
2162 DEFAULT_wxUSE_NO_DEPS=no
2163 DEFAULT_wxUSE_NO_RTTI=no
2164 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2165 DEFAULT_wxUSE_PERMISSIVE=no
2166 DEFAULT_wxUSE_DEBUG_FLAG=no
2167 DEFAULT_wxUSE_DEBUG_INFO=no
2168 DEFAULT_wxUSE_DEBUG_GDB=no
2169 DEFAULT_wxUSE_MEM_TRACING=no
2170 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2171 DEFAULT_wxUSE_DMALLOC=no
2172 DEFAULT_wxUSE_APPLE_IEEE=yes
2174 DEFAULT_wxUSE_EXCEPTIONS=yes
2175 DEFAULT_wxUSE_LOG=yes
2176 DEFAULT_wxUSE_LOGWINDOW=yes
2177 DEFAULT_wxUSE_LOGGUI=yes
2178 DEFAULT_wxUSE_LOGDIALOG=yes
2180 DEFAULT_wxUSE_GUI=yes
2182 DEFAULT_wxUSE_REGEX=yes
2183 DEFAULT_wxUSE_XML=yes
2184 DEFAULT_wxUSE_EXPAT=yes
2185 DEFAULT_wxUSE_ZLIB=yes
2186 DEFAULT_wxUSE_LIBPNG=yes
2187 DEFAULT_wxUSE_LIBJPEG=yes
2188 DEFAULT_wxUSE_LIBTIFF=yes
2189 DEFAULT_wxUSE_LIBXPM=yes
2190 DEFAULT_wxUSE_LIBMSPACK=yes
2191 DEFAULT_wxUSE_ODBC=no
2192 DEFAULT_wxUSE_OPENGL=no
2194 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2195 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2196 DEFAULT_wxUSE_STD_IOSTREAM=no
2197 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2198 DEFAULT_wxUSE_DATETIME=yes
2199 DEFAULT_wxUSE_TIMER=yes
2200 DEFAULT_wxUSE_STOPWATCH=yes
2201 DEFAULT_wxUSE_FILE=yes
2202 DEFAULT_wxUSE_FFILE=yes
2203 DEFAULT_wxUSE_TEXTBUFFER=yes
2204 DEFAULT_wxUSE_TEXTFILE=yes
2205 DEFAULT_wxUSE_WAVE=no
2206 DEFAULT_wxUSE_INTL=yes
2207 DEFAULT_wxUSE_CONFIG=yes
2208 DEFAULT_wxUSE_FONTMAP=yes
2209 DEFAULT_wxUSE_STREAMS=yes
2210 DEFAULT_wxUSE_SOCKETS=yes
2211 DEFAULT_wxUSE_OLE=yes
2212 DEFAULT_wxUSE_DATAOBJ=yes
2213 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2214 DEFAULT_wxUSE_JOYSTICK=yes
2215 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2216 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2217 DEFAULT_wxUSE_LONGLONG=yes
2218 DEFAULT_wxUSE_GEOMETRY=yes
2220 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2221 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2222 DEFAULT_wxUSE_POSTSCRIPT=yes
2224 DEFAULT_wxUSE_CLIPBOARD=yes
2225 DEFAULT_wxUSE_TOOLTIPS=yes
2226 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2227 DEFAULT_wxUSE_DRAGIMAGE=yes
2228 DEFAULT_wxUSE_SPLINES=yes
2230 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2231 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2232 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2234 DEFAULT_wxUSE_RESOURCES=no
2235 DEFAULT_wxUSE_CONSTRAINTS=yes
2236 DEFAULT_wxUSE_IPC=yes
2237 DEFAULT_wxUSE_HELP=yes
2238 DEFAULT_wxUSE_MS_HTML_HELP=yes
2239 DEFAULT_wxUSE_WXHTML_HELP=yes
2240 DEFAULT_wxUSE_TREELAYOUT=yes
2241 DEFAULT_wxUSE_METAFILE=yes
2242 DEFAULT_wxUSE_MIMETYPE=yes
2243 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2244 DEFAULT_wxUSE_PROTOCOL=yes
2245 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2246 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2247 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2248 DEFAULT_wxUSE_URL=yes
2250 DEFAULT_wxUSE_COMMONDLGS=yes
2251 DEFAULT_wxUSE_CHOICEDLG=yes
2252 DEFAULT_wxUSE_COLOURDLG=yes
2253 DEFAULT_wxUSE_DIRDLG=yes
2254 DEFAULT_wxUSE_FILEDLG=yes
2255 DEFAULT_wxUSE_FINDREPLDLG=yes
2256 DEFAULT_wxUSE_FONTDLG=yes
2257 DEFAULT_wxUSE_MSGDLG=yes
2258 DEFAULT_wxUSE_NUMBERDLG=yes
2259 DEFAULT_wxUSE_TEXTDLG=yes
2260 DEFAULT_wxUSE_SPLASH=yes
2261 DEFAULT_wxUSE_STARTUP_TIPS=yes
2262 DEFAULT_wxUSE_PROGRESSDLG=yes
2263 DEFAULT_wxUSE_WIZARDDLG=yes
2265 DEFAULT_wxUSE_MENUS=yes
2266 DEFAULT_wxUSE_MINIFRAME=yes
2267 DEFAULT_wxUSE_HTML=yes
2268 DEFAULT_wxUSE_FILESYSTEM=yes
2269 DEFAULT_wxUSE_FS_INET=yes
2270 DEFAULT_wxUSE_FS_ZIP=yes
2271 DEFAULT_wxUSE_BUSYINFO=yes
2272 DEFAULT_wxUSE_ZIPSTREAM=yes
2273 DEFAULT_wxUSE_GZSTREAM=yes
2274 DEFAULT_wxUSE_VALIDATORS=yes
2276 DEFAULT_wxUSE_ACCEL=yes
2277 DEFAULT_wxUSE_BUTTON=yes
2278 DEFAULT_wxUSE_BMPBUTTON=yes
2279 DEFAULT_wxUSE_CALCTRL=yes
2280 DEFAULT_wxUSE_CARET=yes
2281 DEFAULT_wxUSE_CHECKBOX=yes
2282 DEFAULT_wxUSE_CHECKLST=yes
2283 DEFAULT_wxUSE_CHOICE=yes
2284 DEFAULT_wxUSE_COMBOBOX=yes
2285 DEFAULT_wxUSE_DISPLAY=no
2286 DEFAULT_wxUSE_GAUGE=yes
2287 DEFAULT_wxUSE_GRID=yes
2288 DEFAULT_wxUSE_IMAGLIST=yes
2289 DEFAULT_wxUSE_LISTBOOK=yes
2290 DEFAULT_wxUSE_LISTBOX=yes
2291 DEFAULT_wxUSE_LISTCTRL=yes
2292 DEFAULT_wxUSE_NOTEBOOK=yes
2293 DEFAULT_wxUSE_RADIOBOX=yes
2294 DEFAULT_wxUSE_RADIOBTN=yes
2295 DEFAULT_wxUSE_SASH=yes
2296 DEFAULT_wxUSE_SCROLLBAR=yes
2297 DEFAULT_wxUSE_SLIDER=yes
2298 DEFAULT_wxUSE_SPINBTN=yes
2299 DEFAULT_wxUSE_SPINCTRL=yes
2300 DEFAULT_wxUSE_SPLITTER=yes
2301 DEFAULT_wxUSE_STATBMP=yes
2302 DEFAULT_wxUSE_STATBOX=yes
2303 DEFAULT_wxUSE_STATLINE=yes
2304 DEFAULT_wxUSE_STATTEXT=yes
2305 DEFAULT_wxUSE_STATUSBAR=yes
2306 DEFAULT_wxUSE_TABDIALOG=no
2307 DEFAULT_wxUSE_TEXTCTRL=yes
2308 DEFAULT_wxUSE_TOGGLEBTN=yes
2309 DEFAULT_wxUSE_TOOLBAR=yes
2310 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2311 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2312 DEFAULT_wxUSE_TREECTRL=yes
2313 DEFAULT_wxUSE_POPUPWIN=yes
2314 DEFAULT_wxUSE_TIPWINDOW=yes
2316 DEFAULT_wxUSE_UNICODE=no
2317 DEFAULT_wxUSE_UNICODE_MSLU=yes
2318 DEFAULT_wxUSE_WCSRTOMBS=no
2320 DEFAULT_wxUSE_PALETTE=yes
2321 DEFAULT_wxUSE_IMAGE=yes
2322 DEFAULT_wxUSE_GIF=yes
2323 DEFAULT_wxUSE_PCX=yes
2324 DEFAULT_wxUSE_IFF=no
2325 DEFAULT_wxUSE_PNM=yes
2326 DEFAULT_wxUSE_XPM=yes
2327 DEFAULT_wxUSE_ICO_CUR=yes
2328 DEFAULT_wxUSE_ACCESSIBILITY=no
2330 DEFAULT_wxUSE_MONOLITHIC=no
2331 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2336 for toolkit in `echo $ALL_TOOLKITS`; do
2337 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2338 if test "x$LINE" != "x" ; then
2339 has_toolkit_in_cache=1
2340 eval "DEFAULT_$LINE"
2341 eval "CACHE_$toolkit=1"
2348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2349 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2351 # Check whether --enable-gui or --disable-gui was given.
2352 if test "${enable_gui+set}" = set; then
2353 enableval="$enable_gui"
2355 if test "$enableval" = yes; then
2356 ac_cv_use_gui='wxUSE_GUI
=yes'
2358 ac_cv_use_gui='wxUSE_GUI
=no
'
2363 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2364 if test "x$LINE" != x ; then
2365 eval "DEFAULT_$LINE"
2370 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2374 eval "$ac_cv_use_gui"
2375 if test "$no_cache" != 1; then
2376 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2379 if test "$wxUSE_GUI" = yes; then
2380 echo "$as_me:$LINENO: result: yes" >&5
2381 echo "${ECHO_T}yes" >&6
2383 echo "$as_me:$LINENO: result: no" >&5
2384 echo "${ECHO_T}no" >&6
2389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2390 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2392 # Check whether --enable-monolithic or --disable-monolithic was given.
2393 if test "${enable_monolithic+set}" = set; then
2394 enableval="$enable_monolithic"
2396 if test "$enableval" = yes; then
2397 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2399 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2404 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2405 if test "x$LINE" != x ; then
2406 eval "DEFAULT_$LINE"
2411 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2415 eval "$ac_cv_use_monolithic"
2416 if test "$no_cache" != 1; then
2417 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2420 if test "$wxUSE_MONOLITHIC" = yes; then
2421 echo "$as_me:$LINENO: result: yes" >&5
2422 echo "${ECHO_T}yes" >&6
2424 echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6
2429 if test "$wxUSE_GUI" = "yes"; then
2433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2434 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2436 # Check whether --enable-universal or --disable-universal was given.
2437 if test "${enable_universal+set}" = set; then
2438 enableval="$enable_universal"
2440 if test "$enableval" = yes; then
2441 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2443 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2448 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2449 if test "x$LINE" != x ; then
2450 eval "DEFAULT_$LINE"
2455 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2459 eval "$ac_cv_use_universal"
2460 if test "$no_cache" != 1; then
2461 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2464 if test "$wxUSE_UNIVERSAL" = yes; then
2465 echo "$as_me:$LINENO: result: yes" >&5
2466 echo "${ECHO_T}yes" >&6
2468 echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2473 # Check whether --with-gtk or --without-gtk was given.
2474 if test "${with_gtk+set}" = set; then
2476 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2479 # Check whether --with-motif or --without-motif was given.
2480 if test "${with_motif+set}" = set; then
2481 withval="$with_motif"
2482 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2485 # Check whether --with-mac or --without-mac was given.
2486 if test "${with_mac+set}" = set; then
2488 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2491 # Check whether --with-cocoa or --without-cocoa was given.
2492 if test "${with_cocoa+set}" = set; then
2493 withval="$with_cocoa"
2494 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2497 # Check whether --with-wine or --without-wine was given.
2498 if test "${with_wine+set}" = set; then
2499 withval="$with_wine"
2500 wxUSE_WINE="$withval" CACHE_WINE=1
2503 # Check whether --with-msw or --without-msw was given.
2504 if test "${with_msw+set}" = set; then
2506 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2509 # Check whether --with-pm or --without-pm was given.
2510 if test "${with_pm+set}" = set; then
2512 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2515 # Check whether --with-mgl or --without-mgl was given.
2516 if test "${with_mgl+set}" = set; then
2518 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2521 # Check whether --with-microwin or --without-microwin was given.
2522 if test "${with_microwin+set}" = set; then
2523 withval="$with_microwin"
2524 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2527 # Check whether --with-x11 or --without-x11 was given.
2528 if test "${with_x11+set}" = set; then
2530 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2535 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2537 # Check whether --enable-nanox or --disable-nanox was given.
2538 if test "${enable_nanox+set}" = set; then
2539 enableval="$enable_nanox"
2541 if test "$enableval" = yes; then
2542 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2544 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2549 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2550 if test "x$LINE" != x ; then
2551 eval "DEFAULT_$LINE"
2556 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2560 eval "$ac_cv_use_nanox"
2561 if test "$no_cache" != 1; then
2562 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2565 if test "$wxUSE_NANOX" = yes; then
2566 echo "$as_me:$LINENO: result: yes" >&5
2567 echo "${ECHO_T}yes" >&6
2569 echo "$as_me:$LINENO: result: no" >&5
2570 echo "${ECHO_T}no" >&6
2576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2577 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2579 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2580 if test "${enable_gtk2+set}" = set; then
2581 enableval="$enable_gtk2"
2583 if test "$enableval" = yes; then
2584 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2586 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2591 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2592 if test "x$LINE" != x ; then
2593 eval "DEFAULT_$LINE"
2598 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2602 eval "$ac_cv_use_gtk2"
2603 if test "$no_cache" != 1; then
2604 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2607 if test "$wxUSE_GTK2" = yes; then
2608 echo "$as_me:$LINENO: result: yes" >&5
2609 echo "${ECHO_T}yes" >&6
2611 echo "$as_me:$LINENO: result: no" >&5
2612 echo "${ECHO_T}no" >&6
2617 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2618 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2621 # Check whether --with-libpng or --without-libpng was given.
2622 if test "${with_libpng+set}" = set; then
2623 withval="$with_libpng"
2625 if test "$withval" = yes; then
2626 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2627 elif test "$withval" = no; then
2628 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2629 elif test "$withval" = sys; then
2630 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2631 elif test "$withval" = builtin; then
2632 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2634 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2635 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2636 { (exit 1); exit 1; }; }
2641 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2642 if test "x$LINE" != x ; then
2643 eval "DEFAULT_$LINE"
2648 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2652 eval "$ac_cv_use_libpng"
2653 if test "$no_cache" != 1; then
2654 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2657 if test "$wxUSE_LIBPNG" = yes; then
2658 echo "$as_me:$LINENO: result: yes" >&5
2659 echo "${ECHO_T}yes" >&6
2660 elif test "$wxUSE_LIBPNG" = no; then
2661 echo "$as_me:$LINENO: result: no" >&5
2662 echo "${ECHO_T}no" >&6
2663 elif test "$wxUSE_LIBPNG" = sys; then
2664 echo "$as_me:$LINENO: result: system version" >&5
2665 echo "${ECHO_T}system version" >&6
2666 elif test "$wxUSE_LIBPNG" = builtin; then
2667 echo "$as_me:$LINENO: result: builtin version" >&5
2668 echo "${ECHO_T}builtin version" >&6
2670 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2671 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2672 { (exit 1); exit 1; }; }
2676 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2677 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2680 # Check whether --with-libjpeg or --without-libjpeg was given.
2681 if test "${with_libjpeg+set}" = set; then
2682 withval="$with_libjpeg"
2684 if test "$withval" = yes; then
2685 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2686 elif test "$withval" = no; then
2687 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2688 elif test "$withval" = sys; then
2689 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2690 elif test "$withval" = builtin; then
2691 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2694 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2695 { (exit 1); exit 1; }; }
2700 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2701 if test "x$LINE" != x ; then
2702 eval "DEFAULT_$LINE"
2707 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2711 eval "$ac_cv_use_libjpeg"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2716 if test "$wxUSE_LIBJPEG" = yes; then
2717 echo "$as_me:$LINENO: result: yes" >&5
2718 echo "${ECHO_T}yes" >&6
2719 elif test "$wxUSE_LIBJPEG" = no; then
2720 echo "$as_me:$LINENO: result: no" >&5
2721 echo "${ECHO_T}no" >&6
2722 elif test "$wxUSE_LIBJPEG" = sys; then
2723 echo "$as_me:$LINENO: result: system version" >&5
2724 echo "${ECHO_T}system version" >&6
2725 elif test "$wxUSE_LIBJPEG" = builtin; then
2726 echo "$as_me:$LINENO: result: builtin version" >&5
2727 echo "${ECHO_T}builtin version" >&6
2729 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2730 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2731 { (exit 1); exit 1; }; }
2735 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2736 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2739 # Check whether --with-libtiff or --without-libtiff was given.
2740 if test "${with_libtiff+set}" = set; then
2741 withval="$with_libtiff"
2743 if test "$withval" = yes; then
2744 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2745 elif test "$withval" = no; then
2746 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2747 elif test "$withval" = sys; then
2748 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2749 elif test "$withval" = builtin; then
2750 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2752 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2753 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2754 { (exit 1); exit 1; }; }
2759 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x ; then
2761 eval "DEFAULT_$LINE"
2766 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2770 eval "$ac_cv_use_libtiff"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2775 if test "$wxUSE_LIBTIFF" = yes; then
2776 echo "$as_me:$LINENO: result: yes" >&5
2777 echo "${ECHO_T}yes" >&6
2778 elif test "$wxUSE_LIBTIFF" = no; then
2779 echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6
2781 elif test "$wxUSE_LIBTIFF" = sys; then
2782 echo "$as_me:$LINENO: result: system version" >&5
2783 echo "${ECHO_T}system version" >&6
2784 elif test "$wxUSE_LIBTIFF" = builtin; then
2785 echo "$as_me:$LINENO: result: builtin version" >&5
2786 echo "${ECHO_T}builtin version" >&6
2788 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2789 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2790 { (exit 1); exit 1; }; }
2794 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2795 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2798 # Check whether --with-libxpm or --without-libxpm was given.
2799 if test "${with_libxpm+set}" = set; then
2800 withval="$with_libxpm"
2802 if test "$withval" = yes; then
2803 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
2804 elif test "$withval" = no; then
2805 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
2806 elif test "$withval" = sys; then
2807 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
2808 elif test "$withval" = builtin; then
2809 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
2811 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2812 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2813 { (exit 1); exit 1; }; }
2818 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2819 if test "x$LINE" != x ; then
2820 eval "DEFAULT_$LINE"
2825 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
2829 eval "$ac_cv_use_libxpm"
2830 if test "$no_cache" != 1; then
2831 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2834 if test "$wxUSE_LIBXPM" = yes; then
2835 echo "$as_me:$LINENO: result: yes" >&5
2836 echo "${ECHO_T}yes" >&6
2837 elif test "$wxUSE_LIBXPM" = no; then
2838 echo "$as_me:$LINENO: result: no" >&5
2839 echo "${ECHO_T}no" >&6
2840 elif test "$wxUSE_LIBXPM" = sys; then
2841 echo "$as_me:$LINENO: result: system version" >&5
2842 echo "${ECHO_T}system version" >&6
2843 elif test "$wxUSE_LIBXPM" = builtin; then
2844 echo "$as_me:$LINENO: result: builtin version" >&5
2845 echo "${ECHO_T}builtin version" >&6
2847 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2848 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2849 { (exit 1); exit 1; }; }
2853 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2854 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2857 # Check whether --with-libmspack or --without-libmspack was given.
2858 if test "${with_libmspack+set}" = set; then
2859 withval="$with_libmspack"
2861 if test "$withval" = yes; then
2862 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
2864 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
2869 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2870 if test "x$LINE" != x ; then
2871 eval "DEFAULT_$LINE"
2876 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
2880 eval "$ac_cv_use_libmspack"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2885 if test "$wxUSE_LIBMSPACK" = yes; then
2886 echo "$as_me:$LINENO: result: yes" >&5
2887 echo "${ECHO_T}yes" >&6
2889 echo "$as_me:$LINENO: result: no" >&5
2890 echo "${ECHO_T}no" >&6
2894 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2895 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2898 # Check whether --with-opengl or --without-opengl was given.
2899 if test "${with_opengl+set}" = set; then
2900 withval="$with_opengl"
2902 if test "$withval" = yes; then
2903 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2905 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2910 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2911 if test "x$LINE" != x ; then
2912 eval "DEFAULT_$LINE"
2917 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2921 eval "$ac_cv_use_opengl"
2922 if test "$no_cache" != 1; then
2923 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2926 if test "$wxUSE_OPENGL" = yes; then
2927 echo "$as_me:$LINENO: result: yes" >&5
2928 echo "${ECHO_T}yes" >&6
2930 echo "$as_me:$LINENO: result: no" >&5
2931 echo "${ECHO_T}no" >&6
2938 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2939 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2942 # Check whether --with-dmalloc or --without-dmalloc was given.
2943 if test "${with_dmalloc+set}" = set; then
2944 withval="$with_dmalloc"
2946 if test "$withval" = yes; then
2947 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2949 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2954 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2955 if test "x$LINE" != x ; then
2956 eval "DEFAULT_$LINE"
2961 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2965 eval "$ac_cv_use_dmalloc"
2966 if test "$no_cache" != 1; then
2967 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2970 if test "$wxUSE_DMALLOC" = yes; then
2971 echo "$as_me:$LINENO: result: yes" >&5
2972 echo "${ECHO_T}yes" >&6
2974 echo "$as_me:$LINENO: result: no" >&5
2975 echo "${ECHO_T}no" >&6
2979 echo "$as_me:$LINENO: checking for --with-regex" >&5
2980 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2983 # Check whether --with-regex or --without-regex was given.
2984 if test "${with_regex+set}" = set; then
2985 withval="$with_regex"
2987 if test "$withval" = yes; then
2988 ac_cv_use_regex='wxUSE_REGEX
=yes'
2989 elif test "$withval" = no; then
2990 ac_cv_use_regex='wxUSE_REGEX
=no
'
2991 elif test "$withval" = sys; then
2992 ac_cv_use_regex='wxUSE_REGEX
=sys
'
2993 elif test "$withval" = builtin; then
2994 ac_cv_use_regex='wxUSE_REGEX
=builtin'
2996 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2997 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2998 { (exit 1); exit 1; }; }
3003 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3004 if test "x$LINE" != x ; then
3005 eval "DEFAULT_$LINE"
3010 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3014 eval "$ac_cv_use_regex"
3015 if test "$no_cache" != 1; then
3016 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3019 if test "$wxUSE_REGEX" = yes; then
3020 echo "$as_me:$LINENO: result: yes" >&5
3021 echo "${ECHO_T}yes" >&6
3022 elif test "$wxUSE_REGEX" = no; then
3023 echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6
3025 elif test "$wxUSE_REGEX" = sys; then
3026 echo "$as_me:$LINENO: result: system version" >&5
3027 echo "${ECHO_T}system version" >&6
3028 elif test "$wxUSE_REGEX" = builtin; then
3029 echo "$as_me:$LINENO: result: builtin version" >&5
3030 echo "${ECHO_T}builtin version" >&6
3032 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3033 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3034 { (exit 1); exit 1; }; }
3038 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3039 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3042 # Check whether --with-zlib or --without-zlib was given.
3043 if test "${with_zlib+set}" = set; then
3044 withval="$with_zlib"
3046 if test "$withval" = yes; then
3047 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3048 elif test "$withval" = no; then
3049 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3050 elif test "$withval" = sys; then
3051 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3052 elif test "$withval" = builtin; then
3053 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3055 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3056 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3057 { (exit 1); exit 1; }; }
3062 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3063 if test "x$LINE" != x ; then
3064 eval "DEFAULT_$LINE"
3069 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3073 eval "$ac_cv_use_zlib"
3074 if test "$no_cache" != 1; then
3075 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3078 if test "$wxUSE_ZLIB" = yes; then
3079 echo "$as_me:$LINENO: result: yes" >&5
3080 echo "${ECHO_T}yes" >&6
3081 elif test "$wxUSE_ZLIB" = no; then
3082 echo "$as_me:$LINENO: result: no" >&5
3083 echo "${ECHO_T}no" >&6
3084 elif test "$wxUSE_ZLIB" = sys; then
3085 echo "$as_me:$LINENO: result: system version" >&5
3086 echo "${ECHO_T}system version" >&6
3087 elif test "$wxUSE_ZLIB" = builtin; then
3088 echo "$as_me:$LINENO: result: builtin version" >&5
3089 echo "${ECHO_T}builtin version" >&6
3091 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3092 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3093 { (exit 1); exit 1; }; }
3097 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3098 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3101 # Check whether --with-odbc or --without-odbc was given.
3102 if test "${with_odbc+set}" = set; then
3103 withval="$with_odbc"
3105 if test "$withval" = yes; then
3106 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3107 elif test "$withval" = no; then
3108 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3109 elif test "$withval" = sys; then
3110 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3111 elif test "$withval" = builtin; then
3112 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3114 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3115 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3116 { (exit 1); exit 1; }; }
3121 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3122 if test "x$LINE" != x ; then
3123 eval "DEFAULT_$LINE"
3128 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3132 eval "$ac_cv_use_odbc"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3137 if test "$wxUSE_ODBC" = yes; then
3138 echo "$as_me:$LINENO: result: yes" >&5
3139 echo "${ECHO_T}yes" >&6
3140 elif test "$wxUSE_ODBC" = no; then
3141 echo "$as_me:$LINENO: result: no" >&5
3142 echo "${ECHO_T}no" >&6
3143 elif test "$wxUSE_ODBC" = sys; then
3144 echo "$as_me:$LINENO: result: system version" >&5
3145 echo "${ECHO_T}system version" >&6
3146 elif test "$wxUSE_ODBC" = builtin; then
3147 echo "$as_me:$LINENO: result: builtin version" >&5
3148 echo "${ECHO_T}builtin version" >&6
3150 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3151 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3152 { (exit 1); exit 1; }; }
3156 echo "$as_me:$LINENO: checking for --with-expat" >&5
3157 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3160 # Check whether --with-expat or --without-expat was given.
3161 if test "${with_expat+set}" = set; then
3162 withval="$with_expat"
3164 if test "$withval" = yes; then
3165 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3166 elif test "$withval" = no; then
3167 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3168 elif test "$withval" = sys; then
3169 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3170 elif test "$withval" = builtin; then
3171 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3173 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3174 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3175 { (exit 1); exit 1; }; }
3180 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x ; then
3182 eval "DEFAULT_$LINE"
3187 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3191 eval "$ac_cv_use_expat"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3196 if test "$wxUSE_EXPAT" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198 echo "${ECHO_T}yes" >&6
3199 elif test "$wxUSE_EXPAT" = no; then
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3202 elif test "$wxUSE_EXPAT" = sys; then
3203 echo "$as_me:$LINENO: result: system version" >&5
3204 echo "${ECHO_T}system version" >&6
3205 elif test "$wxUSE_EXPAT" = builtin; then
3206 echo "$as_me:$LINENO: result: builtin version" >&5
3207 echo "${ECHO_T}builtin version" >&6
3209 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3210 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3211 { (exit 1); exit 1; }; }
3218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3219 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3221 # Check whether --enable-shared or --disable-shared was given.
3222 if test "${enable_shared+set}" = set; then
3223 enableval="$enable_shared"
3225 if test "$enableval" = yes; then
3226 ac_cv_use_shared='wxUSE_SHARED
=yes'
3228 ac_cv_use_shared='wxUSE_SHARED
=no
'
3233 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3234 if test "x$LINE" != x ; then
3235 eval "DEFAULT_$LINE"
3240 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3244 eval "$ac_cv_use_shared"
3245 if test "$no_cache" != 1; then
3246 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3249 if test "$wxUSE_SHARED" = yes; then
3250 echo "$as_me:$LINENO: result: yes" >&5
3251 echo "${ECHO_T}yes" >&6
3253 echo "$as_me:$LINENO: result: no" >&5
3254 echo "${ECHO_T}no" >&6
3259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3260 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3262 # Check whether --enable-optimise or --disable-optimise was given.
3263 if test "${enable_optimise+set}" = set; then
3264 enableval="$enable_optimise"
3266 if test "$enableval" = yes; then
3267 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3269 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3274 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3275 if test "x$LINE" != x ; then
3276 eval "DEFAULT_$LINE"
3281 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3285 eval "$ac_cv_use_optimise"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3290 if test "$wxUSE_OPTIMISE" = yes; then
3291 echo "$as_me:$LINENO: result: yes" >&5
3292 echo "${ECHO_T}yes" >&6
3294 echo "$as_me:$LINENO: result: no" >&5
3295 echo "${ECHO_T}no" >&6
3300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3301 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3303 # Check whether --enable-debug or --disable-debug was given.
3304 if test "${enable_debug+set}" = set; then
3305 enableval="$enable_debug"
3307 if test "$enableval" = yes; then
3308 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3310 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3315 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3316 if test "x$LINE" != x ; then
3317 eval "DEFAULT_$LINE"
3322 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3326 eval "$ac_cv_use_debug"
3327 if test "$no_cache" != 1; then
3328 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3331 if test "$wxUSE_DEBUG" = yes; then
3332 echo "$as_me:$LINENO: result: yes" >&5
3333 echo "${ECHO_T}yes" >&6
3335 echo "$as_me:$LINENO: result: no" >&5
3336 echo "${ECHO_T}no" >&6
3341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3342 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3344 # Check whether --enable-stl or --disable-stl was given.
3345 if test "${enable_stl+set}" = set; then
3346 enableval="$enable_stl"
3348 if test "$enableval" = yes; then
3349 ac_cv_use_stl='wxUSE_STL
=yes'
3351 ac_cv_use_stl='wxUSE_STL
=no
'
3356 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3357 if test "x$LINE" != x ; then
3358 eval "DEFAULT_$LINE"
3363 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3367 eval "$ac_cv_use_stl"
3368 if test "$no_cache" != 1; then
3369 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3372 if test "$wxUSE_STL" = yes; then
3373 echo "$as_me:$LINENO: result: yes" >&5
3374 echo "${ECHO_T}yes" >&6
3376 echo "$as_me:$LINENO: result: no" >&5
3377 echo "${ECHO_T}no" >&6
3381 if test "$wxUSE_DEBUG" = "yes"; then
3382 DEFAULT_wxUSE_DEBUG_FLAG=yes
3383 DEFAULT_wxUSE_DEBUG_INFO=yes
3385 elif test "$wxUSE_DEBUG" = "no"; then
3386 DEFAULT_wxUSE_DEBUG_FLAG=no
3387 DEFAULT_wxUSE_DEBUG_INFO=no
3393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3394 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3396 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3397 if test "${enable_debug_flag+set}" = set; then
3398 enableval="$enable_debug_flag"
3400 if test "$enableval" = yes; then
3401 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3403 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3408 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x ; then
3410 eval "DEFAULT_$LINE"
3415 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3419 eval "$ac_cv_use_debug_flag"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3424 if test "$wxUSE_DEBUG_FLAG" = yes; then
3425 echo "$as_me:$LINENO: result: yes" >&5
3426 echo "${ECHO_T}yes" >&6
3428 echo "$as_me:$LINENO: result: no" >&5
3429 echo "${ECHO_T}no" >&6
3434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3435 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3437 # Check whether --enable-debug_info or --disable-debug_info was given.
3438 if test "${enable_debug_info+set}" = set; then
3439 enableval="$enable_debug_info"
3441 if test "$enableval" = yes; then
3442 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3444 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3449 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x ; then
3451 eval "DEFAULT_$LINE"
3456 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3460 eval "$ac_cv_use_debug_info"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3465 if test "$wxUSE_DEBUG_INFO" = yes; then
3466 echo "$as_me:$LINENO: result: yes" >&5
3467 echo "${ECHO_T}yes" >&6
3469 echo "$as_me:$LINENO: result: no" >&5
3470 echo "${ECHO_T}no" >&6
3475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3476 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3478 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3479 if test "${enable_debug_gdb+set}" = set; then
3480 enableval="$enable_debug_gdb"
3482 if test "$enableval" = yes; then
3483 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3485 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3490 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x ; then
3492 eval "DEFAULT_$LINE"
3497 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3501 eval "$ac_cv_use_debug_gdb"
3502 if test "$no_cache" != 1; then
3503 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3506 if test "$wxUSE_DEBUG_GDB" = yes; then
3507 echo "$as_me:$LINENO: result: yes" >&5
3508 echo "${ECHO_T}yes" >&6
3510 echo "$as_me:$LINENO: result: no" >&5
3511 echo "${ECHO_T}no" >&6
3516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3517 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3519 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3520 if test "${enable_debug_cntxt+set}" = set; then
3521 enableval="$enable_debug_cntxt"
3523 if test "$enableval" = yes; then
3524 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3526 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3531 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3532 if test "x$LINE" != x ; then
3533 eval "DEFAULT_$LINE"
3538 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3542 eval "$ac_cv_use_debug_cntxt"
3543 if test "$no_cache" != 1; then
3544 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3547 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3548 echo "$as_me:$LINENO: result: yes" >&5
3549 echo "${ECHO_T}yes" >&6
3551 echo "$as_me:$LINENO: result: no" >&5
3552 echo "${ECHO_T}no" >&6
3557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3558 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3560 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3561 if test "${enable_mem_tracing+set}" = set; then
3562 enableval="$enable_mem_tracing"
3564 if test "$enableval" = yes; then
3565 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3567 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3572 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x ; then
3574 eval "DEFAULT_$LINE"
3579 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3583 eval "$ac_cv_use_mem_tracing"
3584 if test "$no_cache" != 1; then
3585 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3588 if test "$wxUSE_MEM_TRACING" = yes; then
3589 echo "$as_me:$LINENO: result: yes" >&5
3590 echo "${ECHO_T}yes" >&6
3592 echo "$as_me:$LINENO: result: no" >&5
3593 echo "${ECHO_T}no" >&6
3598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3599 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3601 # Check whether --enable-profile or --disable-profile was given.
3602 if test "${enable_profile+set}" = set; then
3603 enableval="$enable_profile"
3605 if test "$enableval" = yes; then
3606 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3608 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3613 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3614 if test "x$LINE" != x ; then
3615 eval "DEFAULT_$LINE"
3620 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3624 eval "$ac_cv_use_profile"
3625 if test "$no_cache" != 1; then
3626 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3629 if test "$wxUSE_PROFILE" = yes; then
3630 echo "$as_me:$LINENO: result: yes" >&5
3631 echo "${ECHO_T}yes" >&6
3633 echo "$as_me:$LINENO: result: no" >&5
3634 echo "${ECHO_T}no" >&6
3639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3640 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3642 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3643 if test "${enable_no_rtti+set}" = set; then
3644 enableval="$enable_no_rtti"
3646 if test "$enableval" = yes; then
3647 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3649 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3654 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3655 if test "x$LINE" != x ; then
3656 eval "DEFAULT_$LINE"
3661 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3665 eval "$ac_cv_use_no_rtti"
3666 if test "$no_cache" != 1; then
3667 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3670 if test "$wxUSE_NO_RTTI" = yes; then
3671 echo "$as_me:$LINENO: result: yes" >&5
3672 echo "${ECHO_T}yes" >&6
3674 echo "$as_me:$LINENO: result: no" >&5
3675 echo "${ECHO_T}no" >&6
3680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3681 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3683 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3684 if test "${enable_no_exceptions+set}" = set; then
3685 enableval="$enable_no_exceptions"
3687 if test "$enableval" = yes; then
3688 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3690 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3695 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3696 if test "x$LINE" != x ; then
3697 eval "DEFAULT_$LINE"
3702 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3706 eval "$ac_cv_use_no_exceptions"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3711 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3712 echo "$as_me:$LINENO: result: yes" >&5
3713 echo "${ECHO_T}yes" >&6
3715 echo "$as_me:$LINENO: result: no" >&5
3716 echo "${ECHO_T}no" >&6
3721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3722 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3724 # Check whether --enable-permissive or --disable-permissive was given.
3725 if test "${enable_permissive+set}" = set; then
3726 enableval="$enable_permissive"
3728 if test "$enableval" = yes; then
3729 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3731 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3736 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3737 if test "x$LINE" != x ; then
3738 eval "DEFAULT_$LINE"
3743 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3747 eval "$ac_cv_use_permissive"
3748 if test "$no_cache" != 1; then
3749 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3752 if test "$wxUSE_PERMISSIVE" = yes; then
3753 echo "$as_me:$LINENO: result: yes" >&5
3754 echo "${ECHO_T}yes" >&6
3756 echo "$as_me:$LINENO: result: no" >&5
3757 echo "${ECHO_T}no" >&6
3762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3763 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3765 # Check whether --enable-no_deps or --disable-no_deps was given.
3766 if test "${enable_no_deps+set}" = set; then
3767 enableval="$enable_no_deps"
3769 if test "$enableval" = yes; then
3770 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3772 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3777 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3778 if test "x$LINE" != x ; then
3779 eval "DEFAULT_$LINE"
3784 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3788 eval "$ac_cv_use_no_deps"
3789 if test "$no_cache" != 1; then
3790 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3793 if test "$wxUSE_NO_DEPS" = yes; then
3794 echo "$as_me:$LINENO: result: yes" >&5
3795 echo "${ECHO_T}yes" >&6
3797 echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3805 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3807 # Check whether --enable-compat22 or --disable-compat22 was given.
3808 if test "${enable_compat22+set}" = set; then
3809 enableval="$enable_compat22"
3811 if test "$enableval" = yes; then
3812 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3814 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3819 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x ; then
3821 eval "DEFAULT_$LINE"
3826 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3830 eval "$ac_cv_use_compat22"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3835 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6
3839 echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6
3844 enablestring=disable
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3846 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3848 # Check whether --enable-compat24 or --disable-compat24 was given.
3849 if test "${enable_compat24+set}" = set; then
3850 enableval="$enable_compat24"
3852 if test "$enableval" = yes; then
3853 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
3855 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
3860 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x ; then
3862 eval "DEFAULT_$LINE"
3867 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3871 eval "$ac_cv_use_compat24"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3876 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878 echo "${ECHO_T}yes" >&6
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3885 # Check whether --enable-rpath or --disable-rpath was given.
3886 if test "${enable_rpath+set}" = set; then
3887 enableval="$enable_rpath"
3888 wxRPATH_DIR="$enableval"
3891 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3892 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3900 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3902 # Check whether --enable-intl or --disable-intl was given.
3903 if test "${enable_intl+set}" = set; then
3904 enableval="$enable_intl"
3906 if test "$enableval" = yes; then
3907 ac_cv_use_intl='wxUSE_INTL
=yes'
3909 ac_cv_use_intl='wxUSE_INTL
=no
'
3914 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3915 if test "x$LINE" != x ; then
3916 eval "DEFAULT_$LINE"
3921 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3925 eval "$ac_cv_use_intl"
3926 if test "$no_cache" != 1; then
3927 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3930 if test "$wxUSE_INTL" = yes; then
3931 echo "$as_me:$LINENO: result: yes" >&5
3932 echo "${ECHO_T}yes" >&6
3934 echo "$as_me:$LINENO: result: no" >&5
3935 echo "${ECHO_T}no" >&6
3940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3941 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3943 # Check whether --enable-config or --disable-config was given.
3944 if test "${enable_config+set}" = set; then
3945 enableval="$enable_config"
3947 if test "$enableval" = yes; then
3948 ac_cv_use_config='wxUSE_CONFIG
=yes'
3950 ac_cv_use_config='wxUSE_CONFIG
=no
'
3955 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3956 if test "x$LINE" != x ; then
3957 eval "DEFAULT_$LINE"
3962 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3966 eval "$ac_cv_use_config"
3967 if test "$no_cache" != 1; then
3968 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3971 if test "$wxUSE_CONFIG" = yes; then
3972 echo "$as_me:$LINENO: result: yes" >&5
3973 echo "${ECHO_T}yes" >&6
3975 echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6
3982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3983 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3985 # Check whether --enable-protocols or --disable-protocols was given.
3986 if test "${enable_protocols+set}" = set; then
3987 enableval="$enable_protocols"
3989 if test "$enableval" = yes; then
3990 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
3992 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
3997 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3998 if test "x$LINE" != x ; then
3999 eval "DEFAULT_$LINE"
4004 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4008 eval "$ac_cv_use_protocols"
4009 if test "$no_cache" != 1; then
4010 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4013 if test "$wxUSE_PROTOCOL" = yes; then
4014 echo "$as_me:$LINENO: result: yes" >&5
4015 echo "${ECHO_T}yes" >&6
4017 echo "$as_me:$LINENO: result: no" >&5
4018 echo "${ECHO_T}no" >&6
4023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4024 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4026 # Check whether --enable-ftp or --disable-ftp was given.
4027 if test "${enable_ftp+set}" = set; then
4028 enableval="$enable_ftp"
4030 if test "$enableval" = yes; then
4031 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4033 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4038 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4039 if test "x$LINE" != x ; then
4040 eval "DEFAULT_$LINE"
4045 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4049 eval "$ac_cv_use_ftp"
4050 if test "$no_cache" != 1; then
4051 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4054 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4055 echo "$as_me:$LINENO: result: yes" >&5
4056 echo "${ECHO_T}yes" >&6
4058 echo "$as_me:$LINENO: result: no" >&5
4059 echo "${ECHO_T}no" >&6
4064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4065 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4067 # Check whether --enable-http or --disable-http was given.
4068 if test "${enable_http+set}" = set; then
4069 enableval="$enable_http"
4071 if test "$enableval" = yes; then
4072 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4074 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4079 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x ; then
4081 eval "DEFAULT_$LINE"
4086 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4090 eval "$ac_cv_use_http"
4091 if test "$no_cache" != 1; then
4092 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4095 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4096 echo "$as_me:$LINENO: result: yes" >&5
4097 echo "${ECHO_T}yes" >&6
4099 echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6
4105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4106 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4108 # Check whether --enable-fileproto or --disable-fileproto was given.
4109 if test "${enable_fileproto+set}" = set; then
4110 enableval="$enable_fileproto"
4112 if test "$enableval" = yes; then
4113 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4115 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4120 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x ; then
4122 eval "DEFAULT_$LINE"
4127 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4131 eval "$ac_cv_use_fileproto"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4136 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4137 echo "$as_me:$LINENO: result: yes" >&5
4138 echo "${ECHO_T}yes" >&6
4140 echo "$as_me:$LINENO: result: no" >&5
4141 echo "${ECHO_T}no" >&6
4146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4147 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4149 # Check whether --enable-sockets or --disable-sockets was given.
4150 if test "${enable_sockets+set}" = set; then
4151 enableval="$enable_sockets"
4153 if test "$enableval" = yes; then
4154 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4156 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4161 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x ; then
4163 eval "DEFAULT_$LINE"
4168 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4172 eval "$ac_cv_use_sockets"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4177 if test "$wxUSE_SOCKETS" = yes; then
4178 echo "$as_me:$LINENO: result: yes" >&5
4179 echo "${ECHO_T}yes" >&6
4181 echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6
4187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4188 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4190 # Check whether --enable-ole or --disable-ole was given.
4191 if test "${enable_ole+set}" = set; then
4192 enableval="$enable_ole"
4194 if test "$enableval" = yes; then
4195 ac_cv_use_ole='wxUSE_OLE
=yes'
4197 ac_cv_use_ole='wxUSE_OLE
=no
'
4202 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4203 if test "x$LINE" != x ; then
4204 eval "DEFAULT_$LINE"
4209 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4213 eval "$ac_cv_use_ole"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4218 if test "$wxUSE_OLE" = yes; then
4219 echo "$as_me:$LINENO: result: yes" >&5
4220 echo "${ECHO_T}yes" >&6
4222 echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4229 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4231 # Check whether --enable-dataobj or --disable-dataobj was given.
4232 if test "${enable_dataobj+set}" = set; then
4233 enableval="$enable_dataobj"
4235 if test "$enableval" = yes; then
4236 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4238 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4243 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x ; then
4245 eval "DEFAULT_$LINE"
4250 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4254 eval "$ac_cv_use_dataobj"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4259 if test "$wxUSE_DATAOBJ" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6
4263 echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6
4270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4271 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4273 # Check whether --enable-ipc or --disable-ipc was given.
4274 if test "${enable_ipc+set}" = set; then
4275 enableval="$enable_ipc"
4277 if test "$enableval" = yes; then
4278 ac_cv_use_ipc='wxUSE_IPC
=yes'
4280 ac_cv_use_ipc='wxUSE_IPC
=no
'
4285 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x ; then
4287 eval "DEFAULT_$LINE"
4292 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4296 eval "$ac_cv_use_ipc"
4297 if test "$no_cache" != 1; then
4298 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4301 if test "$wxUSE_IPC" = yes; then
4302 echo "$as_me:$LINENO: result: yes" >&5
4303 echo "${ECHO_T}yes" >&6
4305 echo "$as_me:$LINENO: result: no" >&5
4306 echo "${ECHO_T}no" >&6
4312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4313 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4315 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4316 if test "${enable_apple_ieee+set}" = set; then
4317 enableval="$enable_apple_ieee"
4319 if test "$enableval" = yes; then
4320 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4322 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4327 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4328 if test "x$LINE" != x ; then
4329 eval "DEFAULT_$LINE"
4334 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4338 eval "$ac_cv_use_apple_ieee"
4339 if test "$no_cache" != 1; then
4340 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4343 if test "$wxUSE_APPLE_IEEE" = yes; then
4344 echo "$as_me:$LINENO: result: yes" >&5
4345 echo "${ECHO_T}yes" >&6
4347 echo "$as_me:$LINENO: result: no" >&5
4348 echo "${ECHO_T}no" >&6
4353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4354 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4356 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4357 if test "${enable_catch_segvs+set}" = set; then
4358 enableval="$enable_catch_segvs"
4360 if test "$enableval" = yes; then
4361 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4363 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4368 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4369 if test "x$LINE" != x ; then
4370 eval "DEFAULT_$LINE"
4375 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4379 eval "$ac_cv_use_catch_segvs"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4384 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4385 echo "$as_me:$LINENO: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6
4388 echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6
4394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4395 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4397 # Check whether --enable-cmdline or --disable-cmdline was given.
4398 if test "${enable_cmdline+set}" = set; then
4399 enableval="$enable_cmdline"
4401 if test "$enableval" = yes; then
4402 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4404 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4409 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4410 if test "x$LINE" != x ; then
4411 eval "DEFAULT_$LINE"
4416 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4420 eval "$ac_cv_use_cmdline"
4421 if test "$no_cache" != 1; then
4422 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4425 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4426 echo "$as_me:$LINENO: result: yes" >&5
4427 echo "${ECHO_T}yes" >&6
4429 echo "$as_me:$LINENO: result: no" >&5
4430 echo "${ECHO_T}no" >&6
4435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4436 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4438 # Check whether --enable-datetime or --disable-datetime was given.
4439 if test "${enable_datetime+set}" = set; then
4440 enableval="$enable_datetime"
4442 if test "$enableval" = yes; then
4443 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4445 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4450 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4451 if test "x$LINE" != x ; then
4452 eval "DEFAULT_$LINE"
4457 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4461 eval "$ac_cv_use_datetime"
4462 if test "$no_cache" != 1; then
4463 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4466 if test "$wxUSE_DATETIME" = yes; then
4467 echo "$as_me:$LINENO: result: yes" >&5
4468 echo "${ECHO_T}yes" >&6
4470 echo "$as_me:$LINENO: result: no" >&5
4471 echo "${ECHO_T}no" >&6
4476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4477 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4479 # Check whether --enable-dialupman or --disable-dialupman was given.
4480 if test "${enable_dialupman+set}" = set; then
4481 enableval="$enable_dialupman"
4483 if test "$enableval" = yes; then
4484 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4486 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4491 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4492 if test "x$LINE" != x ; then
4493 eval "DEFAULT_$LINE"
4498 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4502 eval "$ac_cv_use_dialupman"
4503 if test "$no_cache" != 1; then
4504 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4507 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4508 echo "$as_me:$LINENO: result: yes" >&5
4509 echo "${ECHO_T}yes" >&6
4511 echo "$as_me:$LINENO: result: no" >&5
4512 echo "${ECHO_T}no" >&6
4517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4518 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4520 # Check whether --enable-dynlib or --disable-dynlib was given.
4521 if test "${enable_dynlib+set}" = set; then
4522 enableval="$enable_dynlib"
4524 if test "$enableval" = yes; then
4525 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4527 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4532 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4533 if test "x$LINE" != x ; then
4534 eval "DEFAULT_$LINE"
4539 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4543 eval "$ac_cv_use_dynlib"
4544 if test "$no_cache" != 1; then
4545 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4548 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4549 echo "$as_me:$LINENO: result: yes" >&5
4550 echo "${ECHO_T}yes" >&6
4552 echo "$as_me:$LINENO: result: no" >&5
4553 echo "${ECHO_T}no" >&6
4558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4559 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4561 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4562 if test "${enable_dynamicloader+set}" = set; then
4563 enableval="$enable_dynamicloader"
4565 if test "$enableval" = yes; then
4566 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4568 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4573 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4574 if test "x$LINE" != x ; then
4575 eval "DEFAULT_$LINE"
4580 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4584 eval "$ac_cv_use_dynamicloader"
4585 if test "$no_cache" != 1; then
4586 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4589 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4590 echo "$as_me:$LINENO: result: yes" >&5
4591 echo "${ECHO_T}yes" >&6
4593 echo "$as_me:$LINENO: result: no" >&5
4594 echo "${ECHO_T}no" >&6
4599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4600 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4602 # Check whether --enable-exceptions or --disable-exceptions was given.
4603 if test "${enable_exceptions+set}" = set; then
4604 enableval="$enable_exceptions"
4606 if test "$enableval" = yes; then
4607 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
4609 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
4614 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x ; then
4616 eval "DEFAULT_$LINE"
4621 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
4625 eval "$ac_cv_use_exceptions"
4626 if test "$no_cache" != 1; then
4627 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4630 if test "$wxUSE_EXCEPTIONS" = yes; then
4631 echo "$as_me:$LINENO: result: yes" >&5
4632 echo "${ECHO_T}yes" >&6
4634 echo "$as_me:$LINENO: result: no" >&5
4635 echo "${ECHO_T}no" >&6
4640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4641 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4643 # Check whether --enable-ffile or --disable-ffile was given.
4644 if test "${enable_ffile+set}" = set; then
4645 enableval="$enable_ffile"
4647 if test "$enableval" = yes; then
4648 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4650 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4655 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4656 if test "x$LINE" != x ; then
4657 eval "DEFAULT_$LINE"
4662 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4666 eval "$ac_cv_use_ffile"
4667 if test "$no_cache" != 1; then
4668 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4671 if test "$wxUSE_FFILE" = yes; then
4672 echo "$as_me:$LINENO: result: yes" >&5
4673 echo "${ECHO_T}yes" >&6
4675 echo "$as_me:$LINENO: result: no" >&5
4676 echo "${ECHO_T}no" >&6
4681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4682 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4684 # Check whether --enable-file or --disable-file was given.
4685 if test "${enable_file+set}" = set; then
4686 enableval="$enable_file"
4688 if test "$enableval" = yes; then
4689 ac_cv_use_file='wxUSE_FILE
=yes'
4691 ac_cv_use_file='wxUSE_FILE
=no
'
4696 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4697 if test "x$LINE" != x ; then
4698 eval "DEFAULT_$LINE"
4703 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4707 eval "$ac_cv_use_file"
4708 if test "$no_cache" != 1; then
4709 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4712 if test "$wxUSE_FILE" = yes; then
4713 echo "$as_me:$LINENO: result: yes" >&5
4714 echo "${ECHO_T}yes" >&6
4716 echo "$as_me:$LINENO: result: no" >&5
4717 echo "${ECHO_T}no" >&6
4722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4723 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4725 # Check whether --enable-filesystem or --disable-filesystem was given.
4726 if test "${enable_filesystem+set}" = set; then
4727 enableval="$enable_filesystem"
4729 if test "$enableval" = yes; then
4730 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
4732 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
4737 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4738 if test "x$LINE" != x ; then
4739 eval "DEFAULT_$LINE"
4744 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
4748 eval "$ac_cv_use_filesystem"
4749 if test "$no_cache" != 1; then
4750 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4753 if test "$wxUSE_FILESYSTEM" = yes; then
4754 echo "$as_me:$LINENO: result: yes" >&5
4755 echo "${ECHO_T}yes" >&6
4757 echo "$as_me:$LINENO: result: no" >&5
4758 echo "${ECHO_T}no" >&6
4763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4764 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4766 # Check whether --enable-fontmap or --disable-fontmap was given.
4767 if test "${enable_fontmap+set}" = set; then
4768 enableval="$enable_fontmap"
4770 if test "$enableval" = yes; then
4771 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4773 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4778 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4779 if test "x$LINE" != x ; then
4780 eval "DEFAULT_$LINE"
4785 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4789 eval "$ac_cv_use_fontmap"
4790 if test "$no_cache" != 1; then
4791 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4794 if test "$wxUSE_FONTMAP" = yes; then
4795 echo "$as_me:$LINENO: result: yes" >&5
4796 echo "${ECHO_T}yes" >&6
4798 echo "$as_me:$LINENO: result: no" >&5
4799 echo "${ECHO_T}no" >&6
4804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4805 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4807 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4808 if test "${enable_fs_inet+set}" = set; then
4809 enableval="$enable_fs_inet"
4811 if test "$enableval" = yes; then
4812 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
4814 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
4819 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x ; then
4821 eval "DEFAULT_$LINE"
4826 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
4830 eval "$ac_cv_use_fs_inet"
4831 if test "$no_cache" != 1; then
4832 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4835 if test "$wxUSE_FS_INET" = yes; then
4836 echo "$as_me:$LINENO: result: yes" >&5
4837 echo "${ECHO_T}yes" >&6
4839 echo "$as_me:$LINENO: result: no" >&5
4840 echo "${ECHO_T}no" >&6
4845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4848 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4849 if test "${enable_fs_zip+set}" = set; then
4850 enableval="$enable_fs_zip"
4852 if test "$enableval" = yes; then
4853 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
4855 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
4860 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4861 if test "x$LINE" != x ; then
4862 eval "DEFAULT_$LINE"
4867 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
4871 eval "$ac_cv_use_fs_zip"
4872 if test "$no_cache" != 1; then
4873 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4876 if test "$wxUSE_FS_ZIP" = yes; then
4877 echo "$as_me:$LINENO: result: yes" >&5
4878 echo "${ECHO_T}yes" >&6
4880 echo "$as_me:$LINENO: result: no" >&5
4881 echo "${ECHO_T}no" >&6
4886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4887 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4889 # Check whether --enable-geometry or --disable-geometry was given.
4890 if test "${enable_geometry+set}" = set; then
4891 enableval="$enable_geometry"
4893 if test "$enableval" = yes; then
4894 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4896 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4901 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x ; then
4903 eval "DEFAULT_$LINE"
4908 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4912 eval "$ac_cv_use_geometry"
4913 if test "$no_cache" != 1; then
4914 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4917 if test "$wxUSE_GEOMETRY" = yes; then
4918 echo "$as_me:$LINENO: result: yes" >&5
4919 echo "${ECHO_T}yes" >&6
4921 echo "$as_me:$LINENO: result: no" >&5
4922 echo "${ECHO_T}no" >&6
4927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4928 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4930 # Check whether --enable-log or --disable-log was given.
4931 if test "${enable_log+set}" = set; then
4932 enableval="$enable_log"
4934 if test "$enableval" = yes; then
4935 ac_cv_use_log='wxUSE_LOG
=yes'
4937 ac_cv_use_log='wxUSE_LOG
=no
'
4942 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4943 if test "x$LINE" != x ; then
4944 eval "DEFAULT_$LINE"
4949 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4953 eval "$ac_cv_use_log"
4954 if test "$no_cache" != 1; then
4955 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4958 if test "$wxUSE_LOG" = yes; then
4959 echo "$as_me:$LINENO: result: yes" >&5
4960 echo "${ECHO_T}yes" >&6
4962 echo "$as_me:$LINENO: result: no" >&5
4963 echo "${ECHO_T}no" >&6
4968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4969 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4971 # Check whether --enable-longlong or --disable-longlong was given.
4972 if test "${enable_longlong+set}" = set; then
4973 enableval="$enable_longlong"
4975 if test "$enableval" = yes; then
4976 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
4978 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
4983 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x ; then
4985 eval "DEFAULT_$LINE"
4990 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
4994 eval "$ac_cv_use_longlong"
4995 if test "$no_cache" != 1; then
4996 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4999 if test "$wxUSE_LONGLONG" = yes; then
5000 echo "$as_me:$LINENO: result: yes" >&5
5001 echo "${ECHO_T}yes" >&6
5003 echo "$as_me:$LINENO: result: no" >&5
5004 echo "${ECHO_T}no" >&6
5009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5010 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5012 # Check whether --enable-mimetype or --disable-mimetype was given.
5013 if test "${enable_mimetype+set}" = set; then
5014 enableval="$enable_mimetype"
5016 if test "$enableval" = yes; then
5017 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5019 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5024 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x ; then
5026 eval "DEFAULT_$LINE"
5031 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5035 eval "$ac_cv_use_mimetype"
5036 if test "$no_cache" != 1; then
5037 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5040 if test "$wxUSE_MIMETYPE" = yes; then
5041 echo "$as_me:$LINENO: result: yes" >&5
5042 echo "${ECHO_T}yes" >&6
5044 echo "$as_me:$LINENO: result: no" >&5
5045 echo "${ECHO_T}no" >&6
5050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5051 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5053 # Check whether --enable-mslu or --disable-mslu was given.
5054 if test "${enable_mslu+set}" = set; then
5055 enableval="$enable_mslu"
5057 if test "$enableval" = yes; then
5058 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5060 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5065 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x ; then
5067 eval "DEFAULT_$LINE"
5072 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5076 eval "$ac_cv_use_mslu"
5077 if test "$no_cache" != 1; then
5078 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5081 if test "$wxUSE_UNICODE_MSLU" = yes; then
5082 echo "$as_me:$LINENO: result: yes" >&5
5083 echo "${ECHO_T}yes" >&6
5085 echo "$as_me:$LINENO: result: no" >&5
5086 echo "${ECHO_T}no" >&6
5091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5092 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5094 # Check whether --enable-snglinst or --disable-snglinst was given.
5095 if test "${enable_snglinst+set}" = set; then
5096 enableval="$enable_snglinst"
5098 if test "$enableval" = yes; then
5099 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5101 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5106 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5107 if test "x$LINE" != x ; then
5108 eval "DEFAULT_$LINE"
5113 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5117 eval "$ac_cv_use_snglinst"
5118 if test "$no_cache" != 1; then
5119 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5122 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5123 echo "$as_me:$LINENO: result: yes" >&5
5124 echo "${ECHO_T}yes" >&6
5126 echo "$as_me:$LINENO: result: no" >&5
5127 echo "${ECHO_T}no" >&6
5132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5133 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5135 # Check whether --enable-streams or --disable-streams was given.
5136 if test "${enable_streams+set}" = set; then
5137 enableval="$enable_streams"
5139 if test "$enableval" = yes; then
5140 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5142 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5147 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x ; then
5149 eval "DEFAULT_$LINE"
5154 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5158 eval "$ac_cv_use_streams"
5159 if test "$no_cache" != 1; then
5160 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5163 if test "$wxUSE_STREAMS" = yes; then
5164 echo "$as_me:$LINENO: result: yes" >&5
5165 echo "${ECHO_T}yes" >&6
5167 echo "$as_me:$LINENO: result: no" >&5
5168 echo "${ECHO_T}no" >&6
5173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5174 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5176 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5177 if test "${enable_std_iostreams+set}" = set; then
5178 enableval="$enable_std_iostreams"
5180 if test "$enableval" = yes; then
5181 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5183 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5188 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x ; then
5190 eval "DEFAULT_$LINE"
5195 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5199 eval "$ac_cv_use_std_iostreams"
5200 if test "$no_cache" != 1; then
5201 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5204 if test "$wxUSE_STD_IOSTREAM" = yes; then
5205 echo "$as_me:$LINENO: result: yes" >&5
5206 echo "${ECHO_T}yes" >&6
5208 echo "$as_me:$LINENO: result: no" >&5
5209 echo "${ECHO_T}no" >&6
5214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5215 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5217 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5218 if test "${enable_stopwatch+set}" = set; then
5219 enableval="$enable_stopwatch"
5221 if test "$enableval" = yes; then
5222 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5224 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5229 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5230 if test "x$LINE" != x ; then
5231 eval "DEFAULT_$LINE"
5236 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5240 eval "$ac_cv_use_stopwatch"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5245 if test "$wxUSE_STOPWATCH" = yes; then
5246 echo "$as_me:$LINENO: result: yes" >&5
5247 echo "${ECHO_T}yes" >&6
5249 echo "$as_me:$LINENO: result: no" >&5
5250 echo "${ECHO_T}no" >&6
5255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5256 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5258 # Check whether --enable-system_options or --disable-system_options was given.
5259 if test "${enable_system_options+set}" = set; then
5260 enableval="$enable_system_options"
5262 if test "$enableval" = yes; then
5263 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5265 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5270 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5271 if test "x$LINE" != x ; then
5272 eval "DEFAULT_$LINE"
5277 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5281 eval "$ac_cv_use_system_options"
5282 if test "$no_cache" != 1; then
5283 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5286 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5287 echo "$as_me:$LINENO: result: yes" >&5
5288 echo "${ECHO_T}yes" >&6
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5299 # Check whether --enable-textbuf or --disable-textbuf was given.
5300 if test "${enable_textbuf+set}" = set; then
5301 enableval="$enable_textbuf"
5303 if test "$enableval" = yes; then
5304 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5306 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5311 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5312 if test "x$LINE" != x ; then
5313 eval "DEFAULT_$LINE"
5318 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5322 eval "$ac_cv_use_textbuf"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5327 if test "$wxUSE_TEXTBUFFER" = yes; then
5328 echo "$as_me:$LINENO: result: yes" >&5
5329 echo "${ECHO_T}yes" >&6
5331 echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6
5337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5340 # Check whether --enable-textfile or --disable-textfile was given.
5341 if test "${enable_textfile+set}" = set; then
5342 enableval="$enable_textfile"
5344 if test "$enableval" = yes; then
5345 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
5347 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
5352 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x ; then
5354 eval "DEFAULT_$LINE"
5359 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
5363 eval "$ac_cv_use_textfile"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5368 if test "$wxUSE_TEXTFILE" = yes; then
5369 echo "$as_me:$LINENO: result: yes" >&5
5370 echo "${ECHO_T}yes" >&6
5372 echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6
5378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5381 # Check whether --enable-timer or --disable-timer was given.
5382 if test "${enable_timer+set}" = set; then
5383 enableval="$enable_timer"
5385 if test "$enableval" = yes; then
5386 ac_cv_use_timer='wxUSE_TIMER
=yes'
5388 ac_cv_use_timer='wxUSE_TIMER
=no
'
5393 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x ; then
5395 eval "DEFAULT_$LINE"
5400 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
5404 eval "$ac_cv_use_timer"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5409 if test "$wxUSE_TIMER" = yes; then
5410 echo "$as_me:$LINENO: result: yes" >&5
5411 echo "${ECHO_T}yes" >&6
5413 echo "$as_me:$LINENO: result: no" >&5
5414 echo "${ECHO_T}no" >&6
5419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5420 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5422 # Check whether --enable-unicode or --disable-unicode was given.
5423 if test "${enable_unicode+set}" = set; then
5424 enableval="$enable_unicode"
5426 if test "$enableval" = yes; then
5427 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
5429 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
5434 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x ; then
5436 eval "DEFAULT_$LINE"
5441 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
5445 eval "$ac_cv_use_unicode"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5450 if test "$wxUSE_UNICODE" = yes; then
5451 echo "$as_me:$LINENO: result: yes" >&5
5452 echo "${ECHO_T}yes" >&6
5454 echo "$as_me:$LINENO: result: no" >&5
5455 echo "${ECHO_T}no" >&6
5460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
5461 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
5463 # Check whether --enable-wave or --disable-wave was given.
5464 if test "${enable_wave+set}" = set; then
5465 enableval="$enable_wave"
5467 if test "$enableval" = yes; then
5468 ac_cv_use_wave='wxUSE_WAVE
=yes'
5470 ac_cv_use_wave='wxUSE_WAVE
=no
'
5475 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x ; then
5477 eval "DEFAULT_$LINE"
5482 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
5486 eval "$ac_cv_use_wave"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
5491 if test "$wxUSE_WAVE" = yes; then
5492 echo "$as_me:$LINENO: result: yes" >&5
5493 echo "${ECHO_T}yes" >&6
5495 echo "$as_me:$LINENO: result: no" >&5
5496 echo "${ECHO_T}no" >&6
5501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5502 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5504 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5505 if test "${enable_wxprintfv+set}" = set; then
5506 enableval="$enable_wxprintfv"
5508 if test "$enableval" = yes; then
5509 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
5511 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
5516 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x ; then
5518 eval "DEFAULT_$LINE"
5523 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5527 eval "$ac_cv_use_wxprintfv"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5532 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5533 echo "$as_me:$LINENO: result: yes" >&5
5534 echo "${ECHO_T}yes" >&6
5536 echo "$as_me:$LINENO: result: no" >&5
5537 echo "${ECHO_T}no" >&6
5542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5545 # Check whether --enable-zipstream or --disable-zipstream was given.
5546 if test "${enable_zipstream+set}" = set; then
5547 enableval="$enable_zipstream"
5549 if test "$enableval" = yes; then
5550 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
5552 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
5557 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x ; then
5559 eval "DEFAULT_$LINE"
5564 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
5568 eval "$ac_cv_use_zipstream"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5573 if test "$wxUSE_ZIPSTREAM" = yes; then
5574 echo "$as_me:$LINENO: result: yes" >&5
5575 echo "${ECHO_T}yes" >&6
5577 echo "$as_me:$LINENO: result: no" >&5
5578 echo "${ECHO_T}no" >&6
5583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5584 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5586 # Check whether --enable-gzstream or --disable-gzstream was given.
5587 if test "${enable_gzstream+set}" = set; then
5588 enableval="$enable_gzstream"
5590 if test "$enableval" = yes; then
5591 ac_cv_use_gzstream='wxUSE_GZSTREAM
=yes'
5593 ac_cv_use_gzstream='wxUSE_GZSTREAM
=no
'
5598 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x ; then
5600 eval "DEFAULT_$LINE"
5605 ac_cv_use_gzstream='wxUSE_GZSTREAM
='$DEFAULT_wxUSE_GZSTREAM
5609 eval "$ac_cv_use_gzstream"
5610 if test "$no_cache" != 1; then
5611 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5614 if test "$wxUSE_GZSTREAM" = yes; then
5615 echo "$as_me:$LINENO: result: yes" >&5
5616 echo "${ECHO_T}yes" >&6
5618 echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6
5625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5626 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5628 # Check whether --enable-url or --disable-url was given.
5629 if test "${enable_url+set}" = set; then
5630 enableval="$enable_url"
5632 if test "$enableval" = yes; then
5633 ac_cv_use_url='wxUSE_URL
=yes'
5635 ac_cv_use_url='wxUSE_URL
=no
'
5640 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5641 if test "x$LINE" != x ; then
5642 eval "DEFAULT_$LINE"
5647 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5651 eval "$ac_cv_use_url"
5652 if test "$no_cache" != 1; then
5653 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5656 if test "$wxUSE_URL" = yes; then
5657 echo "$as_me:$LINENO: result: yes" >&5
5658 echo "${ECHO_T}yes" >&6
5660 echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6
5666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5667 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5669 # Check whether --enable-protocol or --disable-protocol was given.
5670 if test "${enable_protocol+set}" = set; then
5671 enableval="$enable_protocol"
5673 if test "$enableval" = yes; then
5674 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5676 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5681 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5682 if test "x$LINE" != x ; then
5683 eval "DEFAULT_$LINE"
5688 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5692 eval "$ac_cv_use_protocol"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5697 if test "$wxUSE_PROTOCOL" = yes; then
5698 echo "$as_me:$LINENO: result: yes" >&5
5699 echo "${ECHO_T}yes" >&6
5701 echo "$as_me:$LINENO: result: no" >&5
5702 echo "${ECHO_T}no" >&6
5707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5708 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5710 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5711 if test "${enable_protocol_http+set}" = set; then
5712 enableval="$enable_protocol_http"
5714 if test "$enableval" = yes; then
5715 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5717 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5722 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x ; then
5724 eval "DEFAULT_$LINE"
5729 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5733 eval "$ac_cv_use_protocol_http"
5734 if test "$no_cache" != 1; then
5735 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5738 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5739 echo "$as_me:$LINENO: result: yes" >&5
5740 echo "${ECHO_T}yes" >&6
5742 echo "$as_me:$LINENO: result: no" >&5
5743 echo "${ECHO_T}no" >&6
5748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5749 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5751 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5752 if test "${enable_protocol_ftp+set}" = set; then
5753 enableval="$enable_protocol_ftp"
5755 if test "$enableval" = yes; then
5756 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5758 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5763 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5764 if test "x$LINE" != x ; then
5765 eval "DEFAULT_$LINE"
5770 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5774 eval "$ac_cv_use_protocol_ftp"
5775 if test "$no_cache" != 1; then
5776 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5779 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5780 echo "$as_me:$LINENO: result: yes" >&5
5781 echo "${ECHO_T}yes" >&6
5783 echo "$as_me:$LINENO: result: no" >&5
5784 echo "${ECHO_T}no" >&6
5789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5790 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5792 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5793 if test "${enable_protocol_file+set}" = set; then
5794 enableval="$enable_protocol_file"
5796 if test "$enableval" = yes; then
5797 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5799 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5804 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x ; then
5806 eval "DEFAULT_$LINE"
5811 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5815 eval "$ac_cv_use_protocol_file"
5816 if test "$no_cache" != 1; then
5817 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5820 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5821 echo "$as_me:$LINENO: result: yes" >&5
5822 echo "${ECHO_T}yes" >&6
5824 echo "$as_me:$LINENO: result: no" >&5
5825 echo "${ECHO_T}no" >&6
5833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5834 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5836 # Check whether --enable-threads or --disable-threads was given.
5837 if test "${enable_threads+set}" = set; then
5838 enableval="$enable_threads"
5840 if test "$enableval" = yes; then
5841 ac_cv_use_threads='wxUSE_THREADS
=yes'
5843 ac_cv_use_threads='wxUSE_THREADS
=no
'
5848 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x ; then
5850 eval "DEFAULT_$LINE"
5855 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5859 eval "$ac_cv_use_threads"
5860 if test "$no_cache" != 1; then
5861 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5864 if test "$wxUSE_THREADS" = yes; then
5865 echo "$as_me:$LINENO: result: yes" >&5
5866 echo "${ECHO_T}yes" >&6
5868 echo "$as_me:$LINENO: result: no" >&5
5869 echo "${ECHO_T}no" >&6
5873 if test "$wxUSE_GUI" = "yes"; then
5878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5879 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5881 # Check whether --enable-docview or --disable-docview was given.
5882 if test "${enable_docview+set}" = set; then
5883 enableval="$enable_docview"
5885 if test "$enableval" = yes; then
5886 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5888 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5893 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5894 if test "x$LINE" != x ; then
5895 eval "DEFAULT_$LINE"
5900 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5904 eval "$ac_cv_use_docview"
5905 if test "$no_cache" != 1; then
5906 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5909 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5910 echo "$as_me:$LINENO: result: yes" >&5
5911 echo "${ECHO_T}yes" >&6
5913 echo "$as_me:$LINENO: result: no" >&5
5914 echo "${ECHO_T}no" >&6
5919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5920 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5922 # Check whether --enable-help or --disable-help was given.
5923 if test "${enable_help+set}" = set; then
5924 enableval="$enable_help"
5926 if test "$enableval" = yes; then
5927 ac_cv_use_help='wxUSE_HELP
=yes'
5929 ac_cv_use_help='wxUSE_HELP
=no
'
5934 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5935 if test "x$LINE" != x ; then
5936 eval "DEFAULT_$LINE"
5941 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5945 eval "$ac_cv_use_help"
5946 if test "$no_cache" != 1; then
5947 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5950 if test "$wxUSE_HELP" = yes; then
5951 echo "$as_me:$LINENO: result: yes" >&5
5952 echo "${ECHO_T}yes" >&6
5954 echo "$as_me:$LINENO: result: no" >&5
5955 echo "${ECHO_T}no" >&6
5960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5961 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5963 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5964 if test "${enable_mshtmlhelp+set}" = set; then
5965 enableval="$enable_mshtmlhelp"
5967 if test "$enableval" = yes; then
5968 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
5970 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
5975 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5976 if test "x$LINE" != x ; then
5977 eval "DEFAULT_$LINE"
5982 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
5986 eval "$ac_cv_use_mshtmlhelp"
5987 if test "$no_cache" != 1; then
5988 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5991 if test "$wxUSE_MS_HTML_HELP" = yes; then
5992 echo "$as_me:$LINENO: result: yes" >&5
5993 echo "${ECHO_T}yes" >&6
5995 echo "$as_me:$LINENO: result: no" >&5
5996 echo "${ECHO_T}no" >&6
6001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6002 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6004 # Check whether --enable-html or --disable-html was given.
6005 if test "${enable_html+set}" = set; then
6006 enableval="$enable_html"
6008 if test "$enableval" = yes; then
6009 ac_cv_use_html='wxUSE_HTML
=yes'
6011 ac_cv_use_html='wxUSE_HTML
=no
'
6016 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x ; then
6018 eval "DEFAULT_$LINE"
6023 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
6027 eval "$ac_cv_use_html"
6028 if test "$no_cache" != 1; then
6029 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6032 if test "$wxUSE_HTML" = yes; then
6033 echo "$as_me:$LINENO: result: yes" >&5
6034 echo "${ECHO_T}yes" >&6
6036 echo "$as_me:$LINENO: result: no" >&5
6037 echo "${ECHO_T}no" >&6
6042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6043 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6045 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6046 if test "${enable_htmlhelp+set}" = set; then
6047 enableval="$enable_htmlhelp"
6049 if test "$enableval" = yes; then
6050 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
6052 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
6057 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x ; then
6059 eval "DEFAULT_$LINE"
6064 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
6068 eval "$ac_cv_use_htmlhelp"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6073 if test "$wxUSE_WXHTML_HELP" = yes; then
6074 echo "$as_me:$LINENO: result: yes" >&5
6075 echo "${ECHO_T}yes" >&6
6077 echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6
6083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6084 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6086 # Check whether --enable-constraints or --disable-constraints was given.
6087 if test "${enable_constraints+set}" = set; then
6088 enableval="$enable_constraints"
6090 if test "$enableval" = yes; then
6091 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
6093 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
6098 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6099 if test "x$LINE" != x ; then
6100 eval "DEFAULT_$LINE"
6105 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6109 eval "$ac_cv_use_constraints"
6110 if test "$no_cache" != 1; then
6111 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6114 if test "$wxUSE_CONSTRAINTS" = yes; then
6115 echo "$as_me:$LINENO: result: yes" >&5
6116 echo "${ECHO_T}yes" >&6
6118 echo "$as_me:$LINENO: result: no" >&5
6119 echo "${ECHO_T}no" >&6
6124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6125 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6127 # Check whether --enable-printarch or --disable-printarch was given.
6128 if test "${enable_printarch+set}" = set; then
6129 enableval="$enable_printarch"
6131 if test "$enableval" = yes; then
6132 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6134 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6139 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6140 if test "x$LINE" != x ; then
6141 eval "DEFAULT_$LINE"
6146 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6150 eval "$ac_cv_use_printarch"
6151 if test "$no_cache" != 1; then
6152 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6155 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6156 echo "$as_me:$LINENO: result: yes" >&5
6157 echo "${ECHO_T}yes" >&6
6159 echo "$as_me:$LINENO: result: no" >&5
6160 echo "${ECHO_T}no" >&6
6165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6166 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6168 # Check whether --enable-mdi or --disable-mdi was given.
6169 if test "${enable_mdi+set}" = set; then
6170 enableval="$enable_mdi"
6172 if test "$enableval" = yes; then
6173 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
6175 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
6180 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6181 if test "x$LINE" != x ; then
6182 eval "DEFAULT_$LINE"
6187 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6191 eval "$ac_cv_use_mdi"
6192 if test "$no_cache" != 1; then
6193 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6196 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6197 echo "$as_me:$LINENO: result: yes" >&5
6198 echo "${ECHO_T}yes" >&6
6200 echo "$as_me:$LINENO: result: no" >&5
6201 echo "${ECHO_T}no" >&6
6206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6207 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6209 # Check whether --enable-loggui or --disable-loggui was given.
6210 if test "${enable_loggui+set}" = set; then
6211 enableval="$enable_loggui"
6213 if test "$enableval" = yes; then
6214 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6216 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6221 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6222 if test "x$LINE" != x ; then
6223 eval "DEFAULT_$LINE"
6228 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6232 eval "$ac_cv_use_loggui"
6233 if test "$no_cache" != 1; then
6234 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6237 if test "$wxUSE_LOGGUI" = yes; then
6238 echo "$as_me:$LINENO: result: yes" >&5
6239 echo "${ECHO_T}yes" >&6
6241 echo "$as_me:$LINENO: result: no" >&5
6242 echo "${ECHO_T}no" >&6
6247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6248 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6250 # Check whether --enable-logwin or --disable-logwin was given.
6251 if test "${enable_logwin+set}" = set; then
6252 enableval="$enable_logwin"
6254 if test "$enableval" = yes; then
6255 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6257 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6262 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6263 if test "x$LINE" != x ; then
6264 eval "DEFAULT_$LINE"
6269 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6273 eval "$ac_cv_use_logwin"
6274 if test "$no_cache" != 1; then
6275 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6278 if test "$wxUSE_LOGWINDOW" = yes; then
6279 echo "$as_me:$LINENO: result: yes" >&5
6280 echo "${ECHO_T}yes" >&6
6282 echo "$as_me:$LINENO: result: no" >&5
6283 echo "${ECHO_T}no" >&6
6288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6289 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6291 # Check whether --enable-logdialog or --disable-logdialog was given.
6292 if test "${enable_logdialog+set}" = set; then
6293 enableval="$enable_logdialog"
6295 if test "$enableval" = yes; then
6296 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6298 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6303 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6304 if test "x$LINE" != x ; then
6305 eval "DEFAULT_$LINE"
6310 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6314 eval "$ac_cv_use_logdialog"
6315 if test "$no_cache" != 1; then
6316 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6319 if test "$wxUSE_LOGDIALOG" = yes; then
6320 echo "$as_me:$LINENO: result: yes" >&5
6321 echo "${ECHO_T}yes" >&6
6323 echo "$as_me:$LINENO: result: no" >&5
6324 echo "${ECHO_T}no" >&6
6330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6331 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6333 # Check whether --enable-postscript or --disable-postscript was given.
6334 if test "${enable_postscript+set}" = set; then
6335 enableval="$enable_postscript"
6337 if test "$enableval" = yes; then
6338 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
6340 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
6345 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6346 if test "x$LINE" != x ; then
6347 eval "DEFAULT_$LINE"
6352 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
6356 eval "$ac_cv_use_postscript"
6357 if test "$no_cache" != 1; then
6358 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6361 if test "$wxUSE_POSTSCRIPT" = yes; then
6362 echo "$as_me:$LINENO: result: yes" >&5
6363 echo "${ECHO_T}yes" >&6
6365 echo "$as_me:$LINENO: result: no" >&5
6366 echo "${ECHO_T}no" >&6
6374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6377 # Check whether --enable-prologio or --disable-prologio was given.
6378 if test "${enable_prologio+set}" = set; then
6379 enableval="$enable_prologio"
6381 if test "$enableval" = yes; then
6382 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
6384 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
6389 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x ; then
6391 eval "DEFAULT_$LINE"
6396 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
6400 eval "$ac_cv_use_prologio"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6405 if test "$wxUSE_PROLOGIO" = yes; then
6406 echo "$as_me:$LINENO: result: yes" >&5
6407 echo "${ECHO_T}yes" >&6
6409 echo "$as_me:$LINENO: result: no" >&5
6410 echo "${ECHO_T}no" >&6
6415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6416 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6418 # Check whether --enable-resources or --disable-resources was given.
6419 if test "${enable_resources+set}" = set; then
6420 enableval="$enable_resources"
6422 if test "$enableval" = yes; then
6423 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
6425 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
6430 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6431 if test "x$LINE" != x ; then
6432 eval "DEFAULT_$LINE"
6437 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
6441 eval "$ac_cv_use_resources"
6442 if test "$no_cache" != 1; then
6443 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6446 if test "$wxUSE_RESOURCES" = yes; then
6447 echo "$as_me:$LINENO: result: yes" >&5
6448 echo "${ECHO_T}yes" >&6
6450 echo "$as_me:$LINENO: result: no" >&5
6451 echo "${ECHO_T}no" >&6
6458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6459 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6461 # Check whether --enable-clipboard or --disable-clipboard was given.
6462 if test "${enable_clipboard+set}" = set; then
6463 enableval="$enable_clipboard"
6465 if test "$enableval" = yes; then
6466 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6468 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6473 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6474 if test "x$LINE" != x ; then
6475 eval "DEFAULT_$LINE"
6480 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6484 eval "$ac_cv_use_clipboard"
6485 if test "$no_cache" != 1; then
6486 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6489 if test "$wxUSE_CLIPBOARD" = yes; then
6490 echo "$as_me:$LINENO: result: yes" >&5
6491 echo "${ECHO_T}yes" >&6
6493 echo "$as_me:$LINENO: result: no" >&5
6494 echo "${ECHO_T}no" >&6
6499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6502 # Check whether --enable-dnd or --disable-dnd was given.
6503 if test "${enable_dnd+set}" = set; then
6504 enableval="$enable_dnd"
6506 if test "$enableval" = yes; then
6507 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6509 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6514 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6515 if test "x$LINE" != x ; then
6516 eval "DEFAULT_$LINE"
6521 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6525 eval "$ac_cv_use_dnd"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6530 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6531 echo "$as_me:$LINENO: result: yes" >&5
6532 echo "${ECHO_T}yes" >&6
6534 echo "$as_me:$LINENO: result: no" >&5
6535 echo "${ECHO_T}no" >&6
6540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6543 # Check whether --enable-metafile or --disable-metafile was given.
6544 if test "${enable_metafile+set}" = set; then
6545 enableval="$enable_metafile"
6547 if test "$enableval" = yes; then
6548 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6550 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6555 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x ; then
6557 eval "DEFAULT_$LINE"
6562 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6566 eval "$ac_cv_use_metafile"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6571 if test "$wxUSE_METAFILE" = yes; then
6572 echo "$as_me:$LINENO: result: yes" >&5
6573 echo "${ECHO_T}yes" >&6
6575 echo "$as_me:$LINENO: result: no" >&5
6576 echo "${ECHO_T}no" >&6
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6587 # Check whether --enable-controls or --disable-controls was given.
6588 if test "${enable_controls+set}" = set; then
6589 enableval="$enable_controls"
6591 if test "$enableval" = yes; then
6592 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6594 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6599 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x ; then
6601 eval "DEFAULT_$LINE"
6606 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6610 eval "$ac_cv_use_controls"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6615 if test "$wxUSE_CONTROLS" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6624 if test "$wxUSE_CONTROLS" = "yes"; then
6625 DEFAULT_wxUSE_ACCEL=yes
6626 DEFAULT_wxUSE_BMPBUTTON=yes
6627 DEFAULT_wxUSE_BUTTON=yes
6628 DEFAULT_wxUSE_CALCTRL=no
6629 DEFAULT_wxUSE_CARET=yes
6630 DEFAULT_wxUSE_COMBOBOX=yes
6631 DEFAULT_wxUSE_CHECKBOX=yes
6632 DEFAULT_wxUSE_CHECKLISTBOX=yes
6633 DEFAULT_wxUSE_CHOICE=yes
6634 DEFAULT_wxUSE_GAUGE=yes
6635 DEFAULT_wxUSE_GRID=yes
6636 DEFAULT_wxUSE_IMAGLIST=yes
6637 DEFAULT_wxUSE_LISTBOOK=yes
6638 DEFAULT_wxUSE_LISTBOX=yes
6639 DEFAULT_wxUSE_LISTCTRL=yes
6640 DEFAULT_wxUSE_NOTEBOOK=yes
6641 DEFAULT_wxUSE_RADIOBOX=yes
6642 DEFAULT_wxUSE_RADIOBTN=yes
6643 DEFAULT_wxUSE_SASH=yes
6644 DEFAULT_wxUSE_SCROLLBAR=yes
6645 DEFAULT_wxUSE_SLIDER=yes
6646 DEFAULT_wxUSE_SPINBTN=yes
6647 DEFAULT_wxUSE_SPINCTRL=yes
6648 DEFAULT_wxUSE_SPLITTER=yes
6649 DEFAULT_wxUSE_STATBMP=yes
6650 DEFAULT_wxUSE_STATBOX=yes
6651 DEFAULT_wxUSE_STATLINE=yes
6652 DEFAULT_wxUSE_STATUSBAR=yes
6653 DEFAULT_wxUSE_TAB_DIALOG=yes
6654 DEFAULT_wxUSE_TOGGLEBTN=yes
6655 DEFAULT_wxUSE_TOOLBAR=yes
6656 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6657 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6658 DEFAULT_wxUSE_TOOLTIPS=yes
6659 DEFAULT_wxUSE_TREECTRL=yes
6660 DEFAULT_wxUSE_POPUPWIN=yes
6661 DEFAULT_wxUSE_TIPWINDOW=yes
6662 elif test "$wxUSE_CONTROLS" = "no"; then
6663 DEFAULT_wxUSE_ACCEL=no
6664 DEFAULT_wxUSE_BMPBUTTON=no
6665 DEFAULT_wxUSE_BUTTON=no
6666 DEFAULT_wxUSE_CALCTRL=no
6667 DEFAULT_wxUSE_CARET=no
6668 DEFAULT_wxUSE_COMBOBOX=no
6669 DEFAULT_wxUSE_CHECKBOX=no
6670 DEFAULT_wxUSE_CHECKLISTBOX=no
6671 DEFAULT_wxUSE_CHOICE=no
6672 DEFAULT_wxUSE_GAUGE=no
6673 DEFAULT_wxUSE_GRID=no
6674 DEFAULT_wxUSE_IMAGLIST=no
6675 DEFAULT_wxUSE_LISTBOOK=no
6676 DEFAULT_wxUSE_LISTBOX=no
6677 DEFAULT_wxUSE_LISTCTRL=no
6678 DEFAULT_wxUSE_NOTEBOOK=no
6679 DEFAULT_wxUSE_RADIOBOX=no
6680 DEFAULT_wxUSE_RADIOBTN=no
6681 DEFAULT_wxUSE_SASH=no
6682 DEFAULT_wxUSE_SCROLLBAR=no
6683 DEFAULT_wxUSE_SLIDER=no
6684 DEFAULT_wxUSE_SPINBTN=no
6685 DEFAULT_wxUSE_SPINCTRL=no
6686 DEFAULT_wxUSE_SPLITTER=no
6687 DEFAULT_wxUSE_STATBMP=no
6688 DEFAULT_wxUSE_STATBOX=no
6689 DEFAULT_wxUSE_STATLINE=no
6690 DEFAULT_wxUSE_STATUSBAR=no
6691 DEFAULT_wxUSE_TAB_DIALOG=no
6692 DEFAULT_wxUSE_TOGGLEBTN=no
6693 DEFAULT_wxUSE_TOOLBAR=no
6694 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6695 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6696 DEFAULT_wxUSE_TOOLTIPS=no
6697 DEFAULT_wxUSE_TREECTRL=no
6698 DEFAULT_wxUSE_POPUPWIN=no
6699 DEFAULT_wxUSE_TIPWINDOW=no
6702 ## FIXME: This is a blatant hack
6703 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6704 wxUSE_PRINTING_ARCHITECTURE=no
6705 wxUSE_DRAG_AND_DROP=no
6706 # Generic notebook requires tab dialog
6707 DEFAULT_wxUSE_TABDIALOG=yes
6708 DEFAULT_wxUSE_SCROLLBAR=no
6709 DEFAULT_wxUSE_TOOLTIPS=no
6710 DEFAULT_wxUSE_DRAGIMAGE=no
6715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6718 # Check whether --enable-accel or --disable-accel was given.
6719 if test "${enable_accel+set}" = set; then
6720 enableval="$enable_accel"
6722 if test "$enableval" = yes; then
6723 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6725 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6730 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x ; then
6732 eval "DEFAULT_$LINE"
6737 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6741 eval "$ac_cv_use_accel"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6746 if test "$wxUSE_ACCEL" = yes; then
6747 echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6
6750 echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6
6756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6759 # Check whether --enable-button or --disable-button was given.
6760 if test "${enable_button+set}" = set; then
6761 enableval="$enable_button"
6763 if test "$enableval" = yes; then
6764 ac_cv_use_button='wxUSE_BUTTON
=yes'
6766 ac_cv_use_button='wxUSE_BUTTON
=no
'
6771 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6772 if test "x$LINE" != x ; then
6773 eval "DEFAULT_$LINE"
6778 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6782 eval "$ac_cv_use_button"
6783 if test "$no_cache" != 1; then
6784 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6787 if test "$wxUSE_BUTTON" = yes; then
6788 echo "$as_me:$LINENO: result: yes" >&5
6789 echo "${ECHO_T}yes" >&6
6791 echo "$as_me:$LINENO: result: no" >&5
6792 echo "${ECHO_T}no" >&6
6797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6800 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6801 if test "${enable_bmpbutton+set}" = set; then
6802 enableval="$enable_bmpbutton"
6804 if test "$enableval" = yes; then
6805 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6807 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6812 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6813 if test "x$LINE" != x ; then
6814 eval "DEFAULT_$LINE"
6819 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6823 eval "$ac_cv_use_bmpbutton"
6824 if test "$no_cache" != 1; then
6825 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6828 if test "$wxUSE_BMPBUTTON" = yes; then
6829 echo "$as_me:$LINENO: result: yes" >&5
6830 echo "${ECHO_T}yes" >&6
6832 echo "$as_me:$LINENO: result: no" >&5
6833 echo "${ECHO_T}no" >&6
6838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6839 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6841 # Check whether --enable-calendar or --disable-calendar was given.
6842 if test "${enable_calendar+set}" = set; then
6843 enableval="$enable_calendar"
6845 if test "$enableval" = yes; then
6846 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6848 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6853 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6854 if test "x$LINE" != x ; then
6855 eval "DEFAULT_$LINE"
6860 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6864 eval "$ac_cv_use_calendar"
6865 if test "$no_cache" != 1; then
6866 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6869 if test "$wxUSE_CALCTRL" = yes; then
6870 echo "$as_me:$LINENO: result: yes" >&5
6871 echo "${ECHO_T}yes" >&6
6873 echo "$as_me:$LINENO: result: no" >&5
6874 echo "${ECHO_T}no" >&6
6879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6880 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6882 # Check whether --enable-caret or --disable-caret was given.
6883 if test "${enable_caret+set}" = set; then
6884 enableval="$enable_caret"
6886 if test "$enableval" = yes; then
6887 ac_cv_use_caret='wxUSE_CARET
=yes'
6889 ac_cv_use_caret='wxUSE_CARET
=no
'
6894 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6895 if test "x$LINE" != x ; then
6896 eval "DEFAULT_$LINE"
6901 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6905 eval "$ac_cv_use_caret"
6906 if test "$no_cache" != 1; then
6907 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6910 if test "$wxUSE_CARET" = yes; then
6911 echo "$as_me:$LINENO: result: yes" >&5
6912 echo "${ECHO_T}yes" >&6
6914 echo "$as_me:$LINENO: result: no" >&5
6915 echo "${ECHO_T}no" >&6
6920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6921 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6923 # Check whether --enable-checkbox or --disable-checkbox was given.
6924 if test "${enable_checkbox+set}" = set; then
6925 enableval="$enable_checkbox"
6927 if test "$enableval" = yes; then
6928 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6930 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6935 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6936 if test "x$LINE" != x ; then
6937 eval "DEFAULT_$LINE"
6942 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6946 eval "$ac_cv_use_checkbox"
6947 if test "$no_cache" != 1; then
6948 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6951 if test "$wxUSE_CHECKBOX" = yes; then
6952 echo "$as_me:$LINENO: result: yes" >&5
6953 echo "${ECHO_T}yes" >&6
6955 echo "$as_me:$LINENO: result: no" >&5
6956 echo "${ECHO_T}no" >&6
6961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6962 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6964 # Check whether --enable-checklst or --disable-checklst was given.
6965 if test "${enable_checklst+set}" = set; then
6966 enableval="$enable_checklst"
6968 if test "$enableval" = yes; then
6969 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
6971 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
6976 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6977 if test "x$LINE" != x ; then
6978 eval "DEFAULT_$LINE"
6983 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
6987 eval "$ac_cv_use_checklst"
6988 if test "$no_cache" != 1; then
6989 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6992 if test "$wxUSE_CHECKLST" = yes; then
6993 echo "$as_me:$LINENO: result: yes" >&5
6994 echo "${ECHO_T}yes" >&6
6996 echo "$as_me:$LINENO: result: no" >&5
6997 echo "${ECHO_T}no" >&6
7002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7003 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7005 # Check whether --enable-choice or --disable-choice was given.
7006 if test "${enable_choice+set}" = set; then
7007 enableval="$enable_choice"
7009 if test "$enableval" = yes; then
7010 ac_cv_use_choice='wxUSE_CHOICE
=yes'
7012 ac_cv_use_choice='wxUSE_CHOICE
=no
'
7017 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7018 if test "x$LINE" != x ; then
7019 eval "DEFAULT_$LINE"
7024 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
7028 eval "$ac_cv_use_choice"
7029 if test "$no_cache" != 1; then
7030 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7033 if test "$wxUSE_CHOICE" = yes; then
7034 echo "$as_me:$LINENO: result: yes" >&5
7035 echo "${ECHO_T}yes" >&6
7037 echo "$as_me:$LINENO: result: no" >&5
7038 echo "${ECHO_T}no" >&6
7043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7044 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7046 # Check whether --enable-combobox or --disable-combobox was given.
7047 if test "${enable_combobox+set}" = set; then
7048 enableval="$enable_combobox"
7050 if test "$enableval" = yes; then
7051 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
7053 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
7058 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7059 if test "x$LINE" != x ; then
7060 eval "DEFAULT_$LINE"
7065 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7069 eval "$ac_cv_use_combobox"
7070 if test "$no_cache" != 1; then
7071 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7074 if test "$wxUSE_COMBOBOX" = yes; then
7075 echo "$as_me:$LINENO: result: yes" >&5
7076 echo "${ECHO_T}yes" >&6
7078 echo "$as_me:$LINENO: result: no" >&5
7079 echo "${ECHO_T}no" >&6
7084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7085 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7087 # Check whether --enable-display or --disable-display was given.
7088 if test "${enable_display+set}" = set; then
7089 enableval="$enable_display"
7091 if test "$enableval" = yes; then
7092 ac_cv_use_display='wxUSE_DISPLAY
=yes'
7094 ac_cv_use_display='wxUSE_DISPLAY
=no
'
7099 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7100 if test "x$LINE" != x ; then
7101 eval "DEFAULT_$LINE"
7106 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
7110 eval "$ac_cv_use_display"
7111 if test "$no_cache" != 1; then
7112 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7115 if test "$wxUSE_DISPLAY" = yes; then
7116 echo "$as_me:$LINENO: result: yes" >&5
7117 echo "${ECHO_T}yes" >&6
7119 echo "$as_me:$LINENO: result: no" >&5
7120 echo "${ECHO_T}no" >&6
7125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7126 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7128 # Check whether --enable-gauge or --disable-gauge was given.
7129 if test "${enable_gauge+set}" = set; then
7130 enableval="$enable_gauge"
7132 if test "$enableval" = yes; then
7133 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7135 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7140 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7141 if test "x$LINE" != x ; then
7142 eval "DEFAULT_$LINE"
7147 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7151 eval "$ac_cv_use_gauge"
7152 if test "$no_cache" != 1; then
7153 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7156 if test "$wxUSE_GAUGE" = yes; then
7157 echo "$as_me:$LINENO: result: yes" >&5
7158 echo "${ECHO_T}yes" >&6
7160 echo "$as_me:$LINENO: result: no" >&5
7161 echo "${ECHO_T}no" >&6
7166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7167 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7169 # Check whether --enable-grid or --disable-grid was given.
7170 if test "${enable_grid+set}" = set; then
7171 enableval="$enable_grid"
7173 if test "$enableval" = yes; then
7174 ac_cv_use_grid='wxUSE_GRID
=yes'
7176 ac_cv_use_grid='wxUSE_GRID
=no
'
7181 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7182 if test "x$LINE" != x ; then
7183 eval "DEFAULT_$LINE"
7188 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7192 eval "$ac_cv_use_grid"
7193 if test "$no_cache" != 1; then
7194 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7197 if test "$wxUSE_GRID" = yes; then
7198 echo "$as_me:$LINENO: result: yes" >&5
7199 echo "${ECHO_T}yes" >&6
7201 echo "$as_me:$LINENO: result: no" >&5
7202 echo "${ECHO_T}no" >&6
7207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7208 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7210 # Check whether --enable-imaglist or --disable-imaglist was given.
7211 if test "${enable_imaglist+set}" = set; then
7212 enableval="$enable_imaglist"
7214 if test "$enableval" = yes; then
7215 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7217 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7222 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7223 if test "x$LINE" != x ; then
7224 eval "DEFAULT_$LINE"
7229 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7233 eval "$ac_cv_use_imaglist"
7234 if test "$no_cache" != 1; then
7235 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7238 if test "$wxUSE_IMAGLIST" = yes; then
7239 echo "$as_me:$LINENO: result: yes" >&5
7240 echo "${ECHO_T}yes" >&6
7242 echo "$as_me:$LINENO: result: no" >&5
7243 echo "${ECHO_T}no" >&6
7248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7249 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7251 # Check whether --enable-listbook or --disable-listbook was given.
7252 if test "${enable_listbook+set}" = set; then
7253 enableval="$enable_listbook"
7255 if test "$enableval" = yes; then
7256 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
7258 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
7263 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7264 if test "x$LINE" != x ; then
7265 eval "DEFAULT_$LINE"
7270 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
7274 eval "$ac_cv_use_listbook"
7275 if test "$no_cache" != 1; then
7276 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7279 if test "$wxUSE_LISTBOOK" = yes; then
7280 echo "$as_me:$LINENO: result: yes" >&5
7281 echo "${ECHO_T}yes" >&6
7283 echo "$as_me:$LINENO: result: no" >&5
7284 echo "${ECHO_T}no" >&6
7289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7290 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7292 # Check whether --enable-listbox or --disable-listbox was given.
7293 if test "${enable_listbox+set}" = set; then
7294 enableval="$enable_listbox"
7296 if test "$enableval" = yes; then
7297 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7299 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7304 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7305 if test "x$LINE" != x ; then
7306 eval "DEFAULT_$LINE"
7311 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7315 eval "$ac_cv_use_listbox"
7316 if test "$no_cache" != 1; then
7317 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7320 if test "$wxUSE_LISTBOX" = yes; then
7321 echo "$as_me:$LINENO: result: yes" >&5
7322 echo "${ECHO_T}yes" >&6
7324 echo "$as_me:$LINENO: result: no" >&5
7325 echo "${ECHO_T}no" >&6
7330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7331 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7333 # Check whether --enable-listctrl or --disable-listctrl was given.
7334 if test "${enable_listctrl+set}" = set; then
7335 enableval="$enable_listctrl"
7337 if test "$enableval" = yes; then
7338 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7340 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7345 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7346 if test "x$LINE" != x ; then
7347 eval "DEFAULT_$LINE"
7352 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7356 eval "$ac_cv_use_listctrl"
7357 if test "$no_cache" != 1; then
7358 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7361 if test "$wxUSE_LISTCTRL" = yes; then
7362 echo "$as_me:$LINENO: result: yes" >&5
7363 echo "${ECHO_T}yes" >&6
7365 echo "$as_me:$LINENO: result: no" >&5
7366 echo "${ECHO_T}no" >&6
7371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7372 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7374 # Check whether --enable-notebook or --disable-notebook was given.
7375 if test "${enable_notebook+set}" = set; then
7376 enableval="$enable_notebook"
7378 if test "$enableval" = yes; then
7379 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7381 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7386 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7387 if test "x$LINE" != x ; then
7388 eval "DEFAULT_$LINE"
7393 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7397 eval "$ac_cv_use_notebook"
7398 if test "$no_cache" != 1; then
7399 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7402 if test "$wxUSE_NOTEBOOK" = yes; then
7403 echo "$as_me:$LINENO: result: yes" >&5
7404 echo "${ECHO_T}yes" >&6
7406 echo "$as_me:$LINENO: result: no" >&5
7407 echo "${ECHO_T}no" >&6
7412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7413 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7415 # Check whether --enable-radiobox or --disable-radiobox was given.
7416 if test "${enable_radiobox+set}" = set; then
7417 enableval="$enable_radiobox"
7419 if test "$enableval" = yes; then
7420 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7422 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7427 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7428 if test "x$LINE" != x ; then
7429 eval "DEFAULT_$LINE"
7434 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7438 eval "$ac_cv_use_radiobox"
7439 if test "$no_cache" != 1; then
7440 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7443 if test "$wxUSE_RADIOBOX" = yes; then
7444 echo "$as_me:$LINENO: result: yes" >&5
7445 echo "${ECHO_T}yes" >&6
7447 echo "$as_me:$LINENO: result: no" >&5
7448 echo "${ECHO_T}no" >&6
7453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7454 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7456 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7457 if test "${enable_radiobtn+set}" = set; then
7458 enableval="$enable_radiobtn"
7460 if test "$enableval" = yes; then
7461 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7463 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7468 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7469 if test "x$LINE" != x ; then
7470 eval "DEFAULT_$LINE"
7475 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7479 eval "$ac_cv_use_radiobtn"
7480 if test "$no_cache" != 1; then
7481 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7484 if test "$wxUSE_RADIOBTN" = yes; then
7485 echo "$as_me:$LINENO: result: yes" >&5
7486 echo "${ECHO_T}yes" >&6
7488 echo "$as_me:$LINENO: result: no" >&5
7489 echo "${ECHO_T}no" >&6
7494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7495 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7497 # Check whether --enable-sash or --disable-sash was given.
7498 if test "${enable_sash+set}" = set; then
7499 enableval="$enable_sash"
7501 if test "$enableval" = yes; then
7502 ac_cv_use_sash='wxUSE_SASH
=yes'
7504 ac_cv_use_sash='wxUSE_SASH
=no
'
7509 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7510 if test "x$LINE" != x ; then
7511 eval "DEFAULT_$LINE"
7516 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7520 eval "$ac_cv_use_sash"
7521 if test "$no_cache" != 1; then
7522 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7525 if test "$wxUSE_SASH" = yes; then
7526 echo "$as_me:$LINENO: result: yes" >&5
7527 echo "${ECHO_T}yes" >&6
7529 echo "$as_me:$LINENO: result: no" >&5
7530 echo "${ECHO_T}no" >&6
7535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7536 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7538 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7539 if test "${enable_scrollbar+set}" = set; then
7540 enableval="$enable_scrollbar"
7542 if test "$enableval" = yes; then
7543 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7545 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7550 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7551 if test "x$LINE" != x ; then
7552 eval "DEFAULT_$LINE"
7557 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7561 eval "$ac_cv_use_scrollbar"
7562 if test "$no_cache" != 1; then
7563 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7566 if test "$wxUSE_SCROLLBAR" = yes; then
7567 echo "$as_me:$LINENO: result: yes" >&5
7568 echo "${ECHO_T}yes" >&6
7570 echo "$as_me:$LINENO: result: no" >&5
7571 echo "${ECHO_T}no" >&6
7576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7577 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7579 # Check whether --enable-slider or --disable-slider was given.
7580 if test "${enable_slider+set}" = set; then
7581 enableval="$enable_slider"
7583 if test "$enableval" = yes; then
7584 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7586 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7591 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7592 if test "x$LINE" != x ; then
7593 eval "DEFAULT_$LINE"
7598 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7602 eval "$ac_cv_use_slider"
7603 if test "$no_cache" != 1; then
7604 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7607 if test "$wxUSE_SLIDER" = yes; then
7608 echo "$as_me:$LINENO: result: yes" >&5
7609 echo "${ECHO_T}yes" >&6
7611 echo "$as_me:$LINENO: result: no" >&5
7612 echo "${ECHO_T}no" >&6
7617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7618 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7620 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7621 if test "${enable_spinbtn+set}" = set; then
7622 enableval="$enable_spinbtn"
7624 if test "$enableval" = yes; then
7625 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7627 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7632 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7633 if test "x$LINE" != x ; then
7634 eval "DEFAULT_$LINE"
7639 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7643 eval "$ac_cv_use_spinbtn"
7644 if test "$no_cache" != 1; then
7645 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7648 if test "$wxUSE_SPINBTN" = yes; then
7649 echo "$as_me:$LINENO: result: yes" >&5
7650 echo "${ECHO_T}yes" >&6
7652 echo "$as_me:$LINENO: result: no" >&5
7653 echo "${ECHO_T}no" >&6
7658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7659 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7661 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7662 if test "${enable_spinctrl+set}" = set; then
7663 enableval="$enable_spinctrl"
7665 if test "$enableval" = yes; then
7666 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7668 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7673 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7674 if test "x$LINE" != x ; then
7675 eval "DEFAULT_$LINE"
7680 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7684 eval "$ac_cv_use_spinctrl"
7685 if test "$no_cache" != 1; then
7686 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7689 if test "$wxUSE_SPINCTRL" = yes; then
7690 echo "$as_me:$LINENO: result: yes" >&5
7691 echo "${ECHO_T}yes" >&6
7693 echo "$as_me:$LINENO: result: no" >&5
7694 echo "${ECHO_T}no" >&6
7699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7700 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7702 # Check whether --enable-splitter or --disable-splitter was given.
7703 if test "${enable_splitter+set}" = set; then
7704 enableval="$enable_splitter"
7706 if test "$enableval" = yes; then
7707 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7709 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7714 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7715 if test "x$LINE" != x ; then
7716 eval "DEFAULT_$LINE"
7721 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7725 eval "$ac_cv_use_splitter"
7726 if test "$no_cache" != 1; then
7727 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7730 if test "$wxUSE_SPLITTER" = yes; then
7731 echo "$as_me:$LINENO: result: yes" >&5
7732 echo "${ECHO_T}yes" >&6
7734 echo "$as_me:$LINENO: result: no" >&5
7735 echo "${ECHO_T}no" >&6
7740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7741 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7743 # Check whether --enable-statbmp or --disable-statbmp was given.
7744 if test "${enable_statbmp+set}" = set; then
7745 enableval="$enable_statbmp"
7747 if test "$enableval" = yes; then
7748 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7750 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7755 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7756 if test "x$LINE" != x ; then
7757 eval "DEFAULT_$LINE"
7762 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7766 eval "$ac_cv_use_statbmp"
7767 if test "$no_cache" != 1; then
7768 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7771 if test "$wxUSE_STATBMP" = yes; then
7772 echo "$as_me:$LINENO: result: yes" >&5
7773 echo "${ECHO_T}yes" >&6
7775 echo "$as_me:$LINENO: result: no" >&5
7776 echo "${ECHO_T}no" >&6
7781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7782 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7784 # Check whether --enable-statbox or --disable-statbox was given.
7785 if test "${enable_statbox+set}" = set; then
7786 enableval="$enable_statbox"
7788 if test "$enableval" = yes; then
7789 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7791 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7796 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7797 if test "x$LINE" != x ; then
7798 eval "DEFAULT_$LINE"
7803 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7807 eval "$ac_cv_use_statbox"
7808 if test "$no_cache" != 1; then
7809 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7812 if test "$wxUSE_STATBOX" = yes; then
7813 echo "$as_me:$LINENO: result: yes" >&5
7814 echo "${ECHO_T}yes" >&6
7816 echo "$as_me:$LINENO: result: no" >&5
7817 echo "${ECHO_T}no" >&6
7822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7823 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7825 # Check whether --enable-statline or --disable-statline was given.
7826 if test "${enable_statline+set}" = set; then
7827 enableval="$enable_statline"
7829 if test "$enableval" = yes; then
7830 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7832 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7837 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7838 if test "x$LINE" != x ; then
7839 eval "DEFAULT_$LINE"
7844 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7848 eval "$ac_cv_use_statline"
7849 if test "$no_cache" != 1; then
7850 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7853 if test "$wxUSE_STATLINE" = yes; then
7854 echo "$as_me:$LINENO: result: yes" >&5
7855 echo "${ECHO_T}yes" >&6
7857 echo "$as_me:$LINENO: result: no" >&5
7858 echo "${ECHO_T}no" >&6
7863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7864 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7866 # Check whether --enable-stattext or --disable-stattext was given.
7867 if test "${enable_stattext+set}" = set; then
7868 enableval="$enable_stattext"
7870 if test "$enableval" = yes; then
7871 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7873 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7878 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7879 if test "x$LINE" != x ; then
7880 eval "DEFAULT_$LINE"
7885 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7889 eval "$ac_cv_use_stattext"
7890 if test "$no_cache" != 1; then
7891 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7894 if test "$wxUSE_STATTEXT" = yes; then
7895 echo "$as_me:$LINENO: result: yes" >&5
7896 echo "${ECHO_T}yes" >&6
7898 echo "$as_me:$LINENO: result: no" >&5
7899 echo "${ECHO_T}no" >&6
7904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7905 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7907 # Check whether --enable-statusbar or --disable-statusbar was given.
7908 if test "${enable_statusbar+set}" = set; then
7909 enableval="$enable_statusbar"
7911 if test "$enableval" = yes; then
7912 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7914 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7919 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7920 if test "x$LINE" != x ; then
7921 eval "DEFAULT_$LINE"
7926 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7930 eval "$ac_cv_use_statusbar"
7931 if test "$no_cache" != 1; then
7932 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7935 if test "$wxUSE_STATUSBAR" = yes; then
7936 echo "$as_me:$LINENO: result: yes" >&5
7937 echo "${ECHO_T}yes" >&6
7939 echo "$as_me:$LINENO: result: no" >&5
7940 echo "${ECHO_T}no" >&6
7945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7946 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7948 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7949 if test "${enable_tabdialog+set}" = set; then
7950 enableval="$enable_tabdialog"
7952 if test "$enableval" = yes; then
7953 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7955 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7960 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7961 if test "x$LINE" != x ; then
7962 eval "DEFAULT_$LINE"
7967 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
7971 eval "$ac_cv_use_tabdialog"
7972 if test "$no_cache" != 1; then
7973 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7976 if test "$wxUSE_TABDIALOG" = yes; then
7977 echo "$as_me:$LINENO: result: yes" >&5
7978 echo "${ECHO_T}yes" >&6
7980 echo "$as_me:$LINENO: result: no" >&5
7981 echo "${ECHO_T}no" >&6
7986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7987 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7989 # Check whether --enable-textctrl or --disable-textctrl was given.
7990 if test "${enable_textctrl+set}" = set; then
7991 enableval="$enable_textctrl"
7993 if test "$enableval" = yes; then
7994 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
7996 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
8001 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8002 if test "x$LINE" != x ; then
8003 eval "DEFAULT_$LINE"
8008 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
8012 eval "$ac_cv_use_textctrl"
8013 if test "$no_cache" != 1; then
8014 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8017 if test "$wxUSE_TEXTCTRL" = yes; then
8018 echo "$as_me:$LINENO: result: yes" >&5
8019 echo "${ECHO_T}yes" >&6
8021 echo "$as_me:$LINENO: result: no" >&5
8022 echo "${ECHO_T}no" >&6
8027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8030 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8031 if test "${enable_togglebtn+set}" = set; then
8032 enableval="$enable_togglebtn"
8034 if test "$enableval" = yes; then
8035 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
8037 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
8042 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8043 if test "x$LINE" != x ; then
8044 eval "DEFAULT_$LINE"
8049 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
8053 eval "$ac_cv_use_togglebtn"
8054 if test "$no_cache" != 1; then
8055 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8058 if test "$wxUSE_TOGGLEBTN" = yes; then
8059 echo "$as_me:$LINENO: result: yes" >&5
8060 echo "${ECHO_T}yes" >&6
8062 echo "$as_me:$LINENO: result: no" >&5
8063 echo "${ECHO_T}no" >&6
8068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8069 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8071 # Check whether --enable-toolbar or --disable-toolbar was given.
8072 if test "${enable_toolbar+set}" = set; then
8073 enableval="$enable_toolbar"
8075 if test "$enableval" = yes; then
8076 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
8078 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
8083 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8084 if test "x$LINE" != x ; then
8085 eval "DEFAULT_$LINE"
8090 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
8094 eval "$ac_cv_use_toolbar"
8095 if test "$no_cache" != 1; then
8096 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8099 if test "$wxUSE_TOOLBAR" = yes; then
8100 echo "$as_me:$LINENO: result: yes" >&5
8101 echo "${ECHO_T}yes" >&6
8103 echo "$as_me:$LINENO: result: no" >&5
8104 echo "${ECHO_T}no" >&6
8109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8110 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8112 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8113 if test "${enable_tbarnative+set}" = set; then
8114 enableval="$enable_tbarnative"
8116 if test "$enableval" = yes; then
8117 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
8119 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
8124 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8125 if test "x$LINE" != x ; then
8126 eval "DEFAULT_$LINE"
8131 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8135 eval "$ac_cv_use_tbarnative"
8136 if test "$no_cache" != 1; then
8137 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8140 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8141 echo "$as_me:$LINENO: result: yes" >&5
8142 echo "${ECHO_T}yes" >&6
8144 echo "$as_me:$LINENO: result: no" >&5
8145 echo "${ECHO_T}no" >&6
8150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8151 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8153 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8154 if test "${enable_tbarsmpl+set}" = set; then
8155 enableval="$enable_tbarsmpl"
8157 if test "$enableval" = yes; then
8158 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
8160 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
8165 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8166 if test "x$LINE" != x ; then
8167 eval "DEFAULT_$LINE"
8172 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8176 eval "$ac_cv_use_tbarsmpl"
8177 if test "$no_cache" != 1; then
8178 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8181 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8182 echo "$as_me:$LINENO: result: yes" >&5
8183 echo "${ECHO_T}yes" >&6
8185 echo "$as_me:$LINENO: result: no" >&5
8186 echo "${ECHO_T}no" >&6
8191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8192 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8194 # Check whether --enable-treectrl or --disable-treectrl was given.
8195 if test "${enable_treectrl+set}" = set; then
8196 enableval="$enable_treectrl"
8198 if test "$enableval" = yes; then
8199 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8201 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8206 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8207 if test "x$LINE" != x ; then
8208 eval "DEFAULT_$LINE"
8213 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8217 eval "$ac_cv_use_treectrl"
8218 if test "$no_cache" != 1; then
8219 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8222 if test "$wxUSE_TREECTRL" = yes; then
8223 echo "$as_me:$LINENO: result: yes" >&5
8224 echo "${ECHO_T}yes" >&6
8226 echo "$as_me:$LINENO: result: no" >&5
8227 echo "${ECHO_T}no" >&6
8232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8233 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8235 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8236 if test "${enable_tipwindow+set}" = set; then
8237 enableval="$enable_tipwindow"
8239 if test "$enableval" = yes; then
8240 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8242 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8247 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8248 if test "x$LINE" != x ; then
8249 eval "DEFAULT_$LINE"
8254 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8258 eval "$ac_cv_use_tipwindow"
8259 if test "$no_cache" != 1; then
8260 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8263 if test "$wxUSE_TIPWINDOW" = yes; then
8264 echo "$as_me:$LINENO: result: yes" >&5
8265 echo "${ECHO_T}yes" >&6
8267 echo "$as_me:$LINENO: result: no" >&5
8268 echo "${ECHO_T}no" >&6
8273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8274 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8276 # Check whether --enable-popupwin or --disable-popupwin was given.
8277 if test "${enable_popupwin+set}" = set; then
8278 enableval="$enable_popupwin"
8280 if test "$enableval" = yes; then
8281 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8283 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8288 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8289 if test "x$LINE" != x ; then
8290 eval "DEFAULT_$LINE"
8295 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8299 eval "$ac_cv_use_popupwin"
8300 if test "$no_cache" != 1; then
8301 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8304 if test "$wxUSE_POPUPWIN" = yes; then
8305 echo "$as_me:$LINENO: result: yes" >&5
8306 echo "${ECHO_T}yes" >&6
8308 echo "$as_me:$LINENO: result: no" >&5
8309 echo "${ECHO_T}no" >&6
8316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8319 # Check whether --enable-commondlg or --disable-commondlg was given.
8320 if test "${enable_commondlg+set}" = set; then
8321 enableval="$enable_commondlg"
8323 if test "$enableval" = yes; then
8324 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8326 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8331 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8332 if test "x$LINE" != x ; then
8333 eval "DEFAULT_$LINE"
8338 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8342 eval "$ac_cv_use_commondlg"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8347 if test "$wxUSE_COMMONDLGS" = yes; then
8348 echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6
8351 echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6
8357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8360 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8361 if test "${enable_choicedlg+set}" = set; then
8362 enableval="$enable_choicedlg"
8364 if test "$enableval" = yes; then
8365 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8367 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8372 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8373 if test "x$LINE" != x ; then
8374 eval "DEFAULT_$LINE"
8379 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8383 eval "$ac_cv_use_choicedlg"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8388 if test "$wxUSE_CHOICEDLG" = yes; then
8389 echo "$as_me:$LINENO: result: yes" >&5
8390 echo "${ECHO_T}yes" >&6
8392 echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6
8398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8401 # Check whether --enable-coldlg or --disable-coldlg was given.
8402 if test "${enable_coldlg+set}" = set; then
8403 enableval="$enable_coldlg"
8405 if test "$enableval" = yes; then
8406 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8408 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8413 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8414 if test "x$LINE" != x ; then
8415 eval "DEFAULT_$LINE"
8420 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8424 eval "$ac_cv_use_coldlg"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8429 if test "$wxUSE_COLOURDLG" = yes; then
8430 echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6
8433 echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6
8439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8442 # Check whether --enable-filedlg or --disable-filedlg was given.
8443 if test "${enable_filedlg+set}" = set; then
8444 enableval="$enable_filedlg"
8446 if test "$enableval" = yes; then
8447 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8449 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8454 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8455 if test "x$LINE" != x ; then
8456 eval "DEFAULT_$LINE"
8461 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8465 eval "$ac_cv_use_filedlg"
8466 if test "$no_cache" != 1; then
8467 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8470 if test "$wxUSE_FILEDLG" = yes; then
8471 echo "$as_me:$LINENO: result: yes" >&5
8472 echo "${ECHO_T}yes" >&6
8474 echo "$as_me:$LINENO: result: no" >&5
8475 echo "${ECHO_T}no" >&6
8480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8481 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8483 # Check whether --enable-finddlg or --disable-finddlg was given.
8484 if test "${enable_finddlg+set}" = set; then
8485 enableval="$enable_finddlg"
8487 if test "$enableval" = yes; then
8488 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8490 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8495 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8496 if test "x$LINE" != x ; then
8497 eval "DEFAULT_$LINE"
8502 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8506 eval "$ac_cv_use_finddlg"
8507 if test "$no_cache" != 1; then
8508 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8511 if test "$wxUSE_FINDREPLDLG" = yes; then
8512 echo "$as_me:$LINENO: result: yes" >&5
8513 echo "${ECHO_T}yes" >&6
8515 echo "$as_me:$LINENO: result: no" >&5
8516 echo "${ECHO_T}no" >&6
8521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8524 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8525 if test "${enable_fontdlg+set}" = set; then
8526 enableval="$enable_fontdlg"
8528 if test "$enableval" = yes; then
8529 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8531 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8536 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8537 if test "x$LINE" != x ; then
8538 eval "DEFAULT_$LINE"
8543 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8547 eval "$ac_cv_use_fontdlg"
8548 if test "$no_cache" != 1; then
8549 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8552 if test "$wxUSE_FONTDLG" = yes; then
8553 echo "$as_me:$LINENO: result: yes" >&5
8554 echo "${ECHO_T}yes" >&6
8556 echo "$as_me:$LINENO: result: no" >&5
8557 echo "${ECHO_T}no" >&6
8562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8563 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8565 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8566 if test "${enable_dirdlg+set}" = set; then
8567 enableval="$enable_dirdlg"
8569 if test "$enableval" = yes; then
8570 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8572 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8577 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8578 if test "x$LINE" != x ; then
8579 eval "DEFAULT_$LINE"
8584 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8588 eval "$ac_cv_use_dirdlg"
8589 if test "$no_cache" != 1; then
8590 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8593 if test "$wxUSE_DIRDLG" = yes; then
8594 echo "$as_me:$LINENO: result: yes" >&5
8595 echo "${ECHO_T}yes" >&6
8597 echo "$as_me:$LINENO: result: no" >&5
8598 echo "${ECHO_T}no" >&6
8603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8604 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8606 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8607 if test "${enable_msgdlg+set}" = set; then
8608 enableval="$enable_msgdlg"
8610 if test "$enableval" = yes; then
8611 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8613 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8618 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8619 if test "x$LINE" != x ; then
8620 eval "DEFAULT_$LINE"
8625 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8629 eval "$ac_cv_use_msgdlg"
8630 if test "$no_cache" != 1; then
8631 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8634 if test "$wxUSE_MSGDLG" = yes; then
8635 echo "$as_me:$LINENO: result: yes" >&5
8636 echo "${ECHO_T}yes" >&6
8638 echo "$as_me:$LINENO: result: no" >&5
8639 echo "${ECHO_T}no" >&6
8644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8645 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8647 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8648 if test "${enable_numberdlg+set}" = set; then
8649 enableval="$enable_numberdlg"
8651 if test "$enableval" = yes; then
8652 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8654 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8659 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8660 if test "x$LINE" != x ; then
8661 eval "DEFAULT_$LINE"
8666 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8670 eval "$ac_cv_use_numberdlg"
8671 if test "$no_cache" != 1; then
8672 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8675 if test "$wxUSE_NUMBERDLG" = yes; then
8676 echo "$as_me:$LINENO: result: yes" >&5
8677 echo "${ECHO_T}yes" >&6
8679 echo "$as_me:$LINENO: result: no" >&5
8680 echo "${ECHO_T}no" >&6
8685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8686 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8688 # Check whether --enable-splash or --disable-splash was given.
8689 if test "${enable_splash+set}" = set; then
8690 enableval="$enable_splash"
8692 if test "$enableval" = yes; then
8693 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8695 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8700 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8701 if test "x$LINE" != x ; then
8702 eval "DEFAULT_$LINE"
8707 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8711 eval "$ac_cv_use_splash"
8712 if test "$no_cache" != 1; then
8713 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8716 if test "$wxUSE_SPLASH" = yes; then
8717 echo "$as_me:$LINENO: result: yes" >&5
8718 echo "${ECHO_T}yes" >&6
8720 echo "$as_me:$LINENO: result: no" >&5
8721 echo "${ECHO_T}no" >&6
8726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8727 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8729 # Check whether --enable-textdlg or --disable-textdlg was given.
8730 if test "${enable_textdlg+set}" = set; then
8731 enableval="$enable_textdlg"
8733 if test "$enableval" = yes; then
8734 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8736 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8741 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8742 if test "x$LINE" != x ; then
8743 eval "DEFAULT_$LINE"
8748 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8752 eval "$ac_cv_use_textdlg"
8753 if test "$no_cache" != 1; then
8754 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8757 if test "$wxUSE_TEXTDLG" = yes; then
8758 echo "$as_me:$LINENO: result: yes" >&5
8759 echo "${ECHO_T}yes" >&6
8761 echo "$as_me:$LINENO: result: no" >&5
8762 echo "${ECHO_T}no" >&6
8767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8768 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8770 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8771 if test "${enable_tipdlg+set}" = set; then
8772 enableval="$enable_tipdlg"
8774 if test "$enableval" = yes; then
8775 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8777 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8782 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8783 if test "x$LINE" != x ; then
8784 eval "DEFAULT_$LINE"
8789 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8793 eval "$ac_cv_use_tipdlg"
8794 if test "$no_cache" != 1; then
8795 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8798 if test "$wxUSE_STARTUP_TIPS" = yes; then
8799 echo "$as_me:$LINENO: result: yes" >&5
8800 echo "${ECHO_T}yes" >&6
8802 echo "$as_me:$LINENO: result: no" >&5
8803 echo "${ECHO_T}no" >&6
8808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8809 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8811 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8812 if test "${enable_progressdlg+set}" = set; then
8813 enableval="$enable_progressdlg"
8815 if test "$enableval" = yes; then
8816 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8818 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8823 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8824 if test "x$LINE" != x ; then
8825 eval "DEFAULT_$LINE"
8830 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8834 eval "$ac_cv_use_progressdlg"
8835 if test "$no_cache" != 1; then
8836 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8839 if test "$wxUSE_PROGRESSDLG" = yes; then
8840 echo "$as_me:$LINENO: result: yes" >&5
8841 echo "${ECHO_T}yes" >&6
8843 echo "$as_me:$LINENO: result: no" >&5
8844 echo "${ECHO_T}no" >&6
8849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8850 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8852 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8853 if test "${enable_wizarddlg+set}" = set; then
8854 enableval="$enable_wizarddlg"
8856 if test "$enableval" = yes; then
8857 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8859 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8864 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8865 if test "x$LINE" != x ; then
8866 eval "DEFAULT_$LINE"
8871 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8875 eval "$ac_cv_use_wizarddlg"
8876 if test "$no_cache" != 1; then
8877 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8880 if test "$wxUSE_WIZARDDLG" = yes; then
8881 echo "$as_me:$LINENO: result: yes" >&5
8882 echo "${ECHO_T}yes" >&6
8884 echo "$as_me:$LINENO: result: no" >&5
8885 echo "${ECHO_T}no" >&6
8892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8893 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8895 # Check whether --enable-menus or --disable-menus was given.
8896 if test "${enable_menus+set}" = set; then
8897 enableval="$enable_menus"
8899 if test "$enableval" = yes; then
8900 ac_cv_use_menus='wxUSE_MENUS
=yes'
8902 ac_cv_use_menus='wxUSE_MENUS
=no
'
8907 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8908 if test "x$LINE" != x ; then
8909 eval "DEFAULT_$LINE"
8914 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8918 eval "$ac_cv_use_menus"
8919 if test "$no_cache" != 1; then
8920 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8923 if test "$wxUSE_MENUS" = yes; then
8924 echo "$as_me:$LINENO: result: yes" >&5
8925 echo "${ECHO_T}yes" >&6
8927 echo "$as_me:$LINENO: result: no" >&5
8928 echo "${ECHO_T}no" >&6
8933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8934 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8936 # Check whether --enable-miniframe or --disable-miniframe was given.
8937 if test "${enable_miniframe+set}" = set; then
8938 enableval="$enable_miniframe"
8940 if test "$enableval" = yes; then
8941 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8943 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8948 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x ; then
8950 eval "DEFAULT_$LINE"
8955 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8959 eval "$ac_cv_use_miniframe"
8960 if test "$no_cache" != 1; then
8961 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8964 if test "$wxUSE_MINIFRAME" = yes; then
8965 echo "$as_me:$LINENO: result: yes" >&5
8966 echo "${ECHO_T}yes" >&6
8968 echo "$as_me:$LINENO: result: no" >&5
8969 echo "${ECHO_T}no" >&6
8974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8975 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8977 # Check whether --enable-tooltips or --disable-tooltips was given.
8978 if test "${enable_tooltips+set}" = set; then
8979 enableval="$enable_tooltips"
8981 if test "$enableval" = yes; then
8982 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
8984 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
8989 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8990 if test "x$LINE" != x ; then
8991 eval "DEFAULT_$LINE"
8996 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
9000 eval "$ac_cv_use_tooltips"
9001 if test "$no_cache" != 1; then
9002 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9005 if test "$wxUSE_TOOLTIPS" = yes; then
9006 echo "$as_me:$LINENO: result: yes" >&5
9007 echo "${ECHO_T}yes" >&6
9009 echo "$as_me:$LINENO: result: no" >&5
9010 echo "${ECHO_T}no" >&6
9015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9016 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9018 # Check whether --enable-splines or --disable-splines was given.
9019 if test "${enable_splines+set}" = set; then
9020 enableval="$enable_splines"
9022 if test "$enableval" = yes; then
9023 ac_cv_use_splines='wxUSE_SPLINES
=yes'
9025 ac_cv_use_splines='wxUSE_SPLINES
=no
'
9030 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9031 if test "x$LINE" != x ; then
9032 eval "DEFAULT_$LINE"
9037 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
9041 eval "$ac_cv_use_splines"
9042 if test "$no_cache" != 1; then
9043 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9046 if test "$wxUSE_SPLINES" = yes; then
9047 echo "$as_me:$LINENO: result: yes" >&5
9048 echo "${ECHO_T}yes" >&6
9050 echo "$as_me:$LINENO: result: no" >&5
9051 echo "${ECHO_T}no" >&6
9056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9057 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9059 # Check whether --enable-validators or --disable-validators was given.
9060 if test "${enable_validators+set}" = set; then
9061 enableval="$enable_validators"
9063 if test "$enableval" = yes; then
9064 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
9066 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
9071 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9072 if test "x$LINE" != x ; then
9073 eval "DEFAULT_$LINE"
9078 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
9082 eval "$ac_cv_use_validators"
9083 if test "$no_cache" != 1; then
9084 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9087 if test "$wxUSE_VALIDATORS" = yes; then
9088 echo "$as_me:$LINENO: result: yes" >&5
9089 echo "${ECHO_T}yes" >&6
9091 echo "$as_me:$LINENO: result: no" >&5
9092 echo "${ECHO_T}no" >&6
9097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9098 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9100 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9101 if test "${enable_busyinfo+set}" = set; then
9102 enableval="$enable_busyinfo"
9104 if test "$enableval" = yes; then
9105 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
9107 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
9112 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9113 if test "x$LINE" != x ; then
9114 eval "DEFAULT_$LINE"
9119 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
9123 eval "$ac_cv_use_busyinfo"
9124 if test "$no_cache" != 1; then
9125 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9128 if test "$wxUSE_BUSYINFO" = yes; then
9129 echo "$as_me:$LINENO: result: yes" >&5
9130 echo "${ECHO_T}yes" >&6
9132 echo "$as_me:$LINENO: result: no" >&5
9133 echo "${ECHO_T}no" >&6
9138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9139 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9141 # Check whether --enable-joystick or --disable-joystick was given.
9142 if test "${enable_joystick+set}" = set; then
9143 enableval="$enable_joystick"
9145 if test "$enableval" = yes; then
9146 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
9148 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
9153 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9154 if test "x$LINE" != x ; then
9155 eval "DEFAULT_$LINE"
9160 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
9164 eval "$ac_cv_use_joystick"
9165 if test "$no_cache" != 1; then
9166 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9169 if test "$wxUSE_JOYSTICK" = yes; then
9170 echo "$as_me:$LINENO: result: yes" >&5
9171 echo "${ECHO_T}yes" >&6
9173 echo "$as_me:$LINENO: result: no" >&5
9174 echo "${ECHO_T}no" >&6
9179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9180 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9182 # Check whether --enable-metafile or --disable-metafile was given.
9183 if test "${enable_metafile+set}" = set; then
9184 enableval="$enable_metafile"
9186 if test "$enableval" = yes; then
9187 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9189 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9194 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9195 if test "x$LINE" != x ; then
9196 eval "DEFAULT_$LINE"
9201 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9205 eval "$ac_cv_use_metafile"
9206 if test "$no_cache" != 1; then
9207 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9210 if test "$wxUSE_METAFILE" = yes; then
9211 echo "$as_me:$LINENO: result: yes" >&5
9212 echo "${ECHO_T}yes" >&6
9214 echo "$as_me:$LINENO: result: no" >&5
9215 echo "${ECHO_T}no" >&6
9220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9221 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9223 # Check whether --enable-dragimage or --disable-dragimage was given.
9224 if test "${enable_dragimage+set}" = set; then
9225 enableval="$enable_dragimage"
9227 if test "$enableval" = yes; then
9228 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
9230 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9235 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9236 if test "x$LINE" != x ; then
9237 eval "DEFAULT_$LINE"
9242 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9246 eval "$ac_cv_use_dragimage"
9247 if test "$no_cache" != 1; then
9248 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9251 if test "$wxUSE_DRAGIMAGE" = yes; then
9252 echo "$as_me:$LINENO: result: yes" >&5
9253 echo "${ECHO_T}yes" >&6
9255 echo "$as_me:$LINENO: result: no" >&5
9256 echo "${ECHO_T}no" >&6
9261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9262 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9264 # Check whether --enable-accessibility or --disable-accessibility was given.
9265 if test "${enable_accessibility+set}" = set; then
9266 enableval="$enable_accessibility"
9268 if test "$enableval" = yes; then
9269 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9271 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9276 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9277 if test "x$LINE" != x ; then
9278 eval "DEFAULT_$LINE"
9283 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9287 eval "$ac_cv_use_accessibility"
9288 if test "$no_cache" != 1; then
9289 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9292 if test "$wxUSE_ACCESSIBILITY" = yes; then
9293 echo "$as_me:$LINENO: result: yes" >&5
9294 echo "${ECHO_T}yes" >&6
9296 echo "$as_me:$LINENO: result: no" >&5
9297 echo "${ECHO_T}no" >&6
9304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9307 # Check whether --enable-palette or --disable-palette was given.
9308 if test "${enable_palette+set}" = set; then
9309 enableval="$enable_palette"
9311 if test "$enableval" = yes; then
9312 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9314 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9319 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9320 if test "x$LINE" != x ; then
9321 eval "DEFAULT_$LINE"
9326 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9330 eval "$ac_cv_use_palette"
9331 if test "$no_cache" != 1; then
9332 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9335 if test "$wxUSE_PALETTE" = yes; then
9336 echo "$as_me:$LINENO: result: yes" >&5
9337 echo "${ECHO_T}yes" >&6
9339 echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6
9345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9348 # Check whether --enable-image or --disable-image was given.
9349 if test "${enable_image+set}" = set; then
9350 enableval="$enable_image"
9352 if test "$enableval" = yes; then
9353 ac_cv_use_image='wxUSE_IMAGE
=yes'
9355 ac_cv_use_image='wxUSE_IMAGE
=no
'
9360 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9361 if test "x$LINE" != x ; then
9362 eval "DEFAULT_$LINE"
9367 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9371 eval "$ac_cv_use_image"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9376 if test "$wxUSE_IMAGE" = yes; then
9377 echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6
9380 echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6
9386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9389 # Check whether --enable-gif or --disable-gif was given.
9390 if test "${enable_gif+set}" = set; then
9391 enableval="$enable_gif"
9393 if test "$enableval" = yes; then
9394 ac_cv_use_gif='wxUSE_GIF
=yes'
9396 ac_cv_use_gif='wxUSE_GIF
=no
'
9401 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9402 if test "x$LINE" != x ; then
9403 eval "DEFAULT_$LINE"
9408 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9412 eval "$ac_cv_use_gif"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9417 if test "$wxUSE_GIF" = yes; then
9418 echo "$as_me:$LINENO: result: yes" >&5
9419 echo "${ECHO_T}yes" >&6
9421 echo "$as_me:$LINENO: result: no" >&5
9422 echo "${ECHO_T}no" >&6
9427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9428 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9430 # Check whether --enable-pcx or --disable-pcx was given.
9431 if test "${enable_pcx+set}" = set; then
9432 enableval="$enable_pcx"
9434 if test "$enableval" = yes; then
9435 ac_cv_use_pcx='wxUSE_PCX
=yes'
9437 ac_cv_use_pcx='wxUSE_PCX
=no
'
9442 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9443 if test "x$LINE" != x ; then
9444 eval "DEFAULT_$LINE"
9449 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9453 eval "$ac_cv_use_pcx"
9454 if test "$no_cache" != 1; then
9455 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9458 if test "$wxUSE_PCX" = yes; then
9459 echo "$as_me:$LINENO: result: yes" >&5
9460 echo "${ECHO_T}yes" >&6
9462 echo "$as_me:$LINENO: result: no" >&5
9463 echo "${ECHO_T}no" >&6
9468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9469 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9471 # Check whether --enable-iff or --disable-iff was given.
9472 if test "${enable_iff+set}" = set; then
9473 enableval="$enable_iff"
9475 if test "$enableval" = yes; then
9476 ac_cv_use_iff='wxUSE_IFF
=yes'
9478 ac_cv_use_iff='wxUSE_IFF
=no
'
9483 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9484 if test "x$LINE" != x ; then
9485 eval "DEFAULT_$LINE"
9490 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9494 eval "$ac_cv_use_iff"
9495 if test "$no_cache" != 1; then
9496 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9499 if test "$wxUSE_IFF" = yes; then
9500 echo "$as_me:$LINENO: result: yes" >&5
9501 echo "${ECHO_T}yes" >&6
9503 echo "$as_me:$LINENO: result: no" >&5
9504 echo "${ECHO_T}no" >&6
9509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9510 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9512 # Check whether --enable-pnm or --disable-pnm was given.
9513 if test "${enable_pnm+set}" = set; then
9514 enableval="$enable_pnm"
9516 if test "$enableval" = yes; then
9517 ac_cv_use_pnm='wxUSE_PNM
=yes'
9519 ac_cv_use_pnm='wxUSE_PNM
=no
'
9524 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9525 if test "x$LINE" != x ; then
9526 eval "DEFAULT_$LINE"
9531 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9535 eval "$ac_cv_use_pnm"
9536 if test "$no_cache" != 1; then
9537 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9540 if test "$wxUSE_PNM" = yes; then
9541 echo "$as_me:$LINENO: result: yes" >&5
9542 echo "${ECHO_T}yes" >&6
9544 echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6
9550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9551 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9553 # Check whether --enable-xpm or --disable-xpm was given.
9554 if test "${enable_xpm+set}" = set; then
9555 enableval="$enable_xpm"
9557 if test "$enableval" = yes; then
9558 ac_cv_use_xpm='wxUSE_XPM
=yes'
9560 ac_cv_use_xpm='wxUSE_XPM
=no
'
9565 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9566 if test "x$LINE" != x ; then
9567 eval "DEFAULT_$LINE"
9572 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9576 eval "$ac_cv_use_xpm"
9577 if test "$no_cache" != 1; then
9578 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9581 if test "$wxUSE_XPM" = yes; then
9582 echo "$as_me:$LINENO: result: yes" >&5
9583 echo "${ECHO_T}yes" >&6
9585 echo "$as_me:$LINENO: result: no" >&5
9586 echo "${ECHO_T}no" >&6
9591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9592 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9594 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9595 if test "${enable_ico_cur+set}" = set; then
9596 enableval="$enable_ico_cur"
9598 if test "$enableval" = yes; then
9599 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9601 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9606 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9607 if test "x$LINE" != x ; then
9608 eval "DEFAULT_$LINE"
9613 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9617 eval "$ac_cv_use_ico_cur"
9618 if test "$no_cache" != 1; then
9619 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9622 if test "$wxUSE_ICO_CUR" = yes; then
9623 echo "$as_me:$LINENO: result: yes" >&5
9624 echo "${ECHO_T}yes" >&6
9626 echo "$as_me:$LINENO: result: no" >&5
9627 echo "${ECHO_T}no" >&6
9636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9637 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9639 # Check whether --enable-official_build or --disable-official_build was given.
9640 if test "${enable_official_build+set}" = set; then
9641 enableval="$enable_official_build"
9643 if test "$enableval" = yes; then
9644 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
9646 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
9651 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9652 if test "x$LINE" != x ; then
9653 eval "DEFAULT_$LINE"
9658 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
9662 eval "$ac_cv_use_official_build"
9663 if test "$no_cache" != 1; then
9664 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9667 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9668 echo "$as_me:$LINENO: result: yes" >&5
9669 echo "${ECHO_T}yes" >&6
9671 echo "$as_me:$LINENO: result: no" >&5
9672 echo "${ECHO_T}no" >&6
9675 # Check whether --enable-vendor or --disable-vendor was given.
9676 if test "${enable_vendor+set}" = set; then
9677 enableval="$enable_vendor"
9680 if test "x$VENDOR" = "x"; then
9685 *-pc-os2_emx | *-pc-os2-emx )
9695 echo "saving argument cache $wx_arg_cache_file"
9696 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9700 echo "$as_me:$LINENO: checking for toolkit" >&5
9701 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9703 # In Wine, we need to default to MSW, not GTK or MOTIF
9704 if test "$wxUSE_WINE" = "yes"; then
9705 DEFAULT_DEFAULT_wxUSE_GTK=0
9706 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9707 DEFAULT_DEFAULT_wxUSE_MSW=1
9711 if test "$wxUSE_GUI" = "yes"; then
9713 if test "$USE_BEOS" = 1; then
9714 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9715 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9716 { (exit 1); exit 1; }; }
9719 if test "$TOOLKIT_GIVEN" = 1; then
9720 for toolkit in `echo $ALL_TOOLKITS`; do
9722 eval "value=\$${var}"
9723 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9726 for toolkit in `echo $ALL_TOOLKITS`; do
9727 if test "$has_toolkit_in_cache" != 1; then
9728 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9730 var=DEFAULT_wxUSE_$toolkit
9732 eval "wxUSE_$toolkit=\$${var}"
9736 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9737 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9738 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9741 *-pc-os2_emx | *-pc-os2-emx )
9742 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9745 case "$NUM_TOOLKITS" in
9749 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9750 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9751 { (exit 1); exit 1; }; }
9754 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9755 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9756 { (exit 1); exit 1; }; }
9759 for toolkit in `echo $ALL_TOOLKITS`; do
9761 eval "value=\$${var}"
9762 if test "x$value" != x; then
9763 cache_var=CACHE_$toolkit
9764 eval "cache=\$${cache_var}"
9765 if test "$cache" = 1; then
9766 echo "$var=$value" >> ${wx_arg_cache_file}
9768 if test "$value" = 1; then
9769 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9770 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9771 echo "${ECHO_T}$toolkit_echo" >&6
9776 if test "x$host_alias" != "x"; then
9777 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9778 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9780 echo "$as_me:$LINENO: result: base only" >&5
9781 echo "${ECHO_T}base only" >&6
9789 if test "$wxUSE_MSW" = 1 ; then
9800 if test "$wxUSE_WINE" = "yes"; then
9805 LDFLAGS_GUI="-mwindows"
9808 if test "$wants_win32" = 1 ; then
9811 cat >>confdefs.h <<\_ACEOF
9815 cat >>confdefs.h <<\_ACEOF
9819 cat >>confdefs.h <<\_ACEOF
9820 #define __WINDOWS__ 1
9823 cat >>confdefs.h <<\_ACEOF
9824 #define __GNUWIN32__ 1
9827 cat >>confdefs.h <<\_ACEOF
9831 cat >>confdefs.h <<\_ACEOF
9832 #define WINVER 0x0400
9836 if test "$doesnt_want_win32" = 1 ; then
9841 if test "$USE_UNIX" = 1 ; then
9843 cat >>confdefs.h <<\_ACEOF
9850 cat >confcache <<\_ACEOF
9851 # This file is a shell script that caches the results of configure
9852 # tests run on this system so they can be shared between configure
9853 # scripts and configure runs, see configure's option
--config-cache.
9854 # It is not useful on other systems. If it contains results you don't
9855 # want to keep, you may remove or edit it.
9857 # config.status only pays attention to the cache file if you give it
9858 # the --recheck option to rerun configure.
9860 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9861 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9866 # The following way of writing the cache mishandles newlines in values,
9867 # but we know of no workaround that is simple, portable, and efficient.
9868 # So, don't put newlines in cache variables' values.
9869 # Ultrix sh set writes to stderr and can't be redirected directly,
9870 # and sets the high bit in the cache file unless we assign to the vars.
9873 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9875 # `set' does not quote correctly, so add quotes (double-quote
9876 # substitution turns \\\\ into \\, and sed turns \\ into \).
9879 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9882 # `set' quotes correctly as required by POSIX, so do not add quotes.
9884 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9891 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9893 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9895 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9896 if test -w $cache_file; then
9897 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9898 cat confcache
>$cache_file
9900 echo "not updating unwritable cache $cache_file"
9905 if test "$build" != "$host" ; then
9906 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9910 RANLIB
=$host_alias-ranlib
9911 DLLTOOL
=$host_alias-dlltool
9912 RESCOMP
=$host_alias-windres
9915 STRIP
=$host_alias-strip
9917 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9918 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9919 { (exit 1); exit 1; }; }
9925 ac_cpp
='$CPP $CPPFLAGS'
9926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9929 if test -n "$ac_tool_prefix"; then
9930 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9931 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9932 echo "$as_me:$LINENO: checking for $ac_word" >&5
9933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9934 if test "${ac_cv_prog_CC+set}" = set; then
9935 echo $ECHO_N "(cached) $ECHO_C" >&6
9937 if test -n "$CC"; then
9938 ac_cv_prog_CC
="$CC" # Let the user override the test.
9940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9944 test -z "$as_dir" && as_dir
=.
9945 for ac_exec_ext
in '' $ac_executable_extensions; do
9946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9947 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9957 if test -n "$CC"; then
9958 echo "$as_me:$LINENO: result: $CC" >&5
9959 echo "${ECHO_T}$CC" >&6
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9966 if test -z "$ac_cv_prog_CC"; then
9968 # Extract the first word of "gcc", so it can be a program name with args.
9969 set dummy gcc
; ac_word
=$2
9970 echo "$as_me:$LINENO: checking for $ac_word" >&5
9971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9972 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9973 echo $ECHO_N "(cached) $ECHO_C" >&6
9975 if test -n "$ac_ct_CC"; then
9976 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9982 test -z "$as_dir" && as_dir
=.
9983 for ac_exec_ext
in '' $ac_executable_extensions; do
9984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9985 ac_cv_prog_ac_ct_CC
="gcc"
9986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9994 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9995 if test -n "$ac_ct_CC"; then
9996 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9997 echo "${ECHO_T}$ac_ct_CC" >&6
9999 echo "$as_me:$LINENO: result: no" >&5
10000 echo "${ECHO_T}no" >&6
10005 CC
="$ac_cv_prog_CC"
10008 if test -z "$CC"; then
10009 if test -n "$ac_tool_prefix"; then
10010 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10011 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10012 echo "$as_me:$LINENO: checking for $ac_word" >&5
10013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10014 if test "${ac_cv_prog_CC+set}" = set; then
10015 echo $ECHO_N "(cached) $ECHO_C" >&6
10017 if test -n "$CC"; then
10018 ac_cv_prog_CC
="$CC" # Let the user override the test.
10020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10021 for as_dir
in $PATH
10024 test -z "$as_dir" && as_dir
=.
10025 for ac_exec_ext
in '' $ac_executable_extensions; do
10026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10027 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10037 if test -n "$CC"; then
10038 echo "$as_me:$LINENO: result: $CC" >&5
10039 echo "${ECHO_T}$CC" >&6
10041 echo "$as_me:$LINENO: result: no" >&5
10042 echo "${ECHO_T}no" >&6
10046 if test -z "$ac_cv_prog_CC"; then
10048 # Extract the first word of "cc", so it can be a program name with args.
10049 set dummy cc
; ac_word
=$2
10050 echo "$as_me:$LINENO: checking for $ac_word" >&5
10051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10052 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10053 echo $ECHO_N "(cached) $ECHO_C" >&6
10055 if test -n "$ac_ct_CC"; then
10056 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10059 for as_dir
in $PATH
10062 test -z "$as_dir" && as_dir
=.
10063 for ac_exec_ext
in '' $ac_executable_extensions; do
10064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10065 ac_cv_prog_ac_ct_CC
="cc"
10066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10074 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10075 if test -n "$ac_ct_CC"; then
10076 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10077 echo "${ECHO_T}$ac_ct_CC" >&6
10079 echo "$as_me:$LINENO: result: no" >&5
10080 echo "${ECHO_T}no" >&6
10085 CC
="$ac_cv_prog_CC"
10089 if test -z "$CC"; then
10090 # Extract the first word of "cc", so it can be a program name with args.
10091 set dummy cc
; ac_word
=$2
10092 echo "$as_me:$LINENO: checking for $ac_word" >&5
10093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10094 if test "${ac_cv_prog_CC+set}" = set; then
10095 echo $ECHO_N "(cached) $ECHO_C" >&6
10097 if test -n "$CC"; then
10098 ac_cv_prog_CC
="$CC" # Let the user override the test.
10100 ac_prog_rejected
=no
10101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10102 for as_dir
in $PATH
10105 test -z "$as_dir" && as_dir
=.
10106 for ac_exec_ext
in '' $ac_executable_extensions; do
10107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10108 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10109 ac_prog_rejected
=yes
10113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10119 if test $ac_prog_rejected = yes; then
10120 # We found a bogon in the path, so make sure we never use it.
10121 set dummy
$ac_cv_prog_CC
10123 if test $# != 0; then
10124 # We chose a different compiler from the bogus one.
10125 # However, it has the same basename, so the bogon will be chosen
10126 # first if we set CC to just the basename; use the full file name.
10128 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10134 if test -n "$CC"; then
10135 echo "$as_me:$LINENO: result: $CC" >&5
10136 echo "${ECHO_T}$CC" >&6
10138 echo "$as_me:$LINENO: result: no" >&5
10139 echo "${ECHO_T}no" >&6
10143 if test -z "$CC"; then
10144 if test -n "$ac_tool_prefix"; then
10147 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10148 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10149 echo "$as_me:$LINENO: checking for $ac_word" >&5
10150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10151 if test "${ac_cv_prog_CC+set}" = set; then
10152 echo $ECHO_N "(cached) $ECHO_C" >&6
10154 if test -n "$CC"; then
10155 ac_cv_prog_CC
="$CC" # Let the user override the test.
10157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10158 for as_dir
in $PATH
10161 test -z "$as_dir" && as_dir
=.
10162 for ac_exec_ext
in '' $ac_executable_extensions; do
10163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10164 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10174 if test -n "$CC"; then
10175 echo "$as_me:$LINENO: result: $CC" >&5
10176 echo "${ECHO_T}$CC" >&6
10178 echo "$as_me:$LINENO: result: no" >&5
10179 echo "${ECHO_T}no" >&6
10182 test -n "$CC" && break
10185 if test -z "$CC"; then
10189 # Extract the first word of "$ac_prog", so it can be a program name with args.
10190 set dummy
$ac_prog; ac_word
=$2
10191 echo "$as_me:$LINENO: checking for $ac_word" >&5
10192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10193 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10194 echo $ECHO_N "(cached) $ECHO_C" >&6
10196 if test -n "$ac_ct_CC"; then
10197 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10200 for as_dir
in $PATH
10203 test -z "$as_dir" && as_dir
=.
10204 for ac_exec_ext
in '' $ac_executable_extensions; do
10205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10206 ac_cv_prog_ac_ct_CC
="$ac_prog"
10207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10215 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10216 if test -n "$ac_ct_CC"; then
10217 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10218 echo "${ECHO_T}$ac_ct_CC" >&6
10220 echo "$as_me:$LINENO: result: no" >&5
10221 echo "${ECHO_T}no" >&6
10224 test -n "$ac_ct_CC" && break
10233 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10234 See \`config.log' for more details." >&5
10235 echo "$as_me: error: no acceptable C compiler found in \$PATH
10236 See \`config.log' for more details." >&2;}
10237 { (exit 1); exit 1; }; }
10239 # Provide some information about the compiler.
10240 echo "$as_me:$LINENO:" \
10241 "checking for C compiler version" >&5
10242 ac_compiler
=`set X $ac_compile; echo $2`
10243 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10244 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10247 (exit $ac_status); }
10248 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10249 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); }
10253 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10254 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257 (exit $ac_status); }
10259 cat >conftest.
$ac_ext <<_ACEOF
10260 #line $LINENO "configure"
10263 cat confdefs.h
>>conftest.
$ac_ext
10264 cat >>conftest.
$ac_ext <<_ACEOF
10265 /* end confdefs.h. */
10275 ac_clean_files_save
=$ac_clean_files
10276 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10277 # Try to create an executable without -o first, disregard a.out.
10278 # It will help us diagnose broken compilers, and finding out an intuition
10280 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10281 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10282 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10283 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10284 (eval $ac_link_default) 2>&5
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287 (exit $ac_status); }; then
10288 # Find the output, starting from the most likely. This scheme is
10289 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10292 # Be careful to initialize this variable, since it used to be cached.
10293 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10295 # b.out is created by i960 compilers.
10296 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10298 test -f "$ac_file" || continue
10300 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10303 # This is the source file.
10306 # We found the default executable, but exeext='' is most
10310 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10311 # FIXME: I believe we export ac_cv_exeext for Libtool,
10312 # but it would be cool to find out if it's true. Does anybody
10313 # maintain Libtool? --akim.
10314 export ac_cv_exeext
10321 echo "$as_me: failed program was:" >&5
10322 sed 's/^/| /' conftest.
$ac_ext >&5
10324 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10325 See \`config.log' for more details." >&5
10326 echo "$as_me: error: C compiler cannot create executables
10327 See \`config.log' for more details." >&2;}
10328 { (exit 77); exit 77; }; }
10331 ac_exeext
=$ac_cv_exeext
10332 echo "$as_me:$LINENO: result: $ac_file" >&5
10333 echo "${ECHO_T}$ac_file" >&6
10335 # Check the compiler produces executables we can run. If not, either
10336 # the compiler is broken, or we cross compile.
10337 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10338 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10339 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10340 # If not cross compiling, check that we can run a simple program.
10341 if test "$cross_compiling" != yes; then
10342 if { ac_try
='./$ac_file'
10343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10344 (eval $ac_try) 2>&5
10346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347 (exit $ac_status); }; }; then
10350 if test "$cross_compiling" = maybe
; then
10351 cross_compiling
=yes
10353 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10354 If you meant to cross compile, use \`--host'.
10355 See \`config.log' for more details." >&5
10356 echo "$as_me: error: cannot run C compiled programs.
10357 If you meant to cross compile, use \`--host'.
10358 See \`config.log' for more details." >&2;}
10359 { (exit 1); exit 1; }; }
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10366 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10367 ac_clean_files
=$ac_clean_files_save
10368 # Check the compiler produces executables we can run. If not, either
10369 # the compiler is broken, or we cross compile.
10370 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10371 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10372 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10373 echo "${ECHO_T}$cross_compiling" >&6
10375 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10376 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10378 (eval $ac_link) 2>&5
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); }; then
10382 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10383 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10384 # work properly (i.e., refer to `conftest.exe'), while it won't with
10386 for ac_file
in conftest.exe conftest conftest.
*; do
10387 test -f "$ac_file" || continue
10389 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10390 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10391 export ac_cv_exeext
10397 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10398 See \`config.log' for more details." >&5
10399 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10400 See \`config.log' for more details." >&2;}
10401 { (exit 1); exit 1; }; }
10404 rm -f conftest
$ac_cv_exeext
10405 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10406 echo "${ECHO_T}$ac_cv_exeext" >&6
10408 rm -f conftest.
$ac_ext
10409 EXEEXT
=$ac_cv_exeext
10411 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10412 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10413 if test "${ac_cv_objext+set}" = set; then
10414 echo $ECHO_N "(cached) $ECHO_C" >&6
10416 cat >conftest.
$ac_ext <<_ACEOF
10417 #line $LINENO "configure"
10420 cat confdefs.h
>>conftest.
$ac_ext
10421 cat >>conftest.
$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10432 rm -f conftest.o conftest.obj
10433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10434 (eval $ac_compile) 2>&5
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); }; then
10438 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10440 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10441 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10446 echo "$as_me: failed program was:" >&5
10447 sed 's/^/| /' conftest.
$ac_ext >&5
10449 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10450 See \`config.log' for more details." >&5
10451 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10452 See \`config.log' for more details." >&2;}
10453 { (exit 1); exit 1; }; }
10456 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10458 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10459 echo "${ECHO_T}$ac_cv_objext" >&6
10460 OBJEXT
=$ac_cv_objext
10462 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10463 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10464 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10465 echo $ECHO_N "(cached) $ECHO_C" >&6
10467 cat >conftest.
$ac_ext <<_ACEOF
10468 #line $LINENO "configure"
10471 cat confdefs.h
>>conftest.
$ac_ext
10472 cat >>conftest.
$ac_ext <<_ACEOF
10473 /* end confdefs.h. */
10486 rm -f conftest.
$ac_objext
10487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10488 (eval $ac_compile) 2>&5
10490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); } &&
10492 { ac_try
='test -s conftest.$ac_objext'
10493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10494 (eval $ac_try) 2>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); }; }; then
10498 ac_compiler_gnu
=yes
10500 echo "$as_me: failed program was:" >&5
10501 sed 's/^/| /' conftest.
$ac_ext >&5
10505 rm -f conftest.
$ac_objext conftest.
$ac_ext
10506 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10509 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10510 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10511 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10512 ac_test_CFLAGS
=${CFLAGS+set}
10513 ac_save_CFLAGS
=$CFLAGS
10515 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10516 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10517 if test "${ac_cv_prog_cc_g+set}" = set; then
10518 echo $ECHO_N "(cached) $ECHO_C" >&6
10520 cat >conftest.
$ac_ext <<_ACEOF
10521 #line $LINENO "configure"
10524 cat confdefs.h
>>conftest.
$ac_ext
10525 cat >>conftest.
$ac_ext <<_ACEOF
10526 /* end confdefs.h. */
10536 rm -f conftest.
$ac_objext
10537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10538 (eval $ac_compile) 2>&5
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); } &&
10542 { ac_try
='test -s conftest.$ac_objext'
10543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10544 (eval $ac_try) 2>&5
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); }; }; then
10548 ac_cv_prog_cc_g
=yes
10550 echo "$as_me: failed program was:" >&5
10551 sed 's/^/| /' conftest.
$ac_ext >&5
10555 rm -f conftest.
$ac_objext conftest.
$ac_ext
10557 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10558 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10559 if test "$ac_test_CFLAGS" = set; then
10560 CFLAGS
=$ac_save_CFLAGS
10561 elif test $ac_cv_prog_cc_g = yes; then
10562 if test "$GCC" = yes; then
10568 if test "$GCC" = yes; then
10574 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10575 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10576 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10577 echo $ECHO_N "(cached) $ECHO_C" >&6
10579 ac_cv_prog_cc_stdc
=no
10581 cat >conftest.
$ac_ext <<_ACEOF
10582 #line $LINENO "configure"
10585 cat confdefs.h
>>conftest.
$ac_ext
10586 cat >>conftest.
$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10588 #include <stdarg.h>
10590 #include <sys/types.h>
10591 #include <sys/stat.h>
10592 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10593 struct buf { int x; };
10594 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10595 static char *e (p, i)
10601 static char *f (char * (*g) (char **, int), char **p, ...)
10606 s = g (p, va_arg (v,int));
10610 int test (int i, double x);
10611 struct s1 {int (*f) (int a);};
10612 struct s2 {int (*f) (double a);};
10613 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10619 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10624 # Don't try gcc -ansi; that turns off useful extensions and
10625 # breaks some systems' header files.
10626 # AIX -qlanglvl=ansi
10627 # Ultrix and OSF/1 -std1
10628 # HP-UX 10.20 and later -Ae
10629 # HP-UX older versions -Aa -D_HPUX_SOURCE
10630 # SVR4 -Xc -D__EXTENSIONS__
10631 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10633 CC
="$ac_save_CC $ac_arg"
10634 rm -f conftest.
$ac_objext
10635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10636 (eval $ac_compile) 2>&5
10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); } &&
10640 { ac_try
='test -s conftest.$ac_objext'
10641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10642 (eval $ac_try) 2>&5
10644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645 (exit $ac_status); }; }; then
10646 ac_cv_prog_cc_stdc
=$ac_arg
10649 echo "$as_me: failed program was:" >&5
10650 sed 's/^/| /' conftest.
$ac_ext >&5
10653 rm -f conftest.
$ac_objext
10655 rm -f conftest.
$ac_ext conftest.
$ac_objext
10660 case "x$ac_cv_prog_cc_stdc" in
10662 echo "$as_me:$LINENO: result: none needed" >&5
10663 echo "${ECHO_T}none needed" >&6 ;;
10665 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10666 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10667 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10670 # Some people use a C++ compiler to compile C. Since we use `exit',
10671 # in C++ we need to declare it. In case someone uses the same compiler
10672 # for both compiling C and C++ we need to have the C++ compiler decide
10673 # the declaration of exit, since it's the most demanding environment.
10674 cat >conftest.
$ac_ext <<_ACEOF
10675 #ifndef __cplusplus
10679 rm -f conftest.
$ac_objext
10680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10681 (eval $ac_compile) 2>&5
10683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); } &&
10685 { ac_try
='test -s conftest.$ac_objext'
10686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10687 (eval $ac_try) 2>&5
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); }; }; then
10691 for ac_declaration
in \
10693 '#include <stdlib.h>' \
10694 'extern "C" void std::exit (int) throw (); using std::exit;' \
10695 'extern "C" void std::exit (int); using std::exit;' \
10696 'extern "C" void exit (int) throw ();' \
10697 'extern "C" void exit (int);' \
10700 cat >conftest.
$ac_ext <<_ACEOF
10701 #line $LINENO "configure"
10704 cat confdefs.h
>>conftest.
$ac_ext
10705 cat >>conftest.
$ac_ext <<_ACEOF
10706 /* end confdefs.h. */
10707 #include <stdlib.h>
10717 rm -f conftest.
$ac_objext
10718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10719 (eval $ac_compile) 2>&5
10721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10722 (exit $ac_status); } &&
10723 { ac_try
='test -s conftest.$ac_objext'
10724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10725 (eval $ac_try) 2>&5
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); }; }; then
10731 echo "$as_me: failed program was:" >&5
10732 sed 's/^/| /' conftest.
$ac_ext >&5
10736 rm -f conftest.
$ac_objext conftest.
$ac_ext
10737 cat >conftest.
$ac_ext <<_ACEOF
10738 #line $LINENO "configure"
10741 cat confdefs.h
>>conftest.
$ac_ext
10742 cat >>conftest.
$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10753 rm -f conftest.
$ac_objext
10754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10755 (eval $ac_compile) 2>&5
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); } &&
10759 { ac_try
='test -s conftest.$ac_objext'
10760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10761 (eval $ac_try) 2>&5
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); }; }; then
10767 echo "$as_me: failed program was:" >&5
10768 sed 's/^/| /' conftest.
$ac_ext >&5
10771 rm -f conftest.
$ac_objext conftest.
$ac_ext
10774 if test -n "$ac_declaration"; then
10775 echo '#ifdef __cplusplus' >>confdefs.h
10776 echo $ac_declaration >>confdefs.h
10777 echo '#endif' >>confdefs.h
10781 echo "$as_me: failed program was:" >&5
10782 sed 's/^/| /' conftest.
$ac_ext >&5
10785 rm -f conftest.
$ac_objext conftest.
$ac_ext
10787 ac_cpp
='$CPP $CPPFLAGS'
10788 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10789 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10790 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10795 ac_cpp
='$CPP $CPPFLAGS'
10796 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10797 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10798 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10799 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10800 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10801 # On Suns, sometimes $CPP names a directory.
10802 if test -n "$CPP" && test -d "$CPP"; then
10805 if test -z "$CPP"; then
10806 if test "${ac_cv_prog_CPP+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10809 # Double quotes because CPP needs to be expanded
10810 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10812 ac_preproc_ok
=false
10813 for ac_c_preproc_warn_flag
in '' yes
10815 # Use a header file that comes with gcc, so configuring glibc
10816 # with a fresh cross-compiler works.
10817 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10818 # <limits.h> exists even on freestanding compilers.
10819 # On the NeXT, cc -E runs the code through the compiler's parser,
10820 # not just through cpp. "Syntax error" is here to catch this case.
10821 cat >conftest.
$ac_ext <<_ACEOF
10822 #line $LINENO "configure"
10825 cat confdefs.h
>>conftest.
$ac_ext
10826 cat >>conftest.
$ac_ext <<_ACEOF
10827 /* end confdefs.h. */
10829 # include <limits.h>
10831 # include <assert.h>
10835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10836 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10838 grep -v '^ *+' conftest.er1
>conftest.err
10840 cat conftest.err
>&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } >/dev
/null
; then
10843 if test -s conftest.err
; then
10844 ac_cpp_err
=$ac_c_preproc_warn_flag
10851 if test -z "$ac_cpp_err"; then
10854 echo "$as_me: failed program was:" >&5
10855 sed 's/^/| /' conftest.
$ac_ext >&5
10857 # Broken: fails on valid input.
10860 rm -f conftest.err conftest.
$ac_ext
10862 # OK, works on sane cases. Now check whether non-existent headers
10863 # can be detected and how.
10864 cat >conftest.
$ac_ext <<_ACEOF
10865 #line $LINENO "configure"
10868 cat confdefs.h
>>conftest.
$ac_ext
10869 cat >>conftest.
$ac_ext <<_ACEOF
10870 /* end confdefs.h. */
10871 #include <ac_nonexistent.h>
10873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10874 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10876 grep -v '^ *+' conftest.er1
>conftest.err
10878 cat conftest.err
>&5
10879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); } >/dev
/null
; then
10881 if test -s conftest.err
; then
10882 ac_cpp_err
=$ac_c_preproc_warn_flag
10889 if test -z "$ac_cpp_err"; then
10890 # Broken: success on invalid input.
10893 echo "$as_me: failed program was:" >&5
10894 sed 's/^/| /' conftest.
$ac_ext >&5
10896 # Passes both tests.
10900 rm -f conftest.err conftest.
$ac_ext
10903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10904 rm -f conftest.err conftest.
$ac_ext
10905 if $ac_preproc_ok; then
10910 ac_cv_prog_CPP
=$CPP
10913 CPP
=$ac_cv_prog_CPP
10915 ac_cv_prog_CPP
=$CPP
10917 echo "$as_me:$LINENO: result: $CPP" >&5
10918 echo "${ECHO_T}$CPP" >&6
10919 ac_preproc_ok
=false
10920 for ac_c_preproc_warn_flag
in '' yes
10922 # Use a header file that comes with gcc, so configuring glibc
10923 # with a fresh cross-compiler works.
10924 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10925 # <limits.h> exists even on freestanding compilers.
10926 # On the NeXT, cc -E runs the code through the compiler's parser,
10927 # not just through cpp. "Syntax error" is here to catch this case.
10928 cat >conftest.
$ac_ext <<_ACEOF
10929 #line $LINENO "configure"
10932 cat confdefs.h
>>conftest.
$ac_ext
10933 cat >>conftest.
$ac_ext <<_ACEOF
10934 /* end confdefs.h. */
10936 # include <limits.h>
10938 # include <assert.h>
10942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10943 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10945 grep -v '^ *+' conftest.er1
>conftest.err
10947 cat conftest.err
>&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); } >/dev
/null
; then
10950 if test -s conftest.err
; then
10951 ac_cpp_err
=$ac_c_preproc_warn_flag
10958 if test -z "$ac_cpp_err"; then
10961 echo "$as_me: failed program was:" >&5
10962 sed 's/^/| /' conftest.
$ac_ext >&5
10964 # Broken: fails on valid input.
10967 rm -f conftest.err conftest.
$ac_ext
10969 # OK, works on sane cases. Now check whether non-existent headers
10970 # can be detected and how.
10971 cat >conftest.
$ac_ext <<_ACEOF
10972 #line $LINENO "configure"
10975 cat confdefs.h
>>conftest.
$ac_ext
10976 cat >>conftest.
$ac_ext <<_ACEOF
10977 /* end confdefs.h. */
10978 #include <ac_nonexistent.h>
10980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10981 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10983 grep -v '^ *+' conftest.er1
>conftest.err
10985 cat conftest.err
>&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); } >/dev
/null
; then
10988 if test -s conftest.err
; then
10989 ac_cpp_err
=$ac_c_preproc_warn_flag
10996 if test -z "$ac_cpp_err"; then
10997 # Broken: success on invalid input.
11000 echo "$as_me: failed program was:" >&5
11001 sed 's/^/| /' conftest.
$ac_ext >&5
11003 # Passes both tests.
11007 rm -f conftest.err conftest.
$ac_ext
11010 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11011 rm -f conftest.err conftest.
$ac_ext
11012 if $ac_preproc_ok; then
11015 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11016 See \`config.log' for more details." >&5
11017 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11018 See \`config.log' for more details." >&2;}
11019 { (exit 1); exit 1; }; }
11023 ac_cpp
='$CPP $CPPFLAGS'
11024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11029 echo "$as_me:$LINENO: checking for egrep" >&5
11030 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11031 if test "${ac_cv_prog_egrep+set}" = set; then
11032 echo $ECHO_N "(cached) $ECHO_C" >&6
11034 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
11035 then ac_cv_prog_egrep
='grep -E'
11036 else ac_cv_prog_egrep
='egrep'
11039 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11040 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11041 EGREP
=$ac_cv_prog_egrep
11044 if test $ac_cv_c_compiler_gnu = yes; then
11045 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11046 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11047 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11050 ac_pattern
="Autoconf.*'x'"
11051 cat >conftest.
$ac_ext <<_ACEOF
11052 #line $LINENO "configure"
11055 cat confdefs.h
>>conftest.
$ac_ext
11056 cat >>conftest.
$ac_ext <<_ACEOF
11057 /* end confdefs.h. */
11061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11062 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11063 ac_cv_prog_gcc_traditional
=yes
11065 ac_cv_prog_gcc_traditional
=no
11070 if test $ac_cv_prog_gcc_traditional = no
; then
11071 cat >conftest.
$ac_ext <<_ACEOF
11072 #line $LINENO "configure"
11075 cat confdefs.h
>>conftest.
$ac_ext
11076 cat >>conftest.
$ac_ext <<_ACEOF
11077 /* end confdefs.h. */
11078 #include <termio.h>
11081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11082 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11083 ac_cv_prog_gcc_traditional
=yes
11089 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11090 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11091 if test $ac_cv_prog_gcc_traditional = yes; then
11092 CC
="$CC -traditional"
11100 ac_cpp
='$CXXCPP $CPPFLAGS'
11101 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11102 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11103 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11106 CXXFLAGS
=${CXXFLAGS:=}
11108 ac_cpp
='$CXXCPP $CPPFLAGS'
11109 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11110 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11111 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11112 if test -n "$ac_tool_prefix"; then
11113 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11115 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11116 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11117 echo "$as_me:$LINENO: checking for $ac_word" >&5
11118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11119 if test "${ac_cv_prog_CXX+set}" = set; then
11120 echo $ECHO_N "(cached) $ECHO_C" >&6
11122 if test -n "$CXX"; then
11123 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11126 for as_dir
in $PATH
11129 test -z "$as_dir" && as_dir
=.
11130 for ac_exec_ext
in '' $ac_executable_extensions; do
11131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11132 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11141 CXX
=$ac_cv_prog_CXX
11142 if test -n "$CXX"; then
11143 echo "$as_me:$LINENO: result: $CXX" >&5
11144 echo "${ECHO_T}$CXX" >&6
11146 echo "$as_me:$LINENO: result: no" >&5
11147 echo "${ECHO_T}no" >&6
11150 test -n "$CXX" && break
11153 if test -z "$CXX"; then
11155 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11157 # Extract the first word of "$ac_prog", so it can be a program name with args.
11158 set dummy
$ac_prog; ac_word
=$2
11159 echo "$as_me:$LINENO: checking for $ac_word" >&5
11160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11161 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11162 echo $ECHO_N "(cached) $ECHO_C" >&6
11164 if test -n "$ac_ct_CXX"; then
11165 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11168 for as_dir
in $PATH
11171 test -z "$as_dir" && as_dir
=.
11172 for ac_exec_ext
in '' $ac_executable_extensions; do
11173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11174 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11183 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11184 if test -n "$ac_ct_CXX"; then
11185 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11186 echo "${ECHO_T}$ac_ct_CXX" >&6
11188 echo "$as_me:$LINENO: result: no" >&5
11189 echo "${ECHO_T}no" >&6
11192 test -n "$ac_ct_CXX" && break
11194 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11200 # Provide some information about the compiler.
11201 echo "$as_me:$LINENO:" \
11202 "checking for C++ compiler version" >&5
11203 ac_compiler
=`set X $ac_compile; echo $2`
11204 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11205 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11208 (exit $ac_status); }
11209 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11210 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); }
11214 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11215 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218 (exit $ac_status); }
11220 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11221 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11222 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11225 cat >conftest.
$ac_ext <<_ACEOF
11226 #line $LINENO "configure"
11229 cat confdefs.h
>>conftest.
$ac_ext
11230 cat >>conftest.
$ac_ext <<_ACEOF
11231 /* end confdefs.h. */
11244 rm -f conftest.
$ac_objext
11245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11246 (eval $ac_compile) 2>&5
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); } &&
11250 { ac_try
='test -s conftest.$ac_objext'
11251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11252 (eval $ac_try) 2>&5
11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11255 (exit $ac_status); }; }; then
11256 ac_compiler_gnu
=yes
11258 echo "$as_me: failed program was:" >&5
11259 sed 's/^/| /' conftest.
$ac_ext >&5
11263 rm -f conftest.
$ac_objext conftest.
$ac_ext
11264 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11267 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11268 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11269 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11270 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11271 ac_save_CXXFLAGS
=$CXXFLAGS
11273 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11274 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11275 if test "${ac_cv_prog_cxx_g+set}" = set; then
11276 echo $ECHO_N "(cached) $ECHO_C" >&6
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. */
11294 rm -f conftest.
$ac_objext
11295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11296 (eval $ac_compile) 2>&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); } &&
11300 { ac_try
='test -s conftest.$ac_objext'
11301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11302 (eval $ac_try) 2>&5
11304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11305 (exit $ac_status); }; }; then
11306 ac_cv_prog_cxx_g
=yes
11308 echo "$as_me: failed program was:" >&5
11309 sed 's/^/| /' conftest.
$ac_ext >&5
11311 ac_cv_prog_cxx_g
=no
11313 rm -f conftest.
$ac_objext conftest.
$ac_ext
11315 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11316 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11317 if test "$ac_test_CXXFLAGS" = set; then
11318 CXXFLAGS
=$ac_save_CXXFLAGS
11319 elif test $ac_cv_prog_cxx_g = yes; then
11320 if test "$GXX" = yes; then
11326 if test "$GXX" = yes; then
11332 for ac_declaration
in \
11334 '#include <stdlib.h>' \
11335 'extern "C" void std::exit (int) throw (); using std::exit;' \
11336 'extern "C" void std::exit (int); using std::exit;' \
11337 'extern "C" void exit (int) throw ();' \
11338 'extern "C" void exit (int);' \
11341 cat >conftest.
$ac_ext <<_ACEOF
11342 #line $LINENO "configure"
11345 cat confdefs.h
>>conftest.
$ac_ext
11346 cat >>conftest.
$ac_ext <<_ACEOF
11347 /* end confdefs.h. */
11348 #include <stdlib.h>
11358 rm -f conftest.
$ac_objext
11359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11360 (eval $ac_compile) 2>&5
11362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11363 (exit $ac_status); } &&
11364 { ac_try
='test -s conftest.$ac_objext'
11365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11366 (eval $ac_try) 2>&5
11368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11369 (exit $ac_status); }; }; then
11372 echo "$as_me: failed program was:" >&5
11373 sed 's/^/| /' conftest.
$ac_ext >&5
11377 rm -f conftest.
$ac_objext conftest.
$ac_ext
11378 cat >conftest.
$ac_ext <<_ACEOF
11379 #line $LINENO "configure"
11382 cat confdefs.h
>>conftest.
$ac_ext
11383 cat >>conftest.
$ac_ext <<_ACEOF
11384 /* end confdefs.h. */
11394 rm -f conftest.
$ac_objext
11395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11396 (eval $ac_compile) 2>&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); } &&
11400 { ac_try
='test -s conftest.$ac_objext'
11401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11402 (eval $ac_try) 2>&5
11404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405 (exit $ac_status); }; }; then
11408 echo "$as_me: failed program was:" >&5
11409 sed 's/^/| /' conftest.
$ac_ext >&5
11412 rm -f conftest.
$ac_objext conftest.
$ac_ext
11415 if test -n "$ac_declaration"; then
11416 echo '#ifdef __cplusplus' >>confdefs.h
11417 echo $ac_declaration >>confdefs.h
11418 echo '#endif' >>confdefs.h
11422 ac_cpp
='$CXXCPP $CPPFLAGS'
11423 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11424 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11425 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11429 ac_cpp
='$CPP $CPPFLAGS'
11430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11435 if test -n "$ac_tool_prefix"; then
11436 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11437 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11438 echo "$as_me:$LINENO: checking for $ac_word" >&5
11439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11440 if test "${ac_cv_prog_RANLIB+set}" = set; then
11441 echo $ECHO_N "(cached) $ECHO_C" >&6
11443 if test -n "$RANLIB"; then
11444 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11447 for as_dir
in $PATH
11450 test -z "$as_dir" && as_dir
=.
11451 for ac_exec_ext
in '' $ac_executable_extensions; do
11452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11453 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11462 RANLIB
=$ac_cv_prog_RANLIB
11463 if test -n "$RANLIB"; then
11464 echo "$as_me:$LINENO: result: $RANLIB" >&5
11465 echo "${ECHO_T}$RANLIB" >&6
11467 echo "$as_me:$LINENO: result: no" >&5
11468 echo "${ECHO_T}no" >&6
11472 if test -z "$ac_cv_prog_RANLIB"; then
11473 ac_ct_RANLIB
=$RANLIB
11474 # Extract the first word of "ranlib", so it can be a program name with args.
11475 set dummy ranlib
; ac_word
=$2
11476 echo "$as_me:$LINENO: checking for $ac_word" >&5
11477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11478 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11481 if test -n "$ac_ct_RANLIB"; then
11482 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11485 for as_dir
in $PATH
11488 test -z "$as_dir" && as_dir
=.
11489 for ac_exec_ext
in '' $ac_executable_extensions; do
11490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11491 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11498 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11501 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11502 if test -n "$ac_ct_RANLIB"; then
11503 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11504 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11506 echo "$as_me:$LINENO: result: no" >&5
11507 echo "${ECHO_T}no" >&6
11510 RANLIB
=$ac_ct_RANLIB
11512 RANLIB
="$ac_cv_prog_RANLIB"
11516 # Extract the first word of "ar", so it can be a program name with args.
11517 set dummy
ar; ac_word
=$2
11518 echo "$as_me:$LINENO: checking for $ac_word" >&5
11519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11520 if test "${ac_cv_prog_AR+set}" = set; then
11521 echo $ECHO_N "(cached) $ECHO_C" >&6
11523 if test -n "$AR"; then
11524 ac_cv_prog_AR
="$AR" # Let the user override the test.
11526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11527 for as_dir
in $PATH
11530 test -z "$as_dir" && as_dir
=.
11531 for ac_exec_ext
in '' $ac_executable_extensions; do
11532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11543 if test -n "$AR"; then
11544 echo "$as_me:$LINENO: result: $AR" >&5
11545 echo "${ECHO_T}$AR" >&6
11547 echo "$as_me:$LINENO: result: no" >&5
11548 echo "${ECHO_T}no" >&6
11551 if test "x$AR" = "x" ; then
11552 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11553 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11554 { (exit 1); exit 1; }; }
11557 # Find a good install program. We prefer a C program (faster),
11558 # so one script is as good as another. But avoid the broken or
11559 # incompatible versions:
11560 # SysV /etc/install, /usr/sbin/install
11561 # SunOS /usr/etc/install
11562 # IRIX /sbin/install
11564 # AmigaOS /C/install, which installs bootblocks on floppy discs
11565 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11566 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11567 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11568 # ./install, which can be erroneously created by make from ./install.sh.
11569 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11570 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11571 if test -z "$INSTALL"; then
11572 if test "${ac_cv_path_install+set}" = set; then
11573 echo $ECHO_N "(cached) $ECHO_C" >&6
11575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11576 for as_dir
in $PATH
11579 test -z "$as_dir" && as_dir
=.
11580 # Account for people who put trailing slashes in PATH elements.
11582 .
/ | .
// | /cC
/* | \
11583 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11586 # OSF1 and SCO ODT 3.0 have their own names for install.
11587 # Don't use installbsd from OSF since it installs stuff as root
11589 for ac_prog
in ginstall scoinst
install; do
11590 for ac_exec_ext
in '' $ac_executable_extensions; do
11591 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11592 if test $ac_prog = install &&
11593 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11594 # AIX install. It has an incompatible calling convention.
11596 elif test $ac_prog = install &&
11597 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11598 # program-specific install script used by HP pwplus--don't use.
11601 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11613 if test "${ac_cv_path_install+set}" = set; then
11614 INSTALL
=$ac_cv_path_install
11616 # As a last resort, use the slow shell script. We don't cache a
11617 # path for INSTALL within a source directory, because that will
11618 # break other packages using the cache if that directory is
11619 # removed, or if the path is relative.
11620 INSTALL
=$ac_install_sh
11623 echo "$as_me:$LINENO: result: $INSTALL" >&5
11624 echo "${ECHO_T}$INSTALL" >&6
11626 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11627 # It thinks the first close brace ends the variable substitution.
11628 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11630 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11632 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11638 ?
:* ) # Drive letter, considered as absolute.
11641 INSTALL
=`pwd`/${INSTALL} ;;
11646 INSTALL_DIR
="mkdir"
11649 *) INSTALL_DIR
="$INSTALL -d"
11656 powerpc
-*-darwin* )
11657 INSTALL_PROGRAM
="cp -fp"
11658 INSTALL_DATA
="cp -fp"
11664 # Extract the first word of "strip", so it can be a program name with args.
11665 set dummy strip
; ac_word
=$2
11666 echo "$as_me:$LINENO: checking for $ac_word" >&5
11667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11668 if test "${ac_cv_prog_STRIP+set}" = set; then
11669 echo $ECHO_N "(cached) $ECHO_C" >&6
11671 if test -n "$STRIP"; then
11672 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11675 for as_dir
in $PATH
11678 test -z "$as_dir" && as_dir
=.
11679 for ac_exec_ext
in '' $ac_executable_extensions; do
11680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11681 ac_cv_prog_STRIP
="strip"
11682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11688 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11691 STRIP
=$ac_cv_prog_STRIP
11692 if test -n "$STRIP"; then
11693 echo "$as_me:$LINENO: result: $STRIP" >&5
11694 echo "${ECHO_T}$STRIP" >&6
11696 echo "$as_me:$LINENO: result: no" >&5
11697 echo "${ECHO_T}no" >&6
11701 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11702 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11703 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11704 echo $ECHO_N "(cached) $ECHO_C" >&6
11707 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11708 egrep -s GNU
> /dev
/null
); then
11709 wx_cv_prog_makeisgnu
="yes"
11711 wx_cv_prog_makeisgnu
="no"
11715 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11716 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11718 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11726 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11727 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11728 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11729 if test "${wx_cv_prog_makevpath+set}" = set; then
11730 echo $ECHO_N "(cached) $ECHO_C" >&6
11733 cat - << EOF > confMake
11739 if test ! -d sub
; then
11742 echo dummy
> sub
/file
11743 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11745 rm -f sub
/file check final_file confMake
11747 if test "$RESULT" = 0; then
11748 wx_cv_prog_makevpath
="yes"
11750 wx_cv_prog_makevpath
="no"
11754 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11755 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11757 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11758 { { echo "$as_me:$LINENO: error:
11759 You need a make-utility that is able to use the variable
11761 If your version of make does not support VPATH correctly,
11762 please install GNU-make (possibly as gmake), and start
11763 configure with the following command:
11764 export MAKE=gmake; ./configure for sh-type shells
11765 setenv MAKE gmake; ./configure for csh-type shells
11766 Also please do remember to use gmake in this case every time
11767 you are trying to compile.
11769 echo "$as_me: error:
11770 You need a make-utility that is able to use the variable
11772 If your version of make does not support VPATH correctly,
11773 please install GNU-make (possibly as gmake), and start
11774 configure with the following command:
11775 export MAKE=gmake; ./configure for sh-type shells
11776 setenv MAKE gmake; ./configure for csh-type shells
11777 Also please do remember to use gmake in this case every time
11778 you are trying to compile.
11780 { (exit 1); exit 1; }; }
11782 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11783 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11785 if test "$LN_S" = "ln -s"; then
11786 echo "$as_me:$LINENO: result: yes" >&5
11787 echo "${ECHO_T}yes" >&6
11789 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11790 echo "${ECHO_T}no, using $LN_S" >&6
11795 *-pc-os2_emx | *-pc-os2-emx )
11796 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11797 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11798 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11799 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11800 echo $ECHO_N "(cached) $ECHO_C" >&6
11802 ac_check_lib_save_LIBS
=$LIBS
11803 LIBS
="-lcExt $LIBS"
11804 cat >conftest.
$ac_ext <<_ACEOF
11805 #line $LINENO "configure"
11808 cat confdefs.h
>>conftest.
$ac_ext
11809 cat >>conftest.
$ac_ext <<_ACEOF
11810 /* end confdefs.h. */
11812 /* Override any gcc2 internal prototype to avoid an error. */
11816 /* We use char because int might match the return type of a gcc2
11817 builtin and then its argument prototype would still apply. */
11827 rm -f conftest.
$ac_objext conftest
$ac_exeext
11828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11829 (eval $ac_link) 2>&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); } &&
11833 { ac_try
='test -s conftest$ac_exeext'
11834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835 (eval $ac_try) 2>&5
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); }; }; then
11839 ac_cv_lib_cExt_drand48
=yes
11841 echo "$as_me: failed program was:" >&5
11842 sed 's/^/| /' conftest.
$ac_ext >&5
11844 ac_cv_lib_cExt_drand48
=no
11846 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11847 LIBS
=$ac_check_lib_save_LIBS
11849 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11850 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11851 if test $ac_cv_lib_cExt_drand48 = yes; then
11852 LIBS
="$LIBS -lcExt"
11856 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11858 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11859 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11860 if test "${wx_cv_gcc3+set}" = set; then
11861 echo $ECHO_N "(cached) $ECHO_C" >&6
11864 cat >conftest.
$ac_ext <<_ACEOF
11865 #line $LINENO "configure"
11868 cat confdefs.h
>>conftest.
$ac_ext
11869 cat >>conftest.
$ac_ext <<_ACEOF
11870 /* end confdefs.h. */
11884 rm -f conftest.
$ac_objext
11885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11886 (eval $ac_compile) 2>&5
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); } &&
11890 { ac_try
='test -s conftest.$ac_objext'
11891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11892 (eval $ac_try) 2>&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); }; }; then
11900 echo "$as_me: failed program was:" >&5
11901 sed 's/^/| /' conftest.
$ac_ext >&5
11908 rm -f conftest.
$ac_objext conftest.
$ac_ext
11911 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11912 echo "${ECHO_T}$wx_cv_gcc3" >&6
11913 if test "$wx_cv_gcc3" = "no"; then
11914 LIBS
="$LIBS -lstdcpp"
11916 LIBS
="$LIBS -lstdcxx"
11922 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11923 echo "$as_me:$LINENO: checking for strings.h" >&5
11924 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11925 if test "${ac_cv_header_strings_h+set}" = set; then
11926 echo $ECHO_N "(cached) $ECHO_C" >&6
11928 ac_cv_header_strings_h
=no
11930 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11931 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11932 if test "$ac_cv_header_strings_h" = "no"; then
11933 echo "$as_me:$LINENO: result: forced no into cache" >&5
11934 echo "${ECHO_T}forced no into cache" >&6
11936 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11937 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11940 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11941 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11942 if test "${ac_cv_header_stdc+set}" = set; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 cat >conftest.
$ac_ext <<_ACEOF
11946 #line $LINENO "configure"
11949 cat confdefs.h
>>conftest.
$ac_ext
11950 cat >>conftest.
$ac_ext <<_ACEOF
11951 /* end confdefs.h. */
11952 #include <stdlib.h>
11953 #include <stdarg.h>
11954 #include <string.h>
11965 rm -f conftest.
$ac_objext
11966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11967 (eval $ac_compile) 2>&5
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); } &&
11971 { ac_try
='test -s conftest.$ac_objext'
11972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11973 (eval $ac_try) 2>&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); }; }; then
11977 ac_cv_header_stdc
=yes
11979 echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.
$ac_ext >&5
11982 ac_cv_header_stdc
=no
11984 rm -f conftest.
$ac_objext conftest.
$ac_ext
11986 if test $ac_cv_header_stdc = yes; then
11987 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11988 cat >conftest.
$ac_ext <<_ACEOF
11989 #line $LINENO "configure"
11992 cat confdefs.h
>>conftest.
$ac_ext
11993 cat >>conftest.
$ac_ext <<_ACEOF
11994 /* end confdefs.h. */
11995 #include <string.h>
11998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11999 $EGREP "memchr" >/dev
/null
2>&1; then
12002 ac_cv_header_stdc
=no
12008 if test $ac_cv_header_stdc = yes; then
12009 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12010 cat >conftest.
$ac_ext <<_ACEOF
12011 #line $LINENO "configure"
12014 cat confdefs.h
>>conftest.
$ac_ext
12015 cat >>conftest.
$ac_ext <<_ACEOF
12016 /* end confdefs.h. */
12017 #include <stdlib.h>
12020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12021 $EGREP "free" >/dev
/null
2>&1; then
12024 ac_cv_header_stdc
=no
12030 if test $ac_cv_header_stdc = yes; then
12031 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12032 if test "$cross_compiling" = yes; then
12035 cat >conftest.
$ac_ext <<_ACEOF
12036 #line $LINENO "configure"
12039 cat confdefs.h
>>conftest.
$ac_ext
12040 cat >>conftest.
$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12043 #if ((' ' & 0x0FF) == 0x020)
12044 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12045 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12047 # define ISLOWER(c) \
12048 (('a' <= (c) && (c) <= 'i') \
12049 || ('j' <= (c) && (c) <= 'r') \
12050 || ('s' <= (c) && (c) <= 'z'))
12051 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12054 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12059 for (i = 0; i < 256; i++)
12060 if (XOR (islower (i), ISLOWER (i))
12061 || toupper (i) != TOUPPER (i))
12066 rm -f conftest
$ac_exeext
12067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12068 (eval $ac_link) 2>&5
12070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12073 (eval $ac_try) 2>&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); }; }; then
12079 echo "$as_me: program exited with status $ac_status" >&5
12080 echo "$as_me: failed program was:" >&5
12081 sed 's/^/| /' conftest.
$ac_ext >&5
12083 ( exit $ac_status )
12084 ac_cv_header_stdc
=no
12086 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12090 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12091 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12092 if test $ac_cv_header_stdc = yes; then
12094 cat >>confdefs.h
<<\_ACEOF
12095 #define STDC_HEADERS 1
12100 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12110 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12111 inttypes.h stdint.h unistd.h
12113 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12114 echo "$as_me:$LINENO: checking for $ac_header" >&5
12115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12117 echo $ECHO_N "(cached) $ECHO_C" >&6
12119 cat >conftest.
$ac_ext <<_ACEOF
12120 #line $LINENO "configure"
12123 cat confdefs.h
>>conftest.
$ac_ext
12124 cat >>conftest.
$ac_ext <<_ACEOF
12125 /* end confdefs.h. */
12126 $ac_includes_default
12128 #include <$ac_header>
12130 rm -f conftest.
$ac_objext
12131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12132 (eval $ac_compile) 2>&5
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); } &&
12136 { ac_try
='test -s conftest.$ac_objext'
12137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12138 (eval $ac_try) 2>&5
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); }; }; then
12142 eval "$as_ac_Header=yes"
12144 echo "$as_me: failed program was:" >&5
12145 sed 's/^/| /' conftest.
$ac_ext >&5
12147 eval "$as_ac_Header=no"
12149 rm -f conftest.
$ac_objext conftest.
$ac_ext
12151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12154 cat >>confdefs.h
<<_ACEOF
12155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12164 for ac_header
in strings.h
12166 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12168 echo "$as_me:$LINENO: checking for $ac_header" >&5
12169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12171 echo $ECHO_N "(cached) $ECHO_C" >&6
12173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12176 # Is the header compilable?
12177 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12179 cat >conftest.
$ac_ext <<_ACEOF
12180 #line $LINENO "configure"
12183 cat confdefs.h
>>conftest.
$ac_ext
12184 cat >>conftest.
$ac_ext <<_ACEOF
12185 /* end confdefs.h. */
12186 $ac_includes_default
12187 #include <$ac_header>
12189 rm -f conftest.
$ac_objext
12190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12191 (eval $ac_compile) 2>&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); } &&
12195 { ac_try
='test -s conftest.$ac_objext'
12196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12197 (eval $ac_try) 2>&5
12199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); }; }; then
12201 ac_header_compiler
=yes
12203 echo "$as_me: failed program was:" >&5
12204 sed 's/^/| /' conftest.
$ac_ext >&5
12206 ac_header_compiler
=no
12208 rm -f conftest.
$ac_objext conftest.
$ac_ext
12209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12210 echo "${ECHO_T}$ac_header_compiler" >&6
12212 # Is the header present?
12213 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12215 cat >conftest.
$ac_ext <<_ACEOF
12216 #line $LINENO "configure"
12219 cat confdefs.h
>>conftest.
$ac_ext
12220 cat >>conftest.
$ac_ext <<_ACEOF
12221 /* end confdefs.h. */
12222 #include <$ac_header>
12224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12225 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12227 grep -v '^ *+' conftest.er1
>conftest.err
12229 cat conftest.err
>&5
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); } >/dev
/null
; then
12232 if test -s conftest.err
; then
12233 ac_cpp_err
=$ac_c_preproc_warn_flag
12240 if test -z "$ac_cpp_err"; then
12241 ac_header_preproc
=yes
12243 echo "$as_me: failed program was:" >&5
12244 sed 's/^/| /' conftest.
$ac_ext >&5
12246 ac_header_preproc
=no
12248 rm -f conftest.err conftest.
$ac_ext
12249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12250 echo "${ECHO_T}$ac_header_preproc" >&6
12252 # So? What about this header?
12253 case $ac_header_compiler:$ac_header_preproc in
12255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12258 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12261 ## ------------------------------------ ##
12262 ## Report this to bug-autoconf@gnu.org. ##
12263 ## ------------------------------------ ##
12266 sed "s/^/$as_me: WARNING: /" >&2
12269 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12270 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12271 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12272 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12274 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12277 ## ------------------------------------ ##
12278 ## Report this to bug-autoconf@gnu.org. ##
12279 ## ------------------------------------ ##
12282 sed "s/^/$as_me: WARNING: /" >&2
12285 echo "$as_me:$LINENO: checking for $ac_header" >&5
12286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12288 echo $ECHO_N "(cached) $ECHO_C" >&6
12290 eval "$as_ac_Header=$ac_header_preproc"
12292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12297 cat >>confdefs.h
<<_ACEOF
12298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12307 for ac_header
in stdlib.h
12309 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12311 echo "$as_me:$LINENO: checking for $ac_header" >&5
12312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12314 echo $ECHO_N "(cached) $ECHO_C" >&6
12316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12319 # Is the header compilable?
12320 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12321 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12322 cat >conftest.
$ac_ext <<_ACEOF
12323 #line $LINENO "configure"
12326 cat confdefs.h
>>conftest.
$ac_ext
12327 cat >>conftest.
$ac_ext <<_ACEOF
12328 /* end confdefs.h. */
12329 $ac_includes_default
12330 #include <$ac_header>
12332 rm -f conftest.
$ac_objext
12333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12334 (eval $ac_compile) 2>&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); } &&
12338 { ac_try
='test -s conftest.$ac_objext'
12339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12340 (eval $ac_try) 2>&5
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); }; }; then
12344 ac_header_compiler
=yes
12346 echo "$as_me: failed program was:" >&5
12347 sed 's/^/| /' conftest.
$ac_ext >&5
12349 ac_header_compiler
=no
12351 rm -f conftest.
$ac_objext conftest.
$ac_ext
12352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12353 echo "${ECHO_T}$ac_header_compiler" >&6
12355 # Is the header present?
12356 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12357 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12358 cat >conftest.
$ac_ext <<_ACEOF
12359 #line $LINENO "configure"
12362 cat confdefs.h
>>conftest.
$ac_ext
12363 cat >>conftest.
$ac_ext <<_ACEOF
12364 /* end confdefs.h. */
12365 #include <$ac_header>
12367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12368 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12370 grep -v '^ *+' conftest.er1
>conftest.err
12372 cat conftest.err
>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); } >/dev
/null
; then
12375 if test -s conftest.err
; then
12376 ac_cpp_err
=$ac_c_preproc_warn_flag
12383 if test -z "$ac_cpp_err"; then
12384 ac_header_preproc
=yes
12386 echo "$as_me: failed program was:" >&5
12387 sed 's/^/| /' conftest.
$ac_ext >&5
12389 ac_header_preproc
=no
12391 rm -f conftest.err conftest.
$ac_ext
12392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12393 echo "${ECHO_T}$ac_header_preproc" >&6
12395 # So? What about this header?
12396 case $ac_header_compiler:$ac_header_preproc in
12398 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12399 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12404 ## ------------------------------------ ##
12405 ## Report this to bug-autoconf@gnu.org. ##
12406 ## ------------------------------------ ##
12409 sed "s/^/$as_me: WARNING: /" >&2
12412 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12413 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12414 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12415 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12420 ## ------------------------------------ ##
12421 ## Report this to bug-autoconf@gnu.org. ##
12422 ## ------------------------------------ ##
12425 sed "s/^/$as_me: WARNING: /" >&2
12428 echo "$as_me:$LINENO: checking for $ac_header" >&5
12429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12431 echo $ECHO_N "(cached) $ECHO_C" >&6
12433 eval "$as_ac_Header=$ac_header_preproc"
12435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12440 cat >>confdefs.h
<<_ACEOF
12441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12449 for ac_header
in malloc.h
12451 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12453 echo "$as_me:$LINENO: checking for $ac_header" >&5
12454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12456 echo $ECHO_N "(cached) $ECHO_C" >&6
12458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12459 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12461 # Is the header compilable?
12462 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12463 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12464 cat >conftest.
$ac_ext <<_ACEOF
12465 #line $LINENO "configure"
12468 cat confdefs.h
>>conftest.
$ac_ext
12469 cat >>conftest.
$ac_ext <<_ACEOF
12470 /* end confdefs.h. */
12471 $ac_includes_default
12472 #include <$ac_header>
12474 rm -f conftest.
$ac_objext
12475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12476 (eval $ac_compile) 2>&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); } &&
12480 { ac_try
='test -s conftest.$ac_objext'
12481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12482 (eval $ac_try) 2>&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); }; }; then
12486 ac_header_compiler
=yes
12488 echo "$as_me: failed program was:" >&5
12489 sed 's/^/| /' conftest.
$ac_ext >&5
12491 ac_header_compiler
=no
12493 rm -f conftest.
$ac_objext conftest.
$ac_ext
12494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12495 echo "${ECHO_T}$ac_header_compiler" >&6
12497 # Is the header present?
12498 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12499 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12500 cat >conftest.
$ac_ext <<_ACEOF
12501 #line $LINENO "configure"
12504 cat confdefs.h
>>conftest.
$ac_ext
12505 cat >>conftest.
$ac_ext <<_ACEOF
12506 /* end confdefs.h. */
12507 #include <$ac_header>
12509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12510 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12512 grep -v '^ *+' conftest.er1
>conftest.err
12514 cat conftest.err
>&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); } >/dev
/null
; then
12517 if test -s conftest.err
; then
12518 ac_cpp_err
=$ac_c_preproc_warn_flag
12525 if test -z "$ac_cpp_err"; then
12526 ac_header_preproc
=yes
12528 echo "$as_me: failed program was:" >&5
12529 sed 's/^/| /' conftest.
$ac_ext >&5
12531 ac_header_preproc
=no
12533 rm -f conftest.err conftest.
$ac_ext
12534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12535 echo "${ECHO_T}$ac_header_preproc" >&6
12537 # So? What about this header?
12538 case $ac_header_compiler:$ac_header_preproc in
12540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12546 ## ------------------------------------ ##
12547 ## Report this to bug-autoconf@gnu.org. ##
12548 ## ------------------------------------ ##
12551 sed "s/^/$as_me: WARNING: /" >&2
12554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12557 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12559 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12562 ## ------------------------------------ ##
12563 ## Report this to bug-autoconf@gnu.org. ##
12564 ## ------------------------------------ ##
12567 sed "s/^/$as_me: WARNING: /" >&2
12570 echo "$as_me:$LINENO: checking for $ac_header" >&5
12571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12573 echo $ECHO_N "(cached) $ECHO_C" >&6
12575 eval "$as_ac_Header=$ac_header_preproc"
12577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12582 cat >>confdefs.h
<<_ACEOF
12583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12591 for ac_header
in unistd.h
12593 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12595 echo "$as_me:$LINENO: checking for $ac_header" >&5
12596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12598 echo $ECHO_N "(cached) $ECHO_C" >&6
12600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12603 # Is the header compilable?
12604 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12605 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12606 cat >conftest.
$ac_ext <<_ACEOF
12607 #line $LINENO "configure"
12610 cat confdefs.h
>>conftest.
$ac_ext
12611 cat >>conftest.
$ac_ext <<_ACEOF
12612 /* end confdefs.h. */
12613 $ac_includes_default
12614 #include <$ac_header>
12616 rm -f conftest.
$ac_objext
12617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12618 (eval $ac_compile) 2>&5
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); } &&
12622 { ac_try
='test -s conftest.$ac_objext'
12623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12624 (eval $ac_try) 2>&5
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); }; }; then
12628 ac_header_compiler
=yes
12630 echo "$as_me: failed program was:" >&5
12631 sed 's/^/| /' conftest.
$ac_ext >&5
12633 ac_header_compiler
=no
12635 rm -f conftest.
$ac_objext conftest.
$ac_ext
12636 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12637 echo "${ECHO_T}$ac_header_compiler" >&6
12639 # Is the header present?
12640 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12641 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12642 cat >conftest.
$ac_ext <<_ACEOF
12643 #line $LINENO "configure"
12646 cat confdefs.h
>>conftest.
$ac_ext
12647 cat >>conftest.
$ac_ext <<_ACEOF
12648 /* end confdefs.h. */
12649 #include <$ac_header>
12651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12652 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12654 grep -v '^ *+' conftest.er1
>conftest.err
12656 cat conftest.err
>&5
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); } >/dev
/null
; then
12659 if test -s conftest.err
; then
12660 ac_cpp_err
=$ac_c_preproc_warn_flag
12667 if test -z "$ac_cpp_err"; then
12668 ac_header_preproc
=yes
12670 echo "$as_me: failed program was:" >&5
12671 sed 's/^/| /' conftest.
$ac_ext >&5
12673 ac_header_preproc
=no
12675 rm -f conftest.err conftest.
$ac_ext
12676 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12677 echo "${ECHO_T}$ac_header_preproc" >&6
12679 # So? What about this header?
12680 case $ac_header_compiler:$ac_header_preproc in
12682 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12683 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12684 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12685 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12688 ## ------------------------------------ ##
12689 ## Report this to bug-autoconf@gnu.org. ##
12690 ## ------------------------------------ ##
12693 sed "s/^/$as_me: WARNING: /" >&2
12696 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12697 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12698 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12699 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12704 ## ------------------------------------ ##
12705 ## Report this to bug-autoconf@gnu.org. ##
12706 ## ------------------------------------ ##
12709 sed "s/^/$as_me: WARNING: /" >&2
12712 echo "$as_me:$LINENO: checking for $ac_header" >&5
12713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12715 echo $ECHO_N "(cached) $ECHO_C" >&6
12717 eval "$as_ac_Header=$ac_header_preproc"
12719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12724 cat >>confdefs.h
<<_ACEOF
12725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12733 for ac_header
in wchar.h
12735 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12737 echo "$as_me:$LINENO: checking for $ac_header" >&5
12738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12740 echo $ECHO_N "(cached) $ECHO_C" >&6
12742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12745 # Is the header compilable?
12746 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12747 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12748 cat >conftest.
$ac_ext <<_ACEOF
12749 #line $LINENO "configure"
12752 cat confdefs.h
>>conftest.
$ac_ext
12753 cat >>conftest.
$ac_ext <<_ACEOF
12754 /* end confdefs.h. */
12755 $ac_includes_default
12756 #include <$ac_header>
12758 rm -f conftest.
$ac_objext
12759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12760 (eval $ac_compile) 2>&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); } &&
12764 { ac_try
='test -s conftest.$ac_objext'
12765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12766 (eval $ac_try) 2>&5
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); }; }; then
12770 ac_header_compiler
=yes
12772 echo "$as_me: failed program was:" >&5
12773 sed 's/^/| /' conftest.
$ac_ext >&5
12775 ac_header_compiler
=no
12777 rm -f conftest.
$ac_objext conftest.
$ac_ext
12778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12779 echo "${ECHO_T}$ac_header_compiler" >&6
12781 # Is the header present?
12782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12784 cat >conftest.
$ac_ext <<_ACEOF
12785 #line $LINENO "configure"
12788 cat confdefs.h
>>conftest.
$ac_ext
12789 cat >>conftest.
$ac_ext <<_ACEOF
12790 /* end confdefs.h. */
12791 #include <$ac_header>
12793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12794 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12796 grep -v '^ *+' conftest.er1
>conftest.err
12798 cat conftest.err
>&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); } >/dev
/null
; then
12801 if test -s conftest.err
; then
12802 ac_cpp_err
=$ac_c_preproc_warn_flag
12809 if test -z "$ac_cpp_err"; then
12810 ac_header_preproc
=yes
12812 echo "$as_me: failed program was:" >&5
12813 sed 's/^/| /' conftest.
$ac_ext >&5
12815 ac_header_preproc
=no
12817 rm -f conftest.err conftest.
$ac_ext
12818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12819 echo "${ECHO_T}$ac_header_preproc" >&6
12821 # So? What about this header?
12822 case $ac_header_compiler:$ac_header_preproc in
12824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12827 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12830 ## ------------------------------------ ##
12831 ## Report this to bug-autoconf@gnu.org. ##
12832 ## ------------------------------------ ##
12835 sed "s/^/$as_me: WARNING: /" >&2
12838 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12839 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12840 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12841 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12846 ## ------------------------------------ ##
12847 ## Report this to bug-autoconf@gnu.org. ##
12848 ## ------------------------------------ ##
12851 sed "s/^/$as_me: WARNING: /" >&2
12854 echo "$as_me:$LINENO: checking for $ac_header" >&5
12855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12857 echo $ECHO_N "(cached) $ECHO_C" >&6
12859 eval "$as_ac_Header=$ac_header_preproc"
12861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12862 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12866 cat >>confdefs.h
<<_ACEOF
12867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12875 if test "$ac_cv_header_wchar_h" != "yes"; then
12877 for ac_header
in wcstr.h
12879 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12881 echo "$as_me:$LINENO: checking for $ac_header" >&5
12882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12884 echo $ECHO_N "(cached) $ECHO_C" >&6
12886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12889 # Is the header compilable?
12890 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12891 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12892 cat >conftest.
$ac_ext <<_ACEOF
12893 #line $LINENO "configure"
12896 cat confdefs.h
>>conftest.
$ac_ext
12897 cat >>conftest.
$ac_ext <<_ACEOF
12898 /* end confdefs.h. */
12899 $ac_includes_default
12900 #include <$ac_header>
12902 rm -f conftest.
$ac_objext
12903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12904 (eval $ac_compile) 2>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); } &&
12908 { ac_try
='test -s conftest.$ac_objext'
12909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12910 (eval $ac_try) 2>&5
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); }; }; then
12914 ac_header_compiler
=yes
12916 echo "$as_me: failed program was:" >&5
12917 sed 's/^/| /' conftest.
$ac_ext >&5
12919 ac_header_compiler
=no
12921 rm -f conftest.
$ac_objext conftest.
$ac_ext
12922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12923 echo "${ECHO_T}$ac_header_compiler" >&6
12925 # Is the header present?
12926 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12927 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12928 cat >conftest.
$ac_ext <<_ACEOF
12929 #line $LINENO "configure"
12932 cat confdefs.h
>>conftest.
$ac_ext
12933 cat >>conftest.
$ac_ext <<_ACEOF
12934 /* end confdefs.h. */
12935 #include <$ac_header>
12937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12940 grep -v '^ *+' conftest.er1
>conftest.err
12942 cat conftest.err
>&5
12943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944 (exit $ac_status); } >/dev
/null
; then
12945 if test -s conftest.err
; then
12946 ac_cpp_err
=$ac_c_preproc_warn_flag
12953 if test -z "$ac_cpp_err"; then
12954 ac_header_preproc
=yes
12956 echo "$as_me: failed program was:" >&5
12957 sed 's/^/| /' conftest.
$ac_ext >&5
12959 ac_header_preproc
=no
12961 rm -f conftest.err conftest.
$ac_ext
12962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12963 echo "${ECHO_T}$ac_header_preproc" >&6
12965 # So? What about this header?
12966 case $ac_header_compiler:$ac_header_preproc in
12968 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12969 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12974 ## ------------------------------------ ##
12975 ## Report this to bug-autoconf@gnu.org. ##
12976 ## ------------------------------------ ##
12979 sed "s/^/$as_me: WARNING: /" >&2
12982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12987 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12990 ## ------------------------------------ ##
12991 ## Report this to bug-autoconf@gnu.org. ##
12992 ## ------------------------------------ ##
12995 sed "s/^/$as_me: WARNING: /" >&2
12998 echo "$as_me:$LINENO: checking for $ac_header" >&5
12999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13001 echo $ECHO_N "(cached) $ECHO_C" >&6
13003 eval "$as_ac_Header=$ac_header_preproc"
13005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13010 cat >>confdefs.h
<<_ACEOF
13011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13021 for ac_header
in fnmatch.h
13023 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13025 echo "$as_me:$LINENO: checking for $ac_header" >&5
13026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13033 # Is the header compilable?
13034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13036 cat >conftest.
$ac_ext <<_ACEOF
13037 #line $LINENO "configure"
13040 cat confdefs.h
>>conftest.
$ac_ext
13041 cat >>conftest.
$ac_ext <<_ACEOF
13042 /* end confdefs.h. */
13043 $ac_includes_default
13044 #include <$ac_header>
13046 rm -f conftest.
$ac_objext
13047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13048 (eval $ac_compile) 2>&5
13050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13051 (exit $ac_status); } &&
13052 { ac_try
='test -s conftest.$ac_objext'
13053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13054 (eval $ac_try) 2>&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); }; }; then
13058 ac_header_compiler
=yes
13060 echo "$as_me: failed program was:" >&5
13061 sed 's/^/| /' conftest.
$ac_ext >&5
13063 ac_header_compiler
=no
13065 rm -f conftest.
$ac_objext conftest.
$ac_ext
13066 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13067 echo "${ECHO_T}$ac_header_compiler" >&6
13069 # Is the header present?
13070 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13071 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13072 cat >conftest.
$ac_ext <<_ACEOF
13073 #line $LINENO "configure"
13076 cat confdefs.h
>>conftest.
$ac_ext
13077 cat >>conftest.
$ac_ext <<_ACEOF
13078 /* end confdefs.h. */
13079 #include <$ac_header>
13081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13082 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13084 grep -v '^ *+' conftest.er1
>conftest.err
13086 cat conftest.err
>&5
13087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); } >/dev
/null
; then
13089 if test -s conftest.err
; then
13090 ac_cpp_err
=$ac_c_preproc_warn_flag
13097 if test -z "$ac_cpp_err"; then
13098 ac_header_preproc
=yes
13100 echo "$as_me: failed program was:" >&5
13101 sed 's/^/| /' conftest.
$ac_ext >&5
13103 ac_header_preproc
=no
13105 rm -f conftest.err conftest.
$ac_ext
13106 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13107 echo "${ECHO_T}$ac_header_preproc" >&6
13109 # So? What about this header?
13110 case $ac_header_compiler:$ac_header_preproc in
13112 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13113 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13115 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13118 ## ------------------------------------ ##
13119 ## Report this to bug-autoconf@gnu.org. ##
13120 ## ------------------------------------ ##
13123 sed "s/^/$as_me: WARNING: /" >&2
13126 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13127 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13128 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13129 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13131 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13134 ## ------------------------------------ ##
13135 ## Report this to bug-autoconf@gnu.org. ##
13136 ## ------------------------------------ ##
13139 sed "s/^/$as_me: WARNING: /" >&2
13142 echo "$as_me:$LINENO: checking for $ac_header" >&5
13143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13145 echo $ECHO_N "(cached) $ECHO_C" >&6
13147 eval "$as_ac_Header=$ac_header_preproc"
13149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13154 cat >>confdefs.h
<<_ACEOF
13155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13163 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13165 for ac_func
in fnmatch
13167 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13168 echo "$as_me:$LINENO: checking for $ac_func" >&5
13169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13170 if eval "test \"\${$as_ac_var+set}\" = set"; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13173 cat >conftest.
$ac_ext <<_ACEOF
13174 #line $LINENO "configure"
13177 cat confdefs.h
>>conftest.
$ac_ext
13178 cat >>conftest.
$ac_ext <<_ACEOF
13179 /* end confdefs.h. */
13180 /* System header to define __stub macros and hopefully few prototypes,
13181 which can conflict with char $ac_func (); below.
13182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13183 <limits.h> exists even on freestanding compilers. */
13185 # include <limits.h>
13187 # include <assert.h>
13189 /* Override any gcc2 internal prototype to avoid an error. */
13194 /* We use char because int might match the return type of a gcc2
13195 builtin and then its argument prototype would still apply. */
13197 /* The GNU C library defines this for functions which it implements
13198 to always fail with ENOSYS. Some functions are actually named
13199 something starting with __ and the normal name is an alias. */
13200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13203 char (*f) () = $ac_func;
13212 return f != $ac_func;
13217 rm -f conftest.
$ac_objext conftest
$ac_exeext
13218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13219 (eval $ac_link) 2>&5
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); } &&
13223 { ac_try
='test -s conftest$ac_exeext'
13224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13225 (eval $ac_try) 2>&5
13227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228 (exit $ac_status); }; }; then
13229 eval "$as_ac_var=yes"
13231 echo "$as_me: failed program was:" >&5
13232 sed 's/^/| /' conftest.
$ac_ext >&5
13234 eval "$as_ac_var=no"
13236 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13240 if test `eval echo '${'$as_ac_var'}'` = yes; then
13241 cat >>confdefs.h
<<_ACEOF
13242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13251 for ac_header
in langinfo.h
13253 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13255 echo "$as_me:$LINENO: checking for $ac_header" >&5
13256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13258 echo $ECHO_N "(cached) $ECHO_C" >&6
13260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13263 # Is the header compilable?
13264 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13265 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13266 cat >conftest.
$ac_ext <<_ACEOF
13267 #line $LINENO "configure"
13270 cat confdefs.h
>>conftest.
$ac_ext
13271 cat >>conftest.
$ac_ext <<_ACEOF
13272 /* end confdefs.h. */
13273 $ac_includes_default
13274 #include <$ac_header>
13276 rm -f conftest.
$ac_objext
13277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13278 (eval $ac_compile) 2>&5
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); } &&
13282 { ac_try
='test -s conftest.$ac_objext'
13283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13284 (eval $ac_try) 2>&5
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 (exit $ac_status); }; }; then
13288 ac_header_compiler
=yes
13290 echo "$as_me: failed program was:" >&5
13291 sed 's/^/| /' conftest.
$ac_ext >&5
13293 ac_header_compiler
=no
13295 rm -f conftest.
$ac_objext conftest.
$ac_ext
13296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13297 echo "${ECHO_T}$ac_header_compiler" >&6
13299 # Is the header present?
13300 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13302 cat >conftest.
$ac_ext <<_ACEOF
13303 #line $LINENO "configure"
13306 cat confdefs.h
>>conftest.
$ac_ext
13307 cat >>conftest.
$ac_ext <<_ACEOF
13308 /* end confdefs.h. */
13309 #include <$ac_header>
13311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13312 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13314 grep -v '^ *+' conftest.er1
>conftest.err
13316 cat conftest.err
>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); } >/dev
/null
; then
13319 if test -s conftest.err
; then
13320 ac_cpp_err
=$ac_c_preproc_warn_flag
13327 if test -z "$ac_cpp_err"; then
13328 ac_header_preproc
=yes
13330 echo "$as_me: failed program was:" >&5
13331 sed 's/^/| /' conftest.
$ac_ext >&5
13333 ac_header_preproc
=no
13335 rm -f conftest.err conftest.
$ac_ext
13336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13337 echo "${ECHO_T}$ac_header_preproc" >&6
13339 # So? What about this header?
13340 case $ac_header_compiler:$ac_header_preproc in
13342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13348 ## ------------------------------------ ##
13349 ## Report this to bug-autoconf@gnu.org. ##
13350 ## ------------------------------------ ##
13353 sed "s/^/$as_me: WARNING: /" >&2
13356 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13357 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13358 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13359 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13361 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13364 ## ------------------------------------ ##
13365 ## Report this to bug-autoconf@gnu.org. ##
13366 ## ------------------------------------ ##
13369 sed "s/^/$as_me: WARNING: /" >&2
13372 echo "$as_me:$LINENO: checking for $ac_header" >&5
13373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13375 echo $ECHO_N "(cached) $ECHO_C" >&6
13377 eval "$as_ac_Header=$ac_header_preproc"
13379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13384 cat >>confdefs.h
<<_ACEOF
13385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13394 *-pc-os2_emx | *-pc-os2-emx )
13395 if test $ac_cv_header_langinfo_h = "yes"; then
13396 LIBS
="$LIBS -lintl"
13401 if test "$wxUSE_GUI" = "yes"; then
13402 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13404 for ac_header
in X
11/Xlib.h
13406 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13408 echo "$as_me:$LINENO: checking for $ac_header" >&5
13409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13411 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13416 # Is the header compilable?
13417 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13418 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13419 cat >conftest.
$ac_ext <<_ACEOF
13420 #line $LINENO "configure"
13423 cat confdefs.h
>>conftest.
$ac_ext
13424 cat >>conftest.
$ac_ext <<_ACEOF
13425 /* end confdefs.h. */
13426 $ac_includes_default
13427 #include <$ac_header>
13429 rm -f conftest.
$ac_objext
13430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13431 (eval $ac_compile) 2>&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); } &&
13435 { ac_try
='test -s conftest.$ac_objext'
13436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13437 (eval $ac_try) 2>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); }; }; then
13441 ac_header_compiler
=yes
13443 echo "$as_me: failed program was:" >&5
13444 sed 's/^/| /' conftest.
$ac_ext >&5
13446 ac_header_compiler
=no
13448 rm -f conftest.
$ac_objext conftest.
$ac_ext
13449 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13450 echo "${ECHO_T}$ac_header_compiler" >&6
13452 # Is the header present?
13453 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13454 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13455 cat >conftest.
$ac_ext <<_ACEOF
13456 #line $LINENO "configure"
13459 cat confdefs.h
>>conftest.
$ac_ext
13460 cat >>conftest.
$ac_ext <<_ACEOF
13461 /* end confdefs.h. */
13462 #include <$ac_header>
13464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13465 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13467 grep -v '^ *+' conftest.er1
>conftest.err
13469 cat conftest.err
>&5
13470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13471 (exit $ac_status); } >/dev
/null
; then
13472 if test -s conftest.err
; then
13473 ac_cpp_err
=$ac_c_preproc_warn_flag
13480 if test -z "$ac_cpp_err"; then
13481 ac_header_preproc
=yes
13483 echo "$as_me: failed program was:" >&5
13484 sed 's/^/| /' conftest.
$ac_ext >&5
13486 ac_header_preproc
=no
13488 rm -f conftest.err conftest.
$ac_ext
13489 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13490 echo "${ECHO_T}$ac_header_preproc" >&6
13492 # So? What about this header?
13493 case $ac_header_compiler:$ac_header_preproc in
13495 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13496 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13501 ## ------------------------------------ ##
13502 ## Report this to bug-autoconf@gnu.org. ##
13503 ## ------------------------------------ ##
13506 sed "s/^/$as_me: WARNING: /" >&2
13509 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13510 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13511 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13512 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13514 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13517 ## ------------------------------------ ##
13518 ## Report this to bug-autoconf@gnu.org. ##
13519 ## ------------------------------------ ##
13522 sed "s/^/$as_me: WARNING: /" >&2
13525 echo "$as_me:$LINENO: checking for $ac_header" >&5
13526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13528 echo $ECHO_N "(cached) $ECHO_C" >&6
13530 eval "$as_ac_Header=$ac_header_preproc"
13532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13537 cat >>confdefs.h
<<_ACEOF
13538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13546 for ac_header
in X
11/XKBlib.h
13548 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13549 echo "$as_me:$LINENO: checking for $ac_header" >&5
13550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13552 echo $ECHO_N "(cached) $ECHO_C" >&6
13554 cat >conftest.
$ac_ext <<_ACEOF
13555 #line $LINENO "configure"
13558 cat confdefs.h
>>conftest.
$ac_ext
13559 cat >>conftest.
$ac_ext <<_ACEOF
13560 /* end confdefs.h. */
13562 #if HAVE_X11_XLIB_H
13563 #include <X11/Xlib.h>
13567 #include <$ac_header>
13569 rm -f conftest.
$ac_objext
13570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13571 (eval $ac_compile) 2>&5
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); } &&
13575 { ac_try
='test -s conftest.$ac_objext'
13576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13577 (eval $ac_try) 2>&5
13579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13580 (exit $ac_status); }; }; then
13581 eval "$as_ac_Header=yes"
13583 echo "$as_me: failed program was:" >&5
13584 sed 's/^/| /' conftest.
$ac_ext >&5
13586 eval "$as_ac_Header=no"
13588 rm -f conftest.
$ac_objext conftest.
$ac_ext
13590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13593 cat >>confdefs.h
<<_ACEOF
13594 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13605 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13606 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13607 if test "${ac_cv_c_const+set}" = set; then
13608 echo $ECHO_N "(cached) $ECHO_C" >&6
13610 cat >conftest.
$ac_ext <<_ACEOF
13611 #line $LINENO "configure"
13614 cat confdefs.h
>>conftest.
$ac_ext
13615 cat >>conftest.
$ac_ext <<_ACEOF
13616 /* end confdefs.h. */
13621 /* FIXME: Include the comments suggested by Paul. */
13622 #ifndef __cplusplus
13623 /* Ultrix mips cc rejects this. */
13624 typedef int charset[2];
13626 /* SunOS 4.1.1 cc rejects this. */
13627 char const *const *ccp;
13629 /* NEC SVR4.0.2 mips cc rejects this. */
13630 struct point {int x, y;};
13631 static struct point const zero = {0,0};
13632 /* AIX XL C 1.02.0.0 rejects this.
13633 It does not let you subtract one const X* pointer from another in
13634 an arm of an if-expression whose if-part is not a constant
13636 const char *g = "string";
13637 ccp = &g + (g ? g-g : 0);
13638 /* HPUX 7.0 cc rejects these. */
13641 ccp = (char const *const *) p;
13642 { /* SCO 3.2v4 cc rejects this. */
13644 char const *s = 0 ? (char *) 0 : (char const *) 0;
13648 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13649 int x[] = {25, 17};
13650 const int *foo = &x[0];
13653 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13654 typedef const int *iptr;
13658 { /* AIX XL C 1.02.0.0 rejects this saying
13659 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13660 struct s { int j; const int *ap[3]; };
13661 struct s *b; b->j = 5;
13663 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13664 const int foo = 10;
13672 rm -f conftest.
$ac_objext
13673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13674 (eval $ac_compile) 2>&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); } &&
13678 { ac_try
='test -s conftest.$ac_objext'
13679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13680 (eval $ac_try) 2>&5
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); }; }; then
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.
$ac_ext >&5
13691 rm -f conftest.
$ac_objext conftest.
$ac_ext
13693 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13694 echo "${ECHO_T}$ac_cv_c_const" >&6
13695 if test $ac_cv_c_const = no
; then
13697 cat >>confdefs.h
<<\_ACEOF
13703 echo "$as_me:$LINENO: checking for inline" >&5
13704 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13705 if test "${ac_cv_c_inline+set}" = set; then
13706 echo $ECHO_N "(cached) $ECHO_C" >&6
13709 for ac_kw
in inline __inline__ __inline
; do
13710 cat >conftest.
$ac_ext <<_ACEOF
13711 #line $LINENO "configure"
13714 cat confdefs.h
>>conftest.
$ac_ext
13715 cat >>conftest.
$ac_ext <<_ACEOF
13716 /* end confdefs.h. */
13717 #ifndef __cplusplus
13719 static $ac_kw foo_t static_foo () {return 0; }
13720 $ac_kw foo_t foo () {return 0; }
13724 rm -f conftest.
$ac_objext
13725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13726 (eval $ac_compile) 2>&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); } &&
13730 { ac_try
='test -s conftest.$ac_objext'
13731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13732 (eval $ac_try) 2>&5
13734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13735 (exit $ac_status); }; }; then
13736 ac_cv_c_inline
=$ac_kw; break
13738 echo "$as_me: failed program was:" >&5
13739 sed 's/^/| /' conftest.
$ac_ext >&5
13742 rm -f conftest.
$ac_objext conftest.
$ac_ext
13746 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13747 echo "${ECHO_T}$ac_cv_c_inline" >&6
13748 case $ac_cv_c_inline in
13751 cat >>confdefs.h
<<\_ACEOF
13755 *) cat >>confdefs.h
<<_ACEOF
13756 #define inline $ac_cv_c_inline
13762 echo "$as_me:$LINENO: checking for char" >&5
13763 echo $ECHO_N "checking for char... $ECHO_C" >&6
13764 if test "${ac_cv_type_char+set}" = set; then
13765 echo $ECHO_N "(cached) $ECHO_C" >&6
13767 cat >conftest.
$ac_ext <<_ACEOF
13768 #line $LINENO "configure"
13771 cat confdefs.h
>>conftest.
$ac_ext
13772 cat >>conftest.
$ac_ext <<_ACEOF
13773 /* end confdefs.h. */
13774 $ac_includes_default
13786 rm -f conftest.
$ac_objext
13787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13788 (eval $ac_compile) 2>&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); } &&
13792 { ac_try
='test -s conftest.$ac_objext'
13793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13794 (eval $ac_try) 2>&5
13796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13797 (exit $ac_status); }; }; then
13798 ac_cv_type_char
=yes
13800 echo "$as_me: failed program was:" >&5
13801 sed 's/^/| /' conftest.
$ac_ext >&5
13805 rm -f conftest.
$ac_objext conftest.
$ac_ext
13807 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13808 echo "${ECHO_T}$ac_cv_type_char" >&6
13810 echo "$as_me:$LINENO: checking size of char" >&5
13811 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13812 if test "${ac_cv_sizeof_char+set}" = set; then
13813 echo $ECHO_N "(cached) $ECHO_C" >&6
13815 if test "$ac_cv_type_char" = yes; then
13816 # The cast to unsigned long works around a bug in the HP C Compiler
13817 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13818 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13819 # This bug is HP SR number 8606223364.
13820 if test "$cross_compiling" = yes; then
13821 # Depending upon the size, compute the lo and hi bounds.
13822 cat >conftest.
$ac_ext <<_ACEOF
13823 #line $LINENO "configure"
13826 cat confdefs.h
>>conftest.
$ac_ext
13827 cat >>conftest.
$ac_ext <<_ACEOF
13828 /* end confdefs.h. */
13829 $ac_includes_default
13833 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13840 rm -f conftest.
$ac_objext
13841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13842 (eval $ac_compile) 2>&5
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); } &&
13846 { ac_try
='test -s conftest.$ac_objext'
13847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13848 (eval $ac_try) 2>&5
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); }; }; then
13854 cat >conftest.
$ac_ext <<_ACEOF
13855 #line $LINENO "configure"
13858 cat confdefs.h
>>conftest.
$ac_ext
13859 cat >>conftest.
$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13861 $ac_includes_default
13865 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13872 rm -f conftest.
$ac_objext
13873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13874 (eval $ac_compile) 2>&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); } &&
13878 { ac_try
='test -s conftest.$ac_objext'
13879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13880 (eval $ac_try) 2>&5
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); }; }; then
13884 ac_hi
=$ac_mid; break
13886 echo "$as_me: failed program was:" >&5
13887 sed 's/^/| /' conftest.
$ac_ext >&5
13889 ac_lo
=`expr $ac_mid + 1`
13890 if test $ac_lo -le $ac_mid; then
13894 ac_mid
=`expr 2 '*' $ac_mid + 1`
13896 rm -f conftest.
$ac_objext conftest.
$ac_ext
13899 echo "$as_me: failed program was:" >&5
13900 sed 's/^/| /' conftest.
$ac_ext >&5
13902 cat >conftest.
$ac_ext <<_ACEOF
13903 #line $LINENO "configure"
13906 cat confdefs.h
>>conftest.
$ac_ext
13907 cat >>conftest.
$ac_ext <<_ACEOF
13908 /* end confdefs.h. */
13909 $ac_includes_default
13913 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13920 rm -f conftest.
$ac_objext
13921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13922 (eval $ac_compile) 2>&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } &&
13926 { ac_try
='test -s conftest.$ac_objext'
13927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13928 (eval $ac_try) 2>&5
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); }; }; then
13934 cat >conftest.
$ac_ext <<_ACEOF
13935 #line $LINENO "configure"
13938 cat confdefs.h
>>conftest.
$ac_ext
13939 cat >>conftest.
$ac_ext <<_ACEOF
13940 /* end confdefs.h. */
13941 $ac_includes_default
13945 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13952 rm -f conftest.
$ac_objext
13953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13954 (eval $ac_compile) 2>&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); } &&
13958 { ac_try
='test -s conftest.$ac_objext'
13959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13960 (eval $ac_try) 2>&5
13962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963 (exit $ac_status); }; }; then
13964 ac_lo
=$ac_mid; break
13966 echo "$as_me: failed program was:" >&5
13967 sed 's/^/| /' conftest.
$ac_ext >&5
13969 ac_hi
=`expr '(' $ac_mid ')' - 1`
13970 if test $ac_mid -le $ac_hi; then
13974 ac_mid
=`expr 2 '*' $ac_mid`
13976 rm -f conftest.
$ac_objext conftest.
$ac_ext
13979 echo "$as_me: failed program was:" >&5
13980 sed 's/^/| /' conftest.
$ac_ext >&5
13984 rm -f conftest.
$ac_objext conftest.
$ac_ext
13986 rm -f conftest.
$ac_objext conftest.
$ac_ext
13987 # Binary search between lo and hi bounds.
13988 while test "x$ac_lo" != "x$ac_hi"; do
13989 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13990 cat >conftest.
$ac_ext <<_ACEOF
13991 #line $LINENO "configure"
13994 cat confdefs.h
>>conftest.
$ac_ext
13995 cat >>conftest.
$ac_ext <<_ACEOF
13996 /* end confdefs.h. */
13997 $ac_includes_default
14001 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14008 rm -f conftest.
$ac_objext
14009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14010 (eval $ac_compile) 2>&5
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 (exit $ac_status); } &&
14014 { ac_try
='test -s conftest.$ac_objext'
14015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14016 (eval $ac_try) 2>&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); }; }; then
14022 echo "$as_me: failed program was:" >&5
14023 sed 's/^/| /' conftest.
$ac_ext >&5
14025 ac_lo
=`expr '(' $ac_mid ')' + 1`
14027 rm -f conftest.
$ac_objext conftest.
$ac_ext
14030 ?
*) ac_cv_sizeof_char
=$ac_lo;;
14031 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14032 See \`config.log' for more details." >&5
14033 echo "$as_me: error: cannot compute sizeof (char), 77
14034 See \`config.log' for more details." >&2;}
14035 { (exit 1); exit 1; }; } ;;
14038 if test "$cross_compiling" = yes; then
14039 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14040 See \`config.log' for more details." >&5
14041 echo "$as_me: error: cannot run test program while cross compiling
14042 See \`config.log' for more details." >&2;}
14043 { (exit 1); exit 1; }; }
14045 cat >conftest.
$ac_ext <<_ACEOF
14046 #line $LINENO "configure"
14049 cat confdefs.h
>>conftest.
$ac_ext
14050 cat >>conftest.
$ac_ext <<_ACEOF
14051 /* end confdefs.h. */
14052 $ac_includes_default
14053 long longval () { return (long) (sizeof (char)); }
14054 unsigned long ulongval () { return (long) (sizeof (char)); }
14056 #include <stdlib.h>
14061 FILE *f = fopen ("conftest.val", "w");
14064 if (((long) (sizeof (char))) < 0)
14066 long i = longval ();
14067 if (i != ((long) (sizeof (char))))
14069 fprintf (f, "%ld\n", i);
14073 unsigned long i = ulongval ();
14074 if (i != ((long) (sizeof (char))))
14076 fprintf (f, "%lu\n", i);
14078 exit (ferror (f) || fclose (f) != 0);
14084 rm -f conftest
$ac_exeext
14085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14086 (eval $ac_link) 2>&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14091 (eval $ac_try) 2>&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); }; }; then
14095 ac_cv_sizeof_char
=`cat conftest.val`
14097 echo "$as_me: program exited with status $ac_status" >&5
14098 echo "$as_me: failed program was:" >&5
14099 sed 's/^/| /' conftest.
$ac_ext >&5
14101 ( exit $ac_status )
14102 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14103 See \`config.log' for more details." >&5
14104 echo "$as_me: error: cannot compute sizeof (char), 77
14105 See \`config.log' for more details." >&2;}
14106 { (exit 1); exit 1; }; }
14108 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14113 ac_cv_sizeof_char
=0
14116 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14117 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14118 cat >>confdefs.h
<<_ACEOF
14119 #define SIZEOF_CHAR $ac_cv_sizeof_char
14123 echo "$as_me:$LINENO: checking for short" >&5
14124 echo $ECHO_N "checking for short... $ECHO_C" >&6
14125 if test "${ac_cv_type_short+set}" = set; then
14126 echo $ECHO_N "(cached) $ECHO_C" >&6
14128 cat >conftest.
$ac_ext <<_ACEOF
14129 #line $LINENO "configure"
14132 cat confdefs.h
>>conftest.
$ac_ext
14133 cat >>conftest.
$ac_ext <<_ACEOF
14134 /* end confdefs.h. */
14135 $ac_includes_default
14141 if (sizeof (short))
14147 rm -f conftest.
$ac_objext
14148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14149 (eval $ac_compile) 2>&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); } &&
14153 { ac_try
='test -s conftest.$ac_objext'
14154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14155 (eval $ac_try) 2>&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); }; }; then
14159 ac_cv_type_short
=yes
14161 echo "$as_me: failed program was:" >&5
14162 sed 's/^/| /' conftest.
$ac_ext >&5
14164 ac_cv_type_short
=no
14166 rm -f conftest.
$ac_objext conftest.
$ac_ext
14168 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14169 echo "${ECHO_T}$ac_cv_type_short" >&6
14171 echo "$as_me:$LINENO: checking size of short" >&5
14172 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14173 if test "${ac_cv_sizeof_short+set}" = set; then
14174 echo $ECHO_N "(cached) $ECHO_C" >&6
14176 if test "$ac_cv_type_short" = yes; then
14177 # The cast to unsigned long works around a bug in the HP C Compiler
14178 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14179 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14180 # This bug is HP SR number 8606223364.
14181 if test "$cross_compiling" = yes; then
14182 # Depending upon the size, compute the lo and hi bounds.
14183 cat >conftest.
$ac_ext <<_ACEOF
14184 #line $LINENO "configure"
14187 cat confdefs.h
>>conftest.
$ac_ext
14188 cat >>conftest.
$ac_ext <<_ACEOF
14189 /* end confdefs.h. */
14190 $ac_includes_default
14194 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14201 rm -f conftest.
$ac_objext
14202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14203 (eval $ac_compile) 2>&5
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); } &&
14207 { ac_try
='test -s conftest.$ac_objext'
14208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14209 (eval $ac_try) 2>&5
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); }; }; then
14215 cat >conftest.
$ac_ext <<_ACEOF
14216 #line $LINENO "configure"
14219 cat confdefs.h
>>conftest.
$ac_ext
14220 cat >>conftest.
$ac_ext <<_ACEOF
14221 /* end confdefs.h. */
14222 $ac_includes_default
14226 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14233 rm -f conftest.
$ac_objext
14234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14235 (eval $ac_compile) 2>&5
14237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238 (exit $ac_status); } &&
14239 { ac_try
='test -s conftest.$ac_objext'
14240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14241 (eval $ac_try) 2>&5
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); }; }; then
14245 ac_hi
=$ac_mid; break
14247 echo "$as_me: failed program was:" >&5
14248 sed 's/^/| /' conftest.
$ac_ext >&5
14250 ac_lo
=`expr $ac_mid + 1`
14251 if test $ac_lo -le $ac_mid; then
14255 ac_mid
=`expr 2 '*' $ac_mid + 1`
14257 rm -f conftest.
$ac_objext conftest.
$ac_ext
14260 echo "$as_me: failed program was:" >&5
14261 sed 's/^/| /' conftest.
$ac_ext >&5
14263 cat >conftest.
$ac_ext <<_ACEOF
14264 #line $LINENO "configure"
14267 cat confdefs.h
>>conftest.
$ac_ext
14268 cat >>conftest.
$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14270 $ac_includes_default
14274 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14281 rm -f conftest.
$ac_objext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14283 (eval $ac_compile) 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); } &&
14287 { ac_try
='test -s conftest.$ac_objext'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; }; then
14295 cat >conftest.
$ac_ext <<_ACEOF
14296 #line $LINENO "configure"
14299 cat confdefs.h
>>conftest.
$ac_ext
14300 cat >>conftest.
$ac_ext <<_ACEOF
14301 /* end confdefs.h. */
14302 $ac_includes_default
14306 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14313 rm -f conftest.
$ac_objext
14314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14315 (eval $ac_compile) 2>&5
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); } &&
14319 { ac_try
='test -s conftest.$ac_objext'
14320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14321 (eval $ac_try) 2>&5
14323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14324 (exit $ac_status); }; }; then
14325 ac_lo
=$ac_mid; break
14327 echo "$as_me: failed program was:" >&5
14328 sed 's/^/| /' conftest.
$ac_ext >&5
14330 ac_hi
=`expr '(' $ac_mid ')' - 1`
14331 if test $ac_mid -le $ac_hi; then
14335 ac_mid
=`expr 2 '*' $ac_mid`
14337 rm -f conftest.
$ac_objext conftest.
$ac_ext
14340 echo "$as_me: failed program was:" >&5
14341 sed 's/^/| /' conftest.
$ac_ext >&5
14345 rm -f conftest.
$ac_objext conftest.
$ac_ext
14347 rm -f conftest.
$ac_objext conftest.
$ac_ext
14348 # Binary search between lo and hi bounds.
14349 while test "x$ac_lo" != "x$ac_hi"; do
14350 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14351 cat >conftest.
$ac_ext <<_ACEOF
14352 #line $LINENO "configure"
14355 cat confdefs.h
>>conftest.
$ac_ext
14356 cat >>conftest.
$ac_ext <<_ACEOF
14357 /* end confdefs.h. */
14358 $ac_includes_default
14362 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14369 rm -f conftest.
$ac_objext
14370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14371 (eval $ac_compile) 2>&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); } &&
14375 { ac_try
='test -s conftest.$ac_objext'
14376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14377 (eval $ac_try) 2>&5
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); }; }; then
14383 echo "$as_me: failed program was:" >&5
14384 sed 's/^/| /' conftest.
$ac_ext >&5
14386 ac_lo
=`expr '(' $ac_mid ')' + 1`
14388 rm -f conftest.
$ac_objext conftest.
$ac_ext
14391 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14392 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14393 See \`config.log' for more details." >&5
14394 echo "$as_me: error: cannot compute sizeof (short), 77
14395 See \`config.log' for more details." >&2;}
14396 { (exit 1); exit 1; }; } ;;
14399 if test "$cross_compiling" = yes; then
14400 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14401 See \`config.log' for more details." >&5
14402 echo "$as_me: error: cannot run test program while cross compiling
14403 See \`config.log' for more details." >&2;}
14404 { (exit 1); exit 1; }; }
14406 cat >conftest.
$ac_ext <<_ACEOF
14407 #line $LINENO "configure"
14410 cat confdefs.h
>>conftest.
$ac_ext
14411 cat >>conftest.
$ac_ext <<_ACEOF
14412 /* end confdefs.h. */
14413 $ac_includes_default
14414 long longval () { return (long) (sizeof (short)); }
14415 unsigned long ulongval () { return (long) (sizeof (short)); }
14417 #include <stdlib.h>
14422 FILE *f = fopen ("conftest.val", "w");
14425 if (((long) (sizeof (short))) < 0)
14427 long i = longval ();
14428 if (i != ((long) (sizeof (short))))
14430 fprintf (f, "%ld\n", i);
14434 unsigned long i = ulongval ();
14435 if (i != ((long) (sizeof (short))))
14437 fprintf (f, "%lu\n", i);
14439 exit (ferror (f) || fclose (f) != 0);
14445 rm -f conftest
$ac_exeext
14446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14447 (eval $ac_link) 2>&5
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14452 (eval $ac_try) 2>&5
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); }; }; then
14456 ac_cv_sizeof_short
=`cat conftest.val`
14458 echo "$as_me: program exited with status $ac_status" >&5
14459 echo "$as_me: failed program was:" >&5
14460 sed 's/^/| /' conftest.
$ac_ext >&5
14462 ( exit $ac_status )
14463 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14464 See \`config.log' for more details." >&5
14465 echo "$as_me: error: cannot compute sizeof (short), 77
14466 See \`config.log' for more details." >&2;}
14467 { (exit 1); exit 1; }; }
14469 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14474 ac_cv_sizeof_short
=0
14477 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14478 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14479 cat >>confdefs.h
<<_ACEOF
14480 #define SIZEOF_SHORT $ac_cv_sizeof_short
14484 echo "$as_me:$LINENO: checking for void *" >&5
14485 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14486 if test "${ac_cv_type_void_p+set}" = set; then
14487 echo $ECHO_N "(cached) $ECHO_C" >&6
14489 cat >conftest.
$ac_ext <<_ACEOF
14490 #line $LINENO "configure"
14493 cat confdefs.h
>>conftest.
$ac_ext
14494 cat >>conftest.
$ac_ext <<_ACEOF
14495 /* end confdefs.h. */
14496 $ac_includes_default
14502 if (sizeof (void *))
14508 rm -f conftest.
$ac_objext
14509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14510 (eval $ac_compile) 2>&5
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); } &&
14514 { ac_try
='test -s conftest.$ac_objext'
14515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14516 (eval $ac_try) 2>&5
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); }; }; then
14520 ac_cv_type_void_p
=yes
14522 echo "$as_me: failed program was:" >&5
14523 sed 's/^/| /' conftest.
$ac_ext >&5
14525 ac_cv_type_void_p
=no
14527 rm -f conftest.
$ac_objext conftest.
$ac_ext
14529 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14530 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14532 echo "$as_me:$LINENO: checking size of void *" >&5
14533 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14534 if test "${ac_cv_sizeof_void_p+set}" = set; then
14535 echo $ECHO_N "(cached) $ECHO_C" >&6
14537 if test "$ac_cv_type_void_p" = yes; then
14538 # The cast to unsigned long works around a bug in the HP C Compiler
14539 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14540 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14541 # This bug is HP SR number 8606223364.
14542 if test "$cross_compiling" = yes; then
14543 # Depending upon the size, compute the lo and hi bounds.
14544 cat >conftest.
$ac_ext <<_ACEOF
14545 #line $LINENO "configure"
14548 cat confdefs.h
>>conftest.
$ac_ext
14549 cat >>conftest.
$ac_ext <<_ACEOF
14550 /* end confdefs.h. */
14551 $ac_includes_default
14555 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14562 rm -f conftest.
$ac_objext
14563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14564 (eval $ac_compile) 2>&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); } &&
14568 { ac_try
='test -s conftest.$ac_objext'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; }; then
14576 cat >conftest.
$ac_ext <<_ACEOF
14577 #line $LINENO "configure"
14580 cat confdefs.h
>>conftest.
$ac_ext
14581 cat >>conftest.
$ac_ext <<_ACEOF
14582 /* end confdefs.h. */
14583 $ac_includes_default
14587 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14594 rm -f conftest.
$ac_objext
14595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14596 (eval $ac_compile) 2>&5
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); } &&
14600 { ac_try
='test -s conftest.$ac_objext'
14601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14602 (eval $ac_try) 2>&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); }; }; then
14606 ac_hi
=$ac_mid; break
14608 echo "$as_me: failed program was:" >&5
14609 sed 's/^/| /' conftest.
$ac_ext >&5
14611 ac_lo
=`expr $ac_mid + 1`
14612 if test $ac_lo -le $ac_mid; then
14616 ac_mid
=`expr 2 '*' $ac_mid + 1`
14618 rm -f conftest.
$ac_objext conftest.
$ac_ext
14621 echo "$as_me: failed program was:" >&5
14622 sed 's/^/| /' conftest.
$ac_ext >&5
14624 cat >conftest.
$ac_ext <<_ACEOF
14625 #line $LINENO "configure"
14628 cat confdefs.h
>>conftest.
$ac_ext
14629 cat >>conftest.
$ac_ext <<_ACEOF
14630 /* end confdefs.h. */
14631 $ac_includes_default
14635 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14642 rm -f conftest.
$ac_objext
14643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14644 (eval $ac_compile) 2>&5
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); } &&
14648 { ac_try
='test -s conftest.$ac_objext'
14649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14650 (eval $ac_try) 2>&5
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); }; }; then
14656 cat >conftest.
$ac_ext <<_ACEOF
14657 #line $LINENO "configure"
14660 cat confdefs.h
>>conftest.
$ac_ext
14661 cat >>conftest.
$ac_ext <<_ACEOF
14662 /* end confdefs.h. */
14663 $ac_includes_default
14667 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14674 rm -f conftest.
$ac_objext
14675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14676 (eval $ac_compile) 2>&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); } &&
14680 { ac_try
='test -s conftest.$ac_objext'
14681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14682 (eval $ac_try) 2>&5
14684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14685 (exit $ac_status); }; }; then
14686 ac_lo
=$ac_mid; break
14688 echo "$as_me: failed program was:" >&5
14689 sed 's/^/| /' conftest.
$ac_ext >&5
14691 ac_hi
=`expr '(' $ac_mid ')' - 1`
14692 if test $ac_mid -le $ac_hi; then
14696 ac_mid
=`expr 2 '*' $ac_mid`
14698 rm -f conftest.
$ac_objext conftest.
$ac_ext
14701 echo "$as_me: failed program was:" >&5
14702 sed 's/^/| /' conftest.
$ac_ext >&5
14706 rm -f conftest.
$ac_objext conftest.
$ac_ext
14708 rm -f conftest.
$ac_objext conftest.
$ac_ext
14709 # Binary search between lo and hi bounds.
14710 while test "x$ac_lo" != "x$ac_hi"; do
14711 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14712 cat >conftest.
$ac_ext <<_ACEOF
14713 #line $LINENO "configure"
14716 cat confdefs.h
>>conftest.
$ac_ext
14717 cat >>conftest.
$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14719 $ac_includes_default
14723 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14730 rm -f conftest.
$ac_objext
14731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14732 (eval $ac_compile) 2>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } &&
14736 { ac_try
='test -s conftest.$ac_objext'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 (eval $ac_try) 2>&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; }; then
14744 echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.
$ac_ext >&5
14747 ac_lo
=`expr '(' $ac_mid ')' + 1`
14749 rm -f conftest.
$ac_objext conftest.
$ac_ext
14752 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14753 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14754 See \`config.log' for more details." >&5
14755 echo "$as_me: error: cannot compute sizeof (void *), 77
14756 See \`config.log' for more details." >&2;}
14757 { (exit 1); exit 1; }; } ;;
14760 if test "$cross_compiling" = yes; then
14761 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14762 See \`config.log' for more details." >&5
14763 echo "$as_me: error: cannot run test program while cross compiling
14764 See \`config.log' for more details." >&2;}
14765 { (exit 1); exit 1; }; }
14767 cat >conftest.
$ac_ext <<_ACEOF
14768 #line $LINENO "configure"
14771 cat confdefs.h
>>conftest.
$ac_ext
14772 cat >>conftest.
$ac_ext <<_ACEOF
14773 /* end confdefs.h. */
14774 $ac_includes_default
14775 long longval () { return (long) (sizeof (void *)); }
14776 unsigned long ulongval () { return (long) (sizeof (void *)); }
14778 #include <stdlib.h>
14783 FILE *f = fopen ("conftest.val", "w");
14786 if (((long) (sizeof (void *))) < 0)
14788 long i = longval ();
14789 if (i != ((long) (sizeof (void *))))
14791 fprintf (f, "%ld\n", i);
14795 unsigned long i = ulongval ();
14796 if (i != ((long) (sizeof (void *))))
14798 fprintf (f, "%lu\n", i);
14800 exit (ferror (f) || fclose (f) != 0);
14806 rm -f conftest
$ac_exeext
14807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14808 (eval $ac_link) 2>&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14813 (eval $ac_try) 2>&5
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; }; then
14817 ac_cv_sizeof_void_p
=`cat conftest.val`
14819 echo "$as_me: program exited with status $ac_status" >&5
14820 echo "$as_me: failed program was:" >&5
14821 sed 's/^/| /' conftest.
$ac_ext >&5
14823 ( exit $ac_status )
14824 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14825 See \`config.log' for more details." >&5
14826 echo "$as_me: error: cannot compute sizeof (void *), 77
14827 See \`config.log' for more details." >&2;}
14828 { (exit 1); exit 1; }; }
14830 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14835 ac_cv_sizeof_void_p
=0
14838 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14839 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14840 cat >>confdefs.h
<<_ACEOF
14841 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14845 echo "$as_me:$LINENO: checking for int" >&5
14846 echo $ECHO_N "checking for int... $ECHO_C" >&6
14847 if test "${ac_cv_type_int+set}" = set; then
14848 echo $ECHO_N "(cached) $ECHO_C" >&6
14850 cat >conftest.
$ac_ext <<_ACEOF
14851 #line $LINENO "configure"
14854 cat confdefs.h
>>conftest.
$ac_ext
14855 cat >>conftest.
$ac_ext <<_ACEOF
14856 /* end confdefs.h. */
14857 $ac_includes_default
14869 rm -f conftest.
$ac_objext
14870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14871 (eval $ac_compile) 2>&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); } &&
14875 { ac_try
='test -s conftest.$ac_objext'
14876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14877 (eval $ac_try) 2>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; }; then
14883 echo "$as_me: failed program was:" >&5
14884 sed 's/^/| /' conftest.
$ac_ext >&5
14888 rm -f conftest.
$ac_objext conftest.
$ac_ext
14890 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14891 echo "${ECHO_T}$ac_cv_type_int" >&6
14893 echo "$as_me:$LINENO: checking size of int" >&5
14894 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14895 if test "${ac_cv_sizeof_int+set}" = set; then
14896 echo $ECHO_N "(cached) $ECHO_C" >&6
14898 if test "$ac_cv_type_int" = yes; then
14899 # The cast to unsigned long works around a bug in the HP C Compiler
14900 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14901 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14902 # This bug is HP SR number 8606223364.
14903 if test "$cross_compiling" = yes; then
14904 # Depending upon the size, compute the lo and hi bounds.
14905 cat >conftest.
$ac_ext <<_ACEOF
14906 #line $LINENO "configure"
14909 cat confdefs.h
>>conftest.
$ac_ext
14910 cat >>conftest.
$ac_ext <<_ACEOF
14911 /* end confdefs.h. */
14912 $ac_includes_default
14916 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14923 rm -f conftest.
$ac_objext
14924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14925 (eval $ac_compile) 2>&5
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); } &&
14929 { ac_try
='test -s conftest.$ac_objext'
14930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14931 (eval $ac_try) 2>&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); }; }; then
14937 cat >conftest.
$ac_ext <<_ACEOF
14938 #line $LINENO "configure"
14941 cat confdefs.h
>>conftest.
$ac_ext
14942 cat >>conftest.
$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14944 $ac_includes_default
14948 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14955 rm -f conftest.
$ac_objext
14956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14957 (eval $ac_compile) 2>&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); } &&
14961 { ac_try
='test -s conftest.$ac_objext'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; }; then
14967 ac_hi
=$ac_mid; break
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.
$ac_ext >&5
14972 ac_lo
=`expr $ac_mid + 1`
14973 if test $ac_lo -le $ac_mid; then
14977 ac_mid
=`expr 2 '*' $ac_mid + 1`
14979 rm -f conftest.
$ac_objext conftest.
$ac_ext
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.
$ac_ext >&5
14985 cat >conftest.
$ac_ext <<_ACEOF
14986 #line $LINENO "configure"
14989 cat confdefs.h
>>conftest.
$ac_ext
14990 cat >>conftest.
$ac_ext <<_ACEOF
14991 /* end confdefs.h. */
14992 $ac_includes_default
14996 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15003 rm -f conftest.
$ac_objext
15004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15005 (eval $ac_compile) 2>&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); } &&
15009 { ac_try
='test -s conftest.$ac_objext'
15010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15011 (eval $ac_try) 2>&5
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); }; }; then
15017 cat >conftest.
$ac_ext <<_ACEOF
15018 #line $LINENO "configure"
15021 cat confdefs.h
>>conftest.
$ac_ext
15022 cat >>conftest.
$ac_ext <<_ACEOF
15023 /* end confdefs.h. */
15024 $ac_includes_default
15028 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15035 rm -f conftest.
$ac_objext
15036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15037 (eval $ac_compile) 2>&5
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); } &&
15041 { ac_try
='test -s conftest.$ac_objext'
15042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15043 (eval $ac_try) 2>&5
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); }; }; then
15047 ac_lo
=$ac_mid; break
15049 echo "$as_me: failed program was:" >&5
15050 sed 's/^/| /' conftest.
$ac_ext >&5
15052 ac_hi
=`expr '(' $ac_mid ')' - 1`
15053 if test $ac_mid -le $ac_hi; then
15057 ac_mid
=`expr 2 '*' $ac_mid`
15059 rm -f conftest.
$ac_objext conftest.
$ac_ext
15062 echo "$as_me: failed program was:" >&5
15063 sed 's/^/| /' conftest.
$ac_ext >&5
15067 rm -f conftest.
$ac_objext conftest.
$ac_ext
15069 rm -f conftest.
$ac_objext conftest.
$ac_ext
15070 # Binary search between lo and hi bounds.
15071 while test "x$ac_lo" != "x$ac_hi"; do
15072 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15073 cat >conftest.
$ac_ext <<_ACEOF
15074 #line $LINENO "configure"
15077 cat confdefs.h
>>conftest.
$ac_ext
15078 cat >>conftest.
$ac_ext <<_ACEOF
15079 /* end confdefs.h. */
15080 $ac_includes_default
15084 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15091 rm -f conftest.
$ac_objext
15092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15093 (eval $ac_compile) 2>&5
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); } &&
15097 { ac_try
='test -s conftest.$ac_objext'
15098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15099 (eval $ac_try) 2>&5
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); }; }; then
15105 echo "$as_me: failed program was:" >&5
15106 sed 's/^/| /' conftest.
$ac_ext >&5
15108 ac_lo
=`expr '(' $ac_mid ')' + 1`
15110 rm -f conftest.
$ac_objext conftest.
$ac_ext
15113 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15114 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15115 See \`config.log' for more details." >&5
15116 echo "$as_me: error: cannot compute sizeof (int), 77
15117 See \`config.log' for more details." >&2;}
15118 { (exit 1); exit 1; }; } ;;
15121 if test "$cross_compiling" = yes; then
15122 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15123 See \`config.log' for more details." >&5
15124 echo "$as_me: error: cannot run test program while cross compiling
15125 See \`config.log' for more details." >&2;}
15126 { (exit 1); exit 1; }; }
15128 cat >conftest.
$ac_ext <<_ACEOF
15129 #line $LINENO "configure"
15132 cat confdefs.h
>>conftest.
$ac_ext
15133 cat >>conftest.
$ac_ext <<_ACEOF
15134 /* end confdefs.h. */
15135 $ac_includes_default
15136 long longval () { return (long) (sizeof (int)); }
15137 unsigned long ulongval () { return (long) (sizeof (int)); }
15139 #include <stdlib.h>
15144 FILE *f = fopen ("conftest.val", "w");
15147 if (((long) (sizeof (int))) < 0)
15149 long i = longval ();
15150 if (i != ((long) (sizeof (int))))
15152 fprintf (f, "%ld\n", i);
15156 unsigned long i = ulongval ();
15157 if (i != ((long) (sizeof (int))))
15159 fprintf (f, "%lu\n", i);
15161 exit (ferror (f) || fclose (f) != 0);
15167 rm -f conftest
$ac_exeext
15168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15169 (eval $ac_link) 2>&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15174 (eval $ac_try) 2>&5
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }; }; then
15178 ac_cv_sizeof_int
=`cat conftest.val`
15180 echo "$as_me: program exited with status $ac_status" >&5
15181 echo "$as_me: failed program was:" >&5
15182 sed 's/^/| /' conftest.
$ac_ext >&5
15184 ( exit $ac_status )
15185 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15186 See \`config.log' for more details." >&5
15187 echo "$as_me: error: cannot compute sizeof (int), 77
15188 See \`config.log' for more details." >&2;}
15189 { (exit 1); exit 1; }; }
15191 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15199 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15200 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15201 cat >>confdefs.h
<<_ACEOF
15202 #define SIZEOF_INT $ac_cv_sizeof_int
15206 echo "$as_me:$LINENO: checking for long" >&5
15207 echo $ECHO_N "checking for long... $ECHO_C" >&6
15208 if test "${ac_cv_type_long+set}" = set; then
15209 echo $ECHO_N "(cached) $ECHO_C" >&6
15211 cat >conftest.
$ac_ext <<_ACEOF
15212 #line $LINENO "configure"
15215 cat confdefs.h
>>conftest.
$ac_ext
15216 cat >>conftest.
$ac_ext <<_ACEOF
15217 /* end confdefs.h. */
15218 $ac_includes_default
15230 rm -f conftest.
$ac_objext
15231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15232 (eval $ac_compile) 2>&5
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); } &&
15236 { ac_try
='test -s conftest.$ac_objext'
15237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15238 (eval $ac_try) 2>&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); }; }; then
15242 ac_cv_type_long
=yes
15244 echo "$as_me: failed program was:" >&5
15245 sed 's/^/| /' conftest.
$ac_ext >&5
15249 rm -f conftest.
$ac_objext conftest.
$ac_ext
15251 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15252 echo "${ECHO_T}$ac_cv_type_long" >&6
15254 echo "$as_me:$LINENO: checking size of long" >&5
15255 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15256 if test "${ac_cv_sizeof_long+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15259 if test "$ac_cv_type_long" = yes; then
15260 # The cast to unsigned long works around a bug in the HP C Compiler
15261 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15262 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15263 # This bug is HP SR number 8606223364.
15264 if test "$cross_compiling" = yes; then
15265 # Depending upon the size, compute the lo and hi bounds.
15266 cat >conftest.
$ac_ext <<_ACEOF
15267 #line $LINENO "configure"
15270 cat confdefs.h
>>conftest.
$ac_ext
15271 cat >>conftest.
$ac_ext <<_ACEOF
15272 /* end confdefs.h. */
15273 $ac_includes_default
15277 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15284 rm -f conftest.
$ac_objext
15285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15286 (eval $ac_compile) 2>&5
15288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15289 (exit $ac_status); } &&
15290 { ac_try
='test -s conftest.$ac_objext'
15291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15292 (eval $ac_try) 2>&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); }; }; then
15298 cat >conftest.
$ac_ext <<_ACEOF
15299 #line $LINENO "configure"
15302 cat confdefs.h
>>conftest.
$ac_ext
15303 cat >>conftest.
$ac_ext <<_ACEOF
15304 /* end confdefs.h. */
15305 $ac_includes_default
15309 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15316 rm -f conftest.
$ac_objext
15317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15318 (eval $ac_compile) 2>&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); } &&
15322 { ac_try
='test -s conftest.$ac_objext'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; }; then
15328 ac_hi
=$ac_mid; break
15330 echo "$as_me: failed program was:" >&5
15331 sed 's/^/| /' conftest.
$ac_ext >&5
15333 ac_lo
=`expr $ac_mid + 1`
15334 if test $ac_lo -le $ac_mid; then
15338 ac_mid
=`expr 2 '*' $ac_mid + 1`
15340 rm -f conftest.
$ac_objext conftest.
$ac_ext
15343 echo "$as_me: failed program was:" >&5
15344 sed 's/^/| /' conftest.
$ac_ext >&5
15346 cat >conftest.
$ac_ext <<_ACEOF
15347 #line $LINENO "configure"
15350 cat confdefs.h
>>conftest.
$ac_ext
15351 cat >>conftest.
$ac_ext <<_ACEOF
15352 /* end confdefs.h. */
15353 $ac_includes_default
15357 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15364 rm -f conftest.
$ac_objext
15365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15366 (eval $ac_compile) 2>&5
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); } &&
15370 { ac_try
='test -s conftest.$ac_objext'
15371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15372 (eval $ac_try) 2>&5
15374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375 (exit $ac_status); }; }; then
15378 cat >conftest.
$ac_ext <<_ACEOF
15379 #line $LINENO "configure"
15382 cat confdefs.h
>>conftest.
$ac_ext
15383 cat >>conftest.
$ac_ext <<_ACEOF
15384 /* end confdefs.h. */
15385 $ac_includes_default
15389 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15396 rm -f conftest.
$ac_objext
15397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15398 (eval $ac_compile) 2>&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } &&
15402 { ac_try
='test -s conftest.$ac_objext'
15403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15404 (eval $ac_try) 2>&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); }; }; then
15408 ac_lo
=$ac_mid; break
15410 echo "$as_me: failed program was:" >&5
15411 sed 's/^/| /' conftest.
$ac_ext >&5
15413 ac_hi
=`expr '(' $ac_mid ')' - 1`
15414 if test $ac_mid -le $ac_hi; then
15418 ac_mid
=`expr 2 '*' $ac_mid`
15420 rm -f conftest.
$ac_objext conftest.
$ac_ext
15423 echo "$as_me: failed program was:" >&5
15424 sed 's/^/| /' conftest.
$ac_ext >&5
15428 rm -f conftest.
$ac_objext conftest.
$ac_ext
15430 rm -f conftest.
$ac_objext conftest.
$ac_ext
15431 # Binary search between lo and hi bounds.
15432 while test "x$ac_lo" != "x$ac_hi"; do
15433 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15434 cat >conftest.
$ac_ext <<_ACEOF
15435 #line $LINENO "configure"
15438 cat confdefs.h
>>conftest.
$ac_ext
15439 cat >>conftest.
$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15441 $ac_includes_default
15445 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15452 rm -f conftest.
$ac_objext
15453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15454 (eval $ac_compile) 2>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); } &&
15458 { ac_try
='test -s conftest.$ac_objext'
15459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15460 (eval $ac_try) 2>&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); }; }; then
15466 echo "$as_me: failed program was:" >&5
15467 sed 's/^/| /' conftest.
$ac_ext >&5
15469 ac_lo
=`expr '(' $ac_mid ')' + 1`
15471 rm -f conftest.
$ac_objext conftest.
$ac_ext
15474 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15475 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15476 See \`config.log' for more details." >&5
15477 echo "$as_me: error: cannot compute sizeof (long), 77
15478 See \`config.log' for more details." >&2;}
15479 { (exit 1); exit 1; }; } ;;
15482 if test "$cross_compiling" = yes; then
15483 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15484 See \`config.log' for more details." >&5
15485 echo "$as_me: error: cannot run test program while cross compiling
15486 See \`config.log' for more details." >&2;}
15487 { (exit 1); exit 1; }; }
15489 cat >conftest.
$ac_ext <<_ACEOF
15490 #line $LINENO "configure"
15493 cat confdefs.h
>>conftest.
$ac_ext
15494 cat >>conftest.
$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15496 $ac_includes_default
15497 long longval () { return (long) (sizeof (long)); }
15498 unsigned long ulongval () { return (long) (sizeof (long)); }
15500 #include <stdlib.h>
15505 FILE *f = fopen ("conftest.val", "w");
15508 if (((long) (sizeof (long))) < 0)
15510 long i = longval ();
15511 if (i != ((long) (sizeof (long))))
15513 fprintf (f, "%ld\n", i);
15517 unsigned long i = ulongval ();
15518 if (i != ((long) (sizeof (long))))
15520 fprintf (f, "%lu\n", i);
15522 exit (ferror (f) || fclose (f) != 0);
15528 rm -f conftest
$ac_exeext
15529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15530 (eval $ac_link) 2>&5
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15535 (eval $ac_try) 2>&5
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); }; }; then
15539 ac_cv_sizeof_long
=`cat conftest.val`
15541 echo "$as_me: program exited with status $ac_status" >&5
15542 echo "$as_me: failed program was:" >&5
15543 sed 's/^/| /' conftest.
$ac_ext >&5
15545 ( exit $ac_status )
15546 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15547 See \`config.log' for more details." >&5
15548 echo "$as_me: error: cannot compute sizeof (long), 77
15549 See \`config.log' for more details." >&2;}
15550 { (exit 1); exit 1; }; }
15552 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15557 ac_cv_sizeof_long
=0
15560 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15561 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15562 cat >>confdefs.h
<<_ACEOF
15563 #define SIZEOF_LONG $ac_cv_sizeof_long
15570 echo "$as_me:$LINENO: checking for long long" >&5
15571 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15572 if test "${ac_cv_type_long_long+set}" = set; then
15573 echo $ECHO_N "(cached) $ECHO_C" >&6
15575 cat >conftest.
$ac_ext <<_ACEOF
15576 #line $LINENO "configure"
15579 cat confdefs.h
>>conftest.
$ac_ext
15580 cat >>conftest.
$ac_ext <<_ACEOF
15581 /* end confdefs.h. */
15582 $ac_includes_default
15586 if ((long long *) 0)
15588 if (sizeof (long long))
15594 rm -f conftest.
$ac_objext
15595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15596 (eval $ac_compile) 2>&5
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); } &&
15600 { ac_try
='test -s conftest.$ac_objext'
15601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15602 (eval $ac_try) 2>&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); }; }; then
15606 ac_cv_type_long_long
=yes
15608 echo "$as_me: failed program was:" >&5
15609 sed 's/^/| /' conftest.
$ac_ext >&5
15611 ac_cv_type_long_long
=no
15613 rm -f conftest.
$ac_objext conftest.
$ac_ext
15615 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15616 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15618 echo "$as_me:$LINENO: checking size of long long" >&5
15619 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15620 if test "${ac_cv_sizeof_long_long+set}" = set; then
15621 echo $ECHO_N "(cached) $ECHO_C" >&6
15623 if test "$ac_cv_type_long_long" = yes; then
15624 # The cast to unsigned long works around a bug in the HP C Compiler
15625 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15626 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15627 # This bug is HP SR number 8606223364.
15628 if test "$cross_compiling" = yes; then
15629 # Depending upon the size, compute the lo and hi bounds.
15630 cat >conftest.
$ac_ext <<_ACEOF
15631 #line $LINENO "configure"
15634 cat confdefs.h
>>conftest.
$ac_ext
15635 cat >>conftest.
$ac_ext <<_ACEOF
15636 /* end confdefs.h. */
15637 $ac_includes_default
15641 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15648 rm -f conftest.
$ac_objext
15649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15650 (eval $ac_compile) 2>&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); } &&
15654 { ac_try
='test -s conftest.$ac_objext'
15655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15656 (eval $ac_try) 2>&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); }; }; then
15662 cat >conftest.
$ac_ext <<_ACEOF
15663 #line $LINENO "configure"
15666 cat confdefs.h
>>conftest.
$ac_ext
15667 cat >>conftest.
$ac_ext <<_ACEOF
15668 /* end confdefs.h. */
15669 $ac_includes_default
15673 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15680 rm -f conftest.
$ac_objext
15681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15682 (eval $ac_compile) 2>&5
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); } &&
15686 { ac_try
='test -s conftest.$ac_objext'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; }; then
15692 ac_hi
=$ac_mid; break
15694 echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.
$ac_ext >&5
15697 ac_lo
=`expr $ac_mid + 1`
15698 if test $ac_lo -le $ac_mid; then
15702 ac_mid
=`expr 2 '*' $ac_mid + 1`
15704 rm -f conftest.
$ac_objext conftest.
$ac_ext
15707 echo "$as_me: failed program was:" >&5
15708 sed 's/^/| /' conftest.
$ac_ext >&5
15710 cat >conftest.
$ac_ext <<_ACEOF
15711 #line $LINENO "configure"
15714 cat confdefs.h
>>conftest.
$ac_ext
15715 cat >>conftest.
$ac_ext <<_ACEOF
15716 /* end confdefs.h. */
15717 $ac_includes_default
15721 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15728 rm -f conftest.
$ac_objext
15729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15730 (eval $ac_compile) 2>&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); } &&
15734 { ac_try
='test -s conftest.$ac_objext'
15735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15736 (eval $ac_try) 2>&5
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); }; }; then
15742 cat >conftest.
$ac_ext <<_ACEOF
15743 #line $LINENO "configure"
15746 cat confdefs.h
>>conftest.
$ac_ext
15747 cat >>conftest.
$ac_ext <<_ACEOF
15748 /* end confdefs.h. */
15749 $ac_includes_default
15753 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15760 rm -f conftest.
$ac_objext
15761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15762 (eval $ac_compile) 2>&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } &&
15766 { ac_try
='test -s conftest.$ac_objext'
15767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15768 (eval $ac_try) 2>&5
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); }; }; then
15772 ac_lo
=$ac_mid; break
15774 echo "$as_me: failed program was:" >&5
15775 sed 's/^/| /' conftest.
$ac_ext >&5
15777 ac_hi
=`expr '(' $ac_mid ')' - 1`
15778 if test $ac_mid -le $ac_hi; then
15782 ac_mid
=`expr 2 '*' $ac_mid`
15784 rm -f conftest.
$ac_objext conftest.
$ac_ext
15787 echo "$as_me: failed program was:" >&5
15788 sed 's/^/| /' conftest.
$ac_ext >&5
15792 rm -f conftest.
$ac_objext conftest.
$ac_ext
15794 rm -f conftest.
$ac_objext conftest.
$ac_ext
15795 # Binary search between lo and hi bounds.
15796 while test "x$ac_lo" != "x$ac_hi"; do
15797 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15798 cat >conftest.
$ac_ext <<_ACEOF
15799 #line $LINENO "configure"
15802 cat confdefs.h
>>conftest.
$ac_ext
15803 cat >>conftest.
$ac_ext <<_ACEOF
15804 /* end confdefs.h. */
15805 $ac_includes_default
15809 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15816 rm -f conftest.
$ac_objext
15817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15818 (eval $ac_compile) 2>&5
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); } &&
15822 { ac_try
='test -s conftest.$ac_objext'
15823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15824 (eval $ac_try) 2>&5
15826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); }; }; then
15830 echo "$as_me: failed program was:" >&5
15831 sed 's/^/| /' conftest.
$ac_ext >&5
15833 ac_lo
=`expr '(' $ac_mid ')' + 1`
15835 rm -f conftest.
$ac_objext conftest.
$ac_ext
15838 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15839 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15840 See \`config.log' for more details." >&5
15841 echo "$as_me: error: cannot compute sizeof (long long), 77
15842 See \`config.log' for more details." >&2;}
15843 { (exit 1); exit 1; }; } ;;
15846 if test "$cross_compiling" = yes; then
15847 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15848 See \`config.log' for more details." >&5
15849 echo "$as_me: error: cannot run test program while cross compiling
15850 See \`config.log' for more details." >&2;}
15851 { (exit 1); exit 1; }; }
15853 cat >conftest.
$ac_ext <<_ACEOF
15854 #line $LINENO "configure"
15857 cat confdefs.h
>>conftest.
$ac_ext
15858 cat >>conftest.
$ac_ext <<_ACEOF
15859 /* end confdefs.h. */
15860 $ac_includes_default
15861 long longval () { return (long) (sizeof (long long)); }
15862 unsigned long ulongval () { return (long) (sizeof (long long)); }
15864 #include <stdlib.h>
15869 FILE *f = fopen ("conftest.val", "w");
15872 if (((long) (sizeof (long long))) < 0)
15874 long i = longval ();
15875 if (i != ((long) (sizeof (long long))))
15877 fprintf (f, "%ld\n", i);
15881 unsigned long i = ulongval ();
15882 if (i != ((long) (sizeof (long long))))
15884 fprintf (f, "%lu\n", i);
15886 exit (ferror (f) || fclose (f) != 0);
15892 rm -f conftest
$ac_exeext
15893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15894 (eval $ac_link) 2>&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15899 (eval $ac_try) 2>&5
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); }; }; then
15903 ac_cv_sizeof_long_long
=`cat conftest.val`
15905 echo "$as_me: program exited with status $ac_status" >&5
15906 echo "$as_me: failed program was:" >&5
15907 sed 's/^/| /' conftest.
$ac_ext >&5
15909 ( exit $ac_status )
15910 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15911 See \`config.log' for more details." >&5
15912 echo "$as_me: error: cannot compute sizeof (long long), 77
15913 See \`config.log' for more details." >&2;}
15914 { (exit 1); exit 1; }; }
15916 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15921 ac_cv_sizeof_long_long
=0
15924 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15925 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15926 cat >>confdefs.h
<<_ACEOF
15927 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15933 echo "$as_me:$LINENO: checking for long long" >&5
15934 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15935 if test "${ac_cv_type_long_long+set}" = set; then
15936 echo $ECHO_N "(cached) $ECHO_C" >&6
15938 cat >conftest.
$ac_ext <<_ACEOF
15939 #line $LINENO "configure"
15942 cat confdefs.h
>>conftest.
$ac_ext
15943 cat >>conftest.
$ac_ext <<_ACEOF
15944 /* end confdefs.h. */
15945 $ac_includes_default
15949 if ((long long *) 0)
15951 if (sizeof (long long))
15957 rm -f conftest.
$ac_objext
15958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15959 (eval $ac_compile) 2>&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); } &&
15963 { ac_try
='test -s conftest.$ac_objext'
15964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15965 (eval $ac_try) 2>&5
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); }; }; then
15969 ac_cv_type_long_long
=yes
15971 echo "$as_me: failed program was:" >&5
15972 sed 's/^/| /' conftest.
$ac_ext >&5
15974 ac_cv_type_long_long
=no
15976 rm -f conftest.
$ac_objext conftest.
$ac_ext
15978 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15979 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15981 echo "$as_me:$LINENO: checking size of long long" >&5
15982 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15983 if test "${ac_cv_sizeof_long_long+set}" = set; then
15984 echo $ECHO_N "(cached) $ECHO_C" >&6
15986 if test "$ac_cv_type_long_long" = yes; then
15987 # The cast to unsigned long works around a bug in the HP C Compiler
15988 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15989 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15990 # This bug is HP SR number 8606223364.
15991 if test "$cross_compiling" = yes; then
15992 # Depending upon the size, compute the lo and hi bounds.
15993 cat >conftest.
$ac_ext <<_ACEOF
15994 #line $LINENO "configure"
15997 cat confdefs.h
>>conftest.
$ac_ext
15998 cat >>conftest.
$ac_ext <<_ACEOF
15999 /* end confdefs.h. */
16000 $ac_includes_default
16004 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16011 rm -f conftest.
$ac_objext
16012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16013 (eval $ac_compile) 2>&5
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); } &&
16017 { ac_try
='test -s conftest.$ac_objext'
16018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16019 (eval $ac_try) 2>&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); }; }; then
16025 cat >conftest.
$ac_ext <<_ACEOF
16026 #line $LINENO "configure"
16029 cat confdefs.h
>>conftest.
$ac_ext
16030 cat >>conftest.
$ac_ext <<_ACEOF
16031 /* end confdefs.h. */
16032 $ac_includes_default
16036 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16043 rm -f conftest.
$ac_objext
16044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16045 (eval $ac_compile) 2>&5
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); } &&
16049 { ac_try
='test -s conftest.$ac_objext'
16050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16051 (eval $ac_try) 2>&5
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); }; }; then
16055 ac_hi
=$ac_mid; break
16057 echo "$as_me: failed program was:" >&5
16058 sed 's/^/| /' conftest.
$ac_ext >&5
16060 ac_lo
=`expr $ac_mid + 1`
16061 if test $ac_lo -le $ac_mid; then
16065 ac_mid
=`expr 2 '*' $ac_mid + 1`
16067 rm -f conftest.
$ac_objext conftest.
$ac_ext
16070 echo "$as_me: failed program was:" >&5
16071 sed 's/^/| /' conftest.
$ac_ext >&5
16073 cat >conftest.
$ac_ext <<_ACEOF
16074 #line $LINENO "configure"
16077 cat confdefs.h
>>conftest.
$ac_ext
16078 cat >>conftest.
$ac_ext <<_ACEOF
16079 /* end confdefs.h. */
16080 $ac_includes_default
16084 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16091 rm -f conftest.
$ac_objext
16092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16093 (eval $ac_compile) 2>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); } &&
16097 { ac_try
='test -s conftest.$ac_objext'
16098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 (eval $ac_try) 2>&5
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); }; }; then
16105 cat >conftest.
$ac_ext <<_ACEOF
16106 #line $LINENO "configure"
16109 cat confdefs.h
>>conftest.
$ac_ext
16110 cat >>conftest.
$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16112 $ac_includes_default
16116 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16123 rm -f conftest.
$ac_objext
16124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16125 (eval $ac_compile) 2>&5
16127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16128 (exit $ac_status); } &&
16129 { ac_try
='test -s conftest.$ac_objext'
16130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16131 (eval $ac_try) 2>&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); }; }; then
16135 ac_lo
=$ac_mid; break
16137 echo "$as_me: failed program was:" >&5
16138 sed 's/^/| /' conftest.
$ac_ext >&5
16140 ac_hi
=`expr '(' $ac_mid ')' - 1`
16141 if test $ac_mid -le $ac_hi; then
16145 ac_mid
=`expr 2 '*' $ac_mid`
16147 rm -f conftest.
$ac_objext conftest.
$ac_ext
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.
$ac_ext >&5
16155 rm -f conftest.
$ac_objext conftest.
$ac_ext
16157 rm -f conftest.
$ac_objext conftest.
$ac_ext
16158 # Binary search between lo and hi bounds.
16159 while test "x$ac_lo" != "x$ac_hi"; do
16160 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16161 cat >conftest.
$ac_ext <<_ACEOF
16162 #line $LINENO "configure"
16165 cat confdefs.h
>>conftest.
$ac_ext
16166 cat >>conftest.
$ac_ext <<_ACEOF
16167 /* end confdefs.h. */
16168 $ac_includes_default
16172 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16179 rm -f conftest.
$ac_objext
16180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16181 (eval $ac_compile) 2>&5
16183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16184 (exit $ac_status); } &&
16185 { ac_try
='test -s conftest.$ac_objext'
16186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16187 (eval $ac_try) 2>&5
16189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16190 (exit $ac_status); }; }; then
16193 echo "$as_me: failed program was:" >&5
16194 sed 's/^/| /' conftest.
$ac_ext >&5
16196 ac_lo
=`expr '(' $ac_mid ')' + 1`
16198 rm -f conftest.
$ac_objext conftest.
$ac_ext
16201 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16202 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16203 See \`config.log' for more details." >&5
16204 echo "$as_me: error: cannot compute sizeof (long long), 77
16205 See \`config.log' for more details." >&2;}
16206 { (exit 1); exit 1; }; } ;;
16209 if test "$cross_compiling" = yes; then
16210 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16211 See \`config.log' for more details." >&5
16212 echo "$as_me: error: cannot run test program while cross compiling
16213 See \`config.log' for more details." >&2;}
16214 { (exit 1); exit 1; }; }
16216 cat >conftest.
$ac_ext <<_ACEOF
16217 #line $LINENO "configure"
16220 cat confdefs.h
>>conftest.
$ac_ext
16221 cat >>conftest.
$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16223 $ac_includes_default
16224 long longval () { return (long) (sizeof (long long)); }
16225 unsigned long ulongval () { return (long) (sizeof (long long)); }
16227 #include <stdlib.h>
16232 FILE *f = fopen ("conftest.val", "w");
16235 if (((long) (sizeof (long long))) < 0)
16237 long i = longval ();
16238 if (i != ((long) (sizeof (long long))))
16240 fprintf (f, "%ld\n", i);
16244 unsigned long i = ulongval ();
16245 if (i != ((long) (sizeof (long long))))
16247 fprintf (f, "%lu\n", i);
16249 exit (ferror (f) || fclose (f) != 0);
16255 rm -f conftest
$ac_exeext
16256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16257 (eval $ac_link) 2>&5
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; }; then
16266 ac_cv_sizeof_long_long
=`cat conftest.val`
16268 echo "$as_me: program exited with status $ac_status" >&5
16269 echo "$as_me: failed program was:" >&5
16270 sed 's/^/| /' conftest.
$ac_ext >&5
16272 ( exit $ac_status )
16273 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16274 See \`config.log' for more details." >&5
16275 echo "$as_me: error: cannot compute sizeof (long long), 77
16276 See \`config.log' for more details." >&2;}
16277 { (exit 1); exit 1; }; }
16279 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16284 ac_cv_sizeof_long_long
=0
16287 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16288 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16289 cat >>confdefs.h
<<_ACEOF
16290 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16294 if test "$ac_cv_sizeof_long_long" != "0"; then
16295 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16299 echo "$as_me:$LINENO: checking for long long" >&5
16300 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16301 if test "${ac_cv_type_long_long+set}" = set; then
16302 echo $ECHO_N "(cached) $ECHO_C" >&6
16304 cat >conftest.
$ac_ext <<_ACEOF
16305 #line $LINENO "configure"
16308 cat confdefs.h
>>conftest.
$ac_ext
16309 cat >>conftest.
$ac_ext <<_ACEOF
16310 /* end confdefs.h. */
16311 $ac_includes_default
16315 if ((long long *) 0)
16317 if (sizeof (long long))
16323 rm -f conftest.
$ac_objext
16324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16325 (eval $ac_compile) 2>&5
16327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328 (exit $ac_status); } &&
16329 { ac_try
='test -s conftest.$ac_objext'
16330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16331 (eval $ac_try) 2>&5
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); }; }; then
16335 ac_cv_type_long_long
=yes
16337 echo "$as_me: failed program was:" >&5
16338 sed 's/^/| /' conftest.
$ac_ext >&5
16340 ac_cv_type_long_long
=no
16342 rm -f conftest.
$ac_objext conftest.
$ac_ext
16344 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16345 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16347 echo "$as_me:$LINENO: checking size of long long" >&5
16348 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16349 if test "${ac_cv_sizeof_long_long+set}" = set; then
16350 echo $ECHO_N "(cached) $ECHO_C" >&6
16352 if test "$ac_cv_type_long_long" = yes; then
16353 # The cast to unsigned long works around a bug in the HP C Compiler
16354 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16355 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16356 # This bug is HP SR number 8606223364.
16357 if test "$cross_compiling" = yes; then
16358 # Depending upon the size, compute the lo and hi bounds.
16359 cat >conftest.
$ac_ext <<_ACEOF
16360 #line $LINENO "configure"
16363 cat confdefs.h
>>conftest.
$ac_ext
16364 cat >>conftest.
$ac_ext <<_ACEOF
16365 /* end confdefs.h. */
16366 $ac_includes_default
16370 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16377 rm -f conftest.
$ac_objext
16378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16379 (eval $ac_compile) 2>&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); } &&
16383 { ac_try
='test -s conftest.$ac_objext'
16384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16385 (eval $ac_try) 2>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); }; }; then
16391 cat >conftest.
$ac_ext <<_ACEOF
16392 #line $LINENO "configure"
16395 cat confdefs.h
>>conftest.
$ac_ext
16396 cat >>conftest.
$ac_ext <<_ACEOF
16397 /* end confdefs.h. */
16398 $ac_includes_default
16402 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16409 rm -f conftest.
$ac_objext
16410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16411 (eval $ac_compile) 2>&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } &&
16415 { ac_try
='test -s conftest.$ac_objext'
16416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16417 (eval $ac_try) 2>&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); }; }; then
16421 ac_hi
=$ac_mid; break
16423 echo "$as_me: failed program was:" >&5
16424 sed 's/^/| /' conftest.
$ac_ext >&5
16426 ac_lo
=`expr $ac_mid + 1`
16427 if test $ac_lo -le $ac_mid; then
16431 ac_mid
=`expr 2 '*' $ac_mid + 1`
16433 rm -f conftest.
$ac_objext conftest.
$ac_ext
16436 echo "$as_me: failed program was:" >&5
16437 sed 's/^/| /' conftest.
$ac_ext >&5
16439 cat >conftest.
$ac_ext <<_ACEOF
16440 #line $LINENO "configure"
16443 cat confdefs.h
>>conftest.
$ac_ext
16444 cat >>conftest.
$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16446 $ac_includes_default
16450 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16457 rm -f conftest.
$ac_objext
16458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16459 (eval $ac_compile) 2>&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } &&
16463 { ac_try
='test -s conftest.$ac_objext'
16464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465 (eval $ac_try) 2>&5
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; }; then
16471 cat >conftest.
$ac_ext <<_ACEOF
16472 #line $LINENO "configure"
16475 cat confdefs.h
>>conftest.
$ac_ext
16476 cat >>conftest.
$ac_ext <<_ACEOF
16477 /* end confdefs.h. */
16478 $ac_includes_default
16482 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16489 rm -f conftest.
$ac_objext
16490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16491 (eval $ac_compile) 2>&5
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); } &&
16495 { ac_try
='test -s conftest.$ac_objext'
16496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16497 (eval $ac_try) 2>&5
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); }; }; then
16501 ac_lo
=$ac_mid; break
16503 echo "$as_me: failed program was:" >&5
16504 sed 's/^/| /' conftest.
$ac_ext >&5
16506 ac_hi
=`expr '(' $ac_mid ')' - 1`
16507 if test $ac_mid -le $ac_hi; then
16511 ac_mid
=`expr 2 '*' $ac_mid`
16513 rm -f conftest.
$ac_objext conftest.
$ac_ext
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.
$ac_ext >&5
16521 rm -f conftest.
$ac_objext conftest.
$ac_ext
16523 rm -f conftest.
$ac_objext conftest.
$ac_ext
16524 # Binary search between lo and hi bounds.
16525 while test "x$ac_lo" != "x$ac_hi"; do
16526 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16527 cat >conftest.
$ac_ext <<_ACEOF
16528 #line $LINENO "configure"
16531 cat confdefs.h
>>conftest.
$ac_ext
16532 cat >>conftest.
$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16534 $ac_includes_default
16538 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16545 rm -f conftest.
$ac_objext
16546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16547 (eval $ac_compile) 2>&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); } &&
16551 { ac_try
='test -s conftest.$ac_objext'
16552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16553 (eval $ac_try) 2>&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); }; }; then
16559 echo "$as_me: failed program was:" >&5
16560 sed 's/^/| /' conftest.
$ac_ext >&5
16562 ac_lo
=`expr '(' $ac_mid ')' + 1`
16564 rm -f conftest.
$ac_objext conftest.
$ac_ext
16567 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16568 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16569 See \`config.log' for more details." >&5
16570 echo "$as_me: error: cannot compute sizeof (long long), 77
16571 See \`config.log' for more details." >&2;}
16572 { (exit 1); exit 1; }; } ;;
16575 if test "$cross_compiling" = yes; then
16576 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16577 See \`config.log' for more details." >&5
16578 echo "$as_me: error: cannot run test program while cross compiling
16579 See \`config.log' for more details." >&2;}
16580 { (exit 1); exit 1; }; }
16582 cat >conftest.
$ac_ext <<_ACEOF
16583 #line $LINENO "configure"
16586 cat confdefs.h
>>conftest.
$ac_ext
16587 cat >>conftest.
$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16589 $ac_includes_default
16590 long longval () { return (long) (sizeof (long long)); }
16591 unsigned long ulongval () { return (long) (sizeof (long long)); }
16593 #include <stdlib.h>
16598 FILE *f = fopen ("conftest.val", "w");
16601 if (((long) (sizeof (long long))) < 0)
16603 long i = longval ();
16604 if (i != ((long) (sizeof (long long))))
16606 fprintf (f, "%ld\n", i);
16610 unsigned long i = ulongval ();
16611 if (i != ((long) (sizeof (long long))))
16613 fprintf (f, "%lu\n", i);
16615 exit (ferror (f) || fclose (f) != 0);
16621 rm -f conftest
$ac_exeext
16622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16623 (eval $ac_link) 2>&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16628 (eval $ac_try) 2>&5
16630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631 (exit $ac_status); }; }; then
16632 ac_cv_sizeof_long_long
=`cat conftest.val`
16634 echo "$as_me: program exited with status $ac_status" >&5
16635 echo "$as_me: failed program was:" >&5
16636 sed 's/^/| /' conftest.
$ac_ext >&5
16638 ( exit $ac_status )
16639 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16640 See \`config.log' for more details." >&5
16641 echo "$as_me: error: cannot compute sizeof (long long), 77
16642 See \`config.log' for more details." >&2;}
16643 { (exit 1); exit 1; }; }
16645 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16650 ac_cv_sizeof_long_long
=0
16653 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16654 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16655 cat >>confdefs.h
<<_ACEOF
16656 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16662 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16663 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16664 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16665 echo $ECHO_N "(cached) $ECHO_C" >&6
16668 if test "$cross_compiling" = yes; then
16672 wx_cv_sizeof_wchar_t
=0
16675 wx_cv_sizeof_wchar_t
=4
16681 cat >conftest.
$ac_ext <<_ACEOF
16682 #line $LINENO "configure"
16685 cat confdefs.h
>>conftest.
$ac_ext
16686 cat >>conftest.
$ac_ext <<_ACEOF
16687 /* end confdefs.h. */
16689 /* DJGPP only has fake wchar_t: */
16691 # error "fake wchar_t"
16693 #ifdef HAVE_WCHAR_H
16695 # include <stddef.h>
16697 # include <wchar.h>
16699 #ifdef HAVE_STDLIB_H
16700 # include <stdlib.h>
16705 FILE *f=fopen("conftestval", "w");
16707 fprintf(f, "%i", sizeof(wchar_t));
16712 rm -f conftest
$ac_exeext
16713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16714 (eval $ac_link) 2>&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; }; then
16723 wx_cv_sizeof_wchar_t
=`cat conftestval`
16725 echo "$as_me: program exited with status $ac_status" >&5
16726 echo "$as_me: failed program was:" >&5
16727 sed 's/^/| /' conftest.
$ac_ext >&5
16729 ( exit $ac_status )
16730 wx_cv_sizeof_wchar_t
=0
16732 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16736 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16737 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16739 cat >>confdefs.h
<<_ACEOF
16740 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16744 # Check whether --enable-largefile or --disable-largefile was given.
16745 if test "${enable_largefile+set}" = set; then
16746 enableval
="$enable_largefile"
16749 if test "$enable_largefile" != no
; then
16752 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16753 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16754 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16755 echo $ECHO_N "(cached) $ECHO_C" >&6
16758 cat >conftest.
$ac_ext <<_ACEOF
16759 #line $LINENO "configure"
16762 cat confdefs.h
>>conftest.
$ac_ext
16763 cat >>conftest.
$ac_ext <<_ACEOF
16764 /* end confdefs.h. */
16765 #define _FILE_OFFSET_BITS 64
16766 #include <sys/types.h>
16771 unsigned int field: sizeof(off_t) == 8;
16778 rm -f conftest.
$ac_objext
16779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16780 (eval $ac_compile) 2>&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); } &&
16784 { ac_try
='test -s conftest.$ac_objext'
16785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16786 (eval $ac_try) 2>&5
16788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16789 (exit $ac_status); }; }; then
16790 ac_cv_sys_file_offset_bits
=64
16792 echo "$as_me: failed program was:" >&5
16793 sed 's/^/| /' conftest.
$ac_ext >&5
16795 ac_cv_sys_file_offset_bits
=no
16797 rm -f conftest.
$ac_objext conftest.
$ac_ext
16801 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16802 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16804 if test "$ac_cv_sys_file_offset_bits" != no
; then
16806 cat >>confdefs.h
<<_ACEOF
16807 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16812 if test "x$wx_largefile" != "xyes"; then
16814 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16815 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16816 if test "${ac_cv_sys_large_files+set}" = set; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6
16820 cat >conftest.
$ac_ext <<_ACEOF
16821 #line $LINENO "configure"
16824 cat confdefs.h
>>conftest.
$ac_ext
16825 cat >>conftest.
$ac_ext <<_ACEOF
16826 /* end confdefs.h. */
16827 #define _LARGE_FILES 1
16828 #include <sys/types.h>
16833 unsigned int field: sizeof(off_t) == 8;
16840 rm -f conftest.
$ac_objext
16841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16842 (eval $ac_compile) 2>&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try
='test -s conftest.$ac_objext'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; }; then
16852 ac_cv_sys_large_files
=1
16854 echo "$as_me: failed program was:" >&5
16855 sed 's/^/| /' conftest.
$ac_ext >&5
16857 ac_cv_sys_large_files
=no
16859 rm -f conftest.
$ac_objext conftest.
$ac_ext
16863 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16864 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16866 if test "$ac_cv_sys_large_files" != no
; then
16868 cat >>confdefs.h
<<_ACEOF
16869 #define _LARGE_FILES $ac_cv_sys_large_files
16876 echo "$as_me:$LINENO: checking if large file support is available" >&5
16877 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16878 if test "x$wx_largefile" = "xyes"; then
16879 cat >>confdefs.h
<<\_ACEOF
16880 #define HAVE_LARGEFILE_SUPPORT 1
16884 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16885 echo "${ECHO_T}$wx_largefile" >&6
16889 if test "x$wx_largefile" = "xyes"; then
16890 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16891 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16893 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16895 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16898 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16899 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16900 if test "${ac_cv_c_bigendian+set}" = set; then
16901 echo $ECHO_N "(cached) $ECHO_C" >&6
16903 ac_cv_c_bigendian
=unknown
16904 # See if sys/param.h defines the BYTE_ORDER macro.
16905 cat >conftest.
$ac_ext <<_ACEOF
16906 #line $LINENO "configure"
16909 cat confdefs.h
>>conftest.
$ac_ext
16910 cat >>conftest.
$ac_ext <<_ACEOF
16911 /* end confdefs.h. */
16912 #include <sys/types.h>
16913 #include <sys/param.h>
16918 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16919 bogus endian macros
16925 rm -f conftest.
$ac_objext
16926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16927 (eval $ac_compile) 2>&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); } &&
16931 { ac_try
='test -s conftest.$ac_objext'
16932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16933 (eval $ac_try) 2>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); }; }; then
16937 # It does; now see whether it defined to BIG_ENDIAN or not.
16938 cat >conftest.
$ac_ext <<_ACEOF
16939 #line $LINENO "configure"
16942 cat confdefs.h
>>conftest.
$ac_ext
16943 cat >>conftest.
$ac_ext <<_ACEOF
16944 /* end confdefs.h. */
16945 #include <sys/types.h>
16946 #include <sys/param.h>
16951 #if BYTE_ORDER != BIG_ENDIAN
16958 rm -f conftest.
$ac_objext
16959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16960 (eval $ac_compile) 2>&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); } &&
16964 { ac_try
='test -s conftest.$ac_objext'
16965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966 (eval $ac_try) 2>&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; }; then
16970 ac_cv_c_bigendian
=yes
16972 echo "$as_me: failed program was:" >&5
16973 sed 's/^/| /' conftest.
$ac_ext >&5
16975 ac_cv_c_bigendian
=no
16977 rm -f conftest.
$ac_objext conftest.
$ac_ext
16979 echo "$as_me: failed program was:" >&5
16980 sed 's/^/| /' conftest.
$ac_ext >&5
16983 rm -f conftest.
$ac_objext conftest.
$ac_ext
16984 if test $ac_cv_c_bigendian = unknown
; then
16985 if test "$cross_compiling" = yes; then
16986 ac_cv_c_bigendian
=unknown
16988 cat >conftest.
$ac_ext <<_ACEOF
16989 #line $LINENO "configure"
16992 cat confdefs.h
>>conftest.
$ac_ext
16993 cat >>conftest.
$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16996 /* Are we little or big endian? From Harbison&Steele. */
17000 char c[sizeof (long)];
17003 exit (u.c[sizeof (long) - 1] == 1);
17006 rm -f conftest
$ac_exeext
17007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17008 (eval $ac_link) 2>&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17013 (eval $ac_try) 2>&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); }; }; then
17017 ac_cv_c_bigendian
=no
17019 echo "$as_me: program exited with status $ac_status" >&5
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.
$ac_ext >&5
17023 ( exit $ac_status )
17024 ac_cv_c_bigendian
=yes
17026 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17030 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17031 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17032 if test $ac_cv_c_bigendian = unknown
; then
17033 { 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
17034 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;}
17036 if test $ac_cv_c_bigendian = yes; then
17037 cat >>confdefs.h
<<\_ACEOF
17038 #define WORDS_BIGENDIAN 1
17046 ac_cpp
='$CXXCPP $CPPFLAGS'
17047 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17048 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17049 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17050 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17051 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17052 if test -z "$CXXCPP"; then
17053 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17054 echo $ECHO_N "(cached) $ECHO_C" >&6
17056 # Double quotes because CXXCPP needs to be expanded
17057 for CXXCPP
in "$CXX -E" "/lib/cpp"
17059 ac_preproc_ok
=false
17060 for ac_cxx_preproc_warn_flag
in '' yes
17062 # Use a header file that comes with gcc, so configuring glibc
17063 # with a fresh cross-compiler works.
17064 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17065 # <limits.h> exists even on freestanding compilers.
17066 # On the NeXT, cc -E runs the code through the compiler's parser,
17067 # not just through cpp. "Syntax error" is here to catch this case.
17068 cat >conftest.
$ac_ext <<_ACEOF
17069 #line $LINENO "configure"
17072 cat confdefs.h
>>conftest.
$ac_ext
17073 cat >>conftest.
$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17076 # include <limits.h>
17078 # include <assert.h>
17082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17083 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17085 grep -v '^ *+' conftest.er1
>conftest.err
17087 cat conftest.err
>&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); } >/dev
/null
; then
17090 if test -s conftest.err
; then
17091 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17098 if test -z "$ac_cpp_err"; then
17101 echo "$as_me: failed program was:" >&5
17102 sed 's/^/| /' conftest.
$ac_ext >&5
17104 # Broken: fails on valid input.
17107 rm -f conftest.err conftest.
$ac_ext
17109 # OK, works on sane cases. Now check whether non-existent headers
17110 # can be detected and how.
17111 cat >conftest.
$ac_ext <<_ACEOF
17112 #line $LINENO "configure"
17115 cat confdefs.h
>>conftest.
$ac_ext
17116 cat >>conftest.
$ac_ext <<_ACEOF
17117 /* end confdefs.h. */
17118 #include <ac_nonexistent.h>
17120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17121 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17123 grep -v '^ *+' conftest.er1
>conftest.err
17125 cat conftest.err
>&5
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); } >/dev
/null
; then
17128 if test -s conftest.err
; then
17129 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17136 if test -z "$ac_cpp_err"; then
17137 # Broken: success on invalid input.
17140 echo "$as_me: failed program was:" >&5
17141 sed 's/^/| /' conftest.
$ac_ext >&5
17143 # Passes both tests.
17147 rm -f conftest.err conftest.
$ac_ext
17150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17151 rm -f conftest.err conftest.
$ac_ext
17152 if $ac_preproc_ok; then
17157 ac_cv_prog_CXXCPP
=$CXXCPP
17160 CXXCPP
=$ac_cv_prog_CXXCPP
17162 ac_cv_prog_CXXCPP
=$CXXCPP
17164 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17165 echo "${ECHO_T}$CXXCPP" >&6
17166 ac_preproc_ok
=false
17167 for ac_cxx_preproc_warn_flag
in '' yes
17169 # Use a header file that comes with gcc, so configuring glibc
17170 # with a fresh cross-compiler works.
17171 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17172 # <limits.h> exists even on freestanding compilers.
17173 # On the NeXT, cc -E runs the code through the compiler's parser,
17174 # not just through cpp. "Syntax error" is here to catch this case.
17175 cat >conftest.
$ac_ext <<_ACEOF
17176 #line $LINENO "configure"
17179 cat confdefs.h
>>conftest.
$ac_ext
17180 cat >>conftest.
$ac_ext <<_ACEOF
17181 /* end confdefs.h. */
17183 # include <limits.h>
17185 # include <assert.h>
17189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17190 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17192 grep -v '^ *+' conftest.er1
>conftest.err
17194 cat conftest.err
>&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } >/dev
/null
; then
17197 if test -s conftest.err
; then
17198 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17205 if test -z "$ac_cpp_err"; then
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.
$ac_ext >&5
17211 # Broken: fails on valid input.
17214 rm -f conftest.err conftest.
$ac_ext
17216 # OK, works on sane cases. Now check whether non-existent headers
17217 # can be detected and how.
17218 cat >conftest.
$ac_ext <<_ACEOF
17219 #line $LINENO "configure"
17222 cat confdefs.h
>>conftest.
$ac_ext
17223 cat >>conftest.
$ac_ext <<_ACEOF
17224 /* end confdefs.h. */
17225 #include <ac_nonexistent.h>
17227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17228 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17230 grep -v '^ *+' conftest.er1
>conftest.err
17232 cat conftest.err
>&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); } >/dev
/null
; then
17235 if test -s conftest.err
; then
17236 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17243 if test -z "$ac_cpp_err"; then
17244 # Broken: success on invalid input.
17247 echo "$as_me: failed program was:" >&5
17248 sed 's/^/| /' conftest.
$ac_ext >&5
17250 # Passes both tests.
17254 rm -f conftest.err conftest.
$ac_ext
17257 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17258 rm -f conftest.err conftest.
$ac_ext
17259 if $ac_preproc_ok; then
17262 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17263 See \`config.log' for more details." >&5
17264 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17265 See \`config.log' for more details." >&2;}
17266 { (exit 1); exit 1; }; }
17270 ac_cpp
='$CXXCPP $CPPFLAGS'
17271 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17272 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17273 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17277 if test "$cross_compiling" = "yes"; then
17278 cat >>confdefs.h
<<\_ACEOF
17279 #define wxUSE_IOSTREAMH 1
17286 ac_cpp
='$CXXCPP $CPPFLAGS'
17287 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17288 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17289 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17293 for ac_header
in iostream
17295 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17297 echo "$as_me:$LINENO: checking for $ac_header" >&5
17298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17300 echo $ECHO_N "(cached) $ECHO_C" >&6
17302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17305 # Is the header compilable?
17306 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17307 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17308 cat >conftest.
$ac_ext <<_ACEOF
17309 #line $LINENO "configure"
17312 cat confdefs.h
>>conftest.
$ac_ext
17313 cat >>conftest.
$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17315 $ac_includes_default
17316 #include <$ac_header>
17318 rm -f conftest.
$ac_objext
17319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17320 (eval $ac_compile) 2>&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); } &&
17324 { ac_try
='test -s conftest.$ac_objext'
17325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17326 (eval $ac_try) 2>&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); }; }; then
17330 ac_header_compiler
=yes
17332 echo "$as_me: failed program was:" >&5
17333 sed 's/^/| /' conftest.
$ac_ext >&5
17335 ac_header_compiler
=no
17337 rm -f conftest.
$ac_objext conftest.
$ac_ext
17338 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17339 echo "${ECHO_T}$ac_header_compiler" >&6
17341 # Is the header present?
17342 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17343 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17344 cat >conftest.
$ac_ext <<_ACEOF
17345 #line $LINENO "configure"
17348 cat confdefs.h
>>conftest.
$ac_ext
17349 cat >>conftest.
$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 #include <$ac_header>
17353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17356 grep -v '^ *+' conftest.er1
>conftest.err
17358 cat conftest.err
>&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } >/dev
/null
; then
17361 if test -s conftest.err
; then
17362 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17369 if test -z "$ac_cpp_err"; then
17370 ac_header_preproc
=yes
17372 echo "$as_me: failed program was:" >&5
17373 sed 's/^/| /' conftest.
$ac_ext >&5
17375 ac_header_preproc
=no
17377 rm -f conftest.err conftest.
$ac_ext
17378 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17379 echo "${ECHO_T}$ac_header_preproc" >&6
17381 # So? What about this header?
17382 case $ac_header_compiler:$ac_header_preproc in
17384 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17385 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17387 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17390 ## ------------------------------------ ##
17391 ## Report this to bug-autoconf@gnu.org. ##
17392 ## ------------------------------------ ##
17395 sed "s/^/$as_me: WARNING: /" >&2
17398 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17399 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17400 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17401 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17406 ## ------------------------------------ ##
17407 ## Report this to bug-autoconf@gnu.org. ##
17408 ## ------------------------------------ ##
17411 sed "s/^/$as_me: WARNING: /" >&2
17414 echo "$as_me:$LINENO: checking for $ac_header" >&5
17415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17417 echo $ECHO_N "(cached) $ECHO_C" >&6
17419 eval "$as_ac_Header=$ac_header_preproc"
17421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17426 cat >>confdefs.h
<<_ACEOF
17427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17435 if test "$ac_cv_header_iostream" = "yes" ; then
17438 cat >>confdefs.h
<<\_ACEOF
17439 #define wxUSE_IOSTREAMH 1
17445 ac_cpp
='$CPP $CPPFLAGS'
17446 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17447 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17448 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17454 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17455 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17456 if test "${wx_cv_cpp_bool+set}" = set; then
17457 echo $ECHO_N "(cached) $ECHO_C" >&6
17463 ac_cpp
='$CXXCPP $CPPFLAGS'
17464 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17465 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17466 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17469 cat >conftest.
$ac_ext <<_ACEOF
17470 #line $LINENO "configure"
17473 cat confdefs.h
>>conftest.
$ac_ext
17474 cat >>conftest.
$ac_ext <<_ACEOF
17475 /* end confdefs.h. */
17490 rm -f conftest.
$ac_objext
17491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17492 (eval $ac_compile) 2>&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); } &&
17496 { ac_try
='test -s conftest.$ac_objext'
17497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17498 (eval $ac_try) 2>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); }; }; then
17506 echo "$as_me: failed program was:" >&5
17507 sed 's/^/| /' conftest.
$ac_ext >&5
17514 rm -f conftest.
$ac_objext conftest.
$ac_ext
17517 ac_cpp
='$CPP $CPPFLAGS'
17518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17524 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17525 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17527 if test "$wx_cv_cpp_bool" = "yes"; then
17528 cat >>confdefs.h
<<\_ACEOF
17529 #define HAVE_BOOL 1
17536 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17537 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17538 if test "${wx_cv_explicit+set}" = set; then
17539 echo $ECHO_N "(cached) $ECHO_C" >&6
17545 ac_cpp
='$CXXCPP $CPPFLAGS'
17546 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17547 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17548 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17551 cat >conftest.
$ac_ext <<_ACEOF
17552 #line $LINENO "configure"
17555 cat confdefs.h
>>conftest.
$ac_ext
17556 cat >>conftest.
$ac_ext <<_ACEOF
17557 /* end confdefs.h. */
17559 class Foo { public: explicit Foo(int) {} };
17571 rm -f conftest.
$ac_objext
17572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17573 (eval $ac_compile) 2>&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } &&
17577 { ac_try
='test -s conftest.$ac_objext'
17578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17579 (eval $ac_try) 2>&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); }; }; then
17584 cat >conftest.
$ac_ext <<_ACEOF
17585 #line $LINENO "configure"
17588 cat confdefs.h
>>conftest.
$ac_ext
17589 cat >>conftest.
$ac_ext <<_ACEOF
17590 /* end confdefs.h. */
17592 class Foo { public: explicit Foo(int) {} };
17593 static void TakeFoo(const Foo& foo) { }
17606 rm -f conftest.
$ac_objext
17607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17608 (eval $ac_compile) 2>&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); } &&
17612 { ac_try
='test -s conftest.$ac_objext'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; }; then
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.
$ac_ext >&5
17626 rm -f conftest.
$ac_objext conftest.
$ac_ext
17629 echo "$as_me: failed program was:" >&5
17630 sed 's/^/| /' conftest.
$ac_ext >&5
17635 rm -f conftest.
$ac_objext conftest.
$ac_ext
17638 ac_cpp
='$CPP $CPPFLAGS'
17639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17645 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17646 echo "${ECHO_T}$wx_cv_explicit" >&6
17648 if test "$wx_cv_explicit" = "yes"; then
17649 cat >>confdefs.h
<<\_ACEOF
17650 #define HAVE_EXPLICIT 1
17656 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17657 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17658 if test "${ac_cv_cxx_const_cast+set}" = set; then
17659 echo $ECHO_N "(cached) $ECHO_C" >&6
17664 ac_cpp
='$CXXCPP $CPPFLAGS'
17665 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17666 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17667 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17669 cat >conftest.
$ac_ext <<_ACEOF
17670 #line $LINENO "configure"
17673 cat confdefs.h
>>conftest.
$ac_ext
17674 cat >>conftest.
$ac_ext <<_ACEOF
17675 /* end confdefs.h. */
17680 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17685 rm -f conftest.
$ac_objext
17686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17687 (eval $ac_compile) 2>&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); } &&
17691 { ac_try
='test -s conftest.$ac_objext'
17692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17693 (eval $ac_try) 2>&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); }; }; then
17697 ac_cv_cxx_const_cast
=yes
17699 echo "$as_me: failed program was:" >&5
17700 sed 's/^/| /' conftest.
$ac_ext >&5
17702 ac_cv_cxx_const_cast
=no
17704 rm -f conftest.
$ac_objext conftest.
$ac_ext
17706 ac_cpp
='$CPP $CPPFLAGS'
17707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17713 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17714 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17715 if test "$ac_cv_cxx_const_cast" = yes; then
17717 cat >>confdefs.h
<<\_ACEOF
17718 #define HAVE_CONST_CAST
17724 if test "$wxUSE_STL" = "yes"; then
17726 ac_cpp
='$CXXCPP $CPPFLAGS'
17727 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17728 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17729 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17732 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17733 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17734 cat >conftest.
$ac_ext <<_ACEOF
17735 #line $LINENO "configure"
17738 cat confdefs.h
>>conftest.
$ac_ext
17739 cat >>conftest.
$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17742 #include <functional>
17743 #include <algorithm>
17749 std::vector<int> moo;
17750 std::list<int> foo;
17751 std::vector<int>::iterator it =
17752 std::find_if(moo.begin(), moo.end(),
17753 std::bind2nd(std::less<int>(), 3));
17758 rm -f conftest.
$ac_objext
17759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17760 (eval $ac_compile) 2>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); } &&
17764 { ac_try
='test -s conftest.$ac_objext'
17765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766 (eval $ac_try) 2>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; }; then
17770 echo "$as_me:$LINENO: result: yes" >&5
17771 echo "${ECHO_T}yes" >&6
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.
$ac_ext >&5
17776 echo "$as_me:$LINENO: result: no" >&5
17777 echo "${ECHO_T}no" >&6
17778 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17779 echo "$as_me: error: Basic STL functionality missing" >&2;}
17780 { (exit 1); exit 1; }; }
17782 rm -f conftest.
$ac_objext conftest.
$ac_ext
17784 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17785 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17786 cat >conftest.
$ac_ext <<_ACEOF
17787 #line $LINENO "configure"
17790 cat confdefs.h
>>conftest.
$ac_ext
17791 cat >>conftest.
$ac_ext <<_ACEOF
17792 /* end confdefs.h. */
17802 rm -f conftest.
$ac_objext
17803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17804 (eval $ac_compile) 2>&5
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); } &&
17808 { ac_try
='test -s conftest.$ac_objext'
17809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17810 (eval $ac_try) 2>&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); }; }; then
17814 echo "$as_me:$LINENO: result: yes" >&5
17815 echo "${ECHO_T}yes" >&6
17816 cat >>confdefs.h
<<\_ACEOF
17817 #define HAVE_STD_WSTRING 1
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.
$ac_ext >&5
17824 echo "$as_me:$LINENO: result: no" >&5
17825 echo "${ECHO_T}no" >&6
17827 rm -f conftest.
$ac_objext conftest.
$ac_ext
17829 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17830 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17831 cat >conftest.
$ac_ext <<_ACEOF
17832 #line $LINENO "configure"
17835 cat confdefs.h
>>conftest.
$ac_ext
17836 cat >>conftest.
$ac_ext <<_ACEOF
17837 /* end confdefs.h. */
17842 std::string foo, bar;
17844 foo.compare(1, 1, bar);
17845 foo.compare(1, 1, bar, 1, 1);
17847 foo.compare(1, 1, "");
17848 foo.compare(1, 1, "", 2);
17853 rm -f conftest.
$ac_objext
17854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17855 (eval $ac_compile) 2>&5
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); } &&
17859 { ac_try
='test -s conftest.$ac_objext'
17860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17861 (eval $ac_try) 2>&5
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); }; }; then
17865 echo "$as_me:$LINENO: result: yes" >&5
17866 echo "${ECHO_T}yes" >&6
17867 cat >>confdefs.h
<<\_ACEOF
17868 #define HAVE_STD_STRING_COMPARE 1
17872 echo "$as_me: failed program was:" >&5
17873 sed 's/^/| /' conftest.
$ac_ext >&5
17875 echo "$as_me:$LINENO: result: no" >&5
17876 echo "${ECHO_T}no" >&6
17878 rm -f conftest.
$ac_objext conftest.
$ac_ext
17881 ac_cpp
='$CPP $CPPFLAGS'
17882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17890 /usr/local/include \
17892 /usr/Motif-1.2/include \
17893 /usr/Motif-2.1/include \
17895 /usr/include/Motif1.2 \
17896 /opt/xpm/include/X11 \
17897 /opt/GBxpm/include/ \
17898 /opt/GBxpm/X11/include/ \
17900 /usr/Motif1.2/include \
17902 /usr/openwin/include \
17906 /usr/X11R6/include \
17907 /usr/X11R6.4/include \
17908 /usr/X11R5/include \
17909 /usr/X11R4/include \
17911 /usr/include/X11R6 \
17912 /usr/include/X11R5 \
17913 /usr/include/X11R4 \
17915 /usr/local/X11R6/include \
17916 /usr/local/X11R5/include \
17917 /usr/local/X11R4/include \
17919 /usr/local/include/X11R6 \
17920 /usr/local/include/X11R5 \
17921 /usr/local/include/X11R4 \
17925 /usr/local/X11/include \
17926 /usr/local/include/X11 \
17928 /usr/X386/include \
17929 /usr/x386/include \
17930 /usr/XFree86/include/X11 \
17932 X:/XFree86/include \
17933 X:/XFree86/include/X11 \
17936 /usr/local/include/gtk \
17937 /usr/include/glib \
17938 /usr/local/include/glib \
17941 /usr/local/include/qt \
17943 /usr/include/windows \
17944 /usr/include/wine \
17945 /usr/local/include/wine \
17947 /usr/unsupported/include \
17948 /usr/athena/include \
17949 /usr/local/x11r5/include \
17950 /usr/lpp/Xamples/include \
17952 /usr/openwin/share/include"
17954 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17957 cat >confcache
<<\_ACEOF
17958 # This file is a shell script that caches the results of configure
17959 # tests run on this system so they can be shared between configure
17960 # scripts and configure runs, see configure's option --config-cache.
17961 # It is not useful on other systems. If it contains results you don't
17962 # want to keep, you may remove or edit it.
17964 # config.status only pays attention to the cache file if you give it
17965 # the --recheck option to rerun configure.
17967 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17968 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17969 # following values.
17973 # The following way of writing the cache mishandles newlines in values,
17974 # but we know of no workaround that is simple, portable, and efficient.
17975 # So, don't put newlines in cache variables' values.
17976 # Ultrix sh set writes to stderr and can't be redirected directly,
17977 # and sets the high bit in the cache file unless we assign to the vars.
17980 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17982 # `set' does not quote correctly, so add quotes (double-quote
17983 # substitution turns \\\\ into \\, and sed turns \\ into \).
17986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17989 # `set' quotes correctly as required by POSIX, so do not add quotes.
17991 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17998 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18000 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18002 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18003 if test -w $cache_file; then
18004 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18005 cat confcache
>$cache_file
18007 echo "not updating unwritable cache $cache_file"
18012 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18013 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18014 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18015 if test "${wx_cv_lib_glibc21+set}" = set; then
18016 echo $ECHO_N "(cached) $ECHO_C" >&6
18019 cat >conftest.
$ac_ext <<_ACEOF
18020 #line $LINENO "configure"
18023 cat confdefs.h
>>conftest.
$ac_ext
18024 cat >>conftest.
$ac_ext <<_ACEOF
18025 /* end confdefs.h. */
18026 #include <features.h>
18031 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18032 #error not glibc2.1
18039 rm -f conftest.
$ac_objext
18040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18041 (eval $ac_compile) 2>&5
18043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18044 (exit $ac_status); } &&
18045 { ac_try
='test -s conftest.$ac_objext'
18046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18047 (eval $ac_try) 2>&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); }; }; then
18052 wx_cv_lib_glibc21
=yes
18055 echo "$as_me: failed program was:" >&5
18056 sed 's/^/| /' conftest.
$ac_ext >&5
18059 wx_cv_lib_glibc21
=no
18063 rm -f conftest.
$ac_objext conftest.
$ac_ext
18066 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18067 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18068 if test "$wx_cv_lib_glibc21" = "yes"; then
18069 cat >>confdefs.h
<<\_ACEOF
18070 #define wxHAVE_GLIBC2 1
18076 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18077 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18078 cat >>confdefs.h
<<\_ACEOF
18079 #define _GNU_SOURCE 1
18087 if test "$wxUSE_REGEX" != "no"; then
18088 cat >>confdefs.h
<<\_ACEOF
18089 #define wxUSE_REGEX 1
18093 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
18094 { echo "$as_me:$LINENO: WARNING: Unicode build requires built-in regex library, will use it instead" >&5
18095 echo "$as_me: WARNING: Unicode build requires built-in regex library, will use it instead" >&2;}
18096 wxUSE_REGEX
=builtin
18099 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18100 if test "${ac_cv_header_regex_h+set}" = set; then
18101 echo "$as_me:$LINENO: checking for regex.h" >&5
18102 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18103 if test "${ac_cv_header_regex_h+set}" = set; then
18104 echo $ECHO_N "(cached) $ECHO_C" >&6
18106 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18107 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18109 # Is the header compilable?
18110 echo "$as_me:$LINENO: checking regex.h usability" >&5
18111 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18112 cat >conftest.
$ac_ext <<_ACEOF
18113 #line $LINENO "configure"
18116 cat confdefs.h
>>conftest.
$ac_ext
18117 cat >>conftest.
$ac_ext <<_ACEOF
18118 /* end confdefs.h. */
18119 $ac_includes_default
18122 rm -f conftest.
$ac_objext
18123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18124 (eval $ac_compile) 2>&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); } &&
18128 { ac_try
='test -s conftest.$ac_objext'
18129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18130 (eval $ac_try) 2>&5
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); }; }; then
18134 ac_header_compiler
=yes
18136 echo "$as_me: failed program was:" >&5
18137 sed 's/^/| /' conftest.
$ac_ext >&5
18139 ac_header_compiler
=no
18141 rm -f conftest.
$ac_objext conftest.
$ac_ext
18142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18143 echo "${ECHO_T}$ac_header_compiler" >&6
18145 # Is the header present?
18146 echo "$as_me:$LINENO: checking regex.h presence" >&5
18147 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18148 cat >conftest.
$ac_ext <<_ACEOF
18149 #line $LINENO "configure"
18152 cat confdefs.h
>>conftest.
$ac_ext
18153 cat >>conftest.
$ac_ext <<_ACEOF
18154 /* end confdefs.h. */
18157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18158 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18160 grep -v '^ *+' conftest.er1
>conftest.err
18162 cat conftest.err
>&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); } >/dev
/null
; then
18165 if test -s conftest.err
; then
18166 ac_cpp_err
=$ac_c_preproc_warn_flag
18173 if test -z "$ac_cpp_err"; then
18174 ac_header_preproc
=yes
18176 echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.
$ac_ext >&5
18179 ac_header_preproc
=no
18181 rm -f conftest.err conftest.
$ac_ext
18182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18183 echo "${ECHO_T}$ac_header_preproc" >&6
18185 # So? What about this header?
18186 case $ac_header_compiler:$ac_header_preproc in
18188 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18189 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18190 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18191 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18194 ## ------------------------------------ ##
18195 ## Report this to bug-autoconf@gnu.org. ##
18196 ## ------------------------------------ ##
18199 sed "s/^/$as_me: WARNING: /" >&2
18202 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18203 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18204 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18205 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18206 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18207 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18210 ## ------------------------------------ ##
18211 ## Report this to bug-autoconf@gnu.org. ##
18212 ## ------------------------------------ ##
18215 sed "s/^/$as_me: WARNING: /" >&2
18218 echo "$as_me:$LINENO: checking for regex.h" >&5
18219 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18220 if test "${ac_cv_header_regex_h+set}" = set; then
18221 echo $ECHO_N "(cached) $ECHO_C" >&6
18223 ac_cv_header_regex_h
=$ac_header_preproc
18225 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18226 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18229 if test $ac_cv_header_regex_h = yes; then
18231 for ac_func
in regcomp
18233 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18234 echo "$as_me:$LINENO: checking for $ac_func" >&5
18235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18236 if eval "test \"\${$as_ac_var+set}\" = set"; then
18237 echo $ECHO_N "(cached) $ECHO_C" >&6
18239 cat >conftest.
$ac_ext <<_ACEOF
18240 #line $LINENO "configure"
18243 cat confdefs.h
>>conftest.
$ac_ext
18244 cat >>conftest.
$ac_ext <<_ACEOF
18245 /* end confdefs.h. */
18246 /* System header to define __stub macros and hopefully few prototypes,
18247 which can conflict with char $ac_func (); below.
18248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18249 <limits.h> exists even on freestanding compilers. */
18251 # include <limits.h>
18253 # include <assert.h>
18255 /* Override any gcc2 internal prototype to avoid an error. */
18260 /* We use char because int might match the return type of a gcc2
18261 builtin and then its argument prototype would still apply. */
18263 /* The GNU C library defines this for functions which it implements
18264 to always fail with ENOSYS. Some functions are actually named
18265 something starting with __ and the normal name is an alias. */
18266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18269 char (*f) () = $ac_func;
18278 return f != $ac_func;
18283 rm -f conftest.
$ac_objext conftest
$ac_exeext
18284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18285 (eval $ac_link) 2>&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); } &&
18289 { ac_try
='test -s conftest$ac_exeext'
18290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18291 (eval $ac_try) 2>&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); }; }; then
18295 eval "$as_ac_var=yes"
18297 echo "$as_me: failed program was:" >&5
18298 sed 's/^/| /' conftest.
$ac_ext >&5
18300 eval "$as_ac_var=no"
18302 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18306 if test `eval echo '${'$as_ac_var'}'` = yes; then
18307 cat >>confdefs.h
<<_ACEOF
18308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18318 if test "x$ac_cv_func_regcomp" != "xyes"; then
18319 if test "$wxUSE_REGEX" = "sys" ; then
18320 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18321 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18322 { (exit 1); exit 1; }; }
18324 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18325 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18326 wxUSE_REGEX
=builtin
18336 if test "$wxUSE_ZLIB" != "no" ; then
18337 cat >>confdefs.h
<<\_ACEOF
18338 #define wxUSE_ZLIB 1
18342 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18343 if test "$USE_DARWIN" = 1; then
18344 system_zlib_h_ok
="yes"
18346 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18347 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18348 if test "${ac_cv_header_zlib_h+set}" = set; then
18349 echo $ECHO_N "(cached) $ECHO_C" >&6
18351 if test "$cross_compiling" = yes; then
18352 unset ac_cv_header_zlib_h
18355 cat >conftest.
$ac_ext <<_ACEOF
18356 #line $LINENO "configure"
18359 cat confdefs.h
>>conftest.
$ac_ext
18360 cat >>conftest.
$ac_ext <<_ACEOF
18361 /* end confdefs.h. */
18368 FILE *f=fopen("conftestval", "w");
18371 ZLIB_VERSION[0] == '1' &&
18372 (ZLIB_VERSION[2] > '1' ||
18373 (ZLIB_VERSION[2] == '1' &&
18374 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18379 rm -f conftest
$ac_exeext
18380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18381 (eval $ac_link) 2>&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18386 (eval $ac_try) 2>&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); }; }; then
18390 ac_cv_header_zlib_h
=`cat conftestval`
18392 echo "$as_me: program exited with status $ac_status" >&5
18393 echo "$as_me: failed program was:" >&5
18394 sed 's/^/| /' conftest.
$ac_ext >&5
18396 ( exit $ac_status )
18397 ac_cv_header_zlib_h
=no
18399 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18403 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18404 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18405 if test "${ac_cv_header_zlib_h+set}" = set; then
18406 echo "$as_me:$LINENO: checking for zlib.h" >&5
18407 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18408 if test "${ac_cv_header_zlib_h+set}" = set; then
18409 echo $ECHO_N "(cached) $ECHO_C" >&6
18411 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18412 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18414 # Is the header compilable?
18415 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18416 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18417 cat >conftest.
$ac_ext <<_ACEOF
18418 #line $LINENO "configure"
18421 cat confdefs.h
>>conftest.
$ac_ext
18422 cat >>conftest.
$ac_ext <<_ACEOF
18423 /* end confdefs.h. */
18424 $ac_includes_default
18427 rm -f conftest.
$ac_objext
18428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18429 (eval $ac_compile) 2>&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); } &&
18433 { ac_try
='test -s conftest.$ac_objext'
18434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18435 (eval $ac_try) 2>&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; }; then
18439 ac_header_compiler
=yes
18441 echo "$as_me: failed program was:" >&5
18442 sed 's/^/| /' conftest.
$ac_ext >&5
18444 ac_header_compiler
=no
18446 rm -f conftest.
$ac_objext conftest.
$ac_ext
18447 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18448 echo "${ECHO_T}$ac_header_compiler" >&6
18450 # Is the header present?
18451 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18452 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18453 cat >conftest.
$ac_ext <<_ACEOF
18454 #line $LINENO "configure"
18457 cat confdefs.h
>>conftest.
$ac_ext
18458 cat >>conftest.
$ac_ext <<_ACEOF
18459 /* end confdefs.h. */
18462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18463 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18465 grep -v '^ *+' conftest.er1
>conftest.err
18467 cat conftest.err
>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); } >/dev
/null
; then
18470 if test -s conftest.err
; then
18471 ac_cpp_err
=$ac_c_preproc_warn_flag
18478 if test -z "$ac_cpp_err"; then
18479 ac_header_preproc
=yes
18481 echo "$as_me: failed program was:" >&5
18482 sed 's/^/| /' conftest.
$ac_ext >&5
18484 ac_header_preproc
=no
18486 rm -f conftest.err conftest.
$ac_ext
18487 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18488 echo "${ECHO_T}$ac_header_preproc" >&6
18490 # So? What about this header?
18491 case $ac_header_compiler:$ac_header_preproc in
18493 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18494 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18495 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18496 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18499 ## ------------------------------------ ##
18500 ## Report this to bug-autoconf@gnu.org. ##
18501 ## ------------------------------------ ##
18504 sed "s/^/$as_me: WARNING: /" >&2
18507 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18508 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18509 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18510 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18511 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18512 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18515 ## ------------------------------------ ##
18516 ## Report this to bug-autoconf@gnu.org. ##
18517 ## ------------------------------------ ##
18520 sed "s/^/$as_me: WARNING: /" >&2
18523 echo "$as_me:$LINENO: checking for zlib.h" >&5
18524 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18525 if test "${ac_cv_header_zlib_h+set}" = set; then
18526 echo $ECHO_N "(cached) $ECHO_C" >&6
18528 ac_cv_header_zlib_h
=$ac_header_preproc
18530 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18531 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18537 system_zlib_h_ok
=$ac_cv_header_zlib_h
18540 if test "$system_zlib_h_ok" = "yes"; then
18541 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18542 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18543 if test "${ac_cv_lib_z_deflate+set}" = set; then
18544 echo $ECHO_N "(cached) $ECHO_C" >&6
18546 ac_check_lib_save_LIBS
=$LIBS
18548 cat >conftest.
$ac_ext <<_ACEOF
18549 #line $LINENO "configure"
18552 cat confdefs.h
>>conftest.
$ac_ext
18553 cat >>conftest.
$ac_ext <<_ACEOF
18554 /* end confdefs.h. */
18556 /* Override any gcc2 internal prototype to avoid an error. */
18560 /* We use char because int might match the return type of a gcc2
18561 builtin and then its argument prototype would still apply. */
18571 rm -f conftest.
$ac_objext conftest
$ac_exeext
18572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18573 (eval $ac_link) 2>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); } &&
18577 { ac_try
='test -s conftest$ac_exeext'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; }; then
18583 ac_cv_lib_z_deflate
=yes
18585 echo "$as_me: failed program was:" >&5
18586 sed 's/^/| /' conftest.
$ac_ext >&5
18588 ac_cv_lib_z_deflate
=no
18590 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18591 LIBS
=$ac_check_lib_save_LIBS
18593 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18594 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18595 if test $ac_cv_lib_z_deflate = yes; then
18601 if test "x$ZLIB_LINK" = "x" ; then
18602 if test "$wxUSE_ZLIB" = "sys" ; then
18603 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18604 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18605 { (exit 1); exit 1; }; }
18607 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18608 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18619 if test "$wxUSE_LIBPNG" != "no" ; then
18620 cat >>confdefs.h
<<\_ACEOF
18621 #define wxUSE_LIBPNG 1
18625 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18626 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18627 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18631 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18632 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18633 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18634 wxUSE_LIBPNG
=builtin
18637 if test "$wxUSE_MGL" != 1 ; then
18638 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18639 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18640 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18641 if test "${ac_cv_header_png_h+set}" = set; then
18642 echo $ECHO_N "(cached) $ECHO_C" >&6
18644 if test "$cross_compiling" = yes; then
18645 unset ac_cv_header_png_h
18648 cat >conftest.
$ac_ext <<_ACEOF
18649 #line $LINENO "configure"
18652 cat confdefs.h
>>conftest.
$ac_ext
18653 cat >>conftest.
$ac_ext <<_ACEOF
18654 /* end confdefs.h. */
18661 FILE *f=fopen("conftestval", "w");
18664 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18669 rm -f conftest
$ac_exeext
18670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18671 (eval $ac_link) 2>&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18676 (eval $ac_try) 2>&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); }; }; then
18680 ac_cv_header_png_h
=`cat conftestval`
18682 echo "$as_me: program exited with status $ac_status" >&5
18683 echo "$as_me: failed program was:" >&5
18684 sed 's/^/| /' conftest.
$ac_ext >&5
18686 ( exit $ac_status )
18687 ac_cv_header_png_h
=no
18689 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18693 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18694 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18695 if test "${ac_cv_header_png_h+set}" = set; then
18696 echo "$as_me:$LINENO: checking for png.h" >&5
18697 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18698 if test "${ac_cv_header_png_h+set}" = set; then
18699 echo $ECHO_N "(cached) $ECHO_C" >&6
18701 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18702 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18704 # Is the header compilable?
18705 echo "$as_me:$LINENO: checking png.h usability" >&5
18706 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18707 cat >conftest.
$ac_ext <<_ACEOF
18708 #line $LINENO "configure"
18711 cat confdefs.h
>>conftest.
$ac_ext
18712 cat >>conftest.
$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18714 $ac_includes_default
18717 rm -f conftest.
$ac_objext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18719 (eval $ac_compile) 2>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } &&
18723 { ac_try
='test -s conftest.$ac_objext'
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; }; then
18729 ac_header_compiler
=yes
18731 echo "$as_me: failed program was:" >&5
18732 sed 's/^/| /' conftest.
$ac_ext >&5
18734 ac_header_compiler
=no
18736 rm -f conftest.
$ac_objext conftest.
$ac_ext
18737 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18738 echo "${ECHO_T}$ac_header_compiler" >&6
18740 # Is the header present?
18741 echo "$as_me:$LINENO: checking png.h presence" >&5
18742 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18743 cat >conftest.
$ac_ext <<_ACEOF
18744 #line $LINENO "configure"
18747 cat confdefs.h
>>conftest.
$ac_ext
18748 cat >>conftest.
$ac_ext <<_ACEOF
18749 /* end confdefs.h. */
18752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18753 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18755 grep -v '^ *+' conftest.er1
>conftest.err
18757 cat conftest.err
>&5
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); } >/dev
/null
; then
18760 if test -s conftest.err
; then
18761 ac_cpp_err
=$ac_c_preproc_warn_flag
18768 if test -z "$ac_cpp_err"; then
18769 ac_header_preproc
=yes
18771 echo "$as_me: failed program was:" >&5
18772 sed 's/^/| /' conftest.
$ac_ext >&5
18774 ac_header_preproc
=no
18776 rm -f conftest.err conftest.
$ac_ext
18777 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18778 echo "${ECHO_T}$ac_header_preproc" >&6
18780 # So? What about this header?
18781 case $ac_header_compiler:$ac_header_preproc in
18783 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18784 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18785 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18786 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18789 ## ------------------------------------ ##
18790 ## Report this to bug-autoconf@gnu.org. ##
18791 ## ------------------------------------ ##
18794 sed "s/^/$as_me: WARNING: /" >&2
18797 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18798 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18799 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18800 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18801 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18802 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18805 ## ------------------------------------ ##
18806 ## Report this to bug-autoconf@gnu.org. ##
18807 ## ------------------------------------ ##
18810 sed "s/^/$as_me: WARNING: /" >&2
18813 echo "$as_me:$LINENO: checking for png.h" >&5
18814 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18815 if test "${ac_cv_header_png_h+set}" = set; then
18816 echo $ECHO_N "(cached) $ECHO_C" >&6
18818 ac_cv_header_png_h
=$ac_header_preproc
18820 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18821 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18827 if test "$ac_cv_header_png_h" = "yes"; then
18828 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18829 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18830 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18831 echo $ECHO_N "(cached) $ECHO_C" >&6
18833 ac_check_lib_save_LIBS
=$LIBS
18834 LIBS
="-lpng -lz -lm $LIBS"
18835 cat >conftest.
$ac_ext <<_ACEOF
18836 #line $LINENO "configure"
18839 cat confdefs.h
>>conftest.
$ac_ext
18840 cat >>conftest.
$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18843 /* Override any gcc2 internal prototype to avoid an error. */
18847 /* We use char because int might match the return type of a gcc2
18848 builtin and then its argument prototype would still apply. */
18849 char png_check_sig ();
18858 rm -f conftest.
$ac_objext conftest
$ac_exeext
18859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18860 (eval $ac_link) 2>&5
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); } &&
18864 { ac_try
='test -s conftest$ac_exeext'
18865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18866 (eval $ac_try) 2>&5
18868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869 (exit $ac_status); }; }; then
18870 ac_cv_lib_png_png_check_sig
=yes
18872 echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.
$ac_ext >&5
18875 ac_cv_lib_png_png_check_sig
=no
18877 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18878 LIBS
=$ac_check_lib_save_LIBS
18880 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18881 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18882 if test $ac_cv_lib_png_png_check_sig = yes; then
18888 if test "x$PNG_LINK" = "x" ; then
18889 if test "$wxUSE_LIBPNG" = "sys" ; then
18890 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18891 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18892 { (exit 1); exit 1; }; }
18894 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18895 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18896 wxUSE_LIBPNG
=builtin
18904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18909 if test "$wxUSE_LIBJPEG" != "no" ; then
18910 cat >>confdefs.h
<<\_ACEOF
18911 #define wxUSE_LIBJPEG 1
18915 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18916 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18917 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18921 if test "$wxUSE_MGL" != 1 ; then
18922 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18923 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18924 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18925 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18926 echo $ECHO_N "(cached) $ECHO_C" >&6
18928 cat >conftest.
$ac_ext <<_ACEOF
18929 #line $LINENO "configure"
18932 cat confdefs.h
>>conftest.
$ac_ext
18933 cat >>conftest.
$ac_ext <<_ACEOF
18934 /* end confdefs.h. */
18936 #undef HAVE_STDLIB_H
18938 #include <jpeglib.h>
18949 rm -f conftest.
$ac_objext
18950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18951 (eval $ac_compile) 2>&5
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); } &&
18955 { ac_try
='test -s conftest.$ac_objext'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; }; then
18961 ac_cv_header_jpeglib_h
=yes
18963 echo "$as_me: failed program was:" >&5
18964 sed 's/^/| /' conftest.
$ac_ext >&5
18966 ac_cv_header_jpeglib_h
=no
18969 rm -f conftest.
$ac_objext conftest.
$ac_ext
18973 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18974 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18976 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18977 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18978 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18979 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 ac_check_lib_save_LIBS
=$LIBS
18983 LIBS
="-ljpeg $LIBS"
18984 cat >conftest.
$ac_ext <<_ACEOF
18985 #line $LINENO "configure"
18988 cat confdefs.h
>>conftest.
$ac_ext
18989 cat >>conftest.
$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18992 /* Override any gcc2 internal prototype to avoid an error. */
18996 /* We use char because int might match the return type of a gcc2
18997 builtin and then its argument prototype would still apply. */
18998 char jpeg_read_header ();
19002 jpeg_read_header ();
19007 rm -f conftest.
$ac_objext conftest
$ac_exeext
19008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19009 (eval $ac_link) 2>&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } &&
19013 { ac_try
='test -s conftest$ac_exeext'
19014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19015 (eval $ac_try) 2>&5
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); }; }; then
19019 ac_cv_lib_jpeg_jpeg_read_header
=yes
19021 echo "$as_me: failed program was:" >&5
19022 sed 's/^/| /' conftest.
$ac_ext >&5
19024 ac_cv_lib_jpeg_jpeg_read_header
=no
19026 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19027 LIBS
=$ac_check_lib_save_LIBS
19029 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19030 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19031 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19032 JPEG_LINK
=" -ljpeg"
19037 if test "x$JPEG_LINK" = "x" ; then
19038 if test "$wxUSE_LIBJPEG" = "sys" ; then
19039 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19040 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19041 { (exit 1); exit 1; }; }
19043 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19044 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19045 wxUSE_LIBJPEG
=builtin
19056 TIFF_PREREQ_LINKS
=-lm
19057 if test "$wxUSE_LIBTIFF" != "no" ; then
19058 cat >>confdefs.h
<<\_ACEOF
19059 #define wxUSE_LIBTIFF 1
19063 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19064 if test "$wxUSE_LIBJPEG" = "sys"; then
19065 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
19067 if test "$wxUSE_ZLIB" = "sys"; then
19068 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19070 if test "${ac_cv_header_tiffio_h+set}" = set; then
19071 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19072 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19073 if test "${ac_cv_header_tiffio_h+set}" = set; then
19074 echo $ECHO_N "(cached) $ECHO_C" >&6
19076 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19077 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19079 # Is the header compilable?
19080 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19081 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19082 cat >conftest.
$ac_ext <<_ACEOF
19083 #line $LINENO "configure"
19086 cat confdefs.h
>>conftest.
$ac_ext
19087 cat >>conftest.
$ac_ext <<_ACEOF
19088 /* end confdefs.h. */
19089 $ac_includes_default
19090 #include <tiffio.h>
19092 rm -f conftest.
$ac_objext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19094 (eval $ac_compile) 2>&5
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); } &&
19098 { ac_try
='test -s conftest.$ac_objext'
19099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19100 (eval $ac_try) 2>&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); }; }; then
19104 ac_header_compiler
=yes
19106 echo "$as_me: failed program was:" >&5
19107 sed 's/^/| /' conftest.
$ac_ext >&5
19109 ac_header_compiler
=no
19111 rm -f conftest.
$ac_objext conftest.
$ac_ext
19112 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19113 echo "${ECHO_T}$ac_header_compiler" >&6
19115 # Is the header present?
19116 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19117 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19118 cat >conftest.
$ac_ext <<_ACEOF
19119 #line $LINENO "configure"
19122 cat confdefs.h
>>conftest.
$ac_ext
19123 cat >>conftest.
$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19125 #include <tiffio.h>
19127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19128 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19130 grep -v '^ *+' conftest.er1
>conftest.err
19132 cat conftest.err
>&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); } >/dev
/null
; then
19135 if test -s conftest.err
; then
19136 ac_cpp_err
=$ac_c_preproc_warn_flag
19143 if test -z "$ac_cpp_err"; then
19144 ac_header_preproc
=yes
19146 echo "$as_me: failed program was:" >&5
19147 sed 's/^/| /' conftest.
$ac_ext >&5
19149 ac_header_preproc
=no
19151 rm -f conftest.err conftest.
$ac_ext
19152 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19153 echo "${ECHO_T}$ac_header_preproc" >&6
19155 # So? What about this header?
19156 case $ac_header_compiler:$ac_header_preproc in
19158 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19159 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19160 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19161 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19164 ## ------------------------------------ ##
19165 ## Report this to bug-autoconf@gnu.org. ##
19166 ## ------------------------------------ ##
19169 sed "s/^/$as_me: WARNING: /" >&2
19172 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19173 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19174 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19175 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19176 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19177 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19180 ## ------------------------------------ ##
19181 ## Report this to bug-autoconf@gnu.org. ##
19182 ## ------------------------------------ ##
19185 sed "s/^/$as_me: WARNING: /" >&2
19188 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19189 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19190 if test "${ac_cv_header_tiffio_h+set}" = set; then
19191 echo $ECHO_N "(cached) $ECHO_C" >&6
19193 ac_cv_header_tiffio_h
=$ac_header_preproc
19195 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19196 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19199 if test $ac_cv_header_tiffio_h = yes; then
19201 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19202 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19203 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19204 echo $ECHO_N "(cached) $ECHO_C" >&6
19206 ac_check_lib_save_LIBS
=$LIBS
19207 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19208 cat >conftest.
$ac_ext <<_ACEOF
19209 #line $LINENO "configure"
19212 cat confdefs.h
>>conftest.
$ac_ext
19213 cat >>conftest.
$ac_ext <<_ACEOF
19214 /* end confdefs.h. */
19216 /* Override any gcc2 internal prototype to avoid an error. */
19220 /* We use char because int might match the return type of a gcc2
19221 builtin and then its argument prototype would still apply. */
19231 rm -f conftest.
$ac_objext conftest
$ac_exeext
19232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19233 (eval $ac_link) 2>&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } &&
19237 { ac_try
='test -s conftest$ac_exeext'
19238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19239 (eval $ac_try) 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; }; then
19243 ac_cv_lib_tiff_TIFFError
=yes
19245 echo "$as_me: failed program was:" >&5
19246 sed 's/^/| /' conftest.
$ac_ext >&5
19248 ac_cv_lib_tiff_TIFFError
=no
19250 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19251 LIBS
=$ac_check_lib_save_LIBS
19253 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19254 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19255 if test $ac_cv_lib_tiff_TIFFError = yes; then
19256 TIFF_LINK
=" -ltiff"
19265 if test "x$TIFF_LINK" = "x" ; then
19266 if test "$wxUSE_LIBTIFF" = "sys" ; then
19267 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19268 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19269 { (exit 1); exit 1; }; }
19271 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19272 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19273 wxUSE_LIBTIFF
=builtin
19282 if test "$wxUSE_EXPAT" != "no"; then
19284 cat >>confdefs.h
<<\_ACEOF
19285 #define wxUSE_EXPAT 1
19288 cat >>confdefs.h
<<\_ACEOF
19289 #define wxUSE_XML 1
19293 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19294 if test "${ac_cv_header_expat_h+set}" = set; then
19295 echo "$as_me:$LINENO: checking for expat.h" >&5
19296 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19297 if test "${ac_cv_header_expat_h+set}" = set; then
19298 echo $ECHO_N "(cached) $ECHO_C" >&6
19300 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19301 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19303 # Is the header compilable?
19304 echo "$as_me:$LINENO: checking expat.h usability" >&5
19305 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19306 cat >conftest.
$ac_ext <<_ACEOF
19307 #line $LINENO "configure"
19310 cat confdefs.h
>>conftest.
$ac_ext
19311 cat >>conftest.
$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19313 $ac_includes_default
19316 rm -f conftest.
$ac_objext
19317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19318 (eval $ac_compile) 2>&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } &&
19322 { ac_try
='test -s conftest.$ac_objext'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; }; then
19328 ac_header_compiler
=yes
19330 echo "$as_me: failed program was:" >&5
19331 sed 's/^/| /' conftest.
$ac_ext >&5
19333 ac_header_compiler
=no
19335 rm -f conftest.
$ac_objext conftest.
$ac_ext
19336 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19337 echo "${ECHO_T}$ac_header_compiler" >&6
19339 # Is the header present?
19340 echo "$as_me:$LINENO: checking expat.h presence" >&5
19341 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19342 cat >conftest.
$ac_ext <<_ACEOF
19343 #line $LINENO "configure"
19346 cat confdefs.h
>>conftest.
$ac_ext
19347 cat >>conftest.
$ac_ext <<_ACEOF
19348 /* end confdefs.h. */
19351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19352 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19354 grep -v '^ *+' conftest.er1
>conftest.err
19356 cat conftest.err
>&5
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); } >/dev
/null
; then
19359 if test -s conftest.err
; then
19360 ac_cpp_err
=$ac_c_preproc_warn_flag
19367 if test -z "$ac_cpp_err"; then
19368 ac_header_preproc
=yes
19370 echo "$as_me: failed program was:" >&5
19371 sed 's/^/| /' conftest.
$ac_ext >&5
19373 ac_header_preproc
=no
19375 rm -f conftest.err conftest.
$ac_ext
19376 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19377 echo "${ECHO_T}$ac_header_preproc" >&6
19379 # So? What about this header?
19380 case $ac_header_compiler:$ac_header_preproc in
19382 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19383 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19384 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19385 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19388 ## ------------------------------------ ##
19389 ## Report this to bug-autoconf@gnu.org. ##
19390 ## ------------------------------------ ##
19393 sed "s/^/$as_me: WARNING: /" >&2
19396 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19397 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19398 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19399 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19400 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19401 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19404 ## ------------------------------------ ##
19405 ## Report this to bug-autoconf@gnu.org. ##
19406 ## ------------------------------------ ##
19409 sed "s/^/$as_me: WARNING: /" >&2
19412 echo "$as_me:$LINENO: checking for expat.h" >&5
19413 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19414 if test "${ac_cv_header_expat_h+set}" = set; then
19415 echo $ECHO_N "(cached) $ECHO_C" >&6
19417 ac_cv_header_expat_h
=$ac_header_preproc
19419 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19420 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19423 if test $ac_cv_header_expat_h = yes; then
19428 if test "x$found_expat_h" = "x1"; then
19429 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19430 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19431 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19432 echo $ECHO_N "(cached) $ECHO_C" >&6
19438 ac_cpp
='$CXXCPP $CPPFLAGS'
19439 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19440 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19441 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19443 cat >conftest.
$ac_ext <<_ACEOF
19444 #line $LINENO "configure"
19447 cat confdefs.h
>>conftest.
$ac_ext
19448 cat >>conftest.
$ac_ext <<_ACEOF
19449 /* end confdefs.h. */
19459 rm -f conftest.
$ac_objext
19460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19461 (eval $ac_compile) 2>&5
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); } &&
19465 { ac_try
='test -s conftest.$ac_objext'
19466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19467 (eval $ac_try) 2>&5
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); }; }; then
19471 wx_cv_expat_is_not_broken
=yes
19473 echo "$as_me: failed program was:" >&5
19474 sed 's/^/| /' conftest.
$ac_ext >&5
19476 wx_cv_expat_is_not_broken
=no
19479 rm -f conftest.
$ac_objext conftest.
$ac_ext
19481 ac_cpp
='$CPP $CPPFLAGS'
19482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19489 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19490 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19491 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19492 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19493 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19494 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19495 echo $ECHO_N "(cached) $ECHO_C" >&6
19497 ac_check_lib_save_LIBS
=$LIBS
19498 LIBS
="-lexpat $LIBS"
19499 cat >conftest.
$ac_ext <<_ACEOF
19500 #line $LINENO "configure"
19503 cat confdefs.h
>>conftest.
$ac_ext
19504 cat >>conftest.
$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19507 /* Override any gcc2 internal prototype to avoid an error. */
19511 /* We use char because int might match the return type of a gcc2
19512 builtin and then its argument prototype would still apply. */
19513 char XML_ParserCreate ();
19517 XML_ParserCreate ();
19522 rm -f conftest.
$ac_objext conftest
$ac_exeext
19523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19524 (eval $ac_link) 2>&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); } &&
19528 { ac_try
='test -s conftest$ac_exeext'
19529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530 (eval $ac_try) 2>&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); }; }; then
19534 ac_cv_lib_expat_XML_ParserCreate
=yes
19536 echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.
$ac_ext >&5
19539 ac_cv_lib_expat_XML_ParserCreate
=no
19541 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19542 LIBS
=$ac_check_lib_save_LIBS
19544 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19545 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19546 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19547 EXPAT_LINK
=" -lexpat"
19552 if test "x$EXPAT_LINK" = "x" ; then
19553 if test "$wxUSE_EXPAT" = "sys" ; then
19554 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19555 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19556 { (exit 1); exit 1; }; }
19558 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19559 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19560 wxUSE_EXPAT
=builtin
19566 if test "$wxUSE_EXPAT" = "builtin" ; then
19569 subdirs
="$subdirs src/expat"
19576 if test "$wxUSE_LIBMSPACK" != "no"; then
19578 if test "${ac_cv_header_mspack_h+set}" = set; then
19579 echo "$as_me:$LINENO: checking for mspack.h" >&5
19580 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19581 if test "${ac_cv_header_mspack_h+set}" = set; then
19582 echo $ECHO_N "(cached) $ECHO_C" >&6
19584 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19585 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19587 # Is the header compilable?
19588 echo "$as_me:$LINENO: checking mspack.h usability" >&5
19589 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
19590 cat >conftest.
$ac_ext <<_ACEOF
19591 #line $LINENO "configure"
19594 cat confdefs.h
>>conftest.
$ac_ext
19595 cat >>conftest.
$ac_ext <<_ACEOF
19596 /* end confdefs.h. */
19597 $ac_includes_default
19598 #include <mspack.h>
19600 rm -f conftest.
$ac_objext
19601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19602 (eval $ac_compile) 2>&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } &&
19606 { ac_try
='test -s conftest.$ac_objext'
19607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19608 (eval $ac_try) 2>&5
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); }; }; then
19612 ac_header_compiler
=yes
19614 echo "$as_me: failed program was:" >&5
19615 sed 's/^/| /' conftest.
$ac_ext >&5
19617 ac_header_compiler
=no
19619 rm -f conftest.
$ac_objext conftest.
$ac_ext
19620 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19621 echo "${ECHO_T}$ac_header_compiler" >&6
19623 # Is the header present?
19624 echo "$as_me:$LINENO: checking mspack.h presence" >&5
19625 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
19626 cat >conftest.
$ac_ext <<_ACEOF
19627 #line $LINENO "configure"
19630 cat confdefs.h
>>conftest.
$ac_ext
19631 cat >>conftest.
$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19633 #include <mspack.h>
19635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19636 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19638 grep -v '^ *+' conftest.er1
>conftest.err
19640 cat conftest.err
>&5
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); } >/dev
/null
; then
19643 if test -s conftest.err
; then
19644 ac_cpp_err
=$ac_c_preproc_warn_flag
19651 if test -z "$ac_cpp_err"; then
19652 ac_header_preproc
=yes
19654 echo "$as_me: failed program was:" >&5
19655 sed 's/^/| /' conftest.
$ac_ext >&5
19657 ac_header_preproc
=no
19659 rm -f conftest.err conftest.
$ac_ext
19660 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19661 echo "${ECHO_T}$ac_header_preproc" >&6
19663 # So? What about this header?
19664 case $ac_header_compiler:$ac_header_preproc in
19666 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
19667 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19668 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19669 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19672 ## ------------------------------------ ##
19673 ## Report this to bug-autoconf@gnu.org. ##
19674 ## ------------------------------------ ##
19677 sed "s/^/$as_me: WARNING: /" >&2
19680 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
19681 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
19682 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
19683 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
19684 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19685 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19688 ## ------------------------------------ ##
19689 ## Report this to bug-autoconf@gnu.org. ##
19690 ## ------------------------------------ ##
19693 sed "s/^/$as_me: WARNING: /" >&2
19696 echo "$as_me:$LINENO: checking for mspack.h" >&5
19697 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19698 if test "${ac_cv_header_mspack_h+set}" = set; then
19699 echo $ECHO_N "(cached) $ECHO_C" >&6
19701 ac_cv_header_mspack_h
=$ac_header_preproc
19703 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19704 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19707 if test $ac_cv_header_mspack_h = yes; then
19712 if test "x$found_mspack_h" = "x1"; then
19713 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
19714 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
19715 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19718 ac_check_lib_save_LIBS
=$LIBS
19719 LIBS
="-lmspack $LIBS"
19720 cat >conftest.
$ac_ext <<_ACEOF
19721 #line $LINENO "configure"
19724 cat confdefs.h
>>conftest.
$ac_ext
19725 cat >>conftest.
$ac_ext <<_ACEOF
19726 /* end confdefs.h. */
19728 /* Override any gcc2 internal prototype to avoid an error. */
19732 /* We use char because int might match the return type of a gcc2
19733 builtin and then its argument prototype would still apply. */
19734 char mspack_create_chm_decompressor ();
19738 mspack_create_chm_decompressor ();
19743 rm -f conftest.
$ac_objext conftest
$ac_exeext
19744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19745 (eval $ac_link) 2>&5
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); } &&
19749 { ac_try
='test -s conftest$ac_exeext'
19750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19751 (eval $ac_try) 2>&5
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; }; then
19755 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
19757 echo "$as_me: failed program was:" >&5
19758 sed 's/^/| /' conftest.
$ac_ext >&5
19760 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
19762 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19763 LIBS
=$ac_check_lib_save_LIBS
19765 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
19766 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
19767 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
19768 MSPACK_LINK
=" -lmspack"
19772 if test "x$MSPACK_LINK" = "x" ; then
19775 cat >>confdefs.h
<<\_ACEOF
19776 #define wxUSE_LIBMSPACK 1
19791 if test "$USE_WIN32" = 1 ; then
19793 for ac_header
in w32api.h
19795 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19797 echo "$as_me:$LINENO: checking for $ac_header" >&5
19798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19800 echo $ECHO_N "(cached) $ECHO_C" >&6
19802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19805 # Is the header compilable?
19806 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19807 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19808 cat >conftest.
$ac_ext <<_ACEOF
19809 #line $LINENO "configure"
19812 cat confdefs.h
>>conftest.
$ac_ext
19813 cat >>conftest.
$ac_ext <<_ACEOF
19814 /* end confdefs.h. */
19815 $ac_includes_default
19816 #include <$ac_header>
19818 rm -f conftest.
$ac_objext
19819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19820 (eval $ac_compile) 2>&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); } &&
19824 { ac_try
='test -s conftest.$ac_objext'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; }; then
19830 ac_header_compiler
=yes
19832 echo "$as_me: failed program was:" >&5
19833 sed 's/^/| /' conftest.
$ac_ext >&5
19835 ac_header_compiler
=no
19837 rm -f conftest.
$ac_objext conftest.
$ac_ext
19838 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19839 echo "${ECHO_T}$ac_header_compiler" >&6
19841 # Is the header present?
19842 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19843 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19844 cat >conftest.
$ac_ext <<_ACEOF
19845 #line $LINENO "configure"
19848 cat confdefs.h
>>conftest.
$ac_ext
19849 cat >>conftest.
$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 #include <$ac_header>
19853 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19854 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19856 grep -v '^ *+' conftest.er1
>conftest.err
19858 cat conftest.err
>&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); } >/dev
/null
; then
19861 if test -s conftest.err
; then
19862 ac_cpp_err
=$ac_c_preproc_warn_flag
19869 if test -z "$ac_cpp_err"; then
19870 ac_header_preproc
=yes
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.
$ac_ext >&5
19875 ac_header_preproc
=no
19877 rm -f conftest.err conftest.
$ac_ext
19878 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19879 echo "${ECHO_T}$ac_header_preproc" >&6
19881 # So? What about this header?
19882 case $ac_header_compiler:$ac_header_preproc in
19884 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19885 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19887 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19890 ## ------------------------------------ ##
19891 ## Report this to bug-autoconf@gnu.org. ##
19892 ## ------------------------------------ ##
19895 sed "s/^/$as_me: WARNING: /" >&2
19898 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19899 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19900 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19901 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19906 ## ------------------------------------ ##
19907 ## Report this to bug-autoconf@gnu.org. ##
19908 ## ------------------------------------ ##
19911 sed "s/^/$as_me: WARNING: /" >&2
19914 echo "$as_me:$LINENO: checking for $ac_header" >&5
19915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19917 echo $ECHO_N "(cached) $ECHO_C" >&6
19919 eval "$as_ac_Header=$ac_header_preproc"
19921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19925 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19926 cat >>confdefs.h
<<_ACEOF
19927 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19934 if test "${ac_cv_header_windows_h+set}" = set; then
19935 echo "$as_me:$LINENO: checking for windows.h" >&5
19936 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19937 if test "${ac_cv_header_windows_h+set}" = set; then
19938 echo $ECHO_N "(cached) $ECHO_C" >&6
19940 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19941 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19943 # Is the header compilable?
19944 echo "$as_me:$LINENO: checking windows.h usability" >&5
19945 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19946 cat >conftest.
$ac_ext <<_ACEOF
19947 #line $LINENO "configure"
19950 cat confdefs.h
>>conftest.
$ac_ext
19951 cat >>conftest.
$ac_ext <<_ACEOF
19952 /* end confdefs.h. */
19953 $ac_includes_default
19954 #include <windows.h>
19956 rm -f conftest.
$ac_objext
19957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19958 (eval $ac_compile) 2>&5
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); } &&
19962 { ac_try
='test -s conftest.$ac_objext'
19963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19964 (eval $ac_try) 2>&5
19966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19967 (exit $ac_status); }; }; then
19968 ac_header_compiler
=yes
19970 echo "$as_me: failed program was:" >&5
19971 sed 's/^/| /' conftest.
$ac_ext >&5
19973 ac_header_compiler
=no
19975 rm -f conftest.
$ac_objext conftest.
$ac_ext
19976 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19977 echo "${ECHO_T}$ac_header_compiler" >&6
19979 # Is the header present?
19980 echo "$as_me:$LINENO: checking windows.h presence" >&5
19981 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19982 cat >conftest.
$ac_ext <<_ACEOF
19983 #line $LINENO "configure"
19986 cat confdefs.h
>>conftest.
$ac_ext
19987 cat >>conftest.
$ac_ext <<_ACEOF
19988 /* end confdefs.h. */
19989 #include <windows.h>
19991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19992 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19994 grep -v '^ *+' conftest.er1
>conftest.err
19996 cat conftest.err
>&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); } >/dev
/null
; then
19999 if test -s conftest.err
; then
20000 ac_cpp_err
=$ac_c_preproc_warn_flag
20007 if test -z "$ac_cpp_err"; then
20008 ac_header_preproc
=yes
20010 echo "$as_me: failed program was:" >&5
20011 sed 's/^/| /' conftest.
$ac_ext >&5
20013 ac_header_preproc
=no
20015 rm -f conftest.err conftest.
$ac_ext
20016 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20017 echo "${ECHO_T}$ac_header_preproc" >&6
20019 # So? What about this header?
20020 case $ac_header_compiler:$ac_header_preproc in
20022 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20023 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20024 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20025 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20028 ## ------------------------------------ ##
20029 ## Report this to bug-autoconf@gnu.org. ##
20030 ## ------------------------------------ ##
20033 sed "s/^/$as_me: WARNING: /" >&2
20036 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
20037 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
20038 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
20039 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
20040 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20041 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20044 ## ------------------------------------ ##
20045 ## Report this to bug-autoconf@gnu.org. ##
20046 ## ------------------------------------ ##
20049 sed "s/^/$as_me: WARNING: /" >&2
20052 echo "$as_me:$LINENO: checking for windows.h" >&5
20053 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20054 if test "${ac_cv_header_windows_h+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20057 ac_cv_header_windows_h
=$ac_header_preproc
20059 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20060 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20063 if test $ac_cv_header_windows_h = yes; then
20067 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20068 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20069 { (exit 1); exit 1; }; }
20075 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20077 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20078 LIBS
="$LIBS -loleacc"
20083 LIBS
="$LIBS -lkernel32 -luser32"
20084 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
20087 if test "$wxUSE_ODBC" = "sys" ; then
20090 if test "$wxUSE_ODBC" = "yes" ; then
20091 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
20092 cat >>confdefs.h
<<\_ACEOF
20093 #define wxUSE_ODBC 1
20098 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20099 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
20101 WIN32INSTALL
=win32install
20104 if test "$wxUSE_GUI" = "yes"; then
20113 if test "$wxUSE_MSW" = 1 ; then
20119 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20123 if test "$wxUSE_GTK" = 1; then
20124 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20125 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20127 gtk_version_cached
=1
20128 if test "${wx_cv_lib_gtk+set}" = set; then
20129 echo $ECHO_N "(cached) $ECHO_C" >&6
20132 gtk_version_cached
=0
20133 echo "$as_me:$LINENO: result: " >&5
20134 echo "${ECHO_T}" >&6
20137 if test "$wxUSE_THREADS" = "yes"; then
20138 GTK_MODULES
=gthread
20142 if test "x$wxUSE_GTK2" = "xyes"; then
20143 # Check whether --enable-gtktest or --disable-gtktest was given.
20144 if test "${enable_gtktest+set}" = set; then
20145 enableval
="$enable_gtktest"
20151 pkg_config_args
=gtk
+-2.0
20152 for module
in .
$GTK_MODULES
20156 pkg_config_args
="$pkg_config_args gthread-2.0"
20163 # Extract the first word of "pkg-config", so it can be a program name with args.
20164 set dummy pkg
-config; ac_word
=$2
20165 echo "$as_me:$LINENO: checking for $ac_word" >&5
20166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20167 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20168 echo $ECHO_N "(cached) $ECHO_C" >&6
20170 case $PKG_CONFIG in
20172 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20176 for as_dir
in $PATH
20179 test -z "$as_dir" && as_dir
=.
20180 for ac_exec_ext
in '' $ac_executable_extensions; do
20181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20182 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20189 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20193 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20195 if test -n "$PKG_CONFIG"; then
20196 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20197 echo "${ECHO_T}$PKG_CONFIG" >&6
20199 echo "$as_me:$LINENO: result: no" >&5
20200 echo "${ECHO_T}no" >&6
20204 if test x
$PKG_CONFIG != xno
; then
20205 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
20208 echo *** pkg
-config too old
; version
0.7 or better required.
20216 min_gtk_version
=2.0.0
20217 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20218 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20220 if test x
$PKG_CONFIG != xno
; then
20221 ## don't try to run the test against uninstalled libtool libs
20222 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20223 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20227 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20234 if test x
"$no_gtk" = x
; then
20235 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
20236 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
20237 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20238 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20239 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20240 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20241 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
20242 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20243 if test "x$enable_gtktest" = "xyes" ; then
20244 ac_save_CFLAGS
="$CFLAGS"
20245 ac_save_LIBS
="$LIBS"
20246 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20247 LIBS
="$GTK_LIBS $LIBS"
20249 if test "$cross_compiling" = yes; then
20250 echo $ac_n "cross compiling; assumed OK... $ac_c"
20252 cat >conftest.
$ac_ext <<_ACEOF
20253 #line $LINENO "configure"
20256 cat confdefs.h
>>conftest.
$ac_ext
20257 cat >>conftest.
$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20260 #include <gtk/gtk.h>
20262 #include <stdlib.h>
20267 int major, minor, micro;
20270 system ("touch conf.gtktest");
20272 /* HP/UX 9 (%@#!) writes to sscanf strings */
20273 tmp_version = g_strdup("$min_gtk_version");
20274 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20275 printf("%s, bad version string\n", "$min_gtk_version");
20279 if ((gtk_major_version != $gtk_config_major_version) ||
20280 (gtk_minor_version != $gtk_config_minor_version) ||
20281 (gtk_micro_version != $gtk_config_micro_version))
20283 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20284 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20285 gtk_major_version, gtk_minor_version, gtk_micro_version);
20286 printf ("*** was found! If pkg-config was correct, then it is best\n");
20287 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20288 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20289 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20290 printf("*** required on your system.\n");
20291 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20292 printf("*** to point to the correct configuration files\n");
20294 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20295 (gtk_minor_version != GTK_MINOR_VERSION) ||
20296 (gtk_micro_version != GTK_MICRO_VERSION))
20298 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20299 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20300 printf("*** library (version %d.%d.%d)\n",
20301 gtk_major_version, gtk_minor_version, gtk_micro_version);
20305 if ((gtk_major_version > major) ||
20306 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20307 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20313 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20314 gtk_major_version, gtk_minor_version, gtk_micro_version);
20315 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20316 major, minor, micro);
20317 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20319 printf("*** If you have already installed a sufficiently new version, this error\n");
20320 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20321 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20322 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20323 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20324 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20325 printf("*** so that the correct libraries are found at run-time))\n");
20332 rm -f conftest
$ac_exeext
20333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20334 (eval $ac_link) 2>&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20339 (eval $ac_try) 2>&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); }; }; then
20345 echo "$as_me: program exited with status $ac_status" >&5
20346 echo "$as_me: failed program was:" >&5
20347 sed 's/^/| /' conftest.
$ac_ext >&5
20349 ( exit $ac_status )
20352 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20354 CFLAGS
="$ac_save_CFLAGS"
20355 LIBS
="$ac_save_LIBS"
20358 if test "x$no_gtk" = x
; then
20359 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20360 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20363 echo "$as_me:$LINENO: result: no" >&5
20364 echo "${ECHO_T}no" >&6
20365 if test "$PKG_CONFIG" = "no" ; then
20366 echo "*** A new enough version of pkg-config was not found."
20367 echo "*** See http://pkgconfig.sourceforge.net"
20369 if test -f conf.gtktest
; then
20372 echo "*** Could not run GTK+ test program, checking why..."
20373 ac_save_CFLAGS
="$CFLAGS"
20374 ac_save_LIBS
="$LIBS"
20375 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20376 LIBS
="$LIBS $GTK_LIBS"
20377 cat >conftest.
$ac_ext <<_ACEOF
20378 #line $LINENO "configure"
20381 cat confdefs.h
>>conftest.
$ac_ext
20382 cat >>conftest.
$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20385 #include <gtk/gtk.h>
20391 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20396 rm -f conftest.
$ac_objext conftest
$ac_exeext
20397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20398 (eval $ac_link) 2>&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } &&
20402 { ac_try
='test -s conftest$ac_exeext'
20403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20404 (eval $ac_try) 2>&5
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); }; }; then
20408 echo "*** The test program compiled, but did not run. This usually means"
20409 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20410 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20411 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20412 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20413 echo "*** is required on your system"
20415 echo "*** If you have an old version installed, it is best to remove it, although"
20416 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20418 echo "$as_me: failed program was:" >&5
20419 sed 's/^/| /' conftest.
$ac_ext >&5
20421 echo "*** The test program failed to compile or link. See the file config.log for the"
20422 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20424 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20425 CFLAGS
="$ac_save_CFLAGS"
20426 LIBS
="$ac_save_LIBS"
20439 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20440 if test "${with_gtk_prefix+set}" = set; then
20441 withval
="$with_gtk_prefix"
20442 gtk_config_prefix
="$withval"
20444 gtk_config_prefix
=""
20447 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20448 if test "${with_gtk_exec_prefix+set}" = set; then
20449 withval
="$with_gtk_exec_prefix"
20450 gtk_config_exec_prefix
="$withval"
20452 gtk_config_exec_prefix
=""
20454 # Check whether --enable-gtktest or --disable-gtktest was given.
20455 if test "${enable_gtktest+set}" = set; then
20456 enableval
="$enable_gtktest"
20462 for module
in .
$GTK_MODULES
20466 gtk_config_args
="$gtk_config_args gthread"
20471 if test x
$gtk_config_exec_prefix != x
; then
20472 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20473 if test x
${GTK_CONFIG+set} != xset
; then
20474 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20477 if test x
$gtk_config_prefix != x
; then
20478 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20479 if test x
${GTK_CONFIG+set} != xset
; then
20480 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20484 # Extract the first word of "gtk-config", so it can be a program name with args.
20485 set dummy gtk
-config; ac_word
=$2
20486 echo "$as_me:$LINENO: checking for $ac_word" >&5
20487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20488 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20489 echo $ECHO_N "(cached) $ECHO_C" >&6
20491 case $GTK_CONFIG in
20493 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20497 for as_dir
in $PATH
20500 test -z "$as_dir" && as_dir
=.
20501 for ac_exec_ext
in '' $ac_executable_extensions; do
20502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20503 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20510 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20514 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20516 if test -n "$GTK_CONFIG"; then
20517 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20518 echo "${ECHO_T}$GTK_CONFIG" >&6
20520 echo "$as_me:$LINENO: result: no" >&5
20521 echo "${ECHO_T}no" >&6
20524 min_gtk_version
=1.2.7
20525 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20526 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20528 if test "$GTK_CONFIG" = "no" ; then
20531 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20532 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20533 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20534 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20535 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20536 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20537 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20538 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20539 if test "x$enable_gtktest" = "xyes" ; then
20540 ac_save_CFLAGS
="$CFLAGS"
20541 ac_save_LIBS
="$LIBS"
20542 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20543 LIBS
="$GTK_LIBS $LIBS"
20545 if test "$cross_compiling" = yes; then
20546 echo $ac_n "cross compiling; assumed OK... $ac_c"
20548 cat >conftest.
$ac_ext <<_ACEOF
20549 #line $LINENO "configure"
20552 cat confdefs.h
>>conftest.
$ac_ext
20553 cat >>conftest.
$ac_ext <<_ACEOF
20554 /* end confdefs.h. */
20556 #include <gtk/gtk.h>
20558 #include <stdlib.h>
20563 int major, minor, micro;
20566 system ("touch conf.gtktest");
20568 /* HP/UX 9 (%@#!) writes to sscanf strings */
20569 tmp_version = g_strdup("$min_gtk_version");
20570 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20571 printf("%s, bad version string\n", "$min_gtk_version");
20575 if ((gtk_major_version != $gtk_config_major_version) ||
20576 (gtk_minor_version != $gtk_config_minor_version) ||
20577 (gtk_micro_version != $gtk_config_micro_version))
20579 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20580 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20581 gtk_major_version, gtk_minor_version, gtk_micro_version);
20582 printf ("*** was found! If gtk-config was correct, then it is best\n");
20583 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20584 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20585 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20586 printf("*** required on your system.\n");
20587 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20588 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20589 printf("*** before re-running configure\n");
20591 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20592 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20593 (gtk_minor_version != GTK_MINOR_VERSION) ||
20594 (gtk_micro_version != GTK_MICRO_VERSION))
20596 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20597 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20598 printf("*** library (version %d.%d.%d)\n",
20599 gtk_major_version, gtk_minor_version, gtk_micro_version);
20601 #endif /* defined (GTK_MAJOR_VERSION) ... */
20604 if ((gtk_major_version > major) ||
20605 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20606 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20612 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20613 gtk_major_version, gtk_minor_version, gtk_micro_version);
20614 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20615 major, minor, micro);
20616 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20618 printf("*** If you have already installed a sufficiently new version, this error\n");
20619 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20620 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20621 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20622 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20623 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20624 printf("*** so that the correct libraries are found at run-time))\n");
20631 rm -f conftest
$ac_exeext
20632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20633 (eval $ac_link) 2>&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20638 (eval $ac_try) 2>&5
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); }; }; then
20644 echo "$as_me: program exited with status $ac_status" >&5
20645 echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.
$ac_ext >&5
20648 ( exit $ac_status )
20651 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20653 CFLAGS
="$ac_save_CFLAGS"
20654 LIBS
="$ac_save_LIBS"
20657 if test "x$no_gtk" = x
; then
20658 echo "$as_me:$LINENO: result: yes" >&5
20659 echo "${ECHO_T}yes" >&6
20660 wx_cv_lib_gtk
=1.2.7
20662 echo "$as_me:$LINENO: result: no" >&5
20663 echo "${ECHO_T}no" >&6
20664 if test "$GTK_CONFIG" = "no" ; then
20665 echo "*** The gtk-config script installed by GTK could not be found"
20666 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20667 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20668 echo "*** full path to gtk-config."
20670 if test -f conf.gtktest
; then
20673 echo "*** Could not run GTK test program, checking why..."
20674 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20675 LIBS
="$LIBS $GTK_LIBS"
20676 cat >conftest.
$ac_ext <<_ACEOF
20677 #line $LINENO "configure"
20680 cat confdefs.h
>>conftest.
$ac_ext
20681 cat >>conftest.
$ac_ext <<_ACEOF
20682 /* end confdefs.h. */
20684 #include <gtk/gtk.h>
20690 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20695 rm -f conftest.
$ac_objext conftest
$ac_exeext
20696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20697 (eval $ac_link) 2>&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); } &&
20701 { ac_try
='test -s conftest$ac_exeext'
20702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20703 (eval $ac_try) 2>&5
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); }; }; then
20707 echo "*** The test program compiled, but did not run. This usually means"
20708 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20709 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20710 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20711 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20712 echo "*** is required on your system"
20714 echo "*** If you have an old version installed, it is best to remove it, although"
20715 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20717 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20718 echo "*** came with the system with the command"
20720 echo "*** rpm --erase --nodeps gtk gtk-devel"
20722 echo "$as_me: failed program was:" >&5
20723 sed 's/^/| /' conftest.
$ac_ext >&5
20725 echo "*** The test program failed to compile or link. See the file config.log for the"
20726 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20727 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20728 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20730 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20731 CFLAGS
="$ac_save_CFLAGS"
20732 LIBS
="$ac_save_LIBS"
20744 if test -z "$wx_cv_lib_gtk"; then
20746 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20747 if test "${with_gtk_prefix+set}" = set; then
20748 withval
="$with_gtk_prefix"
20749 gtk_config_prefix
="$withval"
20751 gtk_config_prefix
=""
20754 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20755 if test "${with_gtk_exec_prefix+set}" = set; then
20756 withval
="$with_gtk_exec_prefix"
20757 gtk_config_exec_prefix
="$withval"
20759 gtk_config_exec_prefix
=""
20761 # Check whether --enable-gtktest or --disable-gtktest was given.
20762 if test "${enable_gtktest+set}" = set; then
20763 enableval
="$enable_gtktest"
20769 for module
in .
$GTK_MODULES
20773 gtk_config_args
="$gtk_config_args gthread"
20778 if test x
$gtk_config_exec_prefix != x
; then
20779 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20780 if test x
${GTK_CONFIG+set} != xset
; then
20781 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20784 if test x
$gtk_config_prefix != x
; then
20785 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20786 if test x
${GTK_CONFIG+set} != xset
; then
20787 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20791 # Extract the first word of "gtk-config", so it can be a program name with args.
20792 set dummy gtk
-config; ac_word
=$2
20793 echo "$as_me:$LINENO: checking for $ac_word" >&5
20794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20795 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20796 echo $ECHO_N "(cached) $ECHO_C" >&6
20798 case $GTK_CONFIG in
20800 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20804 for as_dir
in $PATH
20807 test -z "$as_dir" && as_dir
=.
20808 for ac_exec_ext
in '' $ac_executable_extensions; do
20809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20810 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20817 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20821 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20823 if test -n "$GTK_CONFIG"; then
20824 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20825 echo "${ECHO_T}$GTK_CONFIG" >&6
20827 echo "$as_me:$LINENO: result: no" >&5
20828 echo "${ECHO_T}no" >&6
20831 min_gtk_version
=1.2.3
20832 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20833 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20835 if test "$GTK_CONFIG" = "no" ; then
20838 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20839 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20840 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20842 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20843 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20844 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20845 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20846 if test "x$enable_gtktest" = "xyes" ; then
20847 ac_save_CFLAGS
="$CFLAGS"
20848 ac_save_LIBS
="$LIBS"
20849 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20850 LIBS
="$GTK_LIBS $LIBS"
20852 if test "$cross_compiling" = yes; then
20853 echo $ac_n "cross compiling; assumed OK... $ac_c"
20855 cat >conftest.
$ac_ext <<_ACEOF
20856 #line $LINENO "configure"
20859 cat confdefs.h
>>conftest.
$ac_ext
20860 cat >>conftest.
$ac_ext <<_ACEOF
20861 /* end confdefs.h. */
20863 #include <gtk/gtk.h>
20865 #include <stdlib.h>
20870 int major, minor, micro;
20873 system ("touch conf.gtktest");
20875 /* HP/UX 9 (%@#!) writes to sscanf strings */
20876 tmp_version = g_strdup("$min_gtk_version");
20877 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20878 printf("%s, bad version string\n", "$min_gtk_version");
20882 if ((gtk_major_version != $gtk_config_major_version) ||
20883 (gtk_minor_version != $gtk_config_minor_version) ||
20884 (gtk_micro_version != $gtk_config_micro_version))
20886 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20887 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20888 gtk_major_version, gtk_minor_version, gtk_micro_version);
20889 printf ("*** was found! If gtk-config was correct, then it is best\n");
20890 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20891 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20892 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20893 printf("*** required on your system.\n");
20894 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20895 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20896 printf("*** before re-running configure\n");
20898 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20899 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20900 (gtk_minor_version != GTK_MINOR_VERSION) ||
20901 (gtk_micro_version != GTK_MICRO_VERSION))
20903 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20904 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20905 printf("*** library (version %d.%d.%d)\n",
20906 gtk_major_version, gtk_minor_version, gtk_micro_version);
20908 #endif /* defined (GTK_MAJOR_VERSION) ... */
20911 if ((gtk_major_version > major) ||
20912 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20913 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20919 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20920 gtk_major_version, gtk_minor_version, gtk_micro_version);
20921 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20922 major, minor, micro);
20923 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20925 printf("*** If you have already installed a sufficiently new version, this error\n");
20926 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20927 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20928 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20929 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20930 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20931 printf("*** so that the correct libraries are found at run-time))\n");
20938 rm -f conftest
$ac_exeext
20939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20940 (eval $ac_link) 2>&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20945 (eval $ac_try) 2>&5
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); }; }; then
20951 echo "$as_me: program exited with status $ac_status" >&5
20952 echo "$as_me: failed program was:" >&5
20953 sed 's/^/| /' conftest.
$ac_ext >&5
20955 ( exit $ac_status )
20958 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20960 CFLAGS
="$ac_save_CFLAGS"
20961 LIBS
="$ac_save_LIBS"
20964 if test "x$no_gtk" = x
; then
20965 echo "$as_me:$LINENO: result: yes" >&5
20966 echo "${ECHO_T}yes" >&6
20967 wx_cv_lib_gtk
=1.2.3
20969 echo "$as_me:$LINENO: result: no" >&5
20970 echo "${ECHO_T}no" >&6
20971 if test "$GTK_CONFIG" = "no" ; then
20972 echo "*** The gtk-config script installed by GTK could not be found"
20973 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20974 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20975 echo "*** full path to gtk-config."
20977 if test -f conf.gtktest
; then
20980 echo "*** Could not run GTK test program, checking why..."
20981 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20982 LIBS
="$LIBS $GTK_LIBS"
20983 cat >conftest.
$ac_ext <<_ACEOF
20984 #line $LINENO "configure"
20987 cat confdefs.h
>>conftest.
$ac_ext
20988 cat >>conftest.
$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20991 #include <gtk/gtk.h>
20997 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21002 rm -f conftest.
$ac_objext conftest
$ac_exeext
21003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21004 (eval $ac_link) 2>&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); } &&
21008 { ac_try
='test -s conftest$ac_exeext'
21009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21010 (eval $ac_try) 2>&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); }; }; then
21014 echo "*** The test program compiled, but did not run. This usually means"
21015 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21016 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21017 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21018 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21019 echo "*** is required on your system"
21021 echo "*** If you have an old version installed, it is best to remove it, although"
21022 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21024 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21025 echo "*** came with the system with the command"
21027 echo "*** rpm --erase --nodeps gtk gtk-devel"
21029 echo "$as_me: failed program was:" >&5
21030 sed 's/^/| /' conftest.
$ac_ext >&5
21032 echo "*** The test program failed to compile or link. See the file config.log for the"
21033 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21034 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21035 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21037 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21038 CFLAGS
="$ac_save_CFLAGS"
21039 LIBS
="$ac_save_LIBS"
21053 if test -z "$wx_cv_lib_gtk"; then
21056 wx_cv_cflags_gtk
=$GTK_CFLAGS
21057 wx_cv_libs_gtk
=$GTK_LIBS
21064 if test "$gtk_version_cached" = 1; then
21065 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21066 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21069 case "$wx_cv_lib_gtk" in
21078 *) { { echo "$as_me:$LINENO: error:
21079 Please check that gtk-config is in path, the directory
21080 where GTK+ libraries are installed (returned by
21081 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21082 equivalent variable and GTK+ is version 1.2.3 or above.
21084 echo "$as_me: error:
21085 Please check that gtk-config is in path, the directory
21086 where GTK+ libraries are installed (returned by
21087 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21088 equivalent variable and GTK+ is version 1.2.3 or above.
21090 { (exit 1); exit 1; }; }
21094 if test "$WXGTK20" = 1; then
21095 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21099 if test -z "$PKG_CONFIG"; then
21100 # Extract the first word of "pkg-config", so it can be a program name with args.
21101 set dummy pkg
-config; ac_word
=$2
21102 echo "$as_me:$LINENO: checking for $ac_word" >&5
21103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21104 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21105 echo $ECHO_N "(cached) $ECHO_C" >&6
21107 case $PKG_CONFIG in
21109 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
21112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21113 for as_dir
in $PATH
21116 test -z "$as_dir" && as_dir
=.
21117 for ac_exec_ext
in '' $ac_executable_extensions; do
21118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21119 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
21120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21126 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
21130 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
21132 if test -n "$PKG_CONFIG"; then
21133 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21134 echo "${ECHO_T}$PKG_CONFIG" >&6
21136 echo "$as_me:$LINENO: result: no" >&5
21137 echo "${ECHO_T}no" >&6
21142 if test "$PKG_CONFIG" = "no" ; then
21143 echo "*** The pkg-config script could not be found. Make sure it is"
21144 echo "*** in your path, or set the PKG_CONFIG environment variable"
21145 echo "*** to the full path to pkg-config."
21146 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21148 PKG_CONFIG_MIN_VERSION
=0.9.0
21149 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21150 echo "$as_me:$LINENO: checking for pangoft2" >&5
21151 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21153 if $PKG_CONFIG --exists "pangoft2" ; then
21154 echo "$as_me:$LINENO: result: yes" >&5
21155 echo "${ECHO_T}yes" >&6
21158 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21159 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21160 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
21161 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21162 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21164 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21165 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21166 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
21167 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21168 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21172 ## If we have a custom action on failure, don't print errors, but
21173 ## do set a variable so people can do so.
21174 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21181 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21182 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21186 if test $succeeded = yes; then
21188 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
21189 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21193 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21194 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21195 wxUSE_PRINTING_ARCHITECTURE
="no"
21202 if test "$wxUSE_UNICODE" = "yes"; then
21203 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21204 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21209 if test "$USE_DARWIN" != 1; then
21211 for ac_func
in poll
21213 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21214 echo "$as_me:$LINENO: checking for $ac_func" >&5
21215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21216 if eval "test \"\${$as_ac_var+set}\" = set"; then
21217 echo $ECHO_N "(cached) $ECHO_C" >&6
21219 cat >conftest.
$ac_ext <<_ACEOF
21220 #line $LINENO "configure"
21223 cat confdefs.h
>>conftest.
$ac_ext
21224 cat >>conftest.
$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21226 /* System header to define __stub macros and hopefully few prototypes,
21227 which can conflict with char $ac_func (); below.
21228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21229 <limits.h> exists even on freestanding compilers. */
21231 # include <limits.h>
21233 # include <assert.h>
21235 /* Override any gcc2 internal prototype to avoid an error. */
21240 /* We use char because int might match the return type of a gcc2
21241 builtin and then its argument prototype would still apply. */
21243 /* The GNU C library defines this for functions which it implements
21244 to always fail with ENOSYS. Some functions are actually named
21245 something starting with __ and the normal name is an alias. */
21246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21249 char (*f) () = $ac_func;
21258 return f != $ac_func;
21263 rm -f conftest.
$ac_objext conftest
$ac_exeext
21264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21265 (eval $ac_link) 2>&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } &&
21269 { ac_try
='test -s conftest$ac_exeext'
21270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21271 (eval $ac_try) 2>&5
21273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274 (exit $ac_status); }; }; then
21275 eval "$as_ac_var=yes"
21277 echo "$as_me: failed program was:" >&5
21278 sed 's/^/| /' conftest.
$ac_ext >&5
21280 eval "$as_ac_var=no"
21282 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21286 if test `eval echo '${'$as_ac_var'}'` = yes; then
21287 cat >>confdefs.h
<<_ACEOF
21288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21296 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
21297 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21299 AFMINSTALL
=afminstall
21303 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21304 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21305 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21306 echo $ECHO_N "(cached) $ECHO_C" >&6
21308 ac_check_lib_save_LIBS
=$LIBS
21310 cat >conftest.
$ac_ext <<_ACEOF
21311 #line $LINENO "configure"
21314 cat confdefs.h
>>conftest.
$ac_ext
21315 cat >>conftest.
$ac_ext <<_ACEOF
21316 /* end confdefs.h. */
21318 /* Override any gcc2 internal prototype to avoid an error. */
21322 /* We use char because int might match the return type of a gcc2
21323 builtin and then its argument prototype would still apply. */
21324 char gdk_im_open ();
21333 rm -f conftest.
$ac_objext conftest
$ac_exeext
21334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21335 (eval $ac_link) 2>&5
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); } &&
21339 { ac_try
='test -s conftest$ac_exeext'
21340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21341 (eval $ac_try) 2>&5
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); }; }; then
21345 ac_cv_lib_gdk_gdk_im_open
=yes
21347 echo "$as_me: failed program was:" >&5
21348 sed 's/^/| /' conftest.
$ac_ext >&5
21350 ac_cv_lib_gdk_gdk_im_open
=no
21352 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21353 LIBS
=$ac_check_lib_save_LIBS
21355 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21356 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21357 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21358 cat >>confdefs.h
<<\_ACEOF
21366 if test "$wxUSE_MGL" = 1; then
21367 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21368 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21369 if test "x$MGL_ROOT" = x
; then
21370 echo "$as_me:$LINENO: result: not found" >&5
21371 echo "${ECHO_T}not found" >&6
21372 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21373 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21374 { (exit 1); exit 1; }; }
21376 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21377 echo "${ECHO_T}$MGL_ROOT" >&6
21380 echo "$as_me:$LINENO: checking for libmgl location" >&5
21381 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21384 if test "x$wxUSE_SHARED" = xyes
; then
21385 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21387 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21391 mgl_os_candidates
="dos32/dj2"
21394 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21395 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21396 { (exit 1); exit 1; }; }
21402 for mgl_os_i
in $mgl_os_candidates ; do
21403 if test "x$mgl_os" = x
; then
21404 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21405 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
21406 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
21411 if test "x$mgl_lib_type" = x
; then
21412 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
21413 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
21414 mgl_lib_type
=release
21421 if test "x$mgl_os" = x
; then
21422 echo "$as_me:$LINENO: result: not found" >&5
21423 echo "${ECHO_T}not found" >&6
21424 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21425 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21426 { (exit 1); exit 1; }; }
21428 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21429 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21431 wxUSE_UNIVERSAL
="yes"
21433 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21434 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21436 AFMINSTALL
=afminstall
21441 if test "$wxUSE_MICROWIN" = 1; then
21442 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21443 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21444 if test "x$MICROWINDOWS" = x
; then
21445 echo "$as_me:$LINENO: result: not found" >&5
21446 echo "${ECHO_T}not found" >&6
21447 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21448 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21449 { (exit 1); exit 1; }; }
21451 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21452 echo "${ECHO_T}$MICROWINDOWS" >&6
21455 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21456 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21457 echo "${ECHO_T}MicroWindows' libraries found." >&6
21459 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21460 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21461 { (exit 1); exit 1; }; }
21464 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21465 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21467 wxUSE_UNIVERSAL
="yes"
21469 AFMINSTALL
=afminstall
21471 GUIDIST
=MICROWIN_DIST
21473 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21476 if test "$wxUSE_X11" = 1; then
21477 echo "$as_me:$LINENO: checking for X" >&5
21478 echo $ECHO_N "checking for X... $ECHO_C" >&6
21481 # Check whether --with-x or --without-x was given.
21482 if test "${with_x+set}" = set; then
21486 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21487 if test "x$with_x" = xno
; then
21488 # The user explicitly disabled X.
21491 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21492 # Both variables are already set.
21495 if test "${ac_cv_have_x+set}" = set; then
21496 echo $ECHO_N "(cached) $ECHO_C" >&6
21498 # One or both of the vars are not set, and there is no cached value.
21499 ac_x_includes
=no ac_x_libraries
=no
21500 rm -fr conftest.dir
21501 if mkdir conftest.dir
; then
21503 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21504 cat >Imakefile
<<'_ACEOF'
21506 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21508 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21509 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21510 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21511 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21512 for ac_extension
in a so sl
; do
21513 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21514 test -f $ac_im_libdir/libX11.
$ac_extension; then
21515 ac_im_usrlibdir
=$ac_im_libdir; break
21518 # Screen out bogus values from the imake configuration. They are
21519 # bogus both because they are the default anyway, and because
21520 # using them would break gcc on systems where it needs fixed includes.
21521 case $ac_im_incroot in
21523 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21525 case $ac_im_usrlibdir in
21526 /usr
/lib
| /lib
) ;;
21527 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21531 rm -fr conftest.dir
21534 # Standard set of common directories for X headers.
21535 # Check X11 before X11Rn because it is often a symlink to the current release.
21547 /usr/local/X11/include
21548 /usr/local/X11R6/include
21549 /usr/local/X11R5/include
21550 /usr/local/X11R4/include
21552 /usr/local/include/X11
21553 /usr/local/include/X11R6
21554 /usr/local/include/X11R5
21555 /usr/local/include/X11R4
21559 /usr/XFree86/include/X11
21563 /usr/unsupported/include
21564 /usr/athena/include
21565 /usr/local/x11r5/include
21566 /usr/lpp/Xamples/include
21568 /usr/openwin/include
21569 /usr/openwin/share/include'
21571 if test "$ac_x_includes" = no
; then
21572 # Guess where to find include files, by looking for Intrinsic.h.
21573 # First, try using that file with no special directory specified.
21574 cat >conftest.
$ac_ext <<_ACEOF
21575 #line $LINENO "configure"
21578 cat confdefs.h
>>conftest.
$ac_ext
21579 cat >>conftest.
$ac_ext <<_ACEOF
21580 /* end confdefs.h. */
21581 #include <X11/Intrinsic.h>
21583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21584 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21586 grep -v '^ *+' conftest.er1
>conftest.err
21588 cat conftest.err
>&5
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); } >/dev
/null
; then
21591 if test -s conftest.err
; then
21592 ac_cpp_err
=$ac_c_preproc_warn_flag
21599 if test -z "$ac_cpp_err"; then
21600 # We can compile using X headers with no special include directory.
21603 echo "$as_me: failed program was:" >&5
21604 sed 's/^/| /' conftest.
$ac_ext >&5
21606 for ac_dir
in $ac_x_header_dirs; do
21607 if test -r "$ac_dir/X11/Intrinsic.h"; then
21608 ac_x_includes
=$ac_dir
21613 rm -f conftest.err conftest.
$ac_ext
21614 fi # $ac_x_includes = no
21616 if test "$ac_x_libraries" = no
; then
21617 # Check for the libraries.
21618 # See if we find them without any special options.
21619 # Don't add to $LIBS permanently.
21622 cat >conftest.
$ac_ext <<_ACEOF
21623 #line $LINENO "configure"
21626 cat confdefs.h
>>conftest.
$ac_ext
21627 cat >>conftest.
$ac_ext <<_ACEOF
21628 /* end confdefs.h. */
21629 #include <X11/Intrinsic.h>
21638 rm -f conftest.
$ac_objext conftest
$ac_exeext
21639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21640 (eval $ac_link) 2>&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); } &&
21644 { ac_try
='test -s conftest$ac_exeext'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; }; then
21651 # We can link X programs with no special library path.
21654 echo "$as_me: failed program was:" >&5
21655 sed 's/^/| /' conftest.
$ac_ext >&5
21658 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21660 # Don't even attempt the hair of trying to link an X program!
21661 for ac_extension
in a so sl
; do
21662 if test -r $ac_dir/libXt.
$ac_extension; then
21663 ac_x_libraries
=$ac_dir
21669 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21670 fi # $ac_x_libraries = no
21672 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21673 # Didn't find X anywhere. Cache the known absence of X.
21674 ac_cv_have_x
="have_x=no"
21676 # Record where we found X for the cache.
21677 ac_cv_have_x
="have_x=yes \
21678 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21683 eval "$ac_cv_have_x"
21686 if test "$have_x" != yes; then
21687 echo "$as_me:$LINENO: result: $have_x" >&5
21688 echo "${ECHO_T}$have_x" >&6
21691 # If each of the values was on the command line, it overrides each guess.
21692 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21693 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21694 # Update the cache value to reflect the command line values.
21695 ac_cv_have_x
="have_x=yes \
21696 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21697 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21698 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21701 if test "$no_x" = yes; then
21702 # Not all programs may use this symbol, but it does not hurt to define it.
21704 cat >>confdefs.h
<<\_ACEOF
21705 #define X_DISPLAY_MISSING 1
21708 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21710 if test -n "$x_includes"; then
21711 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21714 # It would also be nice to do this for all -L options, not just this one.
21715 if test -n "$x_libraries"; then
21716 X_LIBS
="$X_LIBS -L$x_libraries"
21717 # For Solaris; some versions of Sun CC require a space after -R and
21718 # others require no space. Words are not sufficient . . . .
21719 case `(uname -sr) 2>/dev/null` in
21721 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21722 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21723 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21724 cat >conftest.
$ac_ext <<_ACEOF
21725 #line $LINENO "configure"
21728 cat confdefs.h
>>conftest.
$ac_ext
21729 cat >>conftest.
$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21740 rm -f conftest.
$ac_objext conftest
$ac_exeext
21741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21742 (eval $ac_link) 2>&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); } &&
21746 { ac_try
='test -s conftest$ac_exeext'
21747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21748 (eval $ac_try) 2>&5
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); }; }; then
21754 echo "$as_me: failed program was:" >&5
21755 sed 's/^/| /' conftest.
$ac_ext >&5
21759 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21760 if test $ac_R_nospace = yes; then
21761 echo "$as_me:$LINENO: result: no" >&5
21762 echo "${ECHO_T}no" >&6
21763 X_LIBS
="$X_LIBS -R$x_libraries"
21765 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21766 cat >conftest.
$ac_ext <<_ACEOF
21767 #line $LINENO "configure"
21770 cat confdefs.h
>>conftest.
$ac_ext
21771 cat >>conftest.
$ac_ext <<_ACEOF
21772 /* end confdefs.h. */
21782 rm -f conftest.
$ac_objext conftest
$ac_exeext
21783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21784 (eval $ac_link) 2>&5
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); } &&
21788 { ac_try
='test -s conftest$ac_exeext'
21789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21790 (eval $ac_try) 2>&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); }; }; then
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.
$ac_ext >&5
21801 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21802 if test $ac_R_space = yes; then
21803 echo "$as_me:$LINENO: result: yes" >&5
21804 echo "${ECHO_T}yes" >&6
21805 X_LIBS
="$X_LIBS -R $x_libraries"
21807 echo "$as_me:$LINENO: result: neither works" >&5
21808 echo "${ECHO_T}neither works" >&6
21811 LIBS
=$ac_xsave_LIBS
21815 # Check for system-dependent libraries X programs must link with.
21816 # Do this before checking for the system-independent R6 libraries
21817 # (-lICE), since we may need -lsocket or whatever for X linking.
21819 if test "$ISC" = yes; then
21820 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21822 # Martyn Johnson says this is needed for Ultrix, if the X
21823 # libraries were built with DECnet support. And Karl Berry says
21824 # the Alpha needs dnet_stub (dnet does not exist).
21825 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21826 cat >conftest.
$ac_ext <<_ACEOF
21827 #line $LINENO "configure"
21830 cat confdefs.h
>>conftest.
$ac_ext
21831 cat >>conftest.
$ac_ext <<_ACEOF
21832 /* end confdefs.h. */
21834 /* Override any gcc2 internal prototype to avoid an error. */
21838 /* We use char because int might match the return type of a gcc2
21839 builtin and then its argument prototype would still apply. */
21840 char XOpenDisplay ();
21849 rm -f conftest.
$ac_objext conftest
$ac_exeext
21850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21851 (eval $ac_link) 2>&5
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); } &&
21855 { ac_try
='test -s conftest$ac_exeext'
21856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21857 (eval $ac_try) 2>&5
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 (exit $ac_status); }; }; then
21863 echo "$as_me: failed program was:" >&5
21864 sed 's/^/| /' conftest.
$ac_ext >&5
21866 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21867 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21868 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21869 echo $ECHO_N "(cached) $ECHO_C" >&6
21871 ac_check_lib_save_LIBS
=$LIBS
21872 LIBS
="-ldnet $LIBS"
21873 cat >conftest.
$ac_ext <<_ACEOF
21874 #line $LINENO "configure"
21877 cat confdefs.h
>>conftest.
$ac_ext
21878 cat >>conftest.
$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21881 /* Override any gcc2 internal prototype to avoid an error. */
21885 /* We use char because int might match the return type of a gcc2
21886 builtin and then its argument prototype would still apply. */
21896 rm -f conftest.
$ac_objext conftest
$ac_exeext
21897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21898 (eval $ac_link) 2>&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } &&
21902 { ac_try
='test -s conftest$ac_exeext'
21903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21904 (eval $ac_try) 2>&5
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); }; }; then
21908 ac_cv_lib_dnet_dnet_ntoa
=yes
21910 echo "$as_me: failed program was:" >&5
21911 sed 's/^/| /' conftest.
$ac_ext >&5
21913 ac_cv_lib_dnet_dnet_ntoa
=no
21915 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21916 LIBS
=$ac_check_lib_save_LIBS
21918 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21919 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21920 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21921 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21924 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21925 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21926 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21927 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21928 echo $ECHO_N "(cached) $ECHO_C" >&6
21930 ac_check_lib_save_LIBS
=$LIBS
21931 LIBS
="-ldnet_stub $LIBS"
21932 cat >conftest.
$ac_ext <<_ACEOF
21933 #line $LINENO "configure"
21936 cat confdefs.h
>>conftest.
$ac_ext
21937 cat >>conftest.
$ac_ext <<_ACEOF
21938 /* end confdefs.h. */
21940 /* Override any gcc2 internal prototype to avoid an error. */
21944 /* We use char because int might match the return type of a gcc2
21945 builtin and then its argument prototype would still apply. */
21955 rm -f conftest.
$ac_objext conftest
$ac_exeext
21956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21957 (eval $ac_link) 2>&5
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); } &&
21961 { ac_try
='test -s conftest$ac_exeext'
21962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963 (eval $ac_try) 2>&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); }; }; then
21967 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21969 echo "$as_me: failed program was:" >&5
21970 sed 's/^/| /' conftest.
$ac_ext >&5
21972 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21974 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21975 LIBS
=$ac_check_lib_save_LIBS
21977 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21978 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21979 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21980 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21985 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21986 LIBS
="$ac_xsave_LIBS"
21988 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21989 # to get the SysV transport functions.
21990 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21992 # The nsl library prevents programs from opening the X display
21993 # on Irix 5.2, according to T.E. Dickey.
21994 # The functions gethostbyname, getservbyname, and inet_addr are
21995 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21996 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21997 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21998 if test "${ac_cv_func_gethostbyname+set}" = set; then
21999 echo $ECHO_N "(cached) $ECHO_C" >&6
22001 cat >conftest.
$ac_ext <<_ACEOF
22002 #line $LINENO "configure"
22005 cat confdefs.h
>>conftest.
$ac_ext
22006 cat >>conftest.
$ac_ext <<_ACEOF
22007 /* end confdefs.h. */
22008 /* System header to define __stub macros and hopefully few prototypes,
22009 which can conflict with char gethostbyname (); below.
22010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22011 <limits.h> exists even on freestanding compilers. */
22013 # include <limits.h>
22015 # include <assert.h>
22017 /* Override any gcc2 internal prototype to avoid an error. */
22022 /* We use char because int might match the return type of a gcc2
22023 builtin and then its argument prototype would still apply. */
22024 char gethostbyname ();
22025 /* The GNU C library defines this for functions which it implements
22026 to always fail with ENOSYS. Some functions are actually named
22027 something starting with __ and the normal name is an alias. */
22028 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22031 char (*f) () = gethostbyname;
22040 return f != gethostbyname;
22045 rm -f conftest.
$ac_objext conftest
$ac_exeext
22046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22047 (eval $ac_link) 2>&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } &&
22051 { ac_try
='test -s conftest$ac_exeext'
22052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22053 (eval $ac_try) 2>&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; }; then
22057 ac_cv_func_gethostbyname
=yes
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.
$ac_ext >&5
22062 ac_cv_func_gethostbyname
=no
22064 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22066 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22067 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22069 if test $ac_cv_func_gethostbyname = no
; then
22070 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22071 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22072 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22073 echo $ECHO_N "(cached) $ECHO_C" >&6
22075 ac_check_lib_save_LIBS
=$LIBS
22077 cat >conftest.
$ac_ext <<_ACEOF
22078 #line $LINENO "configure"
22081 cat confdefs.h
>>conftest.
$ac_ext
22082 cat >>conftest.
$ac_ext <<_ACEOF
22083 /* end confdefs.h. */
22085 /* Override any gcc2 internal prototype to avoid an error. */
22089 /* We use char because int might match the return type of a gcc2
22090 builtin and then its argument prototype would still apply. */
22091 char gethostbyname ();
22100 rm -f conftest.
$ac_objext conftest
$ac_exeext
22101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22102 (eval $ac_link) 2>&5
22104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105 (exit $ac_status); } &&
22106 { ac_try
='test -s conftest$ac_exeext'
22107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22108 (eval $ac_try) 2>&5
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); }; }; then
22112 ac_cv_lib_nsl_gethostbyname
=yes
22114 echo "$as_me: failed program was:" >&5
22115 sed 's/^/| /' conftest.
$ac_ext >&5
22117 ac_cv_lib_nsl_gethostbyname
=no
22119 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22120 LIBS
=$ac_check_lib_save_LIBS
22122 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22123 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22124 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22125 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
22128 if test $ac_cv_lib_nsl_gethostbyname = no
; then
22129 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22130 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22131 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22132 echo $ECHO_N "(cached) $ECHO_C" >&6
22134 ac_check_lib_save_LIBS
=$LIBS
22136 cat >conftest.
$ac_ext <<_ACEOF
22137 #line $LINENO "configure"
22140 cat confdefs.h
>>conftest.
$ac_ext
22141 cat >>conftest.
$ac_ext <<_ACEOF
22142 /* end confdefs.h. */
22144 /* Override any gcc2 internal prototype to avoid an error. */
22148 /* We use char because int might match the return type of a gcc2
22149 builtin and then its argument prototype would still apply. */
22150 char gethostbyname ();
22159 rm -f conftest.
$ac_objext conftest
$ac_exeext
22160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22161 (eval $ac_link) 2>&5
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); } &&
22165 { ac_try
='test -s conftest$ac_exeext'
22166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22167 (eval $ac_try) 2>&5
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); }; }; then
22171 ac_cv_lib_bsd_gethostbyname
=yes
22173 echo "$as_me: failed program was:" >&5
22174 sed 's/^/| /' conftest.
$ac_ext >&5
22176 ac_cv_lib_bsd_gethostbyname
=no
22178 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22179 LIBS
=$ac_check_lib_save_LIBS
22181 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22182 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22183 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22184 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
22190 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22191 # socket/setsockopt and other routines are undefined under SCO ODT
22192 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22193 # on later versions), says Simon Leinen: it contains gethostby*
22194 # variants that don't use the name server (or something). -lsocket
22195 # must be given before -lnsl if both are needed. We assume that
22196 # if connect needs -lnsl, so does gethostbyname.
22197 echo "$as_me:$LINENO: checking for connect" >&5
22198 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22199 if test "${ac_cv_func_connect+set}" = set; then
22200 echo $ECHO_N "(cached) $ECHO_C" >&6
22202 cat >conftest.
$ac_ext <<_ACEOF
22203 #line $LINENO "configure"
22206 cat confdefs.h
>>conftest.
$ac_ext
22207 cat >>conftest.
$ac_ext <<_ACEOF
22208 /* end confdefs.h. */
22209 /* System header to define __stub macros and hopefully few prototypes,
22210 which can conflict with char connect (); below.
22211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22212 <limits.h> exists even on freestanding compilers. */
22214 # include <limits.h>
22216 # include <assert.h>
22218 /* Override any gcc2 internal prototype to avoid an error. */
22223 /* We use char because int might match the return type of a gcc2
22224 builtin and then its argument prototype would still apply. */
22226 /* The GNU C library defines this for functions which it implements
22227 to always fail with ENOSYS. Some functions are actually named
22228 something starting with __ and the normal name is an alias. */
22229 #if defined (__stub_connect) || defined (__stub___connect)
22232 char (*f) () = connect;
22241 return f != connect;
22246 rm -f conftest.
$ac_objext conftest
$ac_exeext
22247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22248 (eval $ac_link) 2>&5
22250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251 (exit $ac_status); } &&
22252 { ac_try
='test -s conftest$ac_exeext'
22253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22254 (eval $ac_try) 2>&5
22256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257 (exit $ac_status); }; }; then
22258 ac_cv_func_connect
=yes
22260 echo "$as_me: failed program was:" >&5
22261 sed 's/^/| /' conftest.
$ac_ext >&5
22263 ac_cv_func_connect
=no
22265 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22267 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22268 echo "${ECHO_T}$ac_cv_func_connect" >&6
22270 if test $ac_cv_func_connect = no
; then
22271 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22272 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22273 if test "${ac_cv_lib_socket_connect+set}" = set; then
22274 echo $ECHO_N "(cached) $ECHO_C" >&6
22276 ac_check_lib_save_LIBS
=$LIBS
22277 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
22278 cat >conftest.
$ac_ext <<_ACEOF
22279 #line $LINENO "configure"
22282 cat confdefs.h
>>conftest.
$ac_ext
22283 cat >>conftest.
$ac_ext <<_ACEOF
22284 /* end confdefs.h. */
22286 /* Override any gcc2 internal prototype to avoid an error. */
22290 /* We use char because int might match the return type of a gcc2
22291 builtin and then its argument prototype would still apply. */
22301 rm -f conftest.
$ac_objext conftest
$ac_exeext
22302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22303 (eval $ac_link) 2>&5
22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306 (exit $ac_status); } &&
22307 { ac_try
='test -s conftest$ac_exeext'
22308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22309 (eval $ac_try) 2>&5
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); }; }; then
22313 ac_cv_lib_socket_connect
=yes
22315 echo "$as_me: failed program was:" >&5
22316 sed 's/^/| /' conftest.
$ac_ext >&5
22318 ac_cv_lib_socket_connect
=no
22320 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22321 LIBS
=$ac_check_lib_save_LIBS
22323 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22324 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22325 if test $ac_cv_lib_socket_connect = yes; then
22326 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
22331 # Guillermo Gomez says -lposix is necessary on A/UX.
22332 echo "$as_me:$LINENO: checking for remove" >&5
22333 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22334 if test "${ac_cv_func_remove+set}" = set; then
22335 echo $ECHO_N "(cached) $ECHO_C" >&6
22337 cat >conftest.
$ac_ext <<_ACEOF
22338 #line $LINENO "configure"
22341 cat confdefs.h
>>conftest.
$ac_ext
22342 cat >>conftest.
$ac_ext <<_ACEOF
22343 /* end confdefs.h. */
22344 /* System header to define __stub macros and hopefully few prototypes,
22345 which can conflict with char remove (); below.
22346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22347 <limits.h> exists even on freestanding compilers. */
22349 # include <limits.h>
22351 # include <assert.h>
22353 /* Override any gcc2 internal prototype to avoid an error. */
22358 /* We use char because int might match the return type of a gcc2
22359 builtin and then its argument prototype would still apply. */
22361 /* The GNU C library defines this for functions which it implements
22362 to always fail with ENOSYS. Some functions are actually named
22363 something starting with __ and the normal name is an alias. */
22364 #if defined (__stub_remove) || defined (__stub___remove)
22367 char (*f) () = remove;
22376 return f != remove;
22381 rm -f conftest.
$ac_objext conftest
$ac_exeext
22382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22383 (eval $ac_link) 2>&5
22385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386 (exit $ac_status); } &&
22387 { ac_try
='test -s conftest$ac_exeext'
22388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22389 (eval $ac_try) 2>&5
22391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22392 (exit $ac_status); }; }; then
22393 ac_cv_func_remove
=yes
22395 echo "$as_me: failed program was:" >&5
22396 sed 's/^/| /' conftest.
$ac_ext >&5
22398 ac_cv_func_remove
=no
22400 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22402 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22403 echo "${ECHO_T}$ac_cv_func_remove" >&6
22405 if test $ac_cv_func_remove = no
; then
22406 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22407 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22408 if test "${ac_cv_lib_posix_remove+set}" = set; then
22409 echo $ECHO_N "(cached) $ECHO_C" >&6
22411 ac_check_lib_save_LIBS
=$LIBS
22412 LIBS
="-lposix $LIBS"
22413 cat >conftest.
$ac_ext <<_ACEOF
22414 #line $LINENO "configure"
22417 cat confdefs.h
>>conftest.
$ac_ext
22418 cat >>conftest.
$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22421 /* Override any gcc2 internal prototype to avoid an error. */
22425 /* We use char because int might match the return type of a gcc2
22426 builtin and then its argument prototype would still apply. */
22436 rm -f conftest.
$ac_objext conftest
$ac_exeext
22437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22438 (eval $ac_link) 2>&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); } &&
22442 { ac_try
='test -s conftest$ac_exeext'
22443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22444 (eval $ac_try) 2>&5
22446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447 (exit $ac_status); }; }; then
22448 ac_cv_lib_posix_remove
=yes
22450 echo "$as_me: failed program was:" >&5
22451 sed 's/^/| /' conftest.
$ac_ext >&5
22453 ac_cv_lib_posix_remove
=no
22455 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22456 LIBS
=$ac_check_lib_save_LIBS
22458 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22459 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22460 if test $ac_cv_lib_posix_remove = yes; then
22461 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22466 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22467 echo "$as_me:$LINENO: checking for shmat" >&5
22468 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22469 if test "${ac_cv_func_shmat+set}" = set; then
22470 echo $ECHO_N "(cached) $ECHO_C" >&6
22472 cat >conftest.
$ac_ext <<_ACEOF
22473 #line $LINENO "configure"
22476 cat confdefs.h
>>conftest.
$ac_ext
22477 cat >>conftest.
$ac_ext <<_ACEOF
22478 /* end confdefs.h. */
22479 /* System header to define __stub macros and hopefully few prototypes,
22480 which can conflict with char shmat (); below.
22481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22482 <limits.h> exists even on freestanding compilers. */
22484 # include <limits.h>
22486 # include <assert.h>
22488 /* Override any gcc2 internal prototype to avoid an error. */
22493 /* We use char because int might match the return type of a gcc2
22494 builtin and then its argument prototype would still apply. */
22496 /* The GNU C library defines this for functions which it implements
22497 to always fail with ENOSYS. Some functions are actually named
22498 something starting with __ and the normal name is an alias. */
22499 #if defined (__stub_shmat) || defined (__stub___shmat)
22502 char (*f) () = shmat;
22516 rm -f conftest.
$ac_objext conftest
$ac_exeext
22517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22518 (eval $ac_link) 2>&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } &&
22522 { ac_try
='test -s conftest$ac_exeext'
22523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22524 (eval $ac_try) 2>&5
22526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22527 (exit $ac_status); }; }; then
22528 ac_cv_func_shmat
=yes
22530 echo "$as_me: failed program was:" >&5
22531 sed 's/^/| /' conftest.
$ac_ext >&5
22533 ac_cv_func_shmat
=no
22535 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22537 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22538 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22540 if test $ac_cv_func_shmat = no
; then
22541 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22542 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22543 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22544 echo $ECHO_N "(cached) $ECHO_C" >&6
22546 ac_check_lib_save_LIBS
=$LIBS
22548 cat >conftest.
$ac_ext <<_ACEOF
22549 #line $LINENO "configure"
22552 cat confdefs.h
>>conftest.
$ac_ext
22553 cat >>conftest.
$ac_ext <<_ACEOF
22554 /* end confdefs.h. */
22556 /* Override any gcc2 internal prototype to avoid an error. */
22560 /* We use char because int might match the return type of a gcc2
22561 builtin and then its argument prototype would still apply. */
22571 rm -f conftest.
$ac_objext conftest
$ac_exeext
22572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22573 (eval $ac_link) 2>&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } &&
22577 { ac_try
='test -s conftest$ac_exeext'
22578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22579 (eval $ac_try) 2>&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); }; }; then
22583 ac_cv_lib_ipc_shmat
=yes
22585 echo "$as_me: failed program was:" >&5
22586 sed 's/^/| /' conftest.
$ac_ext >&5
22588 ac_cv_lib_ipc_shmat
=no
22590 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22591 LIBS
=$ac_check_lib_save_LIBS
22593 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22594 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22595 if test $ac_cv_lib_ipc_shmat = yes; then
22596 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22602 # Check for libraries that X11R6 Xt/Xaw programs need.
22603 ac_save_LDFLAGS
=$LDFLAGS
22604 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22605 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22606 # check for ICE first), but we must link in the order -lSM -lICE or
22607 # we get undefined symbols. So assume we have SM if we have ICE.
22608 # These have to be linked with before -lX11, unlike the other
22609 # libraries we check for below, so use a different variable.
22610 # John Interrante, Karl Berry
22611 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22612 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22613 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22614 echo $ECHO_N "(cached) $ECHO_C" >&6
22616 ac_check_lib_save_LIBS
=$LIBS
22617 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22618 cat >conftest.
$ac_ext <<_ACEOF
22619 #line $LINENO "configure"
22622 cat confdefs.h
>>conftest.
$ac_ext
22623 cat >>conftest.
$ac_ext <<_ACEOF
22624 /* end confdefs.h. */
22626 /* Override any gcc2 internal prototype to avoid an error. */
22630 /* We use char because int might match the return type of a gcc2
22631 builtin and then its argument prototype would still apply. */
22632 char IceConnectionNumber ();
22636 IceConnectionNumber ();
22641 rm -f conftest.
$ac_objext conftest
$ac_exeext
22642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22643 (eval $ac_link) 2>&5
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); } &&
22647 { ac_try
='test -s conftest$ac_exeext'
22648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22649 (eval $ac_try) 2>&5
22651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652 (exit $ac_status); }; }; then
22653 ac_cv_lib_ICE_IceConnectionNumber
=yes
22655 echo "$as_me: failed program was:" >&5
22656 sed 's/^/| /' conftest.
$ac_ext >&5
22658 ac_cv_lib_ICE_IceConnectionNumber
=no
22660 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22661 LIBS
=$ac_check_lib_save_LIBS
22663 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22664 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22665 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22666 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22669 LDFLAGS
=$ac_save_LDFLAGS
22674 if test "$no_x" = "yes"; then
22675 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22676 echo "$as_me: error: X11 not found" >&2;}
22677 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22680 GUI_TK_LIBRARY
="$X_LIBS"
22681 TOOLKIT_INCLUDE
="$X_CFLAGS"
22682 AFMINSTALL
=afminstall
22683 COMPILED_X_PROGRAM
=0
22685 if test "$wxUSE_NANOX" = "yes"; then
22686 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22687 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22688 if test "x$MICROWIN" = x
; then
22689 echo "$as_me:$LINENO: result: not found" >&5
22690 echo "${ECHO_T}not found" >&6
22691 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22692 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22693 { (exit 1); exit 1; }; }
22695 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22696 echo "${ECHO_T}$MICROWIN" >&6
22697 cat >>confdefs.h
<<\_ACEOF
22698 #define wxUSE_NANOX 1
22704 if test "$wxUSE_UNICODE" = "yes"; then
22708 if test -z "$PKG_CONFIG"; then
22709 # Extract the first word of "pkg-config", so it can be a program name with args.
22710 set dummy pkg
-config; ac_word
=$2
22711 echo "$as_me:$LINENO: checking for $ac_word" >&5
22712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22713 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22714 echo $ECHO_N "(cached) $ECHO_C" >&6
22716 case $PKG_CONFIG in
22718 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22722 for as_dir
in $PATH
22725 test -z "$as_dir" && as_dir
=.
22726 for ac_exec_ext
in '' $ac_executable_extensions; do
22727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22728 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22735 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22739 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22741 if test -n "$PKG_CONFIG"; then
22742 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22743 echo "${ECHO_T}$PKG_CONFIG" >&6
22745 echo "$as_me:$LINENO: result: no" >&5
22746 echo "${ECHO_T}no" >&6
22751 if test "$PKG_CONFIG" = "no" ; then
22752 echo "*** The pkg-config script could not be found. Make sure it is"
22753 echo "*** in your path, or set the PKG_CONFIG environment variable"
22754 echo "*** to the full path to pkg-config."
22755 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22757 PKG_CONFIG_MIN_VERSION
=0.9.0
22758 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22759 echo "$as_me:$LINENO: checking for pangox" >&5
22760 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22762 if $PKG_CONFIG --exists "pangox" ; then
22763 echo "$as_me:$LINENO: result: yes" >&5
22764 echo "${ECHO_T}yes" >&6
22767 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22768 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22769 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22770 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22771 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22773 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22774 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22775 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22776 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22777 echo "${ECHO_T}$PANGOX_LIBS" >&6
22781 ## If we have a custom action on failure, don't print errors, but
22782 ## do set a variable so people can do so.
22783 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22790 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22791 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22795 if test $succeeded = yes; then
22797 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22798 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22802 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22803 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22804 { (exit 1); exit 1; }; }
22812 if test -z "$PKG_CONFIG"; then
22813 # Extract the first word of "pkg-config", so it can be a program name with args.
22814 set dummy pkg
-config; ac_word
=$2
22815 echo "$as_me:$LINENO: checking for $ac_word" >&5
22816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22817 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22818 echo $ECHO_N "(cached) $ECHO_C" >&6
22820 case $PKG_CONFIG in
22822 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22826 for as_dir
in $PATH
22829 test -z "$as_dir" && as_dir
=.
22830 for ac_exec_ext
in '' $ac_executable_extensions; do
22831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22832 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22839 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22843 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22845 if test -n "$PKG_CONFIG"; then
22846 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22847 echo "${ECHO_T}$PKG_CONFIG" >&6
22849 echo "$as_me:$LINENO: result: no" >&5
22850 echo "${ECHO_T}no" >&6
22855 if test "$PKG_CONFIG" = "no" ; then
22856 echo "*** The pkg-config script could not be found. Make sure it is"
22857 echo "*** in your path, or set the PKG_CONFIG environment variable"
22858 echo "*** to the full path to pkg-config."
22859 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22861 PKG_CONFIG_MIN_VERSION
=0.9.0
22862 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22863 echo "$as_me:$LINENO: checking for pangoft2" >&5
22864 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22866 if $PKG_CONFIG --exists "pangoft2" ; then
22867 echo "$as_me:$LINENO: result: yes" >&5
22868 echo "${ECHO_T}yes" >&6
22871 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22872 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22873 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22874 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22875 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22877 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22878 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22879 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22880 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22881 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22885 ## If we have a custom action on failure, don't print errors, but
22886 ## do set a variable so people can do so.
22887 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22894 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22895 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22899 if test $succeeded = yes; then
22901 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22902 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22906 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22907 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22908 wxUSE_PRINTING_ARCHITECTURE
="no"
22916 if test -z "$PKG_CONFIG"; then
22917 # Extract the first word of "pkg-config", so it can be a program name with args.
22918 set dummy pkg
-config; ac_word
=$2
22919 echo "$as_me:$LINENO: checking for $ac_word" >&5
22920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22921 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22922 echo $ECHO_N "(cached) $ECHO_C" >&6
22924 case $PKG_CONFIG in
22926 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22930 for as_dir
in $PATH
22933 test -z "$as_dir" && as_dir
=.
22934 for ac_exec_ext
in '' $ac_executable_extensions; do
22935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22936 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22943 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22947 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22949 if test -n "$PKG_CONFIG"; then
22950 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22951 echo "${ECHO_T}$PKG_CONFIG" >&6
22953 echo "$as_me:$LINENO: result: no" >&5
22954 echo "${ECHO_T}no" >&6
22959 if test "$PKG_CONFIG" = "no" ; then
22960 echo "*** The pkg-config script could not be found. Make sure it is"
22961 echo "*** in your path, or set the PKG_CONFIG environment variable"
22962 echo "*** to the full path to pkg-config."
22963 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22965 PKG_CONFIG_MIN_VERSION
=0.9.0
22966 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22967 echo "$as_me:$LINENO: checking for pangoxft" >&5
22968 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22970 if $PKG_CONFIG --exists "pangoxft" ; then
22971 echo "$as_me:$LINENO: result: yes" >&5
22972 echo "${ECHO_T}yes" >&6
22975 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22976 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22977 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22978 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22979 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22981 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22982 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22983 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22984 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22985 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22989 ## If we have a custom action on failure, don't print errors, but
22990 ## do set a variable so people can do so.
22991 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22998 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22999 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23003 if test $succeeded = yes; then
23005 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
23006 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23010 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23011 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23018 wxUSE_UNIVERSAL
="yes"
23020 if test "$wxUSE_NANOX" = "yes"; then
23021 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23022 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"
23023 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23025 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
23028 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
23033 if test "$wxUSE_MOTIF" = 1; then
23034 if test "$no_x" = yes; then
23035 # Not all programs may use this symbol, but it does not hurt to define it.
23037 cat >>confdefs.h
<<\_ACEOF
23038 #define X_DISPLAY_MISSING 1
23041 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
23043 if test -n "$x_includes"; then
23044 X_CFLAGS
="$X_CFLAGS -I$x_includes"
23047 # It would also be nice to do this for all -L options, not just this one.
23048 if test -n "$x_libraries"; then
23049 X_LIBS
="$X_LIBS -L$x_libraries"
23050 # For Solaris; some versions of Sun CC require a space after -R and
23051 # others require no space. Words are not sufficient . . . .
23052 case `(uname -sr) 2>/dev/null` in
23054 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23055 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23056 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
23057 cat >conftest.
$ac_ext <<_ACEOF
23058 #line $LINENO "configure"
23061 cat confdefs.h
>>conftest.
$ac_ext
23062 cat >>conftest.
$ac_ext <<_ACEOF
23063 /* end confdefs.h. */
23073 rm -f conftest.
$ac_objext conftest
$ac_exeext
23074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23075 (eval $ac_link) 2>&5
23077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23078 (exit $ac_status); } &&
23079 { ac_try
='test -s conftest$ac_exeext'
23080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081 (eval $ac_try) 2>&5
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); }; }; then
23087 echo "$as_me: failed program was:" >&5
23088 sed 's/^/| /' conftest.
$ac_ext >&5
23092 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23093 if test $ac_R_nospace = yes; then
23094 echo "$as_me:$LINENO: result: no" >&5
23095 echo "${ECHO_T}no" >&6
23096 X_LIBS
="$X_LIBS -R$x_libraries"
23098 LIBS
="$ac_xsave_LIBS -R $x_libraries"
23099 cat >conftest.
$ac_ext <<_ACEOF
23100 #line $LINENO "configure"
23103 cat confdefs.h
>>conftest.
$ac_ext
23104 cat >>conftest.
$ac_ext <<_ACEOF
23105 /* end confdefs.h. */
23115 rm -f conftest.
$ac_objext conftest
$ac_exeext
23116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23117 (eval $ac_link) 2>&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); } &&
23121 { ac_try
='test -s conftest$ac_exeext'
23122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23123 (eval $ac_try) 2>&5
23125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23126 (exit $ac_status); }; }; then
23129 echo "$as_me: failed program was:" >&5
23130 sed 's/^/| /' conftest.
$ac_ext >&5
23134 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23135 if test $ac_R_space = yes; then
23136 echo "$as_me:$LINENO: result: yes" >&5
23137 echo "${ECHO_T}yes" >&6
23138 X_LIBS
="$X_LIBS -R $x_libraries"
23140 echo "$as_me:$LINENO: result: neither works" >&5
23141 echo "${ECHO_T}neither works" >&6
23144 LIBS
=$ac_xsave_LIBS
23148 # Check for system-dependent libraries X programs must link with.
23149 # Do this before checking for the system-independent R6 libraries
23150 # (-lICE), since we may need -lsocket or whatever for X linking.
23152 if test "$ISC" = yes; then
23153 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23155 # Martyn Johnson says this is needed for Ultrix, if the X
23156 # libraries were built with DECnet support. And Karl Berry says
23157 # the Alpha needs dnet_stub (dnet does not exist).
23158 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23159 cat >conftest.
$ac_ext <<_ACEOF
23160 #line $LINENO "configure"
23163 cat confdefs.h
>>conftest.
$ac_ext
23164 cat >>conftest.
$ac_ext <<_ACEOF
23165 /* end confdefs.h. */
23167 /* Override any gcc2 internal prototype to avoid an error. */
23171 /* We use char because int might match the return type of a gcc2
23172 builtin and then its argument prototype would still apply. */
23173 char XOpenDisplay ();
23182 rm -f conftest.
$ac_objext conftest
$ac_exeext
23183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23184 (eval $ac_link) 2>&5
23186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23187 (exit $ac_status); } &&
23188 { ac_try
='test -s conftest$ac_exeext'
23189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23190 (eval $ac_try) 2>&5
23192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193 (exit $ac_status); }; }; then
23196 echo "$as_me: failed program was:" >&5
23197 sed 's/^/| /' conftest.
$ac_ext >&5
23199 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23200 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23201 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23202 echo $ECHO_N "(cached) $ECHO_C" >&6
23204 ac_check_lib_save_LIBS
=$LIBS
23205 LIBS
="-ldnet $LIBS"
23206 cat >conftest.
$ac_ext <<_ACEOF
23207 #line $LINENO "configure"
23210 cat confdefs.h
>>conftest.
$ac_ext
23211 cat >>conftest.
$ac_ext <<_ACEOF
23212 /* end confdefs.h. */
23214 /* Override any gcc2 internal prototype to avoid an error. */
23218 /* We use char because int might match the return type of a gcc2
23219 builtin and then its argument prototype would still apply. */
23229 rm -f conftest.
$ac_objext conftest
$ac_exeext
23230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23231 (eval $ac_link) 2>&5
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); } &&
23235 { ac_try
='test -s conftest$ac_exeext'
23236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23237 (eval $ac_try) 2>&5
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); }; }; then
23241 ac_cv_lib_dnet_dnet_ntoa
=yes
23243 echo "$as_me: failed program was:" >&5
23244 sed 's/^/| /' conftest.
$ac_ext >&5
23246 ac_cv_lib_dnet_dnet_ntoa
=no
23248 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23249 LIBS
=$ac_check_lib_save_LIBS
23251 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23252 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23253 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23254 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23257 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23258 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23259 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23260 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23261 echo $ECHO_N "(cached) $ECHO_C" >&6
23263 ac_check_lib_save_LIBS
=$LIBS
23264 LIBS
="-ldnet_stub $LIBS"
23265 cat >conftest.
$ac_ext <<_ACEOF
23266 #line $LINENO "configure"
23269 cat confdefs.h
>>conftest.
$ac_ext
23270 cat >>conftest.
$ac_ext <<_ACEOF
23271 /* end confdefs.h. */
23273 /* Override any gcc2 internal prototype to avoid an error. */
23277 /* We use char because int might match the return type of a gcc2
23278 builtin and then its argument prototype would still apply. */
23288 rm -f conftest.
$ac_objext conftest
$ac_exeext
23289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23290 (eval $ac_link) 2>&5
23292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293 (exit $ac_status); } &&
23294 { ac_try
='test -s conftest$ac_exeext'
23295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23296 (eval $ac_try) 2>&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); }; }; then
23300 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23302 echo "$as_me: failed program was:" >&5
23303 sed 's/^/| /' conftest.
$ac_ext >&5
23305 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23307 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23308 LIBS
=$ac_check_lib_save_LIBS
23310 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23311 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23312 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23313 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23318 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23319 LIBS
="$ac_xsave_LIBS"
23321 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23322 # to get the SysV transport functions.
23323 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23325 # The nsl library prevents programs from opening the X display
23326 # on Irix 5.2, according to T.E. Dickey.
23327 # The functions gethostbyname, getservbyname, and inet_addr are
23328 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23329 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23330 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23331 if test "${ac_cv_func_gethostbyname+set}" = set; then
23332 echo $ECHO_N "(cached) $ECHO_C" >&6
23334 cat >conftest.
$ac_ext <<_ACEOF
23335 #line $LINENO "configure"
23338 cat confdefs.h
>>conftest.
$ac_ext
23339 cat >>conftest.
$ac_ext <<_ACEOF
23340 /* end confdefs.h. */
23341 /* System header to define __stub macros and hopefully few prototypes,
23342 which can conflict with char gethostbyname (); below.
23343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23344 <limits.h> exists even on freestanding compilers. */
23346 # include <limits.h>
23348 # include <assert.h>
23350 /* Override any gcc2 internal prototype to avoid an error. */
23355 /* We use char because int might match the return type of a gcc2
23356 builtin and then its argument prototype would still apply. */
23357 char gethostbyname ();
23358 /* The GNU C library defines this for functions which it implements
23359 to always fail with ENOSYS. Some functions are actually named
23360 something starting with __ and the normal name is an alias. */
23361 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23364 char (*f) () = gethostbyname;
23373 return f != gethostbyname;
23378 rm -f conftest.
$ac_objext conftest
$ac_exeext
23379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23380 (eval $ac_link) 2>&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); } &&
23384 { ac_try
='test -s conftest$ac_exeext'
23385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23386 (eval $ac_try) 2>&5
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); }; }; then
23390 ac_cv_func_gethostbyname
=yes
23392 echo "$as_me: failed program was:" >&5
23393 sed 's/^/| /' conftest.
$ac_ext >&5
23395 ac_cv_func_gethostbyname
=no
23397 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23399 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23400 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23402 if test $ac_cv_func_gethostbyname = no
; then
23403 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23404 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23405 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23406 echo $ECHO_N "(cached) $ECHO_C" >&6
23408 ac_check_lib_save_LIBS
=$LIBS
23410 cat >conftest.
$ac_ext <<_ACEOF
23411 #line $LINENO "configure"
23414 cat confdefs.h
>>conftest.
$ac_ext
23415 cat >>conftest.
$ac_ext <<_ACEOF
23416 /* end confdefs.h. */
23418 /* Override any gcc2 internal prototype to avoid an error. */
23422 /* We use char because int might match the return type of a gcc2
23423 builtin and then its argument prototype would still apply. */
23424 char gethostbyname ();
23433 rm -f conftest.
$ac_objext conftest
$ac_exeext
23434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23435 (eval $ac_link) 2>&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); } &&
23439 { ac_try
='test -s conftest$ac_exeext'
23440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23441 (eval $ac_try) 2>&5
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); }; }; then
23445 ac_cv_lib_nsl_gethostbyname
=yes
23447 echo "$as_me: failed program was:" >&5
23448 sed 's/^/| /' conftest.
$ac_ext >&5
23450 ac_cv_lib_nsl_gethostbyname
=no
23452 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23453 LIBS
=$ac_check_lib_save_LIBS
23455 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23456 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23457 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23458 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23461 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23462 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23463 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23464 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23465 echo $ECHO_N "(cached) $ECHO_C" >&6
23467 ac_check_lib_save_LIBS
=$LIBS
23469 cat >conftest.
$ac_ext <<_ACEOF
23470 #line $LINENO "configure"
23473 cat confdefs.h
>>conftest.
$ac_ext
23474 cat >>conftest.
$ac_ext <<_ACEOF
23475 /* end confdefs.h. */
23477 /* Override any gcc2 internal prototype to avoid an error. */
23481 /* We use char because int might match the return type of a gcc2
23482 builtin and then its argument prototype would still apply. */
23483 char gethostbyname ();
23492 rm -f conftest.
$ac_objext conftest
$ac_exeext
23493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23494 (eval $ac_link) 2>&5
23496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23497 (exit $ac_status); } &&
23498 { ac_try
='test -s conftest$ac_exeext'
23499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23500 (eval $ac_try) 2>&5
23502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23503 (exit $ac_status); }; }; then
23504 ac_cv_lib_bsd_gethostbyname
=yes
23506 echo "$as_me: failed program was:" >&5
23507 sed 's/^/| /' conftest.
$ac_ext >&5
23509 ac_cv_lib_bsd_gethostbyname
=no
23511 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23512 LIBS
=$ac_check_lib_save_LIBS
23514 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23515 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23516 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23517 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23523 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23524 # socket/setsockopt and other routines are undefined under SCO ODT
23525 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23526 # on later versions), says Simon Leinen: it contains gethostby*
23527 # variants that don't use the name server (or something). -lsocket
23528 # must be given before -lnsl if both are needed. We assume that
23529 # if connect needs -lnsl, so does gethostbyname.
23530 echo "$as_me:$LINENO: checking for connect" >&5
23531 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23532 if test "${ac_cv_func_connect+set}" = set; then
23533 echo $ECHO_N "(cached) $ECHO_C" >&6
23535 cat >conftest.
$ac_ext <<_ACEOF
23536 #line $LINENO "configure"
23539 cat confdefs.h
>>conftest.
$ac_ext
23540 cat >>conftest.
$ac_ext <<_ACEOF
23541 /* end confdefs.h. */
23542 /* System header to define __stub macros and hopefully few prototypes,
23543 which can conflict with char connect (); below.
23544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23545 <limits.h> exists even on freestanding compilers. */
23547 # include <limits.h>
23549 # include <assert.h>
23551 /* Override any gcc2 internal prototype to avoid an error. */
23556 /* We use char because int might match the return type of a gcc2
23557 builtin and then its argument prototype would still apply. */
23559 /* The GNU C library defines this for functions which it implements
23560 to always fail with ENOSYS. Some functions are actually named
23561 something starting with __ and the normal name is an alias. */
23562 #if defined (__stub_connect) || defined (__stub___connect)
23565 char (*f) () = connect;
23574 return f != connect;
23579 rm -f conftest.
$ac_objext conftest
$ac_exeext
23580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23581 (eval $ac_link) 2>&5
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); } &&
23585 { ac_try
='test -s conftest$ac_exeext'
23586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23587 (eval $ac_try) 2>&5
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); }; }; then
23591 ac_cv_func_connect
=yes
23593 echo "$as_me: failed program was:" >&5
23594 sed 's/^/| /' conftest.
$ac_ext >&5
23596 ac_cv_func_connect
=no
23598 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23600 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23601 echo "${ECHO_T}$ac_cv_func_connect" >&6
23603 if test $ac_cv_func_connect = no
; then
23604 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23605 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23606 if test "${ac_cv_lib_socket_connect+set}" = set; then
23607 echo $ECHO_N "(cached) $ECHO_C" >&6
23609 ac_check_lib_save_LIBS
=$LIBS
23610 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23611 cat >conftest.
$ac_ext <<_ACEOF
23612 #line $LINENO "configure"
23615 cat confdefs.h
>>conftest.
$ac_ext
23616 cat >>conftest.
$ac_ext <<_ACEOF
23617 /* end confdefs.h. */
23619 /* Override any gcc2 internal prototype to avoid an error. */
23623 /* We use char because int might match the return type of a gcc2
23624 builtin and then its argument prototype would still apply. */
23634 rm -f conftest.
$ac_objext conftest
$ac_exeext
23635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23636 (eval $ac_link) 2>&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); } &&
23640 { ac_try
='test -s conftest$ac_exeext'
23641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23642 (eval $ac_try) 2>&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); }; }; then
23646 ac_cv_lib_socket_connect
=yes
23648 echo "$as_me: failed program was:" >&5
23649 sed 's/^/| /' conftest.
$ac_ext >&5
23651 ac_cv_lib_socket_connect
=no
23653 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23654 LIBS
=$ac_check_lib_save_LIBS
23656 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23657 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23658 if test $ac_cv_lib_socket_connect = yes; then
23659 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23664 # Guillermo Gomez says -lposix is necessary on A/UX.
23665 echo "$as_me:$LINENO: checking for remove" >&5
23666 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23667 if test "${ac_cv_func_remove+set}" = set; then
23668 echo $ECHO_N "(cached) $ECHO_C" >&6
23670 cat >conftest.
$ac_ext <<_ACEOF
23671 #line $LINENO "configure"
23674 cat confdefs.h
>>conftest.
$ac_ext
23675 cat >>conftest.
$ac_ext <<_ACEOF
23676 /* end confdefs.h. */
23677 /* System header to define __stub macros and hopefully few prototypes,
23678 which can conflict with char remove (); below.
23679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23680 <limits.h> exists even on freestanding compilers. */
23682 # include <limits.h>
23684 # include <assert.h>
23686 /* Override any gcc2 internal prototype to avoid an error. */
23691 /* We use char because int might match the return type of a gcc2
23692 builtin and then its argument prototype would still apply. */
23694 /* The GNU C library defines this for functions which it implements
23695 to always fail with ENOSYS. Some functions are actually named
23696 something starting with __ and the normal name is an alias. */
23697 #if defined (__stub_remove) || defined (__stub___remove)
23700 char (*f) () = remove;
23709 return f != remove;
23714 rm -f conftest.
$ac_objext conftest
$ac_exeext
23715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23716 (eval $ac_link) 2>&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); } &&
23720 { ac_try
='test -s conftest$ac_exeext'
23721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23722 (eval $ac_try) 2>&5
23724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23725 (exit $ac_status); }; }; then
23726 ac_cv_func_remove
=yes
23728 echo "$as_me: failed program was:" >&5
23729 sed 's/^/| /' conftest.
$ac_ext >&5
23731 ac_cv_func_remove
=no
23733 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23735 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23736 echo "${ECHO_T}$ac_cv_func_remove" >&6
23738 if test $ac_cv_func_remove = no
; then
23739 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23740 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23741 if test "${ac_cv_lib_posix_remove+set}" = set; then
23742 echo $ECHO_N "(cached) $ECHO_C" >&6
23744 ac_check_lib_save_LIBS
=$LIBS
23745 LIBS
="-lposix $LIBS"
23746 cat >conftest.
$ac_ext <<_ACEOF
23747 #line $LINENO "configure"
23750 cat confdefs.h
>>conftest.
$ac_ext
23751 cat >>conftest.
$ac_ext <<_ACEOF
23752 /* end confdefs.h. */
23754 /* Override any gcc2 internal prototype to avoid an error. */
23758 /* We use char because int might match the return type of a gcc2
23759 builtin and then its argument prototype would still apply. */
23769 rm -f conftest.
$ac_objext conftest
$ac_exeext
23770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23771 (eval $ac_link) 2>&5
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); } &&
23775 { ac_try
='test -s conftest$ac_exeext'
23776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23777 (eval $ac_try) 2>&5
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); }; }; then
23781 ac_cv_lib_posix_remove
=yes
23783 echo "$as_me: failed program was:" >&5
23784 sed 's/^/| /' conftest.
$ac_ext >&5
23786 ac_cv_lib_posix_remove
=no
23788 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23789 LIBS
=$ac_check_lib_save_LIBS
23791 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23792 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23793 if test $ac_cv_lib_posix_remove = yes; then
23794 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23799 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23800 echo "$as_me:$LINENO: checking for shmat" >&5
23801 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23802 if test "${ac_cv_func_shmat+set}" = set; then
23803 echo $ECHO_N "(cached) $ECHO_C" >&6
23805 cat >conftest.
$ac_ext <<_ACEOF
23806 #line $LINENO "configure"
23809 cat confdefs.h
>>conftest.
$ac_ext
23810 cat >>conftest.
$ac_ext <<_ACEOF
23811 /* end confdefs.h. */
23812 /* System header to define __stub macros and hopefully few prototypes,
23813 which can conflict with char shmat (); below.
23814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23815 <limits.h> exists even on freestanding compilers. */
23817 # include <limits.h>
23819 # include <assert.h>
23821 /* Override any gcc2 internal prototype to avoid an error. */
23826 /* We use char because int might match the return type of a gcc2
23827 builtin and then its argument prototype would still apply. */
23829 /* The GNU C library defines this for functions which it implements
23830 to always fail with ENOSYS. Some functions are actually named
23831 something starting with __ and the normal name is an alias. */
23832 #if defined (__stub_shmat) || defined (__stub___shmat)
23835 char (*f) () = shmat;
23849 rm -f conftest.
$ac_objext conftest
$ac_exeext
23850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23851 (eval $ac_link) 2>&5
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); } &&
23855 { ac_try
='test -s conftest$ac_exeext'
23856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23857 (eval $ac_try) 2>&5
23859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23860 (exit $ac_status); }; }; then
23861 ac_cv_func_shmat
=yes
23863 echo "$as_me: failed program was:" >&5
23864 sed 's/^/| /' conftest.
$ac_ext >&5
23866 ac_cv_func_shmat
=no
23868 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23870 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23871 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23873 if test $ac_cv_func_shmat = no
; then
23874 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23875 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23876 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23877 echo $ECHO_N "(cached) $ECHO_C" >&6
23879 ac_check_lib_save_LIBS
=$LIBS
23881 cat >conftest.
$ac_ext <<_ACEOF
23882 #line $LINENO "configure"
23885 cat confdefs.h
>>conftest.
$ac_ext
23886 cat >>conftest.
$ac_ext <<_ACEOF
23887 /* end confdefs.h. */
23889 /* Override any gcc2 internal prototype to avoid an error. */
23893 /* We use char because int might match the return type of a gcc2
23894 builtin and then its argument prototype would still apply. */
23904 rm -f conftest.
$ac_objext conftest
$ac_exeext
23905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23906 (eval $ac_link) 2>&5
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); } &&
23910 { ac_try
='test -s conftest$ac_exeext'
23911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23912 (eval $ac_try) 2>&5
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); }; }; then
23916 ac_cv_lib_ipc_shmat
=yes
23918 echo "$as_me: failed program was:" >&5
23919 sed 's/^/| /' conftest.
$ac_ext >&5
23921 ac_cv_lib_ipc_shmat
=no
23923 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23924 LIBS
=$ac_check_lib_save_LIBS
23926 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23927 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23928 if test $ac_cv_lib_ipc_shmat = yes; then
23929 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23935 # Check for libraries that X11R6 Xt/Xaw programs need.
23936 ac_save_LDFLAGS
=$LDFLAGS
23937 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23938 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23939 # check for ICE first), but we must link in the order -lSM -lICE or
23940 # we get undefined symbols. So assume we have SM if we have ICE.
23941 # These have to be linked with before -lX11, unlike the other
23942 # libraries we check for below, so use a different variable.
23943 # John Interrante, Karl Berry
23944 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23945 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23946 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23947 echo $ECHO_N "(cached) $ECHO_C" >&6
23949 ac_check_lib_save_LIBS
=$LIBS
23950 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23951 cat >conftest.
$ac_ext <<_ACEOF
23952 #line $LINENO "configure"
23955 cat confdefs.h
>>conftest.
$ac_ext
23956 cat >>conftest.
$ac_ext <<_ACEOF
23957 /* end confdefs.h. */
23959 /* Override any gcc2 internal prototype to avoid an error. */
23963 /* We use char because int might match the return type of a gcc2
23964 builtin and then its argument prototype would still apply. */
23965 char IceConnectionNumber ();
23969 IceConnectionNumber ();
23974 rm -f conftest.
$ac_objext conftest
$ac_exeext
23975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23976 (eval $ac_link) 2>&5
23978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23979 (exit $ac_status); } &&
23980 { ac_try
='test -s conftest$ac_exeext'
23981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23982 (eval $ac_try) 2>&5
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); }; }; then
23986 ac_cv_lib_ICE_IceConnectionNumber
=yes
23988 echo "$as_me: failed program was:" >&5
23989 sed 's/^/| /' conftest.
$ac_ext >&5
23991 ac_cv_lib_ICE_IceConnectionNumber
=no
23993 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23994 LIBS
=$ac_check_lib_save_LIBS
23996 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23997 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23998 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23999 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
24002 LDFLAGS
=$ac_save_LDFLAGS
24007 if test "$no_x" = "yes"; then
24008 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24009 echo "$as_me: error: X11 not found" >&2;}
24010 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
24013 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
24014 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
24015 AFMINSTALL
=afminstall
24016 COMPILED_X_PROGRAM
=0
24018 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24019 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24022 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24024 if test -f "$ac_dir/Xm/Xm.h"; then
24025 ac_find_includes
=$ac_dir
24030 if test "$ac_find_includes" != "" ; then
24031 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24032 echo "${ECHO_T}found in $ac_find_includes" >&6
24034 if test "x$ac_find_includes" = "x/usr/include"; then
24035 ac_path_to_include
=""
24037 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
24039 if test $result = 0; then
24040 ac_path_to_include
=""
24042 ac_path_to_include
=" -I$ac_find_includes"
24046 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
24048 cat >conftest.
$ac_ext <<_ACEOF
24049 #line $LINENO "configure"
24052 cat confdefs.h
>>conftest.
$ac_ext
24053 cat >>conftest.
$ac_ext <<_ACEOF
24054 /* end confdefs.h. */
24063 version = xmUseVersion;
24069 rm -f conftest.
$ac_objext
24070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24071 (eval $ac_compile) 2>&5
24073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074 (exit $ac_status); } &&
24075 { ac_try
='test -s conftest.$ac_objext'
24076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24077 (eval $ac_try) 2>&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); }; }; then
24082 echo "$as_me:$LINENO: result: found in default search path" >&5
24083 echo "${ECHO_T}found in default search path" >&6
24084 COMPILED_X_PROGRAM
=1
24087 echo "$as_me: failed program was:" >&5
24088 sed 's/^/| /' conftest.
$ac_ext >&5
24091 echo "$as_me:$LINENO: result: no" >&5
24092 echo "${ECHO_T}no" >&6
24093 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24094 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24095 { (exit 1); exit 1; }; }
24099 rm -f conftest.
$ac_objext conftest.
$ac_ext
24102 if test "$COMPILED_X_PROGRAM" = 0; then
24103 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24104 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24107 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24109 for ac_extension
in a so sl dylib
; do
24110 if test -f "$ac_dir/libXm.$ac_extension"; then
24111 ac_find_libraries
=$ac_dir
24117 if test "$ac_find_libraries" != "" ; then
24118 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24119 echo "${ECHO_T}found at $ac_find_libraries" >&6
24122 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24124 if test $result = 0; then
24127 ac_path_to_link
=" -L$ac_find_libraries"
24130 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24132 save_CFLAGS
=$CFLAGS
24133 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24135 cat >conftest.
$ac_ext <<_ACEOF
24136 #line $LINENO "configure"
24139 cat confdefs.h
>>conftest.
$ac_ext
24140 cat >>conftest.
$ac_ext <<_ACEOF
24141 /* end confdefs.h. */
24150 version = xmUseVersion;
24156 rm -f conftest.
$ac_objext
24157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24158 (eval $ac_compile) 2>&5
24160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); } &&
24162 { ac_try
='test -s conftest.$ac_objext'
24163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24164 (eval $ac_try) 2>&5
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); }; }; then
24169 echo "$as_me:$LINENO: result: found in default search path" >&5
24170 echo "${ECHO_T}found in default search path" >&6
24171 COMPILED_X_PROGRAM
=1
24174 echo "$as_me: failed program was:" >&5
24175 sed 's/^/| /' conftest.
$ac_ext >&5
24178 echo "$as_me:$LINENO: result: no" >&5
24179 echo "${ECHO_T}no" >&6
24180 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24181 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24182 { (exit 1); exit 1; }; }
24186 rm -f conftest.
$ac_objext conftest.
$ac_ext
24188 CFLAGS
=$save_CFLAGS
24192 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24193 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24197 for libp
in "" " -lXp"; do
24198 if test "$libs_found" = "0"; then
24199 for libsm_ice
in "" " -lSM -lICE"; do
24200 if test "$libs_found" = "0"; then
24202 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24203 save_CFLAGS
=$CFLAGS
24204 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24206 cat >conftest.
$ac_ext <<_ACEOF
24207 #line $LINENO "configure"
24210 cat confdefs.h
>>conftest.
$ac_ext
24211 cat >>conftest.
$ac_ext <<_ACEOF
24212 /* end confdefs.h. */
24215 #include <Xm/List.h>
24221 XmString string = NULL;
24224 XmListAddItem(w, string, position);
24230 rm -f conftest.
$ac_objext conftest
$ac_exeext
24231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24232 (eval $ac_link) 2>&5
24234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235 (exit $ac_status); } &&
24236 { ac_try
='test -s conftest$ac_exeext'
24237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24238 (eval $ac_try) 2>&5
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); }; }; then
24244 libsm_ice_link
="$libsm_ice"
24245 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24246 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24250 echo "$as_me: failed program was:" >&5
24251 sed 's/^/| /' conftest.
$ac_ext >&5
24256 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24259 CFLAGS
=$save_CFLAGS
24265 if test "$libs_found" = "0"; then
24266 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24267 echo "${ECHO_T}can't find the right libraries" >&6
24268 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24269 echo "$as_me: error: can't link a simple motif program" >&2;}
24270 { (exit 1); exit 1; }; }
24273 save_CFLAGS
=$CFLAGS
24274 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24275 echo "$as_me:$LINENO: checking for Motif 2" >&5
24276 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24277 cat >conftest.
$ac_ext <<_ACEOF
24278 #line $LINENO "configure"
24281 cat confdefs.h
>>conftest.
$ac_ext
24282 cat >>conftest.
$ac_ext <<_ACEOF
24283 /* end confdefs.h. */
24291 #if XmVersion < 2000
24292 #error "Not Motif 2"
24299 rm -f conftest.
$ac_objext
24300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24301 (eval $ac_compile) 2>&5
24303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304 (exit $ac_status); } &&
24305 { ac_try
='test -s conftest.$ac_objext'
24306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24307 (eval $ac_try) 2>&5
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 (exit $ac_status); }; }; then
24312 cat >>confdefs.h
<<\_ACEOF
24313 #define __WXMOTIF20__ 1
24316 echo "$as_me:$LINENO: result: found" >&5
24317 echo "${ECHO_T}found" >&6
24320 echo "$as_me: failed program was:" >&5
24321 sed 's/^/| /' conftest.
$ac_ext >&5
24324 cat >>confdefs.h
<<\_ACEOF
24325 #define __WXMOTIF20__ 0
24328 echo "$as_me:$LINENO: result: not found" >&5
24329 echo "${ECHO_T}not found" >&6
24332 rm -f conftest.
$ac_objext conftest.
$ac_ext
24333 CFLAGS
=$save_CFLAGS
24335 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24336 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24341 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24342 if test "$wxUSE_LIBXPM" = "sys"; then
24343 echo "$as_me:$LINENO: checking for Xpm library" >&5
24344 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24347 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24349 for ac_extension
in a so sl dylib
; do
24350 if test -f "$ac_dir/libXpm.$ac_extension"; then
24351 ac_find_libraries
=$ac_dir
24357 if test "$ac_find_libraries" != "" ; then
24359 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24361 if test $result = 0; then
24364 ac_path_to_link
=" -L$ac_find_libraries"
24367 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24368 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24369 echo "${ECHO_T}found at $ac_find_libraries" >&6
24371 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
24372 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
24373 if test "${wx_cv_x11_xpm_h+set}" = set; then
24374 echo $ECHO_N "(cached) $ECHO_C" >&6
24377 save_CFLAGS
=$CFLAGS
24378 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24380 cat >conftest.
$ac_ext <<_ACEOF
24381 #line $LINENO "configure"
24384 cat confdefs.h
>>conftest.
$ac_ext
24385 cat >>conftest.
$ac_ext <<_ACEOF
24386 /* end confdefs.h. */
24388 #include <X11/xpm.h>
24395 version = XpmLibraryVersion();
24401 rm -f conftest.
$ac_objext
24402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24403 (eval $ac_compile) 2>&5
24405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24406 (exit $ac_status); } &&
24407 { ac_try
='test -s conftest.$ac_objext'
24408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24409 (eval $ac_try) 2>&5
24411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24412 (exit $ac_status); }; }; then
24413 wx_cv_x11_xpm_h
=yes
24415 echo "$as_me: failed program was:" >&5
24416 sed 's/^/| /' conftest.
$ac_ext >&5
24421 rm -f conftest.
$ac_objext conftest.
$ac_ext
24423 CFLAGS
=$save_CFLAGS
24427 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
24428 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
24430 if test $wx_cv_x11_xpm_h = "yes"; then
24431 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
24432 cat >>confdefs.h
<<\_ACEOF
24433 #define wxHAVE_LIB_XPM 1
24437 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
24438 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
24444 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
24445 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
24446 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
24447 echo $ECHO_N "(cached) $ECHO_C" >&6
24449 ac_check_lib_save_LIBS
=$LIBS
24450 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
24451 cat >conftest.
$ac_ext <<_ACEOF
24452 #line $LINENO "configure"
24455 cat confdefs.h
>>conftest.
$ac_ext
24456 cat >>conftest.
$ac_ext <<_ACEOF
24457 /* end confdefs.h. */
24459 /* Override any gcc2 internal prototype to avoid an error. */
24463 /* We use char because int might match the return type of a gcc2
24464 builtin and then its argument prototype would still apply. */
24465 char XShapeQueryExtension ();
24469 XShapeQueryExtension ();
24474 rm -f conftest.
$ac_objext conftest
$ac_exeext
24475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24476 (eval $ac_link) 2>&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); } &&
24480 { ac_try
='test -s conftest$ac_exeext'
24481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24482 (eval $ac_try) 2>&5
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); }; }; then
24486 ac_cv_lib_Xext_XShapeQueryExtension
=yes
24488 echo "$as_me: failed program was:" >&5
24489 sed 's/^/| /' conftest.
$ac_ext >&5
24491 ac_cv_lib_Xext_XShapeQueryExtension
=no
24493 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24494 LIBS
=$ac_check_lib_save_LIBS
24496 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
24497 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
24498 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
24500 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
24506 if test "$wxHAVE_XEXT_LIB" = 1; then
24507 save_CFLAGS
="$CFLAGS"
24508 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24510 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24511 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24512 cat >conftest.
$ac_ext <<_ACEOF
24513 #line $LINENO "configure"
24516 cat confdefs.h
>>conftest.
$ac_ext
24517 cat >>conftest.
$ac_ext <<_ACEOF
24518 /* end confdefs.h. */
24520 #include <X11/Xlib.h>
24521 #include <X11/extensions/shape.h>
24527 int dummy1, dummy2;
24528 XShapeQueryExtension((Display*)NULL,
24529 (int*)NULL, (int*)NULL);
24535 rm -f conftest.
$ac_objext
24536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24537 (eval $ac_compile) 2>&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); } &&
24541 { ac_try
='test -s conftest.$ac_objext'
24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24543 (eval $ac_try) 2>&5
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; }; then
24548 cat >>confdefs.h
<<\_ACEOF
24549 #define HAVE_XSHAPE 1
24552 echo "$as_me:$LINENO: result: found" >&5
24553 echo "${ECHO_T}found" >&6
24556 echo "$as_me: failed program was:" >&5
24557 sed 's/^/| /' conftest.
$ac_ext >&5
24560 echo "$as_me:$LINENO: result: not found" >&5
24561 echo "${ECHO_T}not found" >&6
24564 rm -f conftest.
$ac_objext conftest.
$ac_ext
24565 CFLAGS
="$save_CFLAGS"
24570 if test "$wxUSE_MAC" = 1; then
24571 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24572 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24573 if test "$GCC" = yes; then
24574 echo "$as_me:$LINENO: result: gcc" >&5
24575 echo "${ECHO_T}gcc" >&6
24576 CPPFLAGS_PASCAL
="-fpascal-strings"
24577 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24578 echo "$as_me:$LINENO: result: xlc" >&5
24579 echo "${ECHO_T}xlc" >&6
24580 CPPFLAGS_PASCAL
="-qmacpstr"
24582 echo "$as_me:$LINENO: result: none" >&5
24583 echo "${ECHO_T}none" >&6
24586 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24588 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24591 WXBASEPORT
="_carbon"
24594 if test "$wxUSE_COCOA" = 1; then
24595 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24600 if test "$wxUSE_PM" = 1; then
24605 if test "$TOOLKIT" = "PM" ; then
24608 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24611 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24613 if test "$wxUSE_UNIVERSAL" = "yes"; then
24614 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24616 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24617 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24619 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24620 if test "$wxUSE_X11" = 1; then
24621 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24623 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24625 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24628 ALL_OBJECTS
="\$(GUIOBJS)"
24629 ALL_SOURCES
="\$(ALL_SOURCES)"
24630 ALL_HEADERS
="\$(ALL_HEADERS)"
24633 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24635 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24636 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24639 if test "$wxUSE_HTML" = "yes"; then
24640 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24643 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24644 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24646 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24647 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24649 if test "$wxUSE_LIBPNG" = "builtin" ; then
24650 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24653 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24654 DISTDIR
="wx\$(TOOLKIT)"
24660 if test "$USE_WIN32" = 1 ; then
24661 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24662 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24666 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24667 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24670 ALL_SOURCES
="\$(ALL_SOURCES)"
24671 ALL_HEADERS
="\$(ALL_HEADERS)"
24673 PORT_FILES
="\${top_srcdir}/src/files.lst"
24675 GUIDIST
="BASE_DIST"
24685 if test "$TOOLKIT" != "MSW" ; then
24687 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24689 if test "${ac_cv_header_sql_h+set}" = set; then
24690 echo "$as_me:$LINENO: checking for sql.h" >&5
24691 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24692 if test "${ac_cv_header_sql_h+set}" = set; then
24693 echo $ECHO_N "(cached) $ECHO_C" >&6
24695 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24696 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24698 # Is the header compilable?
24699 echo "$as_me:$LINENO: checking sql.h usability" >&5
24700 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24701 cat >conftest.
$ac_ext <<_ACEOF
24702 #line $LINENO "configure"
24705 cat confdefs.h
>>conftest.
$ac_ext
24706 cat >>conftest.
$ac_ext <<_ACEOF
24707 /* end confdefs.h. */
24708 $ac_includes_default
24711 rm -f conftest.
$ac_objext
24712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24713 (eval $ac_compile) 2>&5
24715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24716 (exit $ac_status); } &&
24717 { ac_try
='test -s conftest.$ac_objext'
24718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24719 (eval $ac_try) 2>&5
24721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24722 (exit $ac_status); }; }; then
24723 ac_header_compiler
=yes
24725 echo "$as_me: failed program was:" >&5
24726 sed 's/^/| /' conftest.
$ac_ext >&5
24728 ac_header_compiler
=no
24730 rm -f conftest.
$ac_objext conftest.
$ac_ext
24731 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24732 echo "${ECHO_T}$ac_header_compiler" >&6
24734 # Is the header present?
24735 echo "$as_me:$LINENO: checking sql.h presence" >&5
24736 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24737 cat >conftest.
$ac_ext <<_ACEOF
24738 #line $LINENO "configure"
24741 cat confdefs.h
>>conftest.
$ac_ext
24742 cat >>conftest.
$ac_ext <<_ACEOF
24743 /* end confdefs.h. */
24746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24747 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24749 grep -v '^ *+' conftest.er1
>conftest.err
24751 cat conftest.err
>&5
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); } >/dev
/null
; then
24754 if test -s conftest.err
; then
24755 ac_cpp_err
=$ac_c_preproc_warn_flag
24762 if test -z "$ac_cpp_err"; then
24763 ac_header_preproc
=yes
24765 echo "$as_me: failed program was:" >&5
24766 sed 's/^/| /' conftest.
$ac_ext >&5
24768 ac_header_preproc
=no
24770 rm -f conftest.err conftest.
$ac_ext
24771 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24772 echo "${ECHO_T}$ac_header_preproc" >&6
24774 # So? What about this header?
24775 case $ac_header_compiler:$ac_header_preproc in
24777 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24778 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24779 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24780 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24783 ## ------------------------------------ ##
24784 ## Report this to bug-autoconf@gnu.org. ##
24785 ## ------------------------------------ ##
24788 sed "s/^/$as_me: WARNING: /" >&2
24791 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24792 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24793 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24794 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24795 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24796 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24799 ## ------------------------------------ ##
24800 ## Report this to bug-autoconf@gnu.org. ##
24801 ## ------------------------------------ ##
24804 sed "s/^/$as_me: WARNING: /" >&2
24807 echo "$as_me:$LINENO: checking for sql.h" >&5
24808 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24809 if test "${ac_cv_header_sql_h+set}" = set; then
24810 echo $ECHO_N "(cached) $ECHO_C" >&6
24812 ac_cv_header_sql_h
=$ac_header_preproc
24814 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24815 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24818 if test $ac_cv_header_sql_h = yes; then
24823 if test "x$found_sql_h" = "x1" ; then
24824 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24825 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24826 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24827 echo $ECHO_N "(cached) $ECHO_C" >&6
24829 ac_check_lib_save_LIBS
=$LIBS
24830 LIBS
="-liodbc $LIBS"
24831 cat >conftest.
$ac_ext <<_ACEOF
24832 #line $LINENO "configure"
24835 cat confdefs.h
>>conftest.
$ac_ext
24836 cat >>conftest.
$ac_ext <<_ACEOF
24837 /* end confdefs.h. */
24839 /* Override any gcc2 internal prototype to avoid an error. */
24843 /* We use char because int might match the return type of a gcc2
24844 builtin and then its argument prototype would still apply. */
24845 char SQLAllocEnv ();
24854 rm -f conftest.
$ac_objext conftest
$ac_exeext
24855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24856 (eval $ac_link) 2>&5
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); } &&
24860 { ac_try
='test -s conftest$ac_exeext'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; }; then
24866 ac_cv_lib_iodbc_SQLAllocEnv
=yes
24868 echo "$as_me: failed program was:" >&5
24869 sed 's/^/| /' conftest.
$ac_ext >&5
24871 ac_cv_lib_iodbc_SQLAllocEnv
=no
24873 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24874 LIBS
=$ac_check_lib_save_LIBS
24876 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24877 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24878 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24879 ODBC_LINK
=" -liodbc"
24882 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24883 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24884 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24885 echo $ECHO_N "(cached) $ECHO_C" >&6
24887 ac_check_lib_save_LIBS
=$LIBS
24888 LIBS
="-lunixodbc $LIBS"
24889 cat >conftest.
$ac_ext <<_ACEOF
24890 #line $LINENO "configure"
24893 cat confdefs.h
>>conftest.
$ac_ext
24894 cat >>conftest.
$ac_ext <<_ACEOF
24895 /* end confdefs.h. */
24897 /* Override any gcc2 internal prototype to avoid an error. */
24901 /* We use char because int might match the return type of a gcc2
24902 builtin and then its argument prototype would still apply. */
24903 char SQLAllocEnv ();
24912 rm -f conftest.
$ac_objext conftest
$ac_exeext
24913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24914 (eval $ac_link) 2>&5
24916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24917 (exit $ac_status); } &&
24918 { ac_try
='test -s conftest$ac_exeext'
24919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24920 (eval $ac_try) 2>&5
24922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24923 (exit $ac_status); }; }; then
24924 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
24926 echo "$as_me: failed program was:" >&5
24927 sed 's/^/| /' conftest.
$ac_ext >&5
24929 ac_cv_lib_unixodbc_SQLAllocEnv
=no
24931 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24932 LIBS
=$ac_check_lib_save_LIBS
24934 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24935 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24936 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24937 ODBC_LINK
=" -lunixodbc"
24940 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24941 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24942 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24943 echo $ECHO_N "(cached) $ECHO_C" >&6
24945 ac_check_lib_save_LIBS
=$LIBS
24946 LIBS
="-lodbc $LIBS"
24947 cat >conftest.
$ac_ext <<_ACEOF
24948 #line $LINENO "configure"
24951 cat confdefs.h
>>conftest.
$ac_ext
24952 cat >>conftest.
$ac_ext <<_ACEOF
24953 /* end confdefs.h. */
24955 /* Override any gcc2 internal prototype to avoid an error. */
24959 /* We use char because int might match the return type of a gcc2
24960 builtin and then its argument prototype would still apply. */
24961 char SQLAllocEnv ();
24970 rm -f conftest.
$ac_objext conftest
$ac_exeext
24971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24972 (eval $ac_link) 2>&5
24974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975 (exit $ac_status); } &&
24976 { ac_try
='test -s conftest$ac_exeext'
24977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24978 (eval $ac_try) 2>&5
24980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24981 (exit $ac_status); }; }; then
24982 ac_cv_lib_odbc_SQLAllocEnv
=yes
24984 echo "$as_me: failed program was:" >&5
24985 sed 's/^/| /' conftest.
$ac_ext >&5
24987 ac_cv_lib_odbc_SQLAllocEnv
=no
24989 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24990 LIBS
=$ac_check_lib_save_LIBS
24992 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
24993 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
24994 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
24995 ODBC_LINK
=" -lodbc"
25005 if test "x$ODBC_LINK" = "x" ; then
25006 if test "$wxUSE_ODBC" = "sys" ; then
25007 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25008 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25009 { (exit 1); exit 1; }; }
25011 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25012 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25019 if test "$wxUSE_ODBC" != "no" ; then
25020 cat >>confdefs.h
<<\_ACEOF
25021 #define wxUSE_ODBC 1
25024 if test "$wxUSE_ODBC" = "builtin" ; then
25025 cat >>confdefs.h
<<\_ACEOF
25026 #define wxUSE_BUILTIN_IODBC 1
25030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
25032 WXODBCFLAG
="-D_IODBC_"
25036 if test "$wxUSE_REGEX" = "builtin" ; then
25037 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
25039 if test "$wxUSE_ZLIB" = "builtin" ; then
25040 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
25043 if test "$wxUSE_DISPLAY" = "yes"; then
25044 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
25045 echo "$as_me:$LINENO: checking for Xinerama" >&5
25046 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
25049 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25051 for ac_extension
in a so sl dylib
; do
25052 if test -f "$ac_dir/libXinerama.$ac_extension"; then
25053 ac_find_libraries
=$ac_dir
25059 if test "$ac_find_libraries" != "" ; then
25061 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25063 if test $result = 0; then
25066 ac_path_to_link
=" -L$ac_find_libraries"
25069 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25070 LDFLAGS
="$LDFLAGS $ac_path_to_link"
25072 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
25073 echo "$as_me:$LINENO: result: yes" >&5
25074 echo "${ECHO_T}yes" >&6
25076 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
25077 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
25080 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25082 for ac_extension
in a so sl dylib
; do
25083 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
25084 ac_find_libraries
=$ac_dir
25090 if test "$ac_find_libraries" != "" ; then
25091 echo "$as_me:$LINENO: result: yes" >&5
25092 echo "${ECHO_T}yes" >&6
25094 for ac_header
in X
11/extensions
/xf86vmode.h
25096 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25097 echo "$as_me:$LINENO: checking for $ac_header" >&5
25098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25100 echo $ECHO_N "(cached) $ECHO_C" >&6
25102 cat >conftest.
$ac_ext <<_ACEOF
25103 #line $LINENO "configure"
25106 cat confdefs.h
>>conftest.
$ac_ext
25107 cat >>conftest.
$ac_ext <<_ACEOF
25108 /* end confdefs.h. */
25110 #if HAVE_X11_XLIB_H
25111 #include <X11/Xlib.h>
25115 #include <$ac_header>
25117 rm -f conftest.
$ac_objext
25118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25119 (eval $ac_compile) 2>&5
25121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25122 (exit $ac_status); } &&
25123 { ac_try
='test -s conftest.$ac_objext'
25124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25125 (eval $ac_try) 2>&5
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); }; }; then
25129 eval "$as_ac_Header=yes"
25131 echo "$as_me: failed program was:" >&5
25132 sed 's/^/| /' conftest.
$ac_ext >&5
25134 eval "$as_ac_Header=no"
25136 rm -f conftest.
$ac_objext conftest.
$ac_ext
25138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25141 cat >>confdefs.h
<<_ACEOF
25142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25145 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
25152 echo "$as_me:$LINENO: result: no" >&5
25153 echo "${ECHO_T}no" >&6
25157 echo "$as_me:$LINENO: result: no" >&5
25158 echo "${ECHO_T}no" >&6
25159 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
25160 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
25168 if test "$wxUSE_OPENGL" = "yes"; then
25169 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25170 OPENGL_LIBS
="-framework OpenGL -framework AGL"
25171 elif test "$wxUSE_MSW" = 1; then
25172 OPENGL_LIBS
="-lopengl32 -lglu32"
25177 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
25179 if test -f "$ac_dir/GL/gl.h"; then
25180 ac_find_includes
=$ac_dir
25185 if test "$ac_find_includes" != "" ; then
25186 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25187 echo "${ECHO_T}found in $ac_find_includes" >&6
25189 if test "x$ac_find_includes" = "x/usr/include"; then
25190 ac_path_to_include
=""
25192 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
25194 if test $result = 0; then
25195 ac_path_to_include
=""
25197 ac_path_to_include
=" -I$ac_find_includes"
25201 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
25204 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25205 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25206 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25207 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25208 echo $ECHO_N "(cached) $ECHO_C" >&6
25210 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25211 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25213 # Is the header compilable?
25214 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25215 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25216 cat >conftest.
$ac_ext <<_ACEOF
25217 #line $LINENO "configure"
25220 cat confdefs.h
>>conftest.
$ac_ext
25221 cat >>conftest.
$ac_ext <<_ACEOF
25222 /* end confdefs.h. */
25223 $ac_includes_default
25226 rm -f conftest.
$ac_objext
25227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25228 (eval $ac_compile) 2>&5
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); } &&
25232 { ac_try
='test -s conftest.$ac_objext'
25233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25234 (eval $ac_try) 2>&5
25236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237 (exit $ac_status); }; }; then
25238 ac_header_compiler
=yes
25240 echo "$as_me: failed program was:" >&5
25241 sed 's/^/| /' conftest.
$ac_ext >&5
25243 ac_header_compiler
=no
25245 rm -f conftest.
$ac_objext conftest.
$ac_ext
25246 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25247 echo "${ECHO_T}$ac_header_compiler" >&6
25249 # Is the header present?
25250 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25251 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25252 cat >conftest.
$ac_ext <<_ACEOF
25253 #line $LINENO "configure"
25256 cat confdefs.h
>>conftest.
$ac_ext
25257 cat >>conftest.
$ac_ext <<_ACEOF
25258 /* end confdefs.h. */
25261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25262 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25264 grep -v '^ *+' conftest.er1
>conftest.err
25266 cat conftest.err
>&5
25267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268 (exit $ac_status); } >/dev
/null
; then
25269 if test -s conftest.err
; then
25270 ac_cpp_err
=$ac_c_preproc_warn_flag
25277 if test -z "$ac_cpp_err"; then
25278 ac_header_preproc
=yes
25280 echo "$as_me: failed program was:" >&5
25281 sed 's/^/| /' conftest.
$ac_ext >&5
25283 ac_header_preproc
=no
25285 rm -f conftest.err conftest.
$ac_ext
25286 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25287 echo "${ECHO_T}$ac_header_preproc" >&6
25289 # So? What about this header?
25290 case $ac_header_compiler:$ac_header_preproc in
25292 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25293 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25294 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25295 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25298 ## ------------------------------------ ##
25299 ## Report this to bug-autoconf@gnu.org. ##
25300 ## ------------------------------------ ##
25303 sed "s/^/$as_me: WARNING: /" >&2
25306 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25307 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25308 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25309 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25310 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25311 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25314 ## ------------------------------------ ##
25315 ## Report this to bug-autoconf@gnu.org. ##
25316 ## ------------------------------------ ##
25319 sed "s/^/$as_me: WARNING: /" >&2
25322 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25323 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25324 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25325 echo $ECHO_N "(cached) $ECHO_C" >&6
25327 ac_cv_header_GL_gl_h
=$ac_header_preproc
25329 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25330 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25333 if test $ac_cv_header_GL_gl_h = yes; then
25337 echo "$as_me:$LINENO: checking for -lGL" >&5
25338 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25341 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25343 for ac_extension
in a so sl dylib
; do
25344 if test -f "$ac_dir/libGL.$ac_extension"; then
25345 ac_find_libraries
=$ac_dir
25351 if test "$ac_find_libraries" != "" ; then
25353 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25355 if test $result = 0; then
25358 ac_path_to_link
=" -L$ac_find_libraries"
25361 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25362 LDFLAGS_GL
="$ac_path_to_link"
25367 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25369 for ac_extension
in a so sl dylib
; do
25370 if test -f "$ac_dir/libGLU.$ac_extension"; then
25371 ac_find_libraries
=$ac_dir
25377 if test "$ac_find_libraries" != "" ; then
25379 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25381 if test $result = 0; then
25384 ac_path_to_link
=" -L$ac_find_libraries"
25387 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25388 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25389 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
25393 OPENGL_LIBS
="-lGL -lGLU"
25394 echo "$as_me:$LINENO: result: yes" >&5
25395 echo "${ECHO_T}yes" >&6
25399 if test "$found_gl" != 1; then
25400 echo "$as_me:$LINENO: result: no" >&5
25401 echo "${ECHO_T}no" >&6
25402 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25403 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25406 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25408 for ac_extension
in a so sl dylib
; do
25409 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25410 ac_find_libraries
=$ac_dir
25416 if test "$ac_find_libraries" != "" ; then
25418 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25420 if test $result = 0; then
25423 ac_path_to_link
=" -L$ac_find_libraries"
25426 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
25427 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
25428 echo "$as_me:$LINENO: result: yes" >&5
25429 echo "${ECHO_T}yes" >&6
25431 echo "$as_me:$LINENO: result: no" >&5
25432 echo "${ECHO_T}no" >&6
25440 if test "x$OPENGL_LIBS" = "x"; then
25441 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25442 echo "$as_me: error: OpenGL libraries not available" >&2;}
25443 { (exit 1); exit 1; }; }
25447 if test "$wxUSE_OPENGL" = "yes"; then
25449 cat >>confdefs.h
<<\_ACEOF
25450 #define wxUSE_OPENGL 1
25453 cat >>confdefs.h
<<\_ACEOF
25454 #define wxUSE_GLCANVAS 1
25457 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25461 if test -z "$TOOLKIT_VPATH" ; then
25462 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
25465 if test -n "$TOOLKIT" ; then
25466 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25470 lib_unicode_suffix
=
25471 if test "$wxUSE_UNICODE" = "yes"; then
25472 lib_unicode_suffix
=u
25478 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25484 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25488 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25490 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25491 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25493 if test "$cross_compiling" = "yes"; then
25494 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
25495 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
25496 HOST_SUFFIX
="-${host_alias}"
25499 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
25500 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
25501 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25502 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25504 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25505 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25507 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25508 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25509 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25510 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25513 *-*-cygwin* | *-*-mingw32* )
25514 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25515 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25520 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25521 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25523 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25524 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25525 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25526 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25528 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25529 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25530 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25535 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25536 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25538 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25539 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25541 if test "$wxUSE_OPENGL" = "yes"; then
25542 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25543 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25548 if test "$wxUSE_SHARED" = "yes"; then
25550 *-pc-os2_emx | *-pc-os2-emx | \
25553 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25554 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25560 if test "$wxUSE_SHARED" = "yes"; then
25564 found_versioning
=no
25567 if test $found_versioning = no
; then
25568 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25569 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25570 if test "${wx_cv_version_script+set}" = set; then
25571 echo $ECHO_N "(cached) $ECHO_C" >&6
25574 echo "VER_1 { *; };" >conftest.sym
25575 echo "int main() { return 0; }" >conftest.cpp
25578 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25579 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25581 (eval $ac_try) 2>&5
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); }; } ; then
25585 if test -s conftest.stderr
; then
25586 wx_cv_version_script
=no
25588 wx_cv_version_script
=yes
25591 wx_cv_version_script
=no
25593 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25596 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25597 echo "${ECHO_T}$wx_cv_version_script" >&6
25598 if test $wx_cv_version_script = yes ; then
25599 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25605 *-*-linux* | *-*-gnu* )
25606 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25610 if test "$GCC" = yes ; then
25611 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25613 saveLdflags
="$LDFLAGS"
25614 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25615 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25616 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25617 cat >conftest.
$ac_ext <<_ACEOF
25618 #line $LINENO "configure"
25621 cat confdefs.h
>>conftest.
$ac_ext
25622 cat >>conftest.
$ac_ext <<_ACEOF
25623 /* end confdefs.h. */
25633 rm -f conftest.
$ac_objext conftest
$ac_exeext
25634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25635 (eval $ac_link) 2>&5
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); } &&
25639 { ac_try
='test -s conftest$ac_exeext'
25640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25641 (eval $ac_try) 2>&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); }; }; then
25646 echo "$as_me:$LINENO: result: yes" >&5
25647 echo "${ECHO_T}yes" >&6
25648 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25651 echo "$as_me: failed program was:" >&5
25652 sed 's/^/| /' conftest.
$ac_ext >&5
25655 echo "$as_me:$LINENO: result: no" >&5
25656 echo "${ECHO_T}no" >&6
25657 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25658 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25659 LDFLAGS
="$saveLdflags -Wl,-R,/"
25660 cat >conftest.
$ac_ext <<_ACEOF
25661 #line $LINENO "configure"
25664 cat confdefs.h
>>conftest.
$ac_ext
25665 cat >>conftest.
$ac_ext <<_ACEOF
25666 /* end confdefs.h. */
25676 rm -f conftest.
$ac_objext conftest
$ac_exeext
25677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25678 (eval $ac_link) 2>&5
25680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681 (exit $ac_status); } &&
25682 { ac_try
='test -s conftest$ac_exeext'
25683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25684 (eval $ac_try) 2>&5
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); }; }; then
25689 echo "$as_me:$LINENO: result: yes" >&5
25690 echo "${ECHO_T}yes" >&6
25691 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25693 echo "$as_me: failed program was:" >&5
25694 sed 's/^/| /' conftest.
$ac_ext >&5
25697 echo "$as_me:$LINENO: result: no" >&5
25698 echo "${ECHO_T}no" >&6
25701 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25704 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25705 LDFLAGS
="$saveLdflags"
25707 SHARED_LD
="${CXX} -G -o"
25709 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25713 powerpc
-*-darwin* )
25714 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25715 cat <<EOF >change-install-names
25717 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25718 inst_cmd="install_name_tool "
25719 for i in \${libnames} ; do
25720 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25724 chmod +x change
-install-names
25729 if test "x$WX_TARGET_LIBRARY" = "x"; then
25730 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25731 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25734 WX_TARGET_LIBRARY_TYPE
="so"
25735 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25738 if test "$wxUSE_SHARED" = "no"; then
25740 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25741 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25744 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25745 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25748 if test "$wxUSE_OPENGL" = "yes"; then
25749 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25750 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25752 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25755 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25756 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25758 WX_TARGET_LIBRARY_TYPE
="a"
25759 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25766 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
25767 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25768 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25769 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25771 # Extract the first word of "Rez", so it can be a program name with args.
25772 set dummy Rez
; ac_word
=$2
25773 echo "$as_me:$LINENO: checking for $ac_word" >&5
25774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25775 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25776 echo $ECHO_N "(cached) $ECHO_C" >&6
25778 if test -n "$RESCOMP"; then
25779 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25782 for as_dir
in $PATH
25785 test -z "$as_dir" && as_dir
=.
25786 for ac_exec_ext
in '' $ac_executable_extensions; do
25787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25788 ac_cv_prog_RESCOMP
="Rez"
25789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25795 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25798 RESCOMP
=$ac_cv_prog_RESCOMP
25799 if test -n "$RESCOMP"; then
25800 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25801 echo "${ECHO_T}$RESCOMP" >&6
25803 echo "$as_me:$LINENO: result: no" >&5
25804 echo "${ECHO_T}no" >&6
25807 # Extract the first word of "DeRez", so it can be a program name with args.
25808 set dummy DeRez
; ac_word
=$2
25809 echo "$as_me:$LINENO: checking for $ac_word" >&5
25810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25811 if test "${ac_cv_prog_DEREZ+set}" = set; then
25812 echo $ECHO_N "(cached) $ECHO_C" >&6
25814 if test -n "$DEREZ"; then
25815 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25818 for as_dir
in $PATH
25821 test -z "$as_dir" && as_dir
=.
25822 for ac_exec_ext
in '' $ac_executable_extensions; do
25823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25824 ac_cv_prog_DEREZ
="DeRez"
25825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25831 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25834 DEREZ
=$ac_cv_prog_DEREZ
25835 if test -n "$DEREZ"; then
25836 echo "$as_me:$LINENO: result: $DEREZ" >&5
25837 echo "${ECHO_T}$DEREZ" >&6
25839 echo "$as_me:$LINENO: result: no" >&5
25840 echo "${ECHO_T}no" >&6
25843 # Extract the first word of "SetFile", so it can be a program name with args.
25844 set dummy SetFile
; ac_word
=$2
25845 echo "$as_me:$LINENO: checking for $ac_word" >&5
25846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25847 if test "${ac_cv_prog_SETFILE+set}" = set; then
25848 echo $ECHO_N "(cached) $ECHO_C" >&6
25850 if test -n "$SETFILE"; then
25851 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25854 for as_dir
in $PATH
25857 test -z "$as_dir" && as_dir
=.
25858 for ac_exec_ext
in '' $ac_executable_extensions; do
25859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25860 ac_cv_prog_SETFILE
="SetFile"
25861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25867 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25870 SETFILE
=$ac_cv_prog_SETFILE
25871 if test -n "$SETFILE"; then
25872 echo "$as_me:$LINENO: result: $SETFILE" >&5
25873 echo "${ECHO_T}$SETFILE" >&6
25875 echo "$as_me:$LINENO: result: no" >&5
25876 echo "${ECHO_T}no" >&6
25880 MACSETFILE
="\$(SETFILE)"
25882 if test "$wxUSE_MAC" = 1; then
25883 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25885 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25887 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25888 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25894 if test "$wxUSE_PM" = 1; then
25895 MACRESCOMP
="emxbind -ep"
25902 echo "$as_me:$LINENO: checking for mode_t" >&5
25903 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25904 if test "${ac_cv_type_mode_t+set}" = set; then
25905 echo $ECHO_N "(cached) $ECHO_C" >&6
25907 cat >conftest.
$ac_ext <<_ACEOF
25908 #line $LINENO "configure"
25911 cat confdefs.h
>>conftest.
$ac_ext
25912 cat >>conftest.
$ac_ext <<_ACEOF
25913 /* end confdefs.h. */
25914 $ac_includes_default
25920 if (sizeof (mode_t))
25926 rm -f conftest.
$ac_objext
25927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25928 (eval $ac_compile) 2>&5
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); } &&
25932 { ac_try
='test -s conftest.$ac_objext'
25933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25934 (eval $ac_try) 2>&5
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); }; }; then
25938 ac_cv_type_mode_t
=yes
25940 echo "$as_me: failed program was:" >&5
25941 sed 's/^/| /' conftest.
$ac_ext >&5
25943 ac_cv_type_mode_t
=no
25945 rm -f conftest.
$ac_objext conftest.
$ac_ext
25947 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25948 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25949 if test $ac_cv_type_mode_t = yes; then
25953 cat >>confdefs.h
<<_ACEOF
25959 echo "$as_me:$LINENO: checking for off_t" >&5
25960 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25961 if test "${ac_cv_type_off_t+set}" = set; then
25962 echo $ECHO_N "(cached) $ECHO_C" >&6
25964 cat >conftest.
$ac_ext <<_ACEOF
25965 #line $LINENO "configure"
25968 cat confdefs.h
>>conftest.
$ac_ext
25969 cat >>conftest.
$ac_ext <<_ACEOF
25970 /* end confdefs.h. */
25971 $ac_includes_default
25977 if (sizeof (off_t))
25983 rm -f conftest.
$ac_objext
25984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25985 (eval $ac_compile) 2>&5
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); } &&
25989 { ac_try
='test -s conftest.$ac_objext'
25990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25991 (eval $ac_try) 2>&5
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); }; }; then
25995 ac_cv_type_off_t
=yes
25997 echo "$as_me: failed program was:" >&5
25998 sed 's/^/| /' conftest.
$ac_ext >&5
26000 ac_cv_type_off_t
=no
26002 rm -f conftest.
$ac_objext conftest.
$ac_ext
26004 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26005 echo "${ECHO_T}$ac_cv_type_off_t" >&6
26006 if test $ac_cv_type_off_t = yes; then
26010 cat >>confdefs.h
<<_ACEOF
26016 echo "$as_me:$LINENO: checking for pid_t" >&5
26017 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26018 if test "${ac_cv_type_pid_t+set}" = set; then
26019 echo $ECHO_N "(cached) $ECHO_C" >&6
26021 cat >conftest.
$ac_ext <<_ACEOF
26022 #line $LINENO "configure"
26025 cat confdefs.h
>>conftest.
$ac_ext
26026 cat >>conftest.
$ac_ext <<_ACEOF
26027 /* end confdefs.h. */
26028 $ac_includes_default
26034 if (sizeof (pid_t))
26040 rm -f conftest.
$ac_objext
26041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26042 (eval $ac_compile) 2>&5
26044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 (exit $ac_status); } &&
26046 { ac_try
='test -s conftest.$ac_objext'
26047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26048 (eval $ac_try) 2>&5
26050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26051 (exit $ac_status); }; }; then
26052 ac_cv_type_pid_t
=yes
26054 echo "$as_me: failed program was:" >&5
26055 sed 's/^/| /' conftest.
$ac_ext >&5
26057 ac_cv_type_pid_t
=no
26059 rm -f conftest.
$ac_objext conftest.
$ac_ext
26061 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26062 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26063 if test $ac_cv_type_pid_t = yes; then
26067 cat >>confdefs.h
<<_ACEOF
26073 echo "$as_me:$LINENO: checking for size_t" >&5
26074 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26075 if test "${ac_cv_type_size_t+set}" = set; then
26076 echo $ECHO_N "(cached) $ECHO_C" >&6
26078 cat >conftest.
$ac_ext <<_ACEOF
26079 #line $LINENO "configure"
26082 cat confdefs.h
>>conftest.
$ac_ext
26083 cat >>conftest.
$ac_ext <<_ACEOF
26084 /* end confdefs.h. */
26085 $ac_includes_default
26091 if (sizeof (size_t))
26097 rm -f conftest.
$ac_objext
26098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26099 (eval $ac_compile) 2>&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } &&
26103 { ac_try
='test -s conftest.$ac_objext'
26104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26105 (eval $ac_try) 2>&5
26107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108 (exit $ac_status); }; }; then
26109 ac_cv_type_size_t
=yes
26111 echo "$as_me: failed program was:" >&5
26112 sed 's/^/| /' conftest.
$ac_ext >&5
26114 ac_cv_type_size_t
=no
26116 rm -f conftest.
$ac_objext conftest.
$ac_ext
26118 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26119 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26120 if test $ac_cv_type_size_t = yes; then
26124 cat >>confdefs.h
<<_ACEOF
26125 #define size_t unsigned
26130 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26131 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26132 if test "${ac_cv_type_uid_t+set}" = set; then
26133 echo $ECHO_N "(cached) $ECHO_C" >&6
26135 cat >conftest.
$ac_ext <<_ACEOF
26136 #line $LINENO "configure"
26139 cat confdefs.h
>>conftest.
$ac_ext
26140 cat >>conftest.
$ac_ext <<_ACEOF
26141 /* end confdefs.h. */
26142 #include <sys/types.h>
26145 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26146 $EGREP "uid_t" >/dev
/null
2>&1; then
26147 ac_cv_type_uid_t
=yes
26149 ac_cv_type_uid_t
=no
26154 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26155 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26156 if test $ac_cv_type_uid_t = no
; then
26158 cat >>confdefs.h
<<\_ACEOF
26163 cat >>confdefs.h
<<\_ACEOF
26173 ac_cpp
='$CXXCPP $CPPFLAGS'
26174 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26178 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26179 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26180 if test "${wx_cv_size_t_is_uint+set}" = set; then
26181 echo $ECHO_N "(cached) $ECHO_C" >&6
26184 cat >conftest.
$ac_ext <<_ACEOF
26185 #line $LINENO "configure"
26188 cat confdefs.h
>>conftest.
$ac_ext
26189 cat >>conftest.
$ac_ext <<_ACEOF
26190 /* end confdefs.h. */
26191 #include <stddef.h>
26198 struct Foo { void foo(size_t); void foo(unsigned int); };
26206 rm -f conftest.
$ac_objext
26207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26208 (eval $ac_compile) 2>&5
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); } &&
26212 { ac_try
='test -s conftest.$ac_objext'
26213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26214 (eval $ac_try) 2>&5
26216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26217 (exit $ac_status); }; }; then
26218 wx_cv_size_t_is_uint
=no
26220 echo "$as_me: failed program was:" >&5
26221 sed 's/^/| /' conftest.
$ac_ext >&5
26223 wx_cv_size_t_is_uint
=yes
26226 rm -f conftest.
$ac_objext conftest.
$ac_ext
26230 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26231 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26233 if test "$wx_cv_size_t_is_uint" = "yes"; then
26234 cat >>confdefs.h
<<\_ACEOF
26235 #define wxSIZE_T_IS_UINT 1
26239 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26240 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26241 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26242 echo $ECHO_N "(cached) $ECHO_C" >&6
26244 cat >conftest.
$ac_ext <<_ACEOF
26245 #line $LINENO "configure"
26248 cat confdefs.h
>>conftest.
$ac_ext
26249 cat >>conftest.
$ac_ext <<_ACEOF
26250 /* end confdefs.h. */
26251 #include <stddef.h>
26258 struct Foo { void foo(size_t); void foo(unsigned long); };
26266 rm -f conftest.
$ac_objext
26267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26268 (eval $ac_compile) 2>&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } &&
26272 { ac_try
='test -s conftest.$ac_objext'
26273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26274 (eval $ac_try) 2>&5
26276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26277 (exit $ac_status); }; }; then
26278 wx_cv_size_t_is_ulong
=no
26280 echo "$as_me: failed program was:" >&5
26281 sed 's/^/| /' conftest.
$ac_ext >&5
26283 wx_cv_size_t_is_ulong
=yes
26286 rm -f conftest.
$ac_objext conftest.
$ac_ext
26289 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26290 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26292 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26293 cat >>confdefs.h
<<\_ACEOF
26294 #define wxSIZE_T_IS_ULONG 1
26301 ac_cpp
='$CPP $CPPFLAGS'
26302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26308 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26309 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26310 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26311 echo $ECHO_N "(cached) $ECHO_C" >&6
26314 cat >conftest.
$ac_ext <<_ACEOF
26315 #line $LINENO "configure"
26318 cat confdefs.h
>>conftest.
$ac_ext
26319 cat >>conftest.
$ac_ext <<_ACEOF
26320 /* end confdefs.h. */
26334 rm -f conftest.
$ac_objext
26335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26336 (eval $ac_compile) 2>&5
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); } &&
26340 { ac_try
='test -s conftest.$ac_objext'
26341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26342 (eval $ac_try) 2>&5
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); }; }; then
26347 wx_cv_struct_pw_gecos
=yes
26350 echo "$as_me: failed program was:" >&5
26351 sed 's/^/| /' conftest.
$ac_ext >&5
26354 wx_cv_struct_pw_gecos
=no
26358 rm -f conftest.
$ac_objext conftest.
$ac_ext
26362 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26363 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26365 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26366 cat >>confdefs.h
<<\_ACEOF
26367 #define HAVE_PW_GECOS 1
26373 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26374 cat >>confdefs.h
<<\_ACEOF
26375 #define wxUSE_WCHAR_T 1
26382 for ac_func
in wcslen
26384 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26385 echo "$as_me:$LINENO: checking for $ac_func" >&5
26386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26387 if eval "test \"\${$as_ac_var+set}\" = set"; then
26388 echo $ECHO_N "(cached) $ECHO_C" >&6
26390 cat >conftest.
$ac_ext <<_ACEOF
26391 #line $LINENO "configure"
26394 cat confdefs.h
>>conftest.
$ac_ext
26395 cat >>conftest.
$ac_ext <<_ACEOF
26396 /* end confdefs.h. */
26397 /* System header to define __stub macros and hopefully few prototypes,
26398 which can conflict with char $ac_func (); below.
26399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26400 <limits.h> exists even on freestanding compilers. */
26402 # include <limits.h>
26404 # include <assert.h>
26406 /* Override any gcc2 internal prototype to avoid an error. */
26411 /* We use char because int might match the return type of a gcc2
26412 builtin and then its argument prototype would still apply. */
26414 /* The GNU C library defines this for functions which it implements
26415 to always fail with ENOSYS. Some functions are actually named
26416 something starting with __ and the normal name is an alias. */
26417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26420 char (*f) () = $ac_func;
26429 return f != $ac_func;
26434 rm -f conftest.
$ac_objext conftest
$ac_exeext
26435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26436 (eval $ac_link) 2>&5
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); } &&
26440 { ac_try
='test -s conftest$ac_exeext'
26441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26442 (eval $ac_try) 2>&5
26444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445 (exit $ac_status); }; }; then
26446 eval "$as_ac_var=yes"
26448 echo "$as_me: failed program was:" >&5
26449 sed 's/^/| /' conftest.
$ac_ext >&5
26451 eval "$as_ac_var=no"
26453 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26457 if test `eval echo '${'$as_ac_var'}'` = yes; then
26458 cat >>confdefs.h
<<_ACEOF
26459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26466 if test "$WCSLEN_FOUND" = 0; then
26467 if test "$TOOLKIT" = "MSW"; then
26468 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26469 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26470 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26471 echo $ECHO_N "(cached) $ECHO_C" >&6
26473 ac_check_lib_save_LIBS
=$LIBS
26474 LIBS
="-lmsvcrt $LIBS"
26475 cat >conftest.
$ac_ext <<_ACEOF
26476 #line $LINENO "configure"
26479 cat confdefs.h
>>conftest.
$ac_ext
26480 cat >>conftest.
$ac_ext <<_ACEOF
26481 /* end confdefs.h. */
26483 /* Override any gcc2 internal prototype to avoid an error. */
26487 /* We use char because int might match the return type of a gcc2
26488 builtin and then its argument prototype would still apply. */
26498 rm -f conftest.
$ac_objext conftest
$ac_exeext
26499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26500 (eval $ac_link) 2>&5
26502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26503 (exit $ac_status); } &&
26504 { ac_try
='test -s conftest$ac_exeext'
26505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26506 (eval $ac_try) 2>&5
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); }; }; then
26510 ac_cv_lib_msvcrt_wcslen
=yes
26512 echo "$as_me: failed program was:" >&5
26513 sed 's/^/| /' conftest.
$ac_ext >&5
26515 ac_cv_lib_msvcrt_wcslen
=no
26517 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26518 LIBS
=$ac_check_lib_save_LIBS
26520 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26521 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26522 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26527 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26528 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26529 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26530 echo $ECHO_N "(cached) $ECHO_C" >&6
26532 ac_check_lib_save_LIBS
=$LIBS
26534 cat >conftest.
$ac_ext <<_ACEOF
26535 #line $LINENO "configure"
26538 cat confdefs.h
>>conftest.
$ac_ext
26539 cat >>conftest.
$ac_ext <<_ACEOF
26540 /* end confdefs.h. */
26542 /* Override any gcc2 internal prototype to avoid an error. */
26546 /* We use char because int might match the return type of a gcc2
26547 builtin and then its argument prototype would still apply. */
26557 rm -f conftest.
$ac_objext conftest
$ac_exeext
26558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26559 (eval $ac_link) 2>&5
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); } &&
26563 { ac_try
='test -s conftest$ac_exeext'
26564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26565 (eval $ac_try) 2>&5
26567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26568 (exit $ac_status); }; }; then
26569 ac_cv_lib_w_wcslen
=yes
26571 echo "$as_me: failed program was:" >&5
26572 sed 's/^/| /' conftest.
$ac_ext >&5
26574 ac_cv_lib_w_wcslen
=no
26576 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26577 LIBS
=$ac_check_lib_save_LIBS
26579 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26580 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26581 if test $ac_cv_lib_w_wcslen = yes; then
26591 if test "$WCSLEN_FOUND" = 1; then
26592 cat >>confdefs.h
<<\_ACEOF
26593 #define HAVE_WCSLEN 1
26599 for ac_func
in wcsrtombs
26601 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26602 echo "$as_me:$LINENO: checking for $ac_func" >&5
26603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26604 if eval "test \"\${$as_ac_var+set}\" = set"; then
26605 echo $ECHO_N "(cached) $ECHO_C" >&6
26607 cat >conftest.
$ac_ext <<_ACEOF
26608 #line $LINENO "configure"
26611 cat confdefs.h
>>conftest.
$ac_ext
26612 cat >>conftest.
$ac_ext <<_ACEOF
26613 /* end confdefs.h. */
26614 /* System header to define __stub macros and hopefully few prototypes,
26615 which can conflict with char $ac_func (); below.
26616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26617 <limits.h> exists even on freestanding compilers. */
26619 # include <limits.h>
26621 # include <assert.h>
26623 /* Override any gcc2 internal prototype to avoid an error. */
26628 /* We use char because int might match the return type of a gcc2
26629 builtin and then its argument prototype would still apply. */
26631 /* The GNU C library defines this for functions which it implements
26632 to always fail with ENOSYS. Some functions are actually named
26633 something starting with __ and the normal name is an alias. */
26634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26637 char (*f) () = $ac_func;
26646 return f != $ac_func;
26651 rm -f conftest.
$ac_objext conftest
$ac_exeext
26652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26653 (eval $ac_link) 2>&5
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); } &&
26657 { ac_try
='test -s conftest$ac_exeext'
26658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26659 (eval $ac_try) 2>&5
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); }; }; then
26663 eval "$as_ac_var=yes"
26665 echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.
$ac_ext >&5
26668 eval "$as_ac_var=no"
26670 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26674 if test `eval echo '${'$as_ac_var'}'` = yes; then
26675 cat >>confdefs.h
<<_ACEOF
26676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26683 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26684 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26690 ac_cpp
='$CXXCPP $CPPFLAGS'
26691 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26692 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26693 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26697 for ac_func
in vsnprintf
26699 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26700 echo "$as_me:$LINENO: checking for $ac_func" >&5
26701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26702 if eval "test \"\${$as_ac_var+set}\" = set"; then
26703 echo $ECHO_N "(cached) $ECHO_C" >&6
26705 cat >conftest.
$ac_ext <<_ACEOF
26706 #line $LINENO "configure"
26709 cat confdefs.h
>>conftest.
$ac_ext
26710 cat >>conftest.
$ac_ext <<_ACEOF
26711 /* end confdefs.h. */
26712 /* System header to define __stub macros and hopefully few prototypes,
26713 which can conflict with char $ac_func (); below.
26714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26715 <limits.h> exists even on freestanding compilers. */
26717 # include <limits.h>
26719 # include <assert.h>
26721 /* Override any gcc2 internal prototype to avoid an error. */
26726 /* We use char because int might match the return type of a gcc2
26727 builtin and then its argument prototype would still apply. */
26729 /* The GNU C library defines this for functions which it implements
26730 to always fail with ENOSYS. Some functions are actually named
26731 something starting with __ and the normal name is an alias. */
26732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26735 char (*f) () = $ac_func;
26744 return f != $ac_func;
26749 rm -f conftest.
$ac_objext conftest
$ac_exeext
26750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26751 (eval $ac_link) 2>&5
26753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754 (exit $ac_status); } &&
26755 { ac_try
='test -s conftest$ac_exeext'
26756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26757 (eval $ac_try) 2>&5
26759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26760 (exit $ac_status); }; }; then
26761 eval "$as_ac_var=yes"
26763 echo "$as_me: failed program was:" >&5
26764 sed 's/^/| /' conftest.
$ac_ext >&5
26766 eval "$as_ac_var=no"
26768 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26772 if test `eval echo '${'$as_ac_var'}'` = yes; then
26773 cat >>confdefs.h
<<_ACEOF
26774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26781 if test "$ac_cv_func_vsnprintf" = "yes"; then
26782 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26783 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26784 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26785 echo $ECHO_N "(cached) $ECHO_C" >&6
26788 cat >conftest.
$ac_ext <<_ACEOF
26789 #line $LINENO "configure"
26792 cat confdefs.h
>>conftest.
$ac_ext
26793 cat >>conftest.
$ac_ext <<_ACEOF
26794 /* end confdefs.h. */
26797 #include <stdarg.h>
26805 vsnprintf(buf, 10u, "%s", ap);
26811 rm -f conftest.
$ac_objext
26812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26813 (eval $ac_compile) 2>&5
26815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816 (exit $ac_status); } &&
26817 { ac_try
='test -s conftest.$ac_objext'
26818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26819 (eval $ac_try) 2>&5
26821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26822 (exit $ac_status); }; }; then
26823 wx_cv_func_vsnprintf_decl
=yes
26825 echo "$as_me: failed program was:" >&5
26826 sed 's/^/| /' conftest.
$ac_ext >&5
26828 wx_cv_func_vsnprintf_decl
=no
26831 rm -f conftest.
$ac_objext conftest.
$ac_ext
26835 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26836 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26838 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26839 cat >>confdefs.h
<<\_ACEOF
26840 #define HAVE_VSNPRINTF_DECL 1
26846 if test "$wxUSE_UNICODE" = yes; then
26850 for ac_func
in fputwc wprintf vswprintf
26852 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26853 echo "$as_me:$LINENO: checking for $ac_func" >&5
26854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26855 if eval "test \"\${$as_ac_var+set}\" = set"; then
26856 echo $ECHO_N "(cached) $ECHO_C" >&6
26858 cat >conftest.
$ac_ext <<_ACEOF
26859 #line $LINENO "configure"
26862 cat confdefs.h
>>conftest.
$ac_ext
26863 cat >>conftest.
$ac_ext <<_ACEOF
26864 /* end confdefs.h. */
26865 /* System header to define __stub macros and hopefully few prototypes,
26866 which can conflict with char $ac_func (); below.
26867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26868 <limits.h> exists even on freestanding compilers. */
26870 # include <limits.h>
26872 # include <assert.h>
26874 /* Override any gcc2 internal prototype to avoid an error. */
26879 /* We use char because int might match the return type of a gcc2
26880 builtin and then its argument prototype would still apply. */
26882 /* The GNU C library defines this for functions which it implements
26883 to always fail with ENOSYS. Some functions are actually named
26884 something starting with __ and the normal name is an alias. */
26885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26888 char (*f) () = $ac_func;
26897 return f != $ac_func;
26902 rm -f conftest.
$ac_objext conftest
$ac_exeext
26903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26904 (eval $ac_link) 2>&5
26906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); } &&
26908 { ac_try
='test -s conftest$ac_exeext'
26909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26910 (eval $ac_try) 2>&5
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); }; }; then
26914 eval "$as_ac_var=yes"
26916 echo "$as_me: failed program was:" >&5
26917 sed 's/^/| /' conftest.
$ac_ext >&5
26919 eval "$as_ac_var=no"
26921 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26925 if test `eval echo '${'$as_ac_var'}'` = yes; then
26926 cat >>confdefs.h
<<_ACEOF
26927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26934 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26935 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26936 cat >conftest.
$ac_ext <<_ACEOF
26937 #line $LINENO "configure"
26940 cat confdefs.h
>>conftest.
$ac_ext
26941 cat >>conftest.
$ac_ext <<_ACEOF
26942 /* end confdefs.h. */
26952 rm -f conftest.
$ac_objext
26953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26954 (eval $ac_compile) 2>&5
26956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26957 (exit $ac_status); } &&
26958 { ac_try
='test -s conftest.$ac_objext'
26959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26960 (eval $ac_try) 2>&5
26962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26963 (exit $ac_status); }; }; then
26964 echo "$as_me:$LINENO: result: yes" >&5
26965 echo "${ECHO_T}yes" >&6
26966 cat >>confdefs.h
<<\_ACEOF
26967 #define HAVE__VSNWPRINTF 1
26971 echo "$as_me: failed program was:" >&5
26972 sed 's/^/| /' conftest.
$ac_ext >&5
26974 echo "$as_me:$LINENO: result: no" >&5
26975 echo "${ECHO_T}no" >&6
26977 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26981 ac_cpp
='$CPP $CPPFLAGS'
26982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26989 if test "$TOOLKIT" != "MSW"; then
26995 ac_cpp
='$CXXCPP $CPPFLAGS'
26996 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26997 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26998 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27003 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
27004 if test "${with_libiconv_prefix+set}" = set; then
27005 withval
="$with_libiconv_prefix"
27007 for dir
in `echo "$withval" | tr : ' '`; do
27008 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
27009 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
27014 echo "$as_me:$LINENO: checking for iconv" >&5
27015 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27016 if test "${am_cv_func_iconv+set}" = set; then
27017 echo $ECHO_N "(cached) $ECHO_C" >&6
27020 am_cv_func_iconv
="no, consider installing GNU libiconv"
27022 cat >conftest.
$ac_ext <<_ACEOF
27023 #line $LINENO "configure"
27026 cat confdefs.h
>>conftest.
$ac_ext
27027 cat >>conftest.
$ac_ext <<_ACEOF
27028 /* end confdefs.h. */
27029 #include <stdlib.h>
27034 iconv_t cd = iconv_open("","");
27035 iconv(cd,NULL,NULL,NULL,NULL);
27041 rm -f conftest.
$ac_objext conftest
$ac_exeext
27042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27043 (eval $ac_link) 2>&5
27045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046 (exit $ac_status); } &&
27047 { ac_try
='test -s conftest$ac_exeext'
27048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27049 (eval $ac_try) 2>&5
27051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052 (exit $ac_status); }; }; then
27053 am_cv_func_iconv
=yes
27055 echo "$as_me: failed program was:" >&5
27056 sed 's/^/| /' conftest.
$ac_ext >&5
27059 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27060 if test "$am_cv_func_iconv" != yes; then
27061 am_save_LIBS
="$LIBS"
27062 LIBS
="$LIBS -liconv"
27063 cat >conftest.
$ac_ext <<_ACEOF
27064 #line $LINENO "configure"
27067 cat confdefs.h
>>conftest.
$ac_ext
27068 cat >>conftest.
$ac_ext <<_ACEOF
27069 /* end confdefs.h. */
27070 #include <stdlib.h>
27075 iconv_t cd = iconv_open("","");
27076 iconv(cd,NULL,NULL,NULL,NULL);
27082 rm -f conftest.
$ac_objext conftest
$ac_exeext
27083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27084 (eval $ac_link) 2>&5
27086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27087 (exit $ac_status); } &&
27088 { ac_try
='test -s conftest$ac_exeext'
27089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27090 (eval $ac_try) 2>&5
27092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27093 (exit $ac_status); }; }; then
27094 am_cv_lib_iconv
=yes
27095 am_cv_func_iconv
=yes
27097 echo "$as_me: failed program was:" >&5
27098 sed 's/^/| /' conftest.
$ac_ext >&5
27101 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27102 LIBS
="$am_save_LIBS"
27106 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27107 echo "${ECHO_T}$am_cv_func_iconv" >&6
27108 if test "$am_cv_func_iconv" = yes; then
27110 cat >>confdefs.h
<<\_ACEOF
27111 #define HAVE_ICONV 1
27114 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27115 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27116 if test "${wx_cv_func_iconv_const+set}" = set; then
27117 echo $ECHO_N "(cached) $ECHO_C" >&6
27119 cat >conftest.
$ac_ext <<_ACEOF
27120 #line $LINENO "configure"
27123 cat confdefs.h
>>conftest.
$ac_ext
27124 cat >>conftest.
$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27127 #include <stdlib.h>
27133 #if defined(__STDC__) || defined(__cplusplus)
27134 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27147 rm -f conftest.
$ac_objext
27148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27149 (eval $ac_compile) 2>&5
27151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152 (exit $ac_status); } &&
27153 { ac_try
='test -s conftest.$ac_objext'
27154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27155 (eval $ac_try) 2>&5
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); }; }; then
27159 wx_cv_func_iconv_const
="no"
27161 echo "$as_me: failed program was:" >&5
27162 sed 's/^/| /' conftest.
$ac_ext >&5
27164 wx_cv_func_iconv_const
="yes"
27167 rm -f conftest.
$ac_objext conftest.
$ac_ext
27170 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27171 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27174 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27175 iconv_const
="const"
27179 cat >>confdefs.h
<<_ACEOF
27180 #define ICONV_CONST $iconv_const
27185 if test "$am_cv_lib_iconv" = yes; then
27190 LIBS
="$LIBICONV $LIBS"
27192 ac_cpp
='$CPP $CPPFLAGS'
27193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27198 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27200 for ac_func
in sigaction
27202 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27203 echo "$as_me:$LINENO: checking for $ac_func" >&5
27204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27205 if eval "test \"\${$as_ac_var+set}\" = set"; then
27206 echo $ECHO_N "(cached) $ECHO_C" >&6
27208 cat >conftest.
$ac_ext <<_ACEOF
27209 #line $LINENO "configure"
27212 cat confdefs.h
>>conftest.
$ac_ext
27213 cat >>conftest.
$ac_ext <<_ACEOF
27214 /* end confdefs.h. */
27215 /* System header to define __stub macros and hopefully few prototypes,
27216 which can conflict with char $ac_func (); below.
27217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27218 <limits.h> exists even on freestanding compilers. */
27220 # include <limits.h>
27222 # include <assert.h>
27224 /* Override any gcc2 internal prototype to avoid an error. */
27229 /* We use char because int might match the return type of a gcc2
27230 builtin and then its argument prototype would still apply. */
27232 /* The GNU C library defines this for functions which it implements
27233 to always fail with ENOSYS. Some functions are actually named
27234 something starting with __ and the normal name is an alias. */
27235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27238 char (*f) () = $ac_func;
27247 return f != $ac_func;
27252 rm -f conftest.
$ac_objext conftest
$ac_exeext
27253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27254 (eval $ac_link) 2>&5
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); } &&
27258 { ac_try
='test -s conftest$ac_exeext'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; }; then
27264 eval "$as_ac_var=yes"
27266 echo "$as_me: failed program was:" >&5
27267 sed 's/^/| /' conftest.
$ac_ext >&5
27269 eval "$as_ac_var=no"
27271 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27275 if test `eval echo '${'$as_ac_var'}'` = yes; then
27276 cat >>confdefs.h
<<_ACEOF
27277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27284 if test "$ac_cv_func_sigaction" = "no"; then
27285 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27286 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27287 wxUSE_ON_FATAL_EXCEPTION
=no
27290 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27294 ac_cpp
='$CXXCPP $CPPFLAGS'
27295 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27296 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27297 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27300 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27301 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27302 if test "${wx_cv_type_sa_handler+set}" = set; then
27303 echo $ECHO_N "(cached) $ECHO_C" >&6
27306 cat >conftest.
$ac_ext <<_ACEOF
27307 #line $LINENO "configure"
27310 cat confdefs.h
>>conftest.
$ac_ext
27311 cat >>conftest.
$ac_ext <<_ACEOF
27312 /* end confdefs.h. */
27313 #include <signal.h>
27318 extern void testSigHandler(int);
27320 struct sigaction sa;
27321 sa.sa_handler = testSigHandler;
27327 rm -f conftest.
$ac_objext
27328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27329 (eval $ac_compile) 2>&5
27331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332 (exit $ac_status); } &&
27333 { ac_try
='test -s conftest.$ac_objext'
27334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27335 (eval $ac_try) 2>&5
27337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338 (exit $ac_status); }; }; then
27340 wx_cv_type_sa_handler
=int
27343 echo "$as_me: failed program was:" >&5
27344 sed 's/^/| /' conftest.
$ac_ext >&5
27347 wx_cv_type_sa_handler
=void
27350 rm -f conftest.
$ac_objext conftest.
$ac_ext
27353 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27354 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27357 ac_cpp
='$CPP $CPPFLAGS'
27358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27363 cat >>confdefs.h
<<_ACEOF
27364 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27372 for ac_func
in mkstemp mktemp
27374 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27375 echo "$as_me:$LINENO: checking for $ac_func" >&5
27376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27377 if eval "test \"\${$as_ac_var+set}\" = set"; then
27378 echo $ECHO_N "(cached) $ECHO_C" >&6
27380 cat >conftest.
$ac_ext <<_ACEOF
27381 #line $LINENO "configure"
27384 cat confdefs.h
>>conftest.
$ac_ext
27385 cat >>conftest.
$ac_ext <<_ACEOF
27386 /* end confdefs.h. */
27387 /* System header to define __stub macros and hopefully few prototypes,
27388 which can conflict with char $ac_func (); below.
27389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27390 <limits.h> exists even on freestanding compilers. */
27392 # include <limits.h>
27394 # include <assert.h>
27396 /* Override any gcc2 internal prototype to avoid an error. */
27401 /* We use char because int might match the return type of a gcc2
27402 builtin and then its argument prototype would still apply. */
27404 /* The GNU C library defines this for functions which it implements
27405 to always fail with ENOSYS. Some functions are actually named
27406 something starting with __ and the normal name is an alias. */
27407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27410 char (*f) () = $ac_func;
27419 return f != $ac_func;
27424 rm -f conftest.
$ac_objext conftest
$ac_exeext
27425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27426 (eval $ac_link) 2>&5
27428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429 (exit $ac_status); } &&
27430 { ac_try
='test -s conftest$ac_exeext'
27431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27432 (eval $ac_try) 2>&5
27434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435 (exit $ac_status); }; }; then
27436 eval "$as_ac_var=yes"
27438 echo "$as_me: failed program was:" >&5
27439 sed 's/^/| /' conftest.
$ac_ext >&5
27441 eval "$as_ac_var=no"
27443 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27447 if test `eval echo '${'$as_ac_var'}'` = yes; then
27448 cat >>confdefs.h
<<_ACEOF
27449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27456 echo "$as_me:$LINENO: checking for statfs" >&5
27457 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27458 if test "${wx_cv_func_statfs+set}" = set; then
27459 echo $ECHO_N "(cached) $ECHO_C" >&6
27461 cat >conftest.
$ac_ext <<_ACEOF
27462 #line $LINENO "configure"
27465 cat confdefs.h
>>conftest.
$ac_ext
27466 cat >>conftest.
$ac_ext <<_ACEOF
27467 /* end confdefs.h. */
27469 #if defined(__BSD__)
27470 #include <sys/param.h>
27471 #include <sys/mount.h>
27473 #include <sys/vfs.h>
27491 rm -f conftest.
$ac_objext
27492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27493 (eval $ac_compile) 2>&5
27495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27496 (exit $ac_status); } &&
27497 { ac_try
='test -s conftest.$ac_objext'
27498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27499 (eval $ac_try) 2>&5
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); }; }; then
27504 wx_cv_func_statfs
=yes
27507 echo "$as_me: failed program was:" >&5
27508 sed 's/^/| /' conftest.
$ac_ext >&5
27511 wx_cv_func_statfs
=no
27515 rm -f conftest.
$ac_objext conftest.
$ac_ext
27518 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27519 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27521 if test "$wx_cv_func_statfs" = "yes"; then
27522 wx_cv_type_statvfs_t
="struct statfs"
27523 cat >>confdefs.h
<<\_ACEOF
27524 #define HAVE_STATFS 1
27528 echo "$as_me:$LINENO: checking for statvfs" >&5
27529 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27530 if test "${wx_cv_func_statvfs+set}" = set; then
27531 echo $ECHO_N "(cached) $ECHO_C" >&6
27533 cat >conftest.
$ac_ext <<_ACEOF
27534 #line $LINENO "configure"
27537 cat confdefs.h
>>conftest.
$ac_ext
27538 cat >>conftest.
$ac_ext <<_ACEOF
27539 /* end confdefs.h. */
27541 #include <stddef.h>
27542 #include <sys/statvfs.h>
27548 statvfs("/", NULL);
27554 rm -f conftest.
$ac_objext
27555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27556 (eval $ac_compile) 2>&5
27558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27559 (exit $ac_status); } &&
27560 { ac_try
='test -s conftest.$ac_objext'
27561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27562 (eval $ac_try) 2>&5
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); }; }; then
27566 wx_cv_func_statvfs
=yes
27568 echo "$as_me: failed program was:" >&5
27569 sed 's/^/| /' conftest.
$ac_ext >&5
27571 wx_cv_func_statvfs
=no
27574 rm -f conftest.
$ac_objext conftest.
$ac_ext
27577 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27578 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27580 if test "$wx_cv_func_statvfs" = "yes"; then
27584 ac_cpp
='$CXXCPP $CPPFLAGS'
27585 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27586 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27587 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27590 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27591 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27592 if test "${wx_cv_type_statvfs_t+set}" = set; then
27593 echo $ECHO_N "(cached) $ECHO_C" >&6
27595 cat >conftest.
$ac_ext <<_ACEOF
27596 #line $LINENO "configure"
27599 cat confdefs.h
>>conftest.
$ac_ext
27600 cat >>conftest.
$ac_ext <<_ACEOF
27601 /* end confdefs.h. */
27603 #include <sys/statvfs.h>
27620 rm -f conftest.
$ac_objext
27621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27622 (eval $ac_compile) 2>&5
27624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27625 (exit $ac_status); } &&
27626 { ac_try
='test -s conftest.$ac_objext'
27627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27628 (eval $ac_try) 2>&5
27630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631 (exit $ac_status); }; }; then
27632 wx_cv_type_statvfs_t
=statvfs_t
27634 echo "$as_me: failed program was:" >&5
27635 sed 's/^/| /' conftest.
$ac_ext >&5
27638 cat >conftest.
$ac_ext <<_ACEOF
27639 #line $LINENO "configure"
27642 cat confdefs.h
>>conftest.
$ac_ext
27643 cat >>conftest.
$ac_ext <<_ACEOF
27644 /* end confdefs.h. */
27646 #include <sys/statvfs.h>
27663 rm -f conftest.
$ac_objext
27664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27665 (eval $ac_compile) 2>&5
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); } &&
27669 { ac_try
='test -s conftest.$ac_objext'
27670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27671 (eval $ac_try) 2>&5
27673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27674 (exit $ac_status); }; }; then
27675 wx_cv_type_statvfs_t
="struct statvfs"
27677 echo "$as_me: failed program was:" >&5
27678 sed 's/^/| /' conftest.
$ac_ext >&5
27680 wx_cv_type_statvfs_t
="unknown"
27683 rm -f conftest.
$ac_objext conftest.
$ac_ext
27687 rm -f conftest.
$ac_objext conftest.
$ac_ext
27690 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27691 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27694 ac_cpp
='$CPP $CPPFLAGS'
27695 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27696 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27697 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27700 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27701 cat >>confdefs.h
<<\_ACEOF
27702 #define HAVE_STATVFS 1
27707 wx_cv_type_statvfs_t
="unknown"
27711 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27712 cat >>confdefs.h
<<_ACEOF
27713 #define WX_STATFS_T $wx_cv_type_statvfs_t
27717 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27718 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27721 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27724 for ac_func
in fcntl flock
27726 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27727 echo "$as_me:$LINENO: checking for $ac_func" >&5
27728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27729 if eval "test \"\${$as_ac_var+set}\" = set"; then
27730 echo $ECHO_N "(cached) $ECHO_C" >&6
27732 cat >conftest.
$ac_ext <<_ACEOF
27733 #line $LINENO "configure"
27736 cat confdefs.h
>>conftest.
$ac_ext
27737 cat >>conftest.
$ac_ext <<_ACEOF
27738 /* end confdefs.h. */
27739 /* System header to define __stub macros and hopefully few prototypes,
27740 which can conflict with char $ac_func (); below.
27741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27742 <limits.h> exists even on freestanding compilers. */
27744 # include <limits.h>
27746 # include <assert.h>
27748 /* Override any gcc2 internal prototype to avoid an error. */
27753 /* We use char because int might match the return type of a gcc2
27754 builtin and then its argument prototype would still apply. */
27756 /* The GNU C library defines this for functions which it implements
27757 to always fail with ENOSYS. Some functions are actually named
27758 something starting with __ and the normal name is an alias. */
27759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27762 char (*f) () = $ac_func;
27771 return f != $ac_func;
27776 rm -f conftest.
$ac_objext conftest
$ac_exeext
27777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27778 (eval $ac_link) 2>&5
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); } &&
27782 { ac_try
='test -s conftest$ac_exeext'
27783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27784 (eval $ac_try) 2>&5
27786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787 (exit $ac_status); }; }; then
27788 eval "$as_ac_var=yes"
27790 echo "$as_me: failed program was:" >&5
27791 sed 's/^/| /' conftest.
$ac_ext >&5
27793 eval "$as_ac_var=no"
27795 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27799 if test `eval echo '${'$as_ac_var'}'` = yes; then
27800 cat >>confdefs.h
<<_ACEOF
27801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27808 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27809 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27810 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27811 wxUSE_SNGLINST_CHECKER
=no
27816 for ac_func
in timegm
27818 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27819 echo "$as_me:$LINENO: checking for $ac_func" >&5
27820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27821 if eval "test \"\${$as_ac_var+set}\" = set"; then
27822 echo $ECHO_N "(cached) $ECHO_C" >&6
27824 cat >conftest.
$ac_ext <<_ACEOF
27825 #line $LINENO "configure"
27828 cat confdefs.h
>>conftest.
$ac_ext
27829 cat >>conftest.
$ac_ext <<_ACEOF
27830 /* end confdefs.h. */
27831 /* System header to define __stub macros and hopefully few prototypes,
27832 which can conflict with char $ac_func (); below.
27833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27834 <limits.h> exists even on freestanding compilers. */
27836 # include <limits.h>
27838 # include <assert.h>
27840 /* Override any gcc2 internal prototype to avoid an error. */
27845 /* We use char because int might match the return type of a gcc2
27846 builtin and then its argument prototype would still apply. */
27848 /* The GNU C library defines this for functions which it implements
27849 to always fail with ENOSYS. Some functions are actually named
27850 something starting with __ and the normal name is an alias. */
27851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27854 char (*f) () = $ac_func;
27863 return f != $ac_func;
27868 rm -f conftest.
$ac_objext conftest
$ac_exeext
27869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27870 (eval $ac_link) 2>&5
27872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27873 (exit $ac_status); } &&
27874 { ac_try
='test -s conftest$ac_exeext'
27875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27876 (eval $ac_try) 2>&5
27878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27879 (exit $ac_status); }; }; then
27880 eval "$as_ac_var=yes"
27882 echo "$as_me: failed program was:" >&5
27883 sed 's/^/| /' conftest.
$ac_ext >&5
27885 eval "$as_ac_var=no"
27887 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27891 if test `eval echo '${'$as_ac_var'}'` = yes; then
27892 cat >>confdefs.h
<<_ACEOF
27893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27902 for ac_func
in putenv setenv
27904 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27905 echo "$as_me:$LINENO: checking for $ac_func" >&5
27906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27907 if eval "test \"\${$as_ac_var+set}\" = set"; then
27908 echo $ECHO_N "(cached) $ECHO_C" >&6
27910 cat >conftest.
$ac_ext <<_ACEOF
27911 #line $LINENO "configure"
27914 cat confdefs.h
>>conftest.
$ac_ext
27915 cat >>conftest.
$ac_ext <<_ACEOF
27916 /* end confdefs.h. */
27917 /* System header to define __stub macros and hopefully few prototypes,
27918 which can conflict with char $ac_func (); below.
27919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27920 <limits.h> exists even on freestanding compilers. */
27922 # include <limits.h>
27924 # include <assert.h>
27926 /* Override any gcc2 internal prototype to avoid an error. */
27931 /* We use char because int might match the return type of a gcc2
27932 builtin and then its argument prototype would still apply. */
27934 /* The GNU C library defines this for functions which it implements
27935 to always fail with ENOSYS. Some functions are actually named
27936 something starting with __ and the normal name is an alias. */
27937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27940 char (*f) () = $ac_func;
27949 return f != $ac_func;
27954 rm -f conftest.
$ac_objext conftest
$ac_exeext
27955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27956 (eval $ac_link) 2>&5
27958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27959 (exit $ac_status); } &&
27960 { ac_try
='test -s conftest$ac_exeext'
27961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27962 (eval $ac_try) 2>&5
27964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965 (exit $ac_status); }; }; then
27966 eval "$as_ac_var=yes"
27968 echo "$as_me: failed program was:" >&5
27969 sed 's/^/| /' conftest.
$ac_ext >&5
27971 eval "$as_ac_var=no"
27973 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27977 if test `eval echo '${'$as_ac_var'}'` = yes; then
27978 cat >>confdefs.h
<<_ACEOF
27979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27986 HAVE_SOME_SLEEP_FUNC
=0
27987 if test "$USE_BEOS" = 1; then
27988 cat >>confdefs.h
<<\_ACEOF
27989 #define HAVE_SLEEP 1
27992 HAVE_SOME_SLEEP_FUNC
=1
27995 if test "$USE_DARWIN" = 1; then
27996 cat >>confdefs.h
<<\_ACEOF
27997 #define HAVE_USLEEP 1
28000 HAVE_SOME_SLEEP_FUNC
=1
28003 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
28006 for ac_func
in nanosleep
28008 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28009 echo "$as_me:$LINENO: checking for $ac_func" >&5
28010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28011 if eval "test \"\${$as_ac_var+set}\" = set"; then
28012 echo $ECHO_N "(cached) $ECHO_C" >&6
28014 cat >conftest.
$ac_ext <<_ACEOF
28015 #line $LINENO "configure"
28018 cat confdefs.h
>>conftest.
$ac_ext
28019 cat >>conftest.
$ac_ext <<_ACEOF
28020 /* end confdefs.h. */
28021 /* System header to define __stub macros and hopefully few prototypes,
28022 which can conflict with char $ac_func (); below.
28023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28024 <limits.h> exists even on freestanding compilers. */
28026 # include <limits.h>
28028 # include <assert.h>
28030 /* Override any gcc2 internal prototype to avoid an error. */
28035 /* We use char because int might match the return type of a gcc2
28036 builtin and then its argument prototype would still apply. */
28038 /* The GNU C library defines this for functions which it implements
28039 to always fail with ENOSYS. Some functions are actually named
28040 something starting with __ and the normal name is an alias. */
28041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28044 char (*f) () = $ac_func;
28053 return f != $ac_func;
28058 rm -f conftest.
$ac_objext conftest
$ac_exeext
28059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28060 (eval $ac_link) 2>&5
28062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28063 (exit $ac_status); } &&
28064 { ac_try
='test -s conftest$ac_exeext'
28065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28066 (eval $ac_try) 2>&5
28068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28069 (exit $ac_status); }; }; then
28070 eval "$as_ac_var=yes"
28072 echo "$as_me: failed program was:" >&5
28073 sed 's/^/| /' conftest.
$ac_ext >&5
28075 eval "$as_ac_var=no"
28077 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28081 if test `eval echo '${'$as_ac_var'}'` = yes; then
28082 cat >>confdefs.h
<<_ACEOF
28083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28085 cat >>confdefs.h
<<\_ACEOF
28086 #define HAVE_NANOSLEEP 1
28091 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28092 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28093 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28094 echo $ECHO_N "(cached) $ECHO_C" >&6
28096 ac_check_lib_save_LIBS
=$LIBS
28097 LIBS
="-lposix4 $LIBS"
28098 cat >conftest.
$ac_ext <<_ACEOF
28099 #line $LINENO "configure"
28102 cat confdefs.h
>>conftest.
$ac_ext
28103 cat >>conftest.
$ac_ext <<_ACEOF
28104 /* end confdefs.h. */
28106 /* Override any gcc2 internal prototype to avoid an error. */
28110 /* We use char because int might match the return type of a gcc2
28111 builtin and then its argument prototype would still apply. */
28121 rm -f conftest.
$ac_objext conftest
$ac_exeext
28122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28123 (eval $ac_link) 2>&5
28125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28126 (exit $ac_status); } &&
28127 { ac_try
='test -s conftest$ac_exeext'
28128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28129 (eval $ac_try) 2>&5
28131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132 (exit $ac_status); }; }; then
28133 ac_cv_lib_posix4_nanosleep
=yes
28135 echo "$as_me: failed program was:" >&5
28136 sed 's/^/| /' conftest.
$ac_ext >&5
28138 ac_cv_lib_posix4_nanosleep
=no
28140 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28141 LIBS
=$ac_check_lib_save_LIBS
28143 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28144 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28145 if test $ac_cv_lib_posix4_nanosleep = yes; then
28147 cat >>confdefs.h
<<\_ACEOF
28148 #define HAVE_NANOSLEEP 1
28151 POSIX4_LINK
=" -lposix4"
28156 for ac_func
in usleep
28158 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28159 echo "$as_me:$LINENO: checking for $ac_func" >&5
28160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28161 if eval "test \"\${$as_ac_var+set}\" = set"; then
28162 echo $ECHO_N "(cached) $ECHO_C" >&6
28164 cat >conftest.
$ac_ext <<_ACEOF
28165 #line $LINENO "configure"
28168 cat confdefs.h
>>conftest.
$ac_ext
28169 cat >>conftest.
$ac_ext <<_ACEOF
28170 /* end confdefs.h. */
28171 /* System header to define __stub macros and hopefully few prototypes,
28172 which can conflict with char $ac_func (); below.
28173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28174 <limits.h> exists even on freestanding compilers. */
28176 # include <limits.h>
28178 # include <assert.h>
28180 /* Override any gcc2 internal prototype to avoid an error. */
28185 /* We use char because int might match the return type of a gcc2
28186 builtin and then its argument prototype would still apply. */
28188 /* The GNU C library defines this for functions which it implements
28189 to always fail with ENOSYS. Some functions are actually named
28190 something starting with __ and the normal name is an alias. */
28191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28194 char (*f) () = $ac_func;
28203 return f != $ac_func;
28208 rm -f conftest.
$ac_objext conftest
$ac_exeext
28209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28210 (eval $ac_link) 2>&5
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 (exit $ac_status); } &&
28214 { ac_try
='test -s conftest$ac_exeext'
28215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28216 (eval $ac_try) 2>&5
28218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28219 (exit $ac_status); }; }; then
28220 eval "$as_ac_var=yes"
28222 echo "$as_me: failed program was:" >&5
28223 sed 's/^/| /' conftest.
$ac_ext >&5
28225 eval "$as_ac_var=no"
28227 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28231 if test `eval echo '${'$as_ac_var'}'` = yes; then
28232 cat >>confdefs.h
<<_ACEOF
28233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28235 cat >>confdefs.h
<<\_ACEOF
28236 #define HAVE_USLEEP 1
28240 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28241 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28259 for ac_func
in uname gethostname
28261 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28262 echo "$as_me:$LINENO: checking for $ac_func" >&5
28263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28264 if eval "test \"\${$as_ac_var+set}\" = set"; then
28265 echo $ECHO_N "(cached) $ECHO_C" >&6
28267 cat >conftest.
$ac_ext <<_ACEOF
28268 #line $LINENO "configure"
28271 cat confdefs.h
>>conftest.
$ac_ext
28272 cat >>conftest.
$ac_ext <<_ACEOF
28273 /* end confdefs.h. */
28274 /* System header to define __stub macros and hopefully few prototypes,
28275 which can conflict with char $ac_func (); below.
28276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28277 <limits.h> exists even on freestanding compilers. */
28279 # include <limits.h>
28281 # include <assert.h>
28283 /* Override any gcc2 internal prototype to avoid an error. */
28288 /* We use char because int might match the return type of a gcc2
28289 builtin and then its argument prototype would still apply. */
28291 /* The GNU C library defines this for functions which it implements
28292 to always fail with ENOSYS. Some functions are actually named
28293 something starting with __ and the normal name is an alias. */
28294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28297 char (*f) () = $ac_func;
28306 return f != $ac_func;
28311 rm -f conftest.
$ac_objext conftest
$ac_exeext
28312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28313 (eval $ac_link) 2>&5
28315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316 (exit $ac_status); } &&
28317 { ac_try
='test -s conftest$ac_exeext'
28318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28319 (eval $ac_try) 2>&5
28321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28322 (exit $ac_status); }; }; then
28323 eval "$as_ac_var=yes"
28325 echo "$as_me: failed program was:" >&5
28326 sed 's/^/| /' conftest.
$ac_ext >&5
28328 eval "$as_ac_var=no"
28330 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28334 if test `eval echo '${'$as_ac_var'}'` = yes; then
28335 cat >>confdefs.h
<<_ACEOF
28336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28346 ac_cpp
='$CXXCPP $CPPFLAGS'
28347 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28348 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28349 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28353 for ac_func
in strtok_r
28355 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28356 echo "$as_me:$LINENO: checking for $ac_func" >&5
28357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28358 if eval "test \"\${$as_ac_var+set}\" = set"; then
28359 echo $ECHO_N "(cached) $ECHO_C" >&6
28361 cat >conftest.
$ac_ext <<_ACEOF
28362 #line $LINENO "configure"
28365 cat confdefs.h
>>conftest.
$ac_ext
28366 cat >>conftest.
$ac_ext <<_ACEOF
28367 /* end confdefs.h. */
28368 /* System header to define __stub macros and hopefully few prototypes,
28369 which can conflict with char $ac_func (); below.
28370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28371 <limits.h> exists even on freestanding compilers. */
28373 # include <limits.h>
28375 # include <assert.h>
28377 /* Override any gcc2 internal prototype to avoid an error. */
28382 /* We use char because int might match the return type of a gcc2
28383 builtin and then its argument prototype would still apply. */
28385 /* The GNU C library defines this for functions which it implements
28386 to always fail with ENOSYS. Some functions are actually named
28387 something starting with __ and the normal name is an alias. */
28388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28391 char (*f) () = $ac_func;
28400 return f != $ac_func;
28405 rm -f conftest.
$ac_objext conftest
$ac_exeext
28406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28407 (eval $ac_link) 2>&5
28409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410 (exit $ac_status); } &&
28411 { ac_try
='test -s conftest$ac_exeext'
28412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28413 (eval $ac_try) 2>&5
28415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28416 (exit $ac_status); }; }; then
28417 eval "$as_ac_var=yes"
28419 echo "$as_me: failed program was:" >&5
28420 sed 's/^/| /' conftest.
$ac_ext >&5
28422 eval "$as_ac_var=no"
28424 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28428 if test `eval echo '${'$as_ac_var'}'` = yes; then
28429 cat >>confdefs.h
<<_ACEOF
28430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28438 ac_cpp
='$CPP $CPPFLAGS'
28439 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28440 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28441 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28446 for ac_func
in inet_addr
28448 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28449 echo "$as_me:$LINENO: checking for $ac_func" >&5
28450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28451 if eval "test \"\${$as_ac_var+set}\" = set"; then
28452 echo $ECHO_N "(cached) $ECHO_C" >&6
28454 cat >conftest.
$ac_ext <<_ACEOF
28455 #line $LINENO "configure"
28458 cat confdefs.h
>>conftest.
$ac_ext
28459 cat >>conftest.
$ac_ext <<_ACEOF
28460 /* end confdefs.h. */
28461 /* System header to define __stub macros and hopefully few prototypes,
28462 which can conflict with char $ac_func (); below.
28463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28464 <limits.h> exists even on freestanding compilers. */
28466 # include <limits.h>
28468 # include <assert.h>
28470 /* Override any gcc2 internal prototype to avoid an error. */
28475 /* We use char because int might match the return type of a gcc2
28476 builtin and then its argument prototype would still apply. */
28478 /* The GNU C library defines this for functions which it implements
28479 to always fail with ENOSYS. Some functions are actually named
28480 something starting with __ and the normal name is an alias. */
28481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28484 char (*f) () = $ac_func;
28493 return f != $ac_func;
28498 rm -f conftest.
$ac_objext conftest
$ac_exeext
28499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28500 (eval $ac_link) 2>&5
28502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28503 (exit $ac_status); } &&
28504 { ac_try
='test -s conftest$ac_exeext'
28505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28506 (eval $ac_try) 2>&5
28508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28509 (exit $ac_status); }; }; then
28510 eval "$as_ac_var=yes"
28512 echo "$as_me: failed program was:" >&5
28513 sed 's/^/| /' conftest.
$ac_ext >&5
28515 eval "$as_ac_var=no"
28517 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28521 if test `eval echo '${'$as_ac_var'}'` = yes; then
28522 cat >>confdefs.h
<<_ACEOF
28523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28525 cat >>confdefs.h
<<\_ACEOF
28526 #define HAVE_INET_ADDR 1
28531 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28532 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28533 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28534 echo $ECHO_N "(cached) $ECHO_C" >&6
28536 ac_check_lib_save_LIBS
=$LIBS
28538 cat >conftest.
$ac_ext <<_ACEOF
28539 #line $LINENO "configure"
28542 cat confdefs.h
>>conftest.
$ac_ext
28543 cat >>conftest.
$ac_ext <<_ACEOF
28544 /* end confdefs.h. */
28546 /* Override any gcc2 internal prototype to avoid an error. */
28550 /* We use char because int might match the return type of a gcc2
28551 builtin and then its argument prototype would still apply. */
28561 rm -f conftest.
$ac_objext conftest
$ac_exeext
28562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28563 (eval $ac_link) 2>&5
28565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28566 (exit $ac_status); } &&
28567 { ac_try
='test -s conftest$ac_exeext'
28568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28569 (eval $ac_try) 2>&5
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); }; }; then
28573 ac_cv_lib_nsl_inet_addr
=yes
28575 echo "$as_me: failed program was:" >&5
28576 sed 's/^/| /' conftest.
$ac_ext >&5
28578 ac_cv_lib_nsl_inet_addr
=no
28580 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28581 LIBS
=$ac_check_lib_save_LIBS
28583 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28584 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28585 if test $ac_cv_lib_nsl_inet_addr = yes; then
28589 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28590 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28591 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28592 echo $ECHO_N "(cached) $ECHO_C" >&6
28594 ac_check_lib_save_LIBS
=$LIBS
28595 LIBS
="-lresolv $LIBS"
28596 cat >conftest.
$ac_ext <<_ACEOF
28597 #line $LINENO "configure"
28600 cat confdefs.h
>>conftest.
$ac_ext
28601 cat >>conftest.
$ac_ext <<_ACEOF
28602 /* end confdefs.h. */
28604 /* Override any gcc2 internal prototype to avoid an error. */
28608 /* We use char because int might match the return type of a gcc2
28609 builtin and then its argument prototype would still apply. */
28619 rm -f conftest.
$ac_objext conftest
$ac_exeext
28620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28621 (eval $ac_link) 2>&5
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); } &&
28625 { ac_try
='test -s conftest$ac_exeext'
28626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28627 (eval $ac_try) 2>&5
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); }; }; then
28631 ac_cv_lib_resolv_inet_addr
=yes
28633 echo "$as_me: failed program was:" >&5
28634 sed 's/^/| /' conftest.
$ac_ext >&5
28636 ac_cv_lib_resolv_inet_addr
=no
28638 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28639 LIBS
=$ac_check_lib_save_LIBS
28641 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28642 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28643 if test $ac_cv_lib_resolv_inet_addr = yes; then
28647 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28648 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28649 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28650 echo $ECHO_N "(cached) $ECHO_C" >&6
28652 ac_check_lib_save_LIBS
=$LIBS
28653 LIBS
="-lsocket $LIBS"
28654 cat >conftest.
$ac_ext <<_ACEOF
28655 #line $LINENO "configure"
28658 cat confdefs.h
>>conftest.
$ac_ext
28659 cat >>conftest.
$ac_ext <<_ACEOF
28660 /* end confdefs.h. */
28662 /* Override any gcc2 internal prototype to avoid an error. */
28666 /* We use char because int might match the return type of a gcc2
28667 builtin and then its argument prototype would still apply. */
28677 rm -f conftest.
$ac_objext conftest
$ac_exeext
28678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28679 (eval $ac_link) 2>&5
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); } &&
28683 { ac_try
='test -s conftest$ac_exeext'
28684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28685 (eval $ac_try) 2>&5
28687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); }; }; then
28689 ac_cv_lib_socket_inet_addr
=yes
28691 echo "$as_me: failed program was:" >&5
28692 sed 's/^/| /' conftest.
$ac_ext >&5
28694 ac_cv_lib_socket_inet_addr
=no
28696 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28697 LIBS
=$ac_check_lib_save_LIBS
28699 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28700 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28701 if test $ac_cv_lib_socket_inet_addr = yes; then
28721 for ac_func
in inet_aton
28723 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28724 echo "$as_me:$LINENO: checking for $ac_func" >&5
28725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28726 if eval "test \"\${$as_ac_var+set}\" = set"; then
28727 echo $ECHO_N "(cached) $ECHO_C" >&6
28729 cat >conftest.
$ac_ext <<_ACEOF
28730 #line $LINENO "configure"
28733 cat confdefs.h
>>conftest.
$ac_ext
28734 cat >>conftest.
$ac_ext <<_ACEOF
28735 /* end confdefs.h. */
28736 /* System header to define __stub macros and hopefully few prototypes,
28737 which can conflict with char $ac_func (); below.
28738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28739 <limits.h> exists even on freestanding compilers. */
28741 # include <limits.h>
28743 # include <assert.h>
28745 /* Override any gcc2 internal prototype to avoid an error. */
28750 /* We use char because int might match the return type of a gcc2
28751 builtin and then its argument prototype would still apply. */
28753 /* The GNU C library defines this for functions which it implements
28754 to always fail with ENOSYS. Some functions are actually named
28755 something starting with __ and the normal name is an alias. */
28756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28759 char (*f) () = $ac_func;
28768 return f != $ac_func;
28773 rm -f conftest.
$ac_objext conftest
$ac_exeext
28774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28775 (eval $ac_link) 2>&5
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); } &&
28779 { ac_try
='test -s conftest$ac_exeext'
28780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28781 (eval $ac_try) 2>&5
28783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784 (exit $ac_status); }; }; then
28785 eval "$as_ac_var=yes"
28787 echo "$as_me: failed program was:" >&5
28788 sed 's/^/| /' conftest.
$ac_ext >&5
28790 eval "$as_ac_var=no"
28792 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28796 if test `eval echo '${'$as_ac_var'}'` = yes; then
28797 cat >>confdefs.h
<<_ACEOF
28798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28800 cat >>confdefs.h
<<\_ACEOF
28801 #define HAVE_INET_ATON 1
28806 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28807 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28808 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28809 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28810 echo $ECHO_N "(cached) $ECHO_C" >&6
28812 ac_check_lib_save_LIBS
=$LIBS
28813 LIBS
="-l$INET_LINK $LIBS"
28814 cat >conftest.
$ac_ext <<_ACEOF
28815 #line $LINENO "configure"
28818 cat confdefs.h
>>conftest.
$ac_ext
28819 cat >>conftest.
$ac_ext <<_ACEOF
28820 /* end confdefs.h. */
28822 /* Override any gcc2 internal prototype to avoid an error. */
28826 /* We use char because int might match the return type of a gcc2
28827 builtin and then its argument prototype would still apply. */
28837 rm -f conftest.
$ac_objext conftest
$ac_exeext
28838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28839 (eval $ac_link) 2>&5
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); } &&
28843 { ac_try
='test -s conftest$ac_exeext'
28844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28845 (eval $ac_try) 2>&5
28847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28848 (exit $ac_status); }; }; then
28849 eval "$as_ac_Lib=yes"
28851 echo "$as_me: failed program was:" >&5
28852 sed 's/^/| /' conftest.
$ac_ext >&5
28854 eval "$as_ac_Lib=no"
28856 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28857 LIBS
=$ac_check_lib_save_LIBS
28859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28860 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28861 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28862 cat >>confdefs.h
<<\_ACEOF
28863 #define HAVE_INET_ATON 1
28873 if test "x$INET_LINK" != "x"; then
28874 cat >>confdefs.h
<<\_ACEOF
28875 #define HAVE_INET_ADDR 1
28878 INET_LINK
=" -l$INET_LINK"
28886 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28887 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28888 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28889 echo $ECHO_N "(cached) $ECHO_C" >&6
28891 ac_check_lib_save_LIBS
=$LIBS
28893 cat >conftest.
$ac_ext <<_ACEOF
28894 #line $LINENO "configure"
28897 cat confdefs.h
>>conftest.
$ac_ext
28898 cat >>conftest.
$ac_ext <<_ACEOF
28899 /* end confdefs.h. */
28901 /* Override any gcc2 internal prototype to avoid an error. */
28905 /* We use char because int might match the return type of a gcc2
28906 builtin and then its argument prototype would still apply. */
28916 rm -f conftest.
$ac_objext conftest
$ac_exeext
28917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28918 (eval $ac_link) 2>&5
28920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921 (exit $ac_status); } &&
28922 { ac_try
='test -s conftest$ac_exeext'
28923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28924 (eval $ac_try) 2>&5
28926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28927 (exit $ac_status); }; }; then
28928 ac_cv_lib_esd_esd_close
=yes
28930 echo "$as_me: failed program was:" >&5
28931 sed 's/^/| /' conftest.
$ac_ext >&5
28933 ac_cv_lib_esd_esd_close
=no
28935 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28936 LIBS
=$ac_check_lib_save_LIBS
28938 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28939 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28940 if test $ac_cv_lib_esd_esd_close = yes; then
28943 for ac_header
in esd.h
28945 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28947 echo "$as_me:$LINENO: checking for $ac_header" >&5
28948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28950 echo $ECHO_N "(cached) $ECHO_C" >&6
28952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28955 # Is the header compilable?
28956 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28957 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28958 cat >conftest.
$ac_ext <<_ACEOF
28959 #line $LINENO "configure"
28962 cat confdefs.h
>>conftest.
$ac_ext
28963 cat >>conftest.
$ac_ext <<_ACEOF
28964 /* end confdefs.h. */
28965 $ac_includes_default
28966 #include <$ac_header>
28968 rm -f conftest.
$ac_objext
28969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28970 (eval $ac_compile) 2>&5
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); } &&
28974 { ac_try
='test -s conftest.$ac_objext'
28975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28976 (eval $ac_try) 2>&5
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); }; }; then
28980 ac_header_compiler
=yes
28982 echo "$as_me: failed program was:" >&5
28983 sed 's/^/| /' conftest.
$ac_ext >&5
28985 ac_header_compiler
=no
28987 rm -f conftest.
$ac_objext conftest.
$ac_ext
28988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28989 echo "${ECHO_T}$ac_header_compiler" >&6
28991 # Is the header present?
28992 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28993 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28994 cat >conftest.
$ac_ext <<_ACEOF
28995 #line $LINENO "configure"
28998 cat confdefs.h
>>conftest.
$ac_ext
28999 cat >>conftest.
$ac_ext <<_ACEOF
29000 /* end confdefs.h. */
29001 #include <$ac_header>
29003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29004 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29006 grep -v '^ *+' conftest.er1
>conftest.err
29008 cat conftest.err
>&5
29009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29010 (exit $ac_status); } >/dev
/null
; then
29011 if test -s conftest.err
; then
29012 ac_cpp_err
=$ac_c_preproc_warn_flag
29019 if test -z "$ac_cpp_err"; then
29020 ac_header_preproc
=yes
29022 echo "$as_me: failed program was:" >&5
29023 sed 's/^/| /' conftest.
$ac_ext >&5
29025 ac_header_preproc
=no
29027 rm -f conftest.err conftest.
$ac_ext
29028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29029 echo "${ECHO_T}$ac_header_preproc" >&6
29031 # So? What about this header?
29032 case $ac_header_compiler:$ac_header_preproc in
29034 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29035 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29036 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29037 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29040 ## ------------------------------------ ##
29041 ## Report this to bug-autoconf@gnu.org. ##
29042 ## ------------------------------------ ##
29045 sed "s/^/$as_me: WARNING: /" >&2
29048 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29049 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29050 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29051 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29056 ## ------------------------------------ ##
29057 ## Report this to bug-autoconf@gnu.org. ##
29058 ## ------------------------------------ ##
29061 sed "s/^/$as_me: WARNING: /" >&2
29064 echo "$as_me:$LINENO: checking for $ac_header" >&5
29065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29067 echo $ECHO_N "(cached) $ECHO_C" >&6
29069 eval "$as_ac_Header=$ac_header_preproc"
29071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29076 cat >>confdefs.h
<<_ACEOF
29077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29080 EXTRALIBS_ESD
="-lesd"
29091 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29092 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29093 cat >conftest.
$ac_ext <<_ACEOF
29094 #line $LINENO "configure"
29097 cat confdefs.h
>>conftest.
$ac_ext
29098 cat >>conftest.
$ac_ext <<_ACEOF
29099 /* end confdefs.h. */
29101 #include <linux/cdrom.h>
29104 #include <sys/cdio.h>
29110 struct cdrom_tocentry entry, old_entry;
29115 rm -f conftest.
$ac_objext
29116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29117 (eval $ac_compile) 2>&5
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); } &&
29121 { ac_try
='test -s conftest.$ac_objext'
29122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29123 (eval $ac_try) 2>&5
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); }; }; then
29127 echo "$as_me:$LINENO: result: yes" >&5
29128 echo "${ECHO_T}yes" >&6
29129 cat >>confdefs.h
<<\_ACEOF
29130 #define HAVE_KNOWN_CDROM_INTERFACE 1
29134 echo "$as_me: failed program was:" >&5
29135 sed 's/^/| /' conftest.
$ac_ext >&5
29137 echo "$as_me:$LINENO: result: no" >&5
29138 echo "${ECHO_T}no" >&6
29140 rm -f conftest.
$ac_objext conftest.
$ac_ext
29143 cat >confcache
<<\_ACEOF
29144 # This file is a shell script that caches the results of configure
29145 # tests run on this system so they can be shared between configure
29146 # scripts and configure runs, see configure's option --config-cache.
29147 # It is not useful on other systems. If it contains results you don't
29148 # want to keep, you may remove or edit it.
29150 # config.status only pays attention to the cache file if you give it
29151 # the --recheck option to rerun configure.
29153 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29154 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29155 # following values.
29159 # The following way of writing the cache mishandles newlines in values,
29160 # but we know of no workaround that is simple, portable, and efficient.
29161 # So, don't put newlines in cache variables' values.
29162 # Ultrix sh set writes to stderr and can't be redirected directly,
29163 # and sets the high bit in the cache file unless we assign to the vars.
29166 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29168 # `set' does not quote correctly, so add quotes (double-quote
29169 # substitution turns \\\\ into \\, and sed turns \\ into \).
29172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29175 # `set' quotes correctly as required by POSIX, so do not add quotes.
29177 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29184 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29186 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29188 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
29189 if test -w $cache_file; then
29190 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29191 cat confcache
>$cache_file
29193 echo "not updating unwritable cache $cache_file"
29200 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29206 if test "$wxUSE_THREADS" = "yes" ; then
29207 if test "$USE_BEOS" = 1; then
29208 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29209 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29214 if test "$wxUSE_THREADS" = "yes" ; then
29217 THREAD_OPTS
="-pthread"
29219 *-*-solaris2* | *-*-sunos4* )
29220 if test "x$GCC" = "xyes"; then
29221 THREAD_OPTS
="-pthreads $THREAD_OPTS"
29223 THREAD_OPTS
="-mt $THREAD_OPTS"
29227 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
29229 *-*-darwin* | *-*-cygwin* )
29233 THREAD_OPTS
="pthreads"
29236 if test "x$GCC" != "xyes"; then
29242 if test "x$GCC" = "xyes"; then
29248 if test "x$GCC" != "xyes"; then
29249 THREAD_OPTS
="-Ethread"
29254 THREAD_OPTS
="$THREAD_OPTS pthread none"
29257 for flag
in $THREAD_OPTS; do
29260 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29261 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29265 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29266 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29267 THREADS_CFLAGS
="$flag"
29271 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29272 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29273 THREADS_LINK
="-l$flag"
29278 save_CFLAGS
="$CFLAGS"
29279 LIBS
="$THREADS_LINK $LIBS"
29280 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
29282 cat >conftest.
$ac_ext <<_ACEOF
29283 #line $LINENO "configure"
29286 cat confdefs.h
>>conftest.
$ac_ext
29287 cat >>conftest.
$ac_ext <<_ACEOF
29288 /* end confdefs.h. */
29289 #include <pthread.h>
29293 pthread_create(0,0,0,0);
29298 rm -f conftest.
$ac_objext conftest
$ac_exeext
29299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29300 (eval $ac_link) 2>&5
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); } &&
29304 { ac_try
='test -s conftest$ac_exeext'
29305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29306 (eval $ac_try) 2>&5
29308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29309 (exit $ac_status); }; }; then
29312 echo "$as_me: failed program was:" >&5
29313 sed 's/^/| /' conftest.
$ac_ext >&5
29316 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29319 CFLAGS
="$save_CFLAGS"
29321 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29322 echo "${ECHO_T}$THREADS_OK" >&6
29323 if test "x$THREADS_OK" = "xyes"; then
29331 if test "x$THREADS_OK" != "xyes"; then
29333 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29334 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29336 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
29337 LIBS
="$THREADS_LINK $LIBS"
29339 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29340 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29344 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
29345 flag
="-D_THREAD_SAFE"
29348 flag
="-D_THREAD_SAFE"
29351 flag
="-D_REENTRANT"
29352 if test "x$GCC" != "xyes"; then
29353 flag
="$flag -D_RWSTD_MULTI_THREAD"
29356 *solaris
* | alpha
*-osf*)
29357 flag
="-D_REENTRANT"
29360 echo "$as_me:$LINENO: result: ${flag}" >&5
29361 echo "${ECHO_T}${flag}" >&6
29362 if test "x$flag" != xno
; then
29363 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
29366 if test "x$THREADS_CFLAGS" != "x"; then
29367 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
29368 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
29373 if test "$wxUSE_THREADS" = "yes" ; then
29375 for ac_func
in thr_setconcurrency
29377 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29378 echo "$as_me:$LINENO: checking for $ac_func" >&5
29379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29380 if eval "test \"\${$as_ac_var+set}\" = set"; then
29381 echo $ECHO_N "(cached) $ECHO_C" >&6
29383 cat >conftest.
$ac_ext <<_ACEOF
29384 #line $LINENO "configure"
29387 cat confdefs.h
>>conftest.
$ac_ext
29388 cat >>conftest.
$ac_ext <<_ACEOF
29389 /* end confdefs.h. */
29390 /* System header to define __stub macros and hopefully few prototypes,
29391 which can conflict with char $ac_func (); below.
29392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29393 <limits.h> exists even on freestanding compilers. */
29395 # include <limits.h>
29397 # include <assert.h>
29399 /* Override any gcc2 internal prototype to avoid an error. */
29404 /* We use char because int might match the return type of a gcc2
29405 builtin and then its argument prototype would still apply. */
29407 /* The GNU C library defines this for functions which it implements
29408 to always fail with ENOSYS. Some functions are actually named
29409 something starting with __ and the normal name is an alias. */
29410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29413 char (*f) () = $ac_func;
29422 return f != $ac_func;
29427 rm -f conftest.
$ac_objext conftest
$ac_exeext
29428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29429 (eval $ac_link) 2>&5
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); } &&
29433 { ac_try
='test -s conftest$ac_exeext'
29434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29435 (eval $ac_try) 2>&5
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); }; }; then
29439 eval "$as_ac_var=yes"
29441 echo "$as_me: failed program was:" >&5
29442 sed 's/^/| /' conftest.
$ac_ext >&5
29444 eval "$as_ac_var=no"
29446 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29450 if test `eval echo '${'$as_ac_var'}'` = yes; then
29451 cat >>confdefs.h
<<_ACEOF
29452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29460 for ac_header
in sched.h
29462 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29464 echo "$as_me:$LINENO: checking for $ac_header" >&5
29465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29467 echo $ECHO_N "(cached) $ECHO_C" >&6
29469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29472 # Is the header compilable?
29473 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29474 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29475 cat >conftest.
$ac_ext <<_ACEOF
29476 #line $LINENO "configure"
29479 cat confdefs.h
>>conftest.
$ac_ext
29480 cat >>conftest.
$ac_ext <<_ACEOF
29481 /* end confdefs.h. */
29482 $ac_includes_default
29483 #include <$ac_header>
29485 rm -f conftest.
$ac_objext
29486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29487 (eval $ac_compile) 2>&5
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); } &&
29491 { ac_try
='test -s conftest.$ac_objext'
29492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29493 (eval $ac_try) 2>&5
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); }; }; then
29497 ac_header_compiler
=yes
29499 echo "$as_me: failed program was:" >&5
29500 sed 's/^/| /' conftest.
$ac_ext >&5
29502 ac_header_compiler
=no
29504 rm -f conftest.
$ac_objext conftest.
$ac_ext
29505 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29506 echo "${ECHO_T}$ac_header_compiler" >&6
29508 # Is the header present?
29509 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29510 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29511 cat >conftest.
$ac_ext <<_ACEOF
29512 #line $LINENO "configure"
29515 cat confdefs.h
>>conftest.
$ac_ext
29516 cat >>conftest.
$ac_ext <<_ACEOF
29517 /* end confdefs.h. */
29518 #include <$ac_header>
29520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29521 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29523 grep -v '^ *+' conftest.er1
>conftest.err
29525 cat conftest.err
>&5
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); } >/dev
/null
; then
29528 if test -s conftest.err
; then
29529 ac_cpp_err
=$ac_c_preproc_warn_flag
29536 if test -z "$ac_cpp_err"; then
29537 ac_header_preproc
=yes
29539 echo "$as_me: failed program was:" >&5
29540 sed 's/^/| /' conftest.
$ac_ext >&5
29542 ac_header_preproc
=no
29544 rm -f conftest.err conftest.
$ac_ext
29545 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29546 echo "${ECHO_T}$ac_header_preproc" >&6
29548 # So? What about this header?
29549 case $ac_header_compiler:$ac_header_preproc in
29551 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29552 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29557 ## ------------------------------------ ##
29558 ## Report this to bug-autoconf@gnu.org. ##
29559 ## ------------------------------------ ##
29562 sed "s/^/$as_me: WARNING: /" >&2
29565 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29566 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29567 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29568 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29569 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29570 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29573 ## ------------------------------------ ##
29574 ## Report this to bug-autoconf@gnu.org. ##
29575 ## ------------------------------------ ##
29578 sed "s/^/$as_me: WARNING: /" >&2
29581 echo "$as_me:$LINENO: checking for $ac_header" >&5
29582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29584 echo $ECHO_N "(cached) $ECHO_C" >&6
29586 eval "$as_ac_Header=$ac_header_preproc"
29588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29593 cat >>confdefs.h
<<_ACEOF
29594 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29601 if test "$ac_cv_header_sched_h" = "yes"; then
29602 echo "$as_me:$LINENO: checking for sched_yield" >&5
29603 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29604 if test "${ac_cv_func_sched_yield+set}" = set; then
29605 echo $ECHO_N "(cached) $ECHO_C" >&6
29607 cat >conftest.
$ac_ext <<_ACEOF
29608 #line $LINENO "configure"
29611 cat confdefs.h
>>conftest.
$ac_ext
29612 cat >>conftest.
$ac_ext <<_ACEOF
29613 /* end confdefs.h. */
29614 /* System header to define __stub macros and hopefully few prototypes,
29615 which can conflict with char sched_yield (); below.
29616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29617 <limits.h> exists even on freestanding compilers. */
29619 # include <limits.h>
29621 # include <assert.h>
29623 /* Override any gcc2 internal prototype to avoid an error. */
29628 /* We use char because int might match the return type of a gcc2
29629 builtin and then its argument prototype would still apply. */
29630 char sched_yield ();
29631 /* The GNU C library defines this for functions which it implements
29632 to always fail with ENOSYS. Some functions are actually named
29633 something starting with __ and the normal name is an alias. */
29634 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29637 char (*f) () = sched_yield;
29646 return f != sched_yield;
29651 rm -f conftest.
$ac_objext conftest
$ac_exeext
29652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29653 (eval $ac_link) 2>&5
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); } &&
29657 { ac_try
='test -s conftest$ac_exeext'
29658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29659 (eval $ac_try) 2>&5
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); }; }; then
29663 ac_cv_func_sched_yield
=yes
29665 echo "$as_me: failed program was:" >&5
29666 sed 's/^/| /' conftest.
$ac_ext >&5
29668 ac_cv_func_sched_yield
=no
29670 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29672 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29673 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29674 if test $ac_cv_func_sched_yield = yes; then
29675 cat >>confdefs.h
<<\_ACEOF
29676 #define HAVE_SCHED_YIELD 1
29681 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29682 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29683 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29684 echo $ECHO_N "(cached) $ECHO_C" >&6
29686 ac_check_lib_save_LIBS
=$LIBS
29687 LIBS
="-lposix4 $LIBS"
29688 cat >conftest.
$ac_ext <<_ACEOF
29689 #line $LINENO "configure"
29692 cat confdefs.h
>>conftest.
$ac_ext
29693 cat >>conftest.
$ac_ext <<_ACEOF
29694 /* end confdefs.h. */
29696 /* Override any gcc2 internal prototype to avoid an error. */
29700 /* We use char because int might match the return type of a gcc2
29701 builtin and then its argument prototype would still apply. */
29702 char sched_yield ();
29711 rm -f conftest.
$ac_objext conftest
$ac_exeext
29712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29713 (eval $ac_link) 2>&5
29715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29716 (exit $ac_status); } &&
29717 { ac_try
='test -s conftest$ac_exeext'
29718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29719 (eval $ac_try) 2>&5
29721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29722 (exit $ac_status); }; }; then
29723 ac_cv_lib_posix4_sched_yield
=yes
29725 echo "$as_me: failed program was:" >&5
29726 sed 's/^/| /' conftest.
$ac_ext >&5
29728 ac_cv_lib_posix4_sched_yield
=no
29730 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29731 LIBS
=$ac_check_lib_save_LIBS
29733 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29734 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29735 if test $ac_cv_lib_posix4_sched_yield = yes; then
29736 cat >>confdefs.h
<<\_ACEOF
29737 #define HAVE_SCHED_YIELD 1
29739 POSIX4_LINK
=" -lposix4"
29741 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29742 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29753 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29754 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29755 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29756 echo $ECHO_N "(cached) $ECHO_C" >&6
29758 cat >conftest.
$ac_ext <<_ACEOF
29759 #line $LINENO "configure"
29762 cat confdefs.h
>>conftest.
$ac_ext
29763 cat >>conftest.
$ac_ext <<_ACEOF
29764 /* end confdefs.h. */
29765 /* System header to define __stub macros and hopefully few prototypes,
29766 which can conflict with char pthread_attr_getschedpolicy (); below.
29767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29768 <limits.h> exists even on freestanding compilers. */
29770 # include <limits.h>
29772 # include <assert.h>
29774 /* Override any gcc2 internal prototype to avoid an error. */
29779 /* We use char because int might match the return type of a gcc2
29780 builtin and then its argument prototype would still apply. */
29781 char pthread_attr_getschedpolicy ();
29782 /* The GNU C library defines this for functions which it implements
29783 to always fail with ENOSYS. Some functions are actually named
29784 something starting with __ and the normal name is an alias. */
29785 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29788 char (*f) () = pthread_attr_getschedpolicy;
29797 return f != pthread_attr_getschedpolicy;
29802 rm -f conftest.
$ac_objext conftest
$ac_exeext
29803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29804 (eval $ac_link) 2>&5
29806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29807 (exit $ac_status); } &&
29808 { ac_try
='test -s conftest$ac_exeext'
29809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29810 (eval $ac_try) 2>&5
29812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29813 (exit $ac_status); }; }; then
29814 ac_cv_func_pthread_attr_getschedpolicy
=yes
29816 echo "$as_me: failed program was:" >&5
29817 sed 's/^/| /' conftest.
$ac_ext >&5
29819 ac_cv_func_pthread_attr_getschedpolicy
=no
29821 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29823 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29824 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29825 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29826 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29827 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29828 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29829 echo $ECHO_N "(cached) $ECHO_C" >&6
29831 cat >conftest.
$ac_ext <<_ACEOF
29832 #line $LINENO "configure"
29835 cat confdefs.h
>>conftest.
$ac_ext
29836 cat >>conftest.
$ac_ext <<_ACEOF
29837 /* end confdefs.h. */
29838 /* System header to define __stub macros and hopefully few prototypes,
29839 which can conflict with char pthread_attr_setschedparam (); below.
29840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29841 <limits.h> exists even on freestanding compilers. */
29843 # include <limits.h>
29845 # include <assert.h>
29847 /* Override any gcc2 internal prototype to avoid an error. */
29852 /* We use char because int might match the return type of a gcc2
29853 builtin and then its argument prototype would still apply. */
29854 char pthread_attr_setschedparam ();
29855 /* The GNU C library defines this for functions which it implements
29856 to always fail with ENOSYS. Some functions are actually named
29857 something starting with __ and the normal name is an alias. */
29858 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29861 char (*f) () = pthread_attr_setschedparam;
29870 return f != pthread_attr_setschedparam;
29875 rm -f conftest.
$ac_objext conftest
$ac_exeext
29876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29877 (eval $ac_link) 2>&5
29879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29880 (exit $ac_status); } &&
29881 { ac_try
='test -s conftest$ac_exeext'
29882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29883 (eval $ac_try) 2>&5
29885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886 (exit $ac_status); }; }; then
29887 ac_cv_func_pthread_attr_setschedparam
=yes
29889 echo "$as_me: failed program was:" >&5
29890 sed 's/^/| /' conftest.
$ac_ext >&5
29892 ac_cv_func_pthread_attr_setschedparam
=no
29894 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29896 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29897 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29898 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29899 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29900 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29901 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29902 echo $ECHO_N "(cached) $ECHO_C" >&6
29904 cat >conftest.
$ac_ext <<_ACEOF
29905 #line $LINENO "configure"
29908 cat confdefs.h
>>conftest.
$ac_ext
29909 cat >>conftest.
$ac_ext <<_ACEOF
29910 /* end confdefs.h. */
29911 /* System header to define __stub macros and hopefully few prototypes,
29912 which can conflict with char sched_get_priority_max (); below.
29913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29914 <limits.h> exists even on freestanding compilers. */
29916 # include <limits.h>
29918 # include <assert.h>
29920 /* Override any gcc2 internal prototype to avoid an error. */
29925 /* We use char because int might match the return type of a gcc2
29926 builtin and then its argument prototype would still apply. */
29927 char sched_get_priority_max ();
29928 /* The GNU C library defines this for functions which it implements
29929 to always fail with ENOSYS. Some functions are actually named
29930 something starting with __ and the normal name is an alias. */
29931 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29934 char (*f) () = sched_get_priority_max;
29943 return f != sched_get_priority_max;
29948 rm -f conftest.
$ac_objext conftest
$ac_exeext
29949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29950 (eval $ac_link) 2>&5
29952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29953 (exit $ac_status); } &&
29954 { ac_try
='test -s conftest$ac_exeext'
29955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29956 (eval $ac_try) 2>&5
29958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29959 (exit $ac_status); }; }; then
29960 ac_cv_func_sched_get_priority_max
=yes
29962 echo "$as_me: failed program was:" >&5
29963 sed 's/^/| /' conftest.
$ac_ext >&5
29965 ac_cv_func_sched_get_priority_max
=no
29967 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29969 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29970 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29971 if test $ac_cv_func_sched_get_priority_max = yes; then
29974 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29975 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29976 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29977 echo $ECHO_N "(cached) $ECHO_C" >&6
29979 ac_check_lib_save_LIBS
=$LIBS
29980 LIBS
="-lposix4 $LIBS"
29981 cat >conftest.
$ac_ext <<_ACEOF
29982 #line $LINENO "configure"
29985 cat confdefs.h
>>conftest.
$ac_ext
29986 cat >>conftest.
$ac_ext <<_ACEOF
29987 /* end confdefs.h. */
29989 /* Override any gcc2 internal prototype to avoid an error. */
29993 /* We use char because int might match the return type of a gcc2
29994 builtin and then its argument prototype would still apply. */
29995 char sched_get_priority_max ();
29999 sched_get_priority_max ();
30004 rm -f conftest.
$ac_objext conftest
$ac_exeext
30005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30006 (eval $ac_link) 2>&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); } &&
30010 { ac_try
='test -s conftest$ac_exeext'
30011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30012 (eval $ac_try) 2>&5
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); }; }; then
30016 ac_cv_lib_posix4_sched_get_priority_max
=yes
30018 echo "$as_me: failed program was:" >&5
30019 sed 's/^/| /' conftest.
$ac_ext >&5
30021 ac_cv_lib_posix4_sched_get_priority_max
=no
30023 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30024 LIBS
=$ac_check_lib_save_LIBS
30026 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30027 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30028 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30031 POSIX4_LINK
=" -lposix4"
30045 if test "$HAVE_PRIOR_FUNCS" = 1; then
30046 cat >>confdefs.h
<<\_ACEOF
30047 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30051 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30052 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30055 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30056 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30057 if test "${ac_cv_func_pthread_cancel+set}" = set; then
30058 echo $ECHO_N "(cached) $ECHO_C" >&6
30060 cat >conftest.
$ac_ext <<_ACEOF
30061 #line $LINENO "configure"
30064 cat confdefs.h
>>conftest.
$ac_ext
30065 cat >>conftest.
$ac_ext <<_ACEOF
30066 /* end confdefs.h. */
30067 /* System header to define __stub macros and hopefully few prototypes,
30068 which can conflict with char pthread_cancel (); below.
30069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30070 <limits.h> exists even on freestanding compilers. */
30072 # include <limits.h>
30074 # include <assert.h>
30076 /* Override any gcc2 internal prototype to avoid an error. */
30081 /* We use char because int might match the return type of a gcc2
30082 builtin and then its argument prototype would still apply. */
30083 char pthread_cancel ();
30084 /* The GNU C library defines this for functions which it implements
30085 to always fail with ENOSYS. Some functions are actually named
30086 something starting with __ and the normal name is an alias. */
30087 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30090 char (*f) () = pthread_cancel;
30099 return f != pthread_cancel;
30104 rm -f conftest.
$ac_objext conftest
$ac_exeext
30105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30106 (eval $ac_link) 2>&5
30108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109 (exit $ac_status); } &&
30110 { ac_try
='test -s conftest$ac_exeext'
30111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30112 (eval $ac_try) 2>&5
30114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30115 (exit $ac_status); }; }; then
30116 ac_cv_func_pthread_cancel
=yes
30118 echo "$as_me: failed program was:" >&5
30119 sed 's/^/| /' conftest.
$ac_ext >&5
30121 ac_cv_func_pthread_cancel
=no
30123 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30125 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30126 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30127 if test $ac_cv_func_pthread_cancel = yes; then
30128 cat >>confdefs.h
<<\_ACEOF
30129 #define HAVE_PTHREAD_CANCEL 1
30133 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30134 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30140 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30141 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30142 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30143 echo $ECHO_N "(cached) $ECHO_C" >&6
30146 cat >conftest.
$ac_ext <<_ACEOF
30147 #line $LINENO "configure"
30150 cat confdefs.h
>>conftest.
$ac_ext
30151 cat >>conftest.
$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153 #include <pthread.h>
30158 pthread_mutexattr_t attr;
30159 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30165 rm -f conftest.
$ac_objext
30166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30167 (eval $ac_compile) 2>&5
30169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30170 (exit $ac_status); } &&
30171 { ac_try
='test -s conftest.$ac_objext'
30172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30173 (eval $ac_try) 2>&5
30175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30176 (exit $ac_status); }; }; then
30178 wx_cv_type_pthread_mutexattr_t
=yes
30181 echo "$as_me: failed program was:" >&5
30182 sed 's/^/| /' conftest.
$ac_ext >&5
30185 wx_cv_type_pthread_mutexattr_t
=no
30189 rm -f conftest.
$ac_objext conftest.
$ac_ext
30192 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30193 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30195 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30196 cat >>confdefs.h
<<\_ACEOF
30197 #define HAVE_PTHREAD_MUTEXATTR_T 1
30201 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30202 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30203 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30204 echo $ECHO_N "(cached) $ECHO_C" >&6
30207 cat >conftest.
$ac_ext <<_ACEOF
30208 #line $LINENO "configure"
30211 cat confdefs.h
>>conftest.
$ac_ext
30212 cat >>conftest.
$ac_ext <<_ACEOF
30213 /* end confdefs.h. */
30214 #include <pthread.h>
30219 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30225 rm -f conftest.
$ac_objext
30226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30227 (eval $ac_compile) 2>&5
30229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30230 (exit $ac_status); } &&
30231 { ac_try
='test -s conftest.$ac_objext'
30232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30233 (eval $ac_try) 2>&5
30235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30236 (exit $ac_status); }; }; then
30238 wx_cv_type_pthread_rec_mutex_init
=yes
30241 echo "$as_me: failed program was:" >&5
30242 sed 's/^/| /' conftest.
$ac_ext >&5
30245 wx_cv_type_pthread_rec_mutex_init
=no
30249 rm -f conftest.
$ac_objext conftest.
$ac_ext
30252 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30253 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30254 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30255 cat >>confdefs.h
<<\_ACEOF
30256 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30260 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30261 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30267 if test "$wxUSE_THREADS" = "yes" ; then
30270 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30271 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30272 if test "${wx_cv_cflags_mthread+set}" = set; then
30273 echo $ECHO_N "(cached) $ECHO_C" >&6
30276 CFLAGS_OLD
="$CFLAGS"
30277 CFLAGS
="$CFLAGS -mthreads"
30278 cat >conftest.
$ac_ext <<_ACEOF
30279 #line $LINENO "configure"
30282 cat confdefs.h
>>conftest.
$ac_ext
30283 cat >>conftest.
$ac_ext <<_ACEOF
30284 /* end confdefs.h. */
30294 rm -f conftest.
$ac_objext
30295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30296 (eval $ac_compile) 2>&5
30298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299 (exit $ac_status); } &&
30300 { ac_try
='test -s conftest.$ac_objext'
30301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30302 (eval $ac_try) 2>&5
30304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305 (exit $ac_status); }; }; then
30306 wx_cv_cflags_mthread
=yes
30308 echo "$as_me: failed program was:" >&5
30309 sed 's/^/| /' conftest.
$ac_ext >&5
30311 wx_cv_cflags_mthread
=no
30314 rm -f conftest.
$ac_objext conftest.
$ac_ext
30318 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30319 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30321 if test "$wx_cv_cflags_mthread" = "yes"; then
30322 CXXFLAGS
="$CXXFLAGS -mthreads"
30323 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
30324 LDFLAGS
="$LDFLAGS -mthreads"
30326 CFLAGS
="$CFLAGS_OLD"
30330 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30331 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30332 LDFLAGS
="$LDFLAGS -Zmt"
30338 if test "$wxUSE_THREADS" = "yes"; then
30339 cat >>confdefs.h
<<\_ACEOF
30340 #define wxUSE_THREADS 1
30344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
30346 if test "$ac_cv_func_strtok_r" = "yes"; then
30347 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30348 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30349 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30350 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
30351 echo "$as_me:$LINENO: result: yes" >&5
30352 echo "${ECHO_T}yes" >&6
30354 echo "$as_me:$LINENO: result: no" >&5
30355 echo "${ECHO_T}no" >&6
30360 if test "$WXGTK20" = 1 ; then
30361 cat >>confdefs.h
<<_ACEOF
30362 #define __WXGTK20__ $WXGTK20
30368 if test "$WXGTK12" = 1 ; then
30369 cat >>confdefs.h
<<_ACEOF
30370 #define __WXGTK12__ $WXGTK12
30375 if test "$WXGTK127" = 1 ; then
30376 cat >>confdefs.h
<<_ACEOF
30377 #define __WXGTK127__ $WXGTK127
30384 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30389 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30390 wxUSE_DEBUG_INFO
=yes
30394 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30395 cat >>confdefs.h
<<\_ACEOF
30399 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30401 if test "$wxUSE_GTK" = 1 ; then
30402 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30406 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30407 cat >>confdefs.h
<<\_ACEOF
30408 #define wxUSE_MEMORY_TRACING 1
30411 cat >>confdefs.h
<<\_ACEOF
30412 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30415 cat >>confdefs.h
<<\_ACEOF
30416 #define wxUSE_DEBUG_NEW_ALWAYS 1
30419 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30422 if test "$wxUSE_DMALLOC" = "yes" ; then
30423 DMALLOC_LIBS
="-ldmalloc"
30427 if test "$wxUSE_PROFILE" = "yes" ; then
30432 CODE_GEN_FLAGS_CXX
=
30433 if test "$GCC" = "yes" ; then
30434 if test "$wxUSE_NO_RTTI" = "yes" ; then
30435 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30437 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30438 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30440 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30441 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30446 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30449 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30455 if test "$wxUSE_OPTIMISE" = "no" ; then
30456 if test "$GCC" = yes ; then
30460 if test "$GCC" = yes ; then
30464 i586
-*-*|i686
-*-* )
30465 OPTIMISE
="${OPTIMISE} "
30474 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30475 cat >>confdefs.h
<<\_ACEOF
30476 #define WXWIN_COMPATIBILITY_2_2 1
30480 WXWIN_COMPATIBILITY_2_4
="yes"
30483 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30484 cat >>confdefs.h
<<\_ACEOF
30485 #define WXWIN_COMPATIBILITY_2_4 1
30491 if test "$wxUSE_GUI" = "yes"; then
30492 cat >>confdefs.h
<<\_ACEOF
30493 #define wxUSE_GUI 1
30498 cat >>confdefs.h
<<\_ACEOF
30499 #define wxUSE_NOGUI 1
30505 if test "$wxUSE_UNIX" = "yes"; then
30506 cat >>confdefs.h
<<\_ACEOF
30507 #define wxUSE_UNIX 1
30513 if test "$wxUSE_STL" = "yes"; then
30514 cat >>confdefs.h
<<\_ACEOF
30515 #define wxUSE_STL 1
30520 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30521 cat >>confdefs.h
<<\_ACEOF
30522 #define wxUSE_APPLE_IEEE 1
30527 if test "$wxUSE_TIMER" = "yes"; then
30528 cat >>confdefs.h
<<\_ACEOF
30529 #define wxUSE_TIMER 1
30534 if test "$wxUSE_WAVE" = "yes"; then
30535 cat >>confdefs.h
<<\_ACEOF
30536 #define wxUSE_WAVE 1
30541 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30542 cat >>confdefs.h
<<\_ACEOF
30543 #define wxUSE_CMDLINE_PARSER 1
30548 if test "$wxUSE_STOPWATCH" = "yes"; then
30549 cat >>confdefs.h
<<\_ACEOF
30550 #define wxUSE_STOPWATCH 1
30555 if test "$wxUSE_DATETIME" = "yes"; then
30556 cat >>confdefs.h
<<\_ACEOF
30557 #define wxUSE_DATETIME 1
30562 if test "$wxUSE_FILE" = "yes"; then
30563 cat >>confdefs.h
<<\_ACEOF
30564 #define wxUSE_FILE 1
30569 if test "$wxUSE_FFILE" = "yes"; then
30570 cat >>confdefs.h
<<\_ACEOF
30571 #define wxUSE_FFILE 1
30576 if test "$wxUSE_FILESYSTEM" = "yes"; then
30577 cat >>confdefs.h
<<\_ACEOF
30578 #define wxUSE_FILESYSTEM 1
30583 if test "$wxUSE_FS_ZIP" = "yes"; then
30584 cat >>confdefs.h
<<\_ACEOF
30585 #define wxUSE_FS_ZIP 1
30590 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30591 cat >>confdefs.h
<<\_ACEOF
30592 #define wxUSE_ZIPSTREAM 1
30597 if test "$wxUSE_GZSTREAM" = "yes"; then
30598 cat >>confdefs.h
<<\_ACEOF
30599 #define wxUSE_GZSTREAM 1
30604 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30605 cat >>confdefs.h
<<\_ACEOF
30606 #define wxUSE_ON_FATAL_EXCEPTION 1
30611 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30612 cat >>confdefs.h
<<\_ACEOF
30613 #define wxUSE_SNGLINST_CHECKER 1
30618 if test "$wxUSE_BUSYINFO" = "yes"; then
30619 cat >>confdefs.h
<<\_ACEOF
30620 #define wxUSE_BUSYINFO 1
30625 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30626 cat >>confdefs.h
<<\_ACEOF
30627 #define wxUSE_STD_IOSTREAM 1
30632 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30633 cat >>confdefs.h
<<\_ACEOF
30634 #define wxUSE_TEXTBUFFER 1
30639 if test "$wxUSE_TEXTFILE" = "yes"; then
30640 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30641 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30642 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30644 cat >>confdefs.h
<<\_ACEOF
30645 #define wxUSE_TEXTFILE 1
30651 if test "$wxUSE_CONFIG" = "yes" ; then
30652 if test "$wxUSE_TEXTFILE" != "yes"; then
30653 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30654 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30656 cat >>confdefs.h
<<\_ACEOF
30657 #define wxUSE_CONFIG 1
30660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30664 if test "$wxUSE_INTL" = "yes" ; then
30665 if test "$wxUSE_FILE" != "yes"; then
30666 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30667 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30669 cat >>confdefs.h
<<\_ACEOF
30670 #define wxUSE_INTL 1
30673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30674 GUIDIST
="$GUIDIST INTL_DIST"
30678 if test "$wxUSE_LOG" = "yes"; then
30679 cat >>confdefs.h
<<\_ACEOF
30680 #define wxUSE_LOG 1
30684 if test "$wxUSE_LOGGUI" = "yes"; then
30685 cat >>confdefs.h
<<\_ACEOF
30686 #define wxUSE_LOGGUI 1
30691 if test "$wxUSE_LOGWINDOW" = "yes"; then
30692 cat >>confdefs.h
<<\_ACEOF
30693 #define wxUSE_LOGWINDOW 1
30698 if test "$wxUSE_LOGDIALOG" = "yes"; then
30699 cat >>confdefs.h
<<\_ACEOF
30700 #define wxUSE_LOG_DIALOG 1
30706 if test "$wxUSE_LONGLONG" = "yes"; then
30707 cat >>confdefs.h
<<\_ACEOF
30708 #define wxUSE_LONGLONG 1
30713 if test "$wxUSE_GEOMETRY" = "yes"; then
30714 cat >>confdefs.h
<<\_ACEOF
30715 #define wxUSE_GEOMETRY 1
30720 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30721 cat >>confdefs.h
<<\_ACEOF
30722 #define wxUSE_DIALUP_MANAGER 1
30725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30728 if test "$wxUSE_STREAMS" = "yes" ; then
30729 cat >>confdefs.h
<<\_ACEOF
30730 #define wxUSE_STREAMS 1
30736 if test "$wxUSE_DATETIME" = "yes"; then
30738 for ac_func
in strptime
30740 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30741 echo "$as_me:$LINENO: checking for $ac_func" >&5
30742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30743 if eval "test \"\${$as_ac_var+set}\" = set"; then
30744 echo $ECHO_N "(cached) $ECHO_C" >&6
30746 cat >conftest.
$ac_ext <<_ACEOF
30747 #line $LINENO "configure"
30750 cat confdefs.h
>>conftest.
$ac_ext
30751 cat >>conftest.
$ac_ext <<_ACEOF
30752 /* end confdefs.h. */
30753 /* System header to define __stub macros and hopefully few prototypes,
30754 which can conflict with char $ac_func (); below.
30755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30756 <limits.h> exists even on freestanding compilers. */
30758 # include <limits.h>
30760 # include <assert.h>
30762 /* Override any gcc2 internal prototype to avoid an error. */
30767 /* We use char because int might match the return type of a gcc2
30768 builtin and then its argument prototype would still apply. */
30770 /* The GNU C library defines this for functions which it implements
30771 to always fail with ENOSYS. Some functions are actually named
30772 something starting with __ and the normal name is an alias. */
30773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30776 char (*f) () = $ac_func;
30785 return f != $ac_func;
30790 rm -f conftest.
$ac_objext conftest
$ac_exeext
30791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30792 (eval $ac_link) 2>&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); } &&
30796 { ac_try
='test -s conftest$ac_exeext'
30797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30798 (eval $ac_try) 2>&5
30800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30801 (exit $ac_status); }; }; then
30802 eval "$as_ac_var=yes"
30804 echo "$as_me: failed program was:" >&5
30805 sed 's/^/| /' conftest.
$ac_ext >&5
30807 eval "$as_ac_var=no"
30809 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30813 if test `eval echo '${'$as_ac_var'}'` = yes; then
30814 cat >>confdefs.h
<<_ACEOF
30815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30822 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30823 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30824 if test "${wx_cv_var_timezone+set}" = set; then
30825 echo $ECHO_N "(cached) $ECHO_C" >&6
30828 cat >conftest.
$ac_ext <<_ACEOF
30829 #line $LINENO "configure"
30832 cat confdefs.h
>>conftest.
$ac_ext
30833 cat >>conftest.
$ac_ext <<_ACEOF
30834 /* end confdefs.h. */
30849 rm -f conftest.
$ac_objext
30850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30851 (eval $ac_compile) 2>&5
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); } &&
30855 { ac_try
='test -s conftest.$ac_objext'
30856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30857 (eval $ac_try) 2>&5
30859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30860 (exit $ac_status); }; }; then
30862 wx_cv_var_timezone
=timezone
30865 echo "$as_me: failed program was:" >&5
30866 sed 's/^/| /' conftest.
$ac_ext >&5
30869 cat >conftest.
$ac_ext <<_ACEOF
30870 #line $LINENO "configure"
30873 cat confdefs.h
>>conftest.
$ac_ext
30874 cat >>conftest.
$ac_ext <<_ACEOF
30875 /* end confdefs.h. */
30890 rm -f conftest.
$ac_objext
30891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30892 (eval $ac_compile) 2>&5
30894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30895 (exit $ac_status); } &&
30896 { ac_try
='test -s conftest.$ac_objext'
30897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30898 (eval $ac_try) 2>&5
30900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30901 (exit $ac_status); }; }; then
30903 wx_cv_var_timezone
=_timezone
30906 echo "$as_me: failed program was:" >&5
30907 sed 's/^/| /' conftest.
$ac_ext >&5
30910 cat >conftest.
$ac_ext <<_ACEOF
30911 #line $LINENO "configure"
30914 cat confdefs.h
>>conftest.
$ac_ext
30915 cat >>conftest.
$ac_ext <<_ACEOF
30916 /* end confdefs.h. */
30931 rm -f conftest.
$ac_objext
30932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30933 (eval $ac_compile) 2>&5
30935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936 (exit $ac_status); } &&
30937 { ac_try
='test -s conftest.$ac_objext'
30938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30939 (eval $ac_try) 2>&5
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); }; }; then
30944 wx_cv_var_timezone
=__timezone
30947 echo "$as_me: failed program was:" >&5
30948 sed 's/^/| /' conftest.
$ac_ext >&5
30951 if test "$USE_DOS" = 0 ; then
30952 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30953 echo "$as_me: WARNING: no timezone variable" >&2;}
30958 rm -f conftest.
$ac_objext conftest.
$ac_ext
30962 rm -f conftest.
$ac_objext conftest.
$ac_ext
30966 rm -f conftest.
$ac_objext conftest.
$ac_ext
30970 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30971 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30973 if test "x$wx_cv_var_timezone" != x
; then
30974 cat >>confdefs.h
<<_ACEOF
30975 #define WX_TIMEZONE $wx_cv_var_timezone
30981 for ac_func
in localtime
30983 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30984 echo "$as_me:$LINENO: checking for $ac_func" >&5
30985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30986 if eval "test \"\${$as_ac_var+set}\" = set"; then
30987 echo $ECHO_N "(cached) $ECHO_C" >&6
30989 cat >conftest.
$ac_ext <<_ACEOF
30990 #line $LINENO "configure"
30993 cat confdefs.h
>>conftest.
$ac_ext
30994 cat >>conftest.
$ac_ext <<_ACEOF
30995 /* end confdefs.h. */
30996 /* System header to define __stub macros and hopefully few prototypes,
30997 which can conflict with char $ac_func (); below.
30998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30999 <limits.h> exists even on freestanding compilers. */
31001 # include <limits.h>
31003 # include <assert.h>
31005 /* Override any gcc2 internal prototype to avoid an error. */
31010 /* We use char because int might match the return type of a gcc2
31011 builtin and then its argument prototype would still apply. */
31013 /* The GNU C library defines this for functions which it implements
31014 to always fail with ENOSYS. Some functions are actually named
31015 something starting with __ and the normal name is an alias. */
31016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31019 char (*f) () = $ac_func;
31028 return f != $ac_func;
31033 rm -f conftest.
$ac_objext conftest
$ac_exeext
31034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31035 (eval $ac_link) 2>&5
31037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038 (exit $ac_status); } &&
31039 { ac_try
='test -s conftest$ac_exeext'
31040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31041 (eval $ac_try) 2>&5
31043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31044 (exit $ac_status); }; }; then
31045 eval "$as_ac_var=yes"
31047 echo "$as_me: failed program was:" >&5
31048 sed 's/^/| /' conftest.
$ac_ext >&5
31050 eval "$as_ac_var=no"
31052 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31056 if test `eval echo '${'$as_ac_var'}'` = yes; then
31057 cat >>confdefs.h
<<_ACEOF
31058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31065 if test "$ac_cv_func_localtime" = "yes"; then
31066 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
31067 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
31068 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
31069 echo $ECHO_N "(cached) $ECHO_C" >&6
31072 cat >conftest.
$ac_ext <<_ACEOF
31073 #line $LINENO "configure"
31076 cat confdefs.h
>>conftest.
$ac_ext
31077 cat >>conftest.
$ac_ext <<_ACEOF
31078 /* end confdefs.h. */
31093 rm -f conftest.
$ac_objext
31094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31095 (eval $ac_compile) 2>&5
31097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31098 (exit $ac_status); } &&
31099 { ac_try
='test -s conftest.$ac_objext'
31100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31101 (eval $ac_try) 2>&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); }; }; then
31106 wx_cv_struct_tm_has_gmtoff
=yes
31109 echo "$as_me: failed program was:" >&5
31110 sed 's/^/| /' conftest.
$ac_ext >&5
31112 wx_cv_struct_tm_has_gmtoff
=no
31115 rm -f conftest.
$ac_objext conftest.
$ac_ext
31118 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
31119 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
31122 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
31123 cat >>confdefs.h
<<\_ACEOF
31124 #define WX_GMTOFF_IN_TM 1
31131 for ac_func
in gettimeofday ftime
31133 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31134 echo "$as_me:$LINENO: checking for $ac_func" >&5
31135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31136 if eval "test \"\${$as_ac_var+set}\" = set"; then
31137 echo $ECHO_N "(cached) $ECHO_C" >&6
31139 cat >conftest.
$ac_ext <<_ACEOF
31140 #line $LINENO "configure"
31143 cat confdefs.h
>>conftest.
$ac_ext
31144 cat >>conftest.
$ac_ext <<_ACEOF
31145 /* end confdefs.h. */
31146 /* System header to define __stub macros and hopefully few prototypes,
31147 which can conflict with char $ac_func (); below.
31148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31149 <limits.h> exists even on freestanding compilers. */
31151 # include <limits.h>
31153 # include <assert.h>
31155 /* Override any gcc2 internal prototype to avoid an error. */
31160 /* We use char because int might match the return type of a gcc2
31161 builtin and then its argument prototype would still apply. */
31163 /* The GNU C library defines this for functions which it implements
31164 to always fail with ENOSYS. Some functions are actually named
31165 something starting with __ and the normal name is an alias. */
31166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31169 char (*f) () = $ac_func;
31178 return f != $ac_func;
31183 rm -f conftest.
$ac_objext conftest
$ac_exeext
31184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31185 (eval $ac_link) 2>&5
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); } &&
31189 { ac_try
='test -s conftest$ac_exeext'
31190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31191 (eval $ac_try) 2>&5
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); }; }; then
31195 eval "$as_ac_var=yes"
31197 echo "$as_me: failed program was:" >&5
31198 sed 's/^/| /' conftest.
$ac_ext >&5
31200 eval "$as_ac_var=no"
31202 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31206 if test `eval echo '${'$as_ac_var'}'` = yes; then
31207 cat >>confdefs.h
<<_ACEOF
31208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31215 if test "$ac_cv_func_gettimeofday" = "yes"; then
31216 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31217 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31218 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31219 echo $ECHO_N "(cached) $ECHO_C" >&6
31225 ac_cpp
='$CXXCPP $CPPFLAGS'
31226 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31227 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31228 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31231 cat >conftest.
$ac_ext <<_ACEOF
31232 #line $LINENO "configure"
31235 cat confdefs.h
>>conftest.
$ac_ext
31236 cat >>conftest.
$ac_ext <<_ACEOF
31237 /* end confdefs.h. */
31239 #include <sys/time.h>
31240 #include <unistd.h>
31247 gettimeofday(&tv, NULL);
31253 rm -f conftest.
$ac_objext
31254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31255 (eval $ac_compile) 2>&5
31257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31258 (exit $ac_status); } &&
31259 { ac_try
='test -s conftest.$ac_objext'
31260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31261 (eval $ac_try) 2>&5
31263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31264 (exit $ac_status); }; }; then
31265 wx_cv_func_gettimeofday_has_2_args
=yes
31267 echo "$as_me: failed program was:" >&5
31268 sed 's/^/| /' conftest.
$ac_ext >&5
31270 cat >conftest.
$ac_ext <<_ACEOF
31271 #line $LINENO "configure"
31274 cat confdefs.h
>>conftest.
$ac_ext
31275 cat >>conftest.
$ac_ext <<_ACEOF
31276 /* end confdefs.h. */
31278 #include <sys/time.h>
31279 #include <unistd.h>
31292 rm -f conftest.
$ac_objext
31293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31294 (eval $ac_compile) 2>&5
31296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31297 (exit $ac_status); } &&
31298 { ac_try
='test -s conftest.$ac_objext'
31299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31300 (eval $ac_try) 2>&5
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); }; }; then
31304 wx_cv_func_gettimeofday_has_2_args
=no
31306 echo "$as_me: failed program was:" >&5
31307 sed 's/^/| /' conftest.
$ac_ext >&5
31310 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31311 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31312 wx_cv_func_gettimeofday_has_2_args
=unknown
31316 rm -f conftest.
$ac_objext conftest.
$ac_ext
31319 rm -f conftest.
$ac_objext conftest.
$ac_ext
31321 ac_cpp
='$CPP $CPPFLAGS'
31322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31328 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31329 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31331 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31332 cat >>confdefs.h
<<\_ACEOF
31333 #define WX_GETTIMEOFDAY_NO_TZ 1
31339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
31343 if test "$wxUSE_SOCKETS" = "yes"; then
31344 if test "$wxUSE_MGL" = "1"; then
31345 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31346 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31351 if test "$wxUSE_SOCKETS" = "yes"; then
31352 if test "$TOOLKIT" != "MSW"; then
31353 echo "$as_me:$LINENO: checking for socket" >&5
31354 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31355 if test "${ac_cv_func_socket+set}" = set; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31358 cat >conftest.
$ac_ext <<_ACEOF
31359 #line $LINENO "configure"
31362 cat confdefs.h
>>conftest.
$ac_ext
31363 cat >>conftest.
$ac_ext <<_ACEOF
31364 /* end confdefs.h. */
31365 /* System header to define __stub macros and hopefully few prototypes,
31366 which can conflict with char socket (); below.
31367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31368 <limits.h> exists even on freestanding compilers. */
31370 # include <limits.h>
31372 # include <assert.h>
31374 /* Override any gcc2 internal prototype to avoid an error. */
31379 /* We use char because int might match the return type of a gcc2
31380 builtin and then its argument prototype would still apply. */
31382 /* The GNU C library defines this for functions which it implements
31383 to always fail with ENOSYS. Some functions are actually named
31384 something starting with __ and the normal name is an alias. */
31385 #if defined (__stub_socket) || defined (__stub___socket)
31388 char (*f) () = socket;
31397 return f != socket;
31402 rm -f conftest.
$ac_objext conftest
$ac_exeext
31403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31404 (eval $ac_link) 2>&5
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); } &&
31408 { ac_try
='test -s conftest$ac_exeext'
31409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31410 (eval $ac_try) 2>&5
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); }; }; then
31414 ac_cv_func_socket
=yes
31416 echo "$as_me: failed program was:" >&5
31417 sed 's/^/| /' conftest.
$ac_ext >&5
31419 ac_cv_func_socket
=no
31421 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31423 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31424 echo "${ECHO_T}$ac_cv_func_socket" >&6
31425 if test $ac_cv_func_socket = yes; then
31429 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31430 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31431 if test "${ac_cv_lib_socket_socket+set}" = set; then
31432 echo $ECHO_N "(cached) $ECHO_C" >&6
31434 ac_check_lib_save_LIBS
=$LIBS
31435 LIBS
="-lsocket $LIBS"
31436 cat >conftest.
$ac_ext <<_ACEOF
31437 #line $LINENO "configure"
31440 cat confdefs.h
>>conftest.
$ac_ext
31441 cat >>conftest.
$ac_ext <<_ACEOF
31442 /* end confdefs.h. */
31444 /* Override any gcc2 internal prototype to avoid an error. */
31448 /* We use char because int might match the return type of a gcc2
31449 builtin and then its argument prototype would still apply. */
31459 rm -f conftest.
$ac_objext conftest
$ac_exeext
31460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31461 (eval $ac_link) 2>&5
31463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31464 (exit $ac_status); } &&
31465 { ac_try
='test -s conftest$ac_exeext'
31466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31467 (eval $ac_try) 2>&5
31469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470 (exit $ac_status); }; }; then
31471 ac_cv_lib_socket_socket
=yes
31473 echo "$as_me: failed program was:" >&5
31474 sed 's/^/| /' conftest.
$ac_ext >&5
31476 ac_cv_lib_socket_socket
=no
31478 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31479 LIBS
=$ac_check_lib_save_LIBS
31481 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31482 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31483 if test $ac_cv_lib_socket_socket = yes; then
31484 if test "$INET_LINK" != " -lsocket"; then
31485 INET_LINK
="$INET_LINK -lsocket"
31489 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31490 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31503 if test "$wxUSE_SOCKETS" = "yes" ; then
31504 if test "$TOOLKIT" != "MSW"; then
31505 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31506 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31507 if test "${wx_cv_type_getsockname3+set}" = set; then
31508 echo $ECHO_N "(cached) $ECHO_C" >&6
31511 cat >conftest.
$ac_ext <<_ACEOF
31512 #line $LINENO "configure"
31515 cat confdefs.h
>>conftest.
$ac_ext
31516 cat >>conftest.
$ac_ext <<_ACEOF
31517 /* end confdefs.h. */
31519 #include <sys/types.h>
31520 #include <sys/socket.h>
31527 getsockname(0, 0, &len);
31533 rm -f conftest.
$ac_objext
31534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31535 (eval $ac_compile) 2>&5
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); } &&
31539 { ac_try
='test -s conftest.$ac_objext'
31540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31541 (eval $ac_try) 2>&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); }; }; then
31545 wx_cv_type_getsockname3
=socklen_t
31547 echo "$as_me: failed program was:" >&5
31548 sed 's/^/| /' conftest.
$ac_ext >&5
31551 CFLAGS_OLD
="$CFLAGS"
31552 if test "$GCC" = yes ; then
31553 CFLAGS
="$CFLAGS -Werror"
31556 cat >conftest.
$ac_ext <<_ACEOF
31557 #line $LINENO "configure"
31560 cat confdefs.h
>>conftest.
$ac_ext
31561 cat >>conftest.
$ac_ext <<_ACEOF
31562 /* end confdefs.h. */
31564 #include <sys/types.h>
31565 #include <sys/socket.h>
31572 getsockname(0, 0, &len);
31578 rm -f conftest.
$ac_objext
31579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31580 (eval $ac_compile) 2>&5
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); } &&
31584 { ac_try
='test -s conftest.$ac_objext'
31585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31586 (eval $ac_try) 2>&5
31588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31589 (exit $ac_status); }; }; then
31590 wx_cv_type_getsockname3
=size_t
31592 echo "$as_me: failed program was:" >&5
31593 sed 's/^/| /' conftest.
$ac_ext >&5
31595 cat >conftest.
$ac_ext <<_ACEOF
31596 #line $LINENO "configure"
31599 cat confdefs.h
>>conftest.
$ac_ext
31600 cat >>conftest.
$ac_ext <<_ACEOF
31601 /* end confdefs.h. */
31603 #include <sys/types.h>
31604 #include <sys/socket.h>
31611 getsockname(0, 0, &len);
31617 rm -f conftest.
$ac_objext
31618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31619 (eval $ac_compile) 2>&5
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); } &&
31623 { ac_try
='test -s conftest.$ac_objext'
31624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31625 (eval $ac_try) 2>&5
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); }; }; then
31629 wx_cv_type_getsockname3
=int
31631 echo "$as_me: failed program was:" >&5
31632 sed 's/^/| /' conftest.
$ac_ext >&5
31634 wx_cv_type_getsockname3
=unknown
31637 rm -f conftest.
$ac_objext conftest.
$ac_ext
31640 rm -f conftest.
$ac_objext conftest.
$ac_ext
31642 CFLAGS
="$CFLAGS_OLD"
31646 rm -f conftest.
$ac_objext conftest.
$ac_ext
31649 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31650 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31652 if test "$wx_cv_type_getsockname3" = "unknown"; then
31654 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31655 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31657 cat >>confdefs.h
<<_ACEOF
31658 #define SOCKLEN_T $wx_cv_type_getsockname3
31665 if test "$wxUSE_SOCKETS" = "yes" ; then
31666 cat >>confdefs.h
<<\_ACEOF
31667 #define wxUSE_SOCKETS 1
31670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31673 if test "$wxUSE_PROTOCOL" = "yes"; then
31674 if test "$wxUSE_SOCKETS" != "yes"; then
31675 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31676 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31681 if test "$wxUSE_PROTOCOL" = "yes"; then
31682 cat >>confdefs.h
<<\_ACEOF
31683 #define wxUSE_PROTOCOL 1
31687 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31688 cat >>confdefs.h
<<\_ACEOF
31689 #define wxUSE_PROTOCOL_HTTP 1
31693 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31694 cat >>confdefs.h
<<\_ACEOF
31695 #define wxUSE_PROTOCOL_FTP 1
31699 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31700 cat >>confdefs.h
<<\_ACEOF
31701 #define wxUSE_PROTOCOL_FILE 1
31706 if test "$wxUSE_FS_INET" = "yes"; then
31707 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31708 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31713 if test "$wxUSE_URL" = "yes"; then
31714 if test "$wxUSE_PROTOCOL" != "yes"; then
31715 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31716 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31719 if test "$wxUSE_URL" = "yes"; then
31720 cat >>confdefs.h
<<\_ACEOF
31721 #define wxUSE_URL 1
31727 if test "$wxUSE_FS_INET" = "yes"; then
31728 cat >>confdefs.h
<<\_ACEOF
31729 #define wxUSE_FS_INET 1
31735 if test "$wxUSE_GUI" = "yes"; then
31737 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31738 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31739 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31743 if test "$TOOLKIT" != "MSW"; then
31744 if test "$wxUSE_JOYSTICK" = "yes"; then
31746 for ac_header
in linux
/joystick.h
31748 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31750 echo "$as_me:$LINENO: checking for $ac_header" >&5
31751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31753 echo $ECHO_N "(cached) $ECHO_C" >&6
31755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31758 # Is the header compilable?
31759 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31761 cat >conftest.
$ac_ext <<_ACEOF
31762 #line $LINENO "configure"
31765 cat confdefs.h
>>conftest.
$ac_ext
31766 cat >>conftest.
$ac_ext <<_ACEOF
31767 /* end confdefs.h. */
31768 $ac_includes_default
31769 #include <$ac_header>
31771 rm -f conftest.
$ac_objext
31772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31773 (eval $ac_compile) 2>&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } &&
31777 { ac_try
='test -s conftest.$ac_objext'
31778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31779 (eval $ac_try) 2>&5
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); }; }; then
31783 ac_header_compiler
=yes
31785 echo "$as_me: failed program was:" >&5
31786 sed 's/^/| /' conftest.
$ac_ext >&5
31788 ac_header_compiler
=no
31790 rm -f conftest.
$ac_objext conftest.
$ac_ext
31791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31792 echo "${ECHO_T}$ac_header_compiler" >&6
31794 # Is the header present?
31795 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31796 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31797 cat >conftest.
$ac_ext <<_ACEOF
31798 #line $LINENO "configure"
31801 cat confdefs.h
>>conftest.
$ac_ext
31802 cat >>conftest.
$ac_ext <<_ACEOF
31803 /* end confdefs.h. */
31804 #include <$ac_header>
31806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31807 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31809 grep -v '^ *+' conftest.er1
>conftest.err
31811 cat conftest.err
>&5
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); } >/dev
/null
; then
31814 if test -s conftest.err
; then
31815 ac_cpp_err
=$ac_c_preproc_warn_flag
31822 if test -z "$ac_cpp_err"; then
31823 ac_header_preproc
=yes
31825 echo "$as_me: failed program was:" >&5
31826 sed 's/^/| /' conftest.
$ac_ext >&5
31828 ac_header_preproc
=no
31830 rm -f conftest.err conftest.
$ac_ext
31831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31832 echo "${ECHO_T}$ac_header_preproc" >&6
31834 # So? What about this header?
31835 case $ac_header_compiler:$ac_header_preproc in
31837 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31838 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31843 ## ------------------------------------ ##
31844 ## Report this to bug-autoconf@gnu.org. ##
31845 ## ------------------------------------ ##
31848 sed "s/^/$as_me: WARNING: /" >&2
31851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31854 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31856 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31859 ## ------------------------------------ ##
31860 ## Report this to bug-autoconf@gnu.org. ##
31861 ## ------------------------------------ ##
31864 sed "s/^/$as_me: WARNING: /" >&2
31867 echo "$as_me:$LINENO: checking for $ac_header" >&5
31868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31870 echo $ECHO_N "(cached) $ECHO_C" >&6
31872 eval "$as_ac_Header=$ac_header_preproc"
31874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31878 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31879 cat >>confdefs.h
<<_ACEOF
31880 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31887 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31889 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31890 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31895 if test "$wxUSE_JOYSTICK" = "yes"; then
31896 cat >>confdefs.h
<<\_ACEOF
31897 #define wxUSE_JOYSTICK 1
31900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31905 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31909 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31910 if test "$USE_DARWIN" = 1; then
31914 for ac_func
in dlopen
31916 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31917 echo "$as_me:$LINENO: checking for $ac_func" >&5
31918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31919 if eval "test \"\${$as_ac_var+set}\" = set"; then
31920 echo $ECHO_N "(cached) $ECHO_C" >&6
31922 cat >conftest.
$ac_ext <<_ACEOF
31923 #line $LINENO "configure"
31926 cat confdefs.h
>>conftest.
$ac_ext
31927 cat >>conftest.
$ac_ext <<_ACEOF
31928 /* end confdefs.h. */
31929 /* System header to define __stub macros and hopefully few prototypes,
31930 which can conflict with char $ac_func (); below.
31931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31932 <limits.h> exists even on freestanding compilers. */
31934 # include <limits.h>
31936 # include <assert.h>
31938 /* Override any gcc2 internal prototype to avoid an error. */
31943 /* We use char because int might match the return type of a gcc2
31944 builtin and then its argument prototype would still apply. */
31946 /* The GNU C library defines this for functions which it implements
31947 to always fail with ENOSYS. Some functions are actually named
31948 something starting with __ and the normal name is an alias. */
31949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31952 char (*f) () = $ac_func;
31961 return f != $ac_func;
31966 rm -f conftest.
$ac_objext conftest
$ac_exeext
31967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31968 (eval $ac_link) 2>&5
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); } &&
31972 { ac_try
='test -s conftest$ac_exeext'
31973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31974 (eval $ac_try) 2>&5
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); }; }; then
31978 eval "$as_ac_var=yes"
31980 echo "$as_me: failed program was:" >&5
31981 sed 's/^/| /' conftest.
$ac_ext >&5
31983 eval "$as_ac_var=no"
31985 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31989 if test `eval echo '${'$as_ac_var'}'` = yes; then
31990 cat >>confdefs.h
<<_ACEOF
31991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31994 cat >>confdefs.h
<<\_ACEOF
31995 #define HAVE_DLOPEN 1
32002 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32003 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
32004 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32005 echo $ECHO_N "(cached) $ECHO_C" >&6
32007 ac_check_lib_save_LIBS
=$LIBS
32009 cat >conftest.
$ac_ext <<_ACEOF
32010 #line $LINENO "configure"
32013 cat confdefs.h
>>conftest.
$ac_ext
32014 cat >>conftest.
$ac_ext <<_ACEOF
32015 /* end confdefs.h. */
32017 /* Override any gcc2 internal prototype to avoid an error. */
32021 /* We use char because int might match the return type of a gcc2
32022 builtin and then its argument prototype would still apply. */
32032 rm -f conftest.
$ac_objext conftest
$ac_exeext
32033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32034 (eval $ac_link) 2>&5
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); } &&
32038 { ac_try
='test -s conftest$ac_exeext'
32039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32040 (eval $ac_try) 2>&5
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); }; }; then
32044 ac_cv_lib_dl_dlopen
=yes
32046 echo "$as_me: failed program was:" >&5
32047 sed 's/^/| /' conftest.
$ac_ext >&5
32049 ac_cv_lib_dl_dlopen
=no
32051 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32052 LIBS
=$ac_check_lib_save_LIBS
32054 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
32055 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
32056 if test $ac_cv_lib_dl_dlopen = yes; then
32058 cat >>confdefs.h
<<\_ACEOF
32059 #define HAVE_DLOPEN 1
32063 DL_LINK
=" -ldl$DL_LINK"
32068 for ac_func
in shl_load
32070 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32071 echo "$as_me:$LINENO: checking for $ac_func" >&5
32072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32073 if eval "test \"\${$as_ac_var+set}\" = set"; then
32074 echo $ECHO_N "(cached) $ECHO_C" >&6
32076 cat >conftest.
$ac_ext <<_ACEOF
32077 #line $LINENO "configure"
32080 cat confdefs.h
>>conftest.
$ac_ext
32081 cat >>conftest.
$ac_ext <<_ACEOF
32082 /* end confdefs.h. */
32083 /* System header to define __stub macros and hopefully few prototypes,
32084 which can conflict with char $ac_func (); below.
32085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32086 <limits.h> exists even on freestanding compilers. */
32088 # include <limits.h>
32090 # include <assert.h>
32092 /* Override any gcc2 internal prototype to avoid an error. */
32097 /* We use char because int might match the return type of a gcc2
32098 builtin and then its argument prototype would still apply. */
32100 /* The GNU C library defines this for functions which it implements
32101 to always fail with ENOSYS. Some functions are actually named
32102 something starting with __ and the normal name is an alias. */
32103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32106 char (*f) () = $ac_func;
32115 return f != $ac_func;
32120 rm -f conftest.
$ac_objext conftest
$ac_exeext
32121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32122 (eval $ac_link) 2>&5
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 (exit $ac_status); } &&
32126 { ac_try
='test -s conftest$ac_exeext'
32127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32128 (eval $ac_try) 2>&5
32130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131 (exit $ac_status); }; }; then
32132 eval "$as_ac_var=yes"
32134 echo "$as_me: failed program was:" >&5
32135 sed 's/^/| /' conftest.
$ac_ext >&5
32137 eval "$as_ac_var=no"
32139 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32143 if test `eval echo '${'$as_ac_var'}'` = yes; then
32144 cat >>confdefs.h
<<_ACEOF
32145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32148 cat >>confdefs.h
<<\_ACEOF
32149 #define HAVE_SHL_LOAD 1
32156 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32157 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32158 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32159 echo $ECHO_N "(cached) $ECHO_C" >&6
32161 ac_check_lib_save_LIBS
=$LIBS
32162 LIBS
="-lshl_load $LIBS"
32163 cat >conftest.
$ac_ext <<_ACEOF
32164 #line $LINENO "configure"
32167 cat confdefs.h
>>conftest.
$ac_ext
32168 cat >>conftest.
$ac_ext <<_ACEOF
32169 /* end confdefs.h. */
32171 /* Override any gcc2 internal prototype to avoid an error. */
32175 /* We use char because int might match the return type of a gcc2
32176 builtin and then its argument prototype would still apply. */
32186 rm -f conftest.
$ac_objext conftest
$ac_exeext
32187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32188 (eval $ac_link) 2>&5
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); } &&
32192 { ac_try
='test -s conftest$ac_exeext'
32193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32194 (eval $ac_try) 2>&5
32196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32197 (exit $ac_status); }; }; then
32198 ac_cv_lib_shl_load_dld
=yes
32200 echo "$as_me: failed program was:" >&5
32201 sed 's/^/| /' conftest.
$ac_ext >&5
32203 ac_cv_lib_shl_load_dld
=no
32205 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32206 LIBS
=$ac_check_lib_save_LIBS
32208 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32209 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32210 if test $ac_cv_lib_shl_load_dld = yes; then
32213 DL_LINK
=" -ldld$DL_LINK"
32229 if test "$HAVE_DL_FUNCS" = 1; then
32231 for ac_func
in dlerror
32233 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32234 echo "$as_me:$LINENO: checking for $ac_func" >&5
32235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32236 if eval "test \"\${$as_ac_var+set}\" = set"; then
32237 echo $ECHO_N "(cached) $ECHO_C" >&6
32239 cat >conftest.
$ac_ext <<_ACEOF
32240 #line $LINENO "configure"
32243 cat confdefs.h
>>conftest.
$ac_ext
32244 cat >>conftest.
$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32246 /* System header to define __stub macros and hopefully few prototypes,
32247 which can conflict with char $ac_func (); below.
32248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32249 <limits.h> exists even on freestanding compilers. */
32251 # include <limits.h>
32253 # include <assert.h>
32255 /* Override any gcc2 internal prototype to avoid an error. */
32260 /* We use char because int might match the return type of a gcc2
32261 builtin and then its argument prototype would still apply. */
32263 /* The GNU C library defines this for functions which it implements
32264 to always fail with ENOSYS. Some functions are actually named
32265 something starting with __ and the normal name is an alias. */
32266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32269 char (*f) () = $ac_func;
32278 return f != $ac_func;
32283 rm -f conftest.
$ac_objext conftest
$ac_exeext
32284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32285 (eval $ac_link) 2>&5
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); } &&
32289 { ac_try
='test -s conftest$ac_exeext'
32290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32291 (eval $ac_try) 2>&5
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); }; }; then
32295 eval "$as_ac_var=yes"
32297 echo "$as_me: failed program was:" >&5
32298 sed 's/^/| /' conftest.
$ac_ext >&5
32300 eval "$as_ac_var=no"
32302 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32306 if test `eval echo '${'$as_ac_var'}'` = yes; then
32307 cat >>confdefs.h
<<_ACEOF
32308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32310 cat >>confdefs.h
<<\_ACEOF
32311 #define HAVE_DLERROR 1
32316 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32317 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32318 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32319 echo $ECHO_N "(cached) $ECHO_C" >&6
32321 ac_check_lib_save_LIBS
=$LIBS
32323 cat >conftest.
$ac_ext <<_ACEOF
32324 #line $LINENO "configure"
32327 cat confdefs.h
>>conftest.
$ac_ext
32328 cat >>conftest.
$ac_ext <<_ACEOF
32329 /* end confdefs.h. */
32331 /* Override any gcc2 internal prototype to avoid an error. */
32335 /* We use char because int might match the return type of a gcc2
32336 builtin and then its argument prototype would still apply. */
32346 rm -f conftest.
$ac_objext conftest
$ac_exeext
32347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32348 (eval $ac_link) 2>&5
32350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); } &&
32352 { ac_try
='test -s conftest$ac_exeext'
32353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32354 (eval $ac_try) 2>&5
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); }; }; then
32358 ac_cv_lib_dl_dlerror
=yes
32360 echo "$as_me: failed program was:" >&5
32361 sed 's/^/| /' conftest.
$ac_ext >&5
32363 ac_cv_lib_dl_dlerror
=no
32365 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32366 LIBS
=$ac_check_lib_save_LIBS
32368 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32369 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32370 if test $ac_cv_lib_dl_dlerror = yes; then
32371 cat >>confdefs.h
<<\_ACEOF
32372 #define HAVE_DLERROR 1
32385 if test "$HAVE_DL_FUNCS" = 0; then
32386 if test "$HAVE_SHL_FUNCS" = 0; then
32387 if test "$USE_UNIX" = 1; then
32388 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32389 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32390 wxUSE_DYNAMIC_LOADER
=no
32391 wxUSE_DYNLIB_CLASS
=no
32393 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32394 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32401 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32402 cat >>confdefs.h
<<\_ACEOF
32403 #define wxUSE_DYNAMIC_LOADER 1
32407 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32408 cat >>confdefs.h
<<\_ACEOF
32409 #define wxUSE_DYNLIB_CLASS 1
32415 if test "$wxUSE_FONTMAP" = "yes" ; then
32416 cat >>confdefs.h
<<\_ACEOF
32417 #define wxUSE_FONTMAP 1
32422 if test "$wxUSE_UNICODE" = "yes" ; then
32423 cat >>confdefs.h
<<\_ACEOF
32424 #define wxUSE_UNICODE 1
32428 if test "$USE_WIN32" != 1; then
32429 wxUSE_UNICODE_MSLU
=no
32432 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32433 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32434 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32435 if test "${ac_cv_lib_unicows_main+set}" = set; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32438 ac_check_lib_save_LIBS
=$LIBS
32439 LIBS
="-lunicows $LIBS"
32440 cat >conftest.
$ac_ext <<_ACEOF
32441 #line $LINENO "configure"
32444 cat confdefs.h
>>conftest.
$ac_ext
32445 cat >>conftest.
$ac_ext <<_ACEOF
32446 /* end confdefs.h. */
32457 rm -f conftest.
$ac_objext conftest
$ac_exeext
32458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32459 (eval $ac_link) 2>&5
32461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32462 (exit $ac_status); } &&
32463 { ac_try
='test -s conftest$ac_exeext'
32464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32465 (eval $ac_try) 2>&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); }; }; then
32469 ac_cv_lib_unicows_main
=yes
32471 echo "$as_me: failed program was:" >&5
32472 sed 's/^/| /' conftest.
$ac_ext >&5
32474 ac_cv_lib_unicows_main
=no
32476 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32477 LIBS
=$ac_check_lib_save_LIBS
32479 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32480 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32481 if test $ac_cv_lib_unicows_main = yes; then
32483 cat >>confdefs.h
<<\_ACEOF
32484 #define wxUSE_UNICODE_MSLU 1
32490 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32491 Applications will only run on Windows NT/2000/XP!" >&5
32492 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32493 Applications will only run on Windows NT/2000/XP!" >&2;}
32494 wxUSE_UNICODE_MSLU
=no
32501 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32502 cat >>confdefs.h
<<\_ACEOF
32503 #define wxUSE_EXPERIMENTAL_PRINTF 1
32509 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32510 cat >>confdefs.h
<<\_ACEOF
32511 #define wxUSE_POSTSCRIPT 1
32516 cat >>confdefs.h
<<\_ACEOF
32517 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32521 cat >>confdefs.h
<<\_ACEOF
32522 #define wxUSE_NORMALIZED_PS_FONTS 1
32527 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32528 cat >>confdefs.h
<<\_ACEOF
32529 #define wxUSE_CONSTRAINTS 1
32532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32535 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32536 cat >>confdefs.h
<<\_ACEOF
32537 #define wxUSE_MDI_ARCHITECTURE 1
32540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32543 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32544 cat >>confdefs.h
<<\_ACEOF
32545 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32549 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32554 if test "$wxUSE_HELP" = "yes"; then
32555 cat >>confdefs.h
<<\_ACEOF
32556 #define wxUSE_HELP 1
32559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32561 if test "$wxUSE_MSW" = 1; then
32562 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32563 cat >>confdefs.h
<<\_ACEOF
32564 #define wxUSE_MS_HTML_HELP 1
32570 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32571 if test "$wxUSE_HTML" = "yes"; then
32572 cat >>confdefs.h
<<\_ACEOF
32573 #define wxUSE_WXHTML_HELP 1
32577 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32578 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32579 wxUSE_WXHTML_HELP
=no
32584 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32585 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32586 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32587 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32589 cat >>confdefs.h
<<\_ACEOF
32590 #define wxUSE_PRINTING_ARCHITECTURE 1
32594 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32597 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32598 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32599 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32600 { (exit 1); exit 1; }; }
32604 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32605 -o "$wxUSE_CLIPBOARD" = "yes" \
32606 -o "$wxUSE_OLE" = "yes" \
32607 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32609 for ac_header
in ole2.h
32611 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32613 echo "$as_me:$LINENO: checking for $ac_header" >&5
32614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32616 echo $ECHO_N "(cached) $ECHO_C" >&6
32618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32621 # Is the header compilable?
32622 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32623 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32624 cat >conftest.
$ac_ext <<_ACEOF
32625 #line $LINENO "configure"
32628 cat confdefs.h
>>conftest.
$ac_ext
32629 cat >>conftest.
$ac_ext <<_ACEOF
32630 /* end confdefs.h. */
32631 $ac_includes_default
32632 #include <$ac_header>
32634 rm -f conftest.
$ac_objext
32635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32636 (eval $ac_compile) 2>&5
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); } &&
32640 { ac_try
='test -s conftest.$ac_objext'
32641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32642 (eval $ac_try) 2>&5
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); }; }; then
32646 ac_header_compiler
=yes
32648 echo "$as_me: failed program was:" >&5
32649 sed 's/^/| /' conftest.
$ac_ext >&5
32651 ac_header_compiler
=no
32653 rm -f conftest.
$ac_objext conftest.
$ac_ext
32654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32655 echo "${ECHO_T}$ac_header_compiler" >&6
32657 # Is the header present?
32658 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32659 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32660 cat >conftest.
$ac_ext <<_ACEOF
32661 #line $LINENO "configure"
32664 cat confdefs.h
>>conftest.
$ac_ext
32665 cat >>conftest.
$ac_ext <<_ACEOF
32666 /* end confdefs.h. */
32667 #include <$ac_header>
32669 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32670 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32672 grep -v '^ *+' conftest.er1
>conftest.err
32674 cat conftest.err
>&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); } >/dev
/null
; then
32677 if test -s conftest.err
; then
32678 ac_cpp_err
=$ac_c_preproc_warn_flag
32685 if test -z "$ac_cpp_err"; then
32686 ac_header_preproc
=yes
32688 echo "$as_me: failed program was:" >&5
32689 sed 's/^/| /' conftest.
$ac_ext >&5
32691 ac_header_preproc
=no
32693 rm -f conftest.err conftest.
$ac_ext
32694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32695 echo "${ECHO_T}$ac_header_preproc" >&6
32697 # So? What about this header?
32698 case $ac_header_compiler:$ac_header_preproc in
32700 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32706 ## ------------------------------------ ##
32707 ## Report this to bug-autoconf@gnu.org. ##
32708 ## ------------------------------------ ##
32711 sed "s/^/$as_me: WARNING: /" >&2
32714 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32715 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32716 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32717 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32722 ## ------------------------------------ ##
32723 ## Report this to bug-autoconf@gnu.org. ##
32724 ## ------------------------------------ ##
32727 sed "s/^/$as_me: WARNING: /" >&2
32730 echo "$as_me:$LINENO: checking for $ac_header" >&5
32731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32733 echo $ECHO_N "(cached) $ECHO_C" >&6
32735 eval "$as_ac_Header=$ac_header_preproc"
32737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32742 cat >>confdefs.h
<<_ACEOF
32743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32751 if test "$ac_cv_header_ole2_h" = "yes" ; then
32752 if test "$GCC" = yes ; then
32756 ac_cpp
='$CXXCPP $CPPFLAGS'
32757 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32762 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32763 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32764 cat >conftest.
$ac_ext <<_ACEOF
32765 #line $LINENO "configure"
32768 cat confdefs.h
>>conftest.
$ac_ext
32769 cat >>conftest.
$ac_ext <<_ACEOF
32770 /* end confdefs.h. */
32771 #include <windows.h>
32781 rm -f conftest.
$ac_objext
32782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32783 (eval $ac_compile) 2>&5
32785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32786 (exit $ac_status); } &&
32787 { ac_try
='test -s conftest.$ac_objext'
32788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32789 (eval $ac_try) 2>&5
32791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32792 (exit $ac_status); }; }; then
32793 echo "$as_me:$LINENO: result: no" >&5
32794 echo "${ECHO_T}no" >&6
32796 echo "$as_me: failed program was:" >&5
32797 sed 's/^/| /' conftest.
$ac_ext >&5
32799 echo "$as_me:$LINENO: result: yes" >&5
32800 echo "${ECHO_T}yes" >&6
32801 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32803 rm -f conftest.
$ac_objext conftest.
$ac_ext
32805 ac_cpp
='$CPP $CPPFLAGS'
32806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32810 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32811 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32812 cat >>confdefs.h
<<\_ACEOF
32813 #define wxUSE_OLE 1
32819 cat >>confdefs.h
<<\_ACEOF
32820 #define wxUSE_DATAOBJ 1
32824 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32825 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32828 wxUSE_DRAG_AND_DROP
=no
32833 if test "$wxUSE_METAFILE" = "yes"; then
32834 cat >>confdefs.h
<<\_ACEOF
32835 #define wxUSE_METAFILE 1
32839 cat >>confdefs.h
<<\_ACEOF
32840 #define wxUSE_ENH_METAFILE 1
32846 if test "$wxUSE_IPC" = "yes"; then
32847 if test "$wxUSE_SOCKETS" != "yes"; then
32848 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32849 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32852 cat >>confdefs.h
<<\_ACEOF
32853 #define wxUSE_IPC 1
32858 if test "$wxUSE_CLIPBOARD" = "yes"; then
32859 if test "$wxUSE_MGL" = 1; then
32860 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32861 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32865 if test "$wxUSE_CLIPBOARD" = "yes"; then
32866 cat >>confdefs.h
<<\_ACEOF
32867 #define wxUSE_CLIPBOARD 1
32871 cat >>confdefs.h
<<\_ACEOF
32872 #define wxUSE_DATAOBJ 1
32878 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32879 if test "$wxUSE_GTK" = 1; then
32880 if test "$WXGTK12" != 1; then
32881 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32882 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32883 wxUSE_DRAG_AND_DROP
=no
32887 if test "$wxUSE_MOTIF" = 1; then
32888 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32889 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32890 wxUSE_DRAG_AND_DROP
=no
32893 if test "$wxUSE_X11" = 1; then
32894 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32895 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32896 wxUSE_DRAG_AND_DROP
=no
32899 if test "$wxUSE_MGL" = 1; then
32900 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32901 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32902 wxUSE_DRAG_AND_DROP
=no
32905 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32906 cat >>confdefs.h
<<\_ACEOF
32907 #define wxUSE_DRAG_AND_DROP 1
32910 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32915 if test "$wxUSE_SPLINES" = "yes" ; then
32916 cat >>confdefs.h
<<\_ACEOF
32917 #define wxUSE_SPLINES 1
32924 if test "$wxUSE_CONTROLS" = "yes"; then
32928 if test "$wxUSE_ACCEL" = "yes"; then
32929 cat >>confdefs.h
<<\_ACEOF
32930 #define wxUSE_ACCEL 1
32936 if test "$wxUSE_BUTTON" = "yes"; then
32937 cat >>confdefs.h
<<\_ACEOF
32938 #define wxUSE_BUTTON 1
32944 if test "$wxUSE_BMPBUTTON" = "yes"; then
32945 cat >>confdefs.h
<<\_ACEOF
32946 #define wxUSE_BMPBUTTON 1
32952 if test "$wxUSE_CALCTRL" = "yes"; then
32953 cat >>confdefs.h
<<\_ACEOF
32954 #define wxUSE_CALENDARCTRL 1
32958 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32961 if test "$wxUSE_CARET" = "yes"; then
32962 cat >>confdefs.h
<<\_ACEOF
32963 #define wxUSE_CARET 1
32967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32970 if test "$wxUSE_COMBOBOX" = "yes"; then
32971 cat >>confdefs.h
<<\_ACEOF
32972 #define wxUSE_COMBOBOX 1
32978 if test "$wxUSE_CHOICE" = "yes"; then
32979 cat >>confdefs.h
<<\_ACEOF
32980 #define wxUSE_CHOICE 1
32986 if test "$wxUSE_CHECKBOX" = "yes"; then
32987 cat >>confdefs.h
<<\_ACEOF
32988 #define wxUSE_CHECKBOX 1
32994 if test "$wxUSE_CHECKLST" = "yes"; then
32995 cat >>confdefs.h
<<\_ACEOF
32996 #define wxUSE_CHECKLISTBOX 1
33000 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
33003 if test "$wxUSE_DISPLAY" = "yes"; then
33004 cat >>confdefs.h
<<\_ACEOF
33005 #define wxUSE_DISPLAY 1
33008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
33011 if test "$wxUSE_GAUGE" = "yes"; then
33012 cat >>confdefs.h
<<\_ACEOF
33013 #define wxUSE_GAUGE 1
33019 if test "$wxUSE_GRID" = "yes"; then
33020 cat >>confdefs.h
<<\_ACEOF
33021 #define wxUSE_GRID 1
33025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
33028 if test "$wxUSE_IMAGLIST" = "yes"; then
33029 cat >>confdefs.h
<<\_ACEOF
33030 #define wxUSE_IMAGLIST 1
33035 if test "$wxUSE_LISTBOOK" = "yes"; then
33036 cat >>confdefs.h
<<\_ACEOF
33037 #define wxUSE_LISTBOOK 1
33043 if test "$wxUSE_LISTBOX" = "yes"; then
33044 cat >>confdefs.h
<<\_ACEOF
33045 #define wxUSE_LISTBOX 1
33051 if test "$wxUSE_LISTCTRL" = "yes"; then
33052 if test "$wxUSE_IMAGLIST" = "yes"; then
33053 cat >>confdefs.h
<<\_ACEOF
33054 #define wxUSE_LISTCTRL 1
33058 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
33060 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
33061 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
33065 if test "$wxUSE_NOTEBOOK" = "yes"; then
33066 cat >>confdefs.h
<<\_ACEOF
33067 #define wxUSE_NOTEBOOK 1
33071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
33075 if test "$wxUSE_RADIOBOX" = "yes"; then
33076 cat >>confdefs.h
<<\_ACEOF
33077 #define wxUSE_RADIOBOX 1
33083 if test "$wxUSE_RADIOBTN" = "yes"; then
33084 cat >>confdefs.h
<<\_ACEOF
33085 #define wxUSE_RADIOBTN 1
33091 if test "$wxUSE_SASH" = "yes"; then
33092 cat >>confdefs.h
<<\_ACEOF
33093 #define wxUSE_SASH 1
33096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
33099 if test "$wxUSE_SCROLLBAR" = "yes"; then
33100 cat >>confdefs.h
<<\_ACEOF
33101 #define wxUSE_SCROLLBAR 1
33105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
33108 if test "$wxUSE_SLIDER" = "yes"; then
33109 cat >>confdefs.h
<<\_ACEOF
33110 #define wxUSE_SLIDER 1
33116 if test "$wxUSE_SPINBTN" = "yes"; then
33117 cat >>confdefs.h
<<\_ACEOF
33118 #define wxUSE_SPINBTN 1
33124 if test "$wxUSE_SPINCTRL" = "yes"; then
33125 cat >>confdefs.h
<<\_ACEOF
33126 #define wxUSE_SPINCTRL 1
33132 if test "$wxUSE_SPLITTER" = "yes"; then
33133 cat >>confdefs.h
<<\_ACEOF
33134 #define wxUSE_SPLITTER 1
33137 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
33140 if test "$wxUSE_STATBMP" = "yes"; then
33141 cat >>confdefs.h
<<\_ACEOF
33142 #define wxUSE_STATBMP 1
33148 if test "$wxUSE_STATBOX" = "yes"; then
33149 cat >>confdefs.h
<<\_ACEOF
33150 #define wxUSE_STATBOX 1
33156 if test "$wxUSE_STATTEXT" = "yes"; then
33157 cat >>confdefs.h
<<\_ACEOF
33158 #define wxUSE_STATTEXT 1
33164 if test "$wxUSE_STATLINE" = "yes"; then
33165 cat >>confdefs.h
<<\_ACEOF
33166 #define wxUSE_STATLINE 1
33172 if test "$wxUSE_STATUSBAR" = "yes"; then
33173 cat >>confdefs.h
<<\_ACEOF
33174 #define wxUSE_STATUSBAR 1
33179 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
33182 if test "$wxUSE_TABDIALOG" = "yes"; then
33183 cat >>confdefs.h
<<\_ACEOF
33184 #define wxUSE_TAB_DIALOG 1
33187 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
33190 if test "$wxUSE_TEXTCTRL" = "yes"; then
33191 cat >>confdefs.h
<<\_ACEOF
33192 #define wxUSE_TEXTCTRL 1
33196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
33199 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33200 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33201 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33202 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33205 if test "$wxUSE_UNIVERSAL" = "yes"; then
33206 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33207 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33211 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33212 cat >>confdefs.h
<<\_ACEOF
33213 #define wxUSE_TOGGLEBTN 1
33220 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33221 cat >>confdefs.h
<<\_ACEOF
33222 #define wxUSE_TOOLBAR_SIMPLE 1
33225 wxUSE_TOOLBAR
="yes"
33229 if test "$wxUSE_TOOLBAR" = "yes"; then
33230 cat >>confdefs.h
<<\_ACEOF
33231 #define wxUSE_TOOLBAR 1
33236 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33237 wxUSE_TOOLBAR_NATIVE
="yes"
33240 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33241 cat >>confdefs.h
<<\_ACEOF
33242 #define wxUSE_TOOLBAR_NATIVE 1
33248 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
33251 if test "$wxUSE_TOOLTIPS" = "yes"; then
33252 if test "$wxUSE_MOTIF" = 1; then
33253 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33254 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33256 if test "$wxUSE_UNIVERSAL" = "yes"; then
33257 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33258 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33260 cat >>confdefs.h
<<\_ACEOF
33261 #define wxUSE_TOOLTIPS 1
33268 if test "$wxUSE_TREECTRL" = "yes"; then
33269 if test "$wxUSE_IMAGLIST" = "yes"; then
33270 cat >>confdefs.h
<<\_ACEOF
33271 #define wxUSE_TREECTRL 1
33275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
33277 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33278 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33282 if test "$wxUSE_POPUPWIN" = "yes"; then
33283 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33284 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33285 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33287 if test "$wxUSE_PM" = 1; then
33288 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33289 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33291 cat >>confdefs.h
<<\_ACEOF
33292 #define wxUSE_POPUPWIN 1
33301 if test "$wxUSE_TIPWINDOW" = "yes"; then
33302 if test "$wxUSE_PM" = 1; then
33303 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33304 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33306 cat >>confdefs.h
<<\_ACEOF
33307 #define wxUSE_TIPWINDOW 1
33313 if test "$USES_CONTROLS" = 1; then
33314 cat >>confdefs.h
<<\_ACEOF
33315 #define wxUSE_CONTROLS 1
33321 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33322 cat >>confdefs.h
<<\_ACEOF
33323 #define wxUSE_ACCESSIBILITY 1
33326 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
33329 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33330 cat >>confdefs.h
<<\_ACEOF
33331 #define wxUSE_DRAGIMAGE 1
33334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
33337 if test "$wxUSE_EXCEPTIONS" = "yes"; then
33338 cat >>confdefs.h
<<\_ACEOF
33339 #define wxUSE_EXCEPTIONS 1
33345 if test "$wxUSE_HTML" = "yes"; then
33346 cat >>confdefs.h
<<\_ACEOF
33347 #define wxUSE_HTML 1
33351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33354 if test "$wxUSE_MENUS" = "yes"; then
33355 cat >>confdefs.h
<<\_ACEOF
33356 #define wxUSE_MENUS 1
33359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
33362 if test "$wxUSE_METAFILE" = "yes"; then
33363 cat >>confdefs.h
<<\_ACEOF
33364 #define wxUSE_METAFILE 1
33369 if test "$wxUSE_MIMETYPE" = "yes"; then
33370 cat >>confdefs.h
<<\_ACEOF
33371 #define wxUSE_MIMETYPE 1
33376 if test "$wxUSE_MINIFRAME" = "yes"; then
33377 cat >>confdefs.h
<<\_ACEOF
33378 #define wxUSE_MINIFRAME 1
33381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
33384 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33385 cat >>confdefs.h
<<\_ACEOF
33386 #define wxUSE_SYSTEM_OPTIONS 1
33389 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33390 "$TOOLKIT" = "MOTIF"; then
33391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
33396 if test "$wxUSE_VALIDATORS" = "yes"; then
33397 cat >>confdefs.h
<<\_ACEOF
33398 #define wxUSE_VALIDATORS 1
33401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
33404 if test "$wxUSE_PALETTE" = "yes" ; then
33405 cat >>confdefs.h
<<\_ACEOF
33406 #define wxUSE_PALETTE 1
33411 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33412 LIBS
=" -lunicows $LIBS"
33416 if test "$wxUSE_IMAGE" = "yes" ; then
33417 cat >>confdefs.h
<<\_ACEOF
33418 #define wxUSE_IMAGE 1
33422 if test "$wxUSE_GIF" = "yes" ; then
33423 cat >>confdefs.h
<<\_ACEOF
33424 #define wxUSE_GIF 1
33429 if test "$wxUSE_PCX" = "yes" ; then
33430 cat >>confdefs.h
<<\_ACEOF
33431 #define wxUSE_PCX 1
33436 if test "$wxUSE_IFF" = "yes" ; then
33437 cat >>confdefs.h
<<\_ACEOF
33438 #define wxUSE_IFF 1
33443 if test "$wxUSE_PNM" = "yes" ; then
33444 cat >>confdefs.h
<<\_ACEOF
33445 #define wxUSE_PNM 1
33450 if test "$wxUSE_XPM" = "yes" ; then
33451 cat >>confdefs.h
<<\_ACEOF
33452 #define wxUSE_XPM 1
33457 if test "$wxUSE_ICO_CUR" = "yes" ; then
33458 cat >>confdefs.h
<<\_ACEOF
33459 #define wxUSE_ICO_CUR 1
33466 if test "$wxUSE_CHOICEDLG" = "yes"; then
33467 cat >>confdefs.h
<<\_ACEOF
33468 #define wxUSE_CHOICEDLG 1
33473 if test "$wxUSE_COLOURDLG" = "yes"; then
33474 cat >>confdefs.h
<<\_ACEOF
33475 #define wxUSE_COLOURDLG 1
33480 if test "$wxUSE_FILEDLG" = "yes"; then
33481 cat >>confdefs.h
<<\_ACEOF
33482 #define wxUSE_FILEDLG 1
33487 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33488 cat >>confdefs.h
<<\_ACEOF
33489 #define wxUSE_FINDREPLDLG 1
33494 if test "$wxUSE_FONTDLG" = "yes"; then
33495 cat >>confdefs.h
<<\_ACEOF
33496 #define wxUSE_FONTDLG 1
33501 if test "$wxUSE_DIRDLG" = "yes"; then
33502 if test "$wxUSE_TREECTRL" != "yes"; then
33503 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33504 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33506 cat >>confdefs.h
<<\_ACEOF
33507 #define wxUSE_DIRDLG 1
33513 if test "$wxUSE_MSGDLG" = "yes"; then
33514 cat >>confdefs.h
<<\_ACEOF
33515 #define wxUSE_MSGDLG 1
33520 if test "$wxUSE_NUMBERDLG" = "yes"; then
33521 cat >>confdefs.h
<<\_ACEOF
33522 #define wxUSE_NUMBERDLG 1
33527 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33528 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33529 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33530 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33532 cat >>confdefs.h
<<\_ACEOF
33533 #define wxUSE_PROGRESSDLG 1
33539 if test "$wxUSE_SPLASH" = "yes"; then
33540 cat >>confdefs.h
<<\_ACEOF
33541 #define wxUSE_SPLASH 1
33546 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33547 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33548 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33549 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33551 cat >>confdefs.h
<<\_ACEOF
33552 #define wxUSE_STARTUP_TIPS 1
33558 if test "$wxUSE_TEXTDLG" = "yes"; then
33559 cat >>confdefs.h
<<\_ACEOF
33560 #define wxUSE_TEXTDLG 1
33565 if test "$wxUSE_WIZARDDLG" = "yes"; then
33566 cat >>confdefs.h
<<\_ACEOF
33567 #define wxUSE_WIZARDDLG 1
33570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33574 if test "$cross_compiling" = "yes"; then
33577 OSINFO
=`uname -s -r -m`
33578 OSINFO
="\"$OSINFO\""
33581 cat >>confdefs.h
<<_ACEOF
33582 #define WXWIN_OS_DESCRIPTION $OSINFO
33587 if test "x$prefix" != "xNONE"; then
33590 wxPREFIX
=$ac_default_prefix
33593 cat >>confdefs.h
<<_ACEOF
33594 #define wxINSTALL_PREFIX "$wxPREFIX"
33598 top_builddir_wxconfig
=`pwd`
33602 CORE_BASE_LIBS
="net base"
33603 CORE_GUI_LIBS
="adv core"
33605 if test "$wxUSE_XML" = "yes" ; then
33606 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
33608 if test "$wxUSE_ODBC" != "no" ; then
33609 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
33610 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
33612 if test "$wxUSE_HTML" = "yes" ; then
33613 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
33616 if test "$wxUSE_GUI" != "yes"; then
33627 if test "$wxUSE_MAC" = 1 ; then
33628 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33630 if test "$wxUSE_COCOA" = 1 ; then
33631 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33635 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33642 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33643 echo "$as_me:$LINENO: checking for $ac_func" >&5
33644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33645 if eval "test \"\${$as_ac_var+set}\" = set"; then
33646 echo $ECHO_N "(cached) $ECHO_C" >&6
33648 cat >conftest.
$ac_ext <<_ACEOF
33649 #line $LINENO "configure"
33652 cat confdefs.h
>>conftest.
$ac_ext
33653 cat >>conftest.
$ac_ext <<_ACEOF
33654 /* end confdefs.h. */
33655 /* System header to define __stub macros and hopefully few prototypes,
33656 which can conflict with char $ac_func (); below.
33657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33658 <limits.h> exists even on freestanding compilers. */
33660 # include <limits.h>
33662 # include <assert.h>
33664 /* Override any gcc2 internal prototype to avoid an error. */
33669 /* We use char because int might match the return type of a gcc2
33670 builtin and then its argument prototype would still apply. */
33672 /* The GNU C library defines this for functions which it implements
33673 to always fail with ENOSYS. Some functions are actually named
33674 something starting with __ and the normal name is an alias. */
33675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33678 char (*f) () = $ac_func;
33687 return f != $ac_func;
33692 rm -f conftest.
$ac_objext conftest
$ac_exeext
33693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33694 (eval $ac_link) 2>&5
33696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33697 (exit $ac_status); } &&
33698 { ac_try
='test -s conftest$ac_exeext'
33699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33700 (eval $ac_try) 2>&5
33702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703 (exit $ac_status); }; }; then
33704 eval "$as_ac_var=yes"
33706 echo "$as_me: failed program was:" >&5
33707 sed 's/^/| /' conftest.
$ac_ext >&5
33709 eval "$as_ac_var=no"
33711 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33715 if test `eval echo '${'$as_ac_var'}'` = yes; then
33716 cat >>confdefs.h
<<_ACEOF
33717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33724 for ac_func
in floor
33726 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33727 echo "$as_me:$LINENO: checking for $ac_func" >&5
33728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33729 if eval "test \"\${$as_ac_var+set}\" = set"; then
33730 echo $ECHO_N "(cached) $ECHO_C" >&6
33732 cat >conftest.
$ac_ext <<_ACEOF
33733 #line $LINENO "configure"
33736 cat confdefs.h
>>conftest.
$ac_ext
33737 cat >>conftest.
$ac_ext <<_ACEOF
33738 /* end confdefs.h. */
33739 /* System header to define __stub macros and hopefully few prototypes,
33740 which can conflict with char $ac_func (); below.
33741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33742 <limits.h> exists even on freestanding compilers. */
33744 # include <limits.h>
33746 # include <assert.h>
33748 /* Override any gcc2 internal prototype to avoid an error. */
33753 /* We use char because int might match the return type of a gcc2
33754 builtin and then its argument prototype would still apply. */
33756 /* The GNU C library defines this for functions which it implements
33757 to always fail with ENOSYS. Some functions are actually named
33758 something starting with __ and the normal name is an alias. */
33759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33762 char (*f) () = $ac_func;
33771 return f != $ac_func;
33776 rm -f conftest.
$ac_objext conftest
$ac_exeext
33777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33778 (eval $ac_link) 2>&5
33780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33781 (exit $ac_status); } &&
33782 { ac_try
='test -s conftest$ac_exeext'
33783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33784 (eval $ac_try) 2>&5
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); }; }; then
33788 eval "$as_ac_var=yes"
33790 echo "$as_me: failed program was:" >&5
33791 sed 's/^/| /' conftest.
$ac_ext >&5
33793 eval "$as_ac_var=no"
33795 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33799 if test `eval echo '${'$as_ac_var'}'` = yes; then
33800 cat >>confdefs.h
<<_ACEOF
33801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33807 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33808 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33809 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33810 echo "$as_me:$LINENO: result: yes" >&5
33811 echo "${ECHO_T}yes" >&6
33813 echo "$as_me:$LINENO: result: no" >&5
33814 echo "${ECHO_T}no" >&6
33816 # use different functions to avoid configure caching
33822 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33823 echo "$as_me:$LINENO: checking for $ac_func" >&5
33824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33825 if eval "test \"\${$as_ac_var+set}\" = set"; then
33826 echo $ECHO_N "(cached) $ECHO_C" >&6
33828 cat >conftest.
$ac_ext <<_ACEOF
33829 #line $LINENO "configure"
33832 cat confdefs.h
>>conftest.
$ac_ext
33833 cat >>conftest.
$ac_ext <<_ACEOF
33834 /* end confdefs.h. */
33835 /* System header to define __stub macros and hopefully few prototypes,
33836 which can conflict with char $ac_func (); below.
33837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33838 <limits.h> exists even on freestanding compilers. */
33840 # include <limits.h>
33842 # include <assert.h>
33844 /* Override any gcc2 internal prototype to avoid an error. */
33849 /* We use char because int might match the return type of a gcc2
33850 builtin and then its argument prototype would still apply. */
33852 /* The GNU C library defines this for functions which it implements
33853 to always fail with ENOSYS. Some functions are actually named
33854 something starting with __ and the normal name is an alias. */
33855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33858 char (*f) () = $ac_func;
33867 return f != $ac_func;
33872 rm -f conftest.
$ac_objext conftest
$ac_exeext
33873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33874 (eval $ac_link) 2>&5
33876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33877 (exit $ac_status); } &&
33878 { ac_try
='test -s conftest$ac_exeext'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; }; then
33884 eval "$as_ac_var=yes"
33886 echo "$as_me: failed program was:" >&5
33887 sed 's/^/| /' conftest.
$ac_ext >&5
33889 eval "$as_ac_var=no"
33891 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33895 if test `eval echo '${'$as_ac_var'}'` = yes; then
33896 cat >>confdefs.h
<<_ACEOF
33897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33904 for ac_func
in ceil
33906 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33907 echo "$as_me:$LINENO: checking for $ac_func" >&5
33908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33909 if eval "test \"\${$as_ac_var+set}\" = set"; then
33910 echo $ECHO_N "(cached) $ECHO_C" >&6
33912 cat >conftest.
$ac_ext <<_ACEOF
33913 #line $LINENO "configure"
33916 cat confdefs.h
>>conftest.
$ac_ext
33917 cat >>conftest.
$ac_ext <<_ACEOF
33918 /* end confdefs.h. */
33919 /* System header to define __stub macros and hopefully few prototypes,
33920 which can conflict with char $ac_func (); below.
33921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33922 <limits.h> exists even on freestanding compilers. */
33924 # include <limits.h>
33926 # include <assert.h>
33928 /* Override any gcc2 internal prototype to avoid an error. */
33933 /* We use char because int might match the return type of a gcc2
33934 builtin and then its argument prototype would still apply. */
33936 /* The GNU C library defines this for functions which it implements
33937 to always fail with ENOSYS. Some functions are actually named
33938 something starting with __ and the normal name is an alias. */
33939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33942 char (*f) () = $ac_func;
33951 return f != $ac_func;
33956 rm -f conftest.
$ac_objext conftest
$ac_exeext
33957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33958 (eval $ac_link) 2>&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } &&
33962 { ac_try
='test -s conftest$ac_exeext'
33963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33964 (eval $ac_try) 2>&5
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; }; then
33968 eval "$as_ac_var=yes"
33970 echo "$as_me: failed program was:" >&5
33971 sed 's/^/| /' conftest.
$ac_ext >&5
33973 eval "$as_ac_var=no"
33975 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33979 if test `eval echo '${'$as_ac_var'}'` = yes; then
33980 cat >>confdefs.h
<<_ACEOF
33981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33987 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33988 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33989 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33990 echo "$as_me:$LINENO: result: yes" >&5
33991 echo "${ECHO_T}yes" >&6
33993 echo "$as_me:$LINENO: result: no" >&5
33994 echo "${ECHO_T}no" >&6
33995 # not sure we should warn the user, crash, etc.
33999 if test "$wxUSE_GUI" = "yes"; then
34002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
34003 drawing dynamic erase event exec font image \
34004 minimal propsize rotate shaped widgets render"
34006 if test "$wxUSE_MONOLITHIC" != "yes"; then
34007 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
34010 SAMPLES_SUBDIRS
="console"
34014 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
34015 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
34017 if test "$GXX" = yes ; then
34018 CXXWARNINGS
="-Wall"
34021 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34023 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34024 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34025 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34028 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
34029 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
34030 EXTRALIBS_XML
="$EXPAT_LINK"
34031 EXTRALIBS_HTML
="$MSPACK_LINK"
34032 EXTRALIBS_ODBC
="$ODBC_LINK"
34033 if test "$wxUSE_GUI" = "yes"; then
34034 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
34036 if test "$wxUSE_OPENGL" = "yes"; then
34037 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
34040 LDFLAGS
="$LDFLAGS $PROFILE"
34042 if test "$wxUSE_GTK" = 1; then
34045 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
34048 WXCONFIG_EXTRALIBS
="$LIBS"
34050 if test "$wxUSE_REGEX" = "builtin" ; then
34051 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
34053 if test "$wxUSE_EXPAT" = "builtin" ; then
34054 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
34056 if test "$wxUSE_ODBC" = "builtin" ; then
34057 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
34059 if test "$wxUSE_LIBTIFF" = "builtin" ; then
34060 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
34062 if test "$wxUSE_LIBJPEG" = "builtin" ; then
34063 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
34065 if test "$wxUSE_LIBPNG" = "builtin" ; then
34066 wxconfig_3rdparty
="$wxconfig_3rdparty png"
34068 if test "$wxUSE_ZLIB" = "builtin" ; then
34069 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
34071 if test "$wxUSE_ODBC" = "builtin" ; then
34072 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
34075 for i
in $wxconfig_3rdparty ; do
34076 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
34080 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
34094 if test $wxUSE_MONOLITHIC = "yes" ; then
34100 if test $wxUSE_ODBC != "no" ; then
34106 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
34129 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
34137 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
34139 if test -n "$ac_tool_prefix"; then
34140 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
34141 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
34142 echo "$as_me:$LINENO: checking for $ac_word" >&5
34143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34144 if test "${ac_cv_prog_RANLIB+set}" = set; then
34145 echo $ECHO_N "(cached) $ECHO_C" >&6
34147 if test -n "$RANLIB"; then
34148 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
34150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34151 for as_dir
in $PATH
34154 test -z "$as_dir" && as_dir
=.
34155 for ac_exec_ext
in '' $ac_executable_extensions; do
34156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34157 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
34158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34166 RANLIB
=$ac_cv_prog_RANLIB
34167 if test -n "$RANLIB"; then
34168 echo "$as_me:$LINENO: result: $RANLIB" >&5
34169 echo "${ECHO_T}$RANLIB" >&6
34171 echo "$as_me:$LINENO: result: no" >&5
34172 echo "${ECHO_T}no" >&6
34176 if test -z "$ac_cv_prog_RANLIB"; then
34177 ac_ct_RANLIB
=$RANLIB
34178 # Extract the first word of "ranlib", so it can be a program name with args.
34179 set dummy ranlib
; ac_word
=$2
34180 echo "$as_me:$LINENO: checking for $ac_word" >&5
34181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34182 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34183 echo $ECHO_N "(cached) $ECHO_C" >&6
34185 if test -n "$ac_ct_RANLIB"; then
34186 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
34188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34189 for as_dir
in $PATH
34192 test -z "$as_dir" && as_dir
=.
34193 for ac_exec_ext
in '' $ac_executable_extensions; do
34194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34195 ac_cv_prog_ac_ct_RANLIB
="ranlib"
34196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34202 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
34205 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
34206 if test -n "$ac_ct_RANLIB"; then
34207 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34208 echo "${ECHO_T}$ac_ct_RANLIB" >&6
34210 echo "$as_me:$LINENO: result: no" >&5
34211 echo "${ECHO_T}no" >&6
34214 RANLIB
=$ac_ct_RANLIB
34216 RANLIB
="$ac_cv_prog_RANLIB"
34219 # Find a good install program. We prefer a C program (faster),
34220 # so one script is as good as another. But avoid the broken or
34221 # incompatible versions:
34222 # SysV /etc/install, /usr/sbin/install
34223 # SunOS /usr/etc/install
34224 # IRIX /sbin/install
34226 # AmigaOS /C/install, which installs bootblocks on floppy discs
34227 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34228 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34229 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34230 # ./install, which can be erroneously created by make from ./install.sh.
34231 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34232 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34233 if test -z "$INSTALL"; then
34234 if test "${ac_cv_path_install+set}" = set; then
34235 echo $ECHO_N "(cached) $ECHO_C" >&6
34237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34238 for as_dir
in $PATH
34241 test -z "$as_dir" && as_dir
=.
34242 # Account for people who put trailing slashes in PATH elements.
34244 .
/ | .
// | /cC
/* | \
34245 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
34248 # OSF1 and SCO ODT 3.0 have their own names for install.
34249 # Don't use installbsd from OSF since it installs stuff as root
34251 for ac_prog
in ginstall scoinst
install; do
34252 for ac_exec_ext
in '' $ac_executable_extensions; do
34253 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34254 if test $ac_prog = install &&
34255 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34256 # AIX install. It has an incompatible calling convention.
34258 elif test $ac_prog = install &&
34259 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34260 # program-specific install script used by HP pwplus--don't use.
34263 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
34275 if test "${ac_cv_path_install+set}" = set; then
34276 INSTALL
=$ac_cv_path_install
34278 # As a last resort, use the slow shell script. We don't cache a
34279 # path for INSTALL within a source directory, because that will
34280 # break other packages using the cache if that directory is
34281 # removed, or if the path is relative.
34282 INSTALL
=$ac_install_sh
34285 echo "$as_me:$LINENO: result: $INSTALL" >&5
34286 echo "${ECHO_T}$INSTALL" >&6
34288 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34289 # It thinks the first close brace ends the variable substitution.
34290 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
34292 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
34294 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
34296 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34297 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34299 if test "$LN_S" = "ln -s"; then
34300 echo "$as_me:$LINENO: result: yes" >&5
34301 echo "${ECHO_T}yes" >&6
34303 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34304 echo "${ECHO_T}no, using $LN_S" >&6
34308 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34309 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34310 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34311 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34312 echo $ECHO_N "(cached) $ECHO_C" >&6
34314 cat >conftest.
make <<\_ACEOF
34316 @
echo 'ac_maketemp="$(MAKE)"'
34318 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34319 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34320 if test -n "$ac_maketemp"; then
34321 eval ac_cv_prog_make_
${ac_make}_set
=yes
34323 eval ac_cv_prog_make_
${ac_make}_set
=no
34325 rm -f conftest.
make
34327 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34328 echo "$as_me:$LINENO: result: yes" >&5
34329 echo "${ECHO_T}yes" >&6
34332 echo "$as_me:$LINENO: result: no" >&5
34333 echo "${ECHO_T}no" >&6
34334 SET_MAKE
="MAKE=${MAKE-make}"
34339 if test -n "$ac_tool_prefix"; then
34340 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34341 set dummy
${ac_tool_prefix}ar; ac_word
=$2
34342 echo "$as_me:$LINENO: checking for $ac_word" >&5
34343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34344 if test "${ac_cv_prog_AR+set}" = set; then
34345 echo $ECHO_N "(cached) $ECHO_C" >&6
34347 if test -n "$AR"; then
34348 ac_cv_prog_AR
="$AR" # Let the user override the test.
34350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34351 for as_dir
in $PATH
34354 test -z "$as_dir" && as_dir
=.
34355 for ac_exec_ext
in '' $ac_executable_extensions; do
34356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34357 ac_cv_prog_AR
="${ac_tool_prefix}ar"
34358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34367 if test -n "$AR"; then
34368 echo "$as_me:$LINENO: result: $AR" >&5
34369 echo "${ECHO_T}$AR" >&6
34371 echo "$as_me:$LINENO: result: no" >&5
34372 echo "${ECHO_T}no" >&6
34376 if test -z "$ac_cv_prog_AR"; then
34378 # Extract the first word of "ar", so it can be a program name with args.
34379 set dummy
ar; ac_word
=$2
34380 echo "$as_me:$LINENO: checking for $ac_word" >&5
34381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34382 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34383 echo $ECHO_N "(cached) $ECHO_C" >&6
34385 if test -n "$ac_ct_AR"; then
34386 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
34388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34389 for as_dir
in $PATH
34392 test -z "$as_dir" && as_dir
=.
34393 for ac_exec_ext
in '' $ac_executable_extensions; do
34394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34395 ac_cv_prog_ac_ct_AR
="ar"
34396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34402 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
34405 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
34406 if test -n "$ac_ct_AR"; then
34407 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34408 echo "${ECHO_T}$ac_ct_AR" >&6
34410 echo "$as_me:$LINENO: result: no" >&5
34411 echo "${ECHO_T}no" >&6
34416 AR
="$ac_cv_prog_AR"
34419 if test -n "$ac_tool_prefix"; then
34420 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34421 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
34422 echo "$as_me:$LINENO: checking for $ac_word" >&5
34423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34424 if test "${ac_cv_prog_STRIP+set}" = set; then
34425 echo $ECHO_N "(cached) $ECHO_C" >&6
34427 if test -n "$STRIP"; then
34428 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
34430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34431 for as_dir
in $PATH
34434 test -z "$as_dir" && as_dir
=.
34435 for ac_exec_ext
in '' $ac_executable_extensions; do
34436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34437 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
34438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34446 STRIP
=$ac_cv_prog_STRIP
34447 if test -n "$STRIP"; then
34448 echo "$as_me:$LINENO: result: $STRIP" >&5
34449 echo "${ECHO_T}$STRIP" >&6
34451 echo "$as_me:$LINENO: result: no" >&5
34452 echo "${ECHO_T}no" >&6
34456 if test -z "$ac_cv_prog_STRIP"; then
34458 # Extract the first word of "strip", so it can be a program name with args.
34459 set dummy strip
; ac_word
=$2
34460 echo "$as_me:$LINENO: checking for $ac_word" >&5
34461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34462 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34463 echo $ECHO_N "(cached) $ECHO_C" >&6
34465 if test -n "$ac_ct_STRIP"; then
34466 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
34468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34469 for as_dir
in $PATH
34472 test -z "$as_dir" && as_dir
=.
34473 for ac_exec_ext
in '' $ac_executable_extensions; do
34474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34475 ac_cv_prog_ac_ct_STRIP
="strip"
34476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34482 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
34485 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
34486 if test -n "$ac_ct_STRIP"; then
34487 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34488 echo "${ECHO_T}$ac_ct_STRIP" >&6
34490 echo "$as_me:$LINENO: result: no" >&5
34491 echo "${ECHO_T}no" >&6
34496 STRIP
="$ac_cv_prog_STRIP"
34499 if test -n "$ac_tool_prefix"; then
34500 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34501 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
34502 echo "$as_me:$LINENO: checking for $ac_word" >&5
34503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34504 if test "${ac_cv_prog_NM+set}" = set; then
34505 echo $ECHO_N "(cached) $ECHO_C" >&6
34507 if test -n "$NM"; then
34508 ac_cv_prog_NM
="$NM" # Let the user override the test.
34510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34511 for as_dir
in $PATH
34514 test -z "$as_dir" && as_dir
=.
34515 for ac_exec_ext
in '' $ac_executable_extensions; do
34516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34517 ac_cv_prog_NM
="${ac_tool_prefix}nm"
34518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34527 if test -n "$NM"; then
34528 echo "$as_me:$LINENO: result: $NM" >&5
34529 echo "${ECHO_T}$NM" >&6
34531 echo "$as_me:$LINENO: result: no" >&5
34532 echo "${ECHO_T}no" >&6
34536 if test -z "$ac_cv_prog_NM"; then
34538 # Extract the first word of "nm", so it can be a program name with args.
34539 set dummy nm
; ac_word
=$2
34540 echo "$as_me:$LINENO: checking for $ac_word" >&5
34541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34542 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34543 echo $ECHO_N "(cached) $ECHO_C" >&6
34545 if test -n "$ac_ct_NM"; then
34546 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
34548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34549 for as_dir
in $PATH
34552 test -z "$as_dir" && as_dir
=.
34553 for ac_exec_ext
in '' $ac_executable_extensions; do
34554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34555 ac_cv_prog_ac_ct_NM
="nm"
34556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34562 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
34565 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
34566 if test -n "$ac_ct_NM"; then
34567 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34568 echo "${ECHO_T}$ac_ct_NM" >&6
34570 echo "$as_me:$LINENO: result: no" >&5
34571 echo "${ECHO_T}no" >&6
34576 NM
="$ac_cv_prog_NM"
34582 INSTALL_DIR
="mkdir"
34584 *) INSTALL_DIR
="$INSTALL -d"
34591 *-*-cygwin* | *-*-mingw32* )
34592 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
34598 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34599 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34600 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34601 echo $ECHO_N "(cached) $ECHO_C" >&6
34604 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
34605 egrep -s GNU
> /dev
/null
); then
34606 bakefile_cv_prog_makeisgnu
="yes"
34608 bakefile_cv_prog_makeisgnu
="no"
34612 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34613 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34615 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34631 *-*-cygwin* | *-*-mingw32* )
34637 *-pc-os2_emx | *-pc-os2-emx )
34640 powerpc
-*-darwin* )
34658 SO_SUFFIX_MODULE
="so"
34667 SO_SUFFIX_MODULE
="sl"
34671 SO_SUFFIX_MODULE
="a"
34673 *-*-cygwin* | *-*-mingw32* )
34675 SO_SUFFIX_MODULE
="dll"
34683 *-pc-os2_emx | *-pc-os2-emx )
34688 powerpc
-*-darwin* )
34690 SO_SUFFIX_MODULE
="bundle"
34702 SHARED_LD_CC
="\$(CC) -shared -o"
34703 SHARED_LD_CXX
="\$(CXX) -shared -o"
34705 if test "x$GCC" = "xyes"; then
34711 if test "x$GCC" = "xyes"; then
34712 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
34713 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
34715 LDFLAGS
="$LDFLAGS -L/usr/lib"
34717 SHARED_LD_CC
="${CC} -b -o"
34718 SHARED_LD_CXX
="${CXX} -b -o"
34724 if test "x$GCC" != "xyes"; then
34725 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34726 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34727 if test "${bakefile_cv_prog_icc+set}" = set; then
34728 echo $ECHO_N "(cached) $ECHO_C" >&6
34731 cat >conftest.
$ac_ext <<_ACEOF
34732 #line $LINENO "configure"
34735 cat confdefs.h
>>conftest.
$ac_ext
34736 cat >>conftest.
$ac_ext <<_ACEOF
34737 /* end confdefs.h. */
34743 #ifndef __INTEL_COMPILER
34751 rm -f conftest.
$ac_objext
34752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34753 (eval $ac_compile) 2>&5
34755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34756 (exit $ac_status); } &&
34757 { ac_try
='test -s conftest.$ac_objext'
34758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34759 (eval $ac_try) 2>&5
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); }; }; then
34763 bakefile_cv_prog_icc
=yes
34765 echo "$as_me: failed program was:" >&5
34766 sed 's/^/| /' conftest.
$ac_ext >&5
34768 bakefile_cv_prog_icc
=no
34771 rm -f conftest.
$ac_objext conftest.
$ac_ext
34774 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34775 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34776 if test "$bakefile_cv_prog_icc" = "yes"; then
34783 if test "x$GCC" != xyes
; then
34784 SHARED_LD_CC
="${CC} -G -o"
34785 SHARED_LD_CXX
="${CXX} -G -o"
34791 CFLAGS
="$CFLAGS -fno-common"
34792 CXXFLAGS
="$CXXFLAGS -fno-common"
34795 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34796 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34797 if test "${wx_cv_gcc31+set}" = set; then
34798 echo $ECHO_N "(cached) $ECHO_C" >&6
34801 cat >conftest.
$ac_ext <<_ACEOF
34802 #line $LINENO "configure"
34805 cat confdefs.h
>>conftest.
$ac_ext
34806 cat >>conftest.
$ac_ext <<_ACEOF
34807 /* end confdefs.h. */
34813 #if (__GNUC__ < 3) || \
34814 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34822 rm -f conftest.
$ac_objext
34823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34824 (eval $ac_compile) 2>&5
34826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34827 (exit $ac_status); } &&
34828 { ac_try
='test -s conftest.$ac_objext'
34829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34830 (eval $ac_try) 2>&5
34832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34833 (exit $ac_status); }; }; then
34838 echo "$as_me: failed program was:" >&5
34839 sed 's/^/| /' conftest.
$ac_ext >&5
34846 rm -f conftest.
$ac_objext conftest.
$ac_ext
34849 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34850 echo "${ECHO_T}$wx_cv_gcc31" >&6
34851 if test "$wx_cv_gcc31" = "no"; then
34852 cat <<EOF >shared-ld-sh
34854 #-----------------------------------------------------------------------------
34855 #-- Name: distrib/mac/shared-ld-sh
34856 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34857 #-- Author: Gilles Depeyrot
34858 #-- Copyright: (c) 2002 Gilles Depeyrot
34859 #-- Licence: any use permitted
34860 #-----------------------------------------------------------------------------
34865 linking_flag="-dynamiclib"
34867 while test \${#} -gt 0; do
34874 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34875 # collect these options and values
34876 args="\${args} \${1} \${2}"
34880 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
34881 # collect these options
34882 args="\${args} \${1}"
34885 -dynamiclib|-bundle)
34886 linking_flag="\${1}"
34890 echo "shared-ld: unhandled option '\${1}'"
34894 *.o | *.a | *.dylib)
34895 # collect object files
34896 objects="\${objects} \${1}"
34900 echo "shared-ld: unhandled argument '\${1}'"
34909 # Link one module containing all the others
34911 if test \${verbose} = 1; then
34912 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34914 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34916 if test \${status} != 0; then
34921 # Link the shared library from the single module created
34923 if test \${verbose} = 1; then
34924 echo "cc \${linking_flag} master.\$\$.o \${args}"
34926 c++ \${linking_flag} master.\$\$.o \${args}
34928 if test \${status} != 0; then
34933 # Remove intermediate module
34935 rm -f master.\$\$.o
34939 chmod +x shared
-ld-sh
34941 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
34942 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
34943 SHARED_LD_CXX
="$SHARED_LD_CC"
34944 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
34946 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
34947 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
34948 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
34949 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
34952 PIC_FLAG
="-dynamic -fPIC"
34956 if test "x$GCC" != "xyes"; then
34957 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34958 set dummy makeC
++SharedLib
; ac_word
=$2
34959 echo "$as_me:$LINENO: checking for $ac_word" >&5
34960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34961 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34962 echo $ECHO_N "(cached) $ECHO_C" >&6
34964 if test -n "$AIX_CXX_LD"; then
34965 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34968 for as_dir
in $PATH
34971 test -z "$as_dir" && as_dir
=.
34972 for ac_exec_ext
in '' $ac_executable_extensions; do
34973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34974 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34981 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34984 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34985 if test -n "$AIX_CXX_LD"; then
34986 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34987 echo "${ECHO_T}$AIX_CXX_LD" >&6
34989 echo "$as_me:$LINENO: result: no" >&5
34990 echo "${ECHO_T}no" >&6
34993 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34994 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34999 SHARED_LD_CC
="${LD} -shared -o"
35000 SHARED_LD_CXX
="${LD} -shared -o"
35004 if test "x$GCC" != "xyes"; then
35009 *-*-cygwin* | *-*-mingw32* )
35013 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
35017 *-pc-os2_emx | *-pc-os2-emx | \
35022 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
35023 echo "$as_me: error: unknown system type $host." >&2;}
35024 { (exit 1); exit 1; }; }
35027 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
35028 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
35030 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
35031 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
35050 SONAME_FLAG
="-Wl,-soname,"
35078 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
35079 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
35082 if test "x$GCC" = "xyes"; then
35086 powerpc
-*-darwin* )
35087 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
35090 DEPSFLAG_GCC
="-MMD"
35093 echo "$as_me:$LINENO: result: gcc" >&5
35094 echo "${ECHO_T}gcc" >&6
35096 echo "$as_me:$LINENO: result: none" >&5
35097 echo "${ECHO_T}none" >&6
35100 if test $DEPS_TRACKING = 1 ; then
35104 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35105 # script. It is used to track C/C++ files dependencies in portable way.
35107 # Permission is given to use this file in any way.
35111 DEPSFLAG_GCC="$DEPSFLAG_GCC"
35115 if test \$DEPSMODE = gcc ; then
35116 \${*} \${DEPSFLAG_GCC}
35118 if test \${status} != 0 ; then
35121 # move created file to the location we want it in:
35122 while test \${#} -gt 0; do
35136 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
35137 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
35138 if test -f \$depfile ; then
35139 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35142 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
35143 if test -f \$depfile ; then
35144 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35164 *-*-cygwin* | *-*-mingw32* )
35165 if test "$build" != "$host" ; then
35166 RESCOMP
=$host_alias-windres
35168 # Extract the first word of "windres", so it can be a program name with args.
35169 set dummy windres
; ac_word
=$2
35170 echo "$as_me:$LINENO: checking for $ac_word" >&5
35171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35172 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35173 echo $ECHO_N "(cached) $ECHO_C" >&6
35175 if test -n "$RESCOMP"; then
35176 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
35178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35179 for as_dir
in $PATH
35182 test -z "$as_dir" && as_dir
=.
35183 for ac_exec_ext
in '' $ac_executable_extensions; do
35184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35185 ac_cv_prog_RESCOMP
="windres"
35186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35192 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
35195 RESCOMP
=$ac_cv_prog_RESCOMP
35196 if test -n "$RESCOMP"; then
35197 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35198 echo "${ECHO_T}$RESCOMP" >&6
35200 echo "$as_me:$LINENO: result: no" >&5
35201 echo "${ECHO_T}no" >&6
35208 # Extract the first word of "Rez", so it can be a program name with args.
35209 set dummy Rez
; ac_word
=$2
35210 echo "$as_me:$LINENO: checking for $ac_word" >&5
35211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35212 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35213 echo $ECHO_N "(cached) $ECHO_C" >&6
35215 if test -n "$RESCOMP"; then
35216 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
35218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35219 for as_dir
in $PATH
35222 test -z "$as_dir" && as_dir
=.
35223 for ac_exec_ext
in '' $ac_executable_extensions; do
35224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35225 ac_cv_prog_RESCOMP
="Rez"
35226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35232 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
35235 RESCOMP
=$ac_cv_prog_RESCOMP
35236 if test -n "$RESCOMP"; then
35237 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35238 echo "${ECHO_T}$RESCOMP" >&6
35240 echo "$as_me:$LINENO: result: no" >&5
35241 echo "${ECHO_T}no" >&6
35244 # Extract the first word of "SetFile", so it can be a program name with args.
35245 set dummy SetFile
; ac_word
=$2
35246 echo "$as_me:$LINENO: checking for $ac_word" >&5
35247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35248 if test "${ac_cv_prog_SETFILE+set}" = set; then
35249 echo $ECHO_N "(cached) $ECHO_C" >&6
35251 if test -n "$SETFILE"; then
35252 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
35254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35255 for as_dir
in $PATH
35258 test -z "$as_dir" && as_dir
=.
35259 for ac_exec_ext
in '' $ac_executable_extensions; do
35260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35261 ac_cv_prog_SETFILE
="SetFile"
35262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35268 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
35271 SETFILE
=$ac_cv_prog_SETFILE
35272 if test -n "$SETFILE"; then
35273 echo "$as_me:$LINENO: result: $SETFILE" >&5
35274 echo "${ECHO_T}$SETFILE" >&6
35276 echo "$as_me:$LINENO: result: no" >&5
35277 echo "${ECHO_T}no" >&6
35292 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35293 if test "${enable_precomp_headers+set}" = set; then
35294 enableval
="$enable_precomp_headers"
35295 bk_use_pch
="$enableval"
35300 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35301 if test "x$GCC" = "xyes"; then
35302 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35303 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35304 cat >conftest.
$ac_ext <<_ACEOF
35305 #line $LINENO "configure"
35308 cat confdefs.h
>>conftest.
$ac_ext
35309 cat >>conftest.
$ac_ext <<_ACEOF
35310 /* end confdefs.h. */
35316 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35317 #error "no pch support"
35320 #error "no pch support"
35322 #if (__GNUC__ == 3) && \
35323 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35324 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35325 #error "no pch support"
35332 rm -f conftest.
$ac_objext
35333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35334 (eval $ac_compile) 2>&5
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); } &&
35338 { ac_try
='test -s conftest.$ac_objext'
35339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35340 (eval $ac_try) 2>&5
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); }; }; then
35345 echo "$as_me:$LINENO: result: yes" >&5
35346 echo "${ECHO_T}yes" >&6
35347 CPPFLAGS
="-fpch-deps $CPPFLAGS"
35351 echo "$as_me: failed program was:" >&5
35352 sed 's/^/| /' conftest.
$ac_ext >&5
35355 echo "$as_me:$LINENO: result: no" >&5
35356 echo "${ECHO_T}no" >&6
35359 rm -f conftest.
$ac_objext conftest.
$ac_ext
35360 if test $GCC_PCH = 1 ; then
35361 cat <<EOF >bk-make-pch
35364 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35365 # script. It is used to generated precompiled headers.
35367 # Permission is given to use this file in any way.
35376 while test \${#} -gt 0; do
35379 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35380 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35381 headerfile="\${incdir}/\${header}"
35385 compiler="\${compiler} \${1}"
35389 if test "x\${headerfile}" = "x" ; then
35390 echo "error: can't find header \${header} in include paths" >2
35392 if test -f \${outfile} ; then
35395 mkdir -p \`dirname \${outfile}\`
35397 depsfile=".deps/\`basename \${outfile}\`.d"
35399 # can do this because gcc is >= 3.4:
35400 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35404 chmod +x bk
-make-pch
35413 COND_BUILD_DEBUG
="#"
35414 if test "x$BUILD" = "xdebug" ; then
35415 COND_BUILD_DEBUG
=""
35418 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
35419 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35420 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
35423 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
35424 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35425 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
35428 COND_BUILD_RELEASE
="#"
35429 if test "x$BUILD" = "xrelease" ; then
35430 COND_BUILD_RELEASE
=""
35433 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
35434 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35435 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
35438 COND_DEBUG_FLAG_1
="#"
35439 if test "x$DEBUG_FLAG" = "x1" ; then
35440 COND_DEBUG_FLAG_1
=""
35443 COND_DEBUG_INFO_0
="#"
35444 if test "x$DEBUG_INFO" = "x0" ; then
35445 COND_DEBUG_INFO_0
=""
35448 COND_DEBUG_INFO_1
="#"
35449 if test "x$DEBUG_INFO" = "x1" ; then
35450 COND_DEBUG_INFO_1
=""
35453 COND_DEPS_TRACKING_0
="#"
35454 if test "x$DEPS_TRACKING" = "x0" ; then
35455 COND_DEPS_TRACKING_0
=""
35458 COND_DEPS_TRACKING_1
="#"
35459 if test "x$DEPS_TRACKING" = "x1" ; then
35460 COND_DEPS_TRACKING_1
=""
35464 if test "x$GCC_PCH" = "x1" ; then
35468 COND_MONOLITHIC_0
="#"
35469 if test "x$MONOLITHIC" = "x0" ; then
35470 COND_MONOLITHIC_0
=""
35473 COND_MONOLITHIC_0_SHARED_0
="#"
35474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35475 COND_MONOLITHIC_0_SHARED_0
=""
35478 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
35479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
35483 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
35484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35485 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
35488 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
35489 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35490 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
35493 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
35494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35495 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
35498 COND_MONOLITHIC_0_SHARED_1
="#"
35499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35500 COND_MONOLITHIC_0_SHARED_1
=""
35503 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
35504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
35508 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
35509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35510 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
35513 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
35514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35515 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
35518 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
35519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35520 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
35523 COND_MONOLITHIC_1
="#"
35524 if test "x$MONOLITHIC" = "x1" ; then
35525 COND_MONOLITHIC_1
=""
35528 COND_MONOLITHIC_1_SHARED_0
="#"
35529 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35530 COND_MONOLITHIC_1_SHARED_0
=""
35533 COND_MONOLITHIC_1_SHARED_1
="#"
35534 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35535 COND_MONOLITHIC_1_SHARED_1
=""
35538 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
35539 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35540 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
35543 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
35544 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35545 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
35548 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
35549 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35550 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
35553 COND_PLATFORM_MACOSX_1
="#"
35554 if test "x$PLATFORM_MACOSX" = "x1" ; then
35555 COND_PLATFORM_MACOSX_1
=""
35558 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
35559 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35560 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
35563 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
35564 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35565 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
35568 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
35569 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35570 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
35573 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
35574 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
35575 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
35578 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
35579 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35580 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
35583 COND_PLATFORM_MAC_1
="#"
35584 if test "x$PLATFORM_MAC" = "x1" ; then
35585 COND_PLATFORM_MAC_1
=""
35588 COND_PLATFORM_OS2_1
="#"
35589 if test "x$PLATFORM_OS2" = "x1" ; then
35590 COND_PLATFORM_OS2_1
=""
35593 COND_PLATFORM_UNIX_0
="#"
35594 if test "x$PLATFORM_UNIX" = "x0" ; then
35595 COND_PLATFORM_UNIX_0
=""
35598 COND_PLATFORM_UNIX_1
="#"
35599 if test "x$PLATFORM_UNIX" = "x1" ; then
35600 COND_PLATFORM_UNIX_1
=""
35603 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
35604 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
35605 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
35608 COND_PLATFORM_WIN32_0
="#"
35609 if test "x$PLATFORM_WIN32" = "x0" ; then
35610 COND_PLATFORM_WIN32_0
=""
35613 COND_PLATFORM_WIN32_1
="#"
35614 if test "x$PLATFORM_WIN32" = "x1" ; then
35615 COND_PLATFORM_WIN32_1
=""
35619 if test "x$SHARED" = "x0" ; then
35623 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
35624 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35625 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
35628 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35629 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35630 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35633 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35634 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35635 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35638 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35639 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35640 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35643 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
35644 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35645 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
35648 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
35649 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35650 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
35653 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
35654 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35655 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
35658 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
35659 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35660 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
35664 if test "x$SHARED" = "x1" ; then
35668 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
35669 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35670 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
35673 COND_TOOLKIT_COCOA
="#"
35674 if test "x$TOOLKIT" = "xCOCOA" ; then
35675 COND_TOOLKIT_COCOA
=""
35678 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
35679 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35680 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
35683 COND_TOOLKIT_GTK
="#"
35684 if test "x$TOOLKIT" = "xGTK" ; then
35685 COND_TOOLKIT_GTK
=""
35688 COND_TOOLKIT_GTK_USE_GUI_1
="#"
35689 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35690 COND_TOOLKIT_GTK_USE_GUI_1
=""
35693 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
35694 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35695 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
35698 COND_TOOLKIT_MAC
="#"
35699 if test "x$TOOLKIT" = "xMAC" ; then
35700 COND_TOOLKIT_MAC
=""
35703 COND_TOOLKIT_MAC_USE_GUI_1
="#"
35704 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35705 COND_TOOLKIT_MAC_USE_GUI_1
=""
35708 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
35709 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35710 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
35713 COND_TOOLKIT_MGL
="#"
35714 if test "x$TOOLKIT" = "xMGL" ; then
35715 COND_TOOLKIT_MGL
=""
35718 COND_TOOLKIT_MGL_USE_GUI_1
="#"
35719 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35720 COND_TOOLKIT_MGL_USE_GUI_1
=""
35723 COND_TOOLKIT_MOTIF
="#"
35724 if test "x$TOOLKIT" = "xMOTIF" ; then
35725 COND_TOOLKIT_MOTIF
=""
35728 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
35729 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35730 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
35733 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
35734 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35735 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
35738 COND_TOOLKIT_MSW
="#"
35739 if test "x$TOOLKIT" = "xMSW" ; then
35740 COND_TOOLKIT_MSW
=""
35743 COND_TOOLKIT_MSW_USE_GUI_1
="#"
35744 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35745 COND_TOOLKIT_MSW_USE_GUI_1
=""
35748 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
35749 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35750 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
35753 COND_TOOLKIT_PM
="#"
35754 if test "x$TOOLKIT" = "xPM" ; then
35758 COND_TOOLKIT_PM_USE_GUI_1
="#"
35759 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35760 COND_TOOLKIT_PM_USE_GUI_1
=""
35763 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
35764 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35765 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
35768 COND_TOOLKIT_X11
="#"
35769 if test "x$TOOLKIT" = "xX11" ; then
35770 COND_TOOLKIT_X11
=""
35773 COND_TOOLKIT_X11_USE_GUI_1
="#"
35774 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35775 COND_TOOLKIT_X11_USE_GUI_1
=""
35779 if test "x$UNICODE" = "x1" ; then
35783 COND_USE_EXCEPTIONS_0
="#"
35784 if test "x$USE_EXCEPTIONS" = "x0" ; then
35785 COND_USE_EXCEPTIONS_0
=""
35788 COND_USE_EXCEPTIONS_1
="#"
35789 if test "x$USE_EXCEPTIONS" = "x1" ; then
35790 COND_USE_EXCEPTIONS_1
=""
35794 if test "x$USE_GUI" = "x0" ; then
35799 if test "x$USE_GUI" = "x1" ; then
35803 COND_USE_GUI_1_WXUNIV_0
="#"
35804 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35805 COND_USE_GUI_1_WXUNIV_0
=""
35808 COND_USE_GUI_1_WXUNIV_1
="#"
35809 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35810 COND_USE_GUI_1_WXUNIV_1
=""
35813 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35814 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35815 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35818 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35819 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35820 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35823 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35824 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35825 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35828 COND_USE_ODBC_1
="#"
35829 if test "x$USE_ODBC" = "x1" ; then
35833 COND_USE_SOSYMLINKS_1
="#"
35834 if test "x$USE_SOSYMLINKS" = "x1" ; then
35835 COND_USE_SOSYMLINKS_1
=""
35838 COND_USE_SOVERLINUX_1
="#"
35839 if test "x$USE_SOVERLINUX" = "x1" ; then
35840 COND_USE_SOVERLINUX_1
=""
35843 COND_USE_SOVERSION_0
="#"
35844 if test "x$USE_SOVERSION" = "x0" ; then
35845 COND_USE_SOVERSION_0
=""
35848 COND_USE_SOVERSOLARIS_1
="#"
35849 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35850 COND_USE_SOVERSOLARIS_1
=""
35854 if test "x$WXUNIV" = "x1" ; then
35858 COND_WXUSE_EXPAT_BUILTIN
="#"
35859 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35860 COND_WXUSE_EXPAT_BUILTIN
=""
35863 COND_WXUSE_LIBJPEG_BUILTIN
="#"
35864 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35865 COND_WXUSE_LIBJPEG_BUILTIN
=""
35868 COND_WXUSE_LIBPNG_BUILTIN
="#"
35869 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35870 COND_WXUSE_LIBPNG_BUILTIN
=""
35873 COND_WXUSE_LIBTIFF_BUILTIN
="#"
35874 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35875 COND_WXUSE_LIBTIFF_BUILTIN
=""
35878 COND_WXUSE_ODBC_BUILTIN
="#"
35879 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35880 COND_WXUSE_ODBC_BUILTIN
=""
35883 COND_WXUSE_REGEX_BUILTIN
="#"
35884 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35885 COND_WXUSE_REGEX_BUILTIN
=""
35888 COND_WXUSE_ZLIB_BUILTIN
="#"
35889 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35890 COND_WXUSE_ZLIB_BUILTIN
=""
35897 if test $GCC_PCH = 1 ; then
35898 CODE_GEN_FLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
35899 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35902 powerpc
-*-darwin* )
35903 CODE_GEN_FLAGS
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
35904 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
35910 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
36010 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36011 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36012 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
36013 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36014 echo $ECHO_N "(cached) $ECHO_C" >&6
36016 cat >conftest.
make <<\_ACEOF
36018 @
echo 'ac_maketemp="$(MAKE)"'
36020 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36021 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36022 if test -n "$ac_maketemp"; then
36023 eval ac_cv_prog_make_
${ac_make}_set
=yes
36025 eval ac_cv_prog_make_
${ac_make}_set
=no
36027 rm -f conftest.
make
36029 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36030 echo "$as_me:$LINENO: result: yes" >&5
36031 echo "${ECHO_T}yes" >&6
36034 echo "$as_me:$LINENO: result: no" >&5
36035 echo "${ECHO_T}no" >&6
36036 SET_MAKE
="MAKE=${MAKE-make}"
36040 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
36041 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
36044 ac_config_headers
="$ac_config_headers setup.h"
36047 ac_config_files
="$ac_config_files wx-config version-script Makefile"
36050 ac_config_commands
="$ac_config_commands default"
36054 if test "$wxUSE_GUI" = "yes"; then
36055 SUBDIRS
="samples demos utils contrib"
36056 else SUBDIRS
="samples utils"
36059 for subdir
in `echo $SUBDIRS`; do
36060 if test -d ${srcdir}/${subdir} ; then
36061 if test "$wxUSE_GUI" = "yes"; then
36062 if test ${subdir} = "samples"; then
36063 makefiles
="samples/Makefile.in $makefiles"
36064 for sample
in `echo $SAMPLES_SUBDIRS`; do
36065 if test -d $srcdir/samples
/$sample; then
36066 makefiles
="samples/$sample/Makefile.in $makefiles"
36069 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
36071 else if test ${subdir} = "samples"; then
36072 makefiles
="samples/Makefile.in samples/console/Makefile.in"
36073 else makefiles
="utils/HelpGen/Makefile.in \
36074 utils/HelpGen/src/Makefile.in \
36075 utils/tex2rtf/Makefile.in \
36076 utils/tex2rtf/src/Makefile.in"
36080 for mkin
in $makefiles ; do
36081 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
36082 ac_config_files
="$ac_config_files $mk"
36089 cat >confcache
<<\_ACEOF
36090 # This file is a shell script that caches the results of configure
36091 # tests run on this system so they can be shared between configure
36092 # scripts and configure runs, see configure's option --config-cache.
36093 # It is not useful on other systems. If it contains results you don't
36094 # want to keep, you may remove or edit it.
36096 # config.status only pays attention to the cache file if you give it
36097 # the --recheck option to rerun configure.
36099 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36100 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36101 # following values.
36105 # The following way of writing the cache mishandles newlines in values,
36106 # but we know of no workaround that is simple, portable, and efficient.
36107 # So, don't put newlines in cache variables' values.
36108 # Ultrix sh set writes to stderr and can't be redirected directly,
36109 # and sets the high bit in the cache file unless we assign to the vars.
36112 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36114 # `set' does not quote correctly, so add quotes (double-quote
36115 # substitution turns \\\\ into \\, and sed turns \\ into \).
36118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36121 # `set' quotes correctly as required by POSIX, so do not add quotes.
36123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36130 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36132 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36134 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36135 if test -w $cache_file; then
36136 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36137 cat confcache
>$cache_file
36139 echo "not updating unwritable cache $cache_file"
36144 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
36145 # Let make expand exec_prefix.
36146 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
36148 # VPATH may cause trouble with some makes, so we remove $(srcdir),
36149 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36150 # trailing colons and then remove the whole line if VPATH becomes empty
36151 # (actually we leave an empty line to preserve line numbers).
36152 if test "x$srcdir" = x.
; then
36153 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
36154 s/:*\$(srcdir):*/:/;
36155 s/:*\${srcdir}:*/:/;
36157 s/^\([^=]*=[ ]*\):*/\1/;
36163 DEFS
=-DHAVE_CONFIG_H
36167 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
36168 # 1. Remove the extension, and $U if already installed.
36169 ac_i
=`echo "$ac_i" |
36170 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
36172 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
36173 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
36175 LIBOBJS
=$ac_libobjs
36177 LTLIBOBJS
=$ac_ltlibobjs
36181 : ${CONFIG_STATUS=./config.status}
36182 ac_clean_files_save
=$ac_clean_files
36183 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
36184 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
36185 echo "$as_me: creating $CONFIG_STATUS" >&6;}
36186 cat >$CONFIG_STATUS <<_ACEOF
36188 # Generated by $as_me.
36189 # Run this file to recreate the current configuration.
36190 # Compiler output produced by configure, useful for debugging
36191 # configure, is in config.log if it exists.
36194 ac_cs_recheck=false
36196 SHELL=\${CONFIG_SHELL-$SHELL}
36199 cat >>$CONFIG_STATUS <<\_ACEOF
36200 ## --------------------- ##
36201 ## M4sh Initialization. ##
36202 ## --------------------- ##
36204 # Be Bourne compatible
36205 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
36208 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
36209 # is contrary to our usage. Disable this feature.
36210 alias -g '${1+"$@"}'='"$@"'
36211 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
36215 # Support unset when possible.
36216 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
36223 # Work around bugs in pre-3.0 UWIN ksh.
36224 $as_unset ENV MAIL MAILPATH
36231 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
36232 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
36233 LC_TELEPHONE LC_TIME
36235 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
36236 eval $as_var=C
; export $as_var
36242 # Required to use basename.
36243 if expr a
: '\(a\)' >/dev
/null
2>&1; then
36249 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
36250 as_basename
=basename
36256 # Name of the executable.
36257 as_me
=`$as_basename "$0" ||
36258 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36259 X"$0" : 'X\(//\)$' \| \
36260 X"$0" : 'X\(/\)$' \| \
36261 . : '\(.\)' 2>/dev/null ||
36263 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36264 /^X\/\(\/\/\)$/{ s//\1/; q; }
36265 /^X\/\(\/\).*/{ s//\1/; q; }
36269 # PATH needs CR, and LINENO needs CR and PATH.
36270 # Avoid depending upon Character Ranges.
36271 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
36272 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36273 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
36274 as_cr_digits
='0123456789'
36275 as_cr_alnum
=$as_cr_Letters$as_cr_digits
36277 # The user is always right.
36278 if test "${PATH_SEPARATOR+set}" != set; then
36279 echo "#! /bin/sh" >conf$$.sh
36280 echo "exit 0" >>conf$$.sh
36282 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
36291 as_lineno_1
=$LINENO
36292 as_lineno_2
=$LINENO
36293 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
36294 test "x$as_lineno_1" != "x$as_lineno_2" &&
36295 test "x$as_lineno_3" = "x$as_lineno_2" || {
36296 # Find who we are. Look in the path if we contain no path at all
36299 *[\\/]* ) as_myself
=$0 ;;
36300 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36301 for as_dir
in $PATH
36304 test -z "$as_dir" && as_dir
=.
36305 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
36310 # We did not find ourselves, most probably we were run as `sh COMMAND'
36311 # in which case we are not to be found in the path.
36312 if test "x$as_myself" = x
; then
36315 if test ! -f "$as_myself"; then
36316 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36317 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36318 { (exit 1); exit 1; }; }
36320 case $CONFIG_SHELL in
36322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36323 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
36326 test -z "$as_dir" && as_dir
=.
36327 for as_base
in sh bash ksh sh5
; do
36330 if ("$as_dir/$as_base" -c '
36331 as_lineno_1=$LINENO
36332 as_lineno_2=$LINENO
36333 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36334 test "x$as_lineno_1" != "x$as_lineno_2" &&
36335 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
36336 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
36337 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
36338 CONFIG_SHELL
=$as_dir/$as_base
36339 export CONFIG_SHELL
36340 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36348 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36349 # uniformly replaced by the line number. The first 'sed' inserts a
36350 # line-number line before each line; the second 'sed' does the real
36351 # work. The second script uses 'N' to pair each line-number line
36352 # with the numbered line, and appends trailing '-' during
36353 # substitution so that $LINENO is not a special case at line end.
36354 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36355 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36356 sed '=' <$as_myself |
36361 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36364 s,^['$as_cr_digits']*\n,,
36365 ' >$as_me.lineno
&&
36366 chmod +x
$as_me.lineno
||
36367 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36368 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36369 { (exit 1); exit 1; }; }
36371 # Don't try to exec as it changes $[0], causing all sort of problems
36372 # (the dirname of $[0] is not the place where we might find the
36373 # original and so on. Autoconf is especially sensible to this).
36375 # Exit status is that of the last command.
36380 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36381 *c
*,-n*) ECHO_N
= ECHO_C
='
36383 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
36384 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
36387 if expr a
: '\(a\)' >/dev
/null
2>&1; then
36393 rm -f conf$$ conf$$.exe conf$$.
file
36395 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
36396 # We could just check for DJGPP; but this test a) works b) is more generic
36397 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36398 if test -f conf$$.exe
; then
36399 # Don't use ln at all; we don't have any links
36404 elif ln conf$$.
file conf$$
2>/dev
/null
; then
36409 rm -f conf$$ conf$$.exe conf$$.
file
36411 if mkdir -p .
2>/dev
/null
; then
36417 as_executable_p
="test -f"
36419 # Sed expression to map a string onto a valid CPP name.
36420 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36422 # Sed expression to map a string onto a valid variable name.
36423 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36427 # We need space, tab and new line, in precisely that order.
36437 # Open the log real soon, to keep \$[0] and so on meaningful, and to
36438 # report actual input values of CONFIG_FILES etc. instead of their
36439 # values after options handling. Logging --version etc. is OK.
36443 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36444 ## Running $as_me. ##
36449 This file was extended by wxWindows $as_me 2.5.1, which was
36450 generated by GNU Autoconf 2.57. Invocation command line was
36452 CONFIG_FILES = $CONFIG_FILES
36453 CONFIG_HEADERS = $CONFIG_HEADERS
36454 CONFIG_LINKS = $CONFIG_LINKS
36455 CONFIG_COMMANDS = $CONFIG_COMMANDS
36459 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36463 # Files that config.status was made for.
36464 if test -n "$ac_config_files"; then
36465 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36468 if test -n "$ac_config_headers"; then
36469 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36472 if test -n "$ac_config_links"; then
36473 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36476 if test -n "$ac_config_commands"; then
36477 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36480 cat >>$CONFIG_STATUS <<\_ACEOF
36483 \`$as_me' instantiates files from templates according to the
36484 current configuration.
36486 Usage: $0 [OPTIONS] [FILE]...
36488 -h, --help print this help, then exit
36489 -V, --version print version number, then exit
36490 -q, --quiet do not print progress messages
36491 -d, --debug don't remove temporary files
36492 --recheck update $as_me by reconfiguring in the same conditions
36493 --file=FILE[:TEMPLATE]
36494 instantiate the configuration file FILE
36495 --header=FILE[:TEMPLATE]
36496 instantiate the configuration header FILE
36498 Configuration files:
36501 Configuration headers:
36504 Configuration commands:
36507 Report bugs to <bug-autoconf@gnu.org>."
36510 cat >>$CONFIG_STATUS <<_ACEOF
36512 wxWindows config.status 2.5.1
36513 configured by $0, generated by GNU Autoconf 2.57,
36514 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36516 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36517 Free Software Foundation, Inc.
36518 This config.status script is free software; the Free Software Foundation
36519 gives unlimited permission to copy, distribute and modify it."
36524 cat >>$CONFIG_STATUS <<\_ACEOF
36525 # If no file are specified by the user, then we need to provide default
36526 # value. By we need to know if files were specified by the user.
36532 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
36533 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
36541 *) # This is not an option, so the user has probably given explicit
36544 ac_need_defaults
=false
;;
36548 # Handling of the options.
36550 cat >>$CONFIG_STATUS <<\_ACEOF
36551 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36553 --version | --vers* | -V )
36554 echo "$ac_cs_version"; exit 0 ;;
36556 # Conflict between --help and --header
36557 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36558 Try \`$0 --help' for more information." >&5
36559 echo "$as_me: error: ambiguous option: $1
36560 Try \`$0 --help' for more information." >&2;}
36561 { (exit 1); exit 1; }; };;
36562 --help | --hel | -h )
36563 echo "$ac_cs_usage"; exit 0 ;;
36564 --debug | --d* | -d )
36566 --file | --fil | --fi | --f )
36568 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
36569 ac_need_defaults
=false
;;
36570 --header | --heade | --head | --hea )
36572 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
36573 ac_need_defaults
=false
;;
36574 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36575 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36578 # This is an error.
36579 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36580 Try \`$0 --help' for more information." >&5
36581 echo "$as_me: error: unrecognized option: $1
36582 Try \`$0 --help' for more information." >&2;}
36583 { (exit 1); exit 1; }; } ;;
36585 *) ac_config_targets
="$ac_config_targets $1" ;;
36591 ac_configure_extra_args
=
36593 if $ac_cs_silent; then
36595 ac_configure_extra_args
="$ac_configure_extra_args --silent"
36599 cat >>$CONFIG_STATUS <<_ACEOF
36600 if \$ac_cs_recheck; then
36601 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36602 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36607 cat >>$CONFIG_STATUS <<_ACEOF
36609 # INIT-COMMANDS section.
36613 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36622 cat >>$CONFIG_STATUS <<\_ACEOF
36623 for ac_config_target
in $ac_config_targets
36625 case "$ac_config_target" in
36626 # Handling of arguments.
36627 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
36628 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
36629 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
36630 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
36631 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
36632 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
36633 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36634 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36635 { (exit 1); exit 1; }; };;
36639 # If the user did not use the arguments to specify the items to instantiate,
36640 # then the envvar interface is used. Set only those that are not.
36641 # We use the long form for the default assignment because of an extremely
36642 # bizarre bug on SunOS 4.1.3.
36643 if $ac_need_defaults; then
36644 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
36645 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
36646 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
36649 # Have a temporary directory for convenience. Make it in the build tree
36650 # simply because there is no reason to put it here, and in addition,
36651 # creating and moving files from /tmp can sometimes cause problems.
36652 # Create a temporary directory, and hook for its removal unless debugging.
36655 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36656 trap '{ (exit 1); exit 1; }' 1 2 13 15
36659 # Create a (secure) tmp directory for tmp files.
36662 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36663 test -n "$tmp" && test -d "$tmp"
36666 tmp
=.
/confstat$$
-$RANDOM
36667 (umask 077 && mkdir $tmp)
36670 echo "$me: cannot create a temporary directory in ." >&2
36671 { (exit 1); exit 1; }
36676 cat >>$CONFIG_STATUS <<_ACEOF
36679 # CONFIG_FILES section.
36682 # No need to generate the scripts if there are no CONFIG_FILES.
36683 # This happens for instance when ./config.status config.h
36684 if test -n "\$CONFIG_FILES"; then
36685 # Protect against being on the right side of a sed subst in config.status.
36686 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36687 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36688 s,@SHELL@,$SHELL,;t t
36689 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36690 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36691 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36692 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36693 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36694 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36695 s,@exec_prefix@,$exec_prefix,;t t
36696 s,@prefix@,$prefix,;t t
36697 s,@program_transform_name@,$program_transform_name,;t t
36698 s,@bindir@,$bindir,;t t
36699 s,@sbindir@,$sbindir,;t t
36700 s,@libexecdir@,$libexecdir,;t t
36701 s,@datadir@,$datadir,;t t
36702 s,@sysconfdir@,$sysconfdir,;t t
36703 s,@sharedstatedir@,$sharedstatedir,;t t
36704 s,@localstatedir@,$localstatedir,;t t
36705 s,@libdir@,$libdir,;t t
36706 s,@includedir@,$includedir,;t t
36707 s,@oldincludedir@,$oldincludedir,;t t
36708 s,@infodir@,$infodir,;t t
36709 s,@mandir@,$mandir,;t t
36710 s,@build_alias@,$build_alias,;t t
36711 s,@host_alias@,$host_alias,;t t
36712 s,@target_alias@,$target_alias,;t t
36713 s,@DEFS@,$DEFS,;t t
36714 s,@ECHO_C@,$ECHO_C,;t t
36715 s,@ECHO_N@,$ECHO_N,;t t
36716 s,@ECHO_T@,$ECHO_T,;t t
36717 s,@LIBS@,$LIBS,;t t
36718 s,@build@,$build,;t t
36719 s,@build_cpu@,$build_cpu,;t t
36720 s,@build_vendor@,$build_vendor,;t t
36721 s,@build_os@,$build_os,;t t
36722 s,@host@,$host,;t t
36723 s,@host_cpu@,$host_cpu,;t t
36724 s,@host_vendor@,$host_vendor,;t t
36725 s,@host_os@,$host_os,;t t
36726 s,@target@,$target,;t t
36727 s,@target_cpu@,$target_cpu,;t t
36728 s,@target_vendor@,$target_vendor,;t t
36729 s,@target_os@,$target_os,;t t
36731 s,@CFLAGS@,$CFLAGS,;t t
36732 s,@LDFLAGS@,$LDFLAGS,;t t
36733 s,@CPPFLAGS@,$CPPFLAGS,;t t
36734 s,@ac_ct_CC@,$ac_ct_CC,;t t
36735 s,@EXEEXT@,$EXEEXT,;t t
36736 s,@OBJEXT@,$OBJEXT,;t t
36738 s,@EGREP@,$EGREP,;t t
36740 s,@CXXFLAGS@,$CXXFLAGS,;t t
36741 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36742 s,@RANLIB@,$RANLIB,;t t
36743 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36745 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36746 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36747 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36748 s,@STRIP@,$STRIP,;t t
36749 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36750 s,@LN_S@,$LN_S,;t t
36751 s,@CXXCPP@,$CXXCPP,;t t
36752 s,@subdirs@,$subdirs,;t t
36753 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36754 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36755 s,@GTK_LIBS@,$GTK_LIBS,;t t
36756 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36757 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36758 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36759 s,@X_CFLAGS@,$X_CFLAGS,;t t
36760 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36761 s,@X_LIBS@,$X_LIBS,;t t
36762 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36763 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36764 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36765 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36766 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36767 s,@RESCOMP@,$RESCOMP,;t t
36768 s,@DEREZ@,$DEREZ,;t t
36769 s,@SETFILE@,$SETFILE,;t t
36770 s,@LIBICONV@,$LIBICONV,;t t
36771 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36772 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36773 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36774 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36775 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36776 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36777 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36778 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36779 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36780 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36781 s,@VENDOR@,$VENDOR,;t t
36782 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36783 s,@WXUNIV@,$WXUNIV,;t t
36784 s,@MONOLITHIC@,$MONOLITHIC,;t t
36785 s,@EXTRALIBS@,$EXTRALIBS,;t t
36786 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36787 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
36788 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36789 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36790 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36791 s,@UNICODE@,$UNICODE,;t t
36792 s,@BUILD@,$BUILD,;t t
36793 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36794 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36795 s,@SHARED@,$SHARED,;t t
36796 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36797 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36798 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36799 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36800 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36801 s,@SET_MAKE@,$SET_MAKE,;t t
36802 s,@MAKE_SET@,$MAKE_SET,;t t
36803 s,@ac_ct_AR@,$ac_ct_AR,;t t
36804 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36806 s,@ac_ct_NM@,$ac_ct_NM,;t t
36807 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36808 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36809 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36810 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36811 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36812 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36813 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36814 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36815 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36816 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36817 s,@LIBPREFIX@,$LIBPREFIX,;t t
36818 s,@DLLPREFIX@,$DLLPREFIX,;t t
36819 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36820 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36821 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36822 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36823 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36824 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36825 s,@PIC_FLAG@,$PIC_FLAG,;t t
36826 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36827 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36828 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36829 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36830 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36831 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36832 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36833 s,@GCC_PCH@,$GCC_PCH,;t t
36834 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36835 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36836 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36837 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36838 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36839 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36840 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36841 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36842 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36843 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36844 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36845 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36846 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36847 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36848 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
36849 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36850 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36851 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36852 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36853 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
36854 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36855 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36856 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36857 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36858 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36859 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36860 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36861 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36862 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36863 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36864 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36865 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36866 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
36867 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36868 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36869 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36870 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36871 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36872 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
36873 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36874 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36875 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36876 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36877 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36878 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36879 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36880 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36881 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36882 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36883 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36884 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36885 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36886 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36887 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36888 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36889 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36890 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36891 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36892 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36893 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36894 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36895 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36896 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36897 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36898 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36899 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36900 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36901 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36902 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36903 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36904 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36905 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36906 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36907 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36908 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36909 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36910 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36911 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36912 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36913 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36914 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36915 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36916 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36917 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
36918 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36919 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36920 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36921 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36922 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36923 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36924 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36925 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36926 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36927 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36928 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36929 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36930 s,@PATH_IFS@,$PATH_IFS,;t t
36931 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36932 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36933 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36934 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36935 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36936 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36937 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36938 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36939 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36940 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36941 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36942 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36943 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36944 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36945 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36946 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36947 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36948 s,@WX_ALL@,$WX_ALL,;t t
36949 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36950 s,@SHARED_LD@,$SHARED_LD,;t t
36951 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36952 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36953 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36954 s,@USE_GUI@,$USE_GUI,;t t
36955 s,@AFMINSTALL@,$AFMINSTALL,;t t
36956 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36957 s,@TOOLKIT@,$TOOLKIT,;t t
36958 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36959 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36960 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36961 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36962 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36963 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36964 s,@cross_compiling@,$cross_compiling,;t t
36965 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36966 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36967 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36968 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36969 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36970 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36971 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36972 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36973 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36974 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36975 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36976 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36977 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36978 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36979 s,@GUIDIST@,$GUIDIST,;t t
36980 s,@PORT_FILES@,$PORT_FILES,;t t
36981 s,@DISTDIR@,$DISTDIR,;t t
36982 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36983 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36984 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36985 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36986 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36987 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36988 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36989 s,@RESFLAGS@,$RESFLAGS,;t t
36990 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36991 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36992 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36993 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36994 s,@MACRESCOMP@,$MACRESCOMP,;t t
36995 s,@MACSETFILE@,$MACSETFILE,;t t
36996 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36998 s,@DLLTOOL@,$DLLTOOL,;t t
37001 s,@MAKEINFO@,$MAKEINFO,;t t
37002 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
37003 s,@LIBOBJS@,$LIBOBJS,;t t
37004 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
37009 cat >>$CONFIG_STATUS <<\_ACEOF
37010 # Split the substitutions into bite-sized pieces for seds with
37011 # small command number limits, like on Digital OSF/1 and HP-UX.
37012 ac_max_sed_lines
=48
37013 ac_sed_frag
=1 # Number of current file.
37014 ac_beg
=1 # First line for current file.
37015 ac_end
=$ac_max_sed_lines # Line after last line for current file.
37018 while $ac_more_lines; do
37019 if test $ac_beg -gt 1; then
37020 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
37022 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
37024 if test ! -s $tmp/subs.frag
; then
37025 ac_more_lines
=false
37027 # The purpose of the label and of the branching condition is to
37028 # speed up the sed processing (if there are no `@' at all, there
37029 # is no need to browse any of the substitutions).
37030 # These are the two extra sed commands mentioned above.
37032 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
37033 if test -z "$ac_sed_cmds"; then
37034 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
37036 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
37038 ac_sed_frag
=`expr $ac_sed_frag + 1`
37040 ac_end
=`expr $ac_end + $ac_max_sed_lines`
37043 if test -z "$ac_sed_cmds"; then
37046 fi # test -n "$CONFIG_FILES"
37049 cat >>$CONFIG_STATUS <<\_ACEOF
37050 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
37051 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37053 - | *:- | *:-:* ) # input from stdin
37055 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37056 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37057 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37058 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37059 * ) ac_file_in
=$ac_file.
in ;;
37062 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
37063 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
37064 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37065 X"$ac_file" : 'X\(//\)[^/]' \| \
37066 X"$ac_file" : 'X\(//\)$' \| \
37067 X"$ac_file" : 'X\(/\)' \| \
37068 . : '\(.\)' 2>/dev/null ||
37070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37071 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37072 /^X\(\/\/\)$/{ s//\1/; q; }
37073 /^X\(\/\).*/{ s//\1/; q; }
37075 { if $as_mkdir_p; then
37080 while test ! -d "$as_dir"; do
37081 as_dirs
="$as_dir $as_dirs"
37082 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37083 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37084 X"$as_dir" : 'X\(//\)[^/]' \| \
37085 X"$as_dir" : 'X\(//\)$' \| \
37086 X"$as_dir" : 'X\(/\)' \| \
37087 . : '\(.\)' 2>/dev/null ||
37089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37090 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37091 /^X\(\/\/\)$/{ s//\1/; q; }
37092 /^X\(\/\).*/{ s//\1/; q; }
37095 test ! -n "$as_dirs" || mkdir $as_dirs
37096 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37097 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37098 { (exit 1); exit 1; }; }; }
37102 if test "$ac_dir" != .
; then
37103 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37104 # A "../" for each directory in $ac_dir_suffix.
37105 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37107 ac_dir_suffix
= ac_top_builddir
=
37111 .
) # No --srcdir option. We are building in place.
37113 if test -z "$ac_top_builddir"; then
37116 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37118 [\\/]* | ?
:[\\/]* ) # Absolute path.
37119 ac_srcdir
=$srcdir$ac_dir_suffix;
37120 ac_top_srcdir
=$srcdir ;;
37121 *) # Relative path.
37122 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37123 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37125 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37127 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37128 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37129 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37130 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37134 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
37135 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
37138 if test x
"$ac_file" != x
-; then
37139 { echo "$as_me:$LINENO: creating $ac_file" >&5
37140 echo "$as_me: creating $ac_file" >&6;}
37143 # Let's still pretend it is `configure' which instantiates (i.e., don't
37144 # use $as_me), people would be surprised to read:
37145 # /* config.h. Generated by config.status. */
37146 if test x
"$ac_file" = x
-; then
37149 configure_input
="$ac_file. "
37151 configure_input
=$configure_input"Generated from `echo $ac_file_in |
37152 sed 's,.*/,,'` by configure."
37154 # First look for the input files in the build tree, otherwise in the
37156 ac_file_inputs
=`IFS=:
37157 for f in $ac_file_in; do
37159 -) echo $tmp/stdin ;;
37161 # Absolute (can't be DOS-style, as IFS=:)
37162 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37163 echo "$as_me: error: cannot find input file: $f" >&2;}
37164 { (exit 1); exit 1; }; }
37167 if test -f "$f"; then
37170 elif test -f "$srcdir/$f"; then
37175 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37176 echo "$as_me: error: cannot find input file: $f" >&2;}
37177 { (exit 1); exit 1; }; }
37180 done` || { (exit 1); exit 1; }
37182 cat >>$CONFIG_STATUS <<_ACEOF
37186 cat >>$CONFIG_STATUS <<\_ACEOF
37188 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
37189 s
,@configure_input@
,$configure_input,;t t
37190 s
,@srcdir@
,$ac_srcdir,;t t
37191 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
37192 s
,@top_srcdir@
,$ac_top_srcdir,;t t
37193 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
37194 s
,@builddir@
,$ac_builddir,;t t
37195 s
,@abs_builddir@
,$ac_abs_builddir,;t t
37196 s
,@top_builddir@
,$ac_top_builddir,;t t
37197 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
37198 s
,@INSTALL@
,$ac_INSTALL,;t t
37199 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
37201 if test x"$ac_file" != x-; then
37202 mv $tmp/out $ac_file
37210 cat >>$CONFIG_STATUS <<\_ACEOF
37213 # CONFIG_HEADER section.
37216 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
37217 # NAME is the cpp macro being defined and VALUE is the value it is being given.
37219 # ac_d sets the value in "#define NAME VALUE" lines.
37220 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
37221 ac_dB
='[ ].*$,\1#\2'
37224 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
37225 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
37226 ac_uB
='$,\1#\2define\3'
37230 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
37231 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37233 - | *:- | *:-:* ) # input from stdin
37235 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37236 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37237 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37238 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37239 * ) ac_file_in
=$ac_file.
in ;;
37242 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37243 echo "$as_me: creating $ac_file" >&6;}
37245 # First look for the input files in the build tree, otherwise in the
37247 ac_file_inputs
=`IFS=:
37248 for f in $ac_file_in; do
37250 -) echo $tmp/stdin ;;
37252 # Absolute (can't be DOS-style, as IFS=:)
37253 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37254 echo "$as_me: error: cannot find input file: $f" >&2;}
37255 { (exit 1); exit 1; }; }
37258 if test -f "$f"; then
37261 elif test -f "$srcdir/$f"; then
37266 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37267 echo "$as_me: error: cannot find input file: $f" >&2;}
37268 { (exit 1); exit 1; }; }
37271 done` || { (exit 1); exit 1; }
37272 # Remove the trailing spaces.
37273 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37277 # Transform confdefs.h into two sed scripts, `conftest.defines' and
37278 # `conftest.undefs', that substitutes the proper values into
37279 # config.h.in to produce config.h. The first handles `#define'
37280 # templates, and the second `#undef' templates.
37281 # And first: Protect against being on the right side of a sed subst in
37282 # config.status. Protect against being in an unquoted here document
37283 # in config.status.
37284 rm -f conftest.defines conftest.undefs
37285 # Using a here document instead of a string reduces the quoting nightmare.
37286 # Putting comments in sed scripts is not portable.
37288 # `end' is used to avoid that the second main sed command (meant for
37289 # 0-ary CPP macros) applies to n-ary macro definitions.
37290 # See the Autoconf documentation for `clear'.
37291 cat >confdef2sed.
sed <<\_ACEOF
37296 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37298 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37301 # If some macros were called several times there might be several times
37302 # the same #defines, which is useless. Nevertheless, we may not want to
37303 # sort them, since we want the *last* AC-DEFINE to be honored.
37304 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37305 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37306 rm -f confdef2sed.sed
37308 # This sed command replaces #undef with comments. This is necessary, for
37309 # example, in the case of _POSIX_SOURCE, which is predefined and required
37310 # on some systems where configure will not decide to define it.
37311 cat >>conftest.undefs <<\_ACEOF
37312 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37315 # Break up conftest.defines because some shells have a limit on the size
37316 # of here documents, and old seds have small limits too (100 cmds).
37317 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37318 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37319 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37320 echo ' :' >>$CONFIG_STATUS
37321 rm -f conftest.tail
37322 while grep . conftest.defines >/dev/null
37324 # Write a limited-size here document to $tmp/defines.sed.
37325 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37326 # Speed up: don't consider the non `#define' lines.
37327 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37328 # Work around the forget-to-reset-the-flag bug.
37329 echo 't clr' >>$CONFIG_STATUS
37330 echo ': clr' >>$CONFIG_STATUS
37331 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
37333 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37335 mv $tmp/out $tmp/in
37337 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
37338 rm -f conftest.defines
37339 mv conftest.
tail conftest.defines
37341 rm -f conftest.defines
37342 echo ' fi # grep' >>$CONFIG_STATUS
37343 echo >>$CONFIG_STATUS
37345 # Break up conftest.undefs because some shells have a limit on the size
37346 # of here documents, and old seds have small limits too (100 cmds).
37347 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37348 rm -f conftest.
tail
37349 while grep . conftest.undefs
>/dev
/null
37351 # Write a limited-size here document to $tmp/undefs.sed.
37352 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37353 # Speed up: don't consider the non
`#undef'
37354 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37355 # Work around the forget-to-reset-the-flag bug.
37356 echo 't clr' >>$CONFIG_STATUS
37357 echo ': clr' >>$CONFIG_STATUS
37358 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37360 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37362 mv $tmp/out $tmp/in
37364 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37365 rm -f conftest.undefs
37366 mv conftest.tail conftest.undefs
37368 rm -f conftest.undefs
37370 cat >>$CONFIG_STATUS <<\_ACEOF
37371 # Let's still pretend it is `configure
' which instantiates (i.e., don't
37372 # use $as_me), people would be surprised to read:
37373 # /* config.h. Generated by config.status. */
37374 if test x
"$ac_file" = x
-; then
37375 echo "/* Generated by configure. */" >$tmp/config.h
37377 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37379 cat $tmp/in >>$tmp/config.h
37381 if test x
"$ac_file" != x
-; then
37382 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
37383 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37384 echo "$as_me: $ac_file is unchanged" >&6;}
37386 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
37387 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37388 X"$ac_file" : 'X\(//\)[^/]' \| \
37389 X"$ac_file" : 'X\(//\)$' \| \
37390 X"$ac_file" : 'X\(/\)' \| \
37391 . : '\(.\)' 2>/dev/null ||
37393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37394 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37395 /^X\(\/\/\)$/{ s//\1/; q; }
37396 /^X\(\/\).*/{ s//\1/; q; }
37398 { if $as_mkdir_p; then
37403 while test ! -d "$as_dir"; do
37404 as_dirs
="$as_dir $as_dirs"
37405 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37406 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37407 X"$as_dir" : 'X\(//\)[^/]' \| \
37408 X"$as_dir" : 'X\(//\)$' \| \
37409 X"$as_dir" : 'X\(/\)' \| \
37410 . : '\(.\)' 2>/dev/null ||
37412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37413 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37414 /^X\(\/\/\)$/{ s//\1/; q; }
37415 /^X\(\/\).*/{ s//\1/; q; }
37418 test ! -n "$as_dirs" || mkdir $as_dirs
37419 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37420 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37421 { (exit 1); exit 1; }; }; }
37424 mv $tmp/config.h
$ac_file
37428 rm -f $tmp/config.h
37432 cat >>$CONFIG_STATUS <<\_ACEOF
37435 # CONFIG_COMMANDS section.
37437 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
37438 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
37439 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37440 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
37441 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37442 X"$ac_dest" : 'X\(//\)[^/]' \| \
37443 X"$ac_dest" : 'X\(//\)$' \| \
37444 X"$ac_dest" : 'X\(/\)' \| \
37445 . : '\(.\)' 2>/dev/null ||
37447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37448 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37449 /^X\(\/\/\)$/{ s//\1/; q; }
37450 /^X\(\/\).*/{ s//\1/; q; }
37454 if test "$ac_dir" != .
; then
37455 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37456 # A "../" for each directory in $ac_dir_suffix.
37457 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37459 ac_dir_suffix
= ac_top_builddir
=
37463 .
) # No --srcdir option. We are building in place.
37465 if test -z "$ac_top_builddir"; then
37468 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37470 [\\/]* | ?
:[\\/]* ) # Absolute path.
37471 ac_srcdir
=$srcdir$ac_dir_suffix;
37472 ac_top_srcdir
=$srcdir ;;
37473 *) # Relative path.
37474 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37475 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37477 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37479 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37480 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37481 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37482 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37485 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37486 echo "$as_me: executing $ac_dest commands" >&6;}
37489 if test ! -h wx
-config; then
37491 mv wx
-config wx
${TOOLCHAIN_NAME}-config
37492 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
37495 if test ! -d lib
; then
37498 if test ! -d lib
/wx
; then
37501 if test ! -d lib
/wx
/include
; then
37502 mkdir lib
/wx
/include
37504 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
37505 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
37507 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
37508 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
37510 if test -f setup.h
; then
37511 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
37518 cat >>$CONFIG_STATUS <<\_ACEOF
37520 { (exit 0); exit 0; }
37522 chmod +x
$CONFIG_STATUS
37523 ac_clean_files
=$ac_clean_files_save
37526 # configure is writing to config.log, and then calls config.status.
37527 # config.status does its own redirection, appending to config.log.
37528 # Unfortunately, on DOS this fails, as config.log is still kept open
37529 # by configure, so config.status won't be able to write to it; its
37530 # output is simply discarded. So we exec the FD to /dev/null,
37531 # effectively closing config.log, so it can be properly (re)opened and
37532 # appended to by config.status. When coming back to configure, we
37533 # need to make the FD available again.
37534 if test "$no_create" != yes; then
37536 ac_config_status_args
=
37537 test "$silent" = yes &&
37538 ac_config_status_args
="$ac_config_status_args --quiet"
37540 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
37542 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37543 # would make configure fail if this is the last instruction.
37544 $ac_cs_success || { (exit 1); exit 1; }
37548 # CONFIG_SUBDIRS section.
37550 if test "$no_recursion" != yes; then
37552 # Remove --cache-file and --srcdir arguments so they do not pile up.
37553 ac_sub_configure_args
=
37555 for ac_arg
in $ac_configure_args; do
37556 if test -n "$ac_prev"; then
37561 -cache-file | --cache-file | --cache-fil | --cache-fi \
37562 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37563 ac_prev
=cache_file
;;
37564 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37565 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37568 --config-cache | -C)
37570 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37572 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37574 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37576 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37578 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
37582 # Always prepend --prefix to ensure using the same prefix
37583 # in subdir configurations.
37584 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
37587 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
37589 # Do not complain, so a configure script can configure whichever
37590 # parts of a large source tree are present.
37591 test -d $srcdir/$ac_dir || continue
37593 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37594 echo "$as_me: configuring in $ac_dir" >&6;}
37595 { if $as_mkdir_p; then
37600 while test ! -d "$as_dir"; do
37601 as_dirs
="$as_dir $as_dirs"
37602 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37603 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37604 X"$as_dir" : 'X\(//\)[^/]' \| \
37605 X"$as_dir" : 'X\(//\)$' \| \
37606 X"$as_dir" : 'X\(/\)' \| \
37607 . : '\(.\)' 2>/dev/null ||
37609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37610 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37611 /^X\(\/\/\)$/{ s//\1/; q; }
37612 /^X\(\/\).*/{ s//\1/; q; }
37615 test ! -n "$as_dirs" || mkdir $as_dirs
37616 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37617 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37618 { (exit 1); exit 1; }; }; }
37622 if test "$ac_dir" != .
; then
37623 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37624 # A "../" for each directory in $ac_dir_suffix.
37625 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37627 ac_dir_suffix
= ac_top_builddir
=
37631 .
) # No --srcdir option. We are building in place.
37633 if test -z "$ac_top_builddir"; then
37636 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37638 [\\/]* | ?
:[\\/]* ) # Absolute path.
37639 ac_srcdir
=$srcdir$ac_dir_suffix;
37640 ac_top_srcdir
=$srcdir ;;
37641 *) # Relative path.
37642 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37643 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37645 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37647 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37648 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37649 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37650 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37655 # Check for guested configure; otherwise get Cygnus style configure.
37656 if test -f $ac_srcdir/configure.gnu
; then
37657 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
37658 elif test -f $ac_srcdir/configure
; then
37659 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
37660 elif test -f $ac_srcdir/configure.
in; then
37661 ac_sub_configure
=$ac_configure
37663 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37664 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37668 # The recursion is here.
37669 if test -n "$ac_sub_configure"; then
37670 # Make the cache file name correct relative to the subdirectory.
37671 case $cache_file in
37672 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
37673 *) # Relative path.
37674 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
37677 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37678 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37679 # The eval makes quoting arguments work.
37680 eval $ac_sub_configure $ac_sub_configure_args \
37681 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37682 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37683 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37684 { (exit 1); exit 1; }; }
37693 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37695 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
37696 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37698 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37699 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37700 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37702 echo " What level of wxWindows compatibility should be enabled?"
37703 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37704 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37706 echo " Which libraries should wxWindows use?"
37707 echo " jpeg ${wxUSE_LIBJPEG-none}"
37708 echo " png ${wxUSE_LIBPNG-none}"
37709 echo " regex ${wxUSE_REGEX}"
37710 echo " tiff ${wxUSE_LIBTIFF-none}"
37711 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
37712 echo " xpm ${wxUSE_LIBXPM-none}"
37714 echo " zlib ${wxUSE_ZLIB}"
37715 echo " odbc ${wxUSE_ODBC}"
37716 echo " expat ${wxUSE_EXPAT}"
37717 echo " libmspack ${wxUSE_LIBMSPACK}"