2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for wxWindows 2.5.0.
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
27 # Support unset when possible.
28 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='wxWindows'
271 PACKAGE_TARNAME
='wxwindows'
272 PACKAGE_VERSION
='2.5.0'
273 PACKAGE_STRING
='wxWindows 2.5.0'
274 PACKAGE_BUGREPORT
='wx-dev@lists.wxwindows.org'
276 ac_unique_file
="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subdirs_all
="$ac_subdirs_all src/expat"
315 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX SO_SUFFIX_MODULE DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_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_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_OS2 COND_TOOLKIT_OS2_USE_GUI_1 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS NM LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
377 -build | --build | --buil | --bui | --bu)
378 ac_prev
=build_alias
;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev
=cache_file
;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* | --disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* | --enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
433 -help | --help | --hel | --he | -h)
435 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
438 ac_init_help
=short
;;
440 -host | --host | --hos | --ho)
441 ac_prev
=host_alias
;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev
=includedir
;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir | --libdir | --libdi | --libd)
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 # Obsolete; use --without-fp.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site | --site | --sit)
563 -site=* | --site=* | --sit=*)
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev
=target_alias
;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias
=$ac_optarg ;;
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
586 -version | --version | --versio | --versi | --vers | -V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* | --without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
776 ac_env_CXX_set
=${CXX+set}
777 ac_env_CXX_value
=$CXX
778 ac_cv_env_CXX_set
=${CXX+set}
779 ac_cv_env_CXX_value
=$CXX
780 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value
=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
784 ac_env_CXXCPP_set
=${CXXCPP+set}
785 ac_env_CXXCPP_value
=$CXXCPP
786 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value
=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --x-includes=DIR X include files are
in DIR
851 --x-libraries=DIR X library files are
in DIR
854 --build=BUILD configure
for building on BUILD
[guessed
]
855 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
856 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
860 if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short
| recursive
) echo "Configuration of wxWindows 2.5.0:";;
867 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
868 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don
't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat20 enable wxWindows 2.0 compatibility
889 --enable-compat22 enable wxWindows 2.2 compatibility
890 --disable-compat24 disable wxWindows 2.4 compatibility
891 --enable-rpath=DIR output the rpath flag from wx-config
892 --enable-intl use internationalization system
893 --enable-config use wxConfig (and derived) classes
894 --enable-protocols use wxProtocol and derived classes
895 --enable-ftp use wxFTP (requires wxProtocol
896 --enable-http use wxHTTP (requires wxProtocol
897 --enable-fileproto use wxFileProto class (requires wxProtocol
898 --enable-sockets use socket/network classes
899 --enable-ole use OLE classes
900 --enable-dataobj use data object classes
901 --enable-ipc use interprocess communication (wxSocket etc.)
902 --enable-cmdline use wxCmdLineParser class
903 --enable-datetime use wxDateTime class
904 --enable-stopwatch use wxStopWatch class
905 --enable-dialupman use dialup network classes
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-timer use wxTimer class
908 --enable-wave use wxWave class
909 --enable-fraction use wxFraction class
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-longlong use wxLongLong class
913 --enable-geometry use geometry class
914 --enable-log use logging system
915 --enable-streams use wxStream etc classes
916 --enable-file use wxFile classes
917 --enable-ffile use wxFFile classes
918 --enable-textbuf use wxTextBuffer class
919 --enable-textfile use wxTextFile class
920 --enable-fontmap use font encodings conversion classes
921 --enable-unicode compile wxString with Unicode support
922 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
923 --enable-wxprintfv use wxWindows implementation of vprintf()
924 --enable-std_iostreams use standard C++ stream classes
925 --enable-filesystem use virtual file systems classes
926 --enable-fs_inet use virtual HTTP/FTP filesystems
927 --enable-fs_zip use virtual ZIP filesystems
928 --enable-zipstream use wxZipInputStream
929 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
930 --enable-snglinst use wxSingleInstanceChecker class
931 --enable-mimetype use wxMimeTypesManager
932 --enable-sysoptions use wxSystemOptions
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n
'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbox use wxListBox class
971 --enable-listctrl use wxListCtrl class
972 --enable-notebook use wxNotebook class
973 --enable-radiobox use wxRadioBox class
974 --enable-radiobtn use wxRadioButton class
975 --enable-sash use wxSashWindow class
976 --enable-scrollbar use wxScrollBar class and scrollable windows
977 --enable-slider use wxSlider class
978 --enable-spinbtn use wxSpinButton class
979 --enable-spinctrl use wxSpinCtrl class
980 --enable-splitter use wxSplitterWindow class
981 --enable-statbmp use wxStaticBitmap class
982 --enable-statbox use wxStaticBox class
983 --enable-statline use wxStaticLine class
984 --enable-stattext use wxStaticText class
985 --enable-statusbar use wxStatusBar class
986 --enable-tabdialog use wxTabControl class
987 --enable-textctrl use wxTextCtrl class
988 --enable-togglebtn use wxToggleButton class
989 --enable-toolbar use wxToolBar class
990 --enable-tbarnative use native wxToolBar class
991 --enable-tbarsmpl use wxToolBarSimple class
992 --enable-treectrl use wxTreeCtrl class
993 --enable-tipwindow use wxTipWindow class
994 --enable-popupwin use wxPopUpWindow class
995 --enable-commondlg use all common dialogs
996 --enable-choicedlg use wxChoiceDialog
997 --enable-coldlg use wxColourDialog
998 --enable-filedlg use wxFileDialog
999 --enable-finddlg use wxFindReplaceDialog
1000 --enable-fontdlg use wxFontDialog
1001 --enable-dirdlg use wxDirDialog
1002 --enable-msgdlg use wxMessageDialog
1003 --enable-numberdlg use wxNumberEntryDialog
1004 --enable-splash use wxSplashScreen
1005 --enable-textdlg use wxTextDialog
1006 --enable-tipdlg use startup tips
1007 --enable-progressdlg use wxProgressDialog
1008 --enable-wizarddlg use wxWizard
1009 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1010 --enable-miniframe use wxMiniFrame class
1011 --enable-tooltips use wxToolTip class
1012 --enable-splines use spline drawing code
1013 --enable-validators use wxValidator and derived classes
1014 --enable-busyinfo use wxBusyInfo
1015 --enable-joystick use wxJoystick (Linux only)
1016 --enable-metafiles use wxMetaFile (Windows only)
1017 --enable-dragimage use wxDragImage
1018 --enable-accessibility enable accessibility support
1019 --enable-palette use wxPalette class
1020 --enable-image use wxImage class
1021 --enable-gif use gif images (GIF file format)
1022 --enable-pcx use pcx images (PCX file format)
1023 --enable-iff use iff images (IFF file format)
1024 --enable-pnm use pnm images (PNM file format)
1025 --enable-xpm use xpm images (XPM file format)
1026 --enable-icocur use Windows ICO and CUR formats
1027 --enable-official_build official build of wxWindows (win32 DLL only)
1028 --enable-vendor=VENDOR vendor name (win32 DLL only)
1029 --disable-largefile omit support for large files
1030 --disable-gtktest do not try to compile and run a test GTK+ program
1031 --disable-gtktest Do not try to compile and run a test GTK program
1032 --disable-precomp-headers don't use precompiled headers even
if compiler can
1035 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1036 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1038 --with-motif use Motif
/Lesstif
1039 --with-mac use Mac OS X
1040 --with-cocoa use Cocoa
1041 --with-wine use Wine
1042 --with-msw use MS
-Windows
1043 --with-pm use OS
/2 Presentation Manager
1044 --with-mgl use SciTech MGL
1045 --with-microwin use MicroWindows
1047 --with-libpng use libpng
(PNG image format
)
1048 --with-libjpeg use libjpeg
(JPEG
file format
)
1049 --with-libtiff use libtiff
(TIFF
file format
)
1050 --with-opengl use OpenGL
(or Mesa
)
1051 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1052 --with-regex enable support
for wxRegEx class
1053 --with-zlib use zlib
for LZW compression
1054 --with-odbc use the IODBC and wxODBC classes
1055 --with-expat enable XML support using expat parser
1056 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1057 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1058 --with-x use the X Window System
1059 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1061 Some influential environment variables
:
1062 CC C compiler
command
1063 CFLAGS C compiler flags
1064 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1065 nonstandard directory
<lib dir
>
1066 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1067 headers
in a nonstandard directory
<include dir
>
1069 CXX C
++ compiler
command
1070 CXXFLAGS C
++ compiler flags
1071 CXXCPP C
++ preprocessor
1073 Use these variables to override the choices made by
`configure' or to help
1074 it to find libraries and programs with nonstandard names/locations.
1076 Report bugs to <wx-dev@lists.wxwindows.org>.
1080 if test "$ac_init_help" = "recursive"; then
1081 # If there are subdirs, report their specific --help.
1083 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1084 test -d $ac_dir || continue
1087 if test "$ac_dir" != .; then
1088 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1089 # A "../" for each directory in $ac_dir_suffix.
1090 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1092 ac_dir_suffix= ac_top_builddir=
1096 .) # No --srcdir option. We are building in place.
1098 if test -z "$ac_top_builddir"; then
1101 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1103 [\\/]* | ?:[\\/]* ) # Absolute path.
1104 ac_srcdir=$srcdir$ac_dir_suffix;
1105 ac_top_srcdir=$srcdir ;;
1107 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1108 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1110 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1112 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1113 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
1114 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1115 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1118 # Check for guested configure; otherwise get Cygnus style configure.
1119 if test -f $ac_srcdir/configure.gnu; then
1121 $SHELL $ac_srcdir/configure.gnu --help=recursive
1122 elif test -f $ac_srcdir/configure; then
1124 $SHELL $ac_srcdir/configure --help=recursive
1125 elif test -f $ac_srcdir/configure.ac ||
1126 test -f $ac_srcdir/configure.in; then
1128 $ac_configure --help
1130 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1136 test -n "$ac_init_help" && exit 0
1137 if $ac_init_version; then
1139 wxWindows configure 2.5.0
1140 generated by GNU Autoconf 2.57
1142 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1143 Free Software Foundation, Inc.
1144 This configure script is free software; the Free Software Foundation
1145 gives unlimited permission to copy, distribute and modify it.
1151 This file contains any messages produced by compilers while
1152 running configure, to aid debugging if configure makes a mistake.
1154 It was created by wxWindows $as_me 2.5.0, which was
1155 generated by GNU Autoconf 2.57. Invocation command line was
1166 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1167 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1168 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1169 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1170 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1172 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1173 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1175 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1176 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1177 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1178 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1179 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1180 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1181 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1189 test -z "$as_dir" && as_dir=.
1190 echo "PATH: $as_dir"
1205 # Keep a trace of the command line.
1206 # Strip out --no-create and --no-recursion so they do not pile up.
1207 # Strip out --silent because we don't want to record it for future runs.
1208 # Also quote any args containing shell meta-characters.
1209 # Make two passes to allow for proper duplicate-argument suppression.
1214 ac_must_keep_next=false
1220 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222 | -silent | --silent | --silen | --sile | --sil)
1224 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1225 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1228 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1230 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1231 if test $ac_must_keep_next = true; then
1232 ac_must_keep_next=false # Got value, back to normal.
1235 *=* | --config-cache | -C | -disable-* | --disable-* \
1236 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1237 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1238 | -with-* | --with-* | -without-* | --without-* | --x)
1239 case "$ac_configure_args0 " in
1240 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1243 -* ) ac_must_keep_next=true ;;
1246 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1247 # Get rid of the leading space.
1253 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1254 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1256 # When interrupted or exit'd, cleanup temporary files, and complete
1257 # config.log. We remove comments because anyway the quotes in there
1258 # would cause problems or look ugly.
1259 # WARNING: Be sure not to use single quotes in there, as some shells,
1260 # such as our DU 5.0 friend, will then `close
' the trap.
1261 trap 'exit_status
=$?
1262 # Save into config.log some information that might help in debugging.
1267 ## ---------------- ##
1268 ## Cache variables. ##
1269 ## ---------------- ##
1272 # The following way of writing the cache mishandles newlines in values,
1275 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1278 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1283 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1290 ## ----------------- ##
1291 ## Output variables. ##
1292 ## ----------------- ##
1295 for ac_var
in $ac_subst_vars
1297 eval ac_val
=$
`echo $ac_var`
1298 echo "$ac_var='"'"'$ac_val'"'"'"
1302 if test -n "$ac_subst_files"; then
1309 for ac_var
in $ac_subst_files
1311 eval ac_val
=$
`echo $ac_var`
1312 echo "$ac_var='"'"'$ac_val'"'"'"
1317 if test -s confdefs.h
; then
1324 sed "/^$/d" confdefs.h
| sort
1327 test "$ac_signal" != 0 &&
1328 echo "$as_me: caught signal $ac_signal"
1329 echo "$as_me: exit $exit_status"
1331 rm -f core core.
* *.core
&&
1332 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1335 for ac_signal in 1 2 13 15; do
1336 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1340 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1341 rm -rf conftest* confdefs.h
1342 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1345 # Predefined preprocessor variables.
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_NAME "$PACKAGE_NAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_STRING "$PACKAGE_STRING"
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1372 # Let the site file select an alternate cache file if it wants to.
1373 # Prefer explicitly selected file to automatically selected ones.
1374 if test -z "$CONFIG_SITE"; then
1375 if test "x$prefix" != xNONE; then
1376 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1378 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1381 for ac_site_file in $CONFIG_SITE; do
1382 if test -r "$ac_site_file"; then
1383 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1384 echo "$as_me: loading site script $ac_site_file" >&6;}
1385 sed 's
/^
/| /' "$ac_site_file" >&5
1390 if test -r "$cache_file"; then
1391 # Some versions of bash will fail to source /dev/null (special
1392 # files actually), so we avoid doing that.
1393 if test -f "$cache_file"; then
1394 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1395 echo "$as_me: loading cache $cache_file" >&6;}
1397 [\\/]* | ?:[\\/]* ) . $cache_file;;
1398 *) . ./$cache_file;;
1402 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1403 echo "$as_me: creating cache $cache_file" >&6;}
1407 # Check that the precious variables saved in the cache have kept the same
1409 ac_cache_corrupted=false
1410 for ac_var in `(set) 2>&1 |
1411 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1412 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1413 eval ac_new_set=\$ac_env_${ac_var}_set
1414 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1415 eval ac_new_val="\$ac_env_${ac_var}_value"
1416 case $ac_old_set,$ac_new_set in
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1420 ac_cache_corrupted=: ;;
1422 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1424 ac_cache_corrupted=: ;;
1427 if test "x$ac_old_val" != "x$ac_new_val"; then
1428 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1429 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1430 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1431 echo "$as_me: former value: $ac_old_val" >&2;}
1432 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1433 echo "$as_me: current value: $ac_new_val" >&2;}
1434 ac_cache_corrupted=:
1437 # Pass precious variables to config.status.
1438 if test "$ac_new_set" = set; then
1440 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1441 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1442 *) ac_arg=$ac_var=$ac_new_val ;;
1444 case " $ac_configure_args " in
1445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1446 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1450 if $ac_cache_corrupted; then
1451 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1452 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1453 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1454 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1455 { (exit 1); exit 1; }; }
1459 ac_cpp='$CPP $CPPFLAGS'
1460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1461 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1494 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1495 if test -f $ac_dir/install-sh; then
1497 ac_install_sh="$ac_aux_dir/install-sh -c"
1499 elif test -f $ac_dir/install.sh; then
1501 ac_install_sh="$ac_aux_dir/install.sh -c"
1503 elif test -f $ac_dir/shtool; then
1505 ac_install_sh="$ac_aux_dir/shtool install -c"
1509 if test -z "$ac_aux_dir"; then
1510 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1511 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1512 { (exit 1); exit 1; }; }
1514 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1515 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1516 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1518 # Make sure we can run config.sub.
1519 $ac_config_sub sun4 >/dev/null 2>&1 ||
1520 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1521 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1522 { (exit 1); exit 1; }; }
1524 echo "$as_me:$LINENO: checking build system type" >&5
1525 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1526 if test "${ac_cv_build+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1529 ac_cv_build_alias=$build_alias
1530 test -z "$ac_cv_build_alias" &&
1531 ac_cv_build_alias=`$ac_config_guess`
1532 test -z "$ac_cv_build_alias" &&
1533 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1534 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1535 { (exit 1); exit 1; }; }
1536 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1537 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1538 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1539 { (exit 1); exit 1; }; }
1542 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1543 echo "${ECHO_T}$ac_cv_build" >&6
1545 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1546 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1547 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1550 echo "$as_me:$LINENO: checking host system type" >&5
1551 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1552 if test "${ac_cv_host+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 ac_cv_host_alias=$host_alias
1556 test -z "$ac_cv_host_alias" &&
1557 ac_cv_host_alias=$ac_cv_build_alias
1558 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1559 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1560 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1561 { (exit 1); exit 1; }; }
1564 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1565 echo "${ECHO_T}$ac_cv_host" >&6
1567 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1568 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1569 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1572 echo "$as_me:$LINENO: checking target system type" >&5
1573 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1574 if test "${ac_cv_target+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 ac_cv_target_alias=$target_alias
1578 test "x$ac_cv_target_alias" = "x" &&
1579 ac_cv_target_alias=$ac_cv_host_alias
1580 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1581 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1582 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1583 { (exit 1); exit 1; }; }
1586 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1587 echo "${ECHO_T}$ac_cv_target" >&6
1588 target=$ac_cv_target
1589 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1590 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1591 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1594 # The aliases save the names the user supplied, while $host etc.
1595 # will get canonicalized.
1596 test -n "$target_alias" &&
1597 test "$program_prefix$program_suffix$program_transform_name" = \
1599 program_prefix=${target_alias}-
1603 WX_MAJOR_VERSION_NUMBER=2
1604 WX_MINOR_VERSION_NUMBER=5
1607 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1608 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1610 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1625 USE_BSD= USE_DARWIN= USE_FREEBSD=
1631 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1637 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1639 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1641 DEFAULT_wxUSE_COCOA=0
1645 DEFAULT_wxUSE_MICROWIN=0
1646 DEFAULT_wxUSE_MOTIF=0
1651 DEFAULT_DEFAULT_wxUSE_COCOA=0
1652 DEFAULT_DEFAULT_wxUSE_GTK=0
1653 DEFAULT_DEFAULT_wxUSE_MAC=0
1654 DEFAULT_DEFAULT_wxUSE_MGL=0
1655 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1656 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1657 DEFAULT_DEFAULT_wxUSE_MSW=0
1658 DEFAULT_DEFAULT_wxUSE_PM=0
1659 DEFAULT_DEFAULT_wxUSE_X11=0
1664 SAMPLES_RPATH_POSTLINK=
1669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1670 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1672 cat >>confdefs.h <<\_ACEOF
1679 cat >>confdefs.h <<\_ACEOF
1684 if test "x$TMP" = "xalpha"; then
1686 cat >>confdefs.h <<\_ACEOF
1691 DEFAULT_DEFAULT_wxUSE_GTK=1
1695 cat >>confdefs.h <<\_ACEOF
1700 if test "x$TMP" = "xalpha"; then
1702 cat >>confdefs.h <<\_ACEOF
1707 DEFAULT_DEFAULT_wxUSE_GTK=1
1709 *-*-irix5* | *-*-irix6* )
1712 cat >>confdefs.h <<\_ACEOF
1716 cat >>confdefs.h <<\_ACEOF
1720 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1726 cat >>confdefs.h <<\_ACEOF
1730 cat >>confdefs.h <<\_ACEOF
1731 #define __SOLARIS__ 1
1734 cat >>confdefs.h <<\_ACEOF
1738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1745 cat >>confdefs.h <<\_ACEOF
1749 cat >>confdefs.h <<\_ACEOF
1753 cat >>confdefs.h <<\_ACEOF
1757 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1762 cat >>confdefs.h <<\_ACEOF
1763 #define __FREEBSD__ 1
1766 cat >>confdefs.h <<\_ACEOF
1770 DEFAULT_DEFAULT_wxUSE_GTK=1
1775 cat >>confdefs.h <<\_ACEOF
1776 #define __OPENBSD__ 1
1779 cat >>confdefs.h <<\_ACEOF
1783 DEFAULT_DEFAULT_wxUSE_GTK=1
1788 cat >>confdefs.h <<\_ACEOF
1789 #define __NETBSD__ 1
1792 cat >>confdefs.h <<\_ACEOF
1796 DEFAULT_DEFAULT_wxUSE_GTK=1
1801 cat >>confdefs.h <<\_ACEOF
1805 cat >>confdefs.h <<\_ACEOF
1809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1810 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1815 cat >>confdefs.h <<\_ACEOF
1819 cat >>confdefs.h <<\_ACEOF
1823 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1828 cat >>confdefs.h <<\_ACEOF
1832 cat >>confdefs.h <<\_ACEOF
1836 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1843 cat >>confdefs.h <<\_ACEOF
1847 cat >>confdefs.h <<\_ACEOF
1851 cat >>confdefs.h <<\_ACEOF
1855 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __UNIXWARE__ 1
1868 *-*-cygwin* | *-*-mingw32* )
1872 DEFAULT_DEFAULT_wxUSE_MSW=1
1878 cat >>confdefs.h <<\_ACEOF
1883 DEFAULT_DEFAULT_wxUSE_MGL=1
1884 LIBS="$LIBS -lstdc++"
1887 *-pc-os2_emx | *-pc-os2-emx )
1888 cat >>confdefs.h <<\_ACEOF
1893 DEFAULT_DEFAULT_wxUSE_PM=1
1895 LIBS="$LIBS -lstdcpp"
1902 cat >>confdefs.h <<\_ACEOF
1906 cat >>confdefs.h <<\_ACEOF
1907 #define __DARWIN__ 1
1910 cat >>confdefs.h <<\_ACEOF
1911 #define __POWERPC__ 1
1914 cat >>confdefs.h <<\_ACEOF
1915 #define TARGET_CARBON 1
1918 DEFAULT_DEFAULT_wxUSE_MAC=1
1923 cat >>confdefs.h <<\_ACEOF
1930 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1931 echo "$as_me: error: unknown system type ${host}." >&2;}
1932 { (exit 1); exit 1; }; }
1938 wx_arg_cache_file="configarg.cache"
1939 echo "loading argument cache $wx_arg_cache_file"
1940 rm -f ${wx_arg_cache_file}.tmp
1941 touch ${wx_arg_cache_file}.tmp
1942 touch ${wx_arg_cache_file}
1946 if test $DEBUG_CONFIGURE = 1; then
1947 DEFAULT_wxUSE_UNIVERSAL=no
1948 DEFAULT_wxUSE_STL=no
1950 DEFAULT_wxUSE_NANOX=no
1952 DEFAULT_wxUSE_THREADS=yes
1954 DEFAULT_wxUSE_SHARED=yes
1955 DEFAULT_wxUSE_OPTIMISE=no
1956 DEFAULT_wxUSE_PROFILE=no
1957 DEFAULT_wxUSE_NO_DEPS=no
1958 DEFAULT_wxUSE_NO_RTTI=no
1959 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1960 DEFAULT_wxUSE_PERMISSIVE=no
1961 DEFAULT_wxUSE_DEBUG_FLAG=yes
1962 DEFAULT_wxUSE_DEBUG_INFO=yes
1963 DEFAULT_wxUSE_DEBUG_GDB=yes
1964 DEFAULT_wxUSE_MEM_TRACING=no
1965 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1966 DEFAULT_wxUSE_DMALLOC=no
1967 DEFAULT_wxUSE_APPLE_IEEE=no
1969 DEFAULT_wxUSE_LOG=yes
1970 DEFAULT_wxUSE_LOGWINDOW=no
1971 DEFAULT_wxUSE_LOGGUI=no
1972 DEFAULT_wxUSE_LOGDIALOG=no
1974 DEFAULT_wxUSE_GUI=yes
1975 DEFAULT_wxUSE_CONTROLS=no
1977 DEFAULT_wxUSE_REGEX=no
1978 DEFAULT_wxUSE_XML=no
1979 DEFAULT_wxUSE_EXPAT=no
1980 DEFAULT_wxUSE_ZLIB=no
1981 DEFAULT_wxUSE_LIBPNG=no
1982 DEFAULT_wxUSE_LIBJPEG=no
1983 DEFAULT_wxUSE_LIBTIFF=no
1984 DEFAULT_wxUSE_ODBC=no
1985 DEFAULT_wxUSE_OPENGL=no
1987 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1988 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1989 DEFAULT_wxUSE_STD_IOSTREAM=no
1990 DEFAULT_wxUSE_CMDLINE_PARSER=no
1991 DEFAULT_wxUSE_DATETIME=no
1992 DEFAULT_wxUSE_TIMER=no
1993 DEFAULT_wxUSE_STOPWATCH=no
1994 DEFAULT_wxUSE_FILE=no
1995 DEFAULT_wxUSE_FFILE=no
1996 DEFAULT_wxUSE_TEXTBUFFER=no
1997 DEFAULT_wxUSE_TEXTFILE=no
1998 DEFAULT_wxUSE_WAVE=no
1999 DEFAULT_wxUSE_INTL=no
2000 DEFAULT_wxUSE_CONFIG=no
2001 DEFAULT_wxUSE_FONTMAP=no
2002 DEFAULT_wxUSE_STREAMS=no
2003 DEFAULT_wxUSE_SOCKETS=no
2004 DEFAULT_wxUSE_OLE=no
2005 DEFAULT_wxUSE_DATAOBJ=no
2006 DEFAULT_wxUSE_DIALUP_MANAGER=no
2007 DEFAULT_wxUSE_JOYSTICK=no
2008 DEFAULT_wxUSE_DYNLIB_CLASS=no
2009 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2010 DEFAULT_wxUSE_LONGLONG=no
2011 DEFAULT_wxUSE_GEOMETRY=no
2013 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2014 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2015 DEFAULT_wxUSE_POSTSCRIPT=no
2017 DEFAULT_wxUSE_CLIPBOARD=no
2018 DEFAULT_wxUSE_TOOLTIPS=no
2019 DEFAULT_wxUSE_DRAG_AND_DROP=no
2020 DEFAULT_wxUSE_DRAGIMAGE=no
2021 DEFAULT_wxUSE_SPLINES=no
2023 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2024 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2025 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2027 DEFAULT_wxUSE_RESOURCES=no
2028 DEFAULT_wxUSE_CONSTRAINTS=no
2029 DEFAULT_wxUSE_IPC=no
2030 DEFAULT_wxUSE_HELP=no
2031 DEFAULT_wxUSE_MS_HTML_HELP=no
2032 DEFAULT_wxUSE_WXHTML_HELP=no
2033 DEFAULT_wxUSE_TREELAYOUT=no
2034 DEFAULT_wxUSE_METAFILE=no
2035 DEFAULT_wxUSE_MIMETYPE=no
2036 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2037 DEFAULT_wxUSE_PROTOCOL=no
2038 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2039 DEFAULT_wxUSE_PROTOCOL_FTP=no
2040 DEFAULT_wxUSE_PROTOCOL_FILE=no
2041 DEFAULT_wxUSE_URL=no
2043 DEFAULT_wxUSE_COMMONDLGS=no
2044 DEFAULT_wxUSE_CHOICEDLG=no
2045 DEFAULT_wxUSE_COLOURDLG=no
2046 DEFAULT_wxUSE_DIRDLG=no
2047 DEFAULT_wxUSE_FILEDLG=no
2048 DEFAULT_wxUSE_FINDREPLDLG=no
2049 DEFAULT_wxUSE_FONTDLG=no
2050 DEFAULT_wxUSE_MSGDLG=no
2051 DEFAULT_wxUSE_NUMBERDLG=no
2052 DEFAULT_wxUSE_TEXTDLG=no
2053 DEFAULT_wxUSE_SPLASH=no
2054 DEFAULT_wxUSE_STARTUP_TIPS=no
2055 DEFAULT_wxUSE_PROGRESSDLG=no
2056 DEFAULT_wxUSE_WIZARDDLG=no
2058 DEFAULT_wxUSE_MENUS=no
2059 DEFAULT_wxUSE_MINIFRAME=no
2060 DEFAULT_wxUSE_HTML=no
2061 DEFAULT_wxUSE_FILESYSTEM=no
2062 DEFAULT_wxUSE_FS_INET=no
2063 DEFAULT_wxUSE_FS_ZIP=no
2064 DEFAULT_wxUSE_BUSYINFO=no
2065 DEFAULT_wxUSE_ZIPSTREAM=no
2066 DEFAULT_wxUSE_VALIDATORS=no
2068 DEFAULT_wxUSE_ACCEL=no
2069 DEFAULT_wxUSE_BUTTON=no
2070 DEFAULT_wxUSE_BMPBUTTON=no
2071 DEFAULT_wxUSE_CALCTRL=no
2072 DEFAULT_wxUSE_CARET=no
2073 DEFAULT_wxUSE_CHECKBOX=no
2074 DEFAULT_wxUSE_CHECKLST=no
2075 DEFAULT_wxUSE_CHOICE=no
2076 DEFAULT_wxUSE_COMBOBOX=no
2077 DEFAULT_wxUSE_DISPLAY=no
2078 DEFAULT_wxUSE_GAUGE=no
2079 DEFAULT_wxUSE_GRID=no
2080 DEFAULT_wxUSE_IMAGLIST=no
2081 DEFAULT_wxUSE_LISTBOX=no
2082 DEFAULT_wxUSE_LISTCTRL=no
2083 DEFAULT_wxUSE_NOTEBOOK=no
2084 DEFAULT_wxUSE_RADIOBOX=no
2085 DEFAULT_wxUSE_RADIOBTN=no
2086 DEFAULT_wxUSE_SASH=no
2087 DEFAULT_wxUSE_SCROLLBAR=no
2088 DEFAULT_wxUSE_SLIDER=no
2089 DEFAULT_wxUSE_SPINBTN=no
2090 DEFAULT_wxUSE_SPINCTRL=no
2091 DEFAULT_wxUSE_SPLITTER=no
2092 DEFAULT_wxUSE_STATBMP=no
2093 DEFAULT_wxUSE_STATBOX=no
2094 DEFAULT_wxUSE_STATLINE=no
2095 DEFAULT_wxUSE_STATTEXT=no
2096 DEFAULT_wxUSE_STATUSBAR=yes
2097 DEFAULT_wxUSE_TABDIALOG=no
2098 DEFAULT_wxUSE_TEXTCTRL=no
2099 DEFAULT_wxUSE_TOGGLEBTN=no
2100 DEFAULT_wxUSE_TOOLBAR=no
2101 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2102 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2103 DEFAULT_wxUSE_TREECTRL=no
2104 DEFAULT_wxUSE_POPUPWIN=no
2105 DEFAULT_wxUSE_TIPWINDOW=no
2107 DEFAULT_wxUSE_UNICODE=no
2108 DEFAULT_wxUSE_UNICODE_MSLU=no
2109 DEFAULT_wxUSE_WCSRTOMBS=no
2111 DEFAULT_wxUSE_PALETTE=no
2112 DEFAULT_wxUSE_IMAGE=no
2113 DEFAULT_wxUSE_GIF=no
2114 DEFAULT_wxUSE_PCX=no
2115 DEFAULT_wxUSE_PNM=no
2116 DEFAULT_wxUSE_IFF=no
2117 DEFAULT_wxUSE_XPM=no
2118 DEFAULT_wxUSE_ICO_CUR=no
2119 DEFAULT_wxUSE_ACCESSIBILITY=no
2121 DEFAULT_wxUSE_MONOLITHIC=no
2122 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2124 DEFAULT_wxUSE_UNIVERSAL=no
2125 DEFAULT_wxUSE_STL=no
2127 DEFAULT_wxUSE_NANOX=no
2129 DEFAULT_wxUSE_THREADS=yes
2131 DEFAULT_wxUSE_SHARED=yes
2132 DEFAULT_wxUSE_OPTIMISE=yes
2133 DEFAULT_wxUSE_PROFILE=no
2134 DEFAULT_wxUSE_NO_DEPS=no
2135 DEFAULT_wxUSE_NO_RTTI=no
2136 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2137 DEFAULT_wxUSE_PERMISSIVE=no
2138 DEFAULT_wxUSE_DEBUG_FLAG=no
2139 DEFAULT_wxUSE_DEBUG_INFO=no
2140 DEFAULT_wxUSE_DEBUG_GDB=no
2141 DEFAULT_wxUSE_MEM_TRACING=no
2142 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2143 DEFAULT_wxUSE_DMALLOC=no
2144 DEFAULT_wxUSE_APPLE_IEEE=yes
2146 DEFAULT_wxUSE_LOG=yes
2147 DEFAULT_wxUSE_LOGWINDOW=yes
2148 DEFAULT_wxUSE_LOGGUI=yes
2149 DEFAULT_wxUSE_LOGDIALOG=yes
2151 DEFAULT_wxUSE_GUI=yes
2153 DEFAULT_wxUSE_REGEX=yes
2154 DEFAULT_wxUSE_XML=yes
2155 DEFAULT_wxUSE_EXPAT=yes
2156 DEFAULT_wxUSE_ZLIB=yes
2157 DEFAULT_wxUSE_LIBPNG=yes
2158 DEFAULT_wxUSE_LIBJPEG=yes
2159 DEFAULT_wxUSE_LIBTIFF=yes
2160 DEFAULT_wxUSE_ODBC=no
2161 DEFAULT_wxUSE_OPENGL=no
2163 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2164 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2165 DEFAULT_wxUSE_STD_IOSTREAM=no
2166 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2167 DEFAULT_wxUSE_DATETIME=yes
2168 DEFAULT_wxUSE_TIMER=yes
2169 DEFAULT_wxUSE_STOPWATCH=yes
2170 DEFAULT_wxUSE_FILE=yes
2171 DEFAULT_wxUSE_FFILE=yes
2172 DEFAULT_wxUSE_TEXTBUFFER=yes
2173 DEFAULT_wxUSE_TEXTFILE=yes
2174 DEFAULT_wxUSE_WAVE=no
2175 DEFAULT_wxUSE_INTL=yes
2176 DEFAULT_wxUSE_CONFIG=yes
2177 DEFAULT_wxUSE_FONTMAP=yes
2178 DEFAULT_wxUSE_STREAMS=yes
2179 DEFAULT_wxUSE_SOCKETS=yes
2180 DEFAULT_wxUSE_OLE=yes
2181 DEFAULT_wxUSE_DATAOBJ=yes
2182 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2183 DEFAULT_wxUSE_JOYSTICK=yes
2184 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2185 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2186 DEFAULT_wxUSE_LONGLONG=yes
2187 DEFAULT_wxUSE_GEOMETRY=yes
2189 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2190 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2191 DEFAULT_wxUSE_POSTSCRIPT=yes
2193 DEFAULT_wxUSE_CLIPBOARD=yes
2194 DEFAULT_wxUSE_TOOLTIPS=yes
2195 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2196 DEFAULT_wxUSE_DRAGIMAGE=yes
2197 DEFAULT_wxUSE_SPLINES=yes
2199 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2200 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2201 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2203 DEFAULT_wxUSE_RESOURCES=no
2204 DEFAULT_wxUSE_CONSTRAINTS=yes
2205 DEFAULT_wxUSE_IPC=yes
2206 DEFAULT_wxUSE_HELP=yes
2207 DEFAULT_wxUSE_MS_HTML_HELP=yes
2208 DEFAULT_wxUSE_WXHTML_HELP=yes
2209 DEFAULT_wxUSE_TREELAYOUT=yes
2210 DEFAULT_wxUSE_METAFILE=yes
2211 DEFAULT_wxUSE_MIMETYPE=yes
2212 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2213 DEFAULT_wxUSE_PROTOCOL=yes
2214 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2215 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2216 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2217 DEFAULT_wxUSE_URL=yes
2219 DEFAULT_wxUSE_COMMONDLGS=yes
2220 DEFAULT_wxUSE_CHOICEDLG=yes
2221 DEFAULT_wxUSE_COLOURDLG=yes
2222 DEFAULT_wxUSE_DIRDLG=yes
2223 DEFAULT_wxUSE_FILEDLG=yes
2224 DEFAULT_wxUSE_FINDREPLDLG=yes
2225 DEFAULT_wxUSE_FONTDLG=yes
2226 DEFAULT_wxUSE_MSGDLG=yes
2227 DEFAULT_wxUSE_NUMBERDLG=yes
2228 DEFAULT_wxUSE_TEXTDLG=yes
2229 DEFAULT_wxUSE_SPLASH=yes
2230 DEFAULT_wxUSE_STARTUP_TIPS=yes
2231 DEFAULT_wxUSE_PROGRESSDLG=yes
2232 DEFAULT_wxUSE_WIZARDDLG=yes
2234 DEFAULT_wxUSE_MENUS=yes
2235 DEFAULT_wxUSE_MINIFRAME=yes
2236 DEFAULT_wxUSE_HTML=yes
2237 DEFAULT_wxUSE_FILESYSTEM=yes
2238 DEFAULT_wxUSE_FS_INET=yes
2239 DEFAULT_wxUSE_FS_ZIP=yes
2240 DEFAULT_wxUSE_BUSYINFO=yes
2241 DEFAULT_wxUSE_ZIPSTREAM=yes
2242 DEFAULT_wxUSE_VALIDATORS=yes
2244 DEFAULT_wxUSE_ACCEL=yes
2245 DEFAULT_wxUSE_BUTTON=yes
2246 DEFAULT_wxUSE_BMPBUTTON=yes
2247 DEFAULT_wxUSE_CALCTRL=yes
2248 DEFAULT_wxUSE_CARET=yes
2249 DEFAULT_wxUSE_CHECKBOX=yes
2250 DEFAULT_wxUSE_CHECKLST=yes
2251 DEFAULT_wxUSE_CHOICE=yes
2252 DEFAULT_wxUSE_COMBOBOX=yes
2253 DEFAULT_wxUSE_DISPLAY=no
2254 DEFAULT_wxUSE_GAUGE=yes
2255 DEFAULT_wxUSE_GRID=yes
2256 DEFAULT_wxUSE_IMAGLIST=yes
2257 DEFAULT_wxUSE_LISTBOX=yes
2258 DEFAULT_wxUSE_LISTCTRL=yes
2259 DEFAULT_wxUSE_NOTEBOOK=yes
2260 DEFAULT_wxUSE_RADIOBOX=yes
2261 DEFAULT_wxUSE_RADIOBTN=yes
2262 DEFAULT_wxUSE_SASH=yes
2263 DEFAULT_wxUSE_SCROLLBAR=yes
2264 DEFAULT_wxUSE_SLIDER=yes
2265 DEFAULT_wxUSE_SPINBTN=yes
2266 DEFAULT_wxUSE_SPINCTRL=yes
2267 DEFAULT_wxUSE_SPLITTER=yes
2268 DEFAULT_wxUSE_STATBMP=yes
2269 DEFAULT_wxUSE_STATBOX=yes
2270 DEFAULT_wxUSE_STATLINE=yes
2271 DEFAULT_wxUSE_STATTEXT=yes
2272 DEFAULT_wxUSE_STATUSBAR=yes
2273 DEFAULT_wxUSE_TABDIALOG=no
2274 DEFAULT_wxUSE_TEXTCTRL=yes
2275 DEFAULT_wxUSE_TOGGLEBTN=yes
2276 DEFAULT_wxUSE_TOOLBAR=yes
2277 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2278 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2279 DEFAULT_wxUSE_TREECTRL=yes
2280 DEFAULT_wxUSE_POPUPWIN=yes
2281 DEFAULT_wxUSE_TIPWINDOW=yes
2283 DEFAULT_wxUSE_UNICODE=no
2284 DEFAULT_wxUSE_UNICODE_MSLU=yes
2285 DEFAULT_wxUSE_WCSRTOMBS=no
2287 DEFAULT_wxUSE_PALETTE=yes
2288 DEFAULT_wxUSE_IMAGE=yes
2289 DEFAULT_wxUSE_GIF=yes
2290 DEFAULT_wxUSE_PCX=yes
2291 DEFAULT_wxUSE_IFF=no
2292 DEFAULT_wxUSE_PNM=yes
2293 DEFAULT_wxUSE_XPM=yes
2294 DEFAULT_wxUSE_ICO_CUR=yes
2295 DEFAULT_wxUSE_ACCESSIBILITY=no
2297 DEFAULT_wxUSE_MONOLITHIC=no
2298 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2303 for toolkit in `echo $ALL_TOOLKITS`; do
2304 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2305 if test "x$LINE" != "x" ; then
2306 has_toolkit_in_cache=1
2307 eval "DEFAULT_$LINE"
2308 eval "CACHE_$toolkit=1"
2315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2316 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2318 # Check whether --enable-gui or --disable-gui was given.
2319 if test "${enable_gui+set}" = set; then
2320 enableval="$enable_gui"
2322 if test "$enableval" = yes; then
2323 ac_cv_use_gui='wxUSE_GUI
=yes'
2325 ac_cv_use_gui='wxUSE_GUI
=no
'
2330 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2331 if test "x$LINE" != x ; then
2332 eval "DEFAULT_$LINE"
2337 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2341 eval "$ac_cv_use_gui"
2342 if test "$no_cache" != 1; then
2343 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2346 if test "$wxUSE_GUI" = yes; then
2347 echo "$as_me:$LINENO: result: yes" >&5
2348 echo "${ECHO_T}yes" >&6
2350 echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6
2356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2357 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2359 # Check whether --enable-monolithic or --disable-monolithic was given.
2360 if test "${enable_monolithic+set}" = set; then
2361 enableval="$enable_monolithic"
2363 if test "$enableval" = yes; then
2364 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2366 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2371 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2372 if test "x$LINE" != x ; then
2373 eval "DEFAULT_$LINE"
2378 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2382 eval "$ac_cv_use_monolithic"
2383 if test "$no_cache" != 1; then
2384 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2387 if test "$wxUSE_MONOLITHIC" = yes; then
2388 echo "$as_me:$LINENO: result: yes" >&5
2389 echo "${ECHO_T}yes" >&6
2391 echo "$as_me:$LINENO: result: no" >&5
2392 echo "${ECHO_T}no" >&6
2396 if test "$wxUSE_GUI" = "yes"; then
2400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2401 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2403 # Check whether --enable-universal or --disable-universal was given.
2404 if test "${enable_universal+set}" = set; then
2405 enableval="$enable_universal"
2407 if test "$enableval" = yes; then
2408 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2410 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2415 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2416 if test "x$LINE" != x ; then
2417 eval "DEFAULT_$LINE"
2422 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2426 eval "$ac_cv_use_universal"
2427 if test "$no_cache" != 1; then
2428 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2431 if test "$wxUSE_UNIVERSAL" = yes; then
2432 echo "$as_me:$LINENO: result: yes" >&5
2433 echo "${ECHO_T}yes" >&6
2435 echo "$as_me:$LINENO: result: no" >&5
2436 echo "${ECHO_T}no" >&6
2440 # Check whether --with-gtk or --without-gtk was given.
2441 if test "${with_gtk+set}" = set; then
2443 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2446 # Check whether --with-motif or --without-motif was given.
2447 if test "${with_motif+set}" = set; then
2448 withval="$with_motif"
2449 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2452 # Check whether --with-mac or --without-mac was given.
2453 if test "${with_mac+set}" = set; then
2455 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2458 # Check whether --with-cocoa or --without-cocoa was given.
2459 if test "${with_cocoa+set}" = set; then
2460 withval="$with_cocoa"
2461 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2464 # Check whether --with-wine or --without-wine was given.
2465 if test "${with_wine+set}" = set; then
2466 withval="$with_wine"
2467 wxUSE_WINE="$withval" CACHE_WINE=1
2470 # Check whether --with-msw or --without-msw was given.
2471 if test "${with_msw+set}" = set; then
2473 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2476 # Check whether --with-pm or --without-pm was given.
2477 if test "${with_pm+set}" = set; then
2479 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2482 # Check whether --with-mgl or --without-mgl was given.
2483 if test "${with_mgl+set}" = set; then
2485 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2488 # Check whether --with-microwin or --without-microwin was given.
2489 if test "${with_microwin+set}" = set; then
2490 withval="$with_microwin"
2491 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2494 # Check whether --with-x11 or --without-x11 was given.
2495 if test "${with_x11+set}" = set; then
2497 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2502 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2504 # Check whether --enable-nanox or --disable-nanox was given.
2505 if test "${enable_nanox+set}" = set; then
2506 enableval="$enable_nanox"
2508 if test "$enableval" = yes; then
2509 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2511 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2516 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2517 if test "x$LINE" != x ; then
2518 eval "DEFAULT_$LINE"
2523 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2527 eval "$ac_cv_use_nanox"
2528 if test "$no_cache" != 1; then
2529 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2532 if test "$wxUSE_NANOX" = yes; then
2533 echo "$as_me:$LINENO: result: yes" >&5
2534 echo "${ECHO_T}yes" >&6
2536 echo "$as_me:$LINENO: result: no" >&5
2537 echo "${ECHO_T}no" >&6
2543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2544 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2546 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2547 if test "${enable_gtk2+set}" = set; then
2548 enableval="$enable_gtk2"
2550 if test "$enableval" = yes; then
2551 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2553 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2558 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2559 if test "x$LINE" != x ; then
2560 eval "DEFAULT_$LINE"
2565 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2569 eval "$ac_cv_use_gtk2"
2570 if test "$no_cache" != 1; then
2571 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2574 if test "$wxUSE_GTK2" = yes; then
2575 echo "$as_me:$LINENO: result: yes" >&5
2576 echo "${ECHO_T}yes" >&6
2578 echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6
2584 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2585 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2588 # Check whether --with-libpng or --without-libpng was given.
2589 if test "${with_libpng+set}" = set; then
2590 withval="$with_libpng"
2592 if test "$withval" = yes; then
2593 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2594 elif test "$withval" = no; then
2595 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2596 elif test "$withval" = sys; then
2597 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2598 elif test "$withval" = builtin; then
2599 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2601 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2602 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2603 { (exit 1); exit 1; }; }
2608 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2609 if test "x$LINE" != x ; then
2610 eval "DEFAULT_$LINE"
2615 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2619 eval "$ac_cv_use_libpng"
2620 if test "$no_cache" != 1; then
2621 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2624 if test "$wxUSE_LIBPNG" = yes; then
2625 echo "$as_me:$LINENO: result: yes" >&5
2626 echo "${ECHO_T}yes" >&6
2627 elif test "$wxUSE_LIBPNG" = no; then
2628 echo "$as_me:$LINENO: result: no" >&5
2629 echo "${ECHO_T}no" >&6
2630 elif test "$wxUSE_LIBPNG" = sys; then
2631 echo "$as_me:$LINENO: result: system version" >&5
2632 echo "${ECHO_T}system version" >&6
2633 elif test "$wxUSE_LIBPNG" = builtin; then
2634 echo "$as_me:$LINENO: result: builtin version" >&5
2635 echo "${ECHO_T}builtin version" >&6
2637 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2638 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2639 { (exit 1); exit 1; }; }
2643 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2644 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2647 # Check whether --with-libjpeg or --without-libjpeg was given.
2648 if test "${with_libjpeg+set}" = set; then
2649 withval="$with_libjpeg"
2651 if test "$withval" = yes; then
2652 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2653 elif test "$withval" = no; then
2654 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2655 elif test "$withval" = sys; then
2656 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2657 elif test "$withval" = builtin; then
2658 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2660 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2661 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2662 { (exit 1); exit 1; }; }
2667 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2668 if test "x$LINE" != x ; then
2669 eval "DEFAULT_$LINE"
2674 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2678 eval "$ac_cv_use_libjpeg"
2679 if test "$no_cache" != 1; then
2680 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2683 if test "$wxUSE_LIBJPEG" = yes; then
2684 echo "$as_me:$LINENO: result: yes" >&5
2685 echo "${ECHO_T}yes" >&6
2686 elif test "$wxUSE_LIBJPEG" = no; then
2687 echo "$as_me:$LINENO: result: no" >&5
2688 echo "${ECHO_T}no" >&6
2689 elif test "$wxUSE_LIBJPEG" = sys; then
2690 echo "$as_me:$LINENO: result: system version" >&5
2691 echo "${ECHO_T}system version" >&6
2692 elif test "$wxUSE_LIBJPEG" = builtin; then
2693 echo "$as_me:$LINENO: result: builtin version" >&5
2694 echo "${ECHO_T}builtin version" >&6
2696 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2697 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2698 { (exit 1); exit 1; }; }
2702 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2703 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2706 # Check whether --with-libtiff or --without-libtiff was given.
2707 if test "${with_libtiff+set}" = set; then
2708 withval="$with_libtiff"
2710 if test "$withval" = yes; then
2711 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2712 elif test "$withval" = no; then
2713 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2714 elif test "$withval" = sys; then
2715 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2716 elif test "$withval" = builtin; then
2717 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2719 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2720 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2721 { (exit 1); exit 1; }; }
2726 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2727 if test "x$LINE" != x ; then
2728 eval "DEFAULT_$LINE"
2733 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2737 eval "$ac_cv_use_libtiff"
2738 if test "$no_cache" != 1; then
2739 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2742 if test "$wxUSE_LIBTIFF" = yes; then
2743 echo "$as_me:$LINENO: result: yes" >&5
2744 echo "${ECHO_T}yes" >&6
2745 elif test "$wxUSE_LIBTIFF" = no; then
2746 echo "$as_me:$LINENO: result: no" >&5
2747 echo "${ECHO_T}no" >&6
2748 elif test "$wxUSE_LIBTIFF" = sys; then
2749 echo "$as_me:$LINENO: result: system version" >&5
2750 echo "${ECHO_T}system version" >&6
2751 elif test "$wxUSE_LIBTIFF" = builtin; then
2752 echo "$as_me:$LINENO: result: builtin version" >&5
2753 echo "${ECHO_T}builtin version" >&6
2755 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2756 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2757 { (exit 1); exit 1; }; }
2761 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2762 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2765 # Check whether --with-opengl or --without-opengl was given.
2766 if test "${with_opengl+set}" = set; then
2767 withval="$with_opengl"
2769 if test "$withval" = yes; then
2770 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2772 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2777 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2778 if test "x$LINE" != x ; then
2779 eval "DEFAULT_$LINE"
2784 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2788 eval "$ac_cv_use_opengl"
2789 if test "$no_cache" != 1; then
2790 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2793 if test "$wxUSE_OPENGL" = yes; then
2794 echo "$as_me:$LINENO: result: yes" >&5
2795 echo "${ECHO_T}yes" >&6
2797 echo "$as_me:$LINENO: result: no" >&5
2798 echo "${ECHO_T}no" >&6
2805 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2806 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2809 # Check whether --with-dmalloc or --without-dmalloc was given.
2810 if test "${with_dmalloc+set}" = set; then
2811 withval="$with_dmalloc"
2813 if test "$withval" = yes; then
2814 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2816 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2821 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2822 if test "x$LINE" != x ; then
2823 eval "DEFAULT_$LINE"
2828 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2832 eval "$ac_cv_use_dmalloc"
2833 if test "$no_cache" != 1; then
2834 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2837 if test "$wxUSE_DMALLOC" = yes; then
2838 echo "$as_me:$LINENO: result: yes" >&5
2839 echo "${ECHO_T}yes" >&6
2841 echo "$as_me:$LINENO: result: no" >&5
2842 echo "${ECHO_T}no" >&6
2846 echo "$as_me:$LINENO: checking for --with-regex" >&5
2847 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2850 # Check whether --with-regex or --without-regex was given.
2851 if test "${with_regex+set}" = set; then
2852 withval="$with_regex"
2854 if test "$withval" = yes; then
2855 ac_cv_use_regex='wxUSE_REGEX
=yes'
2856 elif test "$withval" = no; then
2857 ac_cv_use_regex='wxUSE_REGEX
=no
'
2858 elif test "$withval" = sys; then
2859 ac_cv_use_regex='wxUSE_REGEX
=sys
'
2860 elif test "$withval" = builtin; then
2861 ac_cv_use_regex='wxUSE_REGEX
=builtin'
2863 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2864 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2865 { (exit 1); exit 1; }; }
2870 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2871 if test "x$LINE" != x ; then
2872 eval "DEFAULT_$LINE"
2877 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
2881 eval "$ac_cv_use_regex"
2882 if test "$no_cache" != 1; then
2883 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2886 if test "$wxUSE_REGEX" = yes; then
2887 echo "$as_me:$LINENO: result: yes" >&5
2888 echo "${ECHO_T}yes" >&6
2889 elif test "$wxUSE_REGEX" = no; then
2890 echo "$as_me:$LINENO: result: no" >&5
2891 echo "${ECHO_T}no" >&6
2892 elif test "$wxUSE_REGEX" = sys; then
2893 echo "$as_me:$LINENO: result: system version" >&5
2894 echo "${ECHO_T}system version" >&6
2895 elif test "$wxUSE_REGEX" = builtin; then
2896 echo "$as_me:$LINENO: result: builtin version" >&5
2897 echo "${ECHO_T}builtin version" >&6
2899 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2900 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2901 { (exit 1); exit 1; }; }
2905 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2906 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2909 # Check whether --with-zlib or --without-zlib was given.
2910 if test "${with_zlib+set}" = set; then
2911 withval="$with_zlib"
2913 if test "$withval" = yes; then
2914 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
2915 elif test "$withval" = no; then
2916 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
2917 elif test "$withval" = sys; then
2918 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
2919 elif test "$withval" = builtin; then
2920 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
2922 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2923 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2924 { (exit 1); exit 1; }; }
2929 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2930 if test "x$LINE" != x ; then
2931 eval "DEFAULT_$LINE"
2936 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
2940 eval "$ac_cv_use_zlib"
2941 if test "$no_cache" != 1; then
2942 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2945 if test "$wxUSE_ZLIB" = yes; then
2946 echo "$as_me:$LINENO: result: yes" >&5
2947 echo "${ECHO_T}yes" >&6
2948 elif test "$wxUSE_ZLIB" = no; then
2949 echo "$as_me:$LINENO: result: no" >&5
2950 echo "${ECHO_T}no" >&6
2951 elif test "$wxUSE_ZLIB" = sys; then
2952 echo "$as_me:$LINENO: result: system version" >&5
2953 echo "${ECHO_T}system version" >&6
2954 elif test "$wxUSE_ZLIB" = builtin; then
2955 echo "$as_me:$LINENO: result: builtin version" >&5
2956 echo "${ECHO_T}builtin version" >&6
2958 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2959 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2960 { (exit 1); exit 1; }; }
2964 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2965 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2968 # Check whether --with-odbc or --without-odbc was given.
2969 if test "${with_odbc+set}" = set; then
2970 withval="$with_odbc"
2972 if test "$withval" = yes; then
2973 ac_cv_use_odbc='wxUSE_ODBC
=yes'
2974 elif test "$withval" = no; then
2975 ac_cv_use_odbc='wxUSE_ODBC
=no
'
2976 elif test "$withval" = sys; then
2977 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
2978 elif test "$withval" = builtin; then
2979 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
2981 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2982 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2983 { (exit 1); exit 1; }; }
2988 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2989 if test "x$LINE" != x ; then
2990 eval "DEFAULT_$LINE"
2995 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
2999 eval "$ac_cv_use_odbc"
3000 if test "$no_cache" != 1; then
3001 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3004 if test "$wxUSE_ODBC" = yes; then
3005 echo "$as_me:$LINENO: result: yes" >&5
3006 echo "${ECHO_T}yes" >&6
3007 elif test "$wxUSE_ODBC" = no; then
3008 echo "$as_me:$LINENO: result: no" >&5
3009 echo "${ECHO_T}no" >&6
3010 elif test "$wxUSE_ODBC" = sys; then
3011 echo "$as_me:$LINENO: result: system version" >&5
3012 echo "${ECHO_T}system version" >&6
3013 elif test "$wxUSE_ODBC" = builtin; then
3014 echo "$as_me:$LINENO: result: builtin version" >&5
3015 echo "${ECHO_T}builtin version" >&6
3017 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3018 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3019 { (exit 1); exit 1; }; }
3023 echo "$as_me:$LINENO: checking for --with-expat" >&5
3024 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3027 # Check whether --with-expat or --without-expat was given.
3028 if test "${with_expat+set}" = set; then
3029 withval="$with_expat"
3031 if test "$withval" = yes; then
3032 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3033 elif test "$withval" = no; then
3034 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3035 elif test "$withval" = sys; then
3036 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3037 elif test "$withval" = builtin; then
3038 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3040 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3041 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3042 { (exit 1); exit 1; }; }
3047 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3048 if test "x$LINE" != x ; then
3049 eval "DEFAULT_$LINE"
3054 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3058 eval "$ac_cv_use_expat"
3059 if test "$no_cache" != 1; then
3060 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3063 if test "$wxUSE_EXPAT" = yes; then
3064 echo "$as_me:$LINENO: result: yes" >&5
3065 echo "${ECHO_T}yes" >&6
3066 elif test "$wxUSE_EXPAT" = no; then
3067 echo "$as_me:$LINENO: result: no" >&5
3068 echo "${ECHO_T}no" >&6
3069 elif test "$wxUSE_EXPAT" = sys; then
3070 echo "$as_me:$LINENO: result: system version" >&5
3071 echo "${ECHO_T}system version" >&6
3072 elif test "$wxUSE_EXPAT" = builtin; then
3073 echo "$as_me:$LINENO: result: builtin version" >&5
3074 echo "${ECHO_T}builtin version" >&6
3076 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3077 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3078 { (exit 1); exit 1; }; }
3085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3086 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3088 # Check whether --enable-shared or --disable-shared was given.
3089 if test "${enable_shared+set}" = set; then
3090 enableval="$enable_shared"
3092 if test "$enableval" = yes; then
3093 ac_cv_use_shared='wxUSE_SHARED
=yes'
3095 ac_cv_use_shared='wxUSE_SHARED
=no
'
3100 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3101 if test "x$LINE" != x ; then
3102 eval "DEFAULT_$LINE"
3107 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3111 eval "$ac_cv_use_shared"
3112 if test "$no_cache" != 1; then
3113 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3116 if test "$wxUSE_SHARED" = yes; then
3117 echo "$as_me:$LINENO: result: yes" >&5
3118 echo "${ECHO_T}yes" >&6
3120 echo "$as_me:$LINENO: result: no" >&5
3121 echo "${ECHO_T}no" >&6
3126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3127 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3129 # Check whether --enable-optimise or --disable-optimise was given.
3130 if test "${enable_optimise+set}" = set; then
3131 enableval="$enable_optimise"
3133 if test "$enableval" = yes; then
3134 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3136 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3141 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x ; then
3143 eval "DEFAULT_$LINE"
3148 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3152 eval "$ac_cv_use_optimise"
3153 if test "$no_cache" != 1; then
3154 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3157 if test "$wxUSE_OPTIMISE" = yes; then
3158 echo "$as_me:$LINENO: result: yes" >&5
3159 echo "${ECHO_T}yes" >&6
3161 echo "$as_me:$LINENO: result: no" >&5
3162 echo "${ECHO_T}no" >&6
3167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3168 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3170 # Check whether --enable-debug or --disable-debug was given.
3171 if test "${enable_debug+set}" = set; then
3172 enableval="$enable_debug"
3174 if test "$enableval" = yes; then
3175 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3177 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3182 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3183 if test "x$LINE" != x ; then
3184 eval "DEFAULT_$LINE"
3189 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3193 eval "$ac_cv_use_debug"
3194 if test "$no_cache" != 1; then
3195 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3198 if test "$wxUSE_DEBUG" = yes; then
3199 echo "$as_me:$LINENO: result: yes" >&5
3200 echo "${ECHO_T}yes" >&6
3202 echo "$as_me:$LINENO: result: no" >&5
3203 echo "${ECHO_T}no" >&6
3208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3209 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3211 # Check whether --enable-stl or --disable-stl was given.
3212 if test "${enable_stl+set}" = set; then
3213 enableval="$enable_stl"
3215 if test "$enableval" = yes; then
3216 ac_cv_use_stl='wxUSE_STL
=yes'
3218 ac_cv_use_stl='wxUSE_STL
=no
'
3223 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3224 if test "x$LINE" != x ; then
3225 eval "DEFAULT_$LINE"
3230 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3234 eval "$ac_cv_use_stl"
3235 if test "$no_cache" != 1; then
3236 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3239 if test "$wxUSE_STL" = yes; then
3240 echo "$as_me:$LINENO: result: yes" >&5
3241 echo "${ECHO_T}yes" >&6
3243 echo "$as_me:$LINENO: result: no" >&5
3244 echo "${ECHO_T}no" >&6
3248 if test "$wxUSE_DEBUG" = "yes"; then
3249 DEFAULT_wxUSE_DEBUG_FLAG=yes
3250 DEFAULT_wxUSE_DEBUG_INFO=yes
3252 elif test "$wxUSE_DEBUG" = "no"; then
3253 DEFAULT_wxUSE_DEBUG_FLAG=no
3254 DEFAULT_wxUSE_DEBUG_INFO=no
3260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3261 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3263 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3264 if test "${enable_debug_flag+set}" = set; then
3265 enableval="$enable_debug_flag"
3267 if test "$enableval" = yes; then
3268 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3270 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3275 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3276 if test "x$LINE" != x ; then
3277 eval "DEFAULT_$LINE"
3282 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3286 eval "$ac_cv_use_debug_flag"
3287 if test "$no_cache" != 1; then
3288 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3291 if test "$wxUSE_DEBUG_FLAG" = yes; then
3292 echo "$as_me:$LINENO: result: yes" >&5
3293 echo "${ECHO_T}yes" >&6
3295 echo "$as_me:$LINENO: result: no" >&5
3296 echo "${ECHO_T}no" >&6
3301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3302 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3304 # Check whether --enable-debug_info or --disable-debug_info was given.
3305 if test "${enable_debug_info+set}" = set; then
3306 enableval="$enable_debug_info"
3308 if test "$enableval" = yes; then
3309 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3311 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3316 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3317 if test "x$LINE" != x ; then
3318 eval "DEFAULT_$LINE"
3323 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3327 eval "$ac_cv_use_debug_info"
3328 if test "$no_cache" != 1; then
3329 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3332 if test "$wxUSE_DEBUG_INFO" = yes; then
3333 echo "$as_me:$LINENO: result: yes" >&5
3334 echo "${ECHO_T}yes" >&6
3336 echo "$as_me:$LINENO: result: no" >&5
3337 echo "${ECHO_T}no" >&6
3342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3343 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3345 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3346 if test "${enable_debug_gdb+set}" = set; then
3347 enableval="$enable_debug_gdb"
3349 if test "$enableval" = yes; then
3350 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3352 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3357 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3358 if test "x$LINE" != x ; then
3359 eval "DEFAULT_$LINE"
3364 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3368 eval "$ac_cv_use_debug_gdb"
3369 if test "$no_cache" != 1; then
3370 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3373 if test "$wxUSE_DEBUG_GDB" = yes; then
3374 echo "$as_me:$LINENO: result: yes" >&5
3375 echo "${ECHO_T}yes" >&6
3377 echo "$as_me:$LINENO: result: no" >&5
3378 echo "${ECHO_T}no" >&6
3383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3384 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3386 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3387 if test "${enable_debug_cntxt+set}" = set; then
3388 enableval="$enable_debug_cntxt"
3390 if test "$enableval" = yes; then
3391 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3393 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3398 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3399 if test "x$LINE" != x ; then
3400 eval "DEFAULT_$LINE"
3405 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3409 eval "$ac_cv_use_debug_cntxt"
3410 if test "$no_cache" != 1; then
3411 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3414 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3415 echo "$as_me:$LINENO: result: yes" >&5
3416 echo "${ECHO_T}yes" >&6
3418 echo "$as_me:$LINENO: result: no" >&5
3419 echo "${ECHO_T}no" >&6
3424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3425 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3427 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3428 if test "${enable_mem_tracing+set}" = set; then
3429 enableval="$enable_mem_tracing"
3431 if test "$enableval" = yes; then
3432 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3434 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3439 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3440 if test "x$LINE" != x ; then
3441 eval "DEFAULT_$LINE"
3446 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3450 eval "$ac_cv_use_mem_tracing"
3451 if test "$no_cache" != 1; then
3452 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3455 if test "$wxUSE_MEM_TRACING" = yes; then
3456 echo "$as_me:$LINENO: result: yes" >&5
3457 echo "${ECHO_T}yes" >&6
3459 echo "$as_me:$LINENO: result: no" >&5
3460 echo "${ECHO_T}no" >&6
3465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3466 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3468 # Check whether --enable-profile or --disable-profile was given.
3469 if test "${enable_profile+set}" = set; then
3470 enableval="$enable_profile"
3472 if test "$enableval" = yes; then
3473 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3475 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3480 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3481 if test "x$LINE" != x ; then
3482 eval "DEFAULT_$LINE"
3487 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3491 eval "$ac_cv_use_profile"
3492 if test "$no_cache" != 1; then
3493 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3496 if test "$wxUSE_PROFILE" = yes; then
3497 echo "$as_me:$LINENO: result: yes" >&5
3498 echo "${ECHO_T}yes" >&6
3500 echo "$as_me:$LINENO: result: no" >&5
3501 echo "${ECHO_T}no" >&6
3506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3507 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3509 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3510 if test "${enable_no_rtti+set}" = set; then
3511 enableval="$enable_no_rtti"
3513 if test "$enableval" = yes; then
3514 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3516 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3521 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3522 if test "x$LINE" != x ; then
3523 eval "DEFAULT_$LINE"
3528 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3532 eval "$ac_cv_use_no_rtti"
3533 if test "$no_cache" != 1; then
3534 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3537 if test "$wxUSE_NO_RTTI" = yes; then
3538 echo "$as_me:$LINENO: result: yes" >&5
3539 echo "${ECHO_T}yes" >&6
3541 echo "$as_me:$LINENO: result: no" >&5
3542 echo "${ECHO_T}no" >&6
3547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3548 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3550 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3551 if test "${enable_no_exceptions+set}" = set; then
3552 enableval="$enable_no_exceptions"
3554 if test "$enableval" = yes; then
3555 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3557 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3562 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3563 if test "x$LINE" != x ; then
3564 eval "DEFAULT_$LINE"
3569 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3573 eval "$ac_cv_use_no_exceptions"
3574 if test "$no_cache" != 1; then
3575 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3578 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3579 echo "$as_me:$LINENO: result: yes" >&5
3580 echo "${ECHO_T}yes" >&6
3582 echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6
3588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3589 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3591 # Check whether --enable-permissive or --disable-permissive was given.
3592 if test "${enable_permissive+set}" = set; then
3593 enableval="$enable_permissive"
3595 if test "$enableval" = yes; then
3596 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3598 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3603 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3604 if test "x$LINE" != x ; then
3605 eval "DEFAULT_$LINE"
3610 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3614 eval "$ac_cv_use_permissive"
3615 if test "$no_cache" != 1; then
3616 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3619 if test "$wxUSE_PERMISSIVE" = yes; then
3620 echo "$as_me:$LINENO: result: yes" >&5
3621 echo "${ECHO_T}yes" >&6
3623 echo "$as_me:$LINENO: result: no" >&5
3624 echo "${ECHO_T}no" >&6
3629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3630 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3632 # Check whether --enable-no_deps or --disable-no_deps was given.
3633 if test "${enable_no_deps+set}" = set; then
3634 enableval="$enable_no_deps"
3636 if test "$enableval" = yes; then
3637 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3639 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3644 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3645 if test "x$LINE" != x ; then
3646 eval "DEFAULT_$LINE"
3651 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3655 eval "$ac_cv_use_no_deps"
3656 if test "$no_cache" != 1; then
3657 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3660 if test "$wxUSE_NO_DEPS" = yes; then
3661 echo "$as_me:$LINENO: result: yes" >&5
3662 echo "${ECHO_T}yes" >&6
3664 echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6
3671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3672 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3674 # Check whether --enable-compat20 or --disable-compat20 was given.
3675 if test "${enable_compat20+set}" = set; then
3676 enableval="$enable_compat20"
3678 if test "$enableval" = yes; then
3679 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
=yes'
3681 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
=no
'
3686 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3687 if test "x$LINE" != x ; then
3688 eval "DEFAULT_$LINE"
3693 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2
='$DEFAULT_WXWIN_COMPATIBILITY_2
3697 eval "$ac_cv_use_compat20"
3698 if test "$no_cache" != 1; then
3699 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3702 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3703 echo "$as_me:$LINENO: result: yes" >&5
3704 echo "${ECHO_T}yes" >&6
3706 echo "$as_me:$LINENO: result: no" >&5
3707 echo "${ECHO_T}no" >&6
3712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3713 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3715 # Check whether --enable-compat22 or --disable-compat22 was given.
3716 if test "${enable_compat22+set}" = set; then
3717 enableval="$enable_compat22"
3719 if test "$enableval" = yes; then
3720 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3722 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3727 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3728 if test "x$LINE" != x ; then
3729 eval "DEFAULT_$LINE"
3734 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3738 eval "$ac_cv_use_compat22"
3739 if test "$no_cache" != 1; then
3740 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3743 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3744 echo "$as_me:$LINENO: result: yes" >&5
3745 echo "${ECHO_T}yes" >&6
3747 echo "$as_me:$LINENO: result: no" >&5
3748 echo "${ECHO_T}no" >&6
3752 enablestring=disable
3753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3754 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3756 # Check whether --enable-compat24 or --disable-compat24 was given.
3757 if test "${enable_compat24+set}" = set; then
3758 enableval="$enable_compat24"
3760 if test "$enableval" = yes; then
3761 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
3763 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
3768 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3769 if test "x$LINE" != x ; then
3770 eval "DEFAULT_$LINE"
3775 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3779 eval "$ac_cv_use_compat24"
3780 if test "$no_cache" != 1; then
3781 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3784 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3785 echo "$as_me:$LINENO: result: yes" >&5
3786 echo "${ECHO_T}yes" >&6
3788 echo "$as_me:$LINENO: result: no" >&5
3789 echo "${ECHO_T}no" >&6
3793 # Check whether --enable-rpath or --disable-rpath was given.
3794 if test "${enable_rpath+set}" = set; then
3795 enableval="$enable_rpath"
3796 wxRPATH_DIR="$enableval"
3799 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3800 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3808 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3810 # Check whether --enable-intl or --disable-intl was given.
3811 if test "${enable_intl+set}" = set; then
3812 enableval="$enable_intl"
3814 if test "$enableval" = yes; then
3815 ac_cv_use_intl='wxUSE_INTL
=yes'
3817 ac_cv_use_intl='wxUSE_INTL
=no
'
3822 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3823 if test "x$LINE" != x ; then
3824 eval "DEFAULT_$LINE"
3829 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3833 eval "$ac_cv_use_intl"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3838 if test "$wxUSE_INTL" = yes; then
3839 echo "$as_me:$LINENO: result: yes" >&5
3840 echo "${ECHO_T}yes" >&6
3842 echo "$as_me:$LINENO: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3849 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3851 # Check whether --enable-config or --disable-config was given.
3852 if test "${enable_config+set}" = set; then
3853 enableval="$enable_config"
3855 if test "$enableval" = yes; then
3856 ac_cv_use_config='wxUSE_CONFIG
=yes'
3858 ac_cv_use_config='wxUSE_CONFIG
=no
'
3863 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3864 if test "x$LINE" != x ; then
3865 eval "DEFAULT_$LINE"
3870 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3874 eval "$ac_cv_use_config"
3875 if test "$no_cache" != 1; then
3876 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3879 if test "$wxUSE_CONFIG" = yes; then
3880 echo "$as_me:$LINENO: result: yes" >&5
3881 echo "${ECHO_T}yes" >&6
3883 echo "$as_me:$LINENO: result: no" >&5
3884 echo "${ECHO_T}no" >&6
3890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3891 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3893 # Check whether --enable-protocols or --disable-protocols was given.
3894 if test "${enable_protocols+set}" = set; then
3895 enableval="$enable_protocols"
3897 if test "$enableval" = yes; then
3898 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
3900 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
3905 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3906 if test "x$LINE" != x ; then
3907 eval "DEFAULT_$LINE"
3912 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
3916 eval "$ac_cv_use_protocols"
3917 if test "$no_cache" != 1; then
3918 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3921 if test "$wxUSE_PROTOCOL" = yes; then
3922 echo "$as_me:$LINENO: result: yes" >&5
3923 echo "${ECHO_T}yes" >&6
3925 echo "$as_me:$LINENO: result: no" >&5
3926 echo "${ECHO_T}no" >&6
3931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3932 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3934 # Check whether --enable-ftp or --disable-ftp was given.
3935 if test "${enable_ftp+set}" = set; then
3936 enableval="$enable_ftp"
3938 if test "$enableval" = yes; then
3939 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
3941 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
3946 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3947 if test "x$LINE" != x ; then
3948 eval "DEFAULT_$LINE"
3953 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
3957 eval "$ac_cv_use_ftp"
3958 if test "$no_cache" != 1; then
3959 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3962 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3963 echo "$as_me:$LINENO: result: yes" >&5
3964 echo "${ECHO_T}yes" >&6
3966 echo "$as_me:$LINENO: result: no" >&5
3967 echo "${ECHO_T}no" >&6
3972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3973 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3975 # Check whether --enable-http or --disable-http was given.
3976 if test "${enable_http+set}" = set; then
3977 enableval="$enable_http"
3979 if test "$enableval" = yes; then
3980 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
3982 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
3987 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3988 if test "x$LINE" != x ; then
3989 eval "DEFAULT_$LINE"
3994 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
3998 eval "$ac_cv_use_http"
3999 if test "$no_cache" != 1; then
4000 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4003 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4004 echo "$as_me:$LINENO: result: yes" >&5
4005 echo "${ECHO_T}yes" >&6
4007 echo "$as_me:$LINENO: result: no" >&5
4008 echo "${ECHO_T}no" >&6
4013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4014 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4016 # Check whether --enable-fileproto or --disable-fileproto was given.
4017 if test "${enable_fileproto+set}" = set; then
4018 enableval="$enable_fileproto"
4020 if test "$enableval" = yes; then
4021 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4023 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4028 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4029 if test "x$LINE" != x ; then
4030 eval "DEFAULT_$LINE"
4035 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4039 eval "$ac_cv_use_fileproto"
4040 if test "$no_cache" != 1; then
4041 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4044 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4045 echo "$as_me:$LINENO: result: yes" >&5
4046 echo "${ECHO_T}yes" >&6
4048 echo "$as_me:$LINENO: result: no" >&5
4049 echo "${ECHO_T}no" >&6
4054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4055 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4057 # Check whether --enable-sockets or --disable-sockets was given.
4058 if test "${enable_sockets+set}" = set; then
4059 enableval="$enable_sockets"
4061 if test "$enableval" = yes; then
4062 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4064 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4069 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4070 if test "x$LINE" != x ; then
4071 eval "DEFAULT_$LINE"
4076 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4080 eval "$ac_cv_use_sockets"
4081 if test "$no_cache" != 1; then
4082 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4085 if test "$wxUSE_SOCKETS" = yes; then
4086 echo "$as_me:$LINENO: result: yes" >&5
4087 echo "${ECHO_T}yes" >&6
4089 echo "$as_me:$LINENO: result: no" >&5
4090 echo "${ECHO_T}no" >&6
4095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4096 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4098 # Check whether --enable-ole or --disable-ole was given.
4099 if test "${enable_ole+set}" = set; then
4100 enableval="$enable_ole"
4102 if test "$enableval" = yes; then
4103 ac_cv_use_ole='wxUSE_OLE
=yes'
4105 ac_cv_use_ole='wxUSE_OLE
=no
'
4110 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4111 if test "x$LINE" != x ; then
4112 eval "DEFAULT_$LINE"
4117 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4121 eval "$ac_cv_use_ole"
4122 if test "$no_cache" != 1; then
4123 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4126 if test "$wxUSE_OLE" = yes; then
4127 echo "$as_me:$LINENO: result: yes" >&5
4128 echo "${ECHO_T}yes" >&6
4130 echo "$as_me:$LINENO: result: no" >&5
4131 echo "${ECHO_T}no" >&6
4136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4137 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4139 # Check whether --enable-dataobj or --disable-dataobj was given.
4140 if test "${enable_dataobj+set}" = set; then
4141 enableval="$enable_dataobj"
4143 if test "$enableval" = yes; then
4144 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4146 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4151 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4152 if test "x$LINE" != x ; then
4153 eval "DEFAULT_$LINE"
4158 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4162 eval "$ac_cv_use_dataobj"
4163 if test "$no_cache" != 1; then
4164 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4167 if test "$wxUSE_DATAOBJ" = yes; then
4168 echo "$as_me:$LINENO: result: yes" >&5
4169 echo "${ECHO_T}yes" >&6
4171 echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6
4178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4179 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4181 # Check whether --enable-ipc or --disable-ipc was given.
4182 if test "${enable_ipc+set}" = set; then
4183 enableval="$enable_ipc"
4185 if test "$enableval" = yes; then
4186 ac_cv_use_ipc='wxUSE_IPC
=yes'
4188 ac_cv_use_ipc='wxUSE_IPC
=no
'
4193 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4194 if test "x$LINE" != x ; then
4195 eval "DEFAULT_$LINE"
4200 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4204 eval "$ac_cv_use_ipc"
4205 if test "$no_cache" != 1; then
4206 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4209 if test "$wxUSE_IPC" = yes; then
4210 echo "$as_me:$LINENO: result: yes" >&5
4211 echo "${ECHO_T}yes" >&6
4213 echo "$as_me:$LINENO: result: no" >&5
4214 echo "${ECHO_T}no" >&6
4220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4221 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4223 # Check whether --enable-cmdline or --disable-cmdline was given.
4224 if test "${enable_cmdline+set}" = set; then
4225 enableval="$enable_cmdline"
4227 if test "$enableval" = yes; then
4228 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4230 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4235 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4236 if test "x$LINE" != x ; then
4237 eval "DEFAULT_$LINE"
4242 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4246 eval "$ac_cv_use_cmdline"
4247 if test "$no_cache" != 1; then
4248 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4251 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4252 echo "$as_me:$LINENO: result: yes" >&5
4253 echo "${ECHO_T}yes" >&6
4255 echo "$as_me:$LINENO: result: no" >&5
4256 echo "${ECHO_T}no" >&6
4261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4262 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4264 # Check whether --enable-datetime or --disable-datetime was given.
4265 if test "${enable_datetime+set}" = set; then
4266 enableval="$enable_datetime"
4268 if test "$enableval" = yes; then
4269 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4271 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4276 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4277 if test "x$LINE" != x ; then
4278 eval "DEFAULT_$LINE"
4283 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4287 eval "$ac_cv_use_datetime"
4288 if test "$no_cache" != 1; then
4289 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4292 if test "$wxUSE_DATETIME" = yes; then
4293 echo "$as_me:$LINENO: result: yes" >&5
4294 echo "${ECHO_T}yes" >&6
4296 echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6
4302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4303 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4305 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4306 if test "${enable_stopwatch+set}" = set; then
4307 enableval="$enable_stopwatch"
4309 if test "$enableval" = yes; then
4310 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
4312 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
4317 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4318 if test "x$LINE" != x ; then
4319 eval "DEFAULT_$LINE"
4324 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
4328 eval "$ac_cv_use_stopwatch"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4333 if test "$wxUSE_STOPWATCH" = yes; then
4334 echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6
4337 echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6
4343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4344 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4346 # Check whether --enable-dialupman or --disable-dialupman was given.
4347 if test "${enable_dialupman+set}" = set; then
4348 enableval="$enable_dialupman"
4350 if test "$enableval" = yes; then
4351 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4353 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4358 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4359 if test "x$LINE" != x ; then
4360 eval "DEFAULT_$LINE"
4365 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4369 eval "$ac_cv_use_dialupman"
4370 if test "$no_cache" != 1; then
4371 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4374 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4375 echo "$as_me:$LINENO: result: yes" >&5
4376 echo "${ECHO_T}yes" >&6
4378 echo "$as_me:$LINENO: result: no" >&5
4379 echo "${ECHO_T}no" >&6
4384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4385 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4387 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4388 if test "${enable_apple_ieee+set}" = set; then
4389 enableval="$enable_apple_ieee"
4391 if test "$enableval" = yes; then
4392 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4394 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4399 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4400 if test "x$LINE" != x ; then
4401 eval "DEFAULT_$LINE"
4406 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4410 eval "$ac_cv_use_apple_ieee"
4411 if test "$no_cache" != 1; then
4412 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4415 if test "$wxUSE_APPLE_IEEE" = yes; then
4416 echo "$as_me:$LINENO: result: yes" >&5
4417 echo "${ECHO_T}yes" >&6
4419 echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6
4425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4426 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4428 # Check whether --enable-timer or --disable-timer was given.
4429 if test "${enable_timer+set}" = set; then
4430 enableval="$enable_timer"
4432 if test "$enableval" = yes; then
4433 ac_cv_use_timer='wxUSE_TIMER
=yes'
4435 ac_cv_use_timer='wxUSE_TIMER
=no
'
4440 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4441 if test "x$LINE" != x ; then
4442 eval "DEFAULT_$LINE"
4447 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
4451 eval "$ac_cv_use_timer"
4452 if test "$no_cache" != 1; then
4453 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4456 if test "$wxUSE_TIMER" = yes; then
4457 echo "$as_me:$LINENO: result: yes" >&5
4458 echo "${ECHO_T}yes" >&6
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4467 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4469 # Check whether --enable-wave or --disable-wave was given.
4470 if test "${enable_wave+set}" = set; then
4471 enableval="$enable_wave"
4473 if test "$enableval" = yes; then
4474 ac_cv_use_wave='wxUSE_WAVE
=yes'
4476 ac_cv_use_wave='wxUSE_WAVE
=no
'
4481 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4482 if test "x$LINE" != x ; then
4483 eval "DEFAULT_$LINE"
4488 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
4492 eval "$ac_cv_use_wave"
4493 if test "$no_cache" != 1; then
4494 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4497 if test "$wxUSE_WAVE" = yes; then
4498 echo "$as_me:$LINENO: result: yes" >&5
4499 echo "${ECHO_T}yes" >&6
4501 echo "$as_me:$LINENO: result: no" >&5
4502 echo "${ECHO_T}no" >&6
4507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4508 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4510 # Check whether --enable-fraction or --disable-fraction was given.
4511 if test "${enable_fraction+set}" = set; then
4512 enableval="$enable_fraction"
4514 if test "$enableval" = yes; then
4515 ac_cv_use_fraction='wxUSE_FRACTION
=yes'
4517 ac_cv_use_fraction='wxUSE_FRACTION
=no
'
4522 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4523 if test "x$LINE" != x ; then
4524 eval "DEFAULT_$LINE"
4529 ac_cv_use_fraction='wxUSE_FRACTION
='$DEFAULT_wxUSE_FRACTION
4533 eval "$ac_cv_use_fraction"
4534 if test "$no_cache" != 1; then
4535 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4538 if test "$wxUSE_FRACTION" = yes; then
4539 echo "$as_me:$LINENO: result: yes" >&5
4540 echo "${ECHO_T}yes" >&6
4542 echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6
4548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4549 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4551 # Check whether --enable-dynlib or --disable-dynlib was given.
4552 if test "${enable_dynlib+set}" = set; then
4553 enableval="$enable_dynlib"
4555 if test "$enableval" = yes; then
4556 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4558 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4563 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4564 if test "x$LINE" != x ; then
4565 eval "DEFAULT_$LINE"
4570 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4574 eval "$ac_cv_use_dynlib"
4575 if test "$no_cache" != 1; then
4576 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4579 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4580 echo "$as_me:$LINENO: result: yes" >&5
4581 echo "${ECHO_T}yes" >&6
4583 echo "$as_me:$LINENO: result: no" >&5
4584 echo "${ECHO_T}no" >&6
4589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4592 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4593 if test "${enable_dynamicloader+set}" = set; then
4594 enableval="$enable_dynamicloader"
4596 if test "$enableval" = yes; then
4597 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4599 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4604 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4605 if test "x$LINE" != x ; then
4606 eval "DEFAULT_$LINE"
4611 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4615 eval "$ac_cv_use_dynamicloader"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4620 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4621 echo "$as_me:$LINENO: result: yes" >&5
4622 echo "${ECHO_T}yes" >&6
4624 echo "$as_me:$LINENO: result: no" >&5
4625 echo "${ECHO_T}no" >&6
4630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4631 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4633 # Check whether --enable-longlong or --disable-longlong was given.
4634 if test "${enable_longlong+set}" = set; then
4635 enableval="$enable_longlong"
4637 if test "$enableval" = yes; then
4638 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
4640 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
4645 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4646 if test "x$LINE" != x ; then
4647 eval "DEFAULT_$LINE"
4652 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
4656 eval "$ac_cv_use_longlong"
4657 if test "$no_cache" != 1; then
4658 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4661 if test "$wxUSE_LONGLONG" = yes; then
4662 echo "$as_me:$LINENO: result: yes" >&5
4663 echo "${ECHO_T}yes" >&6
4665 echo "$as_me:$LINENO: result: no" >&5
4666 echo "${ECHO_T}no" >&6
4671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4672 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4674 # Check whether --enable-geometry or --disable-geometry was given.
4675 if test "${enable_geometry+set}" = set; then
4676 enableval="$enable_geometry"
4678 if test "$enableval" = yes; then
4679 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4681 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4686 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4687 if test "x$LINE" != x ; then
4688 eval "DEFAULT_$LINE"
4693 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4697 eval "$ac_cv_use_geometry"
4698 if test "$no_cache" != 1; then
4699 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4702 if test "$wxUSE_GEOMETRY" = yes; then
4703 echo "$as_me:$LINENO: result: yes" >&5
4704 echo "${ECHO_T}yes" >&6
4706 echo "$as_me:$LINENO: result: no" >&5
4707 echo "${ECHO_T}no" >&6
4712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4713 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4715 # Check whether --enable-log or --disable-log was given.
4716 if test "${enable_log+set}" = set; then
4717 enableval="$enable_log"
4719 if test "$enableval" = yes; then
4720 ac_cv_use_log='wxUSE_LOG
=yes'
4722 ac_cv_use_log='wxUSE_LOG
=no
'
4727 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4728 if test "x$LINE" != x ; then
4729 eval "DEFAULT_$LINE"
4734 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4738 eval "$ac_cv_use_log"
4739 if test "$no_cache" != 1; then
4740 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4743 if test "$wxUSE_LOG" = yes; then
4744 echo "$as_me:$LINENO: result: yes" >&5
4745 echo "${ECHO_T}yes" >&6
4747 echo "$as_me:$LINENO: result: no" >&5
4748 echo "${ECHO_T}no" >&6
4753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4754 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4756 # Check whether --enable-streams or --disable-streams was given.
4757 if test "${enable_streams+set}" = set; then
4758 enableval="$enable_streams"
4760 if test "$enableval" = yes; then
4761 ac_cv_use_streams='wxUSE_STREAMS
=yes'
4763 ac_cv_use_streams='wxUSE_STREAMS
=no
'
4768 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4769 if test "x$LINE" != x ; then
4770 eval "DEFAULT_$LINE"
4775 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
4779 eval "$ac_cv_use_streams"
4780 if test "$no_cache" != 1; then
4781 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4784 if test "$wxUSE_STREAMS" = yes; then
4785 echo "$as_me:$LINENO: result: yes" >&5
4786 echo "${ECHO_T}yes" >&6
4788 echo "$as_me:$LINENO: result: no" >&5
4789 echo "${ECHO_T}no" >&6
4794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4795 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4797 # Check whether --enable-file or --disable-file was given.
4798 if test "${enable_file+set}" = set; then
4799 enableval="$enable_file"
4801 if test "$enableval" = yes; then
4802 ac_cv_use_file='wxUSE_FILE
=yes'
4804 ac_cv_use_file='wxUSE_FILE
=no
'
4809 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4810 if test "x$LINE" != x ; then
4811 eval "DEFAULT_$LINE"
4816 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4820 eval "$ac_cv_use_file"
4821 if test "$no_cache" != 1; then
4822 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4825 if test "$wxUSE_FILE" = yes; then
4826 echo "$as_me:$LINENO: result: yes" >&5
4827 echo "${ECHO_T}yes" >&6
4829 echo "$as_me:$LINENO: result: no" >&5
4830 echo "${ECHO_T}no" >&6
4835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4836 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4838 # Check whether --enable-ffile or --disable-ffile was given.
4839 if test "${enable_ffile+set}" = set; then
4840 enableval="$enable_ffile"
4842 if test "$enableval" = yes; then
4843 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4845 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4850 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4851 if test "x$LINE" != x ; then
4852 eval "DEFAULT_$LINE"
4857 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4861 eval "$ac_cv_use_ffile"
4862 if test "$no_cache" != 1; then
4863 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4866 if test "$wxUSE_FFILE" = yes; then
4867 echo "$as_me:$LINENO: result: yes" >&5
4868 echo "${ECHO_T}yes" >&6
4870 echo "$as_me:$LINENO: result: no" >&5
4871 echo "${ECHO_T}no" >&6
4876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4877 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4879 # Check whether --enable-textbuf or --disable-textbuf was given.
4880 if test "${enable_textbuf+set}" = set; then
4881 enableval="$enable_textbuf"
4883 if test "$enableval" = yes; then
4884 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
4886 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
4891 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4892 if test "x$LINE" != x ; then
4893 eval "DEFAULT_$LINE"
4898 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
4902 eval "$ac_cv_use_textbuf"
4903 if test "$no_cache" != 1; then
4904 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4907 if test "$wxUSE_TEXTBUFFER" = yes; then
4908 echo "$as_me:$LINENO: result: yes" >&5
4909 echo "${ECHO_T}yes" >&6
4911 echo "$as_me:$LINENO: result: no" >&5
4912 echo "${ECHO_T}no" >&6
4917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4918 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4920 # Check whether --enable-textfile or --disable-textfile was given.
4921 if test "${enable_textfile+set}" = set; then
4922 enableval="$enable_textfile"
4924 if test "$enableval" = yes; then
4925 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
4927 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
4932 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4933 if test "x$LINE" != x ; then
4934 eval "DEFAULT_$LINE"
4939 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
4943 eval "$ac_cv_use_textfile"
4944 if test "$no_cache" != 1; then
4945 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4948 if test "$wxUSE_TEXTFILE" = yes; then
4949 echo "$as_me:$LINENO: result: yes" >&5
4950 echo "${ECHO_T}yes" >&6
4952 echo "$as_me:$LINENO: result: no" >&5
4953 echo "${ECHO_T}no" >&6
4958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4959 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4961 # Check whether --enable-fontmap or --disable-fontmap was given.
4962 if test "${enable_fontmap+set}" = set; then
4963 enableval="$enable_fontmap"
4965 if test "$enableval" = yes; then
4966 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4968 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4973 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4974 if test "x$LINE" != x ; then
4975 eval "DEFAULT_$LINE"
4980 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4984 eval "$ac_cv_use_fontmap"
4985 if test "$no_cache" != 1; then
4986 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4989 if test "$wxUSE_FONTMAP" = yes; then
4990 echo "$as_me:$LINENO: result: yes" >&5
4991 echo "${ECHO_T}yes" >&6
4993 echo "$as_me:$LINENO: result: no" >&5
4994 echo "${ECHO_T}no" >&6
4999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5000 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5002 # Check whether --enable-unicode or --disable-unicode was given.
5003 if test "${enable_unicode+set}" = set; then
5004 enableval="$enable_unicode"
5006 if test "$enableval" = yes; then
5007 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
5009 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
5014 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5015 if test "x$LINE" != x ; then
5016 eval "DEFAULT_$LINE"
5021 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
5025 eval "$ac_cv_use_unicode"
5026 if test "$no_cache" != 1; then
5027 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5030 if test "$wxUSE_UNICODE" = yes; then
5031 echo "$as_me:$LINENO: result: yes" >&5
5032 echo "${ECHO_T}yes" >&6
5034 echo "$as_me:$LINENO: result: no" >&5
5035 echo "${ECHO_T}no" >&6
5040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5041 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5043 # Check whether --enable-mslu or --disable-mslu was given.
5044 if test "${enable_mslu+set}" = set; then
5045 enableval="$enable_mslu"
5047 if test "$enableval" = yes; then
5048 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5050 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5055 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5056 if test "x$LINE" != x ; then
5057 eval "DEFAULT_$LINE"
5062 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5066 eval "$ac_cv_use_mslu"
5067 if test "$no_cache" != 1; then
5068 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5071 if test "$wxUSE_UNICODE_MSLU" = yes; then
5072 echo "$as_me:$LINENO: result: yes" >&5
5073 echo "${ECHO_T}yes" >&6
5075 echo "$as_me:$LINENO: result: no" >&5
5076 echo "${ECHO_T}no" >&6
5081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5082 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5084 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5085 if test "${enable_wxprintfv+set}" = set; then
5086 enableval="$enable_wxprintfv"
5088 if test "$enableval" = yes; then
5089 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
5091 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
5096 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5097 if test "x$LINE" != x ; then
5098 eval "DEFAULT_$LINE"
5103 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5107 eval "$ac_cv_use_wxprintfv"
5108 if test "$no_cache" != 1; then
5109 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5112 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5113 echo "$as_me:$LINENO: result: yes" >&5
5114 echo "${ECHO_T}yes" >&6
5116 echo "$as_me:$LINENO: result: no" >&5
5117 echo "${ECHO_T}no" >&6
5122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5123 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5125 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5126 if test "${enable_std_iostreams+set}" = set; then
5127 enableval="$enable_std_iostreams"
5129 if test "$enableval" = yes; then
5130 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5132 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5137 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5138 if test "x$LINE" != x ; then
5139 eval "DEFAULT_$LINE"
5144 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5148 eval "$ac_cv_use_std_iostreams"
5149 if test "$no_cache" != 1; then
5150 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5153 if test "$wxUSE_STD_IOSTREAM" = yes; then
5154 echo "$as_me:$LINENO: result: yes" >&5
5155 echo "${ECHO_T}yes" >&6
5157 echo "$as_me:$LINENO: result: no" >&5
5158 echo "${ECHO_T}no" >&6
5163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5164 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5166 # Check whether --enable-filesystem or --disable-filesystem was given.
5167 if test "${enable_filesystem+set}" = set; then
5168 enableval="$enable_filesystem"
5170 if test "$enableval" = yes; then
5171 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5173 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5178 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5179 if test "x$LINE" != x ; then
5180 eval "DEFAULT_$LINE"
5185 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5189 eval "$ac_cv_use_filesystem"
5190 if test "$no_cache" != 1; then
5191 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5194 if test "$wxUSE_FILESYSTEM" = yes; then
5195 echo "$as_me:$LINENO: result: yes" >&5
5196 echo "${ECHO_T}yes" >&6
5198 echo "$as_me:$LINENO: result: no" >&5
5199 echo "${ECHO_T}no" >&6
5204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5205 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5207 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5208 if test "${enable_fs_inet+set}" = set; then
5209 enableval="$enable_fs_inet"
5211 if test "$enableval" = yes; then
5212 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5214 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5219 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5220 if test "x$LINE" != x ; then
5221 eval "DEFAULT_$LINE"
5226 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5230 eval "$ac_cv_use_fs_inet"
5231 if test "$no_cache" != 1; then
5232 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5235 if test "$wxUSE_FS_INET" = yes; then
5236 echo "$as_me:$LINENO: result: yes" >&5
5237 echo "${ECHO_T}yes" >&6
5239 echo "$as_me:$LINENO: result: no" >&5
5240 echo "${ECHO_T}no" >&6
5245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5246 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5248 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5249 if test "${enable_fs_zip+set}" = set; then
5250 enableval="$enable_fs_zip"
5252 if test "$enableval" = yes; then
5253 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5255 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5260 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5261 if test "x$LINE" != x ; then
5262 eval "DEFAULT_$LINE"
5267 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5271 eval "$ac_cv_use_fs_zip"
5272 if test "$no_cache" != 1; then
5273 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5276 if test "$wxUSE_FS_ZIP" = yes; then
5277 echo "$as_me:$LINENO: result: yes" >&5
5278 echo "${ECHO_T}yes" >&6
5280 echo "$as_me:$LINENO: result: no" >&5
5281 echo "${ECHO_T}no" >&6
5286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5287 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5289 # Check whether --enable-zipstream or --disable-zipstream was given.
5290 if test "${enable_zipstream+set}" = set; then
5291 enableval="$enable_zipstream"
5293 if test "$enableval" = yes; then
5294 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
5296 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
5301 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5302 if test "x$LINE" != x ; then
5303 eval "DEFAULT_$LINE"
5308 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
5312 eval "$ac_cv_use_zipstream"
5313 if test "$no_cache" != 1; then
5314 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5317 if test "$wxUSE_ZIPSTREAM" = yes; then
5318 echo "$as_me:$LINENO: result: yes" >&5
5319 echo "${ECHO_T}yes" >&6
5321 echo "$as_me:$LINENO: result: no" >&5
5322 echo "${ECHO_T}no" >&6
5328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5329 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5331 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5332 if test "${enable_catch_segvs+set}" = set; then
5333 enableval="$enable_catch_segvs"
5335 if test "$enableval" = yes; then
5336 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
5338 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
5343 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5344 if test "x$LINE" != x ; then
5345 eval "DEFAULT_$LINE"
5350 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5354 eval "$ac_cv_use_catch_segvs"
5355 if test "$no_cache" != 1; then
5356 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5359 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5360 echo "$as_me:$LINENO: result: yes" >&5
5361 echo "${ECHO_T}yes" >&6
5363 echo "$as_me:$LINENO: result: no" >&5
5364 echo "${ECHO_T}no" >&6
5369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5370 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5372 # Check whether --enable-snglinst or --disable-snglinst was given.
5373 if test "${enable_snglinst+set}" = set; then
5374 enableval="$enable_snglinst"
5376 if test "$enableval" = yes; then
5377 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5379 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5384 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5385 if test "x$LINE" != x ; then
5386 eval "DEFAULT_$LINE"
5391 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5395 eval "$ac_cv_use_snglinst"
5396 if test "$no_cache" != 1; then
5397 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5400 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5401 echo "$as_me:$LINENO: result: yes" >&5
5402 echo "${ECHO_T}yes" >&6
5404 echo "$as_me:$LINENO: result: no" >&5
5405 echo "${ECHO_T}no" >&6
5411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5412 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5414 # Check whether --enable-mimetype or --disable-mimetype was given.
5415 if test "${enable_mimetype+set}" = set; then
5416 enableval="$enable_mimetype"
5418 if test "$enableval" = yes; then
5419 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5421 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5426 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5427 if test "x$LINE" != x ; then
5428 eval "DEFAULT_$LINE"
5433 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5437 eval "$ac_cv_use_mimetype"
5438 if test "$no_cache" != 1; then
5439 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5442 if test "$wxUSE_MIMETYPE" = yes; then
5443 echo "$as_me:$LINENO: result: yes" >&5
5444 echo "${ECHO_T}yes" >&6
5446 echo "$as_me:$LINENO: result: no" >&5
5447 echo "${ECHO_T}no" >&6
5452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5453 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5455 # Check whether --enable-system_options or --disable-system_options was given.
5456 if test "${enable_system_options+set}" = set; then
5457 enableval="$enable_system_options"
5459 if test "$enableval" = yes; then
5460 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5462 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5467 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5468 if test "x$LINE" != x ; then
5469 eval "DEFAULT_$LINE"
5474 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5478 eval "$ac_cv_use_system_options"
5479 if test "$no_cache" != 1; then
5480 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5483 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5484 echo "$as_me:$LINENO: result: yes" >&5
5485 echo "${ECHO_T}yes" >&6
5487 echo "$as_me:$LINENO: result: no" >&5
5488 echo "${ECHO_T}no" >&6
5494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5495 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5497 # Check whether --enable-url or --disable-url was given.
5498 if test "${enable_url+set}" = set; then
5499 enableval="$enable_url"
5501 if test "$enableval" = yes; then
5502 ac_cv_use_url='wxUSE_URL
=yes'
5504 ac_cv_use_url='wxUSE_URL
=no
'
5509 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5510 if test "x$LINE" != x ; then
5511 eval "DEFAULT_$LINE"
5516 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5520 eval "$ac_cv_use_url"
5521 if test "$no_cache" != 1; then
5522 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5525 if test "$wxUSE_URL" = yes; then
5526 echo "$as_me:$LINENO: result: yes" >&5
5527 echo "${ECHO_T}yes" >&6
5529 echo "$as_me:$LINENO: result: no" >&5
5530 echo "${ECHO_T}no" >&6
5535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5536 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5538 # Check whether --enable-protocol or --disable-protocol was given.
5539 if test "${enable_protocol+set}" = set; then
5540 enableval="$enable_protocol"
5542 if test "$enableval" = yes; then
5543 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5545 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5550 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5551 if test "x$LINE" != x ; then
5552 eval "DEFAULT_$LINE"
5557 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5561 eval "$ac_cv_use_protocol"
5562 if test "$no_cache" != 1; then
5563 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5566 if test "$wxUSE_PROTOCOL" = yes; then
5567 echo "$as_me:$LINENO: result: yes" >&5
5568 echo "${ECHO_T}yes" >&6
5570 echo "$as_me:$LINENO: result: no" >&5
5571 echo "${ECHO_T}no" >&6
5576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5577 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5579 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5580 if test "${enable_protocol_http+set}" = set; then
5581 enableval="$enable_protocol_http"
5583 if test "$enableval" = yes; then
5584 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5586 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5591 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5592 if test "x$LINE" != x ; then
5593 eval "DEFAULT_$LINE"
5598 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5602 eval "$ac_cv_use_protocol_http"
5603 if test "$no_cache" != 1; then
5604 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5607 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5608 echo "$as_me:$LINENO: result: yes" >&5
5609 echo "${ECHO_T}yes" >&6
5611 echo "$as_me:$LINENO: result: no" >&5
5612 echo "${ECHO_T}no" >&6
5617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5618 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5620 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5621 if test "${enable_protocol_ftp+set}" = set; then
5622 enableval="$enable_protocol_ftp"
5624 if test "$enableval" = yes; then
5625 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5627 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5632 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5633 if test "x$LINE" != x ; then
5634 eval "DEFAULT_$LINE"
5639 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5643 eval "$ac_cv_use_protocol_ftp"
5644 if test "$no_cache" != 1; then
5645 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5648 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5649 echo "$as_me:$LINENO: result: yes" >&5
5650 echo "${ECHO_T}yes" >&6
5652 echo "$as_me:$LINENO: result: no" >&5
5653 echo "${ECHO_T}no" >&6
5658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5659 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5661 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5662 if test "${enable_protocol_file+set}" = set; then
5663 enableval="$enable_protocol_file"
5665 if test "$enableval" = yes; then
5666 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5668 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5673 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5674 if test "x$LINE" != x ; then
5675 eval "DEFAULT_$LINE"
5680 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5684 eval "$ac_cv_use_protocol_file"
5685 if test "$no_cache" != 1; then
5686 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5689 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5690 echo "$as_me:$LINENO: result: yes" >&5
5691 echo "${ECHO_T}yes" >&6
5693 echo "$as_me:$LINENO: result: no" >&5
5694 echo "${ECHO_T}no" >&6
5702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5703 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5705 # Check whether --enable-threads or --disable-threads was given.
5706 if test "${enable_threads+set}" = set; then
5707 enableval="$enable_threads"
5709 if test "$enableval" = yes; then
5710 ac_cv_use_threads='wxUSE_THREADS
=yes'
5712 ac_cv_use_threads='wxUSE_THREADS
=no
'
5717 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5718 if test "x$LINE" != x ; then
5719 eval "DEFAULT_$LINE"
5724 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5728 eval "$ac_cv_use_threads"
5729 if test "$no_cache" != 1; then
5730 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5733 if test "$wxUSE_THREADS" = yes; then
5734 echo "$as_me:$LINENO: result: yes" >&5
5735 echo "${ECHO_T}yes" >&6
5737 echo "$as_me:$LINENO: result: no" >&5
5738 echo "${ECHO_T}no" >&6
5742 if test "$wxUSE_GUI" = "yes"; then
5747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5748 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5750 # Check whether --enable-docview or --disable-docview was given.
5751 if test "${enable_docview+set}" = set; then
5752 enableval="$enable_docview"
5754 if test "$enableval" = yes; then
5755 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5757 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5762 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5763 if test "x$LINE" != x ; then
5764 eval "DEFAULT_$LINE"
5769 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5773 eval "$ac_cv_use_docview"
5774 if test "$no_cache" != 1; then
5775 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5778 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5779 echo "$as_me:$LINENO: result: yes" >&5
5780 echo "${ECHO_T}yes" >&6
5782 echo "$as_me:$LINENO: result: no" >&5
5783 echo "${ECHO_T}no" >&6
5788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5791 # Check whether --enable-help or --disable-help was given.
5792 if test "${enable_help+set}" = set; then
5793 enableval="$enable_help"
5795 if test "$enableval" = yes; then
5796 ac_cv_use_help='wxUSE_HELP
=yes'
5798 ac_cv_use_help='wxUSE_HELP
=no
'
5803 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5804 if test "x$LINE" != x ; then
5805 eval "DEFAULT_$LINE"
5810 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5814 eval "$ac_cv_use_help"
5815 if test "$no_cache" != 1; then
5816 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5819 if test "$wxUSE_HELP" = yes; then
5820 echo "$as_me:$LINENO: result: yes" >&5
5821 echo "${ECHO_T}yes" >&6
5823 echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6
5829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5830 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5832 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5833 if test "${enable_mshtmlhelp+set}" = set; then
5834 enableval="$enable_mshtmlhelp"
5836 if test "$enableval" = yes; then
5837 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
5839 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
5844 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5845 if test "x$LINE" != x ; then
5846 eval "DEFAULT_$LINE"
5851 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
5855 eval "$ac_cv_use_mshtmlhelp"
5856 if test "$no_cache" != 1; then
5857 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5860 if test "$wxUSE_MS_HTML_HELP" = yes; then
5861 echo "$as_me:$LINENO: result: yes" >&5
5862 echo "${ECHO_T}yes" >&6
5864 echo "$as_me:$LINENO: result: no" >&5
5865 echo "${ECHO_T}no" >&6
5870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5871 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5873 # Check whether --enable-html or --disable-html was given.
5874 if test "${enable_html+set}" = set; then
5875 enableval="$enable_html"
5877 if test "$enableval" = yes; then
5878 ac_cv_use_html='wxUSE_HTML
=yes'
5880 ac_cv_use_html='wxUSE_HTML
=no
'
5885 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5886 if test "x$LINE" != x ; then
5887 eval "DEFAULT_$LINE"
5892 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
5896 eval "$ac_cv_use_html"
5897 if test "$no_cache" != 1; then
5898 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5901 if test "$wxUSE_HTML" = yes; then
5902 echo "$as_me:$LINENO: result: yes" >&5
5903 echo "${ECHO_T}yes" >&6
5905 echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6
5911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5912 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5914 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5915 if test "${enable_htmlhelp+set}" = set; then
5916 enableval="$enable_htmlhelp"
5918 if test "$enableval" = yes; then
5919 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
5921 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
5926 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5927 if test "x$LINE" != x ; then
5928 eval "DEFAULT_$LINE"
5933 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
5937 eval "$ac_cv_use_htmlhelp"
5938 if test "$no_cache" != 1; then
5939 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5942 if test "$wxUSE_WXHTML_HELP" = yes; then
5943 echo "$as_me:$LINENO: result: yes" >&5
5944 echo "${ECHO_T}yes" >&6
5946 echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6
5952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5953 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5955 # Check whether --enable-constraints or --disable-constraints was given.
5956 if test "${enable_constraints+set}" = set; then
5957 enableval="$enable_constraints"
5959 if test "$enableval" = yes; then
5960 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
5962 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
5967 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5968 if test "x$LINE" != x ; then
5969 eval "DEFAULT_$LINE"
5974 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
5978 eval "$ac_cv_use_constraints"
5979 if test "$no_cache" != 1; then
5980 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5983 if test "$wxUSE_CONSTRAINTS" = yes; then
5984 echo "$as_me:$LINENO: result: yes" >&5
5985 echo "${ECHO_T}yes" >&6
5987 echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6
5993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5994 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5996 # Check whether --enable-printarch or --disable-printarch was given.
5997 if test "${enable_printarch+set}" = set; then
5998 enableval="$enable_printarch"
6000 if test "$enableval" = yes; then
6001 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6003 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6008 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6009 if test "x$LINE" != x ; then
6010 eval "DEFAULT_$LINE"
6015 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6019 eval "$ac_cv_use_printarch"
6020 if test "$no_cache" != 1; then
6021 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6024 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6025 echo "$as_me:$LINENO: result: yes" >&5
6026 echo "${ECHO_T}yes" >&6
6028 echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6
6034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6037 # Check whether --enable-mdi or --disable-mdi was given.
6038 if test "${enable_mdi+set}" = set; then
6039 enableval="$enable_mdi"
6041 if test "$enableval" = yes; then
6042 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
6044 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
6049 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6050 if test "x$LINE" != x ; then
6051 eval "DEFAULT_$LINE"
6056 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6060 eval "$ac_cv_use_mdi"
6061 if test "$no_cache" != 1; then
6062 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6065 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6066 echo "$as_me:$LINENO: result: yes" >&5
6067 echo "${ECHO_T}yes" >&6
6069 echo "$as_me:$LINENO: result: no" >&5
6070 echo "${ECHO_T}no" >&6
6075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6076 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6078 # Check whether --enable-loggui or --disable-loggui was given.
6079 if test "${enable_loggui+set}" = set; then
6080 enableval="$enable_loggui"
6082 if test "$enableval" = yes; then
6083 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6085 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6090 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6091 if test "x$LINE" != x ; then
6092 eval "DEFAULT_$LINE"
6097 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6101 eval "$ac_cv_use_loggui"
6102 if test "$no_cache" != 1; then
6103 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6106 if test "$wxUSE_LOGGUI" = yes; then
6107 echo "$as_me:$LINENO: result: yes" >&5
6108 echo "${ECHO_T}yes" >&6
6110 echo "$as_me:$LINENO: result: no" >&5
6111 echo "${ECHO_T}no" >&6
6116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6119 # Check whether --enable-logwin or --disable-logwin was given.
6120 if test "${enable_logwin+set}" = set; then
6121 enableval="$enable_logwin"
6123 if test "$enableval" = yes; then
6124 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6126 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6131 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6132 if test "x$LINE" != x ; then
6133 eval "DEFAULT_$LINE"
6138 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6142 eval "$ac_cv_use_logwin"
6143 if test "$no_cache" != 1; then
6144 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6147 if test "$wxUSE_LOGWINDOW" = yes; then
6148 echo "$as_me:$LINENO: result: yes" >&5
6149 echo "${ECHO_T}yes" >&6
6151 echo "$as_me:$LINENO: result: no" >&5
6152 echo "${ECHO_T}no" >&6
6157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6158 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6160 # Check whether --enable-logdialog or --disable-logdialog was given.
6161 if test "${enable_logdialog+set}" = set; then
6162 enableval="$enable_logdialog"
6164 if test "$enableval" = yes; then
6165 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6167 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6172 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6173 if test "x$LINE" != x ; then
6174 eval "DEFAULT_$LINE"
6179 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6183 eval "$ac_cv_use_logdialog"
6184 if test "$no_cache" != 1; then
6185 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6188 if test "$wxUSE_LOGDIALOG" = yes; then
6189 echo "$as_me:$LINENO: result: yes" >&5
6190 echo "${ECHO_T}yes" >&6
6192 echo "$as_me:$LINENO: result: no" >&5
6193 echo "${ECHO_T}no" >&6
6199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6200 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6202 # Check whether --enable-postscript or --disable-postscript was given.
6203 if test "${enable_postscript+set}" = set; then
6204 enableval="$enable_postscript"
6206 if test "$enableval" = yes; then
6207 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
6209 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
6214 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6215 if test "x$LINE" != x ; then
6216 eval "DEFAULT_$LINE"
6221 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
6225 eval "$ac_cv_use_postscript"
6226 if test "$no_cache" != 1; then
6227 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6230 if test "$wxUSE_POSTSCRIPT" = yes; then
6231 echo "$as_me:$LINENO: result: yes" >&5
6232 echo "${ECHO_T}yes" >&6
6234 echo "$as_me:$LINENO: result: no" >&5
6235 echo "${ECHO_T}no" >&6
6243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6244 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6246 # Check whether --enable-prologio or --disable-prologio was given.
6247 if test "${enable_prologio+set}" = set; then
6248 enableval="$enable_prologio"
6250 if test "$enableval" = yes; then
6251 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
6253 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
6258 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6259 if test "x$LINE" != x ; then
6260 eval "DEFAULT_$LINE"
6265 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
6269 eval "$ac_cv_use_prologio"
6270 if test "$no_cache" != 1; then
6271 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6274 if test "$wxUSE_PROLOGIO" = yes; then
6275 echo "$as_me:$LINENO: result: yes" >&5
6276 echo "${ECHO_T}yes" >&6
6278 echo "$as_me:$LINENO: result: no" >&5
6279 echo "${ECHO_T}no" >&6
6284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6285 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6287 # Check whether --enable-resources or --disable-resources was given.
6288 if test "${enable_resources+set}" = set; then
6289 enableval="$enable_resources"
6291 if test "$enableval" = yes; then
6292 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
6294 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
6299 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6300 if test "x$LINE" != x ; then
6301 eval "DEFAULT_$LINE"
6306 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
6310 eval "$ac_cv_use_resources"
6311 if test "$no_cache" != 1; then
6312 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6315 if test "$wxUSE_RESOURCES" = yes; then
6316 echo "$as_me:$LINENO: result: yes" >&5
6317 echo "${ECHO_T}yes" >&6
6319 echo "$as_me:$LINENO: result: no" >&5
6320 echo "${ECHO_T}no" >&6
6327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6328 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6330 # Check whether --enable-clipboard or --disable-clipboard was given.
6331 if test "${enable_clipboard+set}" = set; then
6332 enableval="$enable_clipboard"
6334 if test "$enableval" = yes; then
6335 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6337 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6342 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6343 if test "x$LINE" != x ; then
6344 eval "DEFAULT_$LINE"
6349 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6353 eval "$ac_cv_use_clipboard"
6354 if test "$no_cache" != 1; then
6355 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6358 if test "$wxUSE_CLIPBOARD" = yes; then
6359 echo "$as_me:$LINENO: result: yes" >&5
6360 echo "${ECHO_T}yes" >&6
6362 echo "$as_me:$LINENO: result: no" >&5
6363 echo "${ECHO_T}no" >&6
6368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6369 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6371 # Check whether --enable-dnd or --disable-dnd was given.
6372 if test "${enable_dnd+set}" = set; then
6373 enableval="$enable_dnd"
6375 if test "$enableval" = yes; then
6376 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6378 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6383 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6384 if test "x$LINE" != x ; then
6385 eval "DEFAULT_$LINE"
6390 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6394 eval "$ac_cv_use_dnd"
6395 if test "$no_cache" != 1; then
6396 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6399 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6400 echo "$as_me:$LINENO: result: yes" >&5
6401 echo "${ECHO_T}yes" >&6
6403 echo "$as_me:$LINENO: result: no" >&5
6404 echo "${ECHO_T}no" >&6
6409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6410 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6412 # Check whether --enable-metafile or --disable-metafile was given.
6413 if test "${enable_metafile+set}" = set; then
6414 enableval="$enable_metafile"
6416 if test "$enableval" = yes; then
6417 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6419 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6424 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6425 if test "x$LINE" != x ; then
6426 eval "DEFAULT_$LINE"
6431 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6435 eval "$ac_cv_use_metafile"
6436 if test "$no_cache" != 1; then
6437 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6440 if test "$wxUSE_METAFILE" = yes; then
6441 echo "$as_me:$LINENO: result: yes" >&5
6442 echo "${ECHO_T}yes" >&6
6444 echo "$as_me:$LINENO: result: no" >&5
6445 echo "${ECHO_T}no" >&6
6453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6454 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6456 # Check whether --enable-controls or --disable-controls was given.
6457 if test "${enable_controls+set}" = set; then
6458 enableval="$enable_controls"
6460 if test "$enableval" = yes; then
6461 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6463 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6468 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6469 if test "x$LINE" != x ; then
6470 eval "DEFAULT_$LINE"
6475 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6479 eval "$ac_cv_use_controls"
6480 if test "$no_cache" != 1; then
6481 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6484 if test "$wxUSE_CONTROLS" = yes; then
6485 echo "$as_me:$LINENO: result: yes" >&5
6486 echo "${ECHO_T}yes" >&6
6488 echo "$as_me:$LINENO: result: no" >&5
6489 echo "${ECHO_T}no" >&6
6493 if test "$wxUSE_CONTROLS" = "yes"; then
6494 DEFAULT_wxUSE_ACCEL=yes
6495 DEFAULT_wxUSE_BMPBUTTON=yes
6496 DEFAULT_wxUSE_BUTTON=yes
6497 DEFAULT_wxUSE_CALCTRL=no
6498 DEFAULT_wxUSE_CARET=yes
6499 DEFAULT_wxUSE_COMBOBOX=yes
6500 DEFAULT_wxUSE_CHECKBOX=yes
6501 DEFAULT_wxUSE_CHECKLISTBOX=yes
6502 DEFAULT_wxUSE_CHOICE=yes
6503 DEFAULT_wxUSE_GAUGE=yes
6504 DEFAULT_wxUSE_GRID=yes
6505 DEFAULT_wxUSE_IMAGLIST=yes
6506 DEFAULT_wxUSE_LISTBOX=yes
6507 DEFAULT_wxUSE_LISTCTRL=yes
6508 DEFAULT_wxUSE_NOTEBOOK=yes
6509 DEFAULT_wxUSE_RADIOBOX=yes
6510 DEFAULT_wxUSE_RADIOBTN=yes
6511 DEFAULT_wxUSE_SASH=yes
6512 DEFAULT_wxUSE_SCROLLBAR=yes
6513 DEFAULT_wxUSE_SLIDER=yes
6514 DEFAULT_wxUSE_SPINBTN=yes
6515 DEFAULT_wxUSE_SPINCTRL=yes
6516 DEFAULT_wxUSE_SPLITTER=yes
6517 DEFAULT_wxUSE_STATBMP=yes
6518 DEFAULT_wxUSE_STATBOX=yes
6519 DEFAULT_wxUSE_STATLINE=yes
6520 DEFAULT_wxUSE_STATUSBAR=yes
6521 DEFAULT_wxUSE_TAB_DIALOG=yes
6522 DEFAULT_wxUSE_TOGGLEBTN=yes
6523 DEFAULT_wxUSE_TOOLBAR=yes
6524 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6525 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6526 DEFAULT_wxUSE_TOOLTIPS=yes
6527 DEFAULT_wxUSE_TREECTRL=yes
6528 DEFAULT_wxUSE_POPUPWIN=yes
6529 DEFAULT_wxUSE_TIPWINDOW=yes
6530 elif test "$wxUSE_CONTROLS" = "no"; then
6531 DEFAULT_wxUSE_ACCEL=no
6532 DEFAULT_wxUSE_BMPBUTTON=no
6533 DEFAULT_wxUSE_BUTTON=no
6534 DEFAULT_wxUSE_CALCTRL=no
6535 DEFAULT_wxUSE_CARET=no
6536 DEFAULT_wxUSE_COMBOBOX=no
6537 DEFAULT_wxUSE_CHECKBOX=no
6538 DEFAULT_wxUSE_CHECKLISTBOX=no
6539 DEFAULT_wxUSE_CHOICE=no
6540 DEFAULT_wxUSE_GAUGE=no
6541 DEFAULT_wxUSE_GRID=no
6542 DEFAULT_wxUSE_IMAGLIST=no
6543 DEFAULT_wxUSE_LISTBOX=no
6544 DEFAULT_wxUSE_LISTCTRL=no
6545 DEFAULT_wxUSE_NOTEBOOK=no
6546 DEFAULT_wxUSE_RADIOBOX=no
6547 DEFAULT_wxUSE_RADIOBTN=no
6548 DEFAULT_wxUSE_SASH=no
6549 DEFAULT_wxUSE_SCROLLBAR=no
6550 DEFAULT_wxUSE_SLIDER=no
6551 DEFAULT_wxUSE_SPINBTN=no
6552 DEFAULT_wxUSE_SPINCTRL=no
6553 DEFAULT_wxUSE_SPLITTER=no
6554 DEFAULT_wxUSE_STATBMP=no
6555 DEFAULT_wxUSE_STATBOX=no
6556 DEFAULT_wxUSE_STATLINE=no
6557 DEFAULT_wxUSE_STATUSBAR=no
6558 DEFAULT_wxUSE_TAB_DIALOG=no
6559 DEFAULT_wxUSE_TOGGLEBTN=no
6560 DEFAULT_wxUSE_TOOLBAR=no
6561 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6562 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6563 DEFAULT_wxUSE_TOOLTIPS=no
6564 DEFAULT_wxUSE_TREECTRL=no
6565 DEFAULT_wxUSE_POPUPWIN=no
6566 DEFAULT_wxUSE_TIPWINDOW=no
6569 ## FIXME: This is a blatant hack
6570 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6571 wxUSE_PRINTING_ARCHITECTURE=no
6572 wxUSE_DRAG_AND_DROP=no
6573 # Generic notebook requires tab dialog
6574 DEFAULT_wxUSE_TABDIALOG=yes
6575 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6576 DEFAULT_wxUSE_SCROLLBAR=no
6577 DEFAULT_wxUSE_TOOLTIPS=no
6578 DEFAULT_wxUSE_DRAGIMAGE=no
6583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6584 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6586 # Check whether --enable-accel or --disable-accel was given.
6587 if test "${enable_accel+set}" = set; then
6588 enableval="$enable_accel"
6590 if test "$enableval" = yes; then
6591 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6593 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6598 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6599 if test "x$LINE" != x ; then
6600 eval "DEFAULT_$LINE"
6605 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6609 eval "$ac_cv_use_accel"
6610 if test "$no_cache" != 1; then
6611 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6614 if test "$wxUSE_ACCEL" = yes; then
6615 echo "$as_me:$LINENO: result: yes" >&5
6616 echo "${ECHO_T}yes" >&6
6618 echo "$as_me:$LINENO: result: no" >&5
6619 echo "${ECHO_T}no" >&6
6624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6625 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6627 # Check whether --enable-button or --disable-button was given.
6628 if test "${enable_button+set}" = set; then
6629 enableval="$enable_button"
6631 if test "$enableval" = yes; then
6632 ac_cv_use_button='wxUSE_BUTTON
=yes'
6634 ac_cv_use_button='wxUSE_BUTTON
=no
'
6639 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x ; then
6641 eval "DEFAULT_$LINE"
6646 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6650 eval "$ac_cv_use_button"
6651 if test "$no_cache" != 1; then
6652 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6655 if test "$wxUSE_BUTTON" = yes; then
6656 echo "$as_me:$LINENO: result: yes" >&5
6657 echo "${ECHO_T}yes" >&6
6659 echo "$as_me:$LINENO: result: no" >&5
6660 echo "${ECHO_T}no" >&6
6665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6666 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6668 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6669 if test "${enable_bmpbutton+set}" = set; then
6670 enableval="$enable_bmpbutton"
6672 if test "$enableval" = yes; then
6673 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6675 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6680 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6681 if test "x$LINE" != x ; then
6682 eval "DEFAULT_$LINE"
6687 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6691 eval "$ac_cv_use_bmpbutton"
6692 if test "$no_cache" != 1; then
6693 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6696 if test "$wxUSE_BMPBUTTON" = yes; then
6697 echo "$as_me:$LINENO: result: yes" >&5
6698 echo "${ECHO_T}yes" >&6
6700 echo "$as_me:$LINENO: result: no" >&5
6701 echo "${ECHO_T}no" >&6
6706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6707 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6709 # Check whether --enable-calendar or --disable-calendar was given.
6710 if test "${enable_calendar+set}" = set; then
6711 enableval="$enable_calendar"
6713 if test "$enableval" = yes; then
6714 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6716 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6721 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6722 if test "x$LINE" != x ; then
6723 eval "DEFAULT_$LINE"
6728 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6732 eval "$ac_cv_use_calendar"
6733 if test "$no_cache" != 1; then
6734 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6737 if test "$wxUSE_CALCTRL" = yes; then
6738 echo "$as_me:$LINENO: result: yes" >&5
6739 echo "${ECHO_T}yes" >&6
6741 echo "$as_me:$LINENO: result: no" >&5
6742 echo "${ECHO_T}no" >&6
6747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6748 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6750 # Check whether --enable-caret or --disable-caret was given.
6751 if test "${enable_caret+set}" = set; then
6752 enableval="$enable_caret"
6754 if test "$enableval" = yes; then
6755 ac_cv_use_caret='wxUSE_CARET
=yes'
6757 ac_cv_use_caret='wxUSE_CARET
=no
'
6762 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6763 if test "x$LINE" != x ; then
6764 eval "DEFAULT_$LINE"
6769 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6773 eval "$ac_cv_use_caret"
6774 if test "$no_cache" != 1; then
6775 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6778 if test "$wxUSE_CARET" = yes; then
6779 echo "$as_me:$LINENO: result: yes" >&5
6780 echo "${ECHO_T}yes" >&6
6782 echo "$as_me:$LINENO: result: no" >&5
6783 echo "${ECHO_T}no" >&6
6788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6789 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6791 # Check whether --enable-checkbox or --disable-checkbox was given.
6792 if test "${enable_checkbox+set}" = set; then
6793 enableval="$enable_checkbox"
6795 if test "$enableval" = yes; then
6796 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6798 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6803 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6804 if test "x$LINE" != x ; then
6805 eval "DEFAULT_$LINE"
6810 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6814 eval "$ac_cv_use_checkbox"
6815 if test "$no_cache" != 1; then
6816 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6819 if test "$wxUSE_CHECKBOX" = yes; then
6820 echo "$as_me:$LINENO: result: yes" >&5
6821 echo "${ECHO_T}yes" >&6
6823 echo "$as_me:$LINENO: result: no" >&5
6824 echo "${ECHO_T}no" >&6
6829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6830 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6832 # Check whether --enable-checklst or --disable-checklst was given.
6833 if test "${enable_checklst+set}" = set; then
6834 enableval="$enable_checklst"
6836 if test "$enableval" = yes; then
6837 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
6839 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
6844 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6845 if test "x$LINE" != x ; then
6846 eval "DEFAULT_$LINE"
6851 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
6855 eval "$ac_cv_use_checklst"
6856 if test "$no_cache" != 1; then
6857 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6860 if test "$wxUSE_CHECKLST" = yes; then
6861 echo "$as_me:$LINENO: result: yes" >&5
6862 echo "${ECHO_T}yes" >&6
6864 echo "$as_me:$LINENO: result: no" >&5
6865 echo "${ECHO_T}no" >&6
6870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6871 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6873 # Check whether --enable-choice or --disable-choice was given.
6874 if test "${enable_choice+set}" = set; then
6875 enableval="$enable_choice"
6877 if test "$enableval" = yes; then
6878 ac_cv_use_choice='wxUSE_CHOICE
=yes'
6880 ac_cv_use_choice='wxUSE_CHOICE
=no
'
6885 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6886 if test "x$LINE" != x ; then
6887 eval "DEFAULT_$LINE"
6892 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
6896 eval "$ac_cv_use_choice"
6897 if test "$no_cache" != 1; then
6898 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6901 if test "$wxUSE_CHOICE" = yes; then
6902 echo "$as_me:$LINENO: result: yes" >&5
6903 echo "${ECHO_T}yes" >&6
6905 echo "$as_me:$LINENO: result: no" >&5
6906 echo "${ECHO_T}no" >&6
6911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6914 # Check whether --enable-combobox or --disable-combobox was given.
6915 if test "${enable_combobox+set}" = set; then
6916 enableval="$enable_combobox"
6918 if test "$enableval" = yes; then
6919 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
6921 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
6926 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6927 if test "x$LINE" != x ; then
6928 eval "DEFAULT_$LINE"
6933 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
6937 eval "$ac_cv_use_combobox"
6938 if test "$no_cache" != 1; then
6939 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6942 if test "$wxUSE_COMBOBOX" = yes; then
6943 echo "$as_me:$LINENO: result: yes" >&5
6944 echo "${ECHO_T}yes" >&6
6946 echo "$as_me:$LINENO: result: no" >&5
6947 echo "${ECHO_T}no" >&6
6952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6953 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6955 # Check whether --enable-display or --disable-display was given.
6956 if test "${enable_display+set}" = set; then
6957 enableval="$enable_display"
6959 if test "$enableval" = yes; then
6960 ac_cv_use_display='wxUSE_DISPLAY
=yes'
6962 ac_cv_use_display='wxUSE_DISPLAY
=no
'
6967 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6968 if test "x$LINE" != x ; then
6969 eval "DEFAULT_$LINE"
6974 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
6978 eval "$ac_cv_use_display"
6979 if test "$no_cache" != 1; then
6980 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6983 if test "$wxUSE_DISPLAY" = yes; then
6984 echo "$as_me:$LINENO: result: yes" >&5
6985 echo "${ECHO_T}yes" >&6
6987 echo "$as_me:$LINENO: result: no" >&5
6988 echo "${ECHO_T}no" >&6
6993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6994 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6996 # Check whether --enable-gauge or --disable-gauge was given.
6997 if test "${enable_gauge+set}" = set; then
6998 enableval="$enable_gauge"
7000 if test "$enableval" = yes; then
7001 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7003 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7008 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7009 if test "x$LINE" != x ; then
7010 eval "DEFAULT_$LINE"
7015 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7019 eval "$ac_cv_use_gauge"
7020 if test "$no_cache" != 1; then
7021 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7024 if test "$wxUSE_GAUGE" = yes; then
7025 echo "$as_me:$LINENO: result: yes" >&5
7026 echo "${ECHO_T}yes" >&6
7028 echo "$as_me:$LINENO: result: no" >&5
7029 echo "${ECHO_T}no" >&6
7034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7035 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7037 # Check whether --enable-grid or --disable-grid was given.
7038 if test "${enable_grid+set}" = set; then
7039 enableval="$enable_grid"
7041 if test "$enableval" = yes; then
7042 ac_cv_use_grid='wxUSE_GRID
=yes'
7044 ac_cv_use_grid='wxUSE_GRID
=no
'
7049 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7050 if test "x$LINE" != x ; then
7051 eval "DEFAULT_$LINE"
7056 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7060 eval "$ac_cv_use_grid"
7061 if test "$no_cache" != 1; then
7062 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7065 if test "$wxUSE_GRID" = yes; then
7066 echo "$as_me:$LINENO: result: yes" >&5
7067 echo "${ECHO_T}yes" >&6
7069 echo "$as_me:$LINENO: result: no" >&5
7070 echo "${ECHO_T}no" >&6
7075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7076 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7078 # Check whether --enable-imaglist or --disable-imaglist was given.
7079 if test "${enable_imaglist+set}" = set; then
7080 enableval="$enable_imaglist"
7082 if test "$enableval" = yes; then
7083 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7085 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7090 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7091 if test "x$LINE" != x ; then
7092 eval "DEFAULT_$LINE"
7097 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7101 eval "$ac_cv_use_imaglist"
7102 if test "$no_cache" != 1; then
7103 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7106 if test "$wxUSE_IMAGLIST" = yes; then
7107 echo "$as_me:$LINENO: result: yes" >&5
7108 echo "${ECHO_T}yes" >&6
7110 echo "$as_me:$LINENO: result: no" >&5
7111 echo "${ECHO_T}no" >&6
7116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7117 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7119 # Check whether --enable-listbox or --disable-listbox was given.
7120 if test "${enable_listbox+set}" = set; then
7121 enableval="$enable_listbox"
7123 if test "$enableval" = yes; then
7124 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7126 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7131 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7132 if test "x$LINE" != x ; then
7133 eval "DEFAULT_$LINE"
7138 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7142 eval "$ac_cv_use_listbox"
7143 if test "$no_cache" != 1; then
7144 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7147 if test "$wxUSE_LISTBOX" = yes; then
7148 echo "$as_me:$LINENO: result: yes" >&5
7149 echo "${ECHO_T}yes" >&6
7151 echo "$as_me:$LINENO: result: no" >&5
7152 echo "${ECHO_T}no" >&6
7157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7158 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7160 # Check whether --enable-listctrl or --disable-listctrl was given.
7161 if test "${enable_listctrl+set}" = set; then
7162 enableval="$enable_listctrl"
7164 if test "$enableval" = yes; then
7165 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7167 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7172 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7173 if test "x$LINE" != x ; then
7174 eval "DEFAULT_$LINE"
7179 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7183 eval "$ac_cv_use_listctrl"
7184 if test "$no_cache" != 1; then
7185 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7188 if test "$wxUSE_LISTCTRL" = yes; then
7189 echo "$as_me:$LINENO: result: yes" >&5
7190 echo "${ECHO_T}yes" >&6
7192 echo "$as_me:$LINENO: result: no" >&5
7193 echo "${ECHO_T}no" >&6
7198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7199 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7201 # Check whether --enable-notebook or --disable-notebook was given.
7202 if test "${enable_notebook+set}" = set; then
7203 enableval="$enable_notebook"
7205 if test "$enableval" = yes; then
7206 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7208 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7213 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7214 if test "x$LINE" != x ; then
7215 eval "DEFAULT_$LINE"
7220 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7224 eval "$ac_cv_use_notebook"
7225 if test "$no_cache" != 1; then
7226 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7229 if test "$wxUSE_NOTEBOOK" = yes; then
7230 echo "$as_me:$LINENO: result: yes" >&5
7231 echo "${ECHO_T}yes" >&6
7233 echo "$as_me:$LINENO: result: no" >&5
7234 echo "${ECHO_T}no" >&6
7239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7240 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7242 # Check whether --enable-radiobox or --disable-radiobox was given.
7243 if test "${enable_radiobox+set}" = set; then
7244 enableval="$enable_radiobox"
7246 if test "$enableval" = yes; then
7247 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7249 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7254 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7255 if test "x$LINE" != x ; then
7256 eval "DEFAULT_$LINE"
7261 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7265 eval "$ac_cv_use_radiobox"
7266 if test "$no_cache" != 1; then
7267 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7270 if test "$wxUSE_RADIOBOX" = yes; then
7271 echo "$as_me:$LINENO: result: yes" >&5
7272 echo "${ECHO_T}yes" >&6
7274 echo "$as_me:$LINENO: result: no" >&5
7275 echo "${ECHO_T}no" >&6
7280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7281 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7283 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7284 if test "${enable_radiobtn+set}" = set; then
7285 enableval="$enable_radiobtn"
7287 if test "$enableval" = yes; then
7288 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7290 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7295 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7296 if test "x$LINE" != x ; then
7297 eval "DEFAULT_$LINE"
7302 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7306 eval "$ac_cv_use_radiobtn"
7307 if test "$no_cache" != 1; then
7308 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7311 if test "$wxUSE_RADIOBTN" = yes; then
7312 echo "$as_me:$LINENO: result: yes" >&5
7313 echo "${ECHO_T}yes" >&6
7315 echo "$as_me:$LINENO: result: no" >&5
7316 echo "${ECHO_T}no" >&6
7321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7322 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7324 # Check whether --enable-sash or --disable-sash was given.
7325 if test "${enable_sash+set}" = set; then
7326 enableval="$enable_sash"
7328 if test "$enableval" = yes; then
7329 ac_cv_use_sash='wxUSE_SASH
=yes'
7331 ac_cv_use_sash='wxUSE_SASH
=no
'
7336 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7337 if test "x$LINE" != x ; then
7338 eval "DEFAULT_$LINE"
7343 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7347 eval "$ac_cv_use_sash"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7352 if test "$wxUSE_SASH" = yes; then
7353 echo "$as_me:$LINENO: result: yes" >&5
7354 echo "${ECHO_T}yes" >&6
7356 echo "$as_me:$LINENO: result: no" >&5
7357 echo "${ECHO_T}no" >&6
7362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7363 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7365 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7366 if test "${enable_scrollbar+set}" = set; then
7367 enableval="$enable_scrollbar"
7369 if test "$enableval" = yes; then
7370 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7372 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7377 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7378 if test "x$LINE" != x ; then
7379 eval "DEFAULT_$LINE"
7384 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7388 eval "$ac_cv_use_scrollbar"
7389 if test "$no_cache" != 1; then
7390 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7393 if test "$wxUSE_SCROLLBAR" = yes; then
7394 echo "$as_me:$LINENO: result: yes" >&5
7395 echo "${ECHO_T}yes" >&6
7397 echo "$as_me:$LINENO: result: no" >&5
7398 echo "${ECHO_T}no" >&6
7403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7404 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7406 # Check whether --enable-slider or --disable-slider was given.
7407 if test "${enable_slider+set}" = set; then
7408 enableval="$enable_slider"
7410 if test "$enableval" = yes; then
7411 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7413 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7418 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7419 if test "x$LINE" != x ; then
7420 eval "DEFAULT_$LINE"
7425 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7429 eval "$ac_cv_use_slider"
7430 if test "$no_cache" != 1; then
7431 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7434 if test "$wxUSE_SLIDER" = yes; then
7435 echo "$as_me:$LINENO: result: yes" >&5
7436 echo "${ECHO_T}yes" >&6
7438 echo "$as_me:$LINENO: result: no" >&5
7439 echo "${ECHO_T}no" >&6
7444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7445 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7447 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7448 if test "${enable_spinbtn+set}" = set; then
7449 enableval="$enable_spinbtn"
7451 if test "$enableval" = yes; then
7452 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7454 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7459 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7460 if test "x$LINE" != x ; then
7461 eval "DEFAULT_$LINE"
7466 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7470 eval "$ac_cv_use_spinbtn"
7471 if test "$no_cache" != 1; then
7472 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7475 if test "$wxUSE_SPINBTN" = yes; then
7476 echo "$as_me:$LINENO: result: yes" >&5
7477 echo "${ECHO_T}yes" >&6
7479 echo "$as_me:$LINENO: result: no" >&5
7480 echo "${ECHO_T}no" >&6
7485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7486 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7488 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7489 if test "${enable_spinctrl+set}" = set; then
7490 enableval="$enable_spinctrl"
7492 if test "$enableval" = yes; then
7493 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7495 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7500 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7501 if test "x$LINE" != x ; then
7502 eval "DEFAULT_$LINE"
7507 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7511 eval "$ac_cv_use_spinctrl"
7512 if test "$no_cache" != 1; then
7513 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7516 if test "$wxUSE_SPINCTRL" = yes; then
7517 echo "$as_me:$LINENO: result: yes" >&5
7518 echo "${ECHO_T}yes" >&6
7520 echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6
7526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7527 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7529 # Check whether --enable-splitter or --disable-splitter was given.
7530 if test "${enable_splitter+set}" = set; then
7531 enableval="$enable_splitter"
7533 if test "$enableval" = yes; then
7534 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7536 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7541 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7542 if test "x$LINE" != x ; then
7543 eval "DEFAULT_$LINE"
7548 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7552 eval "$ac_cv_use_splitter"
7553 if test "$no_cache" != 1; then
7554 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7557 if test "$wxUSE_SPLITTER" = yes; then
7558 echo "$as_me:$LINENO: result: yes" >&5
7559 echo "${ECHO_T}yes" >&6
7561 echo "$as_me:$LINENO: result: no" >&5
7562 echo "${ECHO_T}no" >&6
7567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7568 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7570 # Check whether --enable-statbmp or --disable-statbmp was given.
7571 if test "${enable_statbmp+set}" = set; then
7572 enableval="$enable_statbmp"
7574 if test "$enableval" = yes; then
7575 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7577 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7582 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7583 if test "x$LINE" != x ; then
7584 eval "DEFAULT_$LINE"
7589 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7593 eval "$ac_cv_use_statbmp"
7594 if test "$no_cache" != 1; then
7595 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7598 if test "$wxUSE_STATBMP" = yes; then
7599 echo "$as_me:$LINENO: result: yes" >&5
7600 echo "${ECHO_T}yes" >&6
7602 echo "$as_me:$LINENO: result: no" >&5
7603 echo "${ECHO_T}no" >&6
7608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7609 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7611 # Check whether --enable-statbox or --disable-statbox was given.
7612 if test "${enable_statbox+set}" = set; then
7613 enableval="$enable_statbox"
7615 if test "$enableval" = yes; then
7616 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7618 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7623 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7624 if test "x$LINE" != x ; then
7625 eval "DEFAULT_$LINE"
7630 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7634 eval "$ac_cv_use_statbox"
7635 if test "$no_cache" != 1; then
7636 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7639 if test "$wxUSE_STATBOX" = yes; then
7640 echo "$as_me:$LINENO: result: yes" >&5
7641 echo "${ECHO_T}yes" >&6
7643 echo "$as_me:$LINENO: result: no" >&5
7644 echo "${ECHO_T}no" >&6
7649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7650 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7652 # Check whether --enable-statline or --disable-statline was given.
7653 if test "${enable_statline+set}" = set; then
7654 enableval="$enable_statline"
7656 if test "$enableval" = yes; then
7657 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7659 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7664 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7665 if test "x$LINE" != x ; then
7666 eval "DEFAULT_$LINE"
7671 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7675 eval "$ac_cv_use_statline"
7676 if test "$no_cache" != 1; then
7677 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7680 if test "$wxUSE_STATLINE" = yes; then
7681 echo "$as_me:$LINENO: result: yes" >&5
7682 echo "${ECHO_T}yes" >&6
7684 echo "$as_me:$LINENO: result: no" >&5
7685 echo "${ECHO_T}no" >&6
7690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7691 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7693 # Check whether --enable-stattext or --disable-stattext was given.
7694 if test "${enable_stattext+set}" = set; then
7695 enableval="$enable_stattext"
7697 if test "$enableval" = yes; then
7698 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7700 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7705 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7712 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7716 eval "$ac_cv_use_stattext"
7717 if test "$no_cache" != 1; then
7718 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7721 if test "$wxUSE_STATTEXT" = yes; then
7722 echo "$as_me:$LINENO: result: yes" >&5
7723 echo "${ECHO_T}yes" >&6
7725 echo "$as_me:$LINENO: result: no" >&5
7726 echo "${ECHO_T}no" >&6
7731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7732 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7734 # Check whether --enable-statusbar or --disable-statusbar was given.
7735 if test "${enable_statusbar+set}" = set; then
7736 enableval="$enable_statusbar"
7738 if test "$enableval" = yes; then
7739 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7741 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7746 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x ; then
7748 eval "DEFAULT_$LINE"
7753 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7757 eval "$ac_cv_use_statusbar"
7758 if test "$no_cache" != 1; then
7759 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7762 if test "$wxUSE_STATUSBAR" = yes; then
7763 echo "$as_me:$LINENO: result: yes" >&5
7764 echo "${ECHO_T}yes" >&6
7766 echo "$as_me:$LINENO: result: no" >&5
7767 echo "${ECHO_T}no" >&6
7772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7773 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7775 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7776 if test "${enable_tabdialog+set}" = set; then
7777 enableval="$enable_tabdialog"
7779 if test "$enableval" = yes; then
7780 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7782 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7787 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7788 if test "x$LINE" != x ; then
7789 eval "DEFAULT_$LINE"
7794 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
7798 eval "$ac_cv_use_tabdialog"
7799 if test "$no_cache" != 1; then
7800 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7803 if test "$wxUSE_TABDIALOG" = yes; then
7804 echo "$as_me:$LINENO: result: yes" >&5
7805 echo "${ECHO_T}yes" >&6
7807 echo "$as_me:$LINENO: result: no" >&5
7808 echo "${ECHO_T}no" >&6
7813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7814 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7816 # Check whether --enable-textctrl or --disable-textctrl was given.
7817 if test "${enable_textctrl+set}" = set; then
7818 enableval="$enable_textctrl"
7820 if test "$enableval" = yes; then
7821 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
7823 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
7828 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7829 if test "x$LINE" != x ; then
7830 eval "DEFAULT_$LINE"
7835 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
7839 eval "$ac_cv_use_textctrl"
7840 if test "$no_cache" != 1; then
7841 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7844 if test "$wxUSE_TEXTCTRL" = yes; then
7845 echo "$as_me:$LINENO: result: yes" >&5
7846 echo "${ECHO_T}yes" >&6
7848 echo "$as_me:$LINENO: result: no" >&5
7849 echo "${ECHO_T}no" >&6
7854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7855 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7857 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7858 if test "${enable_togglebtn+set}" = set; then
7859 enableval="$enable_togglebtn"
7861 if test "$enableval" = yes; then
7862 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
7864 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
7869 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7870 if test "x$LINE" != x ; then
7871 eval "DEFAULT_$LINE"
7876 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
7880 eval "$ac_cv_use_togglebtn"
7881 if test "$no_cache" != 1; then
7882 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7885 if test "$wxUSE_TOGGLEBTN" = yes; then
7886 echo "$as_me:$LINENO: result: yes" >&5
7887 echo "${ECHO_T}yes" >&6
7889 echo "$as_me:$LINENO: result: no" >&5
7890 echo "${ECHO_T}no" >&6
7895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7896 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7898 # Check whether --enable-toolbar or --disable-toolbar was given.
7899 if test "${enable_toolbar+set}" = set; then
7900 enableval="$enable_toolbar"
7902 if test "$enableval" = yes; then
7903 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
7905 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
7910 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7911 if test "x$LINE" != x ; then
7912 eval "DEFAULT_$LINE"
7917 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
7921 eval "$ac_cv_use_toolbar"
7922 if test "$no_cache" != 1; then
7923 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7926 if test "$wxUSE_TOOLBAR" = yes; then
7927 echo "$as_me:$LINENO: result: yes" >&5
7928 echo "${ECHO_T}yes" >&6
7930 echo "$as_me:$LINENO: result: no" >&5
7931 echo "${ECHO_T}no" >&6
7936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7937 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7939 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7940 if test "${enable_tbarnative+set}" = set; then
7941 enableval="$enable_tbarnative"
7943 if test "$enableval" = yes; then
7944 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
7946 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
7951 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7952 if test "x$LINE" != x ; then
7953 eval "DEFAULT_$LINE"
7958 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7962 eval "$ac_cv_use_tbarnative"
7963 if test "$no_cache" != 1; then
7964 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7967 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7968 echo "$as_me:$LINENO: result: yes" >&5
7969 echo "${ECHO_T}yes" >&6
7971 echo "$as_me:$LINENO: result: no" >&5
7972 echo "${ECHO_T}no" >&6
7977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7978 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7980 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7981 if test "${enable_tbarsmpl+set}" = set; then
7982 enableval="$enable_tbarsmpl"
7984 if test "$enableval" = yes; then
7985 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
7987 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
7992 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7993 if test "x$LINE" != x ; then
7994 eval "DEFAULT_$LINE"
7999 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8003 eval "$ac_cv_use_tbarsmpl"
8004 if test "$no_cache" != 1; then
8005 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8008 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8009 echo "$as_me:$LINENO: result: yes" >&5
8010 echo "${ECHO_T}yes" >&6
8012 echo "$as_me:$LINENO: result: no" >&5
8013 echo "${ECHO_T}no" >&6
8018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8019 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8021 # Check whether --enable-treectrl or --disable-treectrl was given.
8022 if test "${enable_treectrl+set}" = set; then
8023 enableval="$enable_treectrl"
8025 if test "$enableval" = yes; then
8026 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8028 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8033 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8034 if test "x$LINE" != x ; then
8035 eval "DEFAULT_$LINE"
8040 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8044 eval "$ac_cv_use_treectrl"
8045 if test "$no_cache" != 1; then
8046 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8049 if test "$wxUSE_TREECTRL" = yes; then
8050 echo "$as_me:$LINENO: result: yes" >&5
8051 echo "${ECHO_T}yes" >&6
8053 echo "$as_me:$LINENO: result: no" >&5
8054 echo "${ECHO_T}no" >&6
8059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8060 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8062 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8063 if test "${enable_tipwindow+set}" = set; then
8064 enableval="$enable_tipwindow"
8066 if test "$enableval" = yes; then
8067 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8069 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8074 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8075 if test "x$LINE" != x ; then
8076 eval "DEFAULT_$LINE"
8081 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8085 eval "$ac_cv_use_tipwindow"
8086 if test "$no_cache" != 1; then
8087 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8090 if test "$wxUSE_TIPWINDOW" = yes; then
8091 echo "$as_me:$LINENO: result: yes" >&5
8092 echo "${ECHO_T}yes" >&6
8094 echo "$as_me:$LINENO: result: no" >&5
8095 echo "${ECHO_T}no" >&6
8100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8101 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8103 # Check whether --enable-popupwin or --disable-popupwin was given.
8104 if test "${enable_popupwin+set}" = set; then
8105 enableval="$enable_popupwin"
8107 if test "$enableval" = yes; then
8108 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8110 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8115 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8116 if test "x$LINE" != x ; then
8117 eval "DEFAULT_$LINE"
8122 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8126 eval "$ac_cv_use_popupwin"
8127 if test "$no_cache" != 1; then
8128 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8131 if test "$wxUSE_POPUPWIN" = yes; then
8132 echo "$as_me:$LINENO: result: yes" >&5
8133 echo "${ECHO_T}yes" >&6
8135 echo "$as_me:$LINENO: result: no" >&5
8136 echo "${ECHO_T}no" >&6
8143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8144 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8146 # Check whether --enable-commondlg or --disable-commondlg was given.
8147 if test "${enable_commondlg+set}" = set; then
8148 enableval="$enable_commondlg"
8150 if test "$enableval" = yes; then
8151 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8153 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8158 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8159 if test "x$LINE" != x ; then
8160 eval "DEFAULT_$LINE"
8165 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8169 eval "$ac_cv_use_commondlg"
8170 if test "$no_cache" != 1; then
8171 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8174 if test "$wxUSE_COMMONDLGS" = yes; then
8175 echo "$as_me:$LINENO: result: yes" >&5
8176 echo "${ECHO_T}yes" >&6
8178 echo "$as_me:$LINENO: result: no" >&5
8179 echo "${ECHO_T}no" >&6
8184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8185 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8187 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8188 if test "${enable_choicedlg+set}" = set; then
8189 enableval="$enable_choicedlg"
8191 if test "$enableval" = yes; then
8192 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8194 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8199 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8200 if test "x$LINE" != x ; then
8201 eval "DEFAULT_$LINE"
8206 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8210 eval "$ac_cv_use_choicedlg"
8211 if test "$no_cache" != 1; then
8212 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8215 if test "$wxUSE_CHOICEDLG" = yes; then
8216 echo "$as_me:$LINENO: result: yes" >&5
8217 echo "${ECHO_T}yes" >&6
8219 echo "$as_me:$LINENO: result: no" >&5
8220 echo "${ECHO_T}no" >&6
8225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8226 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8228 # Check whether --enable-coldlg or --disable-coldlg was given.
8229 if test "${enable_coldlg+set}" = set; then
8230 enableval="$enable_coldlg"
8232 if test "$enableval" = yes; then
8233 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8235 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8240 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8241 if test "x$LINE" != x ; then
8242 eval "DEFAULT_$LINE"
8247 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8251 eval "$ac_cv_use_coldlg"
8252 if test "$no_cache" != 1; then
8253 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8256 if test "$wxUSE_COLOURDLG" = yes; then
8257 echo "$as_me:$LINENO: result: yes" >&5
8258 echo "${ECHO_T}yes" >&6
8260 echo "$as_me:$LINENO: result: no" >&5
8261 echo "${ECHO_T}no" >&6
8266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8267 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8269 # Check whether --enable-filedlg or --disable-filedlg was given.
8270 if test "${enable_filedlg+set}" = set; then
8271 enableval="$enable_filedlg"
8273 if test "$enableval" = yes; then
8274 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8276 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8281 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8282 if test "x$LINE" != x ; then
8283 eval "DEFAULT_$LINE"
8288 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8292 eval "$ac_cv_use_filedlg"
8293 if test "$no_cache" != 1; then
8294 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8297 if test "$wxUSE_FILEDLG" = yes; then
8298 echo "$as_me:$LINENO: result: yes" >&5
8299 echo "${ECHO_T}yes" >&6
8301 echo "$as_me:$LINENO: result: no" >&5
8302 echo "${ECHO_T}no" >&6
8307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8308 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8310 # Check whether --enable-finddlg or --disable-finddlg was given.
8311 if test "${enable_finddlg+set}" = set; then
8312 enableval="$enable_finddlg"
8314 if test "$enableval" = yes; then
8315 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8317 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8322 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8323 if test "x$LINE" != x ; then
8324 eval "DEFAULT_$LINE"
8329 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8333 eval "$ac_cv_use_finddlg"
8334 if test "$no_cache" != 1; then
8335 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8338 if test "$wxUSE_FINDREPLDLG" = yes; then
8339 echo "$as_me:$LINENO: result: yes" >&5
8340 echo "${ECHO_T}yes" >&6
8342 echo "$as_me:$LINENO: result: no" >&5
8343 echo "${ECHO_T}no" >&6
8348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8349 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8351 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8352 if test "${enable_fontdlg+set}" = set; then
8353 enableval="$enable_fontdlg"
8355 if test "$enableval" = yes; then
8356 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8358 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8363 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8364 if test "x$LINE" != x ; then
8365 eval "DEFAULT_$LINE"
8370 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8374 eval "$ac_cv_use_fontdlg"
8375 if test "$no_cache" != 1; then
8376 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8379 if test "$wxUSE_FONTDLG" = yes; then
8380 echo "$as_me:$LINENO: result: yes" >&5
8381 echo "${ECHO_T}yes" >&6
8383 echo "$as_me:$LINENO: result: no" >&5
8384 echo "${ECHO_T}no" >&6
8389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8390 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8392 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8393 if test "${enable_dirdlg+set}" = set; then
8394 enableval="$enable_dirdlg"
8396 if test "$enableval" = yes; then
8397 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8399 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8404 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8405 if test "x$LINE" != x ; then
8406 eval "DEFAULT_$LINE"
8411 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8415 eval "$ac_cv_use_dirdlg"
8416 if test "$no_cache" != 1; then
8417 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8420 if test "$wxUSE_DIRDLG" = yes; then
8421 echo "$as_me:$LINENO: result: yes" >&5
8422 echo "${ECHO_T}yes" >&6
8424 echo "$as_me:$LINENO: result: no" >&5
8425 echo "${ECHO_T}no" >&6
8430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8431 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8433 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8434 if test "${enable_msgdlg+set}" = set; then
8435 enableval="$enable_msgdlg"
8437 if test "$enableval" = yes; then
8438 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8440 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8445 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8446 if test "x$LINE" != x ; then
8447 eval "DEFAULT_$LINE"
8452 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8456 eval "$ac_cv_use_msgdlg"
8457 if test "$no_cache" != 1; then
8458 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8461 if test "$wxUSE_MSGDLG" = yes; then
8462 echo "$as_me:$LINENO: result: yes" >&5
8463 echo "${ECHO_T}yes" >&6
8465 echo "$as_me:$LINENO: result: no" >&5
8466 echo "${ECHO_T}no" >&6
8471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8472 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8474 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8475 if test "${enable_numberdlg+set}" = set; then
8476 enableval="$enable_numberdlg"
8478 if test "$enableval" = yes; then
8479 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8481 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8486 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8487 if test "x$LINE" != x ; then
8488 eval "DEFAULT_$LINE"
8493 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8497 eval "$ac_cv_use_numberdlg"
8498 if test "$no_cache" != 1; then
8499 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8502 if test "$wxUSE_NUMBERDLG" = yes; then
8503 echo "$as_me:$LINENO: result: yes" >&5
8504 echo "${ECHO_T}yes" >&6
8506 echo "$as_me:$LINENO: result: no" >&5
8507 echo "${ECHO_T}no" >&6
8512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8513 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8515 # Check whether --enable-splash or --disable-splash was given.
8516 if test "${enable_splash+set}" = set; then
8517 enableval="$enable_splash"
8519 if test "$enableval" = yes; then
8520 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8522 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8527 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8528 if test "x$LINE" != x ; then
8529 eval "DEFAULT_$LINE"
8534 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8538 eval "$ac_cv_use_splash"
8539 if test "$no_cache" != 1; then
8540 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8543 if test "$wxUSE_SPLASH" = yes; then
8544 echo "$as_me:$LINENO: result: yes" >&5
8545 echo "${ECHO_T}yes" >&6
8547 echo "$as_me:$LINENO: result: no" >&5
8548 echo "${ECHO_T}no" >&6
8553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8554 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8556 # Check whether --enable-textdlg or --disable-textdlg was given.
8557 if test "${enable_textdlg+set}" = set; then
8558 enableval="$enable_textdlg"
8560 if test "$enableval" = yes; then
8561 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8563 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8568 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8569 if test "x$LINE" != x ; then
8570 eval "DEFAULT_$LINE"
8575 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8579 eval "$ac_cv_use_textdlg"
8580 if test "$no_cache" != 1; then
8581 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8584 if test "$wxUSE_TEXTDLG" = yes; then
8585 echo "$as_me:$LINENO: result: yes" >&5
8586 echo "${ECHO_T}yes" >&6
8588 echo "$as_me:$LINENO: result: no" >&5
8589 echo "${ECHO_T}no" >&6
8594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8595 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8597 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8598 if test "${enable_tipdlg+set}" = set; then
8599 enableval="$enable_tipdlg"
8601 if test "$enableval" = yes; then
8602 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8604 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8609 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8610 if test "x$LINE" != x ; then
8611 eval "DEFAULT_$LINE"
8616 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8620 eval "$ac_cv_use_tipdlg"
8621 if test "$no_cache" != 1; then
8622 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8625 if test "$wxUSE_STARTUP_TIPS" = yes; then
8626 echo "$as_me:$LINENO: result: yes" >&5
8627 echo "${ECHO_T}yes" >&6
8629 echo "$as_me:$LINENO: result: no" >&5
8630 echo "${ECHO_T}no" >&6
8635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8636 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8638 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8639 if test "${enable_progressdlg+set}" = set; then
8640 enableval="$enable_progressdlg"
8642 if test "$enableval" = yes; then
8643 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8645 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8650 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8651 if test "x$LINE" != x ; then
8652 eval "DEFAULT_$LINE"
8657 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8661 eval "$ac_cv_use_progressdlg"
8662 if test "$no_cache" != 1; then
8663 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8666 if test "$wxUSE_PROGRESSDLG" = yes; then
8667 echo "$as_me:$LINENO: result: yes" >&5
8668 echo "${ECHO_T}yes" >&6
8670 echo "$as_me:$LINENO: result: no" >&5
8671 echo "${ECHO_T}no" >&6
8676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8677 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8679 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8680 if test "${enable_wizarddlg+set}" = set; then
8681 enableval="$enable_wizarddlg"
8683 if test "$enableval" = yes; then
8684 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8686 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8691 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8692 if test "x$LINE" != x ; then
8693 eval "DEFAULT_$LINE"
8698 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8702 eval "$ac_cv_use_wizarddlg"
8703 if test "$no_cache" != 1; then
8704 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8707 if test "$wxUSE_WIZARDDLG" = yes; then
8708 echo "$as_me:$LINENO: result: yes" >&5
8709 echo "${ECHO_T}yes" >&6
8711 echo "$as_me:$LINENO: result: no" >&5
8712 echo "${ECHO_T}no" >&6
8719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8720 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8722 # Check whether --enable-menus or --disable-menus was given.
8723 if test "${enable_menus+set}" = set; then
8724 enableval="$enable_menus"
8726 if test "$enableval" = yes; then
8727 ac_cv_use_menus='wxUSE_MENUS
=yes'
8729 ac_cv_use_menus='wxUSE_MENUS
=no
'
8734 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8735 if test "x$LINE" != x ; then
8736 eval "DEFAULT_$LINE"
8741 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8745 eval "$ac_cv_use_menus"
8746 if test "$no_cache" != 1; then
8747 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8750 if test "$wxUSE_MENUS" = yes; then
8751 echo "$as_me:$LINENO: result: yes" >&5
8752 echo "${ECHO_T}yes" >&6
8754 echo "$as_me:$LINENO: result: no" >&5
8755 echo "${ECHO_T}no" >&6
8760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8761 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8763 # Check whether --enable-miniframe or --disable-miniframe was given.
8764 if test "${enable_miniframe+set}" = set; then
8765 enableval="$enable_miniframe"
8767 if test "$enableval" = yes; then
8768 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8770 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8775 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8776 if test "x$LINE" != x ; then
8777 eval "DEFAULT_$LINE"
8782 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8786 eval "$ac_cv_use_miniframe"
8787 if test "$no_cache" != 1; then
8788 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8791 if test "$wxUSE_MINIFRAME" = yes; then
8792 echo "$as_me:$LINENO: result: yes" >&5
8793 echo "${ECHO_T}yes" >&6
8795 echo "$as_me:$LINENO: result: no" >&5
8796 echo "${ECHO_T}no" >&6
8801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8802 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8804 # Check whether --enable-tooltips or --disable-tooltips was given.
8805 if test "${enable_tooltips+set}" = set; then
8806 enableval="$enable_tooltips"
8808 if test "$enableval" = yes; then
8809 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
8811 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
8816 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8817 if test "x$LINE" != x ; then
8818 eval "DEFAULT_$LINE"
8823 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
8827 eval "$ac_cv_use_tooltips"
8828 if test "$no_cache" != 1; then
8829 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8832 if test "$wxUSE_TOOLTIPS" = yes; then
8833 echo "$as_me:$LINENO: result: yes" >&5
8834 echo "${ECHO_T}yes" >&6
8836 echo "$as_me:$LINENO: result: no" >&5
8837 echo "${ECHO_T}no" >&6
8842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8843 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8845 # Check whether --enable-splines or --disable-splines was given.
8846 if test "${enable_splines+set}" = set; then
8847 enableval="$enable_splines"
8849 if test "$enableval" = yes; then
8850 ac_cv_use_splines='wxUSE_SPLINES
=yes'
8852 ac_cv_use_splines='wxUSE_SPLINES
=no
'
8857 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8858 if test "x$LINE" != x ; then
8859 eval "DEFAULT_$LINE"
8864 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
8868 eval "$ac_cv_use_splines"
8869 if test "$no_cache" != 1; then
8870 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8873 if test "$wxUSE_SPLINES" = yes; then
8874 echo "$as_me:$LINENO: result: yes" >&5
8875 echo "${ECHO_T}yes" >&6
8877 echo "$as_me:$LINENO: result: no" >&5
8878 echo "${ECHO_T}no" >&6
8883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8884 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8886 # Check whether --enable-validators or --disable-validators was given.
8887 if test "${enable_validators+set}" = set; then
8888 enableval="$enable_validators"
8890 if test "$enableval" = yes; then
8891 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
8893 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
8898 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8899 if test "x$LINE" != x ; then
8900 eval "DEFAULT_$LINE"
8905 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
8909 eval "$ac_cv_use_validators"
8910 if test "$no_cache" != 1; then
8911 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8914 if test "$wxUSE_VALIDATORS" = yes; then
8915 echo "$as_me:$LINENO: result: yes" >&5
8916 echo "${ECHO_T}yes" >&6
8918 echo "$as_me:$LINENO: result: no" >&5
8919 echo "${ECHO_T}no" >&6
8924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8925 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8927 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8928 if test "${enable_busyinfo+set}" = set; then
8929 enableval="$enable_busyinfo"
8931 if test "$enableval" = yes; then
8932 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
8934 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
8939 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8940 if test "x$LINE" != x ; then
8941 eval "DEFAULT_$LINE"
8946 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
8950 eval "$ac_cv_use_busyinfo"
8951 if test "$no_cache" != 1; then
8952 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8955 if test "$wxUSE_BUSYINFO" = yes; then
8956 echo "$as_me:$LINENO: result: yes" >&5
8957 echo "${ECHO_T}yes" >&6
8959 echo "$as_me:$LINENO: result: no" >&5
8960 echo "${ECHO_T}no" >&6
8965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8966 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8968 # Check whether --enable-joystick or --disable-joystick was given.
8969 if test "${enable_joystick+set}" = set; then
8970 enableval="$enable_joystick"
8972 if test "$enableval" = yes; then
8973 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
8975 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
8980 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8981 if test "x$LINE" != x ; then
8982 eval "DEFAULT_$LINE"
8987 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
8991 eval "$ac_cv_use_joystick"
8992 if test "$no_cache" != 1; then
8993 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8996 if test "$wxUSE_JOYSTICK" = yes; then
8997 echo "$as_me:$LINENO: result: yes" >&5
8998 echo "${ECHO_T}yes" >&6
9000 echo "$as_me:$LINENO: result: no" >&5
9001 echo "${ECHO_T}no" >&6
9006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9007 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9009 # Check whether --enable-metafile or --disable-metafile was given.
9010 if test "${enable_metafile+set}" = set; then
9011 enableval="$enable_metafile"
9013 if test "$enableval" = yes; then
9014 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9016 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9021 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9022 if test "x$LINE" != x ; then
9023 eval "DEFAULT_$LINE"
9028 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9032 eval "$ac_cv_use_metafile"
9033 if test "$no_cache" != 1; then
9034 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9037 if test "$wxUSE_METAFILE" = yes; then
9038 echo "$as_me:$LINENO: result: yes" >&5
9039 echo "${ECHO_T}yes" >&6
9041 echo "$as_me:$LINENO: result: no" >&5
9042 echo "${ECHO_T}no" >&6
9047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9048 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9050 # Check whether --enable-dragimage or --disable-dragimage was given.
9051 if test "${enable_dragimage+set}" = set; then
9052 enableval="$enable_dragimage"
9054 if test "$enableval" = yes; then
9055 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
9057 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9062 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9063 if test "x$LINE" != x ; then
9064 eval "DEFAULT_$LINE"
9069 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9073 eval "$ac_cv_use_dragimage"
9074 if test "$no_cache" != 1; then
9075 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9078 if test "$wxUSE_DRAGIMAGE" = yes; then
9079 echo "$as_me:$LINENO: result: yes" >&5
9080 echo "${ECHO_T}yes" >&6
9082 echo "$as_me:$LINENO: result: no" >&5
9083 echo "${ECHO_T}no" >&6
9088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9089 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9091 # Check whether --enable-accessibility or --disable-accessibility was given.
9092 if test "${enable_accessibility+set}" = set; then
9093 enableval="$enable_accessibility"
9095 if test "$enableval" = yes; then
9096 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9098 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9103 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9104 if test "x$LINE" != x ; then
9105 eval "DEFAULT_$LINE"
9110 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9114 eval "$ac_cv_use_accessibility"
9115 if test "$no_cache" != 1; then
9116 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9119 if test "$wxUSE_ACCESSIBILITY" = yes; then
9120 echo "$as_me:$LINENO: result: yes" >&5
9121 echo "${ECHO_T}yes" >&6
9123 echo "$as_me:$LINENO: result: no" >&5
9124 echo "${ECHO_T}no" >&6
9131 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9132 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9134 # Check whether --enable-palette or --disable-palette was given.
9135 if test "${enable_palette+set}" = set; then
9136 enableval="$enable_palette"
9138 if test "$enableval" = yes; then
9139 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9141 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9146 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9147 if test "x$LINE" != x ; then
9148 eval "DEFAULT_$LINE"
9153 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9157 eval "$ac_cv_use_palette"
9158 if test "$no_cache" != 1; then
9159 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9162 if test "$wxUSE_PALETTE" = yes; then
9163 echo "$as_me:$LINENO: result: yes" >&5
9164 echo "${ECHO_T}yes" >&6
9166 echo "$as_me:$LINENO: result: no" >&5
9167 echo "${ECHO_T}no" >&6
9172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9173 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9175 # Check whether --enable-image or --disable-image was given.
9176 if test "${enable_image+set}" = set; then
9177 enableval="$enable_image"
9179 if test "$enableval" = yes; then
9180 ac_cv_use_image='wxUSE_IMAGE
=yes'
9182 ac_cv_use_image='wxUSE_IMAGE
=no
'
9187 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9188 if test "x$LINE" != x ; then
9189 eval "DEFAULT_$LINE"
9194 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9198 eval "$ac_cv_use_image"
9199 if test "$no_cache" != 1; then
9200 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9203 if test "$wxUSE_IMAGE" = yes; then
9204 echo "$as_me:$LINENO: result: yes" >&5
9205 echo "${ECHO_T}yes" >&6
9207 echo "$as_me:$LINENO: result: no" >&5
9208 echo "${ECHO_T}no" >&6
9213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9214 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9216 # Check whether --enable-gif or --disable-gif was given.
9217 if test "${enable_gif+set}" = set; then
9218 enableval="$enable_gif"
9220 if test "$enableval" = yes; then
9221 ac_cv_use_gif='wxUSE_GIF
=yes'
9223 ac_cv_use_gif='wxUSE_GIF
=no
'
9228 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9229 if test "x$LINE" != x ; then
9230 eval "DEFAULT_$LINE"
9235 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9239 eval "$ac_cv_use_gif"
9240 if test "$no_cache" != 1; then
9241 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9244 if test "$wxUSE_GIF" = yes; then
9245 echo "$as_me:$LINENO: result: yes" >&5
9246 echo "${ECHO_T}yes" >&6
9248 echo "$as_me:$LINENO: result: no" >&5
9249 echo "${ECHO_T}no" >&6
9254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9255 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9257 # Check whether --enable-pcx or --disable-pcx was given.
9258 if test "${enable_pcx+set}" = set; then
9259 enableval="$enable_pcx"
9261 if test "$enableval" = yes; then
9262 ac_cv_use_pcx='wxUSE_PCX
=yes'
9264 ac_cv_use_pcx='wxUSE_PCX
=no
'
9269 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9270 if test "x$LINE" != x ; then
9271 eval "DEFAULT_$LINE"
9276 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9280 eval "$ac_cv_use_pcx"
9281 if test "$no_cache" != 1; then
9282 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9285 if test "$wxUSE_PCX" = yes; then
9286 echo "$as_me:$LINENO: result: yes" >&5
9287 echo "${ECHO_T}yes" >&6
9289 echo "$as_me:$LINENO: result: no" >&5
9290 echo "${ECHO_T}no" >&6
9295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9296 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9298 # Check whether --enable-iff or --disable-iff was given.
9299 if test "${enable_iff+set}" = set; then
9300 enableval="$enable_iff"
9302 if test "$enableval" = yes; then
9303 ac_cv_use_iff='wxUSE_IFF
=yes'
9305 ac_cv_use_iff='wxUSE_IFF
=no
'
9310 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9311 if test "x$LINE" != x ; then
9312 eval "DEFAULT_$LINE"
9317 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9321 eval "$ac_cv_use_iff"
9322 if test "$no_cache" != 1; then
9323 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9326 if test "$wxUSE_IFF" = yes; then
9327 echo "$as_me:$LINENO: result: yes" >&5
9328 echo "${ECHO_T}yes" >&6
9330 echo "$as_me:$LINENO: result: no" >&5
9331 echo "${ECHO_T}no" >&6
9336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9337 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9339 # Check whether --enable-pnm or --disable-pnm was given.
9340 if test "${enable_pnm+set}" = set; then
9341 enableval="$enable_pnm"
9343 if test "$enableval" = yes; then
9344 ac_cv_use_pnm='wxUSE_PNM
=yes'
9346 ac_cv_use_pnm='wxUSE_PNM
=no
'
9351 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9352 if test "x$LINE" != x ; then
9353 eval "DEFAULT_$LINE"
9358 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9362 eval "$ac_cv_use_pnm"
9363 if test "$no_cache" != 1; then
9364 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9367 if test "$wxUSE_PNM" = yes; then
9368 echo "$as_me:$LINENO: result: yes" >&5
9369 echo "${ECHO_T}yes" >&6
9371 echo "$as_me:$LINENO: result: no" >&5
9372 echo "${ECHO_T}no" >&6
9377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9380 # Check whether --enable-xpm or --disable-xpm was given.
9381 if test "${enable_xpm+set}" = set; then
9382 enableval="$enable_xpm"
9384 if test "$enableval" = yes; then
9385 ac_cv_use_xpm='wxUSE_XPM
=yes'
9387 ac_cv_use_xpm='wxUSE_XPM
=no
'
9392 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9393 if test "x$LINE" != x ; then
9394 eval "DEFAULT_$LINE"
9399 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9403 eval "$ac_cv_use_xpm"
9404 if test "$no_cache" != 1; then
9405 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9408 if test "$wxUSE_XPM" = yes; then
9409 echo "$as_me:$LINENO: result: yes" >&5
9410 echo "${ECHO_T}yes" >&6
9412 echo "$as_me:$LINENO: result: no" >&5
9413 echo "${ECHO_T}no" >&6
9418 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9419 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9421 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9422 if test "${enable_ico_cur+set}" = set; then
9423 enableval="$enable_ico_cur"
9425 if test "$enableval" = yes; then
9426 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9428 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9433 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9434 if test "x$LINE" != x ; then
9435 eval "DEFAULT_$LINE"
9440 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9444 eval "$ac_cv_use_ico_cur"
9445 if test "$no_cache" != 1; then
9446 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9449 if test "$wxUSE_ICO_CUR" = yes; then
9450 echo "$as_me:$LINENO: result: yes" >&5
9451 echo "${ECHO_T}yes" >&6
9453 echo "$as_me:$LINENO: result: no" >&5
9454 echo "${ECHO_T}no" >&6
9463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9466 # Check whether --enable-official_build or --disable-official_build was given.
9467 if test "${enable_official_build+set}" = set; then
9468 enableval="$enable_official_build"
9470 if test "$enableval" = yes; then
9471 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
9473 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
9478 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9479 if test "x$LINE" != x ; then
9480 eval "DEFAULT_$LINE"
9485 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
9489 eval "$ac_cv_use_official_build"
9490 if test "$no_cache" != 1; then
9491 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9494 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9495 echo "$as_me:$LINENO: result: yes" >&5
9496 echo "${ECHO_T}yes" >&6
9498 echo "$as_me:$LINENO: result: no" >&5
9499 echo "${ECHO_T}no" >&6
9502 # Check whether --enable-vendor or --disable-vendor was given.
9503 if test "${enable_vendor+set}" = set; then
9504 enableval="$enable_vendor"
9507 if test "x$VENDOR" = "x"; then
9512 *-pc-os2_emx | *-pc-os2-emx )
9522 echo "saving argument cache $wx_arg_cache_file"
9523 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9527 echo "$as_me:$LINENO: checking for toolkit" >&5
9528 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9530 # In Wine, we need to default to MSW, not GTK or MOTIF
9531 if test "$wxUSE_WINE" = "yes"; then
9532 DEFAULT_DEFAULT_wxUSE_GTK=0
9533 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9534 DEFAULT_DEFAULT_wxUSE_MSW=1
9537 if test "$wxUSE_GUI" = "yes"; then
9539 if test "$USE_BEOS" = 1; then
9540 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9541 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9542 { (exit 1); exit 1; }; }
9545 if test "$TOOLKIT_GIVEN" = 1; then
9546 for toolkit in `echo $ALL_TOOLKITS`; do
9548 eval "value=\$${var}"
9549 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9552 for toolkit in `echo $ALL_TOOLKITS`; do
9553 if test "$has_toolkit_in_cache" != 1; then
9554 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9556 var=DEFAULT_wxUSE_$toolkit
9558 eval "wxUSE_$toolkit=\$${var}"
9562 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9563 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9564 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9567 *-pc-os2_emx | *-pc-os2-emx )
9568 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9571 case "$NUM_TOOLKITS" in
9575 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9576 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9577 { (exit 1); exit 1; }; }
9580 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9581 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9582 { (exit 1); exit 1; }; }
9585 for toolkit in `echo $ALL_TOOLKITS`; do
9587 eval "value=\$${var}"
9588 if test "x$value" != x; then
9589 cache_var=CACHE_$toolkit
9590 eval "cache=\$${cache_var}"
9591 if test "$cache" = 1; then
9592 echo "$var=$value" >> ${wx_arg_cache_file}
9594 if test "$value" = 1; then
9595 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9596 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9597 echo "${ECHO_T}$toolkit_echo" >&6
9602 if test "x$host_alias" != "x"; then
9603 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9604 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9606 echo "$as_me:$LINENO: result: base only" >&5
9607 echo "${ECHO_T}base only" >&6
9615 if test "$wxUSE_MSW" = 1 ; then
9626 if test "$wxUSE_WINE" = "yes"; then
9633 if test "$wants_win32" = 1 ; then
9636 cat >>confdefs.h <<\_ACEOF
9640 cat >>confdefs.h <<\_ACEOF
9644 cat >>confdefs.h <<\_ACEOF
9645 #define __WINDOWS__ 1
9648 cat >>confdefs.h <<\_ACEOF
9649 #define __GNUWIN32__ 1
9652 cat >>confdefs.h <<\_ACEOF
9656 cat >>confdefs.h <<\_ACEOF
9657 #define WINVER 0x0400
9661 if test "$doesnt_want_win32" = 1 ; then
9666 if test "$USE_UNIX" = 1 ; then
9668 cat >>confdefs.h <<\_ACEOF
9675 cat >confcache <<\_ACEOF
9676 # This file is a shell script that caches the results of configure
9677 # tests run on this system so they can be shared between configure
9678 # scripts and configure runs, see configure's option
--config-cache.
9679 # It is not useful on other systems. If it contains results you don't
9680 # want to keep, you may remove or edit it.
9682 # config.status only pays attention to the cache file if you give it
9683 # the --recheck option to rerun configure.
9685 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9686 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9691 # The following way of writing the cache mishandles newlines in values,
9692 # but we know of no workaround that is simple, portable, and efficient.
9693 # So, don't put newlines in cache variables' values.
9694 # Ultrix sh set writes to stderr and can't be redirected directly,
9695 # and sets the high bit in the cache file unless we assign to the vars.
9698 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9700 # `set' does not quote correctly, so add quotes (double-quote
9701 # substitution turns \\\\ into \\, and sed turns \\ into \).
9704 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9707 # `set' quotes correctly as required by POSIX, so do not add quotes.
9709 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9716 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9718 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9720 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9721 if test -w $cache_file; then
9722 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9723 cat confcache
>$cache_file
9725 echo "not updating unwritable cache $cache_file"
9730 if test "$build" != "$host" ; then
9731 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9735 RANLIB
=$host_alias-ranlib
9736 DLLTOOL
=$host_alias-dlltool
9737 RESCOMP
=$host_alias-windres
9740 STRIP
=$host_alias-strip
9742 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9743 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9744 { (exit 1); exit 1; }; }
9750 ac_cpp
='$CPP $CPPFLAGS'
9751 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9752 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9753 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9754 if test -n "$ac_tool_prefix"; then
9755 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9756 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9757 echo "$as_me:$LINENO: checking for $ac_word" >&5
9758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9759 if test "${ac_cv_prog_CC+set}" = set; then
9760 echo $ECHO_N "(cached) $ECHO_C" >&6
9762 if test -n "$CC"; then
9763 ac_cv_prog_CC
="$CC" # Let the user override the test.
9765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9769 test -z "$as_dir" && as_dir
=.
9770 for ac_exec_ext
in '' $ac_executable_extensions; do
9771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9772 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9782 if test -n "$CC"; then
9783 echo "$as_me:$LINENO: result: $CC" >&5
9784 echo "${ECHO_T}$CC" >&6
9786 echo "$as_me:$LINENO: result: no" >&5
9787 echo "${ECHO_T}no" >&6
9791 if test -z "$ac_cv_prog_CC"; then
9793 # Extract the first word of "gcc", so it can be a program name with args.
9794 set dummy gcc
; ac_word
=$2
9795 echo "$as_me:$LINENO: checking for $ac_word" >&5
9796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9798 echo $ECHO_N "(cached) $ECHO_C" >&6
9800 if test -n "$ac_ct_CC"; then
9801 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9807 test -z "$as_dir" && as_dir
=.
9808 for ac_exec_ext
in '' $ac_executable_extensions; do
9809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9810 ac_cv_prog_ac_ct_CC
="gcc"
9811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9819 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9820 if test -n "$ac_ct_CC"; then
9821 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9822 echo "${ECHO_T}$ac_ct_CC" >&6
9824 echo "$as_me:$LINENO: result: no" >&5
9825 echo "${ECHO_T}no" >&6
9833 if test -z "$CC"; then
9834 if test -n "$ac_tool_prefix"; then
9835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9836 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9837 echo "$as_me:$LINENO: checking for $ac_word" >&5
9838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9839 if test "${ac_cv_prog_CC+set}" = set; then
9840 echo $ECHO_N "(cached) $ECHO_C" >&6
9842 if test -n "$CC"; then
9843 ac_cv_prog_CC
="$CC" # Let the user override the test.
9845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9849 test -z "$as_dir" && as_dir
=.
9850 for ac_exec_ext
in '' $ac_executable_extensions; do
9851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9852 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9862 if test -n "$CC"; then
9863 echo "$as_me:$LINENO: result: $CC" >&5
9864 echo "${ECHO_T}$CC" >&6
9866 echo "$as_me:$LINENO: result: no" >&5
9867 echo "${ECHO_T}no" >&6
9871 if test -z "$ac_cv_prog_CC"; then
9873 # Extract the first word of "cc", so it can be a program name with args.
9874 set dummy cc
; ac_word
=$2
9875 echo "$as_me:$LINENO: checking for $ac_word" >&5
9876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9878 echo $ECHO_N "(cached) $ECHO_C" >&6
9880 if test -n "$ac_ct_CC"; then
9881 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9887 test -z "$as_dir" && as_dir
=.
9888 for ac_exec_ext
in '' $ac_executable_extensions; do
9889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9890 ac_cv_prog_ac_ct_CC
="cc"
9891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9899 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9900 if test -n "$ac_ct_CC"; then
9901 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9902 echo "${ECHO_T}$ac_ct_CC" >&6
9904 echo "$as_me:$LINENO: result: no" >&5
9905 echo "${ECHO_T}no" >&6
9914 if test -z "$CC"; then
9915 # Extract the first word of "cc", so it can be a program name with args.
9916 set dummy cc
; ac_word
=$2
9917 echo "$as_me:$LINENO: checking for $ac_word" >&5
9918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9919 if test "${ac_cv_prog_CC+set}" = set; then
9920 echo $ECHO_N "(cached) $ECHO_C" >&6
9922 if test -n "$CC"; then
9923 ac_cv_prog_CC
="$CC" # Let the user override the test.
9926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9930 test -z "$as_dir" && as_dir
=.
9931 for ac_exec_ext
in '' $ac_executable_extensions; do
9932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9933 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9934 ac_prog_rejected
=yes
9938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9944 if test $ac_prog_rejected = yes; then
9945 # We found a bogon in the path, so make sure we never use it.
9946 set dummy
$ac_cv_prog_CC
9948 if test $# != 0; then
9949 # We chose a different compiler from the bogus one.
9950 # However, it has the same basename, so the bogon will be chosen
9951 # first if we set CC to just the basename; use the full file name.
9953 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
9959 if test -n "$CC"; then
9960 echo "$as_me:$LINENO: result: $CC" >&5
9961 echo "${ECHO_T}$CC" >&6
9963 echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6
9968 if test -z "$CC"; then
9969 if test -n "$ac_tool_prefix"; then
9972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9973 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
9974 echo "$as_me:$LINENO: checking for $ac_word" >&5
9975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9976 if test "${ac_cv_prog_CC+set}" = set; then
9977 echo $ECHO_N "(cached) $ECHO_C" >&6
9979 if test -n "$CC"; then
9980 ac_cv_prog_CC
="$CC" # Let the user override the test.
9982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9986 test -z "$as_dir" && as_dir
=.
9987 for ac_exec_ext
in '' $ac_executable_extensions; do
9988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9989 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
9990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9999 if test -n "$CC"; then
10000 echo "$as_me:$LINENO: result: $CC" >&5
10001 echo "${ECHO_T}$CC" >&6
10003 echo "$as_me:$LINENO: result: no" >&5
10004 echo "${ECHO_T}no" >&6
10007 test -n "$CC" && break
10010 if test -z "$CC"; then
10014 # Extract the first word of "$ac_prog", so it can be a program name with args.
10015 set dummy
$ac_prog; ac_word
=$2
10016 echo "$as_me:$LINENO: checking for $ac_word" >&5
10017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10019 echo $ECHO_N "(cached) $ECHO_C" >&6
10021 if test -n "$ac_ct_CC"; then
10022 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10025 for as_dir
in $PATH
10028 test -z "$as_dir" && as_dir
=.
10029 for ac_exec_ext
in '' $ac_executable_extensions; do
10030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10031 ac_cv_prog_ac_ct_CC
="$ac_prog"
10032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10040 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10041 if test -n "$ac_ct_CC"; then
10042 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10043 echo "${ECHO_T}$ac_ct_CC" >&6
10045 echo "$as_me:$LINENO: result: no" >&5
10046 echo "${ECHO_T}no" >&6
10049 test -n "$ac_ct_CC" && break
10058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10059 See \`config.log' for more details." >&5
10060 echo "$as_me: error: no acceptable C compiler found in \$PATH
10061 See \`config.log' for more details." >&2;}
10062 { (exit 1); exit 1; }; }
10064 # Provide some information about the compiler.
10065 echo "$as_me:$LINENO:" \
10066 "checking for C compiler version" >&5
10067 ac_compiler
=`set X $ac_compile; echo $2`
10068 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10069 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }
10073 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10074 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077 (exit $ac_status); }
10078 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10079 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 (exit $ac_status); }
10084 cat >conftest.
$ac_ext <<_ACEOF
10085 #line $LINENO "configure"
10088 cat confdefs.h
>>conftest.
$ac_ext
10089 cat >>conftest.
$ac_ext <<_ACEOF
10090 /* end confdefs.h. */
10100 ac_clean_files_save
=$ac_clean_files
10101 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10102 # Try to create an executable without -o first, disregard a.out.
10103 # It will help us diagnose broken compilers, and finding out an intuition
10105 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10106 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10107 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10108 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10109 (eval $ac_link_default) 2>&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); }; then
10113 # Find the output, starting from the most likely. This scheme is
10114 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10117 # Be careful to initialize this variable, since it used to be cached.
10118 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10120 # b.out is created by i960 compilers.
10121 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10123 test -f "$ac_file" || continue
10125 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10128 # This is the source file.
10131 # We found the default executable, but exeext='' is most
10135 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10136 # FIXME: I believe we export ac_cv_exeext for Libtool,
10137 # but it would be cool to find out if it's true. Does anybody
10138 # maintain Libtool? --akim.
10139 export ac_cv_exeext
10146 echo "$as_me: failed program was:" >&5
10147 sed 's/^/| /' conftest.
$ac_ext >&5
10149 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10150 See \`config.log' for more details." >&5
10151 echo "$as_me: error: C compiler cannot create executables
10152 See \`config.log' for more details." >&2;}
10153 { (exit 77); exit 77; }; }
10156 ac_exeext
=$ac_cv_exeext
10157 echo "$as_me:$LINENO: result: $ac_file" >&5
10158 echo "${ECHO_T}$ac_file" >&6
10160 # Check the compiler produces executables we can run. If not, either
10161 # the compiler is broken, or we cross compile.
10162 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10163 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10164 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10165 # If not cross compiling, check that we can run a simple program.
10166 if test "$cross_compiling" != yes; then
10167 if { ac_try
='./$ac_file'
10168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10169 (eval $ac_try) 2>&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); }; }; then
10175 if test "$cross_compiling" = maybe
; then
10176 cross_compiling
=yes
10178 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10179 If you meant to cross compile, use \`--host'.
10180 See \`config.log' for more details." >&5
10181 echo "$as_me: error: cannot run C compiled programs.
10182 If you meant to cross compile, use \`--host'.
10183 See \`config.log' for more details." >&2;}
10184 { (exit 1); exit 1; }; }
10188 echo "$as_me:$LINENO: result: yes" >&5
10189 echo "${ECHO_T}yes" >&6
10191 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10192 ac_clean_files
=$ac_clean_files_save
10193 # Check the compiler produces executables we can run. If not, either
10194 # the compiler is broken, or we cross compile.
10195 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10196 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10197 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10198 echo "${ECHO_T}$cross_compiling" >&6
10200 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10201 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10203 (eval $ac_link) 2>&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); }; then
10207 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10208 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10209 # work properly (i.e., refer to `conftest.exe'), while it won't with
10211 for ac_file
in conftest.exe conftest conftest.
*; do
10212 test -f "$ac_file" || continue
10214 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10215 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10216 export ac_cv_exeext
10222 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10223 See \`config.log' for more details." >&5
10224 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10225 See \`config.log' for more details." >&2;}
10226 { (exit 1); exit 1; }; }
10229 rm -f conftest
$ac_cv_exeext
10230 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10231 echo "${ECHO_T}$ac_cv_exeext" >&6
10233 rm -f conftest.
$ac_ext
10234 EXEEXT
=$ac_cv_exeext
10236 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10237 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10238 if test "${ac_cv_objext+set}" = set; then
10239 echo $ECHO_N "(cached) $ECHO_C" >&6
10241 cat >conftest.
$ac_ext <<_ACEOF
10242 #line $LINENO "configure"
10245 cat confdefs.h
>>conftest.
$ac_ext
10246 cat >>conftest.
$ac_ext <<_ACEOF
10247 /* end confdefs.h. */
10257 rm -f conftest.o conftest.obj
10258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10259 (eval $ac_compile) 2>&5
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); }; then
10263 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10265 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10266 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10271 echo "$as_me: failed program was:" >&5
10272 sed 's/^/| /' conftest.
$ac_ext >&5
10274 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10275 See \`config.log' for more details." >&5
10276 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10277 See \`config.log' for more details." >&2;}
10278 { (exit 1); exit 1; }; }
10281 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10283 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10284 echo "${ECHO_T}$ac_cv_objext" >&6
10285 OBJEXT
=$ac_cv_objext
10287 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10288 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10289 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10290 echo $ECHO_N "(cached) $ECHO_C" >&6
10292 cat >conftest.
$ac_ext <<_ACEOF
10293 #line $LINENO "configure"
10296 cat confdefs.h
>>conftest.
$ac_ext
10297 cat >>conftest.
$ac_ext <<_ACEOF
10298 /* end confdefs.h. */
10311 rm -f conftest.
$ac_objext
10312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10313 (eval $ac_compile) 2>&5
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); } &&
10317 { ac_try
='test -s conftest.$ac_objext'
10318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10319 (eval $ac_try) 2>&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); }; }; then
10323 ac_compiler_gnu
=yes
10325 echo "$as_me: failed program was:" >&5
10326 sed 's/^/| /' conftest.
$ac_ext >&5
10330 rm -f conftest.
$ac_objext conftest.
$ac_ext
10331 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10334 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10335 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10336 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10337 ac_test_CFLAGS
=${CFLAGS+set}
10338 ac_save_CFLAGS
=$CFLAGS
10340 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10341 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10342 if test "${ac_cv_prog_cc_g+set}" = set; then
10343 echo $ECHO_N "(cached) $ECHO_C" >&6
10345 cat >conftest.
$ac_ext <<_ACEOF
10346 #line $LINENO "configure"
10349 cat confdefs.h
>>conftest.
$ac_ext
10350 cat >>conftest.
$ac_ext <<_ACEOF
10351 /* end confdefs.h. */
10361 rm -f conftest.
$ac_objext
10362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10363 (eval $ac_compile) 2>&5
10365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366 (exit $ac_status); } &&
10367 { ac_try
='test -s conftest.$ac_objext'
10368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10369 (eval $ac_try) 2>&5
10371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); }; }; then
10373 ac_cv_prog_cc_g
=yes
10375 echo "$as_me: failed program was:" >&5
10376 sed 's/^/| /' conftest.
$ac_ext >&5
10380 rm -f conftest.
$ac_objext conftest.
$ac_ext
10382 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10383 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10384 if test "$ac_test_CFLAGS" = set; then
10385 CFLAGS
=$ac_save_CFLAGS
10386 elif test $ac_cv_prog_cc_g = yes; then
10387 if test "$GCC" = yes; then
10393 if test "$GCC" = yes; then
10399 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10400 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10401 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10402 echo $ECHO_N "(cached) $ECHO_C" >&6
10404 ac_cv_prog_cc_stdc
=no
10406 cat >conftest.
$ac_ext <<_ACEOF
10407 #line $LINENO "configure"
10410 cat confdefs.h
>>conftest.
$ac_ext
10411 cat >>conftest.
$ac_ext <<_ACEOF
10412 /* end confdefs.h. */
10413 #include <stdarg.h>
10415 #include <sys/types.h>
10416 #include <sys/stat.h>
10417 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10418 struct buf { int x; };
10419 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10420 static char *e (p, i)
10426 static char *f (char * (*g) (char **, int), char **p, ...)
10431 s = g (p, va_arg (v,int));
10435 int test (int i, double x);
10436 struct s1 {int (*f) (int a);};
10437 struct s2 {int (*f) (double a);};
10438 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10444 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10449 # Don't try gcc -ansi; that turns off useful extensions and
10450 # breaks some systems' header files.
10451 # AIX -qlanglvl=ansi
10452 # Ultrix and OSF/1 -std1
10453 # HP-UX 10.20 and later -Ae
10454 # HP-UX older versions -Aa -D_HPUX_SOURCE
10455 # SVR4 -Xc -D__EXTENSIONS__
10456 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10458 CC
="$ac_save_CC $ac_arg"
10459 rm -f conftest.
$ac_objext
10460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10461 (eval $ac_compile) 2>&5
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); } &&
10465 { ac_try
='test -s conftest.$ac_objext'
10466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10467 (eval $ac_try) 2>&5
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); }; }; then
10471 ac_cv_prog_cc_stdc
=$ac_arg
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.
$ac_ext >&5
10478 rm -f conftest.
$ac_objext
10480 rm -f conftest.
$ac_ext conftest.
$ac_objext
10485 case "x$ac_cv_prog_cc_stdc" in
10487 echo "$as_me:$LINENO: result: none needed" >&5
10488 echo "${ECHO_T}none needed" >&6 ;;
10490 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10491 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10492 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10495 # Some people use a C++ compiler to compile C. Since we use `exit',
10496 # in C++ we need to declare it. In case someone uses the same compiler
10497 # for both compiling C and C++ we need to have the C++ compiler decide
10498 # the declaration of exit, since it's the most demanding environment.
10499 cat >conftest.
$ac_ext <<_ACEOF
10500 #ifndef __cplusplus
10504 rm -f conftest.
$ac_objext
10505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10506 (eval $ac_compile) 2>&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } &&
10510 { ac_try
='test -s conftest.$ac_objext'
10511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10512 (eval $ac_try) 2>&5
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); }; }; then
10516 for ac_declaration
in \
10518 '#include <stdlib.h>' \
10519 'extern "C" void std::exit (int) throw (); using std::exit;' \
10520 'extern "C" void std::exit (int); using std::exit;' \
10521 'extern "C" void exit (int) throw ();' \
10522 'extern "C" void exit (int);' \
10525 cat >conftest.
$ac_ext <<_ACEOF
10526 #line $LINENO "configure"
10529 cat confdefs.h
>>conftest.
$ac_ext
10530 cat >>conftest.
$ac_ext <<_ACEOF
10531 /* end confdefs.h. */
10532 #include <stdlib.h>
10542 rm -f conftest.
$ac_objext
10543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10544 (eval $ac_compile) 2>&5
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); } &&
10548 { ac_try
='test -s conftest.$ac_objext'
10549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10550 (eval $ac_try) 2>&5
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); }; }; then
10556 echo "$as_me: failed program was:" >&5
10557 sed 's/^/| /' conftest.
$ac_ext >&5
10561 rm -f conftest.
$ac_objext conftest.
$ac_ext
10562 cat >conftest.
$ac_ext <<_ACEOF
10563 #line $LINENO "configure"
10566 cat confdefs.h
>>conftest.
$ac_ext
10567 cat >>conftest.
$ac_ext <<_ACEOF
10568 /* end confdefs.h. */
10578 rm -f conftest.
$ac_objext
10579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10580 (eval $ac_compile) 2>&5
10582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583 (exit $ac_status); } &&
10584 { ac_try
='test -s conftest.$ac_objext'
10585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10586 (eval $ac_try) 2>&5
10588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589 (exit $ac_status); }; }; then
10592 echo "$as_me: failed program was:" >&5
10593 sed 's/^/| /' conftest.
$ac_ext >&5
10596 rm -f conftest.
$ac_objext conftest.
$ac_ext
10599 if test -n "$ac_declaration"; then
10600 echo '#ifdef __cplusplus' >>confdefs.h
10601 echo $ac_declaration >>confdefs.h
10602 echo '#endif' >>confdefs.h
10606 echo "$as_me: failed program was:" >&5
10607 sed 's/^/| /' conftest.
$ac_ext >&5
10610 rm -f conftest.
$ac_objext conftest.
$ac_ext
10612 ac_cpp
='$CPP $CPPFLAGS'
10613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10620 ac_cpp
='$CPP $CPPFLAGS'
10621 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10622 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10623 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10624 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10625 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10626 # On Suns, sometimes $CPP names a directory.
10627 if test -n "$CPP" && test -d "$CPP"; then
10630 if test -z "$CPP"; then
10631 if test "${ac_cv_prog_CPP+set}" = set; then
10632 echo $ECHO_N "(cached) $ECHO_C" >&6
10634 # Double quotes because CPP needs to be expanded
10635 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10637 ac_preproc_ok
=false
10638 for ac_c_preproc_warn_flag
in '' yes
10640 # Use a header file that comes with gcc, so configuring glibc
10641 # with a fresh cross-compiler works.
10642 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10643 # <limits.h> exists even on freestanding compilers.
10644 # On the NeXT, cc -E runs the code through the compiler's parser,
10645 # not just through cpp. "Syntax error" is here to catch this case.
10646 cat >conftest.
$ac_ext <<_ACEOF
10647 #line $LINENO "configure"
10650 cat confdefs.h
>>conftest.
$ac_ext
10651 cat >>conftest.
$ac_ext <<_ACEOF
10652 /* end confdefs.h. */
10654 # include <limits.h>
10656 # include <assert.h>
10660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10661 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10663 grep -v '^ *+' conftest.er1
>conftest.err
10665 cat conftest.err
>&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); } >/dev
/null
; then
10668 if test -s conftest.err
; then
10669 ac_cpp_err
=$ac_c_preproc_warn_flag
10676 if test -z "$ac_cpp_err"; then
10679 echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.
$ac_ext >&5
10682 # Broken: fails on valid input.
10685 rm -f conftest.err conftest.
$ac_ext
10687 # OK, works on sane cases. Now check whether non-existent headers
10688 # can be detected and how.
10689 cat >conftest.
$ac_ext <<_ACEOF
10690 #line $LINENO "configure"
10693 cat confdefs.h
>>conftest.
$ac_ext
10694 cat >>conftest.
$ac_ext <<_ACEOF
10695 /* end confdefs.h. */
10696 #include <ac_nonexistent.h>
10698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10699 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10701 grep -v '^ *+' conftest.er1
>conftest.err
10703 cat conftest.err
>&5
10704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705 (exit $ac_status); } >/dev
/null
; then
10706 if test -s conftest.err
; then
10707 ac_cpp_err
=$ac_c_preproc_warn_flag
10714 if test -z "$ac_cpp_err"; then
10715 # Broken: success on invalid input.
10718 echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.
$ac_ext >&5
10721 # Passes both tests.
10725 rm -f conftest.err conftest.
$ac_ext
10728 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10729 rm -f conftest.err conftest.
$ac_ext
10730 if $ac_preproc_ok; then
10735 ac_cv_prog_CPP
=$CPP
10738 CPP
=$ac_cv_prog_CPP
10740 ac_cv_prog_CPP
=$CPP
10742 echo "$as_me:$LINENO: result: $CPP" >&5
10743 echo "${ECHO_T}$CPP" >&6
10744 ac_preproc_ok
=false
10745 for ac_c_preproc_warn_flag
in '' yes
10747 # Use a header file that comes with gcc, so configuring glibc
10748 # with a fresh cross-compiler works.
10749 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10750 # <limits.h> exists even on freestanding compilers.
10751 # On the NeXT, cc -E runs the code through the compiler's parser,
10752 # not just through cpp. "Syntax error" is here to catch this case.
10753 cat >conftest.
$ac_ext <<_ACEOF
10754 #line $LINENO "configure"
10757 cat confdefs.h
>>conftest.
$ac_ext
10758 cat >>conftest.
$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10761 # include <limits.h>
10763 # include <assert.h>
10767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10768 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10770 grep -v '^ *+' conftest.er1
>conftest.err
10772 cat conftest.err
>&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); } >/dev
/null
; then
10775 if test -s conftest.err
; then
10776 ac_cpp_err
=$ac_c_preproc_warn_flag
10783 if test -z "$ac_cpp_err"; then
10786 echo "$as_me: failed program was:" >&5
10787 sed 's/^/| /' conftest.
$ac_ext >&5
10789 # Broken: fails on valid input.
10792 rm -f conftest.err conftest.
$ac_ext
10794 # OK, works on sane cases. Now check whether non-existent headers
10795 # can be detected and how.
10796 cat >conftest.
$ac_ext <<_ACEOF
10797 #line $LINENO "configure"
10800 cat confdefs.h
>>conftest.
$ac_ext
10801 cat >>conftest.
$ac_ext <<_ACEOF
10802 /* end confdefs.h. */
10803 #include <ac_nonexistent.h>
10805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10806 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10808 grep -v '^ *+' conftest.er1
>conftest.err
10810 cat conftest.err
>&5
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); } >/dev
/null
; then
10813 if test -s conftest.err
; then
10814 ac_cpp_err
=$ac_c_preproc_warn_flag
10821 if test -z "$ac_cpp_err"; then
10822 # Broken: success on invalid input.
10825 echo "$as_me: failed program was:" >&5
10826 sed 's/^/| /' conftest.
$ac_ext >&5
10828 # Passes both tests.
10832 rm -f conftest.err conftest.
$ac_ext
10835 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10836 rm -f conftest.err conftest.
$ac_ext
10837 if $ac_preproc_ok; then
10840 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10841 See \`config.log' for more details." >&5
10842 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10843 See \`config.log' for more details." >&2;}
10844 { (exit 1); exit 1; }; }
10848 ac_cpp
='$CPP $CPPFLAGS'
10849 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10850 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10851 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10854 echo "$as_me:$LINENO: checking for egrep" >&5
10855 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10856 if test "${ac_cv_prog_egrep+set}" = set; then
10857 echo $ECHO_N "(cached) $ECHO_C" >&6
10859 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10860 then ac_cv_prog_egrep
='grep -E'
10861 else ac_cv_prog_egrep
='egrep'
10864 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10865 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10866 EGREP
=$ac_cv_prog_egrep
10869 if test $ac_cv_c_compiler_gnu = yes; then
10870 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10871 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10872 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10875 ac_pattern
="Autoconf.*'x'"
10876 cat >conftest.
$ac_ext <<_ACEOF
10877 #line $LINENO "configure"
10880 cat confdefs.h
>>conftest.
$ac_ext
10881 cat >>conftest.
$ac_ext <<_ACEOF
10882 /* end confdefs.h. */
10886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10887 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10888 ac_cv_prog_gcc_traditional
=yes
10890 ac_cv_prog_gcc_traditional
=no
10895 if test $ac_cv_prog_gcc_traditional = no
; then
10896 cat >conftest.
$ac_ext <<_ACEOF
10897 #line $LINENO "configure"
10900 cat confdefs.h
>>conftest.
$ac_ext
10901 cat >>conftest.
$ac_ext <<_ACEOF
10902 /* end confdefs.h. */
10903 #include <termio.h>
10906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10907 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10908 ac_cv_prog_gcc_traditional
=yes
10914 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10915 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10916 if test $ac_cv_prog_gcc_traditional = yes; then
10917 CC
="$CC -traditional"
10925 ac_cpp
='$CXXCPP $CPPFLAGS'
10926 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10927 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10928 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10931 CXXFLAGS
=${CXXFLAGS:=}
10933 ac_cpp
='$CXXCPP $CPPFLAGS'
10934 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10935 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10936 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10937 if test -n "$ac_tool_prefix"; then
10938 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10941 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10942 echo "$as_me:$LINENO: checking for $ac_word" >&5
10943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10944 if test "${ac_cv_prog_CXX+set}" = set; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10947 if test -n "$CXX"; then
10948 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10951 for as_dir
in $PATH
10954 test -z "$as_dir" && as_dir
=.
10955 for ac_exec_ext
in '' $ac_executable_extensions; do
10956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10957 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10966 CXX
=$ac_cv_prog_CXX
10967 if test -n "$CXX"; then
10968 echo "$as_me:$LINENO: result: $CXX" >&5
10969 echo "${ECHO_T}$CXX" >&6
10971 echo "$as_me:$LINENO: result: no" >&5
10972 echo "${ECHO_T}no" >&6
10975 test -n "$CXX" && break
10978 if test -z "$CXX"; then
10980 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10982 # Extract the first word of "$ac_prog", so it can be a program name with args.
10983 set dummy
$ac_prog; ac_word
=$2
10984 echo "$as_me:$LINENO: checking for $ac_word" >&5
10985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10986 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10987 echo $ECHO_N "(cached) $ECHO_C" >&6
10989 if test -n "$ac_ct_CXX"; then
10990 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10993 for as_dir
in $PATH
10996 test -z "$as_dir" && as_dir
=.
10997 for ac_exec_ext
in '' $ac_executable_extensions; do
10998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10999 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11008 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11009 if test -n "$ac_ct_CXX"; then
11010 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11011 echo "${ECHO_T}$ac_ct_CXX" >&6
11013 echo "$as_me:$LINENO: result: no" >&5
11014 echo "${ECHO_T}no" >&6
11017 test -n "$ac_ct_CXX" && break
11019 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11025 # Provide some information about the compiler.
11026 echo "$as_me:$LINENO:" \
11027 "checking for C++ compiler version" >&5
11028 ac_compiler
=`set X $ac_compile; echo $2`
11029 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11030 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }
11034 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11035 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }
11039 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11040 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); }
11045 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11046 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11047 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11050 cat >conftest.
$ac_ext <<_ACEOF
11051 #line $LINENO "configure"
11054 cat confdefs.h
>>conftest.
$ac_ext
11055 cat >>conftest.
$ac_ext <<_ACEOF
11056 /* end confdefs.h. */
11069 rm -f conftest.
$ac_objext
11070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11071 (eval $ac_compile) 2>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); } &&
11075 { ac_try
='test -s conftest.$ac_objext'
11076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11077 (eval $ac_try) 2>&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); }; }; then
11081 ac_compiler_gnu
=yes
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.
$ac_ext >&5
11088 rm -f conftest.
$ac_objext conftest.
$ac_ext
11089 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11092 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11093 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11094 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11095 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11096 ac_save_CXXFLAGS
=$CXXFLAGS
11098 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11099 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11100 if test "${ac_cv_prog_cxx_g+set}" = set; then
11101 echo $ECHO_N "(cached) $ECHO_C" >&6
11103 cat >conftest.
$ac_ext <<_ACEOF
11104 #line $LINENO "configure"
11107 cat confdefs.h
>>conftest.
$ac_ext
11108 cat >>conftest.
$ac_ext <<_ACEOF
11109 /* end confdefs.h. */
11119 rm -f conftest.
$ac_objext
11120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11121 (eval $ac_compile) 2>&5
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); } &&
11125 { ac_try
='test -s conftest.$ac_objext'
11126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11127 (eval $ac_try) 2>&5
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); }; }; then
11131 ac_cv_prog_cxx_g
=yes
11133 echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.
$ac_ext >&5
11136 ac_cv_prog_cxx_g
=no
11138 rm -f conftest.
$ac_objext conftest.
$ac_ext
11140 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11141 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11142 if test "$ac_test_CXXFLAGS" = set; then
11143 CXXFLAGS
=$ac_save_CXXFLAGS
11144 elif test $ac_cv_prog_cxx_g = yes; then
11145 if test "$GXX" = yes; then
11151 if test "$GXX" = yes; then
11157 for ac_declaration
in \
11159 '#include <stdlib.h>' \
11160 'extern "C" void std::exit (int) throw (); using std::exit;' \
11161 'extern "C" void std::exit (int); using std::exit;' \
11162 'extern "C" void exit (int) throw ();' \
11163 'extern "C" void exit (int);' \
11166 cat >conftest.
$ac_ext <<_ACEOF
11167 #line $LINENO "configure"
11170 cat confdefs.h
>>conftest.
$ac_ext
11171 cat >>conftest.
$ac_ext <<_ACEOF
11172 /* end confdefs.h. */
11173 #include <stdlib.h>
11183 rm -f conftest.
$ac_objext
11184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11185 (eval $ac_compile) 2>&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } &&
11189 { ac_try
='test -s conftest.$ac_objext'
11190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11191 (eval $ac_try) 2>&5
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); }; }; then
11197 echo "$as_me: failed program was:" >&5
11198 sed 's/^/| /' conftest.
$ac_ext >&5
11202 rm -f conftest.
$ac_objext conftest.
$ac_ext
11203 cat >conftest.
$ac_ext <<_ACEOF
11204 #line $LINENO "configure"
11207 cat confdefs.h
>>conftest.
$ac_ext
11208 cat >>conftest.
$ac_ext <<_ACEOF
11209 /* end confdefs.h. */
11219 rm -f conftest.
$ac_objext
11220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11221 (eval $ac_compile) 2>&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); } &&
11225 { ac_try
='test -s conftest.$ac_objext'
11226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11227 (eval $ac_try) 2>&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); }; }; then
11233 echo "$as_me: failed program was:" >&5
11234 sed 's/^/| /' conftest.
$ac_ext >&5
11237 rm -f conftest.
$ac_objext conftest.
$ac_ext
11240 if test -n "$ac_declaration"; then
11241 echo '#ifdef __cplusplus' >>confdefs.h
11242 echo $ac_declaration >>confdefs.h
11243 echo '#endif' >>confdefs.h
11247 ac_cpp
='$CXXCPP $CPPFLAGS'
11248 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11249 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11250 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11254 ac_cpp
='$CPP $CPPFLAGS'
11255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11260 if test -n "$ac_tool_prefix"; then
11261 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11262 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11263 echo "$as_me:$LINENO: checking for $ac_word" >&5
11264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11265 if test "${ac_cv_prog_RANLIB+set}" = set; then
11266 echo $ECHO_N "(cached) $ECHO_C" >&6
11268 if test -n "$RANLIB"; then
11269 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11272 for as_dir
in $PATH
11275 test -z "$as_dir" && as_dir
=.
11276 for ac_exec_ext
in '' $ac_executable_extensions; do
11277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11278 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11287 RANLIB
=$ac_cv_prog_RANLIB
11288 if test -n "$RANLIB"; then
11289 echo "$as_me:$LINENO: result: $RANLIB" >&5
11290 echo "${ECHO_T}$RANLIB" >&6
11292 echo "$as_me:$LINENO: result: no" >&5
11293 echo "${ECHO_T}no" >&6
11297 if test -z "$ac_cv_prog_RANLIB"; then
11298 ac_ct_RANLIB
=$RANLIB
11299 # Extract the first word of "ranlib", so it can be a program name with args.
11300 set dummy ranlib
; ac_word
=$2
11301 echo "$as_me:$LINENO: checking for $ac_word" >&5
11302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11303 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11306 if test -n "$ac_ct_RANLIB"; then
11307 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11310 for as_dir
in $PATH
11313 test -z "$as_dir" && as_dir
=.
11314 for ac_exec_ext
in '' $ac_executable_extensions; do
11315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11316 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11323 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11326 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11327 if test -n "$ac_ct_RANLIB"; then
11328 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11329 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11331 echo "$as_me:$LINENO: result: no" >&5
11332 echo "${ECHO_T}no" >&6
11335 RANLIB
=$ac_ct_RANLIB
11337 RANLIB
="$ac_cv_prog_RANLIB"
11341 # Extract the first word of "ar", so it can be a program name with args.
11342 set dummy
ar; ac_word
=$2
11343 echo "$as_me:$LINENO: checking for $ac_word" >&5
11344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11345 if test "${ac_cv_prog_AR+set}" = set; then
11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 if test -n "$AR"; then
11349 ac_cv_prog_AR
="$AR" # Let the user override the test.
11351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11352 for as_dir
in $PATH
11355 test -z "$as_dir" && as_dir
=.
11356 for ac_exec_ext
in '' $ac_executable_extensions; do
11357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11368 if test -n "$AR"; then
11369 echo "$as_me:$LINENO: result: $AR" >&5
11370 echo "${ECHO_T}$AR" >&6
11372 echo "$as_me:$LINENO: result: no" >&5
11373 echo "${ECHO_T}no" >&6
11376 if test "x$AR" = "x" ; then
11377 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11378 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11379 { (exit 1); exit 1; }; }
11382 # Find a good install program. We prefer a C program (faster),
11383 # so one script is as good as another. But avoid the broken or
11384 # incompatible versions:
11385 # SysV /etc/install, /usr/sbin/install
11386 # SunOS /usr/etc/install
11387 # IRIX /sbin/install
11389 # AmigaOS /C/install, which installs bootblocks on floppy discs
11390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11393 # ./install, which can be erroneously created by make from ./install.sh.
11394 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11395 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11396 if test -z "$INSTALL"; then
11397 if test "${ac_cv_path_install+set}" = set; then
11398 echo $ECHO_N "(cached) $ECHO_C" >&6
11400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11401 for as_dir
in $PATH
11404 test -z "$as_dir" && as_dir
=.
11405 # Account for people who put trailing slashes in PATH elements.
11407 .
/ | .
// | /cC
/* | \
11408 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11411 # OSF1 and SCO ODT 3.0 have their own names for install.
11412 # Don't use installbsd from OSF since it installs stuff as root
11414 for ac_prog
in ginstall scoinst
install; do
11415 for ac_exec_ext
in '' $ac_executable_extensions; do
11416 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11417 if test $ac_prog = install &&
11418 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11419 # AIX install. It has an incompatible calling convention.
11421 elif test $ac_prog = install &&
11422 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11423 # program-specific install script used by HP pwplus--don't use.
11426 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11438 if test "${ac_cv_path_install+set}" = set; then
11439 INSTALL
=$ac_cv_path_install
11441 # As a last resort, use the slow shell script. We don't cache a
11442 # path for INSTALL within a source directory, because that will
11443 # break other packages using the cache if that directory is
11444 # removed, or if the path is relative.
11445 INSTALL
=$ac_install_sh
11448 echo "$as_me:$LINENO: result: $INSTALL" >&5
11449 echo "${ECHO_T}$INSTALL" >&6
11451 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11452 # It thinks the first close brace ends the variable substitution.
11453 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11455 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11457 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11463 ?
:* ) # Drive letter, considered as absolute.
11466 INSTALL
=`pwd`/${INSTALL} ;;
11471 INSTALL_DIR
="mkdir"
11474 *) INSTALL_DIR
="$INSTALL -d"
11481 powerpc
-*-darwin* )
11482 INSTALL_PROGRAM
="cp -fp"
11483 INSTALL_DATA
="cp -fp"
11489 # Extract the first word of "strip", so it can be a program name with args.
11490 set dummy strip
; ac_word
=$2
11491 echo "$as_me:$LINENO: checking for $ac_word" >&5
11492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11493 if test "${ac_cv_prog_STRIP+set}" = set; then
11494 echo $ECHO_N "(cached) $ECHO_C" >&6
11496 if test -n "$STRIP"; then
11497 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11500 for as_dir
in $PATH
11503 test -z "$as_dir" && as_dir
=.
11504 for ac_exec_ext
in '' $ac_executable_extensions; do
11505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11506 ac_cv_prog_STRIP
="strip"
11507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11513 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11516 STRIP
=$ac_cv_prog_STRIP
11517 if test -n "$STRIP"; then
11518 echo "$as_me:$LINENO: result: $STRIP" >&5
11519 echo "${ECHO_T}$STRIP" >&6
11521 echo "$as_me:$LINENO: result: no" >&5
11522 echo "${ECHO_T}no" >&6
11526 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11527 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11528 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11529 echo $ECHO_N "(cached) $ECHO_C" >&6
11532 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11533 egrep -s GNU
> /dev
/null
); then
11534 wx_cv_prog_makeisgnu
="yes"
11536 wx_cv_prog_makeisgnu
="no"
11540 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11541 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11543 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11551 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11552 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11553 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11554 if test "${wx_cv_prog_makevpath+set}" = set; then
11555 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 cat - << EOF > confMake
11564 if test ! -d sub
; then
11567 echo dummy
> sub
/file
11568 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11570 rm -f sub
/file check final_file confMake
11572 if test "$RESULT" = 0; then
11573 wx_cv_prog_makevpath
="yes"
11575 wx_cv_prog_makevpath
="no"
11579 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11580 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11582 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11583 { { echo "$as_me:$LINENO: error:
11584 You need a make-utility that is able to use the variable
11586 If your version of make does not support VPATH correctly,
11587 please install GNU-make (possibly as gmake), and start
11588 configure with the following command:
11589 export MAKE=gmake; ./configure for sh-type shells
11590 setenv MAKE gmake; ./configure for csh-type shells
11591 Also please do remember to use gmake in this case every time
11592 you are trying to compile.
11594 echo "$as_me: error:
11595 You need a make-utility that is able to use the variable
11597 If your version of make does not support VPATH correctly,
11598 please install GNU-make (possibly as gmake), and start
11599 configure with the following command:
11600 export MAKE=gmake; ./configure for sh-type shells
11601 setenv MAKE gmake; ./configure for csh-type shells
11602 Also please do remember to use gmake in this case every time
11603 you are trying to compile.
11605 { (exit 1); exit 1; }; }
11607 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11608 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11610 if test "$LN_S" = "ln -s"; then
11611 echo "$as_me:$LINENO: result: yes" >&5
11612 echo "${ECHO_T}yes" >&6
11614 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11615 echo "${ECHO_T}no, using $LN_S" >&6
11620 *-pc-os2_emx | *-pc-os2-emx )
11621 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11622 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11623 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11624 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11625 echo $ECHO_N "(cached) $ECHO_C" >&6
11627 ac_check_lib_save_LIBS
=$LIBS
11628 LIBS
="-lcExt $LIBS"
11629 cat >conftest.
$ac_ext <<_ACEOF
11630 #line $LINENO "configure"
11633 cat confdefs.h
>>conftest.
$ac_ext
11634 cat >>conftest.
$ac_ext <<_ACEOF
11635 /* end confdefs.h. */
11637 /* Override any gcc2 internal prototype to avoid an error. */
11641 /* We use char because int might match the return type of a gcc2
11642 builtin and then its argument prototype would still apply. */
11652 rm -f conftest.
$ac_objext conftest
$ac_exeext
11653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11654 (eval $ac_link) 2>&5
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); } &&
11658 { ac_try
='test -s conftest$ac_exeext'
11659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11660 (eval $ac_try) 2>&5
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 (exit $ac_status); }; }; then
11664 ac_cv_lib_cExt_drand48
=yes
11666 echo "$as_me: failed program was:" >&5
11667 sed 's/^/| /' conftest.
$ac_ext >&5
11669 ac_cv_lib_cExt_drand48
=no
11671 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11672 LIBS
=$ac_check_lib_save_LIBS
11674 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11675 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11676 if test $ac_cv_lib_cExt_drand48 = yes; then
11677 LIBS
="$LIBS -lcExt"
11681 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11687 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11688 echo "$as_me:$LINENO: checking for strings.h" >&5
11689 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11690 if test "${ac_cv_header_strings_h+set}" = set; then
11691 echo $ECHO_N "(cached) $ECHO_C" >&6
11693 ac_cv_header_strings_h
=no
11695 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11696 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11697 if test "$ac_cv_header_strings_h" = "no"; then
11698 echo "$as_me:$LINENO: result: forced no into cache" >&5
11699 echo "${ECHO_T}forced no into cache" >&6
11701 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11702 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11705 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11706 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11707 if test "${ac_cv_header_stdc+set}" = set; then
11708 echo $ECHO_N "(cached) $ECHO_C" >&6
11710 cat >conftest.
$ac_ext <<_ACEOF
11711 #line $LINENO "configure"
11714 cat confdefs.h
>>conftest.
$ac_ext
11715 cat >>conftest.
$ac_ext <<_ACEOF
11716 /* end confdefs.h. */
11717 #include <stdlib.h>
11718 #include <stdarg.h>
11719 #include <string.h>
11730 rm -f conftest.
$ac_objext
11731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11732 (eval $ac_compile) 2>&5
11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); } &&
11736 { ac_try
='test -s conftest.$ac_objext'
11737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11738 (eval $ac_try) 2>&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); }; }; then
11742 ac_cv_header_stdc
=yes
11744 echo "$as_me: failed program was:" >&5
11745 sed 's/^/| /' conftest.
$ac_ext >&5
11747 ac_cv_header_stdc
=no
11749 rm -f conftest.
$ac_objext conftest.
$ac_ext
11751 if test $ac_cv_header_stdc = yes; then
11752 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11753 cat >conftest.
$ac_ext <<_ACEOF
11754 #line $LINENO "configure"
11757 cat confdefs.h
>>conftest.
$ac_ext
11758 cat >>conftest.
$ac_ext <<_ACEOF
11759 /* end confdefs.h. */
11760 #include <string.h>
11763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11764 $EGREP "memchr" >/dev
/null
2>&1; then
11767 ac_cv_header_stdc
=no
11773 if test $ac_cv_header_stdc = yes; then
11774 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11775 cat >conftest.
$ac_ext <<_ACEOF
11776 #line $LINENO "configure"
11779 cat confdefs.h
>>conftest.
$ac_ext
11780 cat >>conftest.
$ac_ext <<_ACEOF
11781 /* end confdefs.h. */
11782 #include <stdlib.h>
11785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11786 $EGREP "free" >/dev
/null
2>&1; then
11789 ac_cv_header_stdc
=no
11795 if test $ac_cv_header_stdc = yes; then
11796 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11797 if test "$cross_compiling" = yes; then
11800 cat >conftest.
$ac_ext <<_ACEOF
11801 #line $LINENO "configure"
11804 cat confdefs.h
>>conftest.
$ac_ext
11805 cat >>conftest.
$ac_ext <<_ACEOF
11806 /* end confdefs.h. */
11808 #if ((' ' & 0x0FF) == 0x020)
11809 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11810 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11812 # define ISLOWER(c) \
11813 (('a' <= (c) && (c) <= 'i') \
11814 || ('j' <= (c) && (c) <= 'r') \
11815 || ('s' <= (c) && (c) <= 'z'))
11816 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11819 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11824 for (i = 0; i < 256; i++)
11825 if (XOR (islower (i), ISLOWER (i))
11826 || toupper (i) != TOUPPER (i))
11831 rm -f conftest
$ac_exeext
11832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11833 (eval $ac_link) 2>&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; }; then
11844 echo "$as_me: program exited with status $ac_status" >&5
11845 echo "$as_me: failed program was:" >&5
11846 sed 's/^/| /' conftest.
$ac_ext >&5
11848 ( exit $ac_status )
11849 ac_cv_header_stdc
=no
11851 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11855 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11856 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11857 if test $ac_cv_header_stdc = yes; then
11859 cat >>confdefs.h
<<\_ACEOF
11860 #define STDC_HEADERS 1
11865 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11875 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
11876 inttypes.h stdint.h unistd.h
11878 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11879 echo "$as_me:$LINENO: checking for $ac_header" >&5
11880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11882 echo $ECHO_N "(cached) $ECHO_C" >&6
11884 cat >conftest.
$ac_ext <<_ACEOF
11885 #line $LINENO "configure"
11888 cat confdefs.h
>>conftest.
$ac_ext
11889 cat >>conftest.
$ac_ext <<_ACEOF
11890 /* end confdefs.h. */
11891 $ac_includes_default
11893 #include <$ac_header>
11895 rm -f conftest.
$ac_objext
11896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11897 (eval $ac_compile) 2>&5
11899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900 (exit $ac_status); } &&
11901 { ac_try
='test -s conftest.$ac_objext'
11902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11903 (eval $ac_try) 2>&5
11905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906 (exit $ac_status); }; }; then
11907 eval "$as_ac_Header=yes"
11909 echo "$as_me: failed program was:" >&5
11910 sed 's/^/| /' conftest.
$ac_ext >&5
11912 eval "$as_ac_Header=no"
11914 rm -f conftest.
$ac_objext conftest.
$ac_ext
11916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11919 cat >>confdefs.h
<<_ACEOF
11920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11929 for ac_header
in strings.h
11931 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11933 echo "$as_me:$LINENO: checking for $ac_header" >&5
11934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11936 echo $ECHO_N "(cached) $ECHO_C" >&6
11938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11941 # Is the header compilable?
11942 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11943 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11944 cat >conftest.
$ac_ext <<_ACEOF
11945 #line $LINENO "configure"
11948 cat confdefs.h
>>conftest.
$ac_ext
11949 cat >>conftest.
$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11951 $ac_includes_default
11952 #include <$ac_header>
11954 rm -f conftest.
$ac_objext
11955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11956 (eval $ac_compile) 2>&5
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); } &&
11960 { ac_try
='test -s conftest.$ac_objext'
11961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11962 (eval $ac_try) 2>&5
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); }; }; then
11966 ac_header_compiler
=yes
11968 echo "$as_me: failed program was:" >&5
11969 sed 's/^/| /' conftest.
$ac_ext >&5
11971 ac_header_compiler
=no
11973 rm -f conftest.
$ac_objext conftest.
$ac_ext
11974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11975 echo "${ECHO_T}$ac_header_compiler" >&6
11977 # Is the header present?
11978 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11980 cat >conftest.
$ac_ext <<_ACEOF
11981 #line $LINENO "configure"
11984 cat confdefs.h
>>conftest.
$ac_ext
11985 cat >>conftest.
$ac_ext <<_ACEOF
11986 /* end confdefs.h. */
11987 #include <$ac_header>
11989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11990 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11992 grep -v '^ *+' conftest.er1
>conftest.err
11994 cat conftest.err
>&5
11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); } >/dev
/null
; then
11997 if test -s conftest.err
; then
11998 ac_cpp_err
=$ac_c_preproc_warn_flag
12005 if test -z "$ac_cpp_err"; then
12006 ac_header_preproc
=yes
12008 echo "$as_me: failed program was:" >&5
12009 sed 's/^/| /' conftest.
$ac_ext >&5
12011 ac_header_preproc
=no
12013 rm -f conftest.err conftest.
$ac_ext
12014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12015 echo "${ECHO_T}$ac_header_preproc" >&6
12017 # So? What about this header?
12018 case $ac_header_compiler:$ac_header_preproc in
12020 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12026 ## ------------------------------------ ##
12027 ## Report this to bug-autoconf@gnu.org. ##
12028 ## ------------------------------------ ##
12031 sed "s/^/$as_me: WARNING: /" >&2
12034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12042 ## ------------------------------------ ##
12043 ## Report this to bug-autoconf@gnu.org. ##
12044 ## ------------------------------------ ##
12047 sed "s/^/$as_me: WARNING: /" >&2
12050 echo "$as_me:$LINENO: checking for $ac_header" >&5
12051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12053 echo $ECHO_N "(cached) $ECHO_C" >&6
12055 eval "$as_ac_Header=$ac_header_preproc"
12057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12058 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12061 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12062 cat >>confdefs.h
<<_ACEOF
12063 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12072 for ac_header
in stdlib.h
12074 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12076 echo "$as_me:$LINENO: checking for $ac_header" >&5
12077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12079 echo $ECHO_N "(cached) $ECHO_C" >&6
12081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12084 # Is the header compilable?
12085 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12086 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12087 cat >conftest.
$ac_ext <<_ACEOF
12088 #line $LINENO "configure"
12091 cat confdefs.h
>>conftest.
$ac_ext
12092 cat >>conftest.
$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12094 $ac_includes_default
12095 #include <$ac_header>
12097 rm -f conftest.
$ac_objext
12098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12099 (eval $ac_compile) 2>&5
12101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102 (exit $ac_status); } &&
12103 { ac_try
='test -s conftest.$ac_objext'
12104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12105 (eval $ac_try) 2>&5
12107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12108 (exit $ac_status); }; }; then
12109 ac_header_compiler
=yes
12111 echo "$as_me: failed program was:" >&5
12112 sed 's/^/| /' conftest.
$ac_ext >&5
12114 ac_header_compiler
=no
12116 rm -f conftest.
$ac_objext conftest.
$ac_ext
12117 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12118 echo "${ECHO_T}$ac_header_compiler" >&6
12120 # Is the header present?
12121 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12122 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12123 cat >conftest.
$ac_ext <<_ACEOF
12124 #line $LINENO "configure"
12127 cat confdefs.h
>>conftest.
$ac_ext
12128 cat >>conftest.
$ac_ext <<_ACEOF
12129 /* end confdefs.h. */
12130 #include <$ac_header>
12132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12133 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12135 grep -v '^ *+' conftest.er1
>conftest.err
12137 cat conftest.err
>&5
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); } >/dev
/null
; then
12140 if test -s conftest.err
; then
12141 ac_cpp_err
=$ac_c_preproc_warn_flag
12148 if test -z "$ac_cpp_err"; then
12149 ac_header_preproc
=yes
12151 echo "$as_me: failed program was:" >&5
12152 sed 's/^/| /' conftest.
$ac_ext >&5
12154 ac_header_preproc
=no
12156 rm -f conftest.err conftest.
$ac_ext
12157 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12158 echo "${ECHO_T}$ac_header_preproc" >&6
12160 # So? What about this header?
12161 case $ac_header_compiler:$ac_header_preproc in
12163 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12164 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12166 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12169 ## ------------------------------------ ##
12170 ## Report this to bug-autoconf@gnu.org. ##
12171 ## ------------------------------------ ##
12174 sed "s/^/$as_me: WARNING: /" >&2
12177 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12178 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12179 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12180 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12182 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12185 ## ------------------------------------ ##
12186 ## Report this to bug-autoconf@gnu.org. ##
12187 ## ------------------------------------ ##
12190 sed "s/^/$as_me: WARNING: /" >&2
12193 echo "$as_me:$LINENO: checking for $ac_header" >&5
12194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12196 echo $ECHO_N "(cached) $ECHO_C" >&6
12198 eval "$as_ac_Header=$ac_header_preproc"
12200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12205 cat >>confdefs.h
<<_ACEOF
12206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12214 for ac_header
in malloc.h
12216 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12218 echo "$as_me:$LINENO: checking for $ac_header" >&5
12219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12221 echo $ECHO_N "(cached) $ECHO_C" >&6
12223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12226 # Is the header compilable?
12227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12229 cat >conftest.
$ac_ext <<_ACEOF
12230 #line $LINENO "configure"
12233 cat confdefs.h
>>conftest.
$ac_ext
12234 cat >>conftest.
$ac_ext <<_ACEOF
12235 /* end confdefs.h. */
12236 $ac_includes_default
12237 #include <$ac_header>
12239 rm -f conftest.
$ac_objext
12240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12241 (eval $ac_compile) 2>&5
12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 (exit $ac_status); } &&
12245 { ac_try
='test -s conftest.$ac_objext'
12246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12247 (eval $ac_try) 2>&5
12249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250 (exit $ac_status); }; }; then
12251 ac_header_compiler
=yes
12253 echo "$as_me: failed program was:" >&5
12254 sed 's/^/| /' conftest.
$ac_ext >&5
12256 ac_header_compiler
=no
12258 rm -f conftest.
$ac_objext conftest.
$ac_ext
12259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12260 echo "${ECHO_T}$ac_header_compiler" >&6
12262 # Is the header present?
12263 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12264 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12265 cat >conftest.
$ac_ext <<_ACEOF
12266 #line $LINENO "configure"
12269 cat confdefs.h
>>conftest.
$ac_ext
12270 cat >>conftest.
$ac_ext <<_ACEOF
12271 /* end confdefs.h. */
12272 #include <$ac_header>
12274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12275 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12277 grep -v '^ *+' conftest.er1
>conftest.err
12279 cat conftest.err
>&5
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); } >/dev
/null
; then
12282 if test -s conftest.err
; then
12283 ac_cpp_err
=$ac_c_preproc_warn_flag
12290 if test -z "$ac_cpp_err"; then
12291 ac_header_preproc
=yes
12293 echo "$as_me: failed program was:" >&5
12294 sed 's/^/| /' conftest.
$ac_ext >&5
12296 ac_header_preproc
=no
12298 rm -f conftest.err conftest.
$ac_ext
12299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12300 echo "${ECHO_T}$ac_header_preproc" >&6
12302 # So? What about this header?
12303 case $ac_header_compiler:$ac_header_preproc in
12305 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12306 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12308 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12311 ## ------------------------------------ ##
12312 ## Report this to bug-autoconf@gnu.org. ##
12313 ## ------------------------------------ ##
12316 sed "s/^/$as_me: WARNING: /" >&2
12319 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12320 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12321 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12322 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12327 ## ------------------------------------ ##
12328 ## Report this to bug-autoconf@gnu.org. ##
12329 ## ------------------------------------ ##
12332 sed "s/^/$as_me: WARNING: /" >&2
12335 echo "$as_me:$LINENO: checking for $ac_header" >&5
12336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12338 echo $ECHO_N "(cached) $ECHO_C" >&6
12340 eval "$as_ac_Header=$ac_header_preproc"
12342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12347 cat >>confdefs.h
<<_ACEOF
12348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12356 for ac_header
in unistd.h
12358 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12360 echo "$as_me:$LINENO: checking for $ac_header" >&5
12361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12363 echo $ECHO_N "(cached) $ECHO_C" >&6
12365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12368 # Is the header compilable?
12369 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12371 cat >conftest.
$ac_ext <<_ACEOF
12372 #line $LINENO "configure"
12375 cat confdefs.h
>>conftest.
$ac_ext
12376 cat >>conftest.
$ac_ext <<_ACEOF
12377 /* end confdefs.h. */
12378 $ac_includes_default
12379 #include <$ac_header>
12381 rm -f conftest.
$ac_objext
12382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12383 (eval $ac_compile) 2>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); } &&
12387 { ac_try
='test -s conftest.$ac_objext'
12388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389 (eval $ac_try) 2>&5
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }; }; then
12393 ac_header_compiler
=yes
12395 echo "$as_me: failed program was:" >&5
12396 sed 's/^/| /' conftest.
$ac_ext >&5
12398 ac_header_compiler
=no
12400 rm -f conftest.
$ac_objext conftest.
$ac_ext
12401 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12402 echo "${ECHO_T}$ac_header_compiler" >&6
12404 # Is the header present?
12405 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12406 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12407 cat >conftest.
$ac_ext <<_ACEOF
12408 #line $LINENO "configure"
12411 cat confdefs.h
>>conftest.
$ac_ext
12412 cat >>conftest.
$ac_ext <<_ACEOF
12413 /* end confdefs.h. */
12414 #include <$ac_header>
12416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12417 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12419 grep -v '^ *+' conftest.er1
>conftest.err
12421 cat conftest.err
>&5
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); } >/dev
/null
; then
12424 if test -s conftest.err
; then
12425 ac_cpp_err
=$ac_c_preproc_warn_flag
12432 if test -z "$ac_cpp_err"; then
12433 ac_header_preproc
=yes
12435 echo "$as_me: failed program was:" >&5
12436 sed 's/^/| /' conftest.
$ac_ext >&5
12438 ac_header_preproc
=no
12440 rm -f conftest.err conftest.
$ac_ext
12441 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12442 echo "${ECHO_T}$ac_header_preproc" >&6
12444 # So? What about this header?
12445 case $ac_header_compiler:$ac_header_preproc in
12447 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12448 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12453 ## ------------------------------------ ##
12454 ## Report this to bug-autoconf@gnu.org. ##
12455 ## ------------------------------------ ##
12458 sed "s/^/$as_me: WARNING: /" >&2
12461 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12463 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12464 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12466 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12469 ## ------------------------------------ ##
12470 ## Report this to bug-autoconf@gnu.org. ##
12471 ## ------------------------------------ ##
12474 sed "s/^/$as_me: WARNING: /" >&2
12477 echo "$as_me:$LINENO: checking for $ac_header" >&5
12478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12480 echo $ECHO_N "(cached) $ECHO_C" >&6
12482 eval "$as_ac_Header=$ac_header_preproc"
12484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12489 cat >>confdefs.h
<<_ACEOF
12490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12498 for ac_header
in wchar.h
12500 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12502 echo "$as_me:$LINENO: checking for $ac_header" >&5
12503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12505 echo $ECHO_N "(cached) $ECHO_C" >&6
12507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12508 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12510 # Is the header compilable?
12511 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12512 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12513 cat >conftest.
$ac_ext <<_ACEOF
12514 #line $LINENO "configure"
12517 cat confdefs.h
>>conftest.
$ac_ext
12518 cat >>conftest.
$ac_ext <<_ACEOF
12519 /* end confdefs.h. */
12520 $ac_includes_default
12521 #include <$ac_header>
12523 rm -f conftest.
$ac_objext
12524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12525 (eval $ac_compile) 2>&5
12527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12528 (exit $ac_status); } &&
12529 { ac_try
='test -s conftest.$ac_objext'
12530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12531 (eval $ac_try) 2>&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); }; }; then
12535 ac_header_compiler
=yes
12537 echo "$as_me: failed program was:" >&5
12538 sed 's/^/| /' conftest.
$ac_ext >&5
12540 ac_header_compiler
=no
12542 rm -f conftest.
$ac_objext conftest.
$ac_ext
12543 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12544 echo "${ECHO_T}$ac_header_compiler" >&6
12546 # Is the header present?
12547 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12548 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12549 cat >conftest.
$ac_ext <<_ACEOF
12550 #line $LINENO "configure"
12553 cat confdefs.h
>>conftest.
$ac_ext
12554 cat >>conftest.
$ac_ext <<_ACEOF
12555 /* end confdefs.h. */
12556 #include <$ac_header>
12558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12559 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12561 grep -v '^ *+' conftest.er1
>conftest.err
12563 cat conftest.err
>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); } >/dev
/null
; then
12566 if test -s conftest.err
; then
12567 ac_cpp_err
=$ac_c_preproc_warn_flag
12574 if test -z "$ac_cpp_err"; then
12575 ac_header_preproc
=yes
12577 echo "$as_me: failed program was:" >&5
12578 sed 's/^/| /' conftest.
$ac_ext >&5
12580 ac_header_preproc
=no
12582 rm -f conftest.err conftest.
$ac_ext
12583 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12584 echo "${ECHO_T}$ac_header_preproc" >&6
12586 # So? What about this header?
12587 case $ac_header_compiler:$ac_header_preproc in
12589 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12590 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12592 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12595 ## ------------------------------------ ##
12596 ## Report this to bug-autoconf@gnu.org. ##
12597 ## ------------------------------------ ##
12600 sed "s/^/$as_me: WARNING: /" >&2
12603 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12605 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12606 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12611 ## ------------------------------------ ##
12612 ## Report this to bug-autoconf@gnu.org. ##
12613 ## ------------------------------------ ##
12616 sed "s/^/$as_me: WARNING: /" >&2
12619 echo "$as_me:$LINENO: checking for $ac_header" >&5
12620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12622 echo $ECHO_N "(cached) $ECHO_C" >&6
12624 eval "$as_ac_Header=$ac_header_preproc"
12626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12631 cat >>confdefs.h
<<_ACEOF
12632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12640 if test "$ac_cv_header_wchar_h" != "yes"; then
12642 for ac_header
in wcstr.h
12644 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12646 echo "$as_me:$LINENO: checking for $ac_header" >&5
12647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12649 echo $ECHO_N "(cached) $ECHO_C" >&6
12651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12654 # Is the header compilable?
12655 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12656 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12657 cat >conftest.
$ac_ext <<_ACEOF
12658 #line $LINENO "configure"
12661 cat confdefs.h
>>conftest.
$ac_ext
12662 cat >>conftest.
$ac_ext <<_ACEOF
12663 /* end confdefs.h. */
12664 $ac_includes_default
12665 #include <$ac_header>
12667 rm -f conftest.
$ac_objext
12668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12669 (eval $ac_compile) 2>&5
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); } &&
12673 { ac_try
='test -s conftest.$ac_objext'
12674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12675 (eval $ac_try) 2>&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); }; }; then
12679 ac_header_compiler
=yes
12681 echo "$as_me: failed program was:" >&5
12682 sed 's/^/| /' conftest.
$ac_ext >&5
12684 ac_header_compiler
=no
12686 rm -f conftest.
$ac_objext conftest.
$ac_ext
12687 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12688 echo "${ECHO_T}$ac_header_compiler" >&6
12690 # Is the header present?
12691 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12692 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12693 cat >conftest.
$ac_ext <<_ACEOF
12694 #line $LINENO "configure"
12697 cat confdefs.h
>>conftest.
$ac_ext
12698 cat >>conftest.
$ac_ext <<_ACEOF
12699 /* end confdefs.h. */
12700 #include <$ac_header>
12702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12703 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12705 grep -v '^ *+' conftest.er1
>conftest.err
12707 cat conftest.err
>&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); } >/dev
/null
; then
12710 if test -s conftest.err
; then
12711 ac_cpp_err
=$ac_c_preproc_warn_flag
12718 if test -z "$ac_cpp_err"; then
12719 ac_header_preproc
=yes
12721 echo "$as_me: failed program was:" >&5
12722 sed 's/^/| /' conftest.
$ac_ext >&5
12724 ac_header_preproc
=no
12726 rm -f conftest.err conftest.
$ac_ext
12727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12728 echo "${ECHO_T}$ac_header_preproc" >&6
12730 # So? What about this header?
12731 case $ac_header_compiler:$ac_header_preproc in
12733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12736 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12739 ## ------------------------------------ ##
12740 ## Report this to bug-autoconf@gnu.org. ##
12741 ## ------------------------------------ ##
12744 sed "s/^/$as_me: WARNING: /" >&2
12747 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12748 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12749 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12750 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12752 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12755 ## ------------------------------------ ##
12756 ## Report this to bug-autoconf@gnu.org. ##
12757 ## ------------------------------------ ##
12760 sed "s/^/$as_me: WARNING: /" >&2
12763 echo "$as_me:$LINENO: checking for $ac_header" >&5
12764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12766 echo $ECHO_N "(cached) $ECHO_C" >&6
12768 eval "$as_ac_Header=$ac_header_preproc"
12770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12775 cat >>confdefs.h
<<_ACEOF
12776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12786 for ac_header
in fnmatch.h
12788 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12790 echo "$as_me:$LINENO: checking for $ac_header" >&5
12791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12793 echo $ECHO_N "(cached) $ECHO_C" >&6
12795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12798 # Is the header compilable?
12799 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12800 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12801 cat >conftest.
$ac_ext <<_ACEOF
12802 #line $LINENO "configure"
12805 cat confdefs.h
>>conftest.
$ac_ext
12806 cat >>conftest.
$ac_ext <<_ACEOF
12807 /* end confdefs.h. */
12808 $ac_includes_default
12809 #include <$ac_header>
12811 rm -f conftest.
$ac_objext
12812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12813 (eval $ac_compile) 2>&5
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); } &&
12817 { ac_try
='test -s conftest.$ac_objext'
12818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12819 (eval $ac_try) 2>&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); }; }; then
12823 ac_header_compiler
=yes
12825 echo "$as_me: failed program was:" >&5
12826 sed 's/^/| /' conftest.
$ac_ext >&5
12828 ac_header_compiler
=no
12830 rm -f conftest.
$ac_objext conftest.
$ac_ext
12831 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12832 echo "${ECHO_T}$ac_header_compiler" >&6
12834 # Is the header present?
12835 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12836 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12837 cat >conftest.
$ac_ext <<_ACEOF
12838 #line $LINENO "configure"
12841 cat confdefs.h
>>conftest.
$ac_ext
12842 cat >>conftest.
$ac_ext <<_ACEOF
12843 /* end confdefs.h. */
12844 #include <$ac_header>
12846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12847 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12849 grep -v '^ *+' conftest.er1
>conftest.err
12851 cat conftest.err
>&5
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); } >/dev
/null
; then
12854 if test -s conftest.err
; then
12855 ac_cpp_err
=$ac_c_preproc_warn_flag
12862 if test -z "$ac_cpp_err"; then
12863 ac_header_preproc
=yes
12865 echo "$as_me: failed program was:" >&5
12866 sed 's/^/| /' conftest.
$ac_ext >&5
12868 ac_header_preproc
=no
12870 rm -f conftest.err conftest.
$ac_ext
12871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12872 echo "${ECHO_T}$ac_header_preproc" >&6
12874 # So? What about this header?
12875 case $ac_header_compiler:$ac_header_preproc in
12877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12883 ## ------------------------------------ ##
12884 ## Report this to bug-autoconf@gnu.org. ##
12885 ## ------------------------------------ ##
12888 sed "s/^/$as_me: WARNING: /" >&2
12891 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12892 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12893 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12894 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12899 ## ------------------------------------ ##
12900 ## Report this to bug-autoconf@gnu.org. ##
12901 ## ------------------------------------ ##
12904 sed "s/^/$as_me: WARNING: /" >&2
12907 echo "$as_me:$LINENO: checking for $ac_header" >&5
12908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12910 echo $ECHO_N "(cached) $ECHO_C" >&6
12912 eval "$as_ac_Header=$ac_header_preproc"
12914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12919 cat >>confdefs.h
<<_ACEOF
12920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12928 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
12930 for ac_func
in fnmatch
12932 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12933 echo "$as_me:$LINENO: checking for $ac_func" >&5
12934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12935 if eval "test \"\${$as_ac_var+set}\" = set"; then
12936 echo $ECHO_N "(cached) $ECHO_C" >&6
12938 cat >conftest.
$ac_ext <<_ACEOF
12939 #line $LINENO "configure"
12942 cat confdefs.h
>>conftest.
$ac_ext
12943 cat >>conftest.
$ac_ext <<_ACEOF
12944 /* end confdefs.h. */
12945 /* System header to define __stub macros and hopefully few prototypes,
12946 which can conflict with char $ac_func (); below.
12947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12948 <limits.h> exists even on freestanding compilers. */
12950 # include <limits.h>
12952 # include <assert.h>
12954 /* Override any gcc2 internal prototype to avoid an error. */
12959 /* We use char because int might match the return type of a gcc2
12960 builtin and then its argument prototype would still apply. */
12962 /* The GNU C library defines this for functions which it implements
12963 to always fail with ENOSYS. Some functions are actually named
12964 something starting with __ and the normal name is an alias. */
12965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12968 char (*f) () = $ac_func;
12977 return f != $ac_func;
12982 rm -f conftest.
$ac_objext conftest
$ac_exeext
12983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12984 (eval $ac_link) 2>&5
12986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987 (exit $ac_status); } &&
12988 { ac_try
='test -s conftest$ac_exeext'
12989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990 (eval $ac_try) 2>&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); }; }; then
12994 eval "$as_ac_var=yes"
12996 echo "$as_me: failed program was:" >&5
12997 sed 's/^/| /' conftest.
$ac_ext >&5
12999 eval "$as_ac_var=no"
13001 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13005 if test `eval echo '${'$as_ac_var'}'` = yes; then
13006 cat >>confdefs.h
<<_ACEOF
13007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13016 for ac_header
in langinfo.h
13018 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13020 echo "$as_me:$LINENO: checking for $ac_header" >&5
13021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13023 echo $ECHO_N "(cached) $ECHO_C" >&6
13025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13028 # Is the header compilable?
13029 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13030 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13031 cat >conftest.
$ac_ext <<_ACEOF
13032 #line $LINENO "configure"
13035 cat confdefs.h
>>conftest.
$ac_ext
13036 cat >>conftest.
$ac_ext <<_ACEOF
13037 /* end confdefs.h. */
13038 $ac_includes_default
13039 #include <$ac_header>
13041 rm -f conftest.
$ac_objext
13042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13043 (eval $ac_compile) 2>&5
13045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); } &&
13047 { ac_try
='test -s conftest.$ac_objext'
13048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13049 (eval $ac_try) 2>&5
13051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052 (exit $ac_status); }; }; then
13053 ac_header_compiler
=yes
13055 echo "$as_me: failed program was:" >&5
13056 sed 's/^/| /' conftest.
$ac_ext >&5
13058 ac_header_compiler
=no
13060 rm -f conftest.
$ac_objext conftest.
$ac_ext
13061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13062 echo "${ECHO_T}$ac_header_compiler" >&6
13064 # Is the header present?
13065 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13066 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13067 cat >conftest.
$ac_ext <<_ACEOF
13068 #line $LINENO "configure"
13071 cat confdefs.h
>>conftest.
$ac_ext
13072 cat >>conftest.
$ac_ext <<_ACEOF
13073 /* end confdefs.h. */
13074 #include <$ac_header>
13076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13077 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13079 grep -v '^ *+' conftest.er1
>conftest.err
13081 cat conftest.err
>&5
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); } >/dev
/null
; then
13084 if test -s conftest.err
; then
13085 ac_cpp_err
=$ac_c_preproc_warn_flag
13092 if test -z "$ac_cpp_err"; then
13093 ac_header_preproc
=yes
13095 echo "$as_me: failed program was:" >&5
13096 sed 's/^/| /' conftest.
$ac_ext >&5
13098 ac_header_preproc
=no
13100 rm -f conftest.err conftest.
$ac_ext
13101 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13102 echo "${ECHO_T}$ac_header_preproc" >&6
13104 # So? What about this header?
13105 case $ac_header_compiler:$ac_header_preproc in
13107 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13108 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13110 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13113 ## ------------------------------------ ##
13114 ## Report this to bug-autoconf@gnu.org. ##
13115 ## ------------------------------------ ##
13118 sed "s/^/$as_me: WARNING: /" >&2
13121 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13122 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13123 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13124 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13125 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13126 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13129 ## ------------------------------------ ##
13130 ## Report this to bug-autoconf@gnu.org. ##
13131 ## ------------------------------------ ##
13134 sed "s/^/$as_me: WARNING: /" >&2
13137 echo "$as_me:$LINENO: checking for $ac_header" >&5
13138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13140 echo $ECHO_N "(cached) $ECHO_C" >&6
13142 eval "$as_ac_Header=$ac_header_preproc"
13144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13149 cat >>confdefs.h
<<_ACEOF
13150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13159 *-pc-os2_emx | *-pc-os2-emx )
13160 if test $ac_cv_header_langinfo_h = "yes"; then
13161 LIBS
="$LIBS -lintl"
13166 if test "$wxUSE_GUI" = "yes"; then
13167 if test "$wxUSE_UNIX" = "yes"; then
13169 for ac_header
in X
11/Xlib.h
13171 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13172 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13173 echo "$as_me:$LINENO: checking for $ac_header" >&5
13174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13176 echo $ECHO_N "(cached) $ECHO_C" >&6
13178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13181 # Is the header compilable?
13182 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13183 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13184 cat >conftest.
$ac_ext <<_ACEOF
13185 #line $LINENO "configure"
13188 cat confdefs.h
>>conftest.
$ac_ext
13189 cat >>conftest.
$ac_ext <<_ACEOF
13190 /* end confdefs.h. */
13191 $ac_includes_default
13192 #include <$ac_header>
13194 rm -f conftest.
$ac_objext
13195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13196 (eval $ac_compile) 2>&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); } &&
13200 { ac_try
='test -s conftest.$ac_objext'
13201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13202 (eval $ac_try) 2>&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); }; }; then
13206 ac_header_compiler
=yes
13208 echo "$as_me: failed program was:" >&5
13209 sed 's/^/| /' conftest.
$ac_ext >&5
13211 ac_header_compiler
=no
13213 rm -f conftest.
$ac_objext conftest.
$ac_ext
13214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13215 echo "${ECHO_T}$ac_header_compiler" >&6
13217 # Is the header present?
13218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13220 cat >conftest.
$ac_ext <<_ACEOF
13221 #line $LINENO "configure"
13224 cat confdefs.h
>>conftest.
$ac_ext
13225 cat >>conftest.
$ac_ext <<_ACEOF
13226 /* end confdefs.h. */
13227 #include <$ac_header>
13229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13230 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13232 grep -v '^ *+' conftest.er1
>conftest.err
13234 cat conftest.err
>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); } >/dev
/null
; then
13237 if test -s conftest.err
; then
13238 ac_cpp_err
=$ac_c_preproc_warn_flag
13245 if test -z "$ac_cpp_err"; then
13246 ac_header_preproc
=yes
13248 echo "$as_me: failed program was:" >&5
13249 sed 's/^/| /' conftest.
$ac_ext >&5
13251 ac_header_preproc
=no
13253 rm -f conftest.err conftest.
$ac_ext
13254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13255 echo "${ECHO_T}$ac_header_preproc" >&6
13257 # So? What about this header?
13258 case $ac_header_compiler:$ac_header_preproc in
13260 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13263 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13266 ## ------------------------------------ ##
13267 ## Report this to bug-autoconf@gnu.org. ##
13268 ## ------------------------------------ ##
13271 sed "s/^/$as_me: WARNING: /" >&2
13274 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13275 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13276 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13277 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13282 ## ------------------------------------ ##
13283 ## Report this to bug-autoconf@gnu.org. ##
13284 ## ------------------------------------ ##
13287 sed "s/^/$as_me: WARNING: /" >&2
13290 echo "$as_me:$LINENO: checking for $ac_header" >&5
13291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13293 echo $ECHO_N "(cached) $ECHO_C" >&6
13295 eval "$as_ac_Header=$ac_header_preproc"
13297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13302 cat >>confdefs.h
<<_ACEOF
13303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13311 for ac_header
in X
11/XKBlib.h
13313 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13314 echo "$as_me:$LINENO: checking for $ac_header" >&5
13315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13317 echo $ECHO_N "(cached) $ECHO_C" >&6
13319 cat >conftest.
$ac_ext <<_ACEOF
13320 #line $LINENO "configure"
13323 cat confdefs.h
>>conftest.
$ac_ext
13324 cat >>conftest.
$ac_ext <<_ACEOF
13325 /* end confdefs.h. */
13327 #if HAVE_X11_XLIB_H
13328 #include <X11/Xlib.h>
13332 #include <$ac_header>
13334 rm -f conftest.
$ac_objext
13335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13336 (eval $ac_compile) 2>&5
13338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13339 (exit $ac_status); } &&
13340 { ac_try
='test -s conftest.$ac_objext'
13341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13342 (eval $ac_try) 2>&5
13344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13345 (exit $ac_status); }; }; then
13346 eval "$as_ac_Header=yes"
13348 echo "$as_me: failed program was:" >&5
13349 sed 's/^/| /' conftest.
$ac_ext >&5
13351 eval "$as_ac_Header=no"
13353 rm -f conftest.
$ac_objext conftest.
$ac_ext
13355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13358 cat >>confdefs.h
<<_ACEOF
13359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13370 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13371 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13372 if test "${ac_cv_c_const+set}" = set; then
13373 echo $ECHO_N "(cached) $ECHO_C" >&6
13375 cat >conftest.
$ac_ext <<_ACEOF
13376 #line $LINENO "configure"
13379 cat confdefs.h
>>conftest.
$ac_ext
13380 cat >>conftest.
$ac_ext <<_ACEOF
13381 /* end confdefs.h. */
13386 /* FIXME: Include the comments suggested by Paul. */
13387 #ifndef __cplusplus
13388 /* Ultrix mips cc rejects this. */
13389 typedef int charset[2];
13391 /* SunOS 4.1.1 cc rejects this. */
13392 char const *const *ccp;
13394 /* NEC SVR4.0.2 mips cc rejects this. */
13395 struct point {int x, y;};
13396 static struct point const zero = {0,0};
13397 /* AIX XL C 1.02.0.0 rejects this.
13398 It does not let you subtract one const X* pointer from another in
13399 an arm of an if-expression whose if-part is not a constant
13401 const char *g = "string";
13402 ccp = &g + (g ? g-g : 0);
13403 /* HPUX 7.0 cc rejects these. */
13406 ccp = (char const *const *) p;
13407 { /* SCO 3.2v4 cc rejects this. */
13409 char const *s = 0 ? (char *) 0 : (char const *) 0;
13413 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13414 int x[] = {25, 17};
13415 const int *foo = &x[0];
13418 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13419 typedef const int *iptr;
13423 { /* AIX XL C 1.02.0.0 rejects this saying
13424 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13425 struct s { int j; const int *ap[3]; };
13426 struct s *b; b->j = 5;
13428 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13429 const int foo = 10;
13437 rm -f conftest.
$ac_objext
13438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13439 (eval $ac_compile) 2>&5
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); } &&
13443 { ac_try
='test -s conftest.$ac_objext'
13444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13445 (eval $ac_try) 2>&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); }; }; then
13451 echo "$as_me: failed program was:" >&5
13452 sed 's/^/| /' conftest.
$ac_ext >&5
13456 rm -f conftest.
$ac_objext conftest.
$ac_ext
13458 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13459 echo "${ECHO_T}$ac_cv_c_const" >&6
13460 if test $ac_cv_c_const = no
; then
13462 cat >>confdefs.h
<<\_ACEOF
13468 echo "$as_me:$LINENO: checking for inline" >&5
13469 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13470 if test "${ac_cv_c_inline+set}" = set; then
13471 echo $ECHO_N "(cached) $ECHO_C" >&6
13474 for ac_kw
in inline __inline__ __inline
; do
13475 cat >conftest.
$ac_ext <<_ACEOF
13476 #line $LINENO "configure"
13479 cat confdefs.h
>>conftest.
$ac_ext
13480 cat >>conftest.
$ac_ext <<_ACEOF
13481 /* end confdefs.h. */
13482 #ifndef __cplusplus
13484 static $ac_kw foo_t static_foo () {return 0; }
13485 $ac_kw foo_t foo () {return 0; }
13489 rm -f conftest.
$ac_objext
13490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13491 (eval $ac_compile) 2>&5
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); } &&
13495 { ac_try
='test -s conftest.$ac_objext'
13496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13497 (eval $ac_try) 2>&5
13499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13500 (exit $ac_status); }; }; then
13501 ac_cv_c_inline
=$ac_kw; break
13503 echo "$as_me: failed program was:" >&5
13504 sed 's/^/| /' conftest.
$ac_ext >&5
13507 rm -f conftest.
$ac_objext conftest.
$ac_ext
13511 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13512 echo "${ECHO_T}$ac_cv_c_inline" >&6
13513 case $ac_cv_c_inline in
13516 cat >>confdefs.h
<<\_ACEOF
13520 *) cat >>confdefs.h
<<_ACEOF
13521 #define inline $ac_cv_c_inline
13527 echo "$as_me:$LINENO: checking for char" >&5
13528 echo $ECHO_N "checking for char... $ECHO_C" >&6
13529 if test "${ac_cv_type_char+set}" = set; then
13530 echo $ECHO_N "(cached) $ECHO_C" >&6
13532 cat >conftest.
$ac_ext <<_ACEOF
13533 #line $LINENO "configure"
13536 cat confdefs.h
>>conftest.
$ac_ext
13537 cat >>conftest.
$ac_ext <<_ACEOF
13538 /* end confdefs.h. */
13539 $ac_includes_default
13551 rm -f conftest.
$ac_objext
13552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13553 (eval $ac_compile) 2>&5
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); } &&
13557 { ac_try
='test -s conftest.$ac_objext'
13558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13559 (eval $ac_try) 2>&5
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 (exit $ac_status); }; }; then
13563 ac_cv_type_char
=yes
13565 echo "$as_me: failed program was:" >&5
13566 sed 's/^/| /' conftest.
$ac_ext >&5
13570 rm -f conftest.
$ac_objext conftest.
$ac_ext
13572 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13573 echo "${ECHO_T}$ac_cv_type_char" >&6
13575 echo "$as_me:$LINENO: checking size of char" >&5
13576 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13577 if test "${ac_cv_sizeof_char+set}" = set; then
13578 echo $ECHO_N "(cached) $ECHO_C" >&6
13580 if test "$ac_cv_type_char" = yes; then
13581 # The cast to unsigned long works around a bug in the HP C Compiler
13582 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13583 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13584 # This bug is HP SR number 8606223364.
13585 if test "$cross_compiling" = yes; then
13586 # Depending upon the size, compute the lo and hi bounds.
13587 cat >conftest.
$ac_ext <<_ACEOF
13588 #line $LINENO "configure"
13591 cat confdefs.h
>>conftest.
$ac_ext
13592 cat >>conftest.
$ac_ext <<_ACEOF
13593 /* end confdefs.h. */
13594 $ac_includes_default
13598 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13605 rm -f conftest.
$ac_objext
13606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13607 (eval $ac_compile) 2>&5
13609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13610 (exit $ac_status); } &&
13611 { ac_try
='test -s conftest.$ac_objext'
13612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13613 (eval $ac_try) 2>&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); }; }; then
13619 cat >conftest.
$ac_ext <<_ACEOF
13620 #line $LINENO "configure"
13623 cat confdefs.h
>>conftest.
$ac_ext
13624 cat >>conftest.
$ac_ext <<_ACEOF
13625 /* end confdefs.h. */
13626 $ac_includes_default
13630 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13637 rm -f conftest.
$ac_objext
13638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13639 (eval $ac_compile) 2>&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); } &&
13643 { ac_try
='test -s conftest.$ac_objext'
13644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13645 (eval $ac_try) 2>&5
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); }; }; then
13649 ac_hi
=$ac_mid; break
13651 echo "$as_me: failed program was:" >&5
13652 sed 's/^/| /' conftest.
$ac_ext >&5
13654 ac_lo
=`expr $ac_mid + 1`
13655 if test $ac_lo -le $ac_mid; then
13659 ac_mid
=`expr 2 '*' $ac_mid + 1`
13661 rm -f conftest.
$ac_objext conftest.
$ac_ext
13664 echo "$as_me: failed program was:" >&5
13665 sed 's/^/| /' conftest.
$ac_ext >&5
13667 cat >conftest.
$ac_ext <<_ACEOF
13668 #line $LINENO "configure"
13671 cat confdefs.h
>>conftest.
$ac_ext
13672 cat >>conftest.
$ac_ext <<_ACEOF
13673 /* end confdefs.h. */
13674 $ac_includes_default
13678 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13685 rm -f conftest.
$ac_objext
13686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13687 (eval $ac_compile) 2>&5
13689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690 (exit $ac_status); } &&
13691 { ac_try
='test -s conftest.$ac_objext'
13692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13693 (eval $ac_try) 2>&5
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); }; }; then
13699 cat >conftest.
$ac_ext <<_ACEOF
13700 #line $LINENO "configure"
13703 cat confdefs.h
>>conftest.
$ac_ext
13704 cat >>conftest.
$ac_ext <<_ACEOF
13705 /* end confdefs.h. */
13706 $ac_includes_default
13710 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13717 rm -f conftest.
$ac_objext
13718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13719 (eval $ac_compile) 2>&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); } &&
13723 { ac_try
='test -s conftest.$ac_objext'
13724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13725 (eval $ac_try) 2>&5
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); }; }; then
13729 ac_lo
=$ac_mid; break
13731 echo "$as_me: failed program was:" >&5
13732 sed 's/^/| /' conftest.
$ac_ext >&5
13734 ac_hi
=`expr '(' $ac_mid ')' - 1`
13735 if test $ac_mid -le $ac_hi; then
13739 ac_mid
=`expr 2 '*' $ac_mid`
13741 rm -f conftest.
$ac_objext conftest.
$ac_ext
13744 echo "$as_me: failed program was:" >&5
13745 sed 's/^/| /' conftest.
$ac_ext >&5
13749 rm -f conftest.
$ac_objext conftest.
$ac_ext
13751 rm -f conftest.
$ac_objext conftest.
$ac_ext
13752 # Binary search between lo and hi bounds.
13753 while test "x$ac_lo" != "x$ac_hi"; do
13754 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13755 cat >conftest.
$ac_ext <<_ACEOF
13756 #line $LINENO "configure"
13759 cat confdefs.h
>>conftest.
$ac_ext
13760 cat >>conftest.
$ac_ext <<_ACEOF
13761 /* end confdefs.h. */
13762 $ac_includes_default
13766 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13773 rm -f conftest.
$ac_objext
13774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13775 (eval $ac_compile) 2>&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 (exit $ac_status); } &&
13779 { ac_try
='test -s conftest.$ac_objext'
13780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13781 (eval $ac_try) 2>&5
13783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784 (exit $ac_status); }; }; then
13787 echo "$as_me: failed program was:" >&5
13788 sed 's/^/| /' conftest.
$ac_ext >&5
13790 ac_lo
=`expr '(' $ac_mid ')' + 1`
13792 rm -f conftest.
$ac_objext conftest.
$ac_ext
13795 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13796 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13797 See \`config.log' for more details." >&5
13798 echo "$as_me: error: cannot compute sizeof (char), 77
13799 See \`config.log' for more details." >&2;}
13800 { (exit 1); exit 1; }; } ;;
13803 if test "$cross_compiling" = yes; then
13804 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13805 See \`config.log' for more details." >&5
13806 echo "$as_me: error: cannot run test program while cross compiling
13807 See \`config.log' for more details." >&2;}
13808 { (exit 1); exit 1; }; }
13810 cat >conftest.
$ac_ext <<_ACEOF
13811 #line $LINENO "configure"
13814 cat confdefs.h
>>conftest.
$ac_ext
13815 cat >>conftest.
$ac_ext <<_ACEOF
13816 /* end confdefs.h. */
13817 $ac_includes_default
13818 long longval () { return (long) (sizeof (char)); }
13819 unsigned long ulongval () { return (long) (sizeof (char)); }
13821 #include <stdlib.h>
13826 FILE *f = fopen ("conftest.val", "w");
13829 if (((long) (sizeof (char))) < 0)
13831 long i = longval ();
13832 if (i != ((long) (sizeof (char))))
13834 fprintf (f, "%ld\n", i);
13838 unsigned long i = ulongval ();
13839 if (i != ((long) (sizeof (char))))
13841 fprintf (f, "%lu\n", i);
13843 exit (ferror (f) || fclose (f) != 0);
13849 rm -f conftest
$ac_exeext
13850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13851 (eval $ac_link) 2>&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13856 (eval $ac_try) 2>&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); }; }; then
13860 ac_cv_sizeof_char
=`cat conftest.val`
13862 echo "$as_me: program exited with status $ac_status" >&5
13863 echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.
$ac_ext >&5
13866 ( exit $ac_status )
13867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13868 See \`config.log' for more details." >&5
13869 echo "$as_me: error: cannot compute sizeof (char), 77
13870 See \`config.log' for more details." >&2;}
13871 { (exit 1); exit 1; }; }
13873 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13878 ac_cv_sizeof_char
=0
13881 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13882 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13883 cat >>confdefs.h
<<_ACEOF
13884 #define SIZEOF_CHAR $ac_cv_sizeof_char
13888 echo "$as_me:$LINENO: checking for short" >&5
13889 echo $ECHO_N "checking for short... $ECHO_C" >&6
13890 if test "${ac_cv_type_short+set}" = set; then
13891 echo $ECHO_N "(cached) $ECHO_C" >&6
13893 cat >conftest.
$ac_ext <<_ACEOF
13894 #line $LINENO "configure"
13897 cat confdefs.h
>>conftest.
$ac_ext
13898 cat >>conftest.
$ac_ext <<_ACEOF
13899 /* end confdefs.h. */
13900 $ac_includes_default
13906 if (sizeof (short))
13912 rm -f conftest.
$ac_objext
13913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13914 (eval $ac_compile) 2>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); } &&
13918 { ac_try
='test -s conftest.$ac_objext'
13919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920 (eval $ac_try) 2>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); }; }; then
13924 ac_cv_type_short
=yes
13926 echo "$as_me: failed program was:" >&5
13927 sed 's/^/| /' conftest.
$ac_ext >&5
13929 ac_cv_type_short
=no
13931 rm -f conftest.
$ac_objext conftest.
$ac_ext
13933 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13934 echo "${ECHO_T}$ac_cv_type_short" >&6
13936 echo "$as_me:$LINENO: checking size of short" >&5
13937 echo $ECHO_N "checking size of short... $ECHO_C" >&6
13938 if test "${ac_cv_sizeof_short+set}" = set; then
13939 echo $ECHO_N "(cached) $ECHO_C" >&6
13941 if test "$ac_cv_type_short" = yes; then
13942 # The cast to unsigned long works around a bug in the HP C Compiler
13943 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13944 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13945 # This bug is HP SR number 8606223364.
13946 if test "$cross_compiling" = yes; then
13947 # Depending upon the size, compute the lo and hi bounds.
13948 cat >conftest.
$ac_ext <<_ACEOF
13949 #line $LINENO "configure"
13952 cat confdefs.h
>>conftest.
$ac_ext
13953 cat >>conftest.
$ac_ext <<_ACEOF
13954 /* end confdefs.h. */
13955 $ac_includes_default
13959 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13966 rm -f conftest.
$ac_objext
13967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13968 (eval $ac_compile) 2>&5
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); } &&
13972 { ac_try
='test -s conftest.$ac_objext'
13973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13974 (eval $ac_try) 2>&5
13976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); }; }; then
13980 cat >conftest.
$ac_ext <<_ACEOF
13981 #line $LINENO "configure"
13984 cat confdefs.h
>>conftest.
$ac_ext
13985 cat >>conftest.
$ac_ext <<_ACEOF
13986 /* end confdefs.h. */
13987 $ac_includes_default
13991 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13998 rm -f conftest.
$ac_objext
13999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14000 (eval $ac_compile) 2>&5
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); } &&
14004 { ac_try
='test -s conftest.$ac_objext'
14005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14006 (eval $ac_try) 2>&5
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); }; }; then
14010 ac_hi
=$ac_mid; break
14012 echo "$as_me: failed program was:" >&5
14013 sed 's/^/| /' conftest.
$ac_ext >&5
14015 ac_lo
=`expr $ac_mid + 1`
14016 if test $ac_lo -le $ac_mid; then
14020 ac_mid
=`expr 2 '*' $ac_mid + 1`
14022 rm -f conftest.
$ac_objext conftest.
$ac_ext
14025 echo "$as_me: failed program was:" >&5
14026 sed 's/^/| /' conftest.
$ac_ext >&5
14028 cat >conftest.
$ac_ext <<_ACEOF
14029 #line $LINENO "configure"
14032 cat confdefs.h
>>conftest.
$ac_ext
14033 cat >>conftest.
$ac_ext <<_ACEOF
14034 /* end confdefs.h. */
14035 $ac_includes_default
14039 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14046 rm -f conftest.
$ac_objext
14047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14048 (eval $ac_compile) 2>&5
14050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14051 (exit $ac_status); } &&
14052 { ac_try
='test -s conftest.$ac_objext'
14053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14054 (eval $ac_try) 2>&5
14056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14057 (exit $ac_status); }; }; then
14060 cat >conftest.
$ac_ext <<_ACEOF
14061 #line $LINENO "configure"
14064 cat confdefs.h
>>conftest.
$ac_ext
14065 cat >>conftest.
$ac_ext <<_ACEOF
14066 /* end confdefs.h. */
14067 $ac_includes_default
14071 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14078 rm -f conftest.
$ac_objext
14079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14080 (eval $ac_compile) 2>&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); } &&
14084 { ac_try
='test -s conftest.$ac_objext'
14085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14086 (eval $ac_try) 2>&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); }; }; then
14090 ac_lo
=$ac_mid; break
14092 echo "$as_me: failed program was:" >&5
14093 sed 's/^/| /' conftest.
$ac_ext >&5
14095 ac_hi
=`expr '(' $ac_mid ')' - 1`
14096 if test $ac_mid -le $ac_hi; then
14100 ac_mid
=`expr 2 '*' $ac_mid`
14102 rm -f conftest.
$ac_objext conftest.
$ac_ext
14105 echo "$as_me: failed program was:" >&5
14106 sed 's/^/| /' conftest.
$ac_ext >&5
14110 rm -f conftest.
$ac_objext conftest.
$ac_ext
14112 rm -f conftest.
$ac_objext conftest.
$ac_ext
14113 # Binary search between lo and hi bounds.
14114 while test "x$ac_lo" != "x$ac_hi"; do
14115 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14116 cat >conftest.
$ac_ext <<_ACEOF
14117 #line $LINENO "configure"
14120 cat confdefs.h
>>conftest.
$ac_ext
14121 cat >>conftest.
$ac_ext <<_ACEOF
14122 /* end confdefs.h. */
14123 $ac_includes_default
14127 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14134 rm -f conftest.
$ac_objext
14135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14136 (eval $ac_compile) 2>&5
14138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139 (exit $ac_status); } &&
14140 { ac_try
='test -s conftest.$ac_objext'
14141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14142 (eval $ac_try) 2>&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); }; }; then
14148 echo "$as_me: failed program was:" >&5
14149 sed 's/^/| /' conftest.
$ac_ext >&5
14151 ac_lo
=`expr '(' $ac_mid ')' + 1`
14153 rm -f conftest.
$ac_objext conftest.
$ac_ext
14156 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14157 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14158 See \`config.log' for more details." >&5
14159 echo "$as_me: error: cannot compute sizeof (short), 77
14160 See \`config.log' for more details." >&2;}
14161 { (exit 1); exit 1; }; } ;;
14164 if test "$cross_compiling" = yes; then
14165 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14166 See \`config.log' for more details." >&5
14167 echo "$as_me: error: cannot run test program while cross compiling
14168 See \`config.log' for more details." >&2;}
14169 { (exit 1); exit 1; }; }
14171 cat >conftest.
$ac_ext <<_ACEOF
14172 #line $LINENO "configure"
14175 cat confdefs.h
>>conftest.
$ac_ext
14176 cat >>conftest.
$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14178 $ac_includes_default
14179 long longval () { return (long) (sizeof (short)); }
14180 unsigned long ulongval () { return (long) (sizeof (short)); }
14182 #include <stdlib.h>
14187 FILE *f = fopen ("conftest.val", "w");
14190 if (((long) (sizeof (short))) < 0)
14192 long i = longval ();
14193 if (i != ((long) (sizeof (short))))
14195 fprintf (f, "%ld\n", i);
14199 unsigned long i = ulongval ();
14200 if (i != ((long) (sizeof (short))))
14202 fprintf (f, "%lu\n", i);
14204 exit (ferror (f) || fclose (f) != 0);
14210 rm -f conftest
$ac_exeext
14211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14212 (eval $ac_link) 2>&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14217 (eval $ac_try) 2>&5
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); }; }; then
14221 ac_cv_sizeof_short
=`cat conftest.val`
14223 echo "$as_me: program exited with status $ac_status" >&5
14224 echo "$as_me: failed program was:" >&5
14225 sed 's/^/| /' conftest.
$ac_ext >&5
14227 ( exit $ac_status )
14228 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14229 See \`config.log' for more details." >&5
14230 echo "$as_me: error: cannot compute sizeof (short), 77
14231 See \`config.log' for more details." >&2;}
14232 { (exit 1); exit 1; }; }
14234 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14239 ac_cv_sizeof_short
=0
14242 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14243 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14244 cat >>confdefs.h
<<_ACEOF
14245 #define SIZEOF_SHORT $ac_cv_sizeof_short
14249 echo "$as_me:$LINENO: checking for void *" >&5
14250 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14251 if test "${ac_cv_type_void_p+set}" = set; then
14252 echo $ECHO_N "(cached) $ECHO_C" >&6
14254 cat >conftest.
$ac_ext <<_ACEOF
14255 #line $LINENO "configure"
14258 cat confdefs.h
>>conftest.
$ac_ext
14259 cat >>conftest.
$ac_ext <<_ACEOF
14260 /* end confdefs.h. */
14261 $ac_includes_default
14267 if (sizeof (void *))
14273 rm -f conftest.
$ac_objext
14274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14275 (eval $ac_compile) 2>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); } &&
14279 { ac_try
='test -s conftest.$ac_objext'
14280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14281 (eval $ac_try) 2>&5
14283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); }; }; then
14285 ac_cv_type_void_p
=yes
14287 echo "$as_me: failed program was:" >&5
14288 sed 's/^/| /' conftest.
$ac_ext >&5
14290 ac_cv_type_void_p
=no
14292 rm -f conftest.
$ac_objext conftest.
$ac_ext
14294 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14295 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14297 echo "$as_me:$LINENO: checking size of void *" >&5
14298 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14299 if test "${ac_cv_sizeof_void_p+set}" = set; then
14300 echo $ECHO_N "(cached) $ECHO_C" >&6
14302 if test "$ac_cv_type_void_p" = yes; then
14303 # The cast to unsigned long works around a bug in the HP C Compiler
14304 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14305 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14306 # This bug is HP SR number 8606223364.
14307 if test "$cross_compiling" = yes; then
14308 # Depending upon the size, compute the lo and hi bounds.
14309 cat >conftest.
$ac_ext <<_ACEOF
14310 #line $LINENO "configure"
14313 cat confdefs.h
>>conftest.
$ac_ext
14314 cat >>conftest.
$ac_ext <<_ACEOF
14315 /* end confdefs.h. */
14316 $ac_includes_default
14320 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14327 rm -f conftest.
$ac_objext
14328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14329 (eval $ac_compile) 2>&5
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); } &&
14333 { ac_try
='test -s conftest.$ac_objext'
14334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14335 (eval $ac_try) 2>&5
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); }; }; then
14341 cat >conftest.
$ac_ext <<_ACEOF
14342 #line $LINENO "configure"
14345 cat confdefs.h
>>conftest.
$ac_ext
14346 cat >>conftest.
$ac_ext <<_ACEOF
14347 /* end confdefs.h. */
14348 $ac_includes_default
14352 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14359 rm -f conftest.
$ac_objext
14360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14361 (eval $ac_compile) 2>&5
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); } &&
14365 { ac_try
='test -s conftest.$ac_objext'
14366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14367 (eval $ac_try) 2>&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); }; }; then
14371 ac_hi
=$ac_mid; break
14373 echo "$as_me: failed program was:" >&5
14374 sed 's/^/| /' conftest.
$ac_ext >&5
14376 ac_lo
=`expr $ac_mid + 1`
14377 if test $ac_lo -le $ac_mid; then
14381 ac_mid
=`expr 2 '*' $ac_mid + 1`
14383 rm -f conftest.
$ac_objext conftest.
$ac_ext
14386 echo "$as_me: failed program was:" >&5
14387 sed 's/^/| /' conftest.
$ac_ext >&5
14389 cat >conftest.
$ac_ext <<_ACEOF
14390 #line $LINENO "configure"
14393 cat confdefs.h
>>conftest.
$ac_ext
14394 cat >>conftest.
$ac_ext <<_ACEOF
14395 /* end confdefs.h. */
14396 $ac_includes_default
14400 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14407 rm -f conftest.
$ac_objext
14408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14409 (eval $ac_compile) 2>&5
14411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412 (exit $ac_status); } &&
14413 { ac_try
='test -s conftest.$ac_objext'
14414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14415 (eval $ac_try) 2>&5
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); }; }; then
14421 cat >conftest.
$ac_ext <<_ACEOF
14422 #line $LINENO "configure"
14425 cat confdefs.h
>>conftest.
$ac_ext
14426 cat >>conftest.
$ac_ext <<_ACEOF
14427 /* end confdefs.h. */
14428 $ac_includes_default
14432 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14439 rm -f conftest.
$ac_objext
14440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14441 (eval $ac_compile) 2>&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); } &&
14445 { ac_try
='test -s conftest.$ac_objext'
14446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447 (eval $ac_try) 2>&5
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); }; }; then
14451 ac_lo
=$ac_mid; break
14453 echo "$as_me: failed program was:" >&5
14454 sed 's/^/| /' conftest.
$ac_ext >&5
14456 ac_hi
=`expr '(' $ac_mid ')' - 1`
14457 if test $ac_mid -le $ac_hi; then
14461 ac_mid
=`expr 2 '*' $ac_mid`
14463 rm -f conftest.
$ac_objext conftest.
$ac_ext
14466 echo "$as_me: failed program was:" >&5
14467 sed 's/^/| /' conftest.
$ac_ext >&5
14471 rm -f conftest.
$ac_objext conftest.
$ac_ext
14473 rm -f conftest.
$ac_objext conftest.
$ac_ext
14474 # Binary search between lo and hi bounds.
14475 while test "x$ac_lo" != "x$ac_hi"; do
14476 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14477 cat >conftest.
$ac_ext <<_ACEOF
14478 #line $LINENO "configure"
14481 cat confdefs.h
>>conftest.
$ac_ext
14482 cat >>conftest.
$ac_ext <<_ACEOF
14483 /* end confdefs.h. */
14484 $ac_includes_default
14488 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14495 rm -f conftest.
$ac_objext
14496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14497 (eval $ac_compile) 2>&5
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); } &&
14501 { ac_try
='test -s conftest.$ac_objext'
14502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14503 (eval $ac_try) 2>&5
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); }; }; then
14509 echo "$as_me: failed program was:" >&5
14510 sed 's/^/| /' conftest.
$ac_ext >&5
14512 ac_lo
=`expr '(' $ac_mid ')' + 1`
14514 rm -f conftest.
$ac_objext conftest.
$ac_ext
14517 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14518 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14519 See \`config.log' for more details." >&5
14520 echo "$as_me: error: cannot compute sizeof (void *), 77
14521 See \`config.log' for more details." >&2;}
14522 { (exit 1); exit 1; }; } ;;
14525 if test "$cross_compiling" = yes; then
14526 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14527 See \`config.log' for more details." >&5
14528 echo "$as_me: error: cannot run test program while cross compiling
14529 See \`config.log' for more details." >&2;}
14530 { (exit 1); exit 1; }; }
14532 cat >conftest.
$ac_ext <<_ACEOF
14533 #line $LINENO "configure"
14536 cat confdefs.h
>>conftest.
$ac_ext
14537 cat >>conftest.
$ac_ext <<_ACEOF
14538 /* end confdefs.h. */
14539 $ac_includes_default
14540 long longval () { return (long) (sizeof (void *)); }
14541 unsigned long ulongval () { return (long) (sizeof (void *)); }
14543 #include <stdlib.h>
14548 FILE *f = fopen ("conftest.val", "w");
14551 if (((long) (sizeof (void *))) < 0)
14553 long i = longval ();
14554 if (i != ((long) (sizeof (void *))))
14556 fprintf (f, "%ld\n", i);
14560 unsigned long i = ulongval ();
14561 if (i != ((long) (sizeof (void *))))
14563 fprintf (f, "%lu\n", i);
14565 exit (ferror (f) || fclose (f) != 0);
14571 rm -f conftest
$ac_exeext
14572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14573 (eval $ac_link) 2>&5
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14578 (eval $ac_try) 2>&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); }; }; then
14582 ac_cv_sizeof_void_p
=`cat conftest.val`
14584 echo "$as_me: program exited with status $ac_status" >&5
14585 echo "$as_me: failed program was:" >&5
14586 sed 's/^/| /' conftest.
$ac_ext >&5
14588 ( exit $ac_status )
14589 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14590 See \`config.log' for more details." >&5
14591 echo "$as_me: error: cannot compute sizeof (void *), 77
14592 See \`config.log' for more details." >&2;}
14593 { (exit 1); exit 1; }; }
14595 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14600 ac_cv_sizeof_void_p
=0
14603 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14604 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14605 cat >>confdefs.h
<<_ACEOF
14606 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14610 echo "$as_me:$LINENO: checking for int" >&5
14611 echo $ECHO_N "checking for int... $ECHO_C" >&6
14612 if test "${ac_cv_type_int+set}" = set; then
14613 echo $ECHO_N "(cached) $ECHO_C" >&6
14615 cat >conftest.
$ac_ext <<_ACEOF
14616 #line $LINENO "configure"
14619 cat confdefs.h
>>conftest.
$ac_ext
14620 cat >>conftest.
$ac_ext <<_ACEOF
14621 /* end confdefs.h. */
14622 $ac_includes_default
14634 rm -f conftest.
$ac_objext
14635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14636 (eval $ac_compile) 2>&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } &&
14640 { ac_try
='test -s conftest.$ac_objext'
14641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14642 (eval $ac_try) 2>&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); }; }; then
14648 echo "$as_me: failed program was:" >&5
14649 sed 's/^/| /' conftest.
$ac_ext >&5
14653 rm -f conftest.
$ac_objext conftest.
$ac_ext
14655 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14656 echo "${ECHO_T}$ac_cv_type_int" >&6
14658 echo "$as_me:$LINENO: checking size of int" >&5
14659 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14660 if test "${ac_cv_sizeof_int+set}" = set; then
14661 echo $ECHO_N "(cached) $ECHO_C" >&6
14663 if test "$ac_cv_type_int" = yes; then
14664 # The cast to unsigned long works around a bug in the HP C Compiler
14665 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14666 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14667 # This bug is HP SR number 8606223364.
14668 if test "$cross_compiling" = yes; then
14669 # Depending upon the size, compute the lo and hi bounds.
14670 cat >conftest.
$ac_ext <<_ACEOF
14671 #line $LINENO "configure"
14674 cat confdefs.h
>>conftest.
$ac_ext
14675 cat >>conftest.
$ac_ext <<_ACEOF
14676 /* end confdefs.h. */
14677 $ac_includes_default
14681 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14688 rm -f conftest.
$ac_objext
14689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14690 (eval $ac_compile) 2>&5
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); } &&
14694 { ac_try
='test -s conftest.$ac_objext'
14695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14696 (eval $ac_try) 2>&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; }; then
14702 cat >conftest.
$ac_ext <<_ACEOF
14703 #line $LINENO "configure"
14706 cat confdefs.h
>>conftest.
$ac_ext
14707 cat >>conftest.
$ac_ext <<_ACEOF
14708 /* end confdefs.h. */
14709 $ac_includes_default
14713 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14720 rm -f conftest.
$ac_objext
14721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14722 (eval $ac_compile) 2>&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); } &&
14726 { ac_try
='test -s conftest.$ac_objext'
14727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14728 (eval $ac_try) 2>&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }; }; then
14732 ac_hi
=$ac_mid; break
14734 echo "$as_me: failed program was:" >&5
14735 sed 's/^/| /' conftest.
$ac_ext >&5
14737 ac_lo
=`expr $ac_mid + 1`
14738 if test $ac_lo -le $ac_mid; then
14742 ac_mid
=`expr 2 '*' $ac_mid + 1`
14744 rm -f conftest.
$ac_objext conftest.
$ac_ext
14747 echo "$as_me: failed program was:" >&5
14748 sed 's/^/| /' conftest.
$ac_ext >&5
14750 cat >conftest.
$ac_ext <<_ACEOF
14751 #line $LINENO "configure"
14754 cat confdefs.h
>>conftest.
$ac_ext
14755 cat >>conftest.
$ac_ext <<_ACEOF
14756 /* end confdefs.h. */
14757 $ac_includes_default
14761 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14768 rm -f conftest.
$ac_objext
14769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14770 (eval $ac_compile) 2>&5
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); } &&
14774 { ac_try
='test -s conftest.$ac_objext'
14775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14776 (eval $ac_try) 2>&5
14778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14779 (exit $ac_status); }; }; then
14782 cat >conftest.
$ac_ext <<_ACEOF
14783 #line $LINENO "configure"
14786 cat confdefs.h
>>conftest.
$ac_ext
14787 cat >>conftest.
$ac_ext <<_ACEOF
14788 /* end confdefs.h. */
14789 $ac_includes_default
14793 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14800 rm -f conftest.
$ac_objext
14801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14802 (eval $ac_compile) 2>&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); } &&
14806 { ac_try
='test -s conftest.$ac_objext'
14807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14808 (eval $ac_try) 2>&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); }; }; then
14812 ac_lo
=$ac_mid; break
14814 echo "$as_me: failed program was:" >&5
14815 sed 's/^/| /' conftest.
$ac_ext >&5
14817 ac_hi
=`expr '(' $ac_mid ')' - 1`
14818 if test $ac_mid -le $ac_hi; then
14822 ac_mid
=`expr 2 '*' $ac_mid`
14824 rm -f conftest.
$ac_objext conftest.
$ac_ext
14827 echo "$as_me: failed program was:" >&5
14828 sed 's/^/| /' conftest.
$ac_ext >&5
14832 rm -f conftest.
$ac_objext conftest.
$ac_ext
14834 rm -f conftest.
$ac_objext conftest.
$ac_ext
14835 # Binary search between lo and hi bounds.
14836 while test "x$ac_lo" != "x$ac_hi"; do
14837 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14838 cat >conftest.
$ac_ext <<_ACEOF
14839 #line $LINENO "configure"
14842 cat confdefs.h
>>conftest.
$ac_ext
14843 cat >>conftest.
$ac_ext <<_ACEOF
14844 /* end confdefs.h. */
14845 $ac_includes_default
14849 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14856 rm -f conftest.
$ac_objext
14857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14858 (eval $ac_compile) 2>&5
14860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861 (exit $ac_status); } &&
14862 { ac_try
='test -s conftest.$ac_objext'
14863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14864 (eval $ac_try) 2>&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); }; }; then
14870 echo "$as_me: failed program was:" >&5
14871 sed 's/^/| /' conftest.
$ac_ext >&5
14873 ac_lo
=`expr '(' $ac_mid ')' + 1`
14875 rm -f conftest.
$ac_objext conftest.
$ac_ext
14878 ?
*) ac_cv_sizeof_int
=$ac_lo;;
14879 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14880 See \`config.log' for more details." >&5
14881 echo "$as_me: error: cannot compute sizeof (int), 77
14882 See \`config.log' for more details." >&2;}
14883 { (exit 1); exit 1; }; } ;;
14886 if test "$cross_compiling" = yes; then
14887 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14888 See \`config.log' for more details." >&5
14889 echo "$as_me: error: cannot run test program while cross compiling
14890 See \`config.log' for more details." >&2;}
14891 { (exit 1); exit 1; }; }
14893 cat >conftest.
$ac_ext <<_ACEOF
14894 #line $LINENO "configure"
14897 cat confdefs.h
>>conftest.
$ac_ext
14898 cat >>conftest.
$ac_ext <<_ACEOF
14899 /* end confdefs.h. */
14900 $ac_includes_default
14901 long longval () { return (long) (sizeof (int)); }
14902 unsigned long ulongval () { return (long) (sizeof (int)); }
14904 #include <stdlib.h>
14909 FILE *f = fopen ("conftest.val", "w");
14912 if (((long) (sizeof (int))) < 0)
14914 long i = longval ();
14915 if (i != ((long) (sizeof (int))))
14917 fprintf (f, "%ld\n", i);
14921 unsigned long i = ulongval ();
14922 if (i != ((long) (sizeof (int))))
14924 fprintf (f, "%lu\n", i);
14926 exit (ferror (f) || fclose (f) != 0);
14932 rm -f conftest
$ac_exeext
14933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14934 (eval $ac_link) 2>&5
14936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14939 (eval $ac_try) 2>&5
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); }; }; then
14943 ac_cv_sizeof_int
=`cat conftest.val`
14945 echo "$as_me: program exited with status $ac_status" >&5
14946 echo "$as_me: failed program was:" >&5
14947 sed 's/^/| /' conftest.
$ac_ext >&5
14949 ( exit $ac_status )
14950 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14951 See \`config.log' for more details." >&5
14952 echo "$as_me: error: cannot compute sizeof (int), 77
14953 See \`config.log' for more details." >&2;}
14954 { (exit 1); exit 1; }; }
14956 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14964 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14965 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14966 cat >>confdefs.h
<<_ACEOF
14967 #define SIZEOF_INT $ac_cv_sizeof_int
14971 echo "$as_me:$LINENO: checking for long" >&5
14972 echo $ECHO_N "checking for long... $ECHO_C" >&6
14973 if test "${ac_cv_type_long+set}" = set; then
14974 echo $ECHO_N "(cached) $ECHO_C" >&6
14976 cat >conftest.
$ac_ext <<_ACEOF
14977 #line $LINENO "configure"
14980 cat confdefs.h
>>conftest.
$ac_ext
14981 cat >>conftest.
$ac_ext <<_ACEOF
14982 /* end confdefs.h. */
14983 $ac_includes_default
14995 rm -f conftest.
$ac_objext
14996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14997 (eval $ac_compile) 2>&5
14999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000 (exit $ac_status); } &&
15001 { ac_try
='test -s conftest.$ac_objext'
15002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003 (eval $ac_try) 2>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }; }; then
15007 ac_cv_type_long
=yes
15009 echo "$as_me: failed program was:" >&5
15010 sed 's/^/| /' conftest.
$ac_ext >&5
15014 rm -f conftest.
$ac_objext conftest.
$ac_ext
15016 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15017 echo "${ECHO_T}$ac_cv_type_long" >&6
15019 echo "$as_me:$LINENO: checking size of long" >&5
15020 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15021 if test "${ac_cv_sizeof_long+set}" = set; then
15022 echo $ECHO_N "(cached) $ECHO_C" >&6
15024 if test "$ac_cv_type_long" = yes; then
15025 # The cast to unsigned long works around a bug in the HP C Compiler
15026 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15027 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15028 # This bug is HP SR number 8606223364.
15029 if test "$cross_compiling" = yes; then
15030 # Depending upon the size, compute the lo and hi bounds.
15031 cat >conftest.
$ac_ext <<_ACEOF
15032 #line $LINENO "configure"
15035 cat confdefs.h
>>conftest.
$ac_ext
15036 cat >>conftest.
$ac_ext <<_ACEOF
15037 /* end confdefs.h. */
15038 $ac_includes_default
15042 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15049 rm -f conftest.
$ac_objext
15050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15051 (eval $ac_compile) 2>&5
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); } &&
15055 { ac_try
='test -s conftest.$ac_objext'
15056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15057 (eval $ac_try) 2>&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); }; }; then
15063 cat >conftest.
$ac_ext <<_ACEOF
15064 #line $LINENO "configure"
15067 cat confdefs.h
>>conftest.
$ac_ext
15068 cat >>conftest.
$ac_ext <<_ACEOF
15069 /* end confdefs.h. */
15070 $ac_includes_default
15074 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15081 rm -f conftest.
$ac_objext
15082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15083 (eval $ac_compile) 2>&5
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); } &&
15087 { ac_try
='test -s conftest.$ac_objext'
15088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089 (eval $ac_try) 2>&5
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; }; then
15093 ac_hi
=$ac_mid; break
15095 echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.
$ac_ext >&5
15098 ac_lo
=`expr $ac_mid + 1`
15099 if test $ac_lo -le $ac_mid; then
15103 ac_mid
=`expr 2 '*' $ac_mid + 1`
15105 rm -f conftest.
$ac_objext conftest.
$ac_ext
15108 echo "$as_me: failed program was:" >&5
15109 sed 's/^/| /' conftest.
$ac_ext >&5
15111 cat >conftest.
$ac_ext <<_ACEOF
15112 #line $LINENO "configure"
15115 cat confdefs.h
>>conftest.
$ac_ext
15116 cat >>conftest.
$ac_ext <<_ACEOF
15117 /* end confdefs.h. */
15118 $ac_includes_default
15122 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15129 rm -f conftest.
$ac_objext
15130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15131 (eval $ac_compile) 2>&5
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); } &&
15135 { ac_try
='test -s conftest.$ac_objext'
15136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15137 (eval $ac_try) 2>&5
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140 (exit $ac_status); }; }; then
15143 cat >conftest.
$ac_ext <<_ACEOF
15144 #line $LINENO "configure"
15147 cat confdefs.h
>>conftest.
$ac_ext
15148 cat >>conftest.
$ac_ext <<_ACEOF
15149 /* end confdefs.h. */
15150 $ac_includes_default
15154 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15161 rm -f conftest.
$ac_objext
15162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15163 (eval $ac_compile) 2>&5
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); } &&
15167 { ac_try
='test -s conftest.$ac_objext'
15168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15169 (eval $ac_try) 2>&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); }; }; then
15173 ac_lo
=$ac_mid; break
15175 echo "$as_me: failed program was:" >&5
15176 sed 's/^/| /' conftest.
$ac_ext >&5
15178 ac_hi
=`expr '(' $ac_mid ')' - 1`
15179 if test $ac_mid -le $ac_hi; then
15183 ac_mid
=`expr 2 '*' $ac_mid`
15185 rm -f conftest.
$ac_objext conftest.
$ac_ext
15188 echo "$as_me: failed program was:" >&5
15189 sed 's/^/| /' conftest.
$ac_ext >&5
15193 rm -f conftest.
$ac_objext conftest.
$ac_ext
15195 rm -f conftest.
$ac_objext conftest.
$ac_ext
15196 # Binary search between lo and hi bounds.
15197 while test "x$ac_lo" != "x$ac_hi"; do
15198 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15199 cat >conftest.
$ac_ext <<_ACEOF
15200 #line $LINENO "configure"
15203 cat confdefs.h
>>conftest.
$ac_ext
15204 cat >>conftest.
$ac_ext <<_ACEOF
15205 /* end confdefs.h. */
15206 $ac_includes_default
15210 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15217 rm -f conftest.
$ac_objext
15218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15219 (eval $ac_compile) 2>&5
15221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15222 (exit $ac_status); } &&
15223 { ac_try
='test -s conftest.$ac_objext'
15224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15225 (eval $ac_try) 2>&5
15227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15228 (exit $ac_status); }; }; then
15231 echo "$as_me: failed program was:" >&5
15232 sed 's/^/| /' conftest.
$ac_ext >&5
15234 ac_lo
=`expr '(' $ac_mid ')' + 1`
15236 rm -f conftest.
$ac_objext conftest.
$ac_ext
15239 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15240 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15241 See \`config.log' for more details." >&5
15242 echo "$as_me: error: cannot compute sizeof (long), 77
15243 See \`config.log' for more details." >&2;}
15244 { (exit 1); exit 1; }; } ;;
15247 if test "$cross_compiling" = yes; then
15248 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15249 See \`config.log' for more details." >&5
15250 echo "$as_me: error: cannot run test program while cross compiling
15251 See \`config.log' for more details." >&2;}
15252 { (exit 1); exit 1; }; }
15254 cat >conftest.
$ac_ext <<_ACEOF
15255 #line $LINENO "configure"
15258 cat confdefs.h
>>conftest.
$ac_ext
15259 cat >>conftest.
$ac_ext <<_ACEOF
15260 /* end confdefs.h. */
15261 $ac_includes_default
15262 long longval () { return (long) (sizeof (long)); }
15263 unsigned long ulongval () { return (long) (sizeof (long)); }
15265 #include <stdlib.h>
15270 FILE *f = fopen ("conftest.val", "w");
15273 if (((long) (sizeof (long))) < 0)
15275 long i = longval ();
15276 if (i != ((long) (sizeof (long))))
15278 fprintf (f, "%ld\n", i);
15282 unsigned long i = ulongval ();
15283 if (i != ((long) (sizeof (long))))
15285 fprintf (f, "%lu\n", i);
15287 exit (ferror (f) || fclose (f) != 0);
15293 rm -f conftest
$ac_exeext
15294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15295 (eval $ac_link) 2>&5
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300 (eval $ac_try) 2>&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); }; }; then
15304 ac_cv_sizeof_long
=`cat conftest.val`
15306 echo "$as_me: program exited with status $ac_status" >&5
15307 echo "$as_me: failed program was:" >&5
15308 sed 's/^/| /' conftest.
$ac_ext >&5
15310 ( exit $ac_status )
15311 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15312 See \`config.log' for more details." >&5
15313 echo "$as_me: error: cannot compute sizeof (long), 77
15314 See \`config.log' for more details." >&2;}
15315 { (exit 1); exit 1; }; }
15317 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15322 ac_cv_sizeof_long
=0
15325 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15326 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15327 cat >>confdefs.h
<<_ACEOF
15328 #define SIZEOF_LONG $ac_cv_sizeof_long
15335 echo "$as_me:$LINENO: checking for long long" >&5
15336 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15337 if test "${ac_cv_type_long_long+set}" = set; then
15338 echo $ECHO_N "(cached) $ECHO_C" >&6
15340 cat >conftest.
$ac_ext <<_ACEOF
15341 #line $LINENO "configure"
15344 cat confdefs.h
>>conftest.
$ac_ext
15345 cat >>conftest.
$ac_ext <<_ACEOF
15346 /* end confdefs.h. */
15347 $ac_includes_default
15351 if ((long long *) 0)
15353 if (sizeof (long long))
15359 rm -f conftest.
$ac_objext
15360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15361 (eval $ac_compile) 2>&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } &&
15365 { ac_try
='test -s conftest.$ac_objext'
15366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15367 (eval $ac_try) 2>&5
15369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 (exit $ac_status); }; }; then
15371 ac_cv_type_long_long
=yes
15373 echo "$as_me: failed program was:" >&5
15374 sed 's/^/| /' conftest.
$ac_ext >&5
15376 ac_cv_type_long_long
=no
15378 rm -f conftest.
$ac_objext conftest.
$ac_ext
15380 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15381 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15383 echo "$as_me:$LINENO: checking size of long long" >&5
15384 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15385 if test "${ac_cv_sizeof_long_long+set}" = set; then
15386 echo $ECHO_N "(cached) $ECHO_C" >&6
15388 if test "$ac_cv_type_long_long" = yes; then
15389 # The cast to unsigned long works around a bug in the HP C Compiler
15390 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15391 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15392 # This bug is HP SR number 8606223364.
15393 if test "$cross_compiling" = yes; then
15394 # Depending upon the size, compute the lo and hi bounds.
15395 cat >conftest.
$ac_ext <<_ACEOF
15396 #line $LINENO "configure"
15399 cat confdefs.h
>>conftest.
$ac_ext
15400 cat >>conftest.
$ac_ext <<_ACEOF
15401 /* end confdefs.h. */
15402 $ac_includes_default
15406 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15413 rm -f conftest.
$ac_objext
15414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15415 (eval $ac_compile) 2>&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); } &&
15419 { ac_try
='test -s conftest.$ac_objext'
15420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15421 (eval $ac_try) 2>&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }; }; then
15427 cat >conftest.
$ac_ext <<_ACEOF
15428 #line $LINENO "configure"
15431 cat confdefs.h
>>conftest.
$ac_ext
15432 cat >>conftest.
$ac_ext <<_ACEOF
15433 /* end confdefs.h. */
15434 $ac_includes_default
15438 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15445 rm -f conftest.
$ac_objext
15446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15447 (eval $ac_compile) 2>&5
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); } &&
15451 { ac_try
='test -s conftest.$ac_objext'
15452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15453 (eval $ac_try) 2>&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); }; }; then
15457 ac_hi
=$ac_mid; break
15459 echo "$as_me: failed program was:" >&5
15460 sed 's/^/| /' conftest.
$ac_ext >&5
15462 ac_lo
=`expr $ac_mid + 1`
15463 if test $ac_lo -le $ac_mid; then
15467 ac_mid
=`expr 2 '*' $ac_mid + 1`
15469 rm -f conftest.
$ac_objext conftest.
$ac_ext
15472 echo "$as_me: failed program was:" >&5
15473 sed 's/^/| /' conftest.
$ac_ext >&5
15475 cat >conftest.
$ac_ext <<_ACEOF
15476 #line $LINENO "configure"
15479 cat confdefs.h
>>conftest.
$ac_ext
15480 cat >>conftest.
$ac_ext <<_ACEOF
15481 /* end confdefs.h. */
15482 $ac_includes_default
15486 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15493 rm -f conftest.
$ac_objext
15494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15495 (eval $ac_compile) 2>&5
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); } &&
15499 { ac_try
='test -s conftest.$ac_objext'
15500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15501 (eval $ac_try) 2>&5
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); }; }; then
15507 cat >conftest.
$ac_ext <<_ACEOF
15508 #line $LINENO "configure"
15511 cat confdefs.h
>>conftest.
$ac_ext
15512 cat >>conftest.
$ac_ext <<_ACEOF
15513 /* end confdefs.h. */
15514 $ac_includes_default
15518 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15525 rm -f conftest.
$ac_objext
15526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15527 (eval $ac_compile) 2>&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } &&
15531 { ac_try
='test -s conftest.$ac_objext'
15532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15533 (eval $ac_try) 2>&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); }; }; then
15537 ac_lo
=$ac_mid; break
15539 echo "$as_me: failed program was:" >&5
15540 sed 's/^/| /' conftest.
$ac_ext >&5
15542 ac_hi
=`expr '(' $ac_mid ')' - 1`
15543 if test $ac_mid -le $ac_hi; then
15547 ac_mid
=`expr 2 '*' $ac_mid`
15549 rm -f conftest.
$ac_objext conftest.
$ac_ext
15552 echo "$as_me: failed program was:" >&5
15553 sed 's/^/| /' conftest.
$ac_ext >&5
15557 rm -f conftest.
$ac_objext conftest.
$ac_ext
15559 rm -f conftest.
$ac_objext conftest.
$ac_ext
15560 # Binary search between lo and hi bounds.
15561 while test "x$ac_lo" != "x$ac_hi"; do
15562 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15563 cat >conftest.
$ac_ext <<_ACEOF
15564 #line $LINENO "configure"
15567 cat confdefs.h
>>conftest.
$ac_ext
15568 cat >>conftest.
$ac_ext <<_ACEOF
15569 /* end confdefs.h. */
15570 $ac_includes_default
15574 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15581 rm -f conftest.
$ac_objext
15582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15583 (eval $ac_compile) 2>&5
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); } &&
15587 { ac_try
='test -s conftest.$ac_objext'
15588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15589 (eval $ac_try) 2>&5
15591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592 (exit $ac_status); }; }; then
15595 echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.
$ac_ext >&5
15598 ac_lo
=`expr '(' $ac_mid ')' + 1`
15600 rm -f conftest.
$ac_objext conftest.
$ac_ext
15603 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15604 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15605 See \`config.log' for more details." >&5
15606 echo "$as_me: error: cannot compute sizeof (long long), 77
15607 See \`config.log' for more details." >&2;}
15608 { (exit 1); exit 1; }; } ;;
15611 if test "$cross_compiling" = yes; then
15612 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15613 See \`config.log' for more details." >&5
15614 echo "$as_me: error: cannot run test program while cross compiling
15615 See \`config.log' for more details." >&2;}
15616 { (exit 1); exit 1; }; }
15618 cat >conftest.
$ac_ext <<_ACEOF
15619 #line $LINENO "configure"
15622 cat confdefs.h
>>conftest.
$ac_ext
15623 cat >>conftest.
$ac_ext <<_ACEOF
15624 /* end confdefs.h. */
15625 $ac_includes_default
15626 long longval () { return (long) (sizeof (long long)); }
15627 unsigned long ulongval () { return (long) (sizeof (long long)); }
15629 #include <stdlib.h>
15634 FILE *f = fopen ("conftest.val", "w");
15637 if (((long) (sizeof (long long))) < 0)
15639 long i = longval ();
15640 if (i != ((long) (sizeof (long long))))
15642 fprintf (f, "%ld\n", i);
15646 unsigned long i = ulongval ();
15647 if (i != ((long) (sizeof (long long))))
15649 fprintf (f, "%lu\n", i);
15651 exit (ferror (f) || fclose (f) != 0);
15657 rm -f conftest
$ac_exeext
15658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15659 (eval $ac_link) 2>&5
15661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15664 (eval $ac_try) 2>&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); }; }; then
15668 ac_cv_sizeof_long_long
=`cat conftest.val`
15670 echo "$as_me: program exited with status $ac_status" >&5
15671 echo "$as_me: failed program was:" >&5
15672 sed 's/^/| /' conftest.
$ac_ext >&5
15674 ( exit $ac_status )
15675 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15676 See \`config.log' for more details." >&5
15677 echo "$as_me: error: cannot compute sizeof (long long), 77
15678 See \`config.log' for more details." >&2;}
15679 { (exit 1); exit 1; }; }
15681 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15686 ac_cv_sizeof_long_long
=0
15689 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15690 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15691 cat >>confdefs.h
<<_ACEOF
15692 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15698 echo "$as_me:$LINENO: checking for long long" >&5
15699 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15700 if test "${ac_cv_type_long_long+set}" = set; then
15701 echo $ECHO_N "(cached) $ECHO_C" >&6
15703 cat >conftest.
$ac_ext <<_ACEOF
15704 #line $LINENO "configure"
15707 cat confdefs.h
>>conftest.
$ac_ext
15708 cat >>conftest.
$ac_ext <<_ACEOF
15709 /* end confdefs.h. */
15710 $ac_includes_default
15714 if ((long long *) 0)
15716 if (sizeof (long long))
15722 rm -f conftest.
$ac_objext
15723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15724 (eval $ac_compile) 2>&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } &&
15728 { ac_try
='test -s conftest.$ac_objext'
15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730 (eval $ac_try) 2>&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); }; }; then
15734 ac_cv_type_long_long
=yes
15736 echo "$as_me: failed program was:" >&5
15737 sed 's/^/| /' conftest.
$ac_ext >&5
15739 ac_cv_type_long_long
=no
15741 rm -f conftest.
$ac_objext conftest.
$ac_ext
15743 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15744 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15746 echo "$as_me:$LINENO: checking size of long long" >&5
15747 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15748 if test "${ac_cv_sizeof_long_long+set}" = set; then
15749 echo $ECHO_N "(cached) $ECHO_C" >&6
15751 if test "$ac_cv_type_long_long" = yes; then
15752 # The cast to unsigned long works around a bug in the HP C Compiler
15753 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15754 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15755 # This bug is HP SR number 8606223364.
15756 if test "$cross_compiling" = yes; then
15757 # Depending upon the size, compute the lo and hi bounds.
15758 cat >conftest.
$ac_ext <<_ACEOF
15759 #line $LINENO "configure"
15762 cat confdefs.h
>>conftest.
$ac_ext
15763 cat >>conftest.
$ac_ext <<_ACEOF
15764 /* end confdefs.h. */
15765 $ac_includes_default
15769 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15776 rm -f conftest.
$ac_objext
15777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15778 (eval $ac_compile) 2>&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); } &&
15782 { ac_try
='test -s conftest.$ac_objext'
15783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15784 (eval $ac_try) 2>&5
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); }; }; then
15790 cat >conftest.
$ac_ext <<_ACEOF
15791 #line $LINENO "configure"
15794 cat confdefs.h
>>conftest.
$ac_ext
15795 cat >>conftest.
$ac_ext <<_ACEOF
15796 /* end confdefs.h. */
15797 $ac_includes_default
15801 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15808 rm -f conftest.
$ac_objext
15809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15810 (eval $ac_compile) 2>&5
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); } &&
15814 { ac_try
='test -s conftest.$ac_objext'
15815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15816 (eval $ac_try) 2>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); }; }; then
15820 ac_hi
=$ac_mid; break
15822 echo "$as_me: failed program was:" >&5
15823 sed 's/^/| /' conftest.
$ac_ext >&5
15825 ac_lo
=`expr $ac_mid + 1`
15826 if test $ac_lo -le $ac_mid; then
15830 ac_mid
=`expr 2 '*' $ac_mid + 1`
15832 rm -f conftest.
$ac_objext conftest.
$ac_ext
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.
$ac_ext >&5
15838 cat >conftest.
$ac_ext <<_ACEOF
15839 #line $LINENO "configure"
15842 cat confdefs.h
>>conftest.
$ac_ext
15843 cat >>conftest.
$ac_ext <<_ACEOF
15844 /* end confdefs.h. */
15845 $ac_includes_default
15849 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15856 rm -f conftest.
$ac_objext
15857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15858 (eval $ac_compile) 2>&5
15860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861 (exit $ac_status); } &&
15862 { ac_try
='test -s conftest.$ac_objext'
15863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15864 (eval $ac_try) 2>&5
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); }; }; then
15870 cat >conftest.
$ac_ext <<_ACEOF
15871 #line $LINENO "configure"
15874 cat confdefs.h
>>conftest.
$ac_ext
15875 cat >>conftest.
$ac_ext <<_ACEOF
15876 /* end confdefs.h. */
15877 $ac_includes_default
15881 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15888 rm -f conftest.
$ac_objext
15889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15890 (eval $ac_compile) 2>&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } &&
15894 { ac_try
='test -s conftest.$ac_objext'
15895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896 (eval $ac_try) 2>&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); }; }; then
15900 ac_lo
=$ac_mid; break
15902 echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.
$ac_ext >&5
15905 ac_hi
=`expr '(' $ac_mid ')' - 1`
15906 if test $ac_mid -le $ac_hi; then
15910 ac_mid
=`expr 2 '*' $ac_mid`
15912 rm -f conftest.
$ac_objext conftest.
$ac_ext
15915 echo "$as_me: failed program was:" >&5
15916 sed 's/^/| /' conftest.
$ac_ext >&5
15920 rm -f conftest.
$ac_objext conftest.
$ac_ext
15922 rm -f conftest.
$ac_objext conftest.
$ac_ext
15923 # Binary search between lo and hi bounds.
15924 while test "x$ac_lo" != "x$ac_hi"; do
15925 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15926 cat >conftest.
$ac_ext <<_ACEOF
15927 #line $LINENO "configure"
15930 cat confdefs.h
>>conftest.
$ac_ext
15931 cat >>conftest.
$ac_ext <<_ACEOF
15932 /* end confdefs.h. */
15933 $ac_includes_default
15937 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15944 rm -f conftest.
$ac_objext
15945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15946 (eval $ac_compile) 2>&5
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); } &&
15950 { ac_try
='test -s conftest.$ac_objext'
15951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15952 (eval $ac_try) 2>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; }; then
15958 echo "$as_me: failed program was:" >&5
15959 sed 's/^/| /' conftest.
$ac_ext >&5
15961 ac_lo
=`expr '(' $ac_mid ')' + 1`
15963 rm -f conftest.
$ac_objext conftest.
$ac_ext
15966 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15967 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15968 See \`config.log' for more details." >&5
15969 echo "$as_me: error: cannot compute sizeof (long long), 77
15970 See \`config.log' for more details." >&2;}
15971 { (exit 1); exit 1; }; } ;;
15974 if test "$cross_compiling" = yes; then
15975 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15976 See \`config.log' for more details." >&5
15977 echo "$as_me: error: cannot run test program while cross compiling
15978 See \`config.log' for more details." >&2;}
15979 { (exit 1); exit 1; }; }
15981 cat >conftest.
$ac_ext <<_ACEOF
15982 #line $LINENO "configure"
15985 cat confdefs.h
>>conftest.
$ac_ext
15986 cat >>conftest.
$ac_ext <<_ACEOF
15987 /* end confdefs.h. */
15988 $ac_includes_default
15989 long longval () { return (long) (sizeof (long long)); }
15990 unsigned long ulongval () { return (long) (sizeof (long long)); }
15992 #include <stdlib.h>
15997 FILE *f = fopen ("conftest.val", "w");
16000 if (((long) (sizeof (long long))) < 0)
16002 long i = longval ();
16003 if (i != ((long) (sizeof (long long))))
16005 fprintf (f, "%ld\n", i);
16009 unsigned long i = ulongval ();
16010 if (i != ((long) (sizeof (long long))))
16012 fprintf (f, "%lu\n", i);
16014 exit (ferror (f) || fclose (f) != 0);
16020 rm -f conftest
$ac_exeext
16021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16022 (eval $ac_link) 2>&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16027 (eval $ac_try) 2>&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); }; }; then
16031 ac_cv_sizeof_long_long
=`cat conftest.val`
16033 echo "$as_me: program exited with status $ac_status" >&5
16034 echo "$as_me: failed program was:" >&5
16035 sed 's/^/| /' conftest.
$ac_ext >&5
16037 ( exit $ac_status )
16038 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16039 See \`config.log' for more details." >&5
16040 echo "$as_me: error: cannot compute sizeof (long long), 77
16041 See \`config.log' for more details." >&2;}
16042 { (exit 1); exit 1; }; }
16044 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16049 ac_cv_sizeof_long_long
=0
16052 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16053 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16054 cat >>confdefs.h
<<_ACEOF
16055 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16059 if test "$ac_cv_sizeof_long_long" != "0"; then
16060 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16064 echo "$as_me:$LINENO: checking for long long" >&5
16065 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16066 if test "${ac_cv_type_long_long+set}" = set; then
16067 echo $ECHO_N "(cached) $ECHO_C" >&6
16069 cat >conftest.
$ac_ext <<_ACEOF
16070 #line $LINENO "configure"
16073 cat confdefs.h
>>conftest.
$ac_ext
16074 cat >>conftest.
$ac_ext <<_ACEOF
16075 /* end confdefs.h. */
16076 $ac_includes_default
16080 if ((long long *) 0)
16082 if (sizeof (long long))
16088 rm -f conftest.
$ac_objext
16089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16090 (eval $ac_compile) 2>&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); } &&
16094 { ac_try
='test -s conftest.$ac_objext'
16095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16096 (eval $ac_try) 2>&5
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); }; }; then
16100 ac_cv_type_long_long
=yes
16102 echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.
$ac_ext >&5
16105 ac_cv_type_long_long
=no
16107 rm -f conftest.
$ac_objext conftest.
$ac_ext
16109 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16110 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16112 echo "$as_me:$LINENO: checking size of long long" >&5
16113 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16114 if test "${ac_cv_sizeof_long_long+set}" = set; then
16115 echo $ECHO_N "(cached) $ECHO_C" >&6
16117 if test "$ac_cv_type_long_long" = yes; then
16118 # The cast to unsigned long works around a bug in the HP C Compiler
16119 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16120 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16121 # This bug is HP SR number 8606223364.
16122 if test "$cross_compiling" = yes; then
16123 # Depending upon the size, compute the lo and hi bounds.
16124 cat >conftest.
$ac_ext <<_ACEOF
16125 #line $LINENO "configure"
16128 cat confdefs.h
>>conftest.
$ac_ext
16129 cat >>conftest.
$ac_ext <<_ACEOF
16130 /* end confdefs.h. */
16131 $ac_includes_default
16135 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16142 rm -f conftest.
$ac_objext
16143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16144 (eval $ac_compile) 2>&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } &&
16148 { ac_try
='test -s conftest.$ac_objext'
16149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16150 (eval $ac_try) 2>&5
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); }; }; then
16156 cat >conftest.
$ac_ext <<_ACEOF
16157 #line $LINENO "configure"
16160 cat confdefs.h
>>conftest.
$ac_ext
16161 cat >>conftest.
$ac_ext <<_ACEOF
16162 /* end confdefs.h. */
16163 $ac_includes_default
16167 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16174 rm -f conftest.
$ac_objext
16175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16176 (eval $ac_compile) 2>&5
16178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 (exit $ac_status); } &&
16180 { ac_try
='test -s conftest.$ac_objext'
16181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16182 (eval $ac_try) 2>&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); }; }; then
16186 ac_hi
=$ac_mid; break
16188 echo "$as_me: failed program was:" >&5
16189 sed 's/^/| /' conftest.
$ac_ext >&5
16191 ac_lo
=`expr $ac_mid + 1`
16192 if test $ac_lo -le $ac_mid; then
16196 ac_mid
=`expr 2 '*' $ac_mid + 1`
16198 rm -f conftest.
$ac_objext conftest.
$ac_ext
16201 echo "$as_me: failed program was:" >&5
16202 sed 's/^/| /' conftest.
$ac_ext >&5
16204 cat >conftest.
$ac_ext <<_ACEOF
16205 #line $LINENO "configure"
16208 cat confdefs.h
>>conftest.
$ac_ext
16209 cat >>conftest.
$ac_ext <<_ACEOF
16210 /* end confdefs.h. */
16211 $ac_includes_default
16215 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16222 rm -f conftest.
$ac_objext
16223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16224 (eval $ac_compile) 2>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); } &&
16228 { ac_try
='test -s conftest.$ac_objext'
16229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16230 (eval $ac_try) 2>&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); }; }; then
16236 cat >conftest.
$ac_ext <<_ACEOF
16237 #line $LINENO "configure"
16240 cat confdefs.h
>>conftest.
$ac_ext
16241 cat >>conftest.
$ac_ext <<_ACEOF
16242 /* end confdefs.h. */
16243 $ac_includes_default
16247 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16254 rm -f conftest.
$ac_objext
16255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16256 (eval $ac_compile) 2>&5
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); } &&
16260 { ac_try
='test -s conftest.$ac_objext'
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_lo
=$ac_mid; break
16268 echo "$as_me: failed program was:" >&5
16269 sed 's/^/| /' conftest.
$ac_ext >&5
16271 ac_hi
=`expr '(' $ac_mid ')' - 1`
16272 if test $ac_mid -le $ac_hi; then
16276 ac_mid
=`expr 2 '*' $ac_mid`
16278 rm -f conftest.
$ac_objext conftest.
$ac_ext
16281 echo "$as_me: failed program was:" >&5
16282 sed 's/^/| /' conftest.
$ac_ext >&5
16286 rm -f conftest.
$ac_objext conftest.
$ac_ext
16288 rm -f conftest.
$ac_objext conftest.
$ac_ext
16289 # Binary search between lo and hi bounds.
16290 while test "x$ac_lo" != "x$ac_hi"; do
16291 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16292 cat >conftest.
$ac_ext <<_ACEOF
16293 #line $LINENO "configure"
16296 cat confdefs.h
>>conftest.
$ac_ext
16297 cat >>conftest.
$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16299 $ac_includes_default
16303 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16310 rm -f conftest.
$ac_objext
16311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16312 (eval $ac_compile) 2>&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); } &&
16316 { ac_try
='test -s conftest.$ac_objext'
16317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16318 (eval $ac_try) 2>&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); }; }; then
16324 echo "$as_me: failed program was:" >&5
16325 sed 's/^/| /' conftest.
$ac_ext >&5
16327 ac_lo
=`expr '(' $ac_mid ')' + 1`
16329 rm -f conftest.
$ac_objext conftest.
$ac_ext
16332 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16333 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16334 See \`config.log' for more details." >&5
16335 echo "$as_me: error: cannot compute sizeof (long long), 77
16336 See \`config.log' for more details." >&2;}
16337 { (exit 1); exit 1; }; } ;;
16340 if test "$cross_compiling" = yes; then
16341 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16342 See \`config.log' for more details." >&5
16343 echo "$as_me: error: cannot run test program while cross compiling
16344 See \`config.log' for more details." >&2;}
16345 { (exit 1); exit 1; }; }
16347 cat >conftest.
$ac_ext <<_ACEOF
16348 #line $LINENO "configure"
16351 cat confdefs.h
>>conftest.
$ac_ext
16352 cat >>conftest.
$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16354 $ac_includes_default
16355 long longval () { return (long) (sizeof (long long)); }
16356 unsigned long ulongval () { return (long) (sizeof (long long)); }
16358 #include <stdlib.h>
16363 FILE *f = fopen ("conftest.val", "w");
16366 if (((long) (sizeof (long long))) < 0)
16368 long i = longval ();
16369 if (i != ((long) (sizeof (long long))))
16371 fprintf (f, "%ld\n", i);
16375 unsigned long i = ulongval ();
16376 if (i != ((long) (sizeof (long long))))
16378 fprintf (f, "%lu\n", i);
16380 exit (ferror (f) || fclose (f) != 0);
16386 rm -f conftest
$ac_exeext
16387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16388 (eval $ac_link) 2>&5
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16393 (eval $ac_try) 2>&5
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); }; }; then
16397 ac_cv_sizeof_long_long
=`cat conftest.val`
16399 echo "$as_me: program exited with status $ac_status" >&5
16400 echo "$as_me: failed program was:" >&5
16401 sed 's/^/| /' conftest.
$ac_ext >&5
16403 ( exit $ac_status )
16404 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16405 See \`config.log' for more details." >&5
16406 echo "$as_me: error: cannot compute sizeof (long long), 77
16407 See \`config.log' for more details." >&2;}
16408 { (exit 1); exit 1; }; }
16410 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16415 ac_cv_sizeof_long_long
=0
16418 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16419 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16420 cat >>confdefs.h
<<_ACEOF
16421 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16427 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16428 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16429 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16430 echo $ECHO_N "(cached) $ECHO_C" >&6
16433 if test "$cross_compiling" = yes; then
16437 wx_cv_sizeof_wchar_t
=0
16440 wx_cv_sizeof_wchar_t
=4
16446 cat >conftest.
$ac_ext <<_ACEOF
16447 #line $LINENO "configure"
16450 cat confdefs.h
>>conftest.
$ac_ext
16451 cat >>conftest.
$ac_ext <<_ACEOF
16452 /* end confdefs.h. */
16454 /* DJGPP only has fake wchar_t: */
16456 # error "fake wchar_t"
16458 #ifdef HAVE_WCHAR_H
16460 # include <stddef.h>
16462 # include <wchar.h>
16464 #ifdef HAVE_STDLIB_H
16465 # include <stdlib.h>
16470 FILE *f=fopen("conftestval", "w");
16472 fprintf(f, "%i", sizeof(wchar_t));
16477 rm -f conftest
$ac_exeext
16478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16479 (eval $ac_link) 2>&5
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16484 (eval $ac_try) 2>&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); }; }; then
16488 wx_cv_sizeof_wchar_t
=`cat conftestval`
16490 echo "$as_me: program exited with status $ac_status" >&5
16491 echo "$as_me: failed program was:" >&5
16492 sed 's/^/| /' conftest.
$ac_ext >&5
16494 ( exit $ac_status )
16495 wx_cv_sizeof_wchar_t
=0
16497 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16501 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16502 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16504 cat >>confdefs.h
<<_ACEOF
16505 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16509 # Check whether --enable-largefile or --disable-largefile was given.
16510 if test "${enable_largefile+set}" = set; then
16511 enableval
="$enable_largefile"
16514 if test "$enable_largefile" != no
; then
16517 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16518 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16519 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16520 echo $ECHO_N "(cached) $ECHO_C" >&6
16523 cat >conftest.
$ac_ext <<_ACEOF
16524 #line $LINENO "configure"
16527 cat confdefs.h
>>conftest.
$ac_ext
16528 cat >>conftest.
$ac_ext <<_ACEOF
16529 /* end confdefs.h. */
16530 #define _FILE_OFFSET_BITS 64
16531 #include <sys/types.h>
16536 unsigned int field: sizeof(off_t) == 8;
16543 rm -f conftest.
$ac_objext
16544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16545 (eval $ac_compile) 2>&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); } &&
16549 { ac_try
='test -s conftest.$ac_objext'
16550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16551 (eval $ac_try) 2>&5
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); }; }; then
16555 ac_cv_sys_file_offset_bits
=64
16557 echo "$as_me: failed program was:" >&5
16558 sed 's/^/| /' conftest.
$ac_ext >&5
16560 ac_cv_sys_file_offset_bits
=no
16562 rm -f conftest.
$ac_objext conftest.
$ac_ext
16566 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16567 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16569 if test "$ac_cv_sys_file_offset_bits" != no
; then
16571 cat >>confdefs.h
<<_ACEOF
16572 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16577 if test "x$wx_largefile" != "xyes"; then
16579 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16580 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16581 if test "${ac_cv_sys_large_files+set}" = set; then
16582 echo $ECHO_N "(cached) $ECHO_C" >&6
16585 cat >conftest.
$ac_ext <<_ACEOF
16586 #line $LINENO "configure"
16589 cat confdefs.h
>>conftest.
$ac_ext
16590 cat >>conftest.
$ac_ext <<_ACEOF
16591 /* end confdefs.h. */
16592 #define _LARGE_FILES 1
16593 #include <sys/types.h>
16598 unsigned int field: sizeof(off_t) == 8;
16605 rm -f conftest.
$ac_objext
16606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16607 (eval $ac_compile) 2>&5
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); } &&
16611 { ac_try
='test -s conftest.$ac_objext'
16612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16613 (eval $ac_try) 2>&5
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); }; }; then
16617 ac_cv_sys_large_files
=1
16619 echo "$as_me: failed program was:" >&5
16620 sed 's/^/| /' conftest.
$ac_ext >&5
16622 ac_cv_sys_large_files
=no
16624 rm -f conftest.
$ac_objext conftest.
$ac_ext
16628 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16629 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16631 if test "$ac_cv_sys_large_files" != no
; then
16633 cat >>confdefs.h
<<_ACEOF
16634 #define _LARGE_FILES $ac_cv_sys_large_files
16641 echo "$as_me:$LINENO: checking if large file support is available" >&5
16642 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16643 if test "x$wx_largefile" = "xyes"; then
16644 cat >>confdefs.h
<<\_ACEOF
16645 #define HAVE_LARGEFILE_SUPPORT 1
16649 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16650 echo "${ECHO_T}$wx_largefile" >&6
16654 if test "x$wx_largefile" = "xyes"; then
16655 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16656 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16658 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16660 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16663 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16664 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16665 if test "${ac_cv_c_bigendian+set}" = set; then
16666 echo $ECHO_N "(cached) $ECHO_C" >&6
16668 ac_cv_c_bigendian
=unknown
16669 # See if sys/param.h defines the BYTE_ORDER macro.
16670 cat >conftest.
$ac_ext <<_ACEOF
16671 #line $LINENO "configure"
16674 cat confdefs.h
>>conftest.
$ac_ext
16675 cat >>conftest.
$ac_ext <<_ACEOF
16676 /* end confdefs.h. */
16677 #include <sys/types.h>
16678 #include <sys/param.h>
16683 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16684 bogus endian macros
16690 rm -f conftest.
$ac_objext
16691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16692 (eval $ac_compile) 2>&5
16694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695 (exit $ac_status); } &&
16696 { ac_try
='test -s conftest.$ac_objext'
16697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16698 (eval $ac_try) 2>&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); }; }; then
16702 # It does; now see whether it defined to BIG_ENDIAN or not.
16703 cat >conftest.
$ac_ext <<_ACEOF
16704 #line $LINENO "configure"
16707 cat confdefs.h
>>conftest.
$ac_ext
16708 cat >>conftest.
$ac_ext <<_ACEOF
16709 /* end confdefs.h. */
16710 #include <sys/types.h>
16711 #include <sys/param.h>
16716 #if BYTE_ORDER != BIG_ENDIAN
16723 rm -f conftest.
$ac_objext
16724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16725 (eval $ac_compile) 2>&5
16727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728 (exit $ac_status); } &&
16729 { ac_try
='test -s conftest.$ac_objext'
16730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16731 (eval $ac_try) 2>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); }; }; then
16735 ac_cv_c_bigendian
=yes
16737 echo "$as_me: failed program was:" >&5
16738 sed 's/^/| /' conftest.
$ac_ext >&5
16740 ac_cv_c_bigendian
=no
16742 rm -f conftest.
$ac_objext conftest.
$ac_ext
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.
$ac_ext >&5
16748 rm -f conftest.
$ac_objext conftest.
$ac_ext
16749 if test $ac_cv_c_bigendian = unknown
; then
16750 if test "$cross_compiling" = yes; then
16751 ac_cv_c_bigendian
=unknown
16753 cat >conftest.
$ac_ext <<_ACEOF
16754 #line $LINENO "configure"
16757 cat confdefs.h
>>conftest.
$ac_ext
16758 cat >>conftest.
$ac_ext <<_ACEOF
16759 /* end confdefs.h. */
16761 /* Are we little or big endian? From Harbison&Steele. */
16765 char c[sizeof (long)];
16768 exit (u.c[sizeof (long) - 1] == 1);
16771 rm -f conftest
$ac_exeext
16772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16773 (eval $ac_link) 2>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16778 (eval $ac_try) 2>&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); }; }; then
16782 ac_cv_c_bigendian
=no
16784 echo "$as_me: program exited with status $ac_status" >&5
16785 echo "$as_me: failed program was:" >&5
16786 sed 's/^/| /' conftest.
$ac_ext >&5
16788 ( exit $ac_status )
16789 ac_cv_c_bigendian
=yes
16791 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16795 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16796 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16797 if test $ac_cv_c_bigendian = unknown
; then
16798 { 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
16799 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;}
16801 if test $ac_cv_c_bigendian = yes; then
16802 cat >>confdefs.h
<<\_ACEOF
16803 #define WORDS_BIGENDIAN 1
16811 ac_cpp
='$CXXCPP $CPPFLAGS'
16812 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16813 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16814 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16815 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16816 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16817 if test -z "$CXXCPP"; then
16818 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16819 echo $ECHO_N "(cached) $ECHO_C" >&6
16821 # Double quotes because CXXCPP needs to be expanded
16822 for CXXCPP
in "$CXX -E" "/lib/cpp"
16824 ac_preproc_ok
=false
16825 for ac_cxx_preproc_warn_flag
in '' yes
16827 # Use a header file that comes with gcc, so configuring glibc
16828 # with a fresh cross-compiler works.
16829 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16830 # <limits.h> exists even on freestanding compilers.
16831 # On the NeXT, cc -E runs the code through the compiler's parser,
16832 # not just through cpp. "Syntax error" is here to catch this case.
16833 cat >conftest.
$ac_ext <<_ACEOF
16834 #line $LINENO "configure"
16837 cat confdefs.h
>>conftest.
$ac_ext
16838 cat >>conftest.
$ac_ext <<_ACEOF
16839 /* end confdefs.h. */
16841 # include <limits.h>
16843 # include <assert.h>
16847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16848 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16850 grep -v '^ *+' conftest.er1
>conftest.err
16852 cat conftest.err
>&5
16853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854 (exit $ac_status); } >/dev
/null
; then
16855 if test -s conftest.err
; then
16856 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16863 if test -z "$ac_cpp_err"; then
16866 echo "$as_me: failed program was:" >&5
16867 sed 's/^/| /' conftest.
$ac_ext >&5
16869 # Broken: fails on valid input.
16872 rm -f conftest.err conftest.
$ac_ext
16874 # OK, works on sane cases. Now check whether non-existent headers
16875 # can be detected and how.
16876 cat >conftest.
$ac_ext <<_ACEOF
16877 #line $LINENO "configure"
16880 cat confdefs.h
>>conftest.
$ac_ext
16881 cat >>conftest.
$ac_ext <<_ACEOF
16882 /* end confdefs.h. */
16883 #include <ac_nonexistent.h>
16885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16886 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16888 grep -v '^ *+' conftest.er1
>conftest.err
16890 cat conftest.err
>&5
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); } >/dev
/null
; then
16893 if test -s conftest.err
; then
16894 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16901 if test -z "$ac_cpp_err"; then
16902 # Broken: success on invalid input.
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.
$ac_ext >&5
16908 # Passes both tests.
16912 rm -f conftest.err conftest.
$ac_ext
16915 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16916 rm -f conftest.err conftest.
$ac_ext
16917 if $ac_preproc_ok; then
16922 ac_cv_prog_CXXCPP
=$CXXCPP
16925 CXXCPP
=$ac_cv_prog_CXXCPP
16927 ac_cv_prog_CXXCPP
=$CXXCPP
16929 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16930 echo "${ECHO_T}$CXXCPP" >&6
16931 ac_preproc_ok
=false
16932 for ac_cxx_preproc_warn_flag
in '' yes
16934 # Use a header file that comes with gcc, so configuring glibc
16935 # with a fresh cross-compiler works.
16936 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16937 # <limits.h> exists even on freestanding compilers.
16938 # On the NeXT, cc -E runs the code through the compiler's parser,
16939 # not just through cpp. "Syntax error" is here to catch this case.
16940 cat >conftest.
$ac_ext <<_ACEOF
16941 #line $LINENO "configure"
16944 cat confdefs.h
>>conftest.
$ac_ext
16945 cat >>conftest.
$ac_ext <<_ACEOF
16946 /* end confdefs.h. */
16948 # include <limits.h>
16950 # include <assert.h>
16954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16955 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16957 grep -v '^ *+' conftest.er1
>conftest.err
16959 cat conftest.err
>&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); } >/dev
/null
; then
16962 if test -s conftest.err
; then
16963 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16970 if test -z "$ac_cpp_err"; then
16973 echo "$as_me: failed program was:" >&5
16974 sed 's/^/| /' conftest.
$ac_ext >&5
16976 # Broken: fails on valid input.
16979 rm -f conftest.err conftest.
$ac_ext
16981 # OK, works on sane cases. Now check whether non-existent headers
16982 # can be detected and how.
16983 cat >conftest.
$ac_ext <<_ACEOF
16984 #line $LINENO "configure"
16987 cat confdefs.h
>>conftest.
$ac_ext
16988 cat >>conftest.
$ac_ext <<_ACEOF
16989 /* end confdefs.h. */
16990 #include <ac_nonexistent.h>
16992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16993 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16995 grep -v '^ *+' conftest.er1
>conftest.err
16997 cat conftest.err
>&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); } >/dev
/null
; then
17000 if test -s conftest.err
; then
17001 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17008 if test -z "$ac_cpp_err"; then
17009 # Broken: success on invalid input.
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.
$ac_ext >&5
17015 # Passes both tests.
17019 rm -f conftest.err conftest.
$ac_ext
17022 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17023 rm -f conftest.err conftest.
$ac_ext
17024 if $ac_preproc_ok; then
17027 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17028 See \`config.log' for more details." >&5
17029 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17030 See \`config.log' for more details." >&2;}
17031 { (exit 1); exit 1; }; }
17035 ac_cpp
='$CXXCPP $CPPFLAGS'
17036 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17037 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17038 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17042 if test "$cross_compiling" = "yes"; then
17043 cat >>confdefs.h
<<\_ACEOF
17044 #define wxUSE_IOSTREAMH 1
17051 ac_cpp
='$CXXCPP $CPPFLAGS'
17052 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17053 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17054 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17058 for ac_header
in iostream
17060 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17062 echo "$as_me:$LINENO: checking for $ac_header" >&5
17063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17065 echo $ECHO_N "(cached) $ECHO_C" >&6
17067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17070 # Is the header compilable?
17071 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17072 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17073 cat >conftest.
$ac_ext <<_ACEOF
17074 #line $LINENO "configure"
17077 cat confdefs.h
>>conftest.
$ac_ext
17078 cat >>conftest.
$ac_ext <<_ACEOF
17079 /* end confdefs.h. */
17080 $ac_includes_default
17081 #include <$ac_header>
17083 rm -f conftest.
$ac_objext
17084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17085 (eval $ac_compile) 2>&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); } &&
17089 { ac_try
='test -s conftest.$ac_objext'
17090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17091 (eval $ac_try) 2>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); }; }; then
17095 ac_header_compiler
=yes
17097 echo "$as_me: failed program was:" >&5
17098 sed 's/^/| /' conftest.
$ac_ext >&5
17100 ac_header_compiler
=no
17102 rm -f conftest.
$ac_objext conftest.
$ac_ext
17103 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17104 echo "${ECHO_T}$ac_header_compiler" >&6
17106 # Is the header present?
17107 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17108 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17109 cat >conftest.
$ac_ext <<_ACEOF
17110 #line $LINENO "configure"
17113 cat confdefs.h
>>conftest.
$ac_ext
17114 cat >>conftest.
$ac_ext <<_ACEOF
17115 /* end confdefs.h. */
17116 #include <$ac_header>
17118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17119 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17121 grep -v '^ *+' conftest.er1
>conftest.err
17123 cat conftest.err
>&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); } >/dev
/null
; then
17126 if test -s conftest.err
; then
17127 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17134 if test -z "$ac_cpp_err"; then
17135 ac_header_preproc
=yes
17137 echo "$as_me: failed program was:" >&5
17138 sed 's/^/| /' conftest.
$ac_ext >&5
17140 ac_header_preproc
=no
17142 rm -f conftest.err conftest.
$ac_ext
17143 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17144 echo "${ECHO_T}$ac_header_preproc" >&6
17146 # So? What about this header?
17147 case $ac_header_compiler:$ac_header_preproc in
17149 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17150 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17155 ## ------------------------------------ ##
17156 ## Report this to bug-autoconf@gnu.org. ##
17157 ## ------------------------------------ ##
17160 sed "s/^/$as_me: WARNING: /" >&2
17163 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17164 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17165 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17166 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17171 ## ------------------------------------ ##
17172 ## Report this to bug-autoconf@gnu.org. ##
17173 ## ------------------------------------ ##
17176 sed "s/^/$as_me: WARNING: /" >&2
17179 echo "$as_me:$LINENO: checking for $ac_header" >&5
17180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17182 echo $ECHO_N "(cached) $ECHO_C" >&6
17184 eval "$as_ac_Header=$ac_header_preproc"
17186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17191 cat >>confdefs.h
<<_ACEOF
17192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17200 if test "$ac_cv_header_iostream" = "yes" ; then
17203 cat >>confdefs.h
<<\_ACEOF
17204 #define wxUSE_IOSTREAMH 1
17210 ac_cpp
='$CPP $CPPFLAGS'
17211 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17212 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17213 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17219 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17220 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17221 if test "${wx_cv_cpp_bool+set}" = set; then
17222 echo $ECHO_N "(cached) $ECHO_C" >&6
17228 ac_cpp
='$CXXCPP $CPPFLAGS'
17229 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17230 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17231 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17234 cat >conftest.
$ac_ext <<_ACEOF
17235 #line $LINENO "configure"
17238 cat confdefs.h
>>conftest.
$ac_ext
17239 cat >>conftest.
$ac_ext <<_ACEOF
17240 /* end confdefs.h. */
17255 rm -f conftest.
$ac_objext
17256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17257 (eval $ac_compile) 2>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } &&
17261 { ac_try
='test -s conftest.$ac_objext'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; }; then
17271 echo "$as_me: failed program was:" >&5
17272 sed 's/^/| /' conftest.
$ac_ext >&5
17279 rm -f conftest.
$ac_objext conftest.
$ac_ext
17282 ac_cpp
='$CPP $CPPFLAGS'
17283 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17284 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17285 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17289 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17290 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17292 if test "$wx_cv_cpp_bool" = "yes"; then
17293 cat >>confdefs.h
<<\_ACEOF
17294 #define HAVE_BOOL 1
17301 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17302 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17303 if test "${wx_cv_explicit+set}" = set; then
17304 echo $ECHO_N "(cached) $ECHO_C" >&6
17310 ac_cpp
='$CXXCPP $CPPFLAGS'
17311 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17312 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17313 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17316 cat >conftest.
$ac_ext <<_ACEOF
17317 #line $LINENO "configure"
17320 cat confdefs.h
>>conftest.
$ac_ext
17321 cat >>conftest.
$ac_ext <<_ACEOF
17322 /* end confdefs.h. */
17324 class Foo { public: explicit Foo(int) {} };
17336 rm -f conftest.
$ac_objext
17337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17338 (eval $ac_compile) 2>&5
17340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341 (exit $ac_status); } &&
17342 { ac_try
='test -s conftest.$ac_objext'
17343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17344 (eval $ac_try) 2>&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); }; }; then
17349 cat >conftest.
$ac_ext <<_ACEOF
17350 #line $LINENO "configure"
17353 cat confdefs.h
>>conftest.
$ac_ext
17354 cat >>conftest.
$ac_ext <<_ACEOF
17355 /* end confdefs.h. */
17357 class Foo { public: explicit Foo(int) {} };
17358 static void TakeFoo(const Foo& foo) { }
17371 rm -f conftest.
$ac_objext
17372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17373 (eval $ac_compile) 2>&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); } &&
17377 { ac_try
='test -s conftest.$ac_objext'
17378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379 (eval $ac_try) 2>&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); }; }; then
17385 echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.
$ac_ext >&5
17391 rm -f conftest.
$ac_objext conftest.
$ac_ext
17394 echo "$as_me: failed program was:" >&5
17395 sed 's/^/| /' conftest.
$ac_ext >&5
17400 rm -f conftest.
$ac_objext conftest.
$ac_ext
17403 ac_cpp
='$CPP $CPPFLAGS'
17404 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17405 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17406 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17410 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17411 echo "${ECHO_T}$wx_cv_explicit" >&6
17413 if test "$wx_cv_explicit" = "yes"; then
17414 cat >>confdefs.h
<<\_ACEOF
17415 #define HAVE_EXPLICIT 1
17421 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17422 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17423 if test "${ac_cv_cxx_const_cast+set}" = set; then
17424 echo $ECHO_N "(cached) $ECHO_C" >&6
17429 ac_cpp
='$CXXCPP $CPPFLAGS'
17430 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17431 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17432 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17434 cat >conftest.
$ac_ext <<_ACEOF
17435 #line $LINENO "configure"
17438 cat confdefs.h
>>conftest.
$ac_ext
17439 cat >>conftest.
$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17445 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17450 rm -f conftest.
$ac_objext
17451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17452 (eval $ac_compile) 2>&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } &&
17456 { ac_try
='test -s conftest.$ac_objext'
17457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458 (eval $ac_try) 2>&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); }; }; then
17462 ac_cv_cxx_const_cast
=yes
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.
$ac_ext >&5
17467 ac_cv_cxx_const_cast
=no
17469 rm -f conftest.
$ac_objext conftest.
$ac_ext
17471 ac_cpp
='$CPP $CPPFLAGS'
17472 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17473 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17474 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17478 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17479 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17480 if test "$ac_cv_cxx_const_cast" = yes; then
17482 cat >>confdefs.h
<<\_ACEOF
17483 #define HAVE_CONST_CAST
17489 if test "$wxUSE_STL" = "yes"; then
17491 ac_cpp
='$CXXCPP $CPPFLAGS'
17492 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17493 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17494 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17497 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17498 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17499 cat >conftest.
$ac_ext <<_ACEOF
17500 #line $LINENO "configure"
17503 cat confdefs.h
>>conftest.
$ac_ext
17504 cat >>conftest.
$ac_ext <<_ACEOF
17505 /* end confdefs.h. */
17507 #include <functional>
17508 #include <algorithm>
17514 std::vector<int> moo;
17515 std::list<int> foo;
17516 std::vector<int>::iterator it =
17517 std::find_if(moo.begin(), moo.end(),
17518 std::bind2nd(std::less<int>(), 3));
17523 rm -f conftest.
$ac_objext
17524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17525 (eval $ac_compile) 2>&5
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); } &&
17529 { ac_try
='test -s conftest.$ac_objext'
17530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17531 (eval $ac_try) 2>&5
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); }; }; then
17535 echo "$as_me:$LINENO: result: yes" >&5
17536 echo "${ECHO_T}yes" >&6
17538 echo "$as_me: failed program was:" >&5
17539 sed 's/^/| /' conftest.
$ac_ext >&5
17541 echo "$as_me:$LINENO: result: no" >&5
17542 echo "${ECHO_T}no" >&6
17543 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17544 echo "$as_me: error: Basic STL functionality missing" >&2;}
17545 { (exit 1); exit 1; }; }
17547 rm -f conftest.
$ac_objext conftest.
$ac_ext
17549 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17550 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
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. */
17567 rm -f conftest.
$ac_objext
17568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17569 (eval $ac_compile) 2>&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); } &&
17573 { ac_try
='test -s conftest.$ac_objext'
17574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17575 (eval $ac_try) 2>&5
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); }; }; then
17579 echo "$as_me:$LINENO: result: yes" >&5
17580 echo "${ECHO_T}yes" >&6
17581 cat >>confdefs.h
<<\_ACEOF
17582 #define HAVE_STD_WSTRING 1
17586 echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.
$ac_ext >&5
17589 echo "$as_me:$LINENO: result: no" >&5
17590 echo "${ECHO_T}no" >&6
17592 rm -f conftest.
$ac_objext conftest.
$ac_ext
17594 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17595 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17596 cat >conftest.
$ac_ext <<_ACEOF
17597 #line $LINENO "configure"
17600 cat confdefs.h
>>conftest.
$ac_ext
17601 cat >>conftest.
$ac_ext <<_ACEOF
17602 /* end confdefs.h. */
17607 std::string foo, bar;
17609 foo.compare(1, 1, bar);
17610 foo.compare(1, 1, bar, 1, 1);
17612 foo.compare(1, 1, "");
17613 foo.compare(1, 1, "", 2);
17618 rm -f conftest.
$ac_objext
17619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17620 (eval $ac_compile) 2>&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); } &&
17624 { ac_try
='test -s conftest.$ac_objext'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; }; then
17630 echo "$as_me:$LINENO: result: yes" >&5
17631 echo "${ECHO_T}yes" >&6
17632 cat >>confdefs.h
<<\_ACEOF
17633 #define HAVE_STD_STRING_COMPARE 1
17637 echo "$as_me: failed program was:" >&5
17638 sed 's/^/| /' conftest.
$ac_ext >&5
17640 echo "$as_me:$LINENO: result: no" >&5
17641 echo "${ECHO_T}no" >&6
17643 rm -f conftest.
$ac_objext conftest.
$ac_ext
17646 ac_cpp
='$CPP $CPPFLAGS'
17647 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17648 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17649 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17655 /usr/local/include \
17657 /usr/Motif-1.2/include \
17658 /usr/Motif-2.1/include \
17660 /usr/include/Motif1.2 \
17661 /opt/xpm/include/X11 \
17662 /opt/GBxpm/include/ \
17663 /opt/GBxpm/X11/include/ \
17665 /usr/Motif1.2/include \
17667 /usr/openwin/include \
17671 /usr/X11R6/include \
17672 /usr/X11R6.4/include \
17673 /usr/X11R5/include \
17674 /usr/X11R4/include \
17676 /usr/include/X11R6 \
17677 /usr/include/X11R5 \
17678 /usr/include/X11R4 \
17680 /usr/local/X11R6/include \
17681 /usr/local/X11R5/include \
17682 /usr/local/X11R4/include \
17684 /usr/local/include/X11R6 \
17685 /usr/local/include/X11R5 \
17686 /usr/local/include/X11R4 \
17690 /usr/local/X11/include \
17691 /usr/local/include/X11 \
17693 /usr/X386/include \
17694 /usr/x386/include \
17695 /usr/XFree86/include/X11 \
17697 X:/XFree86/include \
17698 X:/XFree86/include/X11 \
17701 /usr/local/include/gtk \
17702 /usr/include/glib \
17703 /usr/local/include/glib \
17706 /usr/local/include/qt \
17708 /usr/include/windows \
17709 /usr/include/wine \
17710 /usr/local/include/wine \
17712 /usr/unsupported/include \
17713 /usr/athena/include \
17714 /usr/local/x11r5/include \
17715 /usr/lpp/Xamples/include \
17717 /usr/openwin/share/include"
17719 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17722 cat >confcache
<<\_ACEOF
17723 # This file is a shell script that caches the results of configure
17724 # tests run on this system so they can be shared between configure
17725 # scripts and configure runs, see configure's option --config-cache.
17726 # It is not useful on other systems. If it contains results you don't
17727 # want to keep, you may remove or edit it.
17729 # config.status only pays attention to the cache file if you give it
17730 # the --recheck option to rerun configure.
17732 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17733 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17734 # following values.
17738 # The following way of writing the cache mishandles newlines in values,
17739 # but we know of no workaround that is simple, portable, and efficient.
17740 # So, don't put newlines in cache variables' values.
17741 # Ultrix sh set writes to stderr and can't be redirected directly,
17742 # and sets the high bit in the cache file unless we assign to the vars.
17745 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17747 # `set' does not quote correctly, so add quotes (double-quote
17748 # substitution turns \\\\ into \\, and sed turns \\ into \).
17751 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17754 # `set' quotes correctly as required by POSIX, so do not add quotes.
17756 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17763 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17765 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17767 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17768 if test -w $cache_file; then
17769 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17770 cat confcache
>$cache_file
17772 echo "not updating unwritable cache $cache_file"
17777 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17778 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17779 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17780 if test "${wx_cv_lib_glibc21+set}" = set; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17784 cat >conftest.
$ac_ext <<_ACEOF
17785 #line $LINENO "configure"
17788 cat confdefs.h
>>conftest.
$ac_ext
17789 cat >>conftest.
$ac_ext <<_ACEOF
17790 /* end confdefs.h. */
17791 #include <features.h>
17796 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17797 #error not glibc2.1
17804 rm -f conftest.
$ac_objext
17805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17806 (eval $ac_compile) 2>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); } &&
17810 { ac_try
='test -s conftest.$ac_objext'
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812 (eval $ac_try) 2>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; }; then
17817 wx_cv_lib_glibc21
=yes
17820 echo "$as_me: failed program was:" >&5
17821 sed 's/^/| /' conftest.
$ac_ext >&5
17824 wx_cv_lib_glibc21
=no
17828 rm -f conftest.
$ac_objext conftest.
$ac_ext
17831 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17832 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17833 if test "$wx_cv_lib_glibc21" = "yes"; then
17834 cat >>confdefs.h
<<\_ACEOF
17835 #define wxHAVE_GLIBC2 1
17841 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17842 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17843 cat >>confdefs.h
<<\_ACEOF
17844 #define _GNU_SOURCE 1
17853 if test "$wxUSE_REGEX" != "no"; then
17854 cat >>confdefs.h
<<\_ACEOF
17855 #define wxUSE_REGEX 1
17859 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17860 if test "${ac_cv_header_regex_h+set}" = set; then
17861 echo "$as_me:$LINENO: checking for regex.h" >&5
17862 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17863 if test "${ac_cv_header_regex_h+set}" = set; then
17864 echo $ECHO_N "(cached) $ECHO_C" >&6
17866 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17867 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17869 # Is the header compilable?
17870 echo "$as_me:$LINENO: checking regex.h usability" >&5
17871 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17872 cat >conftest.
$ac_ext <<_ACEOF
17873 #line $LINENO "configure"
17876 cat confdefs.h
>>conftest.
$ac_ext
17877 cat >>conftest.
$ac_ext <<_ACEOF
17878 /* end confdefs.h. */
17879 $ac_includes_default
17882 rm -f conftest.
$ac_objext
17883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17884 (eval $ac_compile) 2>&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); } &&
17888 { ac_try
='test -s conftest.$ac_objext'
17889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17890 (eval $ac_try) 2>&5
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); }; }; then
17894 ac_header_compiler
=yes
17896 echo "$as_me: failed program was:" >&5
17897 sed 's/^/| /' conftest.
$ac_ext >&5
17899 ac_header_compiler
=no
17901 rm -f conftest.
$ac_objext conftest.
$ac_ext
17902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17903 echo "${ECHO_T}$ac_header_compiler" >&6
17905 # Is the header present?
17906 echo "$as_me:$LINENO: checking regex.h presence" >&5
17907 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17908 cat >conftest.
$ac_ext <<_ACEOF
17909 #line $LINENO "configure"
17912 cat confdefs.h
>>conftest.
$ac_ext
17913 cat >>conftest.
$ac_ext <<_ACEOF
17914 /* end confdefs.h. */
17917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17918 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17920 grep -v '^ *+' conftest.er1
>conftest.err
17922 cat conftest.err
>&5
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); } >/dev
/null
; then
17925 if test -s conftest.err
; then
17926 ac_cpp_err
=$ac_c_preproc_warn_flag
17933 if test -z "$ac_cpp_err"; then
17934 ac_header_preproc
=yes
17936 echo "$as_me: failed program was:" >&5
17937 sed 's/^/| /' conftest.
$ac_ext >&5
17939 ac_header_preproc
=no
17941 rm -f conftest.err conftest.
$ac_ext
17942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17943 echo "${ECHO_T}$ac_header_preproc" >&6
17945 # So? What about this header?
17946 case $ac_header_compiler:$ac_header_preproc in
17948 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17949 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17950 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17951 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17954 ## ------------------------------------ ##
17955 ## Report this to bug-autoconf@gnu.org. ##
17956 ## ------------------------------------ ##
17959 sed "s/^/$as_me: WARNING: /" >&2
17962 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17963 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17964 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17965 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17966 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17967 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17970 ## ------------------------------------ ##
17971 ## Report this to bug-autoconf@gnu.org. ##
17972 ## ------------------------------------ ##
17975 sed "s/^/$as_me: WARNING: /" >&2
17978 echo "$as_me:$LINENO: checking for regex.h" >&5
17979 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17980 if test "${ac_cv_header_regex_h+set}" = set; then
17981 echo $ECHO_N "(cached) $ECHO_C" >&6
17983 ac_cv_header_regex_h
=$ac_header_preproc
17985 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17986 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17989 if test $ac_cv_header_regex_h = yes; then
17991 for ac_func
in regcomp
17993 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17994 echo "$as_me:$LINENO: checking for $ac_func" >&5
17995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17996 if eval "test \"\${$as_ac_var+set}\" = set"; then
17997 echo $ECHO_N "(cached) $ECHO_C" >&6
17999 cat >conftest.
$ac_ext <<_ACEOF
18000 #line $LINENO "configure"
18003 cat confdefs.h
>>conftest.
$ac_ext
18004 cat >>conftest.
$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18006 /* System header to define __stub macros and hopefully few prototypes,
18007 which can conflict with char $ac_func (); below.
18008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18009 <limits.h> exists even on freestanding compilers. */
18011 # include <limits.h>
18013 # include <assert.h>
18015 /* Override any gcc2 internal prototype to avoid an error. */
18020 /* We use char because int might match the return type of a gcc2
18021 builtin and then its argument prototype would still apply. */
18023 /* The GNU C library defines this for functions which it implements
18024 to always fail with ENOSYS. Some functions are actually named
18025 something starting with __ and the normal name is an alias. */
18026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18029 char (*f) () = $ac_func;
18038 return f != $ac_func;
18043 rm -f conftest.
$ac_objext conftest
$ac_exeext
18044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18045 (eval $ac_link) 2>&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); } &&
18049 { ac_try
='test -s conftest$ac_exeext'
18050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18051 (eval $ac_try) 2>&5
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); }; }; then
18055 eval "$as_ac_var=yes"
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.
$ac_ext >&5
18060 eval "$as_ac_var=no"
18062 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18066 if test `eval echo '${'$as_ac_var'}'` = yes; then
18067 cat >>confdefs.h
<<_ACEOF
18068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18078 if test "x$ac_cv_func_regcomp" != "xyes"; then
18079 if test "$wxUSE_REGEX" = "sys" ; then
18080 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18081 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18082 { (exit 1); exit 1; }; }
18084 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18085 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18086 wxUSE_REGEX
=builtin
18093 if test "$wxUSE_REGEX" = "builtin" ; then
18094 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18101 if test "$wxUSE_ZLIB" != "no" ; then
18102 cat >>confdefs.h
<<\_ACEOF
18103 #define wxUSE_ZLIB 1
18107 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18108 if test "$USE_DARWIN" = 1; then
18109 system_zlib_h_ok
="yes"
18111 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18112 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18113 if test "${ac_cv_header_zlib_h+set}" = set; then
18114 echo $ECHO_N "(cached) $ECHO_C" >&6
18116 if test "$cross_compiling" = yes; then
18117 unset ac_cv_header_zlib_h
18120 cat >conftest.
$ac_ext <<_ACEOF
18121 #line $LINENO "configure"
18124 cat confdefs.h
>>conftest.
$ac_ext
18125 cat >>conftest.
$ac_ext <<_ACEOF
18126 /* end confdefs.h. */
18133 FILE *f=fopen("conftestval", "w");
18136 ZLIB_VERSION[0] == '1' &&
18137 (ZLIB_VERSION[2] > '1' ||
18138 (ZLIB_VERSION[2] == '1' &&
18139 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18144 rm -f conftest
$ac_exeext
18145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18146 (eval $ac_link) 2>&5
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18151 (eval $ac_try) 2>&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); }; }; then
18155 ac_cv_header_zlib_h
=`cat conftestval`
18157 echo "$as_me: program exited with status $ac_status" >&5
18158 echo "$as_me: failed program was:" >&5
18159 sed 's/^/| /' conftest.
$ac_ext >&5
18161 ( exit $ac_status )
18162 ac_cv_header_zlib_h
=no
18164 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18168 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18169 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18170 if test "${ac_cv_header_zlib_h+set}" = set; then
18171 echo "$as_me:$LINENO: checking for zlib.h" >&5
18172 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18173 if test "${ac_cv_header_zlib_h+set}" = set; then
18174 echo $ECHO_N "(cached) $ECHO_C" >&6
18176 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18177 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18179 # Is the header compilable?
18180 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18181 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18182 cat >conftest.
$ac_ext <<_ACEOF
18183 #line $LINENO "configure"
18186 cat confdefs.h
>>conftest.
$ac_ext
18187 cat >>conftest.
$ac_ext <<_ACEOF
18188 /* end confdefs.h. */
18189 $ac_includes_default
18192 rm -f conftest.
$ac_objext
18193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18194 (eval $ac_compile) 2>&5
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); } &&
18198 { ac_try
='test -s conftest.$ac_objext'
18199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18200 (eval $ac_try) 2>&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); }; }; then
18204 ac_header_compiler
=yes
18206 echo "$as_me: failed program was:" >&5
18207 sed 's/^/| /' conftest.
$ac_ext >&5
18209 ac_header_compiler
=no
18211 rm -f conftest.
$ac_objext conftest.
$ac_ext
18212 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18213 echo "${ECHO_T}$ac_header_compiler" >&6
18215 # Is the header present?
18216 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18217 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18218 cat >conftest.
$ac_ext <<_ACEOF
18219 #line $LINENO "configure"
18222 cat confdefs.h
>>conftest.
$ac_ext
18223 cat >>conftest.
$ac_ext <<_ACEOF
18224 /* end confdefs.h. */
18227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18228 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18230 grep -v '^ *+' conftest.er1
>conftest.err
18232 cat conftest.err
>&5
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); } >/dev
/null
; then
18235 if test -s conftest.err
; then
18236 ac_cpp_err
=$ac_c_preproc_warn_flag
18243 if test -z "$ac_cpp_err"; then
18244 ac_header_preproc
=yes
18246 echo "$as_me: failed program was:" >&5
18247 sed 's/^/| /' conftest.
$ac_ext >&5
18249 ac_header_preproc
=no
18251 rm -f conftest.err conftest.
$ac_ext
18252 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18253 echo "${ECHO_T}$ac_header_preproc" >&6
18255 # So? What about this header?
18256 case $ac_header_compiler:$ac_header_preproc in
18258 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18259 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18260 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18261 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18264 ## ------------------------------------ ##
18265 ## Report this to bug-autoconf@gnu.org. ##
18266 ## ------------------------------------ ##
18269 sed "s/^/$as_me: WARNING: /" >&2
18272 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18273 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18274 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18275 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18276 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18277 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18280 ## ------------------------------------ ##
18281 ## Report this to bug-autoconf@gnu.org. ##
18282 ## ------------------------------------ ##
18285 sed "s/^/$as_me: WARNING: /" >&2
18288 echo "$as_me:$LINENO: checking for zlib.h" >&5
18289 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18290 if test "${ac_cv_header_zlib_h+set}" = set; then
18291 echo $ECHO_N "(cached) $ECHO_C" >&6
18293 ac_cv_header_zlib_h
=$ac_header_preproc
18295 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18296 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18302 system_zlib_h_ok
=$ac_cv_header_zlib_h
18305 if test "$system_zlib_h_ok" = "yes"; then
18306 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18307 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18308 if test "${ac_cv_lib_z_deflate+set}" = set; then
18309 echo $ECHO_N "(cached) $ECHO_C" >&6
18311 ac_check_lib_save_LIBS
=$LIBS
18313 cat >conftest.
$ac_ext <<_ACEOF
18314 #line $LINENO "configure"
18317 cat confdefs.h
>>conftest.
$ac_ext
18318 cat >>conftest.
$ac_ext <<_ACEOF
18319 /* end confdefs.h. */
18321 /* Override any gcc2 internal prototype to avoid an error. */
18325 /* We use char because int might match the return type of a gcc2
18326 builtin and then its argument prototype would still apply. */
18336 rm -f conftest.
$ac_objext conftest
$ac_exeext
18337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18338 (eval $ac_link) 2>&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); } &&
18342 { ac_try
='test -s conftest$ac_exeext'
18343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18344 (eval $ac_try) 2>&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); }; }; then
18348 ac_cv_lib_z_deflate
=yes
18350 echo "$as_me: failed program was:" >&5
18351 sed 's/^/| /' conftest.
$ac_ext >&5
18353 ac_cv_lib_z_deflate
=no
18355 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18356 LIBS
=$ac_check_lib_save_LIBS
18358 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18359 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18360 if test $ac_cv_lib_z_deflate = yes; then
18366 if test "x$ZLIB_LINK" = "x" ; then
18367 if test "$wxUSE_ZLIB" = "sys" ; then
18368 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18369 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18370 { (exit 1); exit 1; }; }
18372 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18373 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18381 if test "$wxUSE_ZLIB" = "builtin" ; then
18382 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18389 if test "$wxUSE_LIBPNG" != "no" ; then
18390 cat >>confdefs.h
<<\_ACEOF
18391 #define wxUSE_LIBPNG 1
18395 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18396 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18397 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18401 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18402 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18403 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18404 wxUSE_LIBPNG
=builtin
18407 if test "$wxUSE_MGL" != 1 ; then
18408 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18409 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18410 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18411 if test "${ac_cv_header_png_h+set}" = set; then
18412 echo $ECHO_N "(cached) $ECHO_C" >&6
18414 if test "$cross_compiling" = yes; then
18415 unset ac_cv_header_png_h
18418 cat >conftest.
$ac_ext <<_ACEOF
18419 #line $LINENO "configure"
18422 cat confdefs.h
>>conftest.
$ac_ext
18423 cat >>conftest.
$ac_ext <<_ACEOF
18424 /* end confdefs.h. */
18431 FILE *f=fopen("conftestval", "w");
18434 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18439 rm -f conftest
$ac_exeext
18440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18441 (eval $ac_link) 2>&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18446 (eval $ac_try) 2>&5
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); }; }; then
18450 ac_cv_header_png_h
=`cat conftestval`
18452 echo "$as_me: program exited with status $ac_status" >&5
18453 echo "$as_me: failed program was:" >&5
18454 sed 's/^/| /' conftest.
$ac_ext >&5
18456 ( exit $ac_status )
18457 ac_cv_header_png_h
=no
18459 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18463 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18464 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18465 if test "${ac_cv_header_png_h+set}" = set; then
18466 echo "$as_me:$LINENO: checking for png.h" >&5
18467 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18468 if test "${ac_cv_header_png_h+set}" = set; then
18469 echo $ECHO_N "(cached) $ECHO_C" >&6
18471 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18472 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18474 # Is the header compilable?
18475 echo "$as_me:$LINENO: checking png.h usability" >&5
18476 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18477 cat >conftest.
$ac_ext <<_ACEOF
18478 #line $LINENO "configure"
18481 cat confdefs.h
>>conftest.
$ac_ext
18482 cat >>conftest.
$ac_ext <<_ACEOF
18483 /* end confdefs.h. */
18484 $ac_includes_default
18487 rm -f conftest.
$ac_objext
18488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18489 (eval $ac_compile) 2>&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); } &&
18493 { ac_try
='test -s conftest.$ac_objext'
18494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18495 (eval $ac_try) 2>&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); }; }; then
18499 ac_header_compiler
=yes
18501 echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.
$ac_ext >&5
18504 ac_header_compiler
=no
18506 rm -f conftest.
$ac_objext conftest.
$ac_ext
18507 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18508 echo "${ECHO_T}$ac_header_compiler" >&6
18510 # Is the header present?
18511 echo "$as_me:$LINENO: checking png.h presence" >&5
18512 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18513 cat >conftest.
$ac_ext <<_ACEOF
18514 #line $LINENO "configure"
18517 cat confdefs.h
>>conftest.
$ac_ext
18518 cat >>conftest.
$ac_ext <<_ACEOF
18519 /* end confdefs.h. */
18522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18523 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18525 grep -v '^ *+' conftest.er1
>conftest.err
18527 cat conftest.err
>&5
18528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18529 (exit $ac_status); } >/dev
/null
; then
18530 if test -s conftest.err
; then
18531 ac_cpp_err
=$ac_c_preproc_warn_flag
18538 if test -z "$ac_cpp_err"; then
18539 ac_header_preproc
=yes
18541 echo "$as_me: failed program was:" >&5
18542 sed 's/^/| /' conftest.
$ac_ext >&5
18544 ac_header_preproc
=no
18546 rm -f conftest.err conftest.
$ac_ext
18547 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18548 echo "${ECHO_T}$ac_header_preproc" >&6
18550 # So? What about this header?
18551 case $ac_header_compiler:$ac_header_preproc in
18553 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18554 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18555 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18556 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18559 ## ------------------------------------ ##
18560 ## Report this to bug-autoconf@gnu.org. ##
18561 ## ------------------------------------ ##
18564 sed "s/^/$as_me: WARNING: /" >&2
18567 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18568 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18569 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18570 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18571 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18572 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18575 ## ------------------------------------ ##
18576 ## Report this to bug-autoconf@gnu.org. ##
18577 ## ------------------------------------ ##
18580 sed "s/^/$as_me: WARNING: /" >&2
18583 echo "$as_me:$LINENO: checking for png.h" >&5
18584 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18585 if test "${ac_cv_header_png_h+set}" = set; then
18586 echo $ECHO_N "(cached) $ECHO_C" >&6
18588 ac_cv_header_png_h
=$ac_header_preproc
18590 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18591 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18597 if test "$ac_cv_header_png_h" = "yes"; then
18598 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18599 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18600 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18601 echo $ECHO_N "(cached) $ECHO_C" >&6
18603 ac_check_lib_save_LIBS
=$LIBS
18604 LIBS
="-lpng -lz -lm $LIBS"
18605 cat >conftest.
$ac_ext <<_ACEOF
18606 #line $LINENO "configure"
18609 cat confdefs.h
>>conftest.
$ac_ext
18610 cat >>conftest.
$ac_ext <<_ACEOF
18611 /* end confdefs.h. */
18613 /* Override any gcc2 internal prototype to avoid an error. */
18617 /* We use char because int might match the return type of a gcc2
18618 builtin and then its argument prototype would still apply. */
18619 char png_check_sig ();
18628 rm -f conftest.
$ac_objext conftest
$ac_exeext
18629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18630 (eval $ac_link) 2>&5
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); } &&
18634 { ac_try
='test -s conftest$ac_exeext'
18635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18636 (eval $ac_try) 2>&5
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); }; }; then
18640 ac_cv_lib_png_png_check_sig
=yes
18642 echo "$as_me: failed program was:" >&5
18643 sed 's/^/| /' conftest.
$ac_ext >&5
18645 ac_cv_lib_png_png_check_sig
=no
18647 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18648 LIBS
=$ac_check_lib_save_LIBS
18650 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18651 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18652 if test $ac_cv_lib_png_png_check_sig = yes; then
18658 if test "x$PNG_LINK" = "x" ; then
18659 if test "$wxUSE_LIBPNG" = "sys" ; then
18660 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18661 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18662 { (exit 1); exit 1; }; }
18664 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18665 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18666 wxUSE_LIBPNG
=builtin
18674 if test "$wxUSE_LIBPNG" = "builtin" ; then
18675 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18684 if test "$wxUSE_LIBJPEG" != "no" ; then
18685 cat >>confdefs.h
<<\_ACEOF
18686 #define wxUSE_LIBJPEG 1
18690 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18691 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18692 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18696 if test "$wxUSE_MGL" != 1 ; then
18697 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18698 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18699 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18700 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18701 echo $ECHO_N "(cached) $ECHO_C" >&6
18703 cat >conftest.
$ac_ext <<_ACEOF
18704 #line $LINENO "configure"
18707 cat confdefs.h
>>conftest.
$ac_ext
18708 cat >>conftest.
$ac_ext <<_ACEOF
18709 /* end confdefs.h. */
18711 #undef HAVE_STDLIB_H
18713 #include <jpeglib.h>
18724 rm -f conftest.
$ac_objext
18725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18726 (eval $ac_compile) 2>&5
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); } &&
18730 { ac_try
='test -s conftest.$ac_objext'
18731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18732 (eval $ac_try) 2>&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); }; }; then
18736 ac_cv_header_jpeglib_h
=yes
18738 echo "$as_me: failed program was:" >&5
18739 sed 's/^/| /' conftest.
$ac_ext >&5
18741 ac_cv_header_jpeglib_h
=no
18744 rm -f conftest.
$ac_objext conftest.
$ac_ext
18748 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18749 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18751 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18752 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18753 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18754 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18755 echo $ECHO_N "(cached) $ECHO_C" >&6
18757 ac_check_lib_save_LIBS
=$LIBS
18758 LIBS
="-ljpeg $LIBS"
18759 cat >conftest.
$ac_ext <<_ACEOF
18760 #line $LINENO "configure"
18763 cat confdefs.h
>>conftest.
$ac_ext
18764 cat >>conftest.
$ac_ext <<_ACEOF
18765 /* end confdefs.h. */
18767 /* Override any gcc2 internal prototype to avoid an error. */
18771 /* We use char because int might match the return type of a gcc2
18772 builtin and then its argument prototype would still apply. */
18773 char jpeg_read_header ();
18777 jpeg_read_header ();
18782 rm -f conftest.
$ac_objext conftest
$ac_exeext
18783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18784 (eval $ac_link) 2>&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } &&
18788 { ac_try
='test -s conftest$ac_exeext'
18789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790 (eval $ac_try) 2>&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; }; then
18794 ac_cv_lib_jpeg_jpeg_read_header
=yes
18796 echo "$as_me: failed program was:" >&5
18797 sed 's/^/| /' conftest.
$ac_ext >&5
18799 ac_cv_lib_jpeg_jpeg_read_header
=no
18801 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18802 LIBS
=$ac_check_lib_save_LIBS
18804 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18805 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18806 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18807 JPEG_LINK
=" -ljpeg"
18812 if test "x$JPEG_LINK" = "x" ; then
18813 if test "$wxUSE_LIBJPEG" = "sys" ; then
18814 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18815 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18816 { (exit 1); exit 1; }; }
18818 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18819 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18820 wxUSE_LIBJPEG
=builtin
18828 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18829 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
18836 TIFF_PREREQ_LINKS
=-lm
18837 if test "$wxUSE_LIBTIFF" != "no" ; then
18838 cat >>confdefs.h
<<\_ACEOF
18839 #define wxUSE_LIBTIFF 1
18843 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18844 if test "$wxUSE_LIBJPEG" = "sys"; then
18845 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
18847 if test "$wxUSE_ZLIB" = "sys"; then
18848 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18850 if test "${ac_cv_header_tiffio_h+set}" = set; then
18851 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18852 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18853 if test "${ac_cv_header_tiffio_h+set}" = set; then
18854 echo $ECHO_N "(cached) $ECHO_C" >&6
18856 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18857 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18859 # Is the header compilable?
18860 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18861 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18862 cat >conftest.
$ac_ext <<_ACEOF
18863 #line $LINENO "configure"
18866 cat confdefs.h
>>conftest.
$ac_ext
18867 cat >>conftest.
$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869 $ac_includes_default
18870 #include <tiffio.h>
18872 rm -f conftest.
$ac_objext
18873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18874 (eval $ac_compile) 2>&5
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); } &&
18878 { ac_try
='test -s conftest.$ac_objext'
18879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18880 (eval $ac_try) 2>&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); }; }; then
18884 ac_header_compiler
=yes
18886 echo "$as_me: failed program was:" >&5
18887 sed 's/^/| /' conftest.
$ac_ext >&5
18889 ac_header_compiler
=no
18891 rm -f conftest.
$ac_objext conftest.
$ac_ext
18892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18893 echo "${ECHO_T}$ac_header_compiler" >&6
18895 # Is the header present?
18896 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18897 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18898 cat >conftest.
$ac_ext <<_ACEOF
18899 #line $LINENO "configure"
18902 cat confdefs.h
>>conftest.
$ac_ext
18903 cat >>conftest.
$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18905 #include <tiffio.h>
18907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18908 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18910 grep -v '^ *+' conftest.er1
>conftest.err
18912 cat conftest.err
>&5
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); } >/dev
/null
; then
18915 if test -s conftest.err
; then
18916 ac_cpp_err
=$ac_c_preproc_warn_flag
18923 if test -z "$ac_cpp_err"; then
18924 ac_header_preproc
=yes
18926 echo "$as_me: failed program was:" >&5
18927 sed 's/^/| /' conftest.
$ac_ext >&5
18929 ac_header_preproc
=no
18931 rm -f conftest.err conftest.
$ac_ext
18932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18933 echo "${ECHO_T}$ac_header_preproc" >&6
18935 # So? What about this header?
18936 case $ac_header_compiler:$ac_header_preproc in
18938 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18939 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18940 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18941 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18944 ## ------------------------------------ ##
18945 ## Report this to bug-autoconf@gnu.org. ##
18946 ## ------------------------------------ ##
18949 sed "s/^/$as_me: WARNING: /" >&2
18952 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18953 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18954 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18955 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18956 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18957 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18960 ## ------------------------------------ ##
18961 ## Report this to bug-autoconf@gnu.org. ##
18962 ## ------------------------------------ ##
18965 sed "s/^/$as_me: WARNING: /" >&2
18968 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18969 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18970 if test "${ac_cv_header_tiffio_h+set}" = set; then
18971 echo $ECHO_N "(cached) $ECHO_C" >&6
18973 ac_cv_header_tiffio_h
=$ac_header_preproc
18975 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18976 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18979 if test $ac_cv_header_tiffio_h = yes; then
18980 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18981 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18982 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18983 echo $ECHO_N "(cached) $ECHO_C" >&6
18985 ac_check_lib_save_LIBS
=$LIBS
18986 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18987 cat >conftest.
$ac_ext <<_ACEOF
18988 #line $LINENO "configure"
18991 cat confdefs.h
>>conftest.
$ac_ext
18992 cat >>conftest.
$ac_ext <<_ACEOF
18993 /* end confdefs.h. */
18995 /* Override any gcc2 internal prototype to avoid an error. */
18999 /* We use char because int might match the return type of a gcc2
19000 builtin and then its argument prototype would still apply. */
19010 rm -f conftest.
$ac_objext conftest
$ac_exeext
19011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19012 (eval $ac_link) 2>&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); } &&
19016 { ac_try
='test -s conftest$ac_exeext'
19017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19018 (eval $ac_try) 2>&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); }; }; then
19022 ac_cv_lib_tiff_TIFFError
=yes
19024 echo "$as_me: failed program was:" >&5
19025 sed 's/^/| /' conftest.
$ac_ext >&5
19027 ac_cv_lib_tiff_TIFFError
=no
19029 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19030 LIBS
=$ac_check_lib_save_LIBS
19032 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19033 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19034 if test $ac_cv_lib_tiff_TIFFError = yes; then
19035 TIFF_LINK
=" -ltiff"
19043 if test "x$TIFF_LINK" = "x" ; then
19044 if test "$wxUSE_LIBTIFF" = "sys" ; then
19045 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19046 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19047 { (exit 1); exit 1; }; }
19049 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19050 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19051 wxUSE_LIBTIFF
=builtin
19058 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19059 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19064 if test "$wxUSE_EXPAT" != "no"; then
19066 cat >>confdefs.h
<<\_ACEOF
19067 #define wxUSE_EXPAT 1
19070 cat >>confdefs.h
<<\_ACEOF
19071 #define wxUSE_XML 1
19075 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19076 if test "${ac_cv_header_expat_h+set}" = set; then
19077 echo "$as_me:$LINENO: checking for expat.h" >&5
19078 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19079 if test "${ac_cv_header_expat_h+set}" = set; then
19080 echo $ECHO_N "(cached) $ECHO_C" >&6
19082 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19083 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19085 # Is the header compilable?
19086 echo "$as_me:$LINENO: checking expat.h usability" >&5
19087 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19088 cat >conftest.
$ac_ext <<_ACEOF
19089 #line $LINENO "configure"
19092 cat confdefs.h
>>conftest.
$ac_ext
19093 cat >>conftest.
$ac_ext <<_ACEOF
19094 /* end confdefs.h. */
19095 $ac_includes_default
19098 rm -f conftest.
$ac_objext
19099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19100 (eval $ac_compile) 2>&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } &&
19104 { ac_try
='test -s conftest.$ac_objext'
19105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19106 (eval $ac_try) 2>&5
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); }; }; then
19110 ac_header_compiler
=yes
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.
$ac_ext >&5
19115 ac_header_compiler
=no
19117 rm -f conftest.
$ac_objext conftest.
$ac_ext
19118 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19119 echo "${ECHO_T}$ac_header_compiler" >&6
19121 # Is the header present?
19122 echo "$as_me:$LINENO: checking expat.h presence" >&5
19123 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19124 cat >conftest.
$ac_ext <<_ACEOF
19125 #line $LINENO "configure"
19128 cat confdefs.h
>>conftest.
$ac_ext
19129 cat >>conftest.
$ac_ext <<_ACEOF
19130 /* end confdefs.h. */
19133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19134 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19136 grep -v '^ *+' conftest.er1
>conftest.err
19138 cat conftest.err
>&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); } >/dev
/null
; then
19141 if test -s conftest.err
; then
19142 ac_cpp_err
=$ac_c_preproc_warn_flag
19149 if test -z "$ac_cpp_err"; then
19150 ac_header_preproc
=yes
19152 echo "$as_me: failed program was:" >&5
19153 sed 's/^/| /' conftest.
$ac_ext >&5
19155 ac_header_preproc
=no
19157 rm -f conftest.err conftest.
$ac_ext
19158 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19159 echo "${ECHO_T}$ac_header_preproc" >&6
19161 # So? What about this header?
19162 case $ac_header_compiler:$ac_header_preproc in
19164 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19165 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19166 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19167 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19170 ## ------------------------------------ ##
19171 ## Report this to bug-autoconf@gnu.org. ##
19172 ## ------------------------------------ ##
19175 sed "s/^/$as_me: WARNING: /" >&2
19178 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19179 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19180 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19181 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19182 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19183 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19186 ## ------------------------------------ ##
19187 ## Report this to bug-autoconf@gnu.org. ##
19188 ## ------------------------------------ ##
19191 sed "s/^/$as_me: WARNING: /" >&2
19194 echo "$as_me:$LINENO: checking for expat.h" >&5
19195 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19196 if test "${ac_cv_header_expat_h+set}" = set; then
19197 echo $ECHO_N "(cached) $ECHO_C" >&6
19199 ac_cv_header_expat_h
=$ac_header_preproc
19201 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19202 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19205 if test $ac_cv_header_expat_h = yes; then
19210 if test "x$found_expat_h" = "x1"; then
19211 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19212 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19213 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19214 echo $ECHO_N "(cached) $ECHO_C" >&6
19220 ac_cpp
='$CXXCPP $CPPFLAGS'
19221 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19222 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19223 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19225 cat >conftest.
$ac_ext <<_ACEOF
19226 #line $LINENO "configure"
19229 cat confdefs.h
>>conftest.
$ac_ext
19230 cat >>conftest.
$ac_ext <<_ACEOF
19231 /* end confdefs.h. */
19241 rm -f conftest.
$ac_objext
19242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19243 (eval $ac_compile) 2>&5
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); } &&
19247 { ac_try
='test -s conftest.$ac_objext'
19248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19249 (eval $ac_try) 2>&5
19251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252 (exit $ac_status); }; }; then
19253 wx_cv_expat_is_not_broken
=yes
19255 echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.
$ac_ext >&5
19258 wx_cv_expat_is_not_broken
=no
19261 rm -f conftest.
$ac_objext conftest.
$ac_ext
19263 ac_cpp
='$CPP $CPPFLAGS'
19264 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19265 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19266 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19271 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19272 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19273 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19274 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19275 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19276 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19277 echo $ECHO_N "(cached) $ECHO_C" >&6
19279 ac_check_lib_save_LIBS
=$LIBS
19280 LIBS
="-lexpat $LIBS"
19281 cat >conftest.
$ac_ext <<_ACEOF
19282 #line $LINENO "configure"
19285 cat confdefs.h
>>conftest.
$ac_ext
19286 cat >>conftest.
$ac_ext <<_ACEOF
19287 /* end confdefs.h. */
19289 /* Override any gcc2 internal prototype to avoid an error. */
19293 /* We use char because int might match the return type of a gcc2
19294 builtin and then its argument prototype would still apply. */
19295 char XML_ParserCreate ();
19299 XML_ParserCreate ();
19304 rm -f conftest.
$ac_objext conftest
$ac_exeext
19305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19306 (eval $ac_link) 2>&5
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); } &&
19310 { ac_try
='test -s conftest$ac_exeext'
19311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19312 (eval $ac_try) 2>&5
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); }; }; then
19316 ac_cv_lib_expat_XML_ParserCreate
=yes
19318 echo "$as_me: failed program was:" >&5
19319 sed 's/^/| /' conftest.
$ac_ext >&5
19321 ac_cv_lib_expat_XML_ParserCreate
=no
19323 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19324 LIBS
=$ac_check_lib_save_LIBS
19326 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19327 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19328 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19329 EXPAT_LINK
=" -lexpat"
19334 if test "x$EXPAT_LINK" = "x" ; then
19335 if test "$wxUSE_EXPAT" = "sys" ; then
19336 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19337 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19338 { (exit 1); exit 1; }; }
19340 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19341 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19342 wxUSE_EXPAT
=builtin
19348 if test "$wxUSE_EXPAT" = "builtin" ; then
19351 subdirs
="$subdirs src/expat"
19365 if test "$USE_WIN32" = 1 ; then
19367 for ac_header
in w32api.h
19369 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19371 echo "$as_me:$LINENO: checking for $ac_header" >&5
19372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19374 echo $ECHO_N "(cached) $ECHO_C" >&6
19376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19379 # Is the header compilable?
19380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19382 cat >conftest.
$ac_ext <<_ACEOF
19383 #line $LINENO "configure"
19386 cat confdefs.h
>>conftest.
$ac_ext
19387 cat >>conftest.
$ac_ext <<_ACEOF
19388 /* end confdefs.h. */
19389 $ac_includes_default
19390 #include <$ac_header>
19392 rm -f conftest.
$ac_objext
19393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19394 (eval $ac_compile) 2>&5
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); } &&
19398 { ac_try
='test -s conftest.$ac_objext'
19399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19400 (eval $ac_try) 2>&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); }; }; then
19404 ac_header_compiler
=yes
19406 echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.
$ac_ext >&5
19409 ac_header_compiler
=no
19411 rm -f conftest.
$ac_objext conftest.
$ac_ext
19412 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19413 echo "${ECHO_T}$ac_header_compiler" >&6
19415 # Is the header present?
19416 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19417 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19418 cat >conftest.
$ac_ext <<_ACEOF
19419 #line $LINENO "configure"
19422 cat confdefs.h
>>conftest.
$ac_ext
19423 cat >>conftest.
$ac_ext <<_ACEOF
19424 /* end confdefs.h. */
19425 #include <$ac_header>
19427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19428 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19430 grep -v '^ *+' conftest.er1
>conftest.err
19432 cat conftest.err
>&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); } >/dev
/null
; then
19435 if test -s conftest.err
; then
19436 ac_cpp_err
=$ac_c_preproc_warn_flag
19443 if test -z "$ac_cpp_err"; then
19444 ac_header_preproc
=yes
19446 echo "$as_me: failed program was:" >&5
19447 sed 's/^/| /' conftest.
$ac_ext >&5
19449 ac_header_preproc
=no
19451 rm -f conftest.err conftest.
$ac_ext
19452 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19453 echo "${ECHO_T}$ac_header_preproc" >&6
19455 # So? What about this header?
19456 case $ac_header_compiler:$ac_header_preproc in
19458 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19459 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19461 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19464 ## ------------------------------------ ##
19465 ## Report this to bug-autoconf@gnu.org. ##
19466 ## ------------------------------------ ##
19469 sed "s/^/$as_me: WARNING: /" >&2
19472 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19473 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19474 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19475 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19480 ## ------------------------------------ ##
19481 ## Report this to bug-autoconf@gnu.org. ##
19482 ## ------------------------------------ ##
19485 sed "s/^/$as_me: WARNING: /" >&2
19488 echo "$as_me:$LINENO: checking for $ac_header" >&5
19489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19491 echo $ECHO_N "(cached) $ECHO_C" >&6
19493 eval "$as_ac_Header=$ac_header_preproc"
19495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19500 cat >>confdefs.h
<<_ACEOF
19501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19508 if test "${ac_cv_header_windows_h+set}" = set; then
19509 echo "$as_me:$LINENO: checking for windows.h" >&5
19510 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19511 if test "${ac_cv_header_windows_h+set}" = set; then
19512 echo $ECHO_N "(cached) $ECHO_C" >&6
19514 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19515 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19517 # Is the header compilable?
19518 echo "$as_me:$LINENO: checking windows.h usability" >&5
19519 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19520 cat >conftest.
$ac_ext <<_ACEOF
19521 #line $LINENO "configure"
19524 cat confdefs.h
>>conftest.
$ac_ext
19525 cat >>conftest.
$ac_ext <<_ACEOF
19526 /* end confdefs.h. */
19527 $ac_includes_default
19528 #include <windows.h>
19530 rm -f conftest.
$ac_objext
19531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19532 (eval $ac_compile) 2>&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } &&
19536 { ac_try
='test -s conftest.$ac_objext'
19537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19538 (eval $ac_try) 2>&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); }; }; then
19542 ac_header_compiler
=yes
19544 echo "$as_me: failed program was:" >&5
19545 sed 's/^/| /' conftest.
$ac_ext >&5
19547 ac_header_compiler
=no
19549 rm -f conftest.
$ac_objext conftest.
$ac_ext
19550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19551 echo "${ECHO_T}$ac_header_compiler" >&6
19553 # Is the header present?
19554 echo "$as_me:$LINENO: checking windows.h presence" >&5
19555 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19556 cat >conftest.
$ac_ext <<_ACEOF
19557 #line $LINENO "configure"
19560 cat confdefs.h
>>conftest.
$ac_ext
19561 cat >>conftest.
$ac_ext <<_ACEOF
19562 /* end confdefs.h. */
19563 #include <windows.h>
19565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19566 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19568 grep -v '^ *+' conftest.er1
>conftest.err
19570 cat conftest.err
>&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); } >/dev
/null
; then
19573 if test -s conftest.err
; then
19574 ac_cpp_err
=$ac_c_preproc_warn_flag
19581 if test -z "$ac_cpp_err"; then
19582 ac_header_preproc
=yes
19584 echo "$as_me: failed program was:" >&5
19585 sed 's/^/| /' conftest.
$ac_ext >&5
19587 ac_header_preproc
=no
19589 rm -f conftest.err conftest.
$ac_ext
19590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19591 echo "${ECHO_T}$ac_header_preproc" >&6
19593 # So? What about this header?
19594 case $ac_header_compiler:$ac_header_preproc in
19596 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19597 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19598 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19599 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19602 ## ------------------------------------ ##
19603 ## Report this to bug-autoconf@gnu.org. ##
19604 ## ------------------------------------ ##
19607 sed "s/^/$as_me: WARNING: /" >&2
19610 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19611 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19612 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19613 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19614 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19615 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19618 ## ------------------------------------ ##
19619 ## Report this to bug-autoconf@gnu.org. ##
19620 ## ------------------------------------ ##
19623 sed "s/^/$as_me: WARNING: /" >&2
19626 echo "$as_me:$LINENO: checking for windows.h" >&5
19627 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19628 if test "${ac_cv_header_windows_h+set}" = set; then
19629 echo $ECHO_N "(cached) $ECHO_C" >&6
19631 ac_cv_header_windows_h
=$ac_header_preproc
19633 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19634 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19637 if test $ac_cv_header_windows_h = yes; then
19641 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19642 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19643 { (exit 1); exit 1; }; }
19649 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19651 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19652 LIBS
="$LIBS -loleacc"
19657 LIBS
="$LIBS -lkernel32 -luser32"
19658 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19661 if test "$wxUSE_ODBC" = "sys" ; then
19664 if test "$wxUSE_ODBC" = "yes" ; then
19665 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19666 cat >>confdefs.h
<<\_ACEOF
19667 #define wxUSE_ODBC 1
19672 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19673 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19675 WIN32INSTALL
=win32install
19678 if test "$wxUSE_GUI" = "yes"; then
19687 if test "$wxUSE_MSW" = 1 ; then
19693 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19697 if test "$wxUSE_GTK" = 1; then
19698 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19699 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19701 gtk_version_cached
=1
19702 if test "${wx_cv_lib_gtk+set}" = set; then
19703 echo $ECHO_N "(cached) $ECHO_C" >&6
19706 gtk_version_cached
=0
19707 echo "$as_me:$LINENO: result: " >&5
19708 echo "${ECHO_T}" >&6
19711 if test "$wxUSE_THREADS" = "yes"; then
19712 GTK_MODULES
=gthread
19716 if test "x$wxUSE_GTK2" = "xyes"; then
19717 # Check whether --enable-gtktest or --disable-gtktest was given.
19718 if test "${enable_gtktest+set}" = set; then
19719 enableval
="$enable_gtktest"
19725 pkg_config_args
=gtk
+-2.0
19726 for module
in .
$GTK_MODULES
19730 pkg_config_args
="$pkg_config_args gthread-2.0"
19737 # Extract the first word of "pkg-config", so it can be a program name with args.
19738 set dummy pkg
-config; ac_word
=$2
19739 echo "$as_me:$LINENO: checking for $ac_word" >&5
19740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19741 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19742 echo $ECHO_N "(cached) $ECHO_C" >&6
19744 case $PKG_CONFIG in
19746 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19750 for as_dir
in $PATH
19753 test -z "$as_dir" && as_dir
=.
19754 for ac_exec_ext
in '' $ac_executable_extensions; do
19755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19756 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19763 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19767 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19769 if test -n "$PKG_CONFIG"; then
19770 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19771 echo "${ECHO_T}$PKG_CONFIG" >&6
19773 echo "$as_me:$LINENO: result: no" >&5
19774 echo "${ECHO_T}no" >&6
19778 if test x
$PKG_CONFIG != xno
; then
19779 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
19782 echo *** pkg
-config too old
; version
0.7 or better required.
19790 min_gtk_version
=2.0.0
19791 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19792 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19794 if test x
$PKG_CONFIG != xno
; then
19795 ## don't try to run the test against uninstalled libtool libs
19796 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19797 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19801 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19808 if test x
"$no_gtk" = x
; then
19809 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
19810 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
19811 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19812 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19813 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19814 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19815 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19816 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19817 if test "x$enable_gtktest" = "xyes" ; then
19818 ac_save_CFLAGS
="$CFLAGS"
19819 ac_save_LIBS
="$LIBS"
19820 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19821 LIBS
="$GTK_LIBS $LIBS"
19823 if test "$cross_compiling" = yes; then
19824 echo $ac_n "cross compiling; assumed OK... $ac_c"
19826 cat >conftest.
$ac_ext <<_ACEOF
19827 #line $LINENO "configure"
19830 cat confdefs.h
>>conftest.
$ac_ext
19831 cat >>conftest.
$ac_ext <<_ACEOF
19832 /* end confdefs.h. */
19834 #include <gtk/gtk.h>
19836 #include <stdlib.h>
19841 int major, minor, micro;
19844 system ("touch conf.gtktest");
19846 /* HP/UX 9 (%@#!) writes to sscanf strings */
19847 tmp_version = g_strdup("$min_gtk_version");
19848 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19849 printf("%s, bad version string\n", "$min_gtk_version");
19853 if ((gtk_major_version != $gtk_config_major_version) ||
19854 (gtk_minor_version != $gtk_config_minor_version) ||
19855 (gtk_micro_version != $gtk_config_micro_version))
19857 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19858 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19859 gtk_major_version, gtk_minor_version, gtk_micro_version);
19860 printf ("*** was found! If pkg-config was correct, then it is best\n");
19861 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19862 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19863 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19864 printf("*** required on your system.\n");
19865 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19866 printf("*** to point to the correct configuration files\n");
19868 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19869 (gtk_minor_version != GTK_MINOR_VERSION) ||
19870 (gtk_micro_version != GTK_MICRO_VERSION))
19872 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19873 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19874 printf("*** library (version %d.%d.%d)\n",
19875 gtk_major_version, gtk_minor_version, gtk_micro_version);
19879 if ((gtk_major_version > major) ||
19880 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19881 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19887 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19888 gtk_major_version, gtk_minor_version, gtk_micro_version);
19889 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19890 major, minor, micro);
19891 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19893 printf("*** If you have already installed a sufficiently new version, this error\n");
19894 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19895 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19896 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19897 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19898 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19899 printf("*** so that the correct libraries are found at run-time))\n");
19906 rm -f conftest
$ac_exeext
19907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19908 (eval $ac_link) 2>&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19913 (eval $ac_try) 2>&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); }; }; then
19919 echo "$as_me: program exited with status $ac_status" >&5
19920 echo "$as_me: failed program was:" >&5
19921 sed 's/^/| /' conftest.
$ac_ext >&5
19923 ( exit $ac_status )
19926 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19928 CFLAGS
="$ac_save_CFLAGS"
19929 LIBS
="$ac_save_LIBS"
19932 if test "x$no_gtk" = x
; then
19933 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19934 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19937 echo "$as_me:$LINENO: result: no" >&5
19938 echo "${ECHO_T}no" >&6
19939 if test "$PKG_CONFIG" = "no" ; then
19940 echo "*** A new enough version of pkg-config was not found."
19941 echo "*** See http://pkgconfig.sourceforge.net"
19943 if test -f conf.gtktest
; then
19946 echo "*** Could not run GTK+ test program, checking why..."
19947 ac_save_CFLAGS
="$CFLAGS"
19948 ac_save_LIBS
="$LIBS"
19949 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19950 LIBS
="$LIBS $GTK_LIBS"
19951 cat >conftest.
$ac_ext <<_ACEOF
19952 #line $LINENO "configure"
19955 cat confdefs.h
>>conftest.
$ac_ext
19956 cat >>conftest.
$ac_ext <<_ACEOF
19957 /* end confdefs.h. */
19959 #include <gtk/gtk.h>
19965 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19970 rm -f conftest.
$ac_objext conftest
$ac_exeext
19971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19972 (eval $ac_link) 2>&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } &&
19976 { ac_try
='test -s conftest$ac_exeext'
19977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978 (eval $ac_try) 2>&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); }; }; then
19982 echo "*** The test program compiled, but did not run. This usually means"
19983 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19984 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19985 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19986 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19987 echo "*** is required on your system"
19989 echo "*** If you have an old version installed, it is best to remove it, although"
19990 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.
$ac_ext >&5
19995 echo "*** The test program failed to compile or link. See the file config.log for the"
19996 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19998 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19999 CFLAGS
="$ac_save_CFLAGS"
20000 LIBS
="$ac_save_LIBS"
20013 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20014 if test "${with_gtk_prefix+set}" = set; then
20015 withval
="$with_gtk_prefix"
20016 gtk_config_prefix
="$withval"
20018 gtk_config_prefix
=""
20021 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20022 if test "${with_gtk_exec_prefix+set}" = set; then
20023 withval
="$with_gtk_exec_prefix"
20024 gtk_config_exec_prefix
="$withval"
20026 gtk_config_exec_prefix
=""
20028 # Check whether --enable-gtktest or --disable-gtktest was given.
20029 if test "${enable_gtktest+set}" = set; then
20030 enableval
="$enable_gtktest"
20036 for module
in .
$GTK_MODULES
20040 gtk_config_args
="$gtk_config_args gthread"
20045 if test x
$gtk_config_exec_prefix != x
; then
20046 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20047 if test x
${GTK_CONFIG+set} != xset
; then
20048 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20051 if test x
$gtk_config_prefix != x
; then
20052 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20053 if test x
${GTK_CONFIG+set} != xset
; then
20054 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20058 # Extract the first word of "gtk-config", so it can be a program name with args.
20059 set dummy gtk
-config; ac_word
=$2
20060 echo "$as_me:$LINENO: checking for $ac_word" >&5
20061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20062 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20063 echo $ECHO_N "(cached) $ECHO_C" >&6
20065 case $GTK_CONFIG in
20067 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20071 for as_dir
in $PATH
20074 test -z "$as_dir" && as_dir
=.
20075 for ac_exec_ext
in '' $ac_executable_extensions; do
20076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20077 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20084 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20088 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20090 if test -n "$GTK_CONFIG"; then
20091 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20092 echo "${ECHO_T}$GTK_CONFIG" >&6
20094 echo "$as_me:$LINENO: result: no" >&5
20095 echo "${ECHO_T}no" >&6
20098 min_gtk_version
=1.2.7
20099 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20100 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20102 if test "$GTK_CONFIG" = "no" ; then
20105 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20106 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20107 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20108 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20109 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20110 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20111 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20112 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20113 if test "x$enable_gtktest" = "xyes" ; then
20114 ac_save_CFLAGS
="$CFLAGS"
20115 ac_save_LIBS
="$LIBS"
20116 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20117 LIBS
="$GTK_LIBS $LIBS"
20119 if test "$cross_compiling" = yes; then
20120 echo $ac_n "cross compiling; assumed OK... $ac_c"
20122 cat >conftest.
$ac_ext <<_ACEOF
20123 #line $LINENO "configure"
20126 cat confdefs.h
>>conftest.
$ac_ext
20127 cat >>conftest.
$ac_ext <<_ACEOF
20128 /* end confdefs.h. */
20130 #include <gtk/gtk.h>
20132 #include <stdlib.h>
20137 int major, minor, micro;
20140 system ("touch conf.gtktest");
20142 /* HP/UX 9 (%@#!) writes to sscanf strings */
20143 tmp_version = g_strdup("$min_gtk_version");
20144 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20145 printf("%s, bad version string\n", "$min_gtk_version");
20149 if ((gtk_major_version != $gtk_config_major_version) ||
20150 (gtk_minor_version != $gtk_config_minor_version) ||
20151 (gtk_micro_version != $gtk_config_micro_version))
20153 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20154 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20155 gtk_major_version, gtk_minor_version, gtk_micro_version);
20156 printf ("*** was found! If gtk-config was correct, then it is best\n");
20157 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20158 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20159 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20160 printf("*** required on your system.\n");
20161 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20162 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20163 printf("*** before re-running configure\n");
20165 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20166 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20167 (gtk_minor_version != GTK_MINOR_VERSION) ||
20168 (gtk_micro_version != GTK_MICRO_VERSION))
20170 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20171 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20172 printf("*** library (version %d.%d.%d)\n",
20173 gtk_major_version, gtk_minor_version, gtk_micro_version);
20175 #endif /* defined (GTK_MAJOR_VERSION) ... */
20178 if ((gtk_major_version > major) ||
20179 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20180 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20186 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20187 gtk_major_version, gtk_minor_version, gtk_micro_version);
20188 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20189 major, minor, micro);
20190 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20192 printf("*** If you have already installed a sufficiently new version, this error\n");
20193 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20194 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20195 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20196 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20197 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20198 printf("*** so that the correct libraries are found at run-time))\n");
20205 rm -f conftest
$ac_exeext
20206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20207 (eval $ac_link) 2>&5
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20212 (eval $ac_try) 2>&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); }; }; then
20218 echo "$as_me: program exited with status $ac_status" >&5
20219 echo "$as_me: failed program was:" >&5
20220 sed 's/^/| /' conftest.
$ac_ext >&5
20222 ( exit $ac_status )
20225 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20227 CFLAGS
="$ac_save_CFLAGS"
20228 LIBS
="$ac_save_LIBS"
20231 if test "x$no_gtk" = x
; then
20232 echo "$as_me:$LINENO: result: yes" >&5
20233 echo "${ECHO_T}yes" >&6
20234 wx_cv_lib_gtk
=1.2.7
20236 echo "$as_me:$LINENO: result: no" >&5
20237 echo "${ECHO_T}no" >&6
20238 if test "$GTK_CONFIG" = "no" ; then
20239 echo "*** The gtk-config script installed by GTK could not be found"
20240 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20241 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20242 echo "*** full path to gtk-config."
20244 if test -f conf.gtktest
; then
20247 echo "*** Could not run GTK test program, checking why..."
20248 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20249 LIBS
="$LIBS $GTK_LIBS"
20250 cat >conftest.
$ac_ext <<_ACEOF
20251 #line $LINENO "configure"
20254 cat confdefs.h
>>conftest.
$ac_ext
20255 cat >>conftest.
$ac_ext <<_ACEOF
20256 /* end confdefs.h. */
20258 #include <gtk/gtk.h>
20264 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20269 rm -f conftest.
$ac_objext conftest
$ac_exeext
20270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20271 (eval $ac_link) 2>&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); } &&
20275 { ac_try
='test -s conftest$ac_exeext'
20276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20277 (eval $ac_try) 2>&5
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); }; }; then
20281 echo "*** The test program compiled, but did not run. This usually means"
20282 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20283 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20284 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20285 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20286 echo "*** is required on your system"
20288 echo "*** If you have an old version installed, it is best to remove it, although"
20289 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20291 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20292 echo "*** came with the system with the command"
20294 echo "*** rpm --erase --nodeps gtk gtk-devel"
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.
$ac_ext >&5
20299 echo "*** The test program failed to compile or link. See the file config.log for the"
20300 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20301 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20302 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20304 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20305 CFLAGS
="$ac_save_CFLAGS"
20306 LIBS
="$ac_save_LIBS"
20318 if test -z "$wx_cv_lib_gtk"; then
20320 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20321 if test "${with_gtk_prefix+set}" = set; then
20322 withval
="$with_gtk_prefix"
20323 gtk_config_prefix
="$withval"
20325 gtk_config_prefix
=""
20328 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20329 if test "${with_gtk_exec_prefix+set}" = set; then
20330 withval
="$with_gtk_exec_prefix"
20331 gtk_config_exec_prefix
="$withval"
20333 gtk_config_exec_prefix
=""
20335 # Check whether --enable-gtktest or --disable-gtktest was given.
20336 if test "${enable_gtktest+set}" = set; then
20337 enableval
="$enable_gtktest"
20343 for module
in .
$GTK_MODULES
20347 gtk_config_args
="$gtk_config_args gthread"
20352 if test x
$gtk_config_exec_prefix != x
; then
20353 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20354 if test x
${GTK_CONFIG+set} != xset
; then
20355 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20358 if test x
$gtk_config_prefix != x
; then
20359 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20360 if test x
${GTK_CONFIG+set} != xset
; then
20361 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20365 # Extract the first word of "gtk-config", so it can be a program name with args.
20366 set dummy gtk
-config; ac_word
=$2
20367 echo "$as_me:$LINENO: checking for $ac_word" >&5
20368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20369 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20370 echo $ECHO_N "(cached) $ECHO_C" >&6
20372 case $GTK_CONFIG in
20374 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20378 for as_dir
in $PATH
20381 test -z "$as_dir" && as_dir
=.
20382 for ac_exec_ext
in '' $ac_executable_extensions; do
20383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20384 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20391 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20395 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20397 if test -n "$GTK_CONFIG"; then
20398 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20399 echo "${ECHO_T}$GTK_CONFIG" >&6
20401 echo "$as_me:$LINENO: result: no" >&5
20402 echo "${ECHO_T}no" >&6
20405 min_gtk_version
=1.2.3
20406 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20407 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20409 if test "$GTK_CONFIG" = "no" ; then
20412 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20413 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20414 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20415 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20416 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20417 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20418 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20419 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20420 if test "x$enable_gtktest" = "xyes" ; then
20421 ac_save_CFLAGS
="$CFLAGS"
20422 ac_save_LIBS
="$LIBS"
20423 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20424 LIBS
="$GTK_LIBS $LIBS"
20426 if test "$cross_compiling" = yes; then
20427 echo $ac_n "cross compiling; assumed OK... $ac_c"
20429 cat >conftest.
$ac_ext <<_ACEOF
20430 #line $LINENO "configure"
20433 cat confdefs.h
>>conftest.
$ac_ext
20434 cat >>conftest.
$ac_ext <<_ACEOF
20435 /* end confdefs.h. */
20437 #include <gtk/gtk.h>
20439 #include <stdlib.h>
20444 int major, minor, micro;
20447 system ("touch conf.gtktest");
20449 /* HP/UX 9 (%@#!) writes to sscanf strings */
20450 tmp_version = g_strdup("$min_gtk_version");
20451 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20452 printf("%s, bad version string\n", "$min_gtk_version");
20456 if ((gtk_major_version != $gtk_config_major_version) ||
20457 (gtk_minor_version != $gtk_config_minor_version) ||
20458 (gtk_micro_version != $gtk_config_micro_version))
20460 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20461 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20462 gtk_major_version, gtk_minor_version, gtk_micro_version);
20463 printf ("*** was found! If gtk-config was correct, then it is best\n");
20464 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20465 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20466 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20467 printf("*** required on your system.\n");
20468 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20469 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20470 printf("*** before re-running configure\n");
20472 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20473 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20474 (gtk_minor_version != GTK_MINOR_VERSION) ||
20475 (gtk_micro_version != GTK_MICRO_VERSION))
20477 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20478 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20479 printf("*** library (version %d.%d.%d)\n",
20480 gtk_major_version, gtk_minor_version, gtk_micro_version);
20482 #endif /* defined (GTK_MAJOR_VERSION) ... */
20485 if ((gtk_major_version > major) ||
20486 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20487 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20493 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20494 gtk_major_version, gtk_minor_version, gtk_micro_version);
20495 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20496 major, minor, micro);
20497 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20499 printf("*** If you have already installed a sufficiently new version, this error\n");
20500 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20501 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20502 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20503 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20504 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20505 printf("*** so that the correct libraries are found at run-time))\n");
20512 rm -f conftest
$ac_exeext
20513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20514 (eval $ac_link) 2>&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20519 (eval $ac_try) 2>&5
20521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522 (exit $ac_status); }; }; then
20525 echo "$as_me: program exited with status $ac_status" >&5
20526 echo "$as_me: failed program was:" >&5
20527 sed 's/^/| /' conftest.
$ac_ext >&5
20529 ( exit $ac_status )
20532 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20534 CFLAGS
="$ac_save_CFLAGS"
20535 LIBS
="$ac_save_LIBS"
20538 if test "x$no_gtk" = x
; then
20539 echo "$as_me:$LINENO: result: yes" >&5
20540 echo "${ECHO_T}yes" >&6
20541 wx_cv_lib_gtk
=1.2.3
20543 echo "$as_me:$LINENO: result: no" >&5
20544 echo "${ECHO_T}no" >&6
20545 if test "$GTK_CONFIG" = "no" ; then
20546 echo "*** The gtk-config script installed by GTK could not be found"
20547 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20548 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20549 echo "*** full path to gtk-config."
20551 if test -f conf.gtktest
; then
20554 echo "*** Could not run GTK test program, checking why..."
20555 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20556 LIBS
="$LIBS $GTK_LIBS"
20557 cat >conftest.
$ac_ext <<_ACEOF
20558 #line $LINENO "configure"
20561 cat confdefs.h
>>conftest.
$ac_ext
20562 cat >>conftest.
$ac_ext <<_ACEOF
20563 /* end confdefs.h. */
20565 #include <gtk/gtk.h>
20571 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20576 rm -f conftest.
$ac_objext conftest
$ac_exeext
20577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20578 (eval $ac_link) 2>&5
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); } &&
20582 { ac_try
='test -s conftest$ac_exeext'
20583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20584 (eval $ac_try) 2>&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); }; }; then
20588 echo "*** The test program compiled, but did not run. This usually means"
20589 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20590 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20591 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20592 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20593 echo "*** is required on your system"
20595 echo "*** If you have an old version installed, it is best to remove it, although"
20596 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20598 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20599 echo "*** came with the system with the command"
20601 echo "*** rpm --erase --nodeps gtk gtk-devel"
20603 echo "$as_me: failed program was:" >&5
20604 sed 's/^/| /' conftest.
$ac_ext >&5
20606 echo "*** The test program failed to compile or link. See the file config.log for the"
20607 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20608 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20609 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20611 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20612 CFLAGS
="$ac_save_CFLAGS"
20613 LIBS
="$ac_save_LIBS"
20627 if test -z "$wx_cv_lib_gtk"; then
20630 wx_cv_cflags_gtk
=$GTK_CFLAGS
20631 wx_cv_libs_gtk
=$GTK_LIBS
20638 if test "$gtk_version_cached" = 1; then
20639 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20640 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20643 case "$wx_cv_lib_gtk" in
20652 *) { { echo "$as_me:$LINENO: error:
20653 Please check that gtk-config is in path, the directory
20654 where GTK+ libraries are installed (returned by
20655 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20656 equivalent variable and GTK+ is version 1.2.3 or above.
20658 echo "$as_me: error:
20659 Please check that gtk-config is in path, the directory
20660 where GTK+ libraries are installed (returned by
20661 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20662 equivalent variable and GTK+ is version 1.2.3 or above.
20664 { (exit 1); exit 1; }; }
20668 if test "$WXGTK20" = 1; then
20669 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20673 if test -z "$PKG_CONFIG"; then
20674 # Extract the first word of "pkg-config", so it can be a program name with args.
20675 set dummy pkg
-config; ac_word
=$2
20676 echo "$as_me:$LINENO: checking for $ac_word" >&5
20677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20678 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20679 echo $ECHO_N "(cached) $ECHO_C" >&6
20681 case $PKG_CONFIG in
20683 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20687 for as_dir
in $PATH
20690 test -z "$as_dir" && as_dir
=.
20691 for ac_exec_ext
in '' $ac_executable_extensions; do
20692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20693 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20700 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20704 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20706 if test -n "$PKG_CONFIG"; then
20707 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20708 echo "${ECHO_T}$PKG_CONFIG" >&6
20710 echo "$as_me:$LINENO: result: no" >&5
20711 echo "${ECHO_T}no" >&6
20716 if test "$PKG_CONFIG" = "no" ; then
20717 echo "*** The pkg-config script could not be found. Make sure it is"
20718 echo "*** in your path, or set the PKG_CONFIG environment variable"
20719 echo "*** to the full path to pkg-config."
20720 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20722 PKG_CONFIG_MIN_VERSION
=0.9.0
20723 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20724 echo "$as_me:$LINENO: checking for pangoft2" >&5
20725 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20727 if $PKG_CONFIG --exists "pangoft2" ; then
20728 echo "$as_me:$LINENO: result: yes" >&5
20729 echo "${ECHO_T}yes" >&6
20732 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20733 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20734 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20735 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20736 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20738 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20739 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20740 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20741 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20742 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20746 ## If we have a custom action on failure, don't print errors, but
20747 ## do set a variable so people can do so.
20748 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20755 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20756 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20760 if test $succeeded = yes; then
20762 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20763 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20767 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20768 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20769 wxUSE_PRINTING_ARCHITECTURE
="no"
20776 if test "$wxUSE_UNICODE" = "yes"; then
20777 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20778 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20783 if test "$USE_DARWIN" != 1; then
20785 for ac_func
in poll
20787 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20788 echo "$as_me:$LINENO: checking for $ac_func" >&5
20789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20790 if eval "test \"\${$as_ac_var+set}\" = set"; then
20791 echo $ECHO_N "(cached) $ECHO_C" >&6
20793 cat >conftest.
$ac_ext <<_ACEOF
20794 #line $LINENO "configure"
20797 cat confdefs.h
>>conftest.
$ac_ext
20798 cat >>conftest.
$ac_ext <<_ACEOF
20799 /* end confdefs.h. */
20800 /* System header to define __stub macros and hopefully few prototypes,
20801 which can conflict with char $ac_func (); below.
20802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20803 <limits.h> exists even on freestanding compilers. */
20805 # include <limits.h>
20807 # include <assert.h>
20809 /* Override any gcc2 internal prototype to avoid an error. */
20814 /* We use char because int might match the return type of a gcc2
20815 builtin and then its argument prototype would still apply. */
20817 /* The GNU C library defines this for functions which it implements
20818 to always fail with ENOSYS. Some functions are actually named
20819 something starting with __ and the normal name is an alias. */
20820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20823 char (*f) () = $ac_func;
20832 return f != $ac_func;
20837 rm -f conftest.
$ac_objext conftest
$ac_exeext
20838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20839 (eval $ac_link) 2>&5
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); } &&
20843 { ac_try
='test -s conftest$ac_exeext'
20844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20845 (eval $ac_try) 2>&5
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); }; }; then
20849 eval "$as_ac_var=yes"
20851 echo "$as_me: failed program was:" >&5
20852 sed 's/^/| /' conftest.
$ac_ext >&5
20854 eval "$as_ac_var=no"
20856 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20860 if test `eval echo '${'$as_ac_var'}'` = yes; then
20861 cat >>confdefs.h
<<_ACEOF
20862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20870 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
20871 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20873 AFMINSTALL
=afminstall
20877 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20878 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20879 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20880 echo $ECHO_N "(cached) $ECHO_C" >&6
20882 ac_check_lib_save_LIBS
=$LIBS
20884 cat >conftest.
$ac_ext <<_ACEOF
20885 #line $LINENO "configure"
20888 cat confdefs.h
>>conftest.
$ac_ext
20889 cat >>conftest.
$ac_ext <<_ACEOF
20890 /* end confdefs.h. */
20892 /* Override any gcc2 internal prototype to avoid an error. */
20896 /* We use char because int might match the return type of a gcc2
20897 builtin and then its argument prototype would still apply. */
20898 char gdk_im_open ();
20907 rm -f conftest.
$ac_objext conftest
$ac_exeext
20908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20909 (eval $ac_link) 2>&5
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); } &&
20913 { ac_try
='test -s conftest$ac_exeext'
20914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20915 (eval $ac_try) 2>&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); }; }; then
20919 ac_cv_lib_gdk_gdk_im_open
=yes
20921 echo "$as_me: failed program was:" >&5
20922 sed 's/^/| /' conftest.
$ac_ext >&5
20924 ac_cv_lib_gdk_gdk_im_open
=no
20926 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20927 LIBS
=$ac_check_lib_save_LIBS
20929 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20930 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20931 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20932 cat >>confdefs.h
<<\_ACEOF
20940 if test "$wxUSE_MGL" = 1; then
20941 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20942 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20943 if test "x$MGL_ROOT" = x
; then
20944 echo "$as_me:$LINENO: result: not found" >&5
20945 echo "${ECHO_T}not found" >&6
20946 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20947 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20948 { (exit 1); exit 1; }; }
20950 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20951 echo "${ECHO_T}$MGL_ROOT" >&6
20954 echo "$as_me:$LINENO: checking for libmgl location" >&5
20955 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20958 if test "x$wxUSE_SHARED" = xyes
; then
20959 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
20961 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
20965 mgl_os_candidates
="dos32/dj2"
20968 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20969 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20970 { (exit 1); exit 1; }; }
20976 for mgl_os_i
in $mgl_os_candidates ; do
20977 if test "x$mgl_os" = x
; then
20978 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20979 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
20980 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
20985 if test "x$mgl_lib_type" = x
; then
20986 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
20987 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
20988 mgl_lib_type
=release
20995 if test "x$mgl_os" = x
; then
20996 echo "$as_me:$LINENO: result: not found" >&5
20997 echo "${ECHO_T}not found" >&6
20998 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20999 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21000 { (exit 1); exit 1; }; }
21002 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21003 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21005 wxUSE_UNIVERSAL
="yes"
21007 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21008 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21010 AFMINSTALL
=afminstall
21015 if test "$wxUSE_MICROWIN" = 1; then
21016 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21017 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21018 if test "x$MICROWINDOWS" = x
; then
21019 echo "$as_me:$LINENO: result: not found" >&5
21020 echo "${ECHO_T}not found" >&6
21021 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21022 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21023 { (exit 1); exit 1; }; }
21025 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21026 echo "${ECHO_T}$MICROWINDOWS" >&6
21029 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21030 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21031 echo "${ECHO_T}MicroWindows' libraries found." >&6
21033 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21034 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21035 { (exit 1); exit 1; }; }
21038 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21039 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21041 wxUSE_UNIVERSAL
="yes"
21043 AFMINSTALL
=afminstall
21045 GUIDIST
=MICROWIN_DIST
21047 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21050 if test "$wxUSE_X11" = 1; then
21051 echo "$as_me:$LINENO: checking for X" >&5
21052 echo $ECHO_N "checking for X... $ECHO_C" >&6
21055 # Check whether --with-x or --without-x was given.
21056 if test "${with_x+set}" = set; then
21060 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21061 if test "x$with_x" = xno
; then
21062 # The user explicitly disabled X.
21065 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21066 # Both variables are already set.
21069 if test "${ac_cv_have_x+set}" = set; then
21070 echo $ECHO_N "(cached) $ECHO_C" >&6
21072 # One or both of the vars are not set, and there is no cached value.
21073 ac_x_includes
=no ac_x_libraries
=no
21074 rm -fr conftest.dir
21075 if mkdir conftest.dir
; then
21077 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21078 cat >Imakefile
<<'_ACEOF'
21080 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21082 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21083 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21084 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21085 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21086 for ac_extension
in a so sl
; do
21087 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21088 test -f $ac_im_libdir/libX11.
$ac_extension; then
21089 ac_im_usrlibdir
=$ac_im_libdir; break
21092 # Screen out bogus values from the imake configuration. They are
21093 # bogus both because they are the default anyway, and because
21094 # using them would break gcc on systems where it needs fixed includes.
21095 case $ac_im_incroot in
21097 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21099 case $ac_im_usrlibdir in
21100 /usr
/lib
| /lib
) ;;
21101 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21105 rm -fr conftest.dir
21108 # Standard set of common directories for X headers.
21109 # Check X11 before X11Rn because it is often a symlink to the current release.
21121 /usr/local/X11/include
21122 /usr/local/X11R6/include
21123 /usr/local/X11R5/include
21124 /usr/local/X11R4/include
21126 /usr/local/include/X11
21127 /usr/local/include/X11R6
21128 /usr/local/include/X11R5
21129 /usr/local/include/X11R4
21133 /usr/XFree86/include/X11
21137 /usr/unsupported/include
21138 /usr/athena/include
21139 /usr/local/x11r5/include
21140 /usr/lpp/Xamples/include
21142 /usr/openwin/include
21143 /usr/openwin/share/include'
21145 if test "$ac_x_includes" = no
; then
21146 # Guess where to find include files, by looking for Intrinsic.h.
21147 # First, try using that file with no special directory specified.
21148 cat >conftest.
$ac_ext <<_ACEOF
21149 #line $LINENO "configure"
21152 cat confdefs.h
>>conftest.
$ac_ext
21153 cat >>conftest.
$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 #include <X11/Intrinsic.h>
21157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21158 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21160 grep -v '^ *+' conftest.er1
>conftest.err
21162 cat conftest.err
>&5
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); } >/dev
/null
; then
21165 if test -s conftest.err
; then
21166 ac_cpp_err
=$ac_c_preproc_warn_flag
21173 if test -z "$ac_cpp_err"; then
21174 # We can compile using X headers with no special include directory.
21177 echo "$as_me: failed program was:" >&5
21178 sed 's/^/| /' conftest.
$ac_ext >&5
21180 for ac_dir
in $ac_x_header_dirs; do
21181 if test -r "$ac_dir/X11/Intrinsic.h"; then
21182 ac_x_includes
=$ac_dir
21187 rm -f conftest.err conftest.
$ac_ext
21188 fi # $ac_x_includes = no
21190 if test "$ac_x_libraries" = no
; then
21191 # Check for the libraries.
21192 # See if we find them without any special options.
21193 # Don't add to $LIBS permanently.
21196 cat >conftest.
$ac_ext <<_ACEOF
21197 #line $LINENO "configure"
21200 cat confdefs.h
>>conftest.
$ac_ext
21201 cat >>conftest.
$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21203 #include <X11/Intrinsic.h>
21212 rm -f conftest.
$ac_objext conftest
$ac_exeext
21213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21214 (eval $ac_link) 2>&5
21216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217 (exit $ac_status); } &&
21218 { ac_try
='test -s conftest$ac_exeext'
21219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21220 (eval $ac_try) 2>&5
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); }; }; then
21225 # We can link X programs with no special library path.
21228 echo "$as_me: failed program was:" >&5
21229 sed 's/^/| /' conftest.
$ac_ext >&5
21232 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21234 # Don't even attempt the hair of trying to link an X program!
21235 for ac_extension
in a so sl
; do
21236 if test -r $ac_dir/libXt.
$ac_extension; then
21237 ac_x_libraries
=$ac_dir
21243 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21244 fi # $ac_x_libraries = no
21246 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21247 # Didn't find X anywhere. Cache the known absence of X.
21248 ac_cv_have_x
="have_x=no"
21250 # Record where we found X for the cache.
21251 ac_cv_have_x
="have_x=yes \
21252 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21257 eval "$ac_cv_have_x"
21260 if test "$have_x" != yes; then
21261 echo "$as_me:$LINENO: result: $have_x" >&5
21262 echo "${ECHO_T}$have_x" >&6
21265 # If each of the values was on the command line, it overrides each guess.
21266 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21267 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21268 # Update the cache value to reflect the command line values.
21269 ac_cv_have_x
="have_x=yes \
21270 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21271 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21272 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21275 if test "$no_x" = yes; then
21276 # Not all programs may use this symbol, but it does not hurt to define it.
21278 cat >>confdefs.h
<<\_ACEOF
21279 #define X_DISPLAY_MISSING 1
21282 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21284 if test -n "$x_includes"; then
21285 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21288 # It would also be nice to do this for all -L options, not just this one.
21289 if test -n "$x_libraries"; then
21290 X_LIBS
="$X_LIBS -L$x_libraries"
21291 # For Solaris; some versions of Sun CC require a space after -R and
21292 # others require no space. Words are not sufficient . . . .
21293 case `(uname -sr) 2>/dev/null` in
21295 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21296 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21297 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21298 cat >conftest.
$ac_ext <<_ACEOF
21299 #line $LINENO "configure"
21302 cat confdefs.h
>>conftest.
$ac_ext
21303 cat >>conftest.
$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21314 rm -f conftest.
$ac_objext conftest
$ac_exeext
21315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21316 (eval $ac_link) 2>&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } &&
21320 { ac_try
='test -s conftest$ac_exeext'
21321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21322 (eval $ac_try) 2>&5
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); }; }; then
21328 echo "$as_me: failed program was:" >&5
21329 sed 's/^/| /' conftest.
$ac_ext >&5
21333 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21334 if test $ac_R_nospace = yes; then
21335 echo "$as_me:$LINENO: result: no" >&5
21336 echo "${ECHO_T}no" >&6
21337 X_LIBS
="$X_LIBS -R$x_libraries"
21339 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21340 cat >conftest.
$ac_ext <<_ACEOF
21341 #line $LINENO "configure"
21344 cat confdefs.h
>>conftest.
$ac_ext
21345 cat >>conftest.
$ac_ext <<_ACEOF
21346 /* end confdefs.h. */
21356 rm -f conftest.
$ac_objext conftest
$ac_exeext
21357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21358 (eval $ac_link) 2>&5
21360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361 (exit $ac_status); } &&
21362 { ac_try
='test -s conftest$ac_exeext'
21363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21364 (eval $ac_try) 2>&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); }; }; then
21370 echo "$as_me: failed program was:" >&5
21371 sed 's/^/| /' conftest.
$ac_ext >&5
21375 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21376 if test $ac_R_space = yes; then
21377 echo "$as_me:$LINENO: result: yes" >&5
21378 echo "${ECHO_T}yes" >&6
21379 X_LIBS
="$X_LIBS -R $x_libraries"
21381 echo "$as_me:$LINENO: result: neither works" >&5
21382 echo "${ECHO_T}neither works" >&6
21385 LIBS
=$ac_xsave_LIBS
21389 # Check for system-dependent libraries X programs must link with.
21390 # Do this before checking for the system-independent R6 libraries
21391 # (-lICE), since we may need -lsocket or whatever for X linking.
21393 if test "$ISC" = yes; then
21394 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21396 # Martyn Johnson says this is needed for Ultrix, if the X
21397 # libraries were built with DECnet support. And Karl Berry says
21398 # the Alpha needs dnet_stub (dnet does not exist).
21399 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21400 cat >conftest.
$ac_ext <<_ACEOF
21401 #line $LINENO "configure"
21404 cat confdefs.h
>>conftest.
$ac_ext
21405 cat >>conftest.
$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21408 /* Override any gcc2 internal prototype to avoid an error. */
21412 /* We use char because int might match the return type of a gcc2
21413 builtin and then its argument prototype would still apply. */
21414 char XOpenDisplay ();
21423 rm -f conftest.
$ac_objext conftest
$ac_exeext
21424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21425 (eval $ac_link) 2>&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); } &&
21429 { ac_try
='test -s conftest$ac_exeext'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; }; then
21437 echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.
$ac_ext >&5
21440 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21441 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21442 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21443 echo $ECHO_N "(cached) $ECHO_C" >&6
21445 ac_check_lib_save_LIBS
=$LIBS
21446 LIBS
="-ldnet $LIBS"
21447 cat >conftest.
$ac_ext <<_ACEOF
21448 #line $LINENO "configure"
21451 cat confdefs.h
>>conftest.
$ac_ext
21452 cat >>conftest.
$ac_ext <<_ACEOF
21453 /* end confdefs.h. */
21455 /* Override any gcc2 internal prototype to avoid an error. */
21459 /* We use char because int might match the return type of a gcc2
21460 builtin and then its argument prototype would still apply. */
21470 rm -f conftest.
$ac_objext conftest
$ac_exeext
21471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21472 (eval $ac_link) 2>&5
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); } &&
21476 { ac_try
='test -s conftest$ac_exeext'
21477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21478 (eval $ac_try) 2>&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); }; }; then
21482 ac_cv_lib_dnet_dnet_ntoa
=yes
21484 echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.
$ac_ext >&5
21487 ac_cv_lib_dnet_dnet_ntoa
=no
21489 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21490 LIBS
=$ac_check_lib_save_LIBS
21492 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21493 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21494 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21495 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21498 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21499 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21500 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21501 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21502 echo $ECHO_N "(cached) $ECHO_C" >&6
21504 ac_check_lib_save_LIBS
=$LIBS
21505 LIBS
="-ldnet_stub $LIBS"
21506 cat >conftest.
$ac_ext <<_ACEOF
21507 #line $LINENO "configure"
21510 cat confdefs.h
>>conftest.
$ac_ext
21511 cat >>conftest.
$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21514 /* Override any gcc2 internal prototype to avoid an error. */
21518 /* We use char because int might match the return type of a gcc2
21519 builtin and then its argument prototype would still apply. */
21529 rm -f conftest.
$ac_objext conftest
$ac_exeext
21530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21531 (eval $ac_link) 2>&5
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); } &&
21535 { ac_try
='test -s conftest$ac_exeext'
21536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21537 (eval $ac_try) 2>&5
21539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540 (exit $ac_status); }; }; then
21541 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21543 echo "$as_me: failed program was:" >&5
21544 sed 's/^/| /' conftest.
$ac_ext >&5
21546 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21548 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21549 LIBS
=$ac_check_lib_save_LIBS
21551 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21552 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21553 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21554 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21559 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21560 LIBS
="$ac_xsave_LIBS"
21562 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21563 # to get the SysV transport functions.
21564 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21566 # The nsl library prevents programs from opening the X display
21567 # on Irix 5.2, according to T.E. Dickey.
21568 # The functions gethostbyname, getservbyname, and inet_addr are
21569 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21570 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21571 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21572 if test "${ac_cv_func_gethostbyname+set}" = set; then
21573 echo $ECHO_N "(cached) $ECHO_C" >&6
21575 cat >conftest.
$ac_ext <<_ACEOF
21576 #line $LINENO "configure"
21579 cat confdefs.h
>>conftest.
$ac_ext
21580 cat >>conftest.
$ac_ext <<_ACEOF
21581 /* end confdefs.h. */
21582 /* System header to define __stub macros and hopefully few prototypes,
21583 which can conflict with char gethostbyname (); below.
21584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21585 <limits.h> exists even on freestanding compilers. */
21587 # include <limits.h>
21589 # include <assert.h>
21591 /* Override any gcc2 internal prototype to avoid an error. */
21596 /* We use char because int might match the return type of a gcc2
21597 builtin and then its argument prototype would still apply. */
21598 char gethostbyname ();
21599 /* The GNU C library defines this for functions which it implements
21600 to always fail with ENOSYS. Some functions are actually named
21601 something starting with __ and the normal name is an alias. */
21602 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21605 char (*f) () = gethostbyname;
21614 return f != gethostbyname;
21619 rm -f conftest.
$ac_objext conftest
$ac_exeext
21620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21621 (eval $ac_link) 2>&5
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); } &&
21625 { ac_try
='test -s conftest$ac_exeext'
21626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21627 (eval $ac_try) 2>&5
21629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630 (exit $ac_status); }; }; then
21631 ac_cv_func_gethostbyname
=yes
21633 echo "$as_me: failed program was:" >&5
21634 sed 's/^/| /' conftest.
$ac_ext >&5
21636 ac_cv_func_gethostbyname
=no
21638 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21640 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21641 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21643 if test $ac_cv_func_gethostbyname = no
; then
21644 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21645 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21646 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21647 echo $ECHO_N "(cached) $ECHO_C" >&6
21649 ac_check_lib_save_LIBS
=$LIBS
21651 cat >conftest.
$ac_ext <<_ACEOF
21652 #line $LINENO "configure"
21655 cat confdefs.h
>>conftest.
$ac_ext
21656 cat >>conftest.
$ac_ext <<_ACEOF
21657 /* end confdefs.h. */
21659 /* Override any gcc2 internal prototype to avoid an error. */
21663 /* We use char because int might match the return type of a gcc2
21664 builtin and then its argument prototype would still apply. */
21665 char gethostbyname ();
21674 rm -f conftest.
$ac_objext conftest
$ac_exeext
21675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21676 (eval $ac_link) 2>&5
21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679 (exit $ac_status); } &&
21680 { ac_try
='test -s conftest$ac_exeext'
21681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21682 (eval $ac_try) 2>&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); }; }; then
21686 ac_cv_lib_nsl_gethostbyname
=yes
21688 echo "$as_me: failed program was:" >&5
21689 sed 's/^/| /' conftest.
$ac_ext >&5
21691 ac_cv_lib_nsl_gethostbyname
=no
21693 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21694 LIBS
=$ac_check_lib_save_LIBS
21696 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21697 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21698 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21699 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21702 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21703 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21704 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21705 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21706 echo $ECHO_N "(cached) $ECHO_C" >&6
21708 ac_check_lib_save_LIBS
=$LIBS
21710 cat >conftest.
$ac_ext <<_ACEOF
21711 #line $LINENO "configure"
21714 cat confdefs.h
>>conftest.
$ac_ext
21715 cat >>conftest.
$ac_ext <<_ACEOF
21716 /* end confdefs.h. */
21718 /* Override any gcc2 internal prototype to avoid an error. */
21722 /* We use char because int might match the return type of a gcc2
21723 builtin and then its argument prototype would still apply. */
21724 char gethostbyname ();
21733 rm -f conftest.
$ac_objext conftest
$ac_exeext
21734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21735 (eval $ac_link) 2>&5
21737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738 (exit $ac_status); } &&
21739 { ac_try
='test -s conftest$ac_exeext'
21740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21741 (eval $ac_try) 2>&5
21743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744 (exit $ac_status); }; }; then
21745 ac_cv_lib_bsd_gethostbyname
=yes
21747 echo "$as_me: failed program was:" >&5
21748 sed 's/^/| /' conftest.
$ac_ext >&5
21750 ac_cv_lib_bsd_gethostbyname
=no
21752 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21753 LIBS
=$ac_check_lib_save_LIBS
21755 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21756 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21757 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21758 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21764 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21765 # socket/setsockopt and other routines are undefined under SCO ODT
21766 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21767 # on later versions), says Simon Leinen: it contains gethostby*
21768 # variants that don't use the name server (or something). -lsocket
21769 # must be given before -lnsl if both are needed. We assume that
21770 # if connect needs -lnsl, so does gethostbyname.
21771 echo "$as_me:$LINENO: checking for connect" >&5
21772 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21773 if test "${ac_cv_func_connect+set}" = set; then
21774 echo $ECHO_N "(cached) $ECHO_C" >&6
21776 cat >conftest.
$ac_ext <<_ACEOF
21777 #line $LINENO "configure"
21780 cat confdefs.h
>>conftest.
$ac_ext
21781 cat >>conftest.
$ac_ext <<_ACEOF
21782 /* end confdefs.h. */
21783 /* System header to define __stub macros and hopefully few prototypes,
21784 which can conflict with char connect (); below.
21785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21786 <limits.h> exists even on freestanding compilers. */
21788 # include <limits.h>
21790 # include <assert.h>
21792 /* Override any gcc2 internal prototype to avoid an error. */
21797 /* We use char because int might match the return type of a gcc2
21798 builtin and then its argument prototype would still apply. */
21800 /* The GNU C library defines this for functions which it implements
21801 to always fail with ENOSYS. Some functions are actually named
21802 something starting with __ and the normal name is an alias. */
21803 #if defined (__stub_connect) || defined (__stub___connect)
21806 char (*f) () = connect;
21815 return f != connect;
21820 rm -f conftest.
$ac_objext conftest
$ac_exeext
21821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21822 (eval $ac_link) 2>&5
21824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825 (exit $ac_status); } &&
21826 { ac_try
='test -s conftest$ac_exeext'
21827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21828 (eval $ac_try) 2>&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); }; }; then
21832 ac_cv_func_connect
=yes
21834 echo "$as_me: failed program was:" >&5
21835 sed 's/^/| /' conftest.
$ac_ext >&5
21837 ac_cv_func_connect
=no
21839 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21841 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21842 echo "${ECHO_T}$ac_cv_func_connect" >&6
21844 if test $ac_cv_func_connect = no
; then
21845 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21846 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21847 if test "${ac_cv_lib_socket_connect+set}" = set; then
21848 echo $ECHO_N "(cached) $ECHO_C" >&6
21850 ac_check_lib_save_LIBS
=$LIBS
21851 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21852 cat >conftest.
$ac_ext <<_ACEOF
21853 #line $LINENO "configure"
21856 cat confdefs.h
>>conftest.
$ac_ext
21857 cat >>conftest.
$ac_ext <<_ACEOF
21858 /* end confdefs.h. */
21860 /* Override any gcc2 internal prototype to avoid an error. */
21864 /* We use char because int might match the return type of a gcc2
21865 builtin and then its argument prototype would still apply. */
21875 rm -f conftest.
$ac_objext conftest
$ac_exeext
21876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21877 (eval $ac_link) 2>&5
21879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21880 (exit $ac_status); } &&
21881 { ac_try
='test -s conftest$ac_exeext'
21882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21883 (eval $ac_try) 2>&5
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); }; }; then
21887 ac_cv_lib_socket_connect
=yes
21889 echo "$as_me: failed program was:" >&5
21890 sed 's/^/| /' conftest.
$ac_ext >&5
21892 ac_cv_lib_socket_connect
=no
21894 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21895 LIBS
=$ac_check_lib_save_LIBS
21897 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21898 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21899 if test $ac_cv_lib_socket_connect = yes; then
21900 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
21905 # Guillermo Gomez says -lposix is necessary on A/UX.
21906 echo "$as_me:$LINENO: checking for remove" >&5
21907 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21908 if test "${ac_cv_func_remove+set}" = set; then
21909 echo $ECHO_N "(cached) $ECHO_C" >&6
21911 cat >conftest.
$ac_ext <<_ACEOF
21912 #line $LINENO "configure"
21915 cat confdefs.h
>>conftest.
$ac_ext
21916 cat >>conftest.
$ac_ext <<_ACEOF
21917 /* end confdefs.h. */
21918 /* System header to define __stub macros and hopefully few prototypes,
21919 which can conflict with char remove (); below.
21920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21921 <limits.h> exists even on freestanding compilers. */
21923 # include <limits.h>
21925 # include <assert.h>
21927 /* Override any gcc2 internal prototype to avoid an error. */
21932 /* We use char because int might match the return type of a gcc2
21933 builtin and then its argument prototype would still apply. */
21935 /* The GNU C library defines this for functions which it implements
21936 to always fail with ENOSYS. Some functions are actually named
21937 something starting with __ and the normal name is an alias. */
21938 #if defined (__stub_remove) || defined (__stub___remove)
21941 char (*f) () = remove;
21950 return f != remove;
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_func_remove
=yes
21969 echo "$as_me: failed program was:" >&5
21970 sed 's/^/| /' conftest.
$ac_ext >&5
21972 ac_cv_func_remove
=no
21974 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21976 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21977 echo "${ECHO_T}$ac_cv_func_remove" >&6
21979 if test $ac_cv_func_remove = no
; then
21980 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21981 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21982 if test "${ac_cv_lib_posix_remove+set}" = set; then
21983 echo $ECHO_N "(cached) $ECHO_C" >&6
21985 ac_check_lib_save_LIBS
=$LIBS
21986 LIBS
="-lposix $LIBS"
21987 cat >conftest.
$ac_ext <<_ACEOF
21988 #line $LINENO "configure"
21991 cat confdefs.h
>>conftest.
$ac_ext
21992 cat >>conftest.
$ac_ext <<_ACEOF
21993 /* end confdefs.h. */
21995 /* Override any gcc2 internal prototype to avoid an error. */
21999 /* We use char because int might match the return type of a gcc2
22000 builtin and then its argument prototype would still apply. */
22010 rm -f conftest.
$ac_objext conftest
$ac_exeext
22011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22012 (eval $ac_link) 2>&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); } &&
22016 { ac_try
='test -s conftest$ac_exeext'
22017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22018 (eval $ac_try) 2>&5
22020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021 (exit $ac_status); }; }; then
22022 ac_cv_lib_posix_remove
=yes
22024 echo "$as_me: failed program was:" >&5
22025 sed 's/^/| /' conftest.
$ac_ext >&5
22027 ac_cv_lib_posix_remove
=no
22029 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22030 LIBS
=$ac_check_lib_save_LIBS
22032 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22033 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22034 if test $ac_cv_lib_posix_remove = yes; then
22035 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22040 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22041 echo "$as_me:$LINENO: checking for shmat" >&5
22042 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22043 if test "${ac_cv_func_shmat+set}" = set; then
22044 echo $ECHO_N "(cached) $ECHO_C" >&6
22046 cat >conftest.
$ac_ext <<_ACEOF
22047 #line $LINENO "configure"
22050 cat confdefs.h
>>conftest.
$ac_ext
22051 cat >>conftest.
$ac_ext <<_ACEOF
22052 /* end confdefs.h. */
22053 /* System header to define __stub macros and hopefully few prototypes,
22054 which can conflict with char shmat (); below.
22055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22056 <limits.h> exists even on freestanding compilers. */
22058 # include <limits.h>
22060 # include <assert.h>
22062 /* Override any gcc2 internal prototype to avoid an error. */
22067 /* We use char because int might match the return type of a gcc2
22068 builtin and then its argument prototype would still apply. */
22070 /* The GNU C library defines this for functions which it implements
22071 to always fail with ENOSYS. Some functions are actually named
22072 something starting with __ and the normal name is an alias. */
22073 #if defined (__stub_shmat) || defined (__stub___shmat)
22076 char (*f) () = shmat;
22090 rm -f conftest.
$ac_objext conftest
$ac_exeext
22091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22092 (eval $ac_link) 2>&5
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); } &&
22096 { ac_try
='test -s conftest$ac_exeext'
22097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22098 (eval $ac_try) 2>&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); }; }; then
22102 ac_cv_func_shmat
=yes
22104 echo "$as_me: failed program was:" >&5
22105 sed 's/^/| /' conftest.
$ac_ext >&5
22107 ac_cv_func_shmat
=no
22109 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22111 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22112 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22114 if test $ac_cv_func_shmat = no
; then
22115 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22116 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22117 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22118 echo $ECHO_N "(cached) $ECHO_C" >&6
22120 ac_check_lib_save_LIBS
=$LIBS
22122 cat >conftest.
$ac_ext <<_ACEOF
22123 #line $LINENO "configure"
22126 cat confdefs.h
>>conftest.
$ac_ext
22127 cat >>conftest.
$ac_ext <<_ACEOF
22128 /* end confdefs.h. */
22130 /* Override any gcc2 internal prototype to avoid an error. */
22134 /* We use char because int might match the return type of a gcc2
22135 builtin and then its argument prototype would still apply. */
22145 rm -f conftest.
$ac_objext conftest
$ac_exeext
22146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22147 (eval $ac_link) 2>&5
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); } &&
22151 { ac_try
='test -s conftest$ac_exeext'
22152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22153 (eval $ac_try) 2>&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); }; }; then
22157 ac_cv_lib_ipc_shmat
=yes
22159 echo "$as_me: failed program was:" >&5
22160 sed 's/^/| /' conftest.
$ac_ext >&5
22162 ac_cv_lib_ipc_shmat
=no
22164 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22165 LIBS
=$ac_check_lib_save_LIBS
22167 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22168 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22169 if test $ac_cv_lib_ipc_shmat = yes; then
22170 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22176 # Check for libraries that X11R6 Xt/Xaw programs need.
22177 ac_save_LDFLAGS
=$LDFLAGS
22178 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22179 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22180 # check for ICE first), but we must link in the order -lSM -lICE or
22181 # we get undefined symbols. So assume we have SM if we have ICE.
22182 # These have to be linked with before -lX11, unlike the other
22183 # libraries we check for below, so use a different variable.
22184 # John Interrante, Karl Berry
22185 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22186 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22187 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22188 echo $ECHO_N "(cached) $ECHO_C" >&6
22190 ac_check_lib_save_LIBS
=$LIBS
22191 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22192 cat >conftest.
$ac_ext <<_ACEOF
22193 #line $LINENO "configure"
22196 cat confdefs.h
>>conftest.
$ac_ext
22197 cat >>conftest.
$ac_ext <<_ACEOF
22198 /* end confdefs.h. */
22200 /* Override any gcc2 internal prototype to avoid an error. */
22204 /* We use char because int might match the return type of a gcc2
22205 builtin and then its argument prototype would still apply. */
22206 char IceConnectionNumber ();
22210 IceConnectionNumber ();
22215 rm -f conftest.
$ac_objext conftest
$ac_exeext
22216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22217 (eval $ac_link) 2>&5
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); } &&
22221 { ac_try
='test -s conftest$ac_exeext'
22222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22223 (eval $ac_try) 2>&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); }; }; then
22227 ac_cv_lib_ICE_IceConnectionNumber
=yes
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.
$ac_ext >&5
22232 ac_cv_lib_ICE_IceConnectionNumber
=no
22234 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22235 LIBS
=$ac_check_lib_save_LIBS
22237 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22238 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22239 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22240 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22243 LDFLAGS
=$ac_save_LDFLAGS
22248 if test "$no_x" = "yes"; then
22249 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22250 echo "$as_me: error: X11 not found" >&2;}
22251 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22254 GUI_TK_LIBRARY
="$X_LIBS"
22255 TOOLKIT_INCLUDE
="$X_CFLAGS"
22256 AFMINSTALL
=afminstall
22257 COMPILED_X_PROGRAM
=0
22259 if test "$wxUSE_NANOX" = "yes"; then
22260 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22261 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22262 if test "x$MICROWIN" = x
; then
22263 echo "$as_me:$LINENO: result: not found" >&5
22264 echo "${ECHO_T}not found" >&6
22265 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22266 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22267 { (exit 1); exit 1; }; }
22269 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22270 echo "${ECHO_T}$MICROWIN" >&6
22271 cat >>confdefs.h
<<\_ACEOF
22272 #define wxUSE_NANOX 1
22279 echo "$as_me:$LINENO: checking for Xpm library" >&5
22280 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22283 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22285 for ac_extension
in a so sl dylib
; do
22286 if test -f "$ac_dir/libXpm.$ac_extension"; then
22287 ac_find_libraries
=$ac_dir
22293 if test "$ac_find_libraries" != "" ; then
22295 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22297 if test $result = 0; then
22300 ac_path_to_link
=" -L$ac_find_libraries"
22303 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22305 cat >>confdefs.h
<<\_ACEOF
22306 #define wxHAVE_LIB_XPM 1
22309 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22310 echo "${ECHO_T}found at $ac_find_libraries" >&6
22312 cat >conftest.
$ac_ext <<_ACEOF
22313 #line $LINENO "configure"
22316 cat confdefs.h
>>conftest.
$ac_ext
22317 cat >>conftest.
$ac_ext <<_ACEOF
22318 /* end confdefs.h. */
22320 #include <X11/xpm.h>
22327 version = XpmLibraryVersion();
22333 rm -f conftest.
$ac_objext
22334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22335 (eval $ac_compile) 2>&5
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); } &&
22339 { ac_try
='test -s conftest.$ac_objext'
22340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22341 (eval $ac_try) 2>&5
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); }; }; then
22347 cat >>confdefs.h
<<\_ACEOF
22348 #define wxHAVE_LIB_XPM 1
22351 echo "$as_me:$LINENO: result: found in default search path" >&5
22352 echo "${ECHO_T}found in default search path" >&6
22353 COMPILED_X_PROGRAM
=0
22356 echo "$as_me: failed program was:" >&5
22357 sed 's/^/| /' conftest.
$ac_ext >&5
22360 echo "$as_me:$LINENO: result: no" >&5
22361 echo "${ECHO_T}no" >&6
22362 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22363 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22367 rm -f conftest.
$ac_objext conftest.
$ac_ext
22370 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22371 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22372 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22373 echo $ECHO_N "(cached) $ECHO_C" >&6
22375 ac_check_lib_save_LIBS
=$LIBS
22376 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22377 cat >conftest.
$ac_ext <<_ACEOF
22378 #line $LINENO "configure"
22381 cat confdefs.h
>>conftest.
$ac_ext
22382 cat >>conftest.
$ac_ext <<_ACEOF
22383 /* end confdefs.h. */
22385 /* Override any gcc2 internal prototype to avoid an error. */
22389 /* We use char because int might match the return type of a gcc2
22390 builtin and then its argument prototype would still apply. */
22391 char XShapeQueryExtension ();
22395 XShapeQueryExtension ();
22400 rm -f conftest.
$ac_objext conftest
$ac_exeext
22401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22402 (eval $ac_link) 2>&5
22404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405 (exit $ac_status); } &&
22406 { ac_try
='test -s conftest$ac_exeext'
22407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22408 (eval $ac_try) 2>&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); }; }; then
22412 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22414 echo "$as_me: failed program was:" >&5
22415 sed 's/^/| /' conftest.
$ac_ext >&5
22417 ac_cv_lib_Xext_XShapeQueryExtension
=no
22419 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22420 LIBS
=$ac_check_lib_save_LIBS
22422 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22423 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22424 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22426 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22432 if test "$wxUSE_UNICODE" = "yes"; then
22436 if test -z "$PKG_CONFIG"; then
22437 # Extract the first word of "pkg-config", so it can be a program name with args.
22438 set dummy pkg
-config; ac_word
=$2
22439 echo "$as_me:$LINENO: checking for $ac_word" >&5
22440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22441 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22442 echo $ECHO_N "(cached) $ECHO_C" >&6
22444 case $PKG_CONFIG in
22446 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22450 for as_dir
in $PATH
22453 test -z "$as_dir" && as_dir
=.
22454 for ac_exec_ext
in '' $ac_executable_extensions; do
22455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22456 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22463 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22467 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22469 if test -n "$PKG_CONFIG"; then
22470 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22471 echo "${ECHO_T}$PKG_CONFIG" >&6
22473 echo "$as_me:$LINENO: result: no" >&5
22474 echo "${ECHO_T}no" >&6
22479 if test "$PKG_CONFIG" = "no" ; then
22480 echo "*** The pkg-config script could not be found. Make sure it is"
22481 echo "*** in your path, or set the PKG_CONFIG environment variable"
22482 echo "*** to the full path to pkg-config."
22483 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22485 PKG_CONFIG_MIN_VERSION
=0.9.0
22486 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22487 echo "$as_me:$LINENO: checking for pangox" >&5
22488 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22490 if $PKG_CONFIG --exists "pangox" ; then
22491 echo "$as_me:$LINENO: result: yes" >&5
22492 echo "${ECHO_T}yes" >&6
22495 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22496 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22497 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22498 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22499 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22501 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22502 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22503 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22504 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22505 echo "${ECHO_T}$PANGOX_LIBS" >&6
22509 ## If we have a custom action on failure, don't print errors, but
22510 ## do set a variable so people can do so.
22511 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22518 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22519 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22523 if test $succeeded = yes; then
22525 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22526 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22530 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22531 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22532 { (exit 1); exit 1; }; }
22540 if test -z "$PKG_CONFIG"; then
22541 # Extract the first word of "pkg-config", so it can be a program name with args.
22542 set dummy pkg
-config; ac_word
=$2
22543 echo "$as_me:$LINENO: checking for $ac_word" >&5
22544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22545 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22546 echo $ECHO_N "(cached) $ECHO_C" >&6
22548 case $PKG_CONFIG in
22550 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22554 for as_dir
in $PATH
22557 test -z "$as_dir" && as_dir
=.
22558 for ac_exec_ext
in '' $ac_executable_extensions; do
22559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22560 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22567 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22571 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22573 if test -n "$PKG_CONFIG"; then
22574 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22575 echo "${ECHO_T}$PKG_CONFIG" >&6
22577 echo "$as_me:$LINENO: result: no" >&5
22578 echo "${ECHO_T}no" >&6
22583 if test "$PKG_CONFIG" = "no" ; then
22584 echo "*** The pkg-config script could not be found. Make sure it is"
22585 echo "*** in your path, or set the PKG_CONFIG environment variable"
22586 echo "*** to the full path to pkg-config."
22587 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22589 PKG_CONFIG_MIN_VERSION
=0.9.0
22590 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22591 echo "$as_me:$LINENO: checking for pangoft2" >&5
22592 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22594 if $PKG_CONFIG --exists "pangoft2" ; then
22595 echo "$as_me:$LINENO: result: yes" >&5
22596 echo "${ECHO_T}yes" >&6
22599 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22600 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22601 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22602 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22603 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22605 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22606 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22607 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22608 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22609 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22613 ## If we have a custom action on failure, don't print errors, but
22614 ## do set a variable so people can do so.
22615 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22622 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22623 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22627 if test $succeeded = yes; then
22629 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22630 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22634 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22635 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22636 wxUSE_PRINTING_ARCHITECTURE
="no"
22644 if test -z "$PKG_CONFIG"; then
22645 # Extract the first word of "pkg-config", so it can be a program name with args.
22646 set dummy pkg
-config; ac_word
=$2
22647 echo "$as_me:$LINENO: checking for $ac_word" >&5
22648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22649 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22650 echo $ECHO_N "(cached) $ECHO_C" >&6
22652 case $PKG_CONFIG in
22654 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22658 for as_dir
in $PATH
22661 test -z "$as_dir" && as_dir
=.
22662 for ac_exec_ext
in '' $ac_executable_extensions; do
22663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22664 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22671 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22675 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22677 if test -n "$PKG_CONFIG"; then
22678 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22679 echo "${ECHO_T}$PKG_CONFIG" >&6
22681 echo "$as_me:$LINENO: result: no" >&5
22682 echo "${ECHO_T}no" >&6
22687 if test "$PKG_CONFIG" = "no" ; then
22688 echo "*** The pkg-config script could not be found. Make sure it is"
22689 echo "*** in your path, or set the PKG_CONFIG environment variable"
22690 echo "*** to the full path to pkg-config."
22691 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22693 PKG_CONFIG_MIN_VERSION
=0.9.0
22694 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22695 echo "$as_me:$LINENO: checking for pangoxft" >&5
22696 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22698 if $PKG_CONFIG --exists "pangoxft" ; then
22699 echo "$as_me:$LINENO: result: yes" >&5
22700 echo "${ECHO_T}yes" >&6
22703 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22704 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22705 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22706 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22707 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22709 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22710 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22711 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22712 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22713 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22717 ## If we have a custom action on failure, don't print errors, but
22718 ## do set a variable so people can do so.
22719 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22726 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22727 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22731 if test $succeeded = yes; then
22733 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22734 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22738 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22739 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22746 wxUSE_UNIVERSAL
="yes"
22748 if test "$wxUSE_NANOX" = "yes"; then
22749 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22750 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"
22751 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22753 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22756 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22761 if test "$wxUSE_MOTIF" = 1; then
22762 if test "$no_x" = yes; then
22763 # Not all programs may use this symbol, but it does not hurt to define it.
22765 cat >>confdefs.h
<<\_ACEOF
22766 #define X_DISPLAY_MISSING 1
22769 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22771 if test -n "$x_includes"; then
22772 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22775 # It would also be nice to do this for all -L options, not just this one.
22776 if test -n "$x_libraries"; then
22777 X_LIBS
="$X_LIBS -L$x_libraries"
22778 # For Solaris; some versions of Sun CC require a space after -R and
22779 # others require no space. Words are not sufficient . . . .
22780 case `(uname -sr) 2>/dev/null` in
22782 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22783 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22784 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22785 cat >conftest.
$ac_ext <<_ACEOF
22786 #line $LINENO "configure"
22789 cat confdefs.h
>>conftest.
$ac_ext
22790 cat >>conftest.
$ac_ext <<_ACEOF
22791 /* end confdefs.h. */
22801 rm -f conftest.
$ac_objext conftest
$ac_exeext
22802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22803 (eval $ac_link) 2>&5
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); } &&
22807 { ac_try
='test -s conftest$ac_exeext'
22808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22809 (eval $ac_try) 2>&5
22811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812 (exit $ac_status); }; }; then
22815 echo "$as_me: failed program was:" >&5
22816 sed 's/^/| /' conftest.
$ac_ext >&5
22820 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22821 if test $ac_R_nospace = yes; then
22822 echo "$as_me:$LINENO: result: no" >&5
22823 echo "${ECHO_T}no" >&6
22824 X_LIBS
="$X_LIBS -R$x_libraries"
22826 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22827 cat >conftest.
$ac_ext <<_ACEOF
22828 #line $LINENO "configure"
22831 cat confdefs.h
>>conftest.
$ac_ext
22832 cat >>conftest.
$ac_ext <<_ACEOF
22833 /* end confdefs.h. */
22843 rm -f conftest.
$ac_objext conftest
$ac_exeext
22844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22845 (eval $ac_link) 2>&5
22847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848 (exit $ac_status); } &&
22849 { ac_try
='test -s conftest$ac_exeext'
22850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22851 (eval $ac_try) 2>&5
22853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854 (exit $ac_status); }; }; then
22857 echo "$as_me: failed program was:" >&5
22858 sed 's/^/| /' conftest.
$ac_ext >&5
22862 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22863 if test $ac_R_space = yes; then
22864 echo "$as_me:$LINENO: result: yes" >&5
22865 echo "${ECHO_T}yes" >&6
22866 X_LIBS
="$X_LIBS -R $x_libraries"
22868 echo "$as_me:$LINENO: result: neither works" >&5
22869 echo "${ECHO_T}neither works" >&6
22872 LIBS
=$ac_xsave_LIBS
22876 # Check for system-dependent libraries X programs must link with.
22877 # Do this before checking for the system-independent R6 libraries
22878 # (-lICE), since we may need -lsocket or whatever for X linking.
22880 if test "$ISC" = yes; then
22881 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
22883 # Martyn Johnson says this is needed for Ultrix, if the X
22884 # libraries were built with DECnet support. And Karl Berry says
22885 # the Alpha needs dnet_stub (dnet does not exist).
22886 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
22887 cat >conftest.
$ac_ext <<_ACEOF
22888 #line $LINENO "configure"
22891 cat confdefs.h
>>conftest.
$ac_ext
22892 cat >>conftest.
$ac_ext <<_ACEOF
22893 /* end confdefs.h. */
22895 /* Override any gcc2 internal prototype to avoid an error. */
22899 /* We use char because int might match the return type of a gcc2
22900 builtin and then its argument prototype would still apply. */
22901 char XOpenDisplay ();
22910 rm -f conftest.
$ac_objext conftest
$ac_exeext
22911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22912 (eval $ac_link) 2>&5
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); } &&
22916 { ac_try
='test -s conftest$ac_exeext'
22917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22918 (eval $ac_try) 2>&5
22920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22921 (exit $ac_status); }; }; then
22924 echo "$as_me: failed program was:" >&5
22925 sed 's/^/| /' conftest.
$ac_ext >&5
22927 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22928 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22929 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22930 echo $ECHO_N "(cached) $ECHO_C" >&6
22932 ac_check_lib_save_LIBS
=$LIBS
22933 LIBS
="-ldnet $LIBS"
22934 cat >conftest.
$ac_ext <<_ACEOF
22935 #line $LINENO "configure"
22938 cat confdefs.h
>>conftest.
$ac_ext
22939 cat >>conftest.
$ac_ext <<_ACEOF
22940 /* end confdefs.h. */
22942 /* Override any gcc2 internal prototype to avoid an error. */
22946 /* We use char because int might match the return type of a gcc2
22947 builtin and then its argument prototype would still apply. */
22957 rm -f conftest.
$ac_objext conftest
$ac_exeext
22958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22959 (eval $ac_link) 2>&5
22961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22962 (exit $ac_status); } &&
22963 { ac_try
='test -s conftest$ac_exeext'
22964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22965 (eval $ac_try) 2>&5
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); }; }; then
22969 ac_cv_lib_dnet_dnet_ntoa
=yes
22971 echo "$as_me: failed program was:" >&5
22972 sed 's/^/| /' conftest.
$ac_ext >&5
22974 ac_cv_lib_dnet_dnet_ntoa
=no
22976 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22977 LIBS
=$ac_check_lib_save_LIBS
22979 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22980 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22981 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22982 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
22985 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
22986 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22987 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22988 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22989 echo $ECHO_N "(cached) $ECHO_C" >&6
22991 ac_check_lib_save_LIBS
=$LIBS
22992 LIBS
="-ldnet_stub $LIBS"
22993 cat >conftest.
$ac_ext <<_ACEOF
22994 #line $LINENO "configure"
22997 cat confdefs.h
>>conftest.
$ac_ext
22998 cat >>conftest.
$ac_ext <<_ACEOF
22999 /* end confdefs.h. */
23001 /* Override any gcc2 internal prototype to avoid an error. */
23005 /* We use char because int might match the return type of a gcc2
23006 builtin and then its argument prototype would still apply. */
23016 rm -f conftest.
$ac_objext conftest
$ac_exeext
23017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23018 (eval $ac_link) 2>&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); } &&
23022 { ac_try
='test -s conftest$ac_exeext'
23023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23024 (eval $ac_try) 2>&5
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); }; }; then
23028 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23030 echo "$as_me: failed program was:" >&5
23031 sed 's/^/| /' conftest.
$ac_ext >&5
23033 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23035 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23036 LIBS
=$ac_check_lib_save_LIBS
23038 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23039 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23040 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23041 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23046 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23047 LIBS
="$ac_xsave_LIBS"
23049 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23050 # to get the SysV transport functions.
23051 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23053 # The nsl library prevents programs from opening the X display
23054 # on Irix 5.2, according to T.E. Dickey.
23055 # The functions gethostbyname, getservbyname, and inet_addr are
23056 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23057 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23058 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23059 if test "${ac_cv_func_gethostbyname+set}" = set; then
23060 echo $ECHO_N "(cached) $ECHO_C" >&6
23062 cat >conftest.
$ac_ext <<_ACEOF
23063 #line $LINENO "configure"
23066 cat confdefs.h
>>conftest.
$ac_ext
23067 cat >>conftest.
$ac_ext <<_ACEOF
23068 /* end confdefs.h. */
23069 /* System header to define __stub macros and hopefully few prototypes,
23070 which can conflict with char gethostbyname (); below.
23071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23072 <limits.h> exists even on freestanding compilers. */
23074 # include <limits.h>
23076 # include <assert.h>
23078 /* Override any gcc2 internal prototype to avoid an error. */
23083 /* We use char because int might match the return type of a gcc2
23084 builtin and then its argument prototype would still apply. */
23085 char gethostbyname ();
23086 /* The GNU C library defines this for functions which it implements
23087 to always fail with ENOSYS. Some functions are actually named
23088 something starting with __ and the normal name is an alias. */
23089 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23092 char (*f) () = gethostbyname;
23101 return f != gethostbyname;
23106 rm -f conftest.
$ac_objext conftest
$ac_exeext
23107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23108 (eval $ac_link) 2>&5
23110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111 (exit $ac_status); } &&
23112 { ac_try
='test -s conftest$ac_exeext'
23113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23114 (eval $ac_try) 2>&5
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); }; }; then
23118 ac_cv_func_gethostbyname
=yes
23120 echo "$as_me: failed program was:" >&5
23121 sed 's/^/| /' conftest.
$ac_ext >&5
23123 ac_cv_func_gethostbyname
=no
23125 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23127 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23128 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23130 if test $ac_cv_func_gethostbyname = no
; then
23131 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23132 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23133 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23134 echo $ECHO_N "(cached) $ECHO_C" >&6
23136 ac_check_lib_save_LIBS
=$LIBS
23138 cat >conftest.
$ac_ext <<_ACEOF
23139 #line $LINENO "configure"
23142 cat confdefs.h
>>conftest.
$ac_ext
23143 cat >>conftest.
$ac_ext <<_ACEOF
23144 /* end confdefs.h. */
23146 /* Override any gcc2 internal prototype to avoid an error. */
23150 /* We use char because int might match the return type of a gcc2
23151 builtin and then its argument prototype would still apply. */
23152 char gethostbyname ();
23161 rm -f conftest.
$ac_objext conftest
$ac_exeext
23162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23163 (eval $ac_link) 2>&5
23165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166 (exit $ac_status); } &&
23167 { ac_try
='test -s conftest$ac_exeext'
23168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23169 (eval $ac_try) 2>&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); }; }; then
23173 ac_cv_lib_nsl_gethostbyname
=yes
23175 echo "$as_me: failed program was:" >&5
23176 sed 's/^/| /' conftest.
$ac_ext >&5
23178 ac_cv_lib_nsl_gethostbyname
=no
23180 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23181 LIBS
=$ac_check_lib_save_LIBS
23183 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23184 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23185 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23186 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23189 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23190 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23191 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23192 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23193 echo $ECHO_N "(cached) $ECHO_C" >&6
23195 ac_check_lib_save_LIBS
=$LIBS
23197 cat >conftest.
$ac_ext <<_ACEOF
23198 #line $LINENO "configure"
23201 cat confdefs.h
>>conftest.
$ac_ext
23202 cat >>conftest.
$ac_ext <<_ACEOF
23203 /* end confdefs.h. */
23205 /* Override any gcc2 internal prototype to avoid an error. */
23209 /* We use char because int might match the return type of a gcc2
23210 builtin and then its argument prototype would still apply. */
23211 char gethostbyname ();
23220 rm -f conftest.
$ac_objext conftest
$ac_exeext
23221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23222 (eval $ac_link) 2>&5
23224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225 (exit $ac_status); } &&
23226 { ac_try
='test -s conftest$ac_exeext'
23227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23228 (eval $ac_try) 2>&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); }; }; then
23232 ac_cv_lib_bsd_gethostbyname
=yes
23234 echo "$as_me: failed program was:" >&5
23235 sed 's/^/| /' conftest.
$ac_ext >&5
23237 ac_cv_lib_bsd_gethostbyname
=no
23239 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23240 LIBS
=$ac_check_lib_save_LIBS
23242 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23243 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23244 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23245 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23251 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23252 # socket/setsockopt and other routines are undefined under SCO ODT
23253 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23254 # on later versions), says Simon Leinen: it contains gethostby*
23255 # variants that don't use the name server (or something). -lsocket
23256 # must be given before -lnsl if both are needed. We assume that
23257 # if connect needs -lnsl, so does gethostbyname.
23258 echo "$as_me:$LINENO: checking for connect" >&5
23259 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23260 if test "${ac_cv_func_connect+set}" = set; then
23261 echo $ECHO_N "(cached) $ECHO_C" >&6
23263 cat >conftest.
$ac_ext <<_ACEOF
23264 #line $LINENO "configure"
23267 cat confdefs.h
>>conftest.
$ac_ext
23268 cat >>conftest.
$ac_ext <<_ACEOF
23269 /* end confdefs.h. */
23270 /* System header to define __stub macros and hopefully few prototypes,
23271 which can conflict with char connect (); below.
23272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23273 <limits.h> exists even on freestanding compilers. */
23275 # include <limits.h>
23277 # include <assert.h>
23279 /* Override any gcc2 internal prototype to avoid an error. */
23284 /* We use char because int might match the return type of a gcc2
23285 builtin and then its argument prototype would still apply. */
23287 /* The GNU C library defines this for functions which it implements
23288 to always fail with ENOSYS. Some functions are actually named
23289 something starting with __ and the normal name is an alias. */
23290 #if defined (__stub_connect) || defined (__stub___connect)
23293 char (*f) () = connect;
23302 return f != connect;
23307 rm -f conftest.
$ac_objext conftest
$ac_exeext
23308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23309 (eval $ac_link) 2>&5
23311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23312 (exit $ac_status); } &&
23313 { ac_try
='test -s conftest$ac_exeext'
23314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23315 (eval $ac_try) 2>&5
23317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23318 (exit $ac_status); }; }; then
23319 ac_cv_func_connect
=yes
23321 echo "$as_me: failed program was:" >&5
23322 sed 's/^/| /' conftest.
$ac_ext >&5
23324 ac_cv_func_connect
=no
23326 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23328 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23329 echo "${ECHO_T}$ac_cv_func_connect" >&6
23331 if test $ac_cv_func_connect = no
; then
23332 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23333 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23334 if test "${ac_cv_lib_socket_connect+set}" = set; then
23335 echo $ECHO_N "(cached) $ECHO_C" >&6
23337 ac_check_lib_save_LIBS
=$LIBS
23338 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23339 cat >conftest.
$ac_ext <<_ACEOF
23340 #line $LINENO "configure"
23343 cat confdefs.h
>>conftest.
$ac_ext
23344 cat >>conftest.
$ac_ext <<_ACEOF
23345 /* end confdefs.h. */
23347 /* Override any gcc2 internal prototype to avoid an error. */
23351 /* We use char because int might match the return type of a gcc2
23352 builtin and then its argument prototype would still apply. */
23362 rm -f conftest.
$ac_objext conftest
$ac_exeext
23363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23364 (eval $ac_link) 2>&5
23366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23367 (exit $ac_status); } &&
23368 { ac_try
='test -s conftest$ac_exeext'
23369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23370 (eval $ac_try) 2>&5
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); }; }; then
23374 ac_cv_lib_socket_connect
=yes
23376 echo "$as_me: failed program was:" >&5
23377 sed 's/^/| /' conftest.
$ac_ext >&5
23379 ac_cv_lib_socket_connect
=no
23381 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23382 LIBS
=$ac_check_lib_save_LIBS
23384 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23385 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23386 if test $ac_cv_lib_socket_connect = yes; then
23387 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23392 # Guillermo Gomez says -lposix is necessary on A/UX.
23393 echo "$as_me:$LINENO: checking for remove" >&5
23394 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23395 if test "${ac_cv_func_remove+set}" = set; then
23396 echo $ECHO_N "(cached) $ECHO_C" >&6
23398 cat >conftest.
$ac_ext <<_ACEOF
23399 #line $LINENO "configure"
23402 cat confdefs.h
>>conftest.
$ac_ext
23403 cat >>conftest.
$ac_ext <<_ACEOF
23404 /* end confdefs.h. */
23405 /* System header to define __stub macros and hopefully few prototypes,
23406 which can conflict with char remove (); below.
23407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23408 <limits.h> exists even on freestanding compilers. */
23410 # include <limits.h>
23412 # include <assert.h>
23414 /* Override any gcc2 internal prototype to avoid an error. */
23419 /* We use char because int might match the return type of a gcc2
23420 builtin and then its argument prototype would still apply. */
23422 /* The GNU C library defines this for functions which it implements
23423 to always fail with ENOSYS. Some functions are actually named
23424 something starting with __ and the normal name is an alias. */
23425 #if defined (__stub_remove) || defined (__stub___remove)
23428 char (*f) () = remove;
23437 return f != remove;
23442 rm -f conftest.
$ac_objext conftest
$ac_exeext
23443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23444 (eval $ac_link) 2>&5
23446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447 (exit $ac_status); } &&
23448 { ac_try
='test -s conftest$ac_exeext'
23449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23450 (eval $ac_try) 2>&5
23452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453 (exit $ac_status); }; }; then
23454 ac_cv_func_remove
=yes
23456 echo "$as_me: failed program was:" >&5
23457 sed 's/^/| /' conftest.
$ac_ext >&5
23459 ac_cv_func_remove
=no
23461 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23463 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23464 echo "${ECHO_T}$ac_cv_func_remove" >&6
23466 if test $ac_cv_func_remove = no
; then
23467 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23468 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23469 if test "${ac_cv_lib_posix_remove+set}" = set; then
23470 echo $ECHO_N "(cached) $ECHO_C" >&6
23472 ac_check_lib_save_LIBS
=$LIBS
23473 LIBS
="-lposix $LIBS"
23474 cat >conftest.
$ac_ext <<_ACEOF
23475 #line $LINENO "configure"
23478 cat confdefs.h
>>conftest.
$ac_ext
23479 cat >>conftest.
$ac_ext <<_ACEOF
23480 /* end confdefs.h. */
23482 /* Override any gcc2 internal prototype to avoid an error. */
23486 /* We use char because int might match the return type of a gcc2
23487 builtin and then its argument prototype would still apply. */
23497 rm -f conftest.
$ac_objext conftest
$ac_exeext
23498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23499 (eval $ac_link) 2>&5
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); } &&
23503 { ac_try
='test -s conftest$ac_exeext'
23504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23505 (eval $ac_try) 2>&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); }; }; then
23509 ac_cv_lib_posix_remove
=yes
23511 echo "$as_me: failed program was:" >&5
23512 sed 's/^/| /' conftest.
$ac_ext >&5
23514 ac_cv_lib_posix_remove
=no
23516 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23517 LIBS
=$ac_check_lib_save_LIBS
23519 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23520 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23521 if test $ac_cv_lib_posix_remove = yes; then
23522 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23527 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23528 echo "$as_me:$LINENO: checking for shmat" >&5
23529 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23530 if test "${ac_cv_func_shmat+set}" = set; then
23531 echo $ECHO_N "(cached) $ECHO_C" >&6
23533 cat >conftest.
$ac_ext <<_ACEOF
23534 #line $LINENO "configure"
23537 cat confdefs.h
>>conftest.
$ac_ext
23538 cat >>conftest.
$ac_ext <<_ACEOF
23539 /* end confdefs.h. */
23540 /* System header to define __stub macros and hopefully few prototypes,
23541 which can conflict with char shmat (); below.
23542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23543 <limits.h> exists even on freestanding compilers. */
23545 # include <limits.h>
23547 # include <assert.h>
23549 /* Override any gcc2 internal prototype to avoid an error. */
23554 /* We use char because int might match the return type of a gcc2
23555 builtin and then its argument prototype would still apply. */
23557 /* The GNU C library defines this for functions which it implements
23558 to always fail with ENOSYS. Some functions are actually named
23559 something starting with __ and the normal name is an alias. */
23560 #if defined (__stub_shmat) || defined (__stub___shmat)
23563 char (*f) () = shmat;
23577 rm -f conftest.
$ac_objext conftest
$ac_exeext
23578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23579 (eval $ac_link) 2>&5
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); } &&
23583 { ac_try
='test -s conftest$ac_exeext'
23584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23585 (eval $ac_try) 2>&5
23587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588 (exit $ac_status); }; }; then
23589 ac_cv_func_shmat
=yes
23591 echo "$as_me: failed program was:" >&5
23592 sed 's/^/| /' conftest.
$ac_ext >&5
23594 ac_cv_func_shmat
=no
23596 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23598 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23599 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23601 if test $ac_cv_func_shmat = no
; then
23602 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23603 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23604 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23605 echo $ECHO_N "(cached) $ECHO_C" >&6
23607 ac_check_lib_save_LIBS
=$LIBS
23609 cat >conftest.
$ac_ext <<_ACEOF
23610 #line $LINENO "configure"
23613 cat confdefs.h
>>conftest.
$ac_ext
23614 cat >>conftest.
$ac_ext <<_ACEOF
23615 /* end confdefs.h. */
23617 /* Override any gcc2 internal prototype to avoid an error. */
23621 /* We use char because int might match the return type of a gcc2
23622 builtin and then its argument prototype would still apply. */
23632 rm -f conftest.
$ac_objext conftest
$ac_exeext
23633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23634 (eval $ac_link) 2>&5
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); } &&
23638 { ac_try
='test -s conftest$ac_exeext'
23639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23640 (eval $ac_try) 2>&5
23642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23643 (exit $ac_status); }; }; then
23644 ac_cv_lib_ipc_shmat
=yes
23646 echo "$as_me: failed program was:" >&5
23647 sed 's/^/| /' conftest.
$ac_ext >&5
23649 ac_cv_lib_ipc_shmat
=no
23651 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23652 LIBS
=$ac_check_lib_save_LIBS
23654 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23655 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23656 if test $ac_cv_lib_ipc_shmat = yes; then
23657 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23663 # Check for libraries that X11R6 Xt/Xaw programs need.
23664 ac_save_LDFLAGS
=$LDFLAGS
23665 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23666 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23667 # check for ICE first), but we must link in the order -lSM -lICE or
23668 # we get undefined symbols. So assume we have SM if we have ICE.
23669 # These have to be linked with before -lX11, unlike the other
23670 # libraries we check for below, so use a different variable.
23671 # John Interrante, Karl Berry
23672 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23673 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23674 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23675 echo $ECHO_N "(cached) $ECHO_C" >&6
23677 ac_check_lib_save_LIBS
=$LIBS
23678 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23679 cat >conftest.
$ac_ext <<_ACEOF
23680 #line $LINENO "configure"
23683 cat confdefs.h
>>conftest.
$ac_ext
23684 cat >>conftest.
$ac_ext <<_ACEOF
23685 /* end confdefs.h. */
23687 /* 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. */
23693 char IceConnectionNumber ();
23697 IceConnectionNumber ();
23702 rm -f conftest.
$ac_objext conftest
$ac_exeext
23703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23704 (eval $ac_link) 2>&5
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); } &&
23708 { ac_try
='test -s conftest$ac_exeext'
23709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23710 (eval $ac_try) 2>&5
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); }; }; then
23714 ac_cv_lib_ICE_IceConnectionNumber
=yes
23716 echo "$as_me: failed program was:" >&5
23717 sed 's/^/| /' conftest.
$ac_ext >&5
23719 ac_cv_lib_ICE_IceConnectionNumber
=no
23721 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23722 LIBS
=$ac_check_lib_save_LIBS
23724 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23725 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23726 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23727 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23730 LDFLAGS
=$ac_save_LDFLAGS
23735 if test "$no_x" = "yes"; then
23736 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23737 echo "$as_me: error: X11 not found" >&2;}
23738 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23741 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23742 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23743 AFMINSTALL
=afminstall
23744 COMPILED_X_PROGRAM
=0
23746 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23747 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23750 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23752 if test -f "$ac_dir/Xm/Xm.h"; then
23753 ac_find_includes
=$ac_dir
23758 if test "$ac_find_includes" != "" ; then
23759 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23760 echo "${ECHO_T}found in $ac_find_includes" >&6
23762 if test "x$ac_find_includes" = "x/usr/include"; then
23763 ac_path_to_include
=""
23765 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23767 if test $result = 0; then
23768 ac_path_to_include
=""
23770 ac_path_to_include
=" -I$ac_find_includes"
23774 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
23776 cat >conftest.
$ac_ext <<_ACEOF
23777 #line $LINENO "configure"
23780 cat confdefs.h
>>conftest.
$ac_ext
23781 cat >>conftest.
$ac_ext <<_ACEOF
23782 /* end confdefs.h. */
23791 version = xmUseVersion;
23797 rm -f conftest.
$ac_objext
23798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23799 (eval $ac_compile) 2>&5
23801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23802 (exit $ac_status); } &&
23803 { ac_try
='test -s conftest.$ac_objext'
23804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23805 (eval $ac_try) 2>&5
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); }; }; then
23810 echo "$as_me:$LINENO: result: found in default search path" >&5
23811 echo "${ECHO_T}found in default search path" >&6
23812 COMPILED_X_PROGRAM
=1
23815 echo "$as_me: failed program was:" >&5
23816 sed 's/^/| /' conftest.
$ac_ext >&5
23819 echo "$as_me:$LINENO: result: no" >&5
23820 echo "${ECHO_T}no" >&6
23821 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23822 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23823 { (exit 1); exit 1; }; }
23827 rm -f conftest.
$ac_objext conftest.
$ac_ext
23830 if test "$COMPILED_X_PROGRAM" = 0; then
23831 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23832 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23835 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23837 for ac_extension
in a so sl dylib
; do
23838 if test -f "$ac_dir/libXm.$ac_extension"; then
23839 ac_find_libraries
=$ac_dir
23845 if test "$ac_find_libraries" != "" ; then
23846 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23847 echo "${ECHO_T}found at $ac_find_libraries" >&6
23850 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23852 if test $result = 0; then
23855 ac_path_to_link
=" -L$ac_find_libraries"
23858 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23860 save_CFLAGS
=$CFLAGS
23861 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23863 cat >conftest.
$ac_ext <<_ACEOF
23864 #line $LINENO "configure"
23867 cat confdefs.h
>>conftest.
$ac_ext
23868 cat >>conftest.
$ac_ext <<_ACEOF
23869 /* end confdefs.h. */
23878 version = xmUseVersion;
23884 rm -f conftest.
$ac_objext
23885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23886 (eval $ac_compile) 2>&5
23888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889 (exit $ac_status); } &&
23890 { ac_try
='test -s conftest.$ac_objext'
23891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23892 (eval $ac_try) 2>&5
23894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23895 (exit $ac_status); }; }; then
23897 echo "$as_me:$LINENO: result: found in default search path" >&5
23898 echo "${ECHO_T}found in default search path" >&6
23899 COMPILED_X_PROGRAM
=1
23902 echo "$as_me: failed program was:" >&5
23903 sed 's/^/| /' conftest.
$ac_ext >&5
23906 echo "$as_me:$LINENO: result: no" >&5
23907 echo "${ECHO_T}no" >&6
23908 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23909 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23910 { (exit 1); exit 1; }; }
23914 rm -f conftest.
$ac_objext conftest.
$ac_ext
23916 CFLAGS
=$save_CFLAGS
23921 echo "$as_me:$LINENO: checking for Xpm library" >&5
23922 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23925 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23927 for ac_extension
in a so sl dylib
; do
23928 if test -f "$ac_dir/libXpm.$ac_extension"; then
23929 ac_find_libraries
=$ac_dir
23935 if test "$ac_find_libraries" != "" ; then
23937 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23939 if test $result = 0; then
23942 ac_path_to_link
=" -L$ac_find_libraries"
23945 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23948 cat >>confdefs.h
<<\_ACEOF
23949 #define wxHAVE_LIB_XPM 1
23952 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23953 echo "${ECHO_T}found at $ac_find_libraries" >&6
23955 save_CFLAGS
=$CFLAGS
23956 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23958 cat >conftest.
$ac_ext <<_ACEOF
23959 #line $LINENO "configure"
23962 cat confdefs.h
>>conftest.
$ac_ext
23963 cat >>conftest.
$ac_ext <<_ACEOF
23964 /* end confdefs.h. */
23966 #include <X11/xpm.h>
23973 version = XpmLibraryVersion();
23979 rm -f conftest.
$ac_objext
23980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23981 (eval $ac_compile) 2>&5
23983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984 (exit $ac_status); } &&
23985 { ac_try
='test -s conftest.$ac_objext'
23986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23987 (eval $ac_try) 2>&5
23989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990 (exit $ac_status); }; }; then
23993 cat >>confdefs.h
<<\_ACEOF
23994 #define wxHAVE_LIB_XPM 1
23997 echo "$as_me:$LINENO: result: found in default search path" >&5
23998 echo "${ECHO_T}found in default search path" >&6
23999 COMPILED_X_PROGRAM
=0
24002 echo "$as_me: failed program was:" >&5
24003 sed 's/^/| /' conftest.
$ac_ext >&5
24006 echo "$as_me:$LINENO: result: no" >&5
24007 echo "${ECHO_T}no" >&6
24008 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24009 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24013 rm -f conftest.
$ac_objext conftest.
$ac_ext
24015 CFLAGS
=$save_CFLAGS
24018 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24019 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24023 for libp
in "" " -lXp"; do
24024 if test "$libs_found" = "0"; then
24025 for libsm_ice
in " -lSM -lICE"; do
24026 if test "$libs_found" = "0"; then
24028 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24029 save_CFLAGS
=$CFLAGS
24030 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24032 cat >conftest.
$ac_ext <<_ACEOF
24033 #line $LINENO "configure"
24036 cat confdefs.h
>>conftest.
$ac_ext
24037 cat >>conftest.
$ac_ext <<_ACEOF
24038 /* end confdefs.h. */
24041 #include <Xm/List.h>
24047 XmString string = NULL;
24050 XmListAddItem(w, string, position);
24056 rm -f conftest.
$ac_objext conftest
$ac_exeext
24057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24058 (eval $ac_link) 2>&5
24060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061 (exit $ac_status); } &&
24062 { ac_try
='test -s conftest$ac_exeext'
24063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24064 (eval $ac_try) 2>&5
24066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067 (exit $ac_status); }; }; then
24070 libsm_ice_link
="$libsm_ice"
24071 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24072 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24076 echo "$as_me: failed program was:" >&5
24077 sed 's/^/| /' conftest.
$ac_ext >&5
24082 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24085 CFLAGS
=$save_CFLAGS
24091 if test "$libs_found" = "0"; then
24092 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24093 echo "${ECHO_T}can't find the right libraries" >&6
24094 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24095 echo "$as_me: error: can't link a simple motif program" >&2;}
24096 { (exit 1); exit 1; }; }
24099 save_CFLAGS
=$CFLAGS
24100 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24101 echo "$as_me:$LINENO: checking for Motif 2" >&5
24102 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24103 cat >conftest.
$ac_ext <<_ACEOF
24104 #line $LINENO "configure"
24107 cat confdefs.h
>>conftest.
$ac_ext
24108 cat >>conftest.
$ac_ext <<_ACEOF
24109 /* end confdefs.h. */
24117 #if XmVersion < 2000
24118 #error "Not Motif 2"
24125 rm -f conftest.
$ac_objext
24126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24127 (eval $ac_compile) 2>&5
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); } &&
24131 { ac_try
='test -s conftest.$ac_objext'
24132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24133 (eval $ac_try) 2>&5
24135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136 (exit $ac_status); }; }; then
24138 cat >>confdefs.h
<<\_ACEOF
24139 #define __WXMOTIF20__ 1
24142 echo "$as_me:$LINENO: result: found" >&5
24143 echo "${ECHO_T}found" >&6
24146 echo "$as_me: failed program was:" >&5
24147 sed 's/^/| /' conftest.
$ac_ext >&5
24150 cat >>confdefs.h
<<\_ACEOF
24151 #define __WXMOTIF20__ 0
24154 echo "$as_me:$LINENO: result: not found" >&5
24155 echo "${ECHO_T}not found" >&6
24158 rm -f conftest.
$ac_objext conftest.
$ac_ext
24159 CFLAGS
=$save_CFLAGS
24161 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24162 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24168 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24169 test "$wxHAVE_XEXT_LIB" = 1; then
24170 save_CFLAGS
="$CFLAGS"
24171 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24173 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24174 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24175 cat >conftest.
$ac_ext <<_ACEOF
24176 #line $LINENO "configure"
24179 cat confdefs.h
>>conftest.
$ac_ext
24180 cat >>conftest.
$ac_ext <<_ACEOF
24181 /* end confdefs.h. */
24183 #include <X11/Xlib.h>
24184 #include <X11/extensions/shape.h>
24190 int dummy1, dummy2;
24191 XShapeQueryExtension((Display*)NULL,
24192 (int*)NULL, (int*)NULL);
24198 rm -f conftest.
$ac_objext
24199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24200 (eval $ac_compile) 2>&5
24202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203 (exit $ac_status); } &&
24204 { ac_try
='test -s conftest.$ac_objext'
24205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24206 (eval $ac_try) 2>&5
24208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24209 (exit $ac_status); }; }; then
24211 cat >>confdefs.h
<<\_ACEOF
24212 #define HAVE_XSHAPE 1
24215 echo "$as_me:$LINENO: result: found" >&5
24216 echo "${ECHO_T}found" >&6
24219 echo "$as_me: failed program was:" >&5
24220 sed 's/^/| /' conftest.
$ac_ext >&5
24223 echo "$as_me:$LINENO: result: not found" >&5
24224 echo "${ECHO_T}not found" >&6
24227 rm -f conftest.
$ac_objext conftest.
$ac_ext
24228 CFLAGS
="$save_CFLAGS"
24231 if test "$wxUSE_MAC" = 1; then
24232 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24234 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24237 WXBASEPORT
="_carbon"
24240 if test "$wxUSE_COCOA" = 1; then
24241 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24246 if test "$wxUSE_PM" = 1; then
24249 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24250 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24254 if test "$TOOLKIT" = "PM" ; then
24257 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24260 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24262 if test "$wxUSE_UNIVERSAL" = "yes"; then
24263 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24265 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24266 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24268 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24269 if test "$wxUSE_X11" = 1; then
24270 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24272 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24274 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24277 ALL_OBJECTS
="\$(GUIOBJS)"
24278 ALL_SOURCES
="\$(ALL_SOURCES)"
24279 ALL_HEADERS
="\$(ALL_HEADERS)"
24282 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24284 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24285 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24288 if test "$wxUSE_HTML" = "yes"; then
24289 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24292 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24293 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24295 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24296 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24298 if test "$wxUSE_LIBPNG" = "builtin" ; then
24299 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24302 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24303 DISTDIR
="wx\$(TOOLKIT)"
24309 if test "$USE_WIN32" = 1 ; then
24310 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24311 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24315 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24316 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24319 ALL_SOURCES
="\$(ALL_SOURCES)"
24320 ALL_HEADERS
="\$(ALL_HEADERS)"
24322 PORT_FILES
="\${top_srcdir}/src/files.lst"
24324 GUIDIST
="BASE_DIST"
24334 if test "$TOOLKIT" != "MSW" ; then
24336 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24338 if test "${ac_cv_header_sql_h+set}" = set; then
24339 echo "$as_me:$LINENO: checking for sql.h" >&5
24340 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24341 if test "${ac_cv_header_sql_h+set}" = set; then
24342 echo $ECHO_N "(cached) $ECHO_C" >&6
24344 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24345 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24347 # Is the header compilable?
24348 echo "$as_me:$LINENO: checking sql.h usability" >&5
24349 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24350 cat >conftest.
$ac_ext <<_ACEOF
24351 #line $LINENO "configure"
24354 cat confdefs.h
>>conftest.
$ac_ext
24355 cat >>conftest.
$ac_ext <<_ACEOF
24356 /* end confdefs.h. */
24357 $ac_includes_default
24360 rm -f conftest.
$ac_objext
24361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24362 (eval $ac_compile) 2>&5
24364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24365 (exit $ac_status); } &&
24366 { ac_try
='test -s conftest.$ac_objext'
24367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24368 (eval $ac_try) 2>&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); }; }; then
24372 ac_header_compiler
=yes
24374 echo "$as_me: failed program was:" >&5
24375 sed 's/^/| /' conftest.
$ac_ext >&5
24377 ac_header_compiler
=no
24379 rm -f conftest.
$ac_objext conftest.
$ac_ext
24380 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24381 echo "${ECHO_T}$ac_header_compiler" >&6
24383 # Is the header present?
24384 echo "$as_me:$LINENO: checking sql.h presence" >&5
24385 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24386 cat >conftest.
$ac_ext <<_ACEOF
24387 #line $LINENO "configure"
24390 cat confdefs.h
>>conftest.
$ac_ext
24391 cat >>conftest.
$ac_ext <<_ACEOF
24392 /* end confdefs.h. */
24395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24396 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24398 grep -v '^ *+' conftest.er1
>conftest.err
24400 cat conftest.err
>&5
24401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24402 (exit $ac_status); } >/dev
/null
; then
24403 if test -s conftest.err
; then
24404 ac_cpp_err
=$ac_c_preproc_warn_flag
24411 if test -z "$ac_cpp_err"; then
24412 ac_header_preproc
=yes
24414 echo "$as_me: failed program was:" >&5
24415 sed 's/^/| /' conftest.
$ac_ext >&5
24417 ac_header_preproc
=no
24419 rm -f conftest.err conftest.
$ac_ext
24420 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24421 echo "${ECHO_T}$ac_header_preproc" >&6
24423 # So? What about this header?
24424 case $ac_header_compiler:$ac_header_preproc in
24426 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24427 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24428 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24429 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24432 ## ------------------------------------ ##
24433 ## Report this to bug-autoconf@gnu.org. ##
24434 ## ------------------------------------ ##
24437 sed "s/^/$as_me: WARNING: /" >&2
24440 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24441 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24442 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24443 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24444 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24445 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24448 ## ------------------------------------ ##
24449 ## Report this to bug-autoconf@gnu.org. ##
24450 ## ------------------------------------ ##
24453 sed "s/^/$as_me: WARNING: /" >&2
24456 echo "$as_me:$LINENO: checking for sql.h" >&5
24457 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24458 if test "${ac_cv_header_sql_h+set}" = set; then
24459 echo $ECHO_N "(cached) $ECHO_C" >&6
24461 ac_cv_header_sql_h
=$ac_header_preproc
24463 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24464 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24467 if test $ac_cv_header_sql_h = yes; then
24472 if test "x$found_sql_h" = "x1" ; then
24473 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24474 echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24475 if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24476 echo $ECHO_N "(cached) $ECHO_C" >&6
24478 ac_check_lib_save_LIBS
=$LIBS
24479 LIBS
="-lSQLAllocEnv $LIBS"
24480 cat >conftest.
$ac_ext <<_ACEOF
24481 #line $LINENO "configure"
24484 cat confdefs.h
>>conftest.
$ac_ext
24485 cat >>conftest.
$ac_ext <<_ACEOF
24486 /* end confdefs.h. */
24488 /* Override any gcc2 internal prototype to avoid an error. */
24492 /* We use char because int might match the return type of a gcc2
24493 builtin and then its argument prototype would still apply. */
24503 rm -f conftest.
$ac_objext conftest
$ac_exeext
24504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24505 (eval $ac_link) 2>&5
24507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24508 (exit $ac_status); } &&
24509 { ac_try
='test -s conftest$ac_exeext'
24510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24511 (eval $ac_try) 2>&5
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); }; }; then
24515 ac_cv_lib_SQLAllocEnv_iodbc
=yes
24517 echo "$as_me: failed program was:" >&5
24518 sed 's/^/| /' conftest.
$ac_ext >&5
24520 ac_cv_lib_SQLAllocEnv_iodbc
=no
24522 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24523 LIBS
=$ac_check_lib_save_LIBS
24525 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24526 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24527 if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24528 ODBC_LINK
=" -liodbc"
24531 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24532 echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24533 if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24534 echo $ECHO_N "(cached) $ECHO_C" >&6
24536 ac_check_lib_save_LIBS
=$LIBS
24537 LIBS
="-lSQLAllocEnv $LIBS"
24538 cat >conftest.
$ac_ext <<_ACEOF
24539 #line $LINENO "configure"
24542 cat confdefs.h
>>conftest.
$ac_ext
24543 cat >>conftest.
$ac_ext <<_ACEOF
24544 /* end confdefs.h. */
24546 /* Override any gcc2 internal prototype to avoid an error. */
24550 /* We use char because int might match the return type of a gcc2
24551 builtin and then its argument prototype would still apply. */
24561 rm -f conftest.
$ac_objext conftest
$ac_exeext
24562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24563 (eval $ac_link) 2>&5
24565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566 (exit $ac_status); } &&
24567 { ac_try
='test -s conftest$ac_exeext'
24568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24569 (eval $ac_try) 2>&5
24571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24572 (exit $ac_status); }; }; then
24573 ac_cv_lib_SQLAllocEnv_unixodbc
=yes
24575 echo "$as_me: failed program was:" >&5
24576 sed 's/^/| /' conftest.
$ac_ext >&5
24578 ac_cv_lib_SQLAllocEnv_unixodbc
=no
24580 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24581 LIBS
=$ac_check_lib_save_LIBS
24583 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24584 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24585 if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24586 ODBC_LINK
=" -lunixodbc"
24589 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24590 echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24591 if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24594 ac_check_lib_save_LIBS
=$LIBS
24595 LIBS
="-lSQLAllocEnv $LIBS"
24596 cat >conftest.
$ac_ext <<_ACEOF
24597 #line $LINENO "configure"
24600 cat confdefs.h
>>conftest.
$ac_ext
24601 cat >>conftest.
$ac_ext <<_ACEOF
24602 /* end confdefs.h. */
24604 /* Override any gcc2 internal prototype to avoid an error. */
24608 /* We use char because int might match the return type of a gcc2
24609 builtin and then its argument prototype would still apply. */
24619 rm -f conftest.
$ac_objext conftest
$ac_exeext
24620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24621 (eval $ac_link) 2>&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); } &&
24625 { ac_try
='test -s conftest$ac_exeext'
24626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24627 (eval $ac_try) 2>&5
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); }; }; then
24631 ac_cv_lib_SQLAllocEnv_odbc
=yes
24633 echo "$as_me: failed program was:" >&5
24634 sed 's/^/| /' conftest.
$ac_ext >&5
24636 ac_cv_lib_SQLAllocEnv_odbc
=no
24638 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24639 LIBS
=$ac_check_lib_save_LIBS
24641 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24642 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24643 if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24644 ODBC_LINK
=" -lodbc"
24654 if test "x$ODBC_LINK" = "x" ; then
24655 if test "$wxUSE_ODBC" = "sys" ; then
24656 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24657 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24658 { (exit 1); exit 1; }; }
24660 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24661 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24668 if test "$wxUSE_ODBC" != "no" ; then
24669 cat >>confdefs.h
<<\_ACEOF
24670 #define wxUSE_ODBC 1
24673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24675 WXODBCFLAG
="-D_IODBC_"
24679 if test "$wxUSE_REGEX" = "builtin" ; then
24680 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24682 if test "$wxUSE_ZLIB" = "builtin" ; then
24683 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24688 if test "$wxUSE_OPENGL" = "yes"; then
24689 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24690 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24691 elif test "$wxUSE_MSW" = 1; then
24692 OPENGL_LIBS
="-lopengl32 -lglu32"
24697 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24699 if test -f "$ac_dir/GL/gl.h"; then
24700 ac_find_includes
=$ac_dir
24705 if test "$ac_find_includes" != "" ; then
24706 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24707 echo "${ECHO_T}found in $ac_find_includes" >&6
24709 if test "x$ac_find_includes" = "x/usr/include"; then
24710 ac_path_to_include
=""
24712 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
24714 if test $result = 0; then
24715 ac_path_to_include
=""
24717 ac_path_to_include
=" -I$ac_find_includes"
24721 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
24724 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24725 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24726 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24727 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24728 echo $ECHO_N "(cached) $ECHO_C" >&6
24730 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24731 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24733 # Is the header compilable?
24734 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24735 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24736 cat >conftest.
$ac_ext <<_ACEOF
24737 #line $LINENO "configure"
24740 cat confdefs.h
>>conftest.
$ac_ext
24741 cat >>conftest.
$ac_ext <<_ACEOF
24742 /* end confdefs.h. */
24743 $ac_includes_default
24746 rm -f conftest.
$ac_objext
24747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24748 (eval $ac_compile) 2>&5
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); } &&
24752 { ac_try
='test -s conftest.$ac_objext'
24753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24754 (eval $ac_try) 2>&5
24756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24757 (exit $ac_status); }; }; then
24758 ac_header_compiler
=yes
24760 echo "$as_me: failed program was:" >&5
24761 sed 's/^/| /' conftest.
$ac_ext >&5
24763 ac_header_compiler
=no
24765 rm -f conftest.
$ac_objext conftest.
$ac_ext
24766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24767 echo "${ECHO_T}$ac_header_compiler" >&6
24769 # Is the header present?
24770 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24771 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24772 cat >conftest.
$ac_ext <<_ACEOF
24773 #line $LINENO "configure"
24776 cat confdefs.h
>>conftest.
$ac_ext
24777 cat >>conftest.
$ac_ext <<_ACEOF
24778 /* end confdefs.h. */
24781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24782 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24784 grep -v '^ *+' conftest.er1
>conftest.err
24786 cat conftest.err
>&5
24787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24788 (exit $ac_status); } >/dev
/null
; then
24789 if test -s conftest.err
; then
24790 ac_cpp_err
=$ac_c_preproc_warn_flag
24797 if test -z "$ac_cpp_err"; then
24798 ac_header_preproc
=yes
24800 echo "$as_me: failed program was:" >&5
24801 sed 's/^/| /' conftest.
$ac_ext >&5
24803 ac_header_preproc
=no
24805 rm -f conftest.err conftest.
$ac_ext
24806 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24807 echo "${ECHO_T}$ac_header_preproc" >&6
24809 # So? What about this header?
24810 case $ac_header_compiler:$ac_header_preproc in
24812 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24813 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24814 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24815 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24818 ## ------------------------------------ ##
24819 ## Report this to bug-autoconf@gnu.org. ##
24820 ## ------------------------------------ ##
24823 sed "s/^/$as_me: WARNING: /" >&2
24826 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24827 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24828 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24829 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24830 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24831 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24834 ## ------------------------------------ ##
24835 ## Report this to bug-autoconf@gnu.org. ##
24836 ## ------------------------------------ ##
24839 sed "s/^/$as_me: WARNING: /" >&2
24842 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24843 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24844 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24845 echo $ECHO_N "(cached) $ECHO_C" >&6
24847 ac_cv_header_GL_gl_h
=$ac_header_preproc
24849 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24850 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24853 if test $ac_cv_header_GL_gl_h = yes; then
24857 echo "$as_me:$LINENO: checking for -lGL" >&5
24858 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24861 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24863 for ac_extension
in a so sl dylib
; do
24864 if test -f "$ac_dir/libGL.$ac_extension"; then
24865 ac_find_libraries
=$ac_dir
24871 if test "$ac_find_libraries" != "" ; then
24873 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24875 if test $result = 0; then
24878 ac_path_to_link
=" -L$ac_find_libraries"
24881 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24882 LDFLAGS_GL
="$ac_path_to_link"
24887 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24889 for ac_extension
in a so sl dylib
; do
24890 if test -f "$ac_dir/libGLU.$ac_extension"; then
24891 ac_find_libraries
=$ac_dir
24897 if test "$ac_find_libraries" != "" ; then
24899 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24901 if test $result = 0; then
24904 ac_path_to_link
=" -L$ac_find_libraries"
24907 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24908 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24909 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
24913 OPENGL_LIBS
="-lGL -lGLU"
24914 echo "$as_me:$LINENO: result: yes" >&5
24915 echo "${ECHO_T}yes" >&6
24919 if test "$found_gl" != 1; then
24920 echo "$as_me:$LINENO: result: no" >&5
24921 echo "${ECHO_T}no" >&6
24922 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24923 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24926 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24928 for ac_extension
in a so sl dylib
; do
24929 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24930 ac_find_libraries
=$ac_dir
24936 if test "$ac_find_libraries" != "" ; then
24938 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
24940 if test $result = 0; then
24943 ac_path_to_link
=" -L$ac_find_libraries"
24946 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
24947 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
24948 echo "$as_me:$LINENO: result: yes" >&5
24949 echo "${ECHO_T}yes" >&6
24951 echo "$as_me:$LINENO: result: no" >&5
24952 echo "${ECHO_T}no" >&6
24960 if test "x$OPENGL_LIBS" = "x"; then
24961 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24962 echo "$as_me: error: OpenGL libraries not available" >&2;}
24963 { (exit 1); exit 1; }; }
24967 if test "$wxUSE_OPENGL" = "yes"; then
24969 cat >>confdefs.h
<<\_ACEOF
24970 #define wxUSE_OPENGL 1
24973 cat >>confdefs.h
<<\_ACEOF
24974 #define wxUSE_GLCANVAS 1
24977 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
24981 if test -z "$TOOLKIT_VPATH" ; then
24982 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
24985 if test -n "$TOOLKIT" ; then
24986 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24990 lib_unicode_suffix
=
24991 if test "$wxUSE_UNICODE" = "yes"; then
24992 lib_unicode_suffix
=u
24998 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25004 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25008 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25010 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25011 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25013 if test "$cross_compiling" = "yes"; then
25014 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
25015 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
25016 HOST_SUFFIX
="-${host_alias}"
25019 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
25020 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
25021 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25022 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25024 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25025 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25027 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25028 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25029 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25030 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25033 *-*-cygwin* | *-*-mingw32* )
25034 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25035 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25040 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25041 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25043 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25044 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25045 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25046 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25048 if test "$wxUSE_MAC" = 1; then
25049 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25050 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25055 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25056 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25058 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25059 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25061 if test "$wxUSE_OPENGL" = "yes"; then
25062 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25063 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25068 if test "$wxUSE_SHARED" = "yes"; then
25070 *-pc-os2_emx | *-pc-os2-emx | \
25073 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25074 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25080 if test "$wxUSE_SHARED" = "yes"; then
25084 found_versioning
=no
25087 if test $found_versioning = no
; then
25088 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25089 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25090 if test "${wx_cv_version_script+set}" = set; then
25091 echo $ECHO_N "(cached) $ECHO_C" >&6
25094 echo "VER_1 { *; };" >conftest.sym
25095 echo "int main() { return 0; }" >conftest.cpp
25098 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25099 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25101 (eval $ac_try) 2>&5
25103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104 (exit $ac_status); }; } ; then
25105 if test -s conftest.stderr
; then
25106 wx_cv_version_script
=no
25108 wx_cv_version_script
=yes
25111 wx_cv_version_script
=no
25113 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25116 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25117 echo "${ECHO_T}$wx_cv_version_script" >&6
25118 if test $wx_cv_version_script = yes ; then
25119 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25125 *-*-linux* | *-*-gnu* )
25126 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25130 if test "$GCC" = yes ; then
25131 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25133 saveLdflags
="$LDFLAGS"
25134 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25135 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25136 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25137 cat >conftest.
$ac_ext <<_ACEOF
25138 #line $LINENO "configure"
25141 cat confdefs.h
>>conftest.
$ac_ext
25142 cat >>conftest.
$ac_ext <<_ACEOF
25143 /* end confdefs.h. */
25153 rm -f conftest.
$ac_objext conftest
$ac_exeext
25154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25155 (eval $ac_link) 2>&5
25157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158 (exit $ac_status); } &&
25159 { ac_try
='test -s conftest$ac_exeext'
25160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25161 (eval $ac_try) 2>&5
25163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164 (exit $ac_status); }; }; then
25166 echo "$as_me:$LINENO: result: yes" >&5
25167 echo "${ECHO_T}yes" >&6
25168 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25171 echo "$as_me: failed program was:" >&5
25172 sed 's/^/| /' conftest.
$ac_ext >&5
25175 echo "$as_me:$LINENO: result: no" >&5
25176 echo "${ECHO_T}no" >&6
25177 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25178 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25179 LDFLAGS
="$saveLdflags -Wl,-R,/"
25180 cat >conftest.
$ac_ext <<_ACEOF
25181 #line $LINENO "configure"
25184 cat confdefs.h
>>conftest.
$ac_ext
25185 cat >>conftest.
$ac_ext <<_ACEOF
25186 /* end confdefs.h. */
25196 rm -f conftest.
$ac_objext conftest
$ac_exeext
25197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25198 (eval $ac_link) 2>&5
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); } &&
25202 { ac_try
='test -s conftest$ac_exeext'
25203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25204 (eval $ac_try) 2>&5
25206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207 (exit $ac_status); }; }; then
25209 echo "$as_me:$LINENO: result: yes" >&5
25210 echo "${ECHO_T}yes" >&6
25211 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25213 echo "$as_me: failed program was:" >&5
25214 sed 's/^/| /' conftest.
$ac_ext >&5
25217 echo "$as_me:$LINENO: result: no" >&5
25218 echo "${ECHO_T}no" >&6
25221 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25224 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25225 LDFLAGS
="$saveLdflags"
25227 SHARED_LD
="${CXX} -G -o"
25229 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25233 powerpc
-*-darwin* )
25234 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25235 cat <<EOF >change-install-names
25237 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25238 inst_cmd="install_name_tool "
25239 for i in \${libnames} ; do
25240 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25244 chmod +x change
-install-names
25249 if test "x$WX_TARGET_LIBRARY" = "x"; then
25250 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25251 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25254 WX_TARGET_LIBRARY_TYPE
="so"
25255 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25258 if test "$wxUSE_SHARED" = "no"; then
25260 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25261 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25264 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25265 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25268 if test "$wxUSE_OPENGL" = "yes"; then
25269 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25270 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25272 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25275 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25276 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25278 WX_TARGET_LIBRARY_TYPE
="a"
25279 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25289 if test "$wxUSE_MAC" = 1; then
25290 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25291 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25292 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25293 # Extract the first word of "Rez", so it can be a program name with args.
25294 set dummy Rez
; ac_word
=$2
25295 echo "$as_me:$LINENO: checking for $ac_word" >&5
25296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25297 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25298 echo $ECHO_N "(cached) $ECHO_C" >&6
25300 if test -n "$RESCOMP"; then
25301 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25304 for as_dir
in $PATH
25307 test -z "$as_dir" && as_dir
=.
25308 for ac_exec_ext
in '' $ac_executable_extensions; do
25309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25310 ac_cv_prog_RESCOMP
="Rez"
25311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25317 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25320 RESCOMP
=$ac_cv_prog_RESCOMP
25321 if test -n "$RESCOMP"; then
25322 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25323 echo "${ECHO_T}$RESCOMP" >&6
25325 echo "$as_me:$LINENO: result: no" >&5
25326 echo "${ECHO_T}no" >&6
25329 # Extract the first word of "DeRez", so it can be a program name with args.
25330 set dummy DeRez
; ac_word
=$2
25331 echo "$as_me:$LINENO: checking for $ac_word" >&5
25332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25333 if test "${ac_cv_prog_DEREZ+set}" = set; then
25334 echo $ECHO_N "(cached) $ECHO_C" >&6
25336 if test -n "$DEREZ"; then
25337 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25340 for as_dir
in $PATH
25343 test -z "$as_dir" && as_dir
=.
25344 for ac_exec_ext
in '' $ac_executable_extensions; do
25345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25346 ac_cv_prog_DEREZ
="DeRez"
25347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25353 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25356 DEREZ
=$ac_cv_prog_DEREZ
25357 if test -n "$DEREZ"; then
25358 echo "$as_me:$LINENO: result: $DEREZ" >&5
25359 echo "${ECHO_T}$DEREZ" >&6
25361 echo "$as_me:$LINENO: result: no" >&5
25362 echo "${ECHO_T}no" >&6
25365 # Extract the first word of "SetFile", so it can be a program name with args.
25366 set dummy SetFile
; ac_word
=$2
25367 echo "$as_me:$LINENO: checking for $ac_word" >&5
25368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25369 if test "${ac_cv_prog_SETFILE+set}" = set; then
25370 echo $ECHO_N "(cached) $ECHO_C" >&6
25372 if test -n "$SETFILE"; then
25373 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25376 for as_dir
in $PATH
25379 test -z "$as_dir" && as_dir
=.
25380 for ac_exec_ext
in '' $ac_executable_extensions; do
25381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25382 ac_cv_prog_SETFILE
="SetFile"
25383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25389 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25392 SETFILE
=$ac_cv_prog_SETFILE
25393 if test -n "$SETFILE"; then
25394 echo "$as_me:$LINENO: result: $SETFILE" >&5
25395 echo "${ECHO_T}$SETFILE" >&6
25397 echo "$as_me:$LINENO: result: no" >&5
25398 echo "${ECHO_T}no" >&6
25401 MACOSX_BUNDLE
="bundle"
25402 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25403 MACSETFILE
="\$(SETFILE)"
25404 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25405 elif test "$wxUSE_COCOA" = 1; then
25406 # Extract the first word of "Rez", so it can be a program name with args.
25407 set dummy Rez
; ac_word
=$2
25408 echo "$as_me:$LINENO: checking for $ac_word" >&5
25409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25410 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25411 echo $ECHO_N "(cached) $ECHO_C" >&6
25413 if test -n "$RESCOMP"; then
25414 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25417 for as_dir
in $PATH
25420 test -z "$as_dir" && as_dir
=.
25421 for ac_exec_ext
in '' $ac_executable_extensions; do
25422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25423 ac_cv_prog_RESCOMP
="Rez"
25424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25430 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25433 RESCOMP
=$ac_cv_prog_RESCOMP
25434 if test -n "$RESCOMP"; then
25435 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25436 echo "${ECHO_T}$RESCOMP" >&6
25438 echo "$as_me:$LINENO: result: no" >&5
25439 echo "${ECHO_T}no" >&6
25442 # Extract the first word of "DeRez", so it can be a program name with args.
25443 set dummy DeRez
; ac_word
=$2
25444 echo "$as_me:$LINENO: checking for $ac_word" >&5
25445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25446 if test "${ac_cv_prog_DEREZ+set}" = set; then
25447 echo $ECHO_N "(cached) $ECHO_C" >&6
25449 if test -n "$DEREZ"; then
25450 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25453 for as_dir
in $PATH
25456 test -z "$as_dir" && as_dir
=.
25457 for ac_exec_ext
in '' $ac_executable_extensions; do
25458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25459 ac_cv_prog_DEREZ
="DeRez"
25460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25466 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25469 DEREZ
=$ac_cv_prog_DEREZ
25470 if test -n "$DEREZ"; then
25471 echo "$as_me:$LINENO: result: $DEREZ" >&5
25472 echo "${ECHO_T}$DEREZ" >&6
25474 echo "$as_me:$LINENO: result: no" >&5
25475 echo "${ECHO_T}no" >&6
25478 # Extract the first word of "SetFile", so it can be a program name with args.
25479 set dummy SetFile
; ac_word
=$2
25480 echo "$as_me:$LINENO: checking for $ac_word" >&5
25481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25482 if test "${ac_cv_prog_SETFILE+set}" = set; then
25483 echo $ECHO_N "(cached) $ECHO_C" >&6
25485 if test -n "$SETFILE"; then
25486 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25489 for as_dir
in $PATH
25492 test -z "$as_dir" && as_dir
=.
25493 for ac_exec_ext
in '' $ac_executable_extensions; do
25494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25495 ac_cv_prog_SETFILE
="SetFile"
25496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25502 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25505 SETFILE
=$ac_cv_prog_SETFILE
25506 if test -n "$SETFILE"; then
25507 echo "$as_me:$LINENO: result: $SETFILE" >&5
25508 echo "${ECHO_T}$SETFILE" >&6
25510 echo "$as_me:$LINENO: result: no" >&5
25511 echo "${ECHO_T}no" >&6
25514 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25515 MACSETFILE
="\$(SETFILE)"
25516 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25518 if test "$wxUSE_PM" = 1; then
25519 MACRESCOMP
="emxbind -ep"
25524 echo "$as_me:$LINENO: checking for mode_t" >&5
25525 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25526 if test "${ac_cv_type_mode_t+set}" = set; then
25527 echo $ECHO_N "(cached) $ECHO_C" >&6
25529 cat >conftest.
$ac_ext <<_ACEOF
25530 #line $LINENO "configure"
25533 cat confdefs.h
>>conftest.
$ac_ext
25534 cat >>conftest.
$ac_ext <<_ACEOF
25535 /* end confdefs.h. */
25536 $ac_includes_default
25542 if (sizeof (mode_t))
25548 rm -f conftest.
$ac_objext
25549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25550 (eval $ac_compile) 2>&5
25552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25553 (exit $ac_status); } &&
25554 { ac_try
='test -s conftest.$ac_objext'
25555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25556 (eval $ac_try) 2>&5
25558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559 (exit $ac_status); }; }; then
25560 ac_cv_type_mode_t
=yes
25562 echo "$as_me: failed program was:" >&5
25563 sed 's/^/| /' conftest.
$ac_ext >&5
25565 ac_cv_type_mode_t
=no
25567 rm -f conftest.
$ac_objext conftest.
$ac_ext
25569 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25570 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25571 if test $ac_cv_type_mode_t = yes; then
25575 cat >>confdefs.h
<<_ACEOF
25581 echo "$as_me:$LINENO: checking for off_t" >&5
25582 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25583 if test "${ac_cv_type_off_t+set}" = set; then
25584 echo $ECHO_N "(cached) $ECHO_C" >&6
25586 cat >conftest.
$ac_ext <<_ACEOF
25587 #line $LINENO "configure"
25590 cat confdefs.h
>>conftest.
$ac_ext
25591 cat >>conftest.
$ac_ext <<_ACEOF
25592 /* end confdefs.h. */
25593 $ac_includes_default
25599 if (sizeof (off_t))
25605 rm -f conftest.
$ac_objext
25606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25607 (eval $ac_compile) 2>&5
25609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610 (exit $ac_status); } &&
25611 { ac_try
='test -s conftest.$ac_objext'
25612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25613 (eval $ac_try) 2>&5
25615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25616 (exit $ac_status); }; }; then
25617 ac_cv_type_off_t
=yes
25619 echo "$as_me: failed program was:" >&5
25620 sed 's/^/| /' conftest.
$ac_ext >&5
25622 ac_cv_type_off_t
=no
25624 rm -f conftest.
$ac_objext conftest.
$ac_ext
25626 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25627 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25628 if test $ac_cv_type_off_t = yes; then
25632 cat >>confdefs.h
<<_ACEOF
25638 echo "$as_me:$LINENO: checking for pid_t" >&5
25639 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25640 if test "${ac_cv_type_pid_t+set}" = set; then
25641 echo $ECHO_N "(cached) $ECHO_C" >&6
25643 cat >conftest.
$ac_ext <<_ACEOF
25644 #line $LINENO "configure"
25647 cat confdefs.h
>>conftest.
$ac_ext
25648 cat >>conftest.
$ac_ext <<_ACEOF
25649 /* end confdefs.h. */
25650 $ac_includes_default
25656 if (sizeof (pid_t))
25662 rm -f conftest.
$ac_objext
25663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25664 (eval $ac_compile) 2>&5
25666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667 (exit $ac_status); } &&
25668 { ac_try
='test -s conftest.$ac_objext'
25669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25670 (eval $ac_try) 2>&5
25672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673 (exit $ac_status); }; }; then
25674 ac_cv_type_pid_t
=yes
25676 echo "$as_me: failed program was:" >&5
25677 sed 's/^/| /' conftest.
$ac_ext >&5
25679 ac_cv_type_pid_t
=no
25681 rm -f conftest.
$ac_objext conftest.
$ac_ext
25683 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25684 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25685 if test $ac_cv_type_pid_t = yes; then
25689 cat >>confdefs.h
<<_ACEOF
25695 echo "$as_me:$LINENO: checking for size_t" >&5
25696 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25697 if test "${ac_cv_type_size_t+set}" = set; then
25698 echo $ECHO_N "(cached) $ECHO_C" >&6
25700 cat >conftest.
$ac_ext <<_ACEOF
25701 #line $LINENO "configure"
25704 cat confdefs.h
>>conftest.
$ac_ext
25705 cat >>conftest.
$ac_ext <<_ACEOF
25706 /* end confdefs.h. */
25707 $ac_includes_default
25713 if (sizeof (size_t))
25719 rm -f conftest.
$ac_objext
25720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25721 (eval $ac_compile) 2>&5
25723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25724 (exit $ac_status); } &&
25725 { ac_try
='test -s conftest.$ac_objext'
25726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25727 (eval $ac_try) 2>&5
25729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730 (exit $ac_status); }; }; then
25731 ac_cv_type_size_t
=yes
25733 echo "$as_me: failed program was:" >&5
25734 sed 's/^/| /' conftest.
$ac_ext >&5
25736 ac_cv_type_size_t
=no
25738 rm -f conftest.
$ac_objext conftest.
$ac_ext
25740 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25741 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25742 if test $ac_cv_type_size_t = yes; then
25746 cat >>confdefs.h
<<_ACEOF
25747 #define size_t unsigned
25752 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25753 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25754 if test "${ac_cv_type_uid_t+set}" = set; then
25755 echo $ECHO_N "(cached) $ECHO_C" >&6
25757 cat >conftest.
$ac_ext <<_ACEOF
25758 #line $LINENO "configure"
25761 cat confdefs.h
>>conftest.
$ac_ext
25762 cat >>conftest.
$ac_ext <<_ACEOF
25763 /* end confdefs.h. */
25764 #include <sys/types.h>
25767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25768 $EGREP "uid_t" >/dev
/null
2>&1; then
25769 ac_cv_type_uid_t
=yes
25771 ac_cv_type_uid_t
=no
25776 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25777 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25778 if test $ac_cv_type_uid_t = no
; then
25780 cat >>confdefs.h
<<\_ACEOF
25785 cat >>confdefs.h
<<\_ACEOF
25795 ac_cpp
='$CXXCPP $CPPFLAGS'
25796 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25797 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25798 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25800 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25801 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25802 if test "${wx_cv_size_t_is_uint+set}" = set; then
25803 echo $ECHO_N "(cached) $ECHO_C" >&6
25806 cat >conftest.
$ac_ext <<_ACEOF
25807 #line $LINENO "configure"
25810 cat confdefs.h
>>conftest.
$ac_ext
25811 cat >>conftest.
$ac_ext <<_ACEOF
25812 /* end confdefs.h. */
25813 #include <stddef.h>
25820 struct Foo { void foo(size_t); void foo(unsigned int); };
25828 rm -f conftest.
$ac_objext
25829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25830 (eval $ac_compile) 2>&5
25832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25833 (exit $ac_status); } &&
25834 { ac_try
='test -s conftest.$ac_objext'
25835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25836 (eval $ac_try) 2>&5
25838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25839 (exit $ac_status); }; }; then
25840 wx_cv_size_t_is_uint
=no
25842 echo "$as_me: failed program was:" >&5
25843 sed 's/^/| /' conftest.
$ac_ext >&5
25845 wx_cv_size_t_is_uint
=yes
25848 rm -f conftest.
$ac_objext conftest.
$ac_ext
25852 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25853 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25855 if test "$wx_cv_size_t_is_uint" = "yes"; then
25856 cat >>confdefs.h
<<\_ACEOF
25857 #define wxSIZE_T_IS_UINT 1
25861 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25862 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25863 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25864 echo $ECHO_N "(cached) $ECHO_C" >&6
25866 cat >conftest.
$ac_ext <<_ACEOF
25867 #line $LINENO "configure"
25870 cat confdefs.h
>>conftest.
$ac_ext
25871 cat >>conftest.
$ac_ext <<_ACEOF
25872 /* end confdefs.h. */
25873 #include <stddef.h>
25880 struct Foo { void foo(size_t); void foo(unsigned long); };
25888 rm -f conftest.
$ac_objext
25889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25890 (eval $ac_compile) 2>&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); } &&
25894 { ac_try
='test -s conftest.$ac_objext'
25895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25896 (eval $ac_try) 2>&5
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); }; }; then
25900 wx_cv_size_t_is_ulong
=no
25902 echo "$as_me: failed program was:" >&5
25903 sed 's/^/| /' conftest.
$ac_ext >&5
25905 wx_cv_size_t_is_ulong
=yes
25908 rm -f conftest.
$ac_objext conftest.
$ac_ext
25911 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25912 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25914 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25915 cat >>confdefs.h
<<\_ACEOF
25916 #define wxSIZE_T_IS_ULONG 1
25923 ac_cpp
='$CPP $CPPFLAGS'
25924 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25925 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25926 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25930 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25931 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25932 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25933 echo $ECHO_N "(cached) $ECHO_C" >&6
25936 cat >conftest.
$ac_ext <<_ACEOF
25937 #line $LINENO "configure"
25940 cat confdefs.h
>>conftest.
$ac_ext
25941 cat >>conftest.
$ac_ext <<_ACEOF
25942 /* end confdefs.h. */
25956 rm -f conftest.
$ac_objext
25957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25958 (eval $ac_compile) 2>&5
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); } &&
25962 { ac_try
='test -s conftest.$ac_objext'
25963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25964 (eval $ac_try) 2>&5
25966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967 (exit $ac_status); }; }; then
25969 wx_cv_struct_pw_gecos
=yes
25972 echo "$as_me: failed program was:" >&5
25973 sed 's/^/| /' conftest.
$ac_ext >&5
25976 wx_cv_struct_pw_gecos
=no
25980 rm -f conftest.
$ac_objext conftest.
$ac_ext
25984 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25985 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25987 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25988 cat >>confdefs.h
<<\_ACEOF
25989 #define HAVE_PW_GECOS 1
25995 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25996 cat >>confdefs.h
<<\_ACEOF
25997 #define wxUSE_WCHAR_T 1
26004 for ac_func
in wcslen
26006 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26007 echo "$as_me:$LINENO: checking for $ac_func" >&5
26008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26009 if eval "test \"\${$as_ac_var+set}\" = set"; then
26010 echo $ECHO_N "(cached) $ECHO_C" >&6
26012 cat >conftest.
$ac_ext <<_ACEOF
26013 #line $LINENO "configure"
26016 cat confdefs.h
>>conftest.
$ac_ext
26017 cat >>conftest.
$ac_ext <<_ACEOF
26018 /* end confdefs.h. */
26019 /* System header to define __stub macros and hopefully few prototypes,
26020 which can conflict with char $ac_func (); below.
26021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26022 <limits.h> exists even on freestanding compilers. */
26024 # include <limits.h>
26026 # include <assert.h>
26028 /* Override any gcc2 internal prototype to avoid an error. */
26033 /* We use char because int might match the return type of a gcc2
26034 builtin and then its argument prototype would still apply. */
26036 /* The GNU C library defines this for functions which it implements
26037 to always fail with ENOSYS. Some functions are actually named
26038 something starting with __ and the normal name is an alias. */
26039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26042 char (*f) () = $ac_func;
26051 return f != $ac_func;
26056 rm -f conftest.
$ac_objext conftest
$ac_exeext
26057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26058 (eval $ac_link) 2>&5
26060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26061 (exit $ac_status); } &&
26062 { ac_try
='test -s conftest$ac_exeext'
26063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26064 (eval $ac_try) 2>&5
26066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26067 (exit $ac_status); }; }; then
26068 eval "$as_ac_var=yes"
26070 echo "$as_me: failed program was:" >&5
26071 sed 's/^/| /' conftest.
$ac_ext >&5
26073 eval "$as_ac_var=no"
26075 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26079 if test `eval echo '${'$as_ac_var'}'` = yes; then
26080 cat >>confdefs.h
<<_ACEOF
26081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26088 if test "$WCSLEN_FOUND" = 0; then
26089 if test "$TOOLKIT" = "MSW"; then
26090 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26091 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26092 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26093 echo $ECHO_N "(cached) $ECHO_C" >&6
26095 ac_check_lib_save_LIBS
=$LIBS
26096 LIBS
="-lmsvcrt $LIBS"
26097 cat >conftest.
$ac_ext <<_ACEOF
26098 #line $LINENO "configure"
26101 cat confdefs.h
>>conftest.
$ac_ext
26102 cat >>conftest.
$ac_ext <<_ACEOF
26103 /* end confdefs.h. */
26105 /* Override any gcc2 internal prototype to avoid an error. */
26109 /* We use char because int might match the return type of a gcc2
26110 builtin and then its argument prototype would still apply. */
26120 rm -f conftest.
$ac_objext conftest
$ac_exeext
26121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26122 (eval $ac_link) 2>&5
26124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125 (exit $ac_status); } &&
26126 { ac_try
='test -s conftest$ac_exeext'
26127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26128 (eval $ac_try) 2>&5
26130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26131 (exit $ac_status); }; }; then
26132 ac_cv_lib_msvcrt_wcslen
=yes
26134 echo "$as_me: failed program was:" >&5
26135 sed 's/^/| /' conftest.
$ac_ext >&5
26137 ac_cv_lib_msvcrt_wcslen
=no
26139 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26140 LIBS
=$ac_check_lib_save_LIBS
26142 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26143 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26144 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26149 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26150 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26151 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26152 echo $ECHO_N "(cached) $ECHO_C" >&6
26154 ac_check_lib_save_LIBS
=$LIBS
26156 cat >conftest.
$ac_ext <<_ACEOF
26157 #line $LINENO "configure"
26160 cat confdefs.h
>>conftest.
$ac_ext
26161 cat >>conftest.
$ac_ext <<_ACEOF
26162 /* end confdefs.h. */
26164 /* Override any gcc2 internal prototype to avoid an error. */
26168 /* We use char because int might match the return type of a gcc2
26169 builtin and then its argument prototype would still apply. */
26179 rm -f conftest.
$ac_objext conftest
$ac_exeext
26180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26181 (eval $ac_link) 2>&5
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); } &&
26185 { ac_try
='test -s conftest$ac_exeext'
26186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26187 (eval $ac_try) 2>&5
26189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26190 (exit $ac_status); }; }; then
26191 ac_cv_lib_w_wcslen
=yes
26193 echo "$as_me: failed program was:" >&5
26194 sed 's/^/| /' conftest.
$ac_ext >&5
26196 ac_cv_lib_w_wcslen
=no
26198 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26199 LIBS
=$ac_check_lib_save_LIBS
26201 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26202 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26203 if test $ac_cv_lib_w_wcslen = yes; then
26213 if test "$WCSLEN_FOUND" = 1; then
26214 cat >>confdefs.h
<<\_ACEOF
26215 #define HAVE_WCSLEN 1
26221 for ac_func
in wcsrtombs
26223 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26224 echo "$as_me:$LINENO: checking for $ac_func" >&5
26225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26226 if eval "test \"\${$as_ac_var+set}\" = set"; then
26227 echo $ECHO_N "(cached) $ECHO_C" >&6
26229 cat >conftest.
$ac_ext <<_ACEOF
26230 #line $LINENO "configure"
26233 cat confdefs.h
>>conftest.
$ac_ext
26234 cat >>conftest.
$ac_ext <<_ACEOF
26235 /* end confdefs.h. */
26236 /* System header to define __stub macros and hopefully few prototypes,
26237 which can conflict with char $ac_func (); below.
26238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26239 <limits.h> exists even on freestanding compilers. */
26241 # include <limits.h>
26243 # include <assert.h>
26245 /* Override any gcc2 internal prototype to avoid an error. */
26250 /* We use char because int might match the return type of a gcc2
26251 builtin and then its argument prototype would still apply. */
26253 /* The GNU C library defines this for functions which it implements
26254 to always fail with ENOSYS. Some functions are actually named
26255 something starting with __ and the normal name is an alias. */
26256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26259 char (*f) () = $ac_func;
26268 return f != $ac_func;
26273 rm -f conftest.
$ac_objext conftest
$ac_exeext
26274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26275 (eval $ac_link) 2>&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); } &&
26279 { ac_try
='test -s conftest$ac_exeext'
26280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26281 (eval $ac_try) 2>&5
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); }; }; then
26285 eval "$as_ac_var=yes"
26287 echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.
$ac_ext >&5
26290 eval "$as_ac_var=no"
26292 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26296 if test `eval echo '${'$as_ac_var'}'` = yes; then
26297 cat >>confdefs.h
<<_ACEOF
26298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26305 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26306 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26312 ac_cpp
='$CXXCPP $CPPFLAGS'
26313 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26314 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26315 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26319 for ac_func
in vsnprintf
26321 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26322 echo "$as_me:$LINENO: checking for $ac_func" >&5
26323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26324 if eval "test \"\${$as_ac_var+set}\" = set"; then
26325 echo $ECHO_N "(cached) $ECHO_C" >&6
26327 cat >conftest.
$ac_ext <<_ACEOF
26328 #line $LINENO "configure"
26331 cat confdefs.h
>>conftest.
$ac_ext
26332 cat >>conftest.
$ac_ext <<_ACEOF
26333 /* end confdefs.h. */
26334 /* System header to define __stub macros and hopefully few prototypes,
26335 which can conflict with char $ac_func (); below.
26336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26337 <limits.h> exists even on freestanding compilers. */
26339 # include <limits.h>
26341 # include <assert.h>
26343 /* Override any gcc2 internal prototype to avoid an error. */
26348 /* We use char because int might match the return type of a gcc2
26349 builtin and then its argument prototype would still apply. */
26351 /* The GNU C library defines this for functions which it implements
26352 to always fail with ENOSYS. Some functions are actually named
26353 something starting with __ and the normal name is an alias. */
26354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26357 char (*f) () = $ac_func;
26366 return f != $ac_func;
26371 rm -f conftest.
$ac_objext conftest
$ac_exeext
26372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26373 (eval $ac_link) 2>&5
26375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376 (exit $ac_status); } &&
26377 { ac_try
='test -s conftest$ac_exeext'
26378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26379 (eval $ac_try) 2>&5
26381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26382 (exit $ac_status); }; }; then
26383 eval "$as_ac_var=yes"
26385 echo "$as_me: failed program was:" >&5
26386 sed 's/^/| /' conftest.
$ac_ext >&5
26388 eval "$as_ac_var=no"
26390 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26394 if test `eval echo '${'$as_ac_var'}'` = yes; then
26395 cat >>confdefs.h
<<_ACEOF
26396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26403 if test "$ac_cv_func_vsnprintf" = "yes"; then
26404 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26405 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26406 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26407 echo $ECHO_N "(cached) $ECHO_C" >&6
26410 cat >conftest.
$ac_ext <<_ACEOF
26411 #line $LINENO "configure"
26414 cat confdefs.h
>>conftest.
$ac_ext
26415 cat >>conftest.
$ac_ext <<_ACEOF
26416 /* end confdefs.h. */
26419 #include <stdarg.h>
26427 vsnprintf(buf, 10u, "%s", ap);
26433 rm -f conftest.
$ac_objext
26434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26435 (eval $ac_compile) 2>&5
26437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438 (exit $ac_status); } &&
26439 { ac_try
='test -s conftest.$ac_objext'
26440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26441 (eval $ac_try) 2>&5
26443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26444 (exit $ac_status); }; }; then
26445 wx_cv_func_vsnprintf_decl
=yes
26447 echo "$as_me: failed program was:" >&5
26448 sed 's/^/| /' conftest.
$ac_ext >&5
26450 wx_cv_func_vsnprintf_decl
=no
26453 rm -f conftest.
$ac_objext conftest.
$ac_ext
26457 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26458 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26460 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26461 cat >>confdefs.h
<<\_ACEOF
26462 #define HAVE_VSNPRINTF_DECL 1
26468 if test "$wxUSE_UNICODE" = yes; then
26472 for ac_func
in fputwc wprintf vswprintf
26474 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26475 echo "$as_me:$LINENO: checking for $ac_func" >&5
26476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26477 if eval "test \"\${$as_ac_var+set}\" = set"; then
26478 echo $ECHO_N "(cached) $ECHO_C" >&6
26480 cat >conftest.
$ac_ext <<_ACEOF
26481 #line $LINENO "configure"
26484 cat confdefs.h
>>conftest.
$ac_ext
26485 cat >>conftest.
$ac_ext <<_ACEOF
26486 /* end confdefs.h. */
26487 /* System header to define __stub macros and hopefully few prototypes,
26488 which can conflict with char $ac_func (); below.
26489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26490 <limits.h> exists even on freestanding compilers. */
26492 # include <limits.h>
26494 # include <assert.h>
26496 /* Override any gcc2 internal prototype to avoid an error. */
26501 /* We use char because int might match the return type of a gcc2
26502 builtin and then its argument prototype would still apply. */
26504 /* The GNU C library defines this for functions which it implements
26505 to always fail with ENOSYS. Some functions are actually named
26506 something starting with __ and the normal name is an alias. */
26507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26510 char (*f) () = $ac_func;
26519 return f != $ac_func;
26524 rm -f conftest.
$ac_objext conftest
$ac_exeext
26525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26526 (eval $ac_link) 2>&5
26528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529 (exit $ac_status); } &&
26530 { ac_try
='test -s conftest$ac_exeext'
26531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26532 (eval $ac_try) 2>&5
26534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535 (exit $ac_status); }; }; then
26536 eval "$as_ac_var=yes"
26538 echo "$as_me: failed program was:" >&5
26539 sed 's/^/| /' conftest.
$ac_ext >&5
26541 eval "$as_ac_var=no"
26543 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26547 if test `eval echo '${'$as_ac_var'}'` = yes; then
26548 cat >>confdefs.h
<<_ACEOF
26549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26556 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26557 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26558 cat >conftest.
$ac_ext <<_ACEOF
26559 #line $LINENO "configure"
26562 cat confdefs.h
>>conftest.
$ac_ext
26563 cat >>conftest.
$ac_ext <<_ACEOF
26564 /* end confdefs.h. */
26574 rm -f conftest.
$ac_objext
26575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26576 (eval $ac_compile) 2>&5
26578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579 (exit $ac_status); } &&
26580 { ac_try
='test -s conftest.$ac_objext'
26581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26582 (eval $ac_try) 2>&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); }; }; then
26586 echo "$as_me:$LINENO: result: yes" >&5
26587 echo "${ECHO_T}yes" >&6
26588 cat >>confdefs.h
<<\_ACEOF
26589 #define HAVE__VSNWPRINTF 1
26593 echo "$as_me: failed program was:" >&5
26594 sed 's/^/| /' conftest.
$ac_ext >&5
26596 echo "$as_me:$LINENO: result: no" >&5
26597 echo "${ECHO_T}no" >&6
26599 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26603 ac_cpp
='$CPP $CPPFLAGS'
26604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26611 if test "$TOOLKIT" != "MSW"; then
26617 ac_cpp
='$CXXCPP $CPPFLAGS'
26618 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26619 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26620 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26625 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26626 if test "${with_libiconv_prefix+set}" = set; then
26627 withval
="$with_libiconv_prefix"
26629 for dir
in `echo "$withval" | tr : ' '`; do
26630 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26631 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26636 echo "$as_me:$LINENO: checking for iconv" >&5
26637 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26638 if test "${am_cv_func_iconv+set}" = set; then
26639 echo $ECHO_N "(cached) $ECHO_C" >&6
26642 am_cv_func_iconv
="no, consider installing GNU libiconv"
26644 cat >conftest.
$ac_ext <<_ACEOF
26645 #line $LINENO "configure"
26648 cat confdefs.h
>>conftest.
$ac_ext
26649 cat >>conftest.
$ac_ext <<_ACEOF
26650 /* end confdefs.h. */
26651 #include <stdlib.h>
26656 iconv_t cd = iconv_open("","");
26657 iconv(cd,NULL,NULL,NULL,NULL);
26663 rm -f conftest.
$ac_objext conftest
$ac_exeext
26664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26665 (eval $ac_link) 2>&5
26667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668 (exit $ac_status); } &&
26669 { ac_try
='test -s conftest$ac_exeext'
26670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26671 (eval $ac_try) 2>&5
26673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674 (exit $ac_status); }; }; then
26675 am_cv_func_iconv
=yes
26677 echo "$as_me: failed program was:" >&5
26678 sed 's/^/| /' conftest.
$ac_ext >&5
26681 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26682 if test "$am_cv_func_iconv" != yes; then
26683 am_save_LIBS
="$LIBS"
26684 LIBS
="$LIBS -liconv"
26685 cat >conftest.
$ac_ext <<_ACEOF
26686 #line $LINENO "configure"
26689 cat confdefs.h
>>conftest.
$ac_ext
26690 cat >>conftest.
$ac_ext <<_ACEOF
26691 /* end confdefs.h. */
26692 #include <stdlib.h>
26697 iconv_t cd = iconv_open("","");
26698 iconv(cd,NULL,NULL,NULL,NULL);
26704 rm -f conftest.
$ac_objext conftest
$ac_exeext
26705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26706 (eval $ac_link) 2>&5
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); } &&
26710 { ac_try
='test -s conftest$ac_exeext'
26711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26712 (eval $ac_try) 2>&5
26714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715 (exit $ac_status); }; }; then
26716 am_cv_lib_iconv
=yes
26717 am_cv_func_iconv
=yes
26719 echo "$as_me: failed program was:" >&5
26720 sed 's/^/| /' conftest.
$ac_ext >&5
26723 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26724 LIBS
="$am_save_LIBS"
26728 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26729 echo "${ECHO_T}$am_cv_func_iconv" >&6
26730 if test "$am_cv_func_iconv" = yes; then
26732 cat >>confdefs.h
<<\_ACEOF
26733 #define HAVE_ICONV 1
26736 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26737 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26738 if test "${wx_cv_func_iconv_const+set}" = set; then
26739 echo $ECHO_N "(cached) $ECHO_C" >&6
26741 cat >conftest.
$ac_ext <<_ACEOF
26742 #line $LINENO "configure"
26745 cat confdefs.h
>>conftest.
$ac_ext
26746 cat >>conftest.
$ac_ext <<_ACEOF
26747 /* end confdefs.h. */
26749 #include <stdlib.h>
26755 #if defined(__STDC__) || defined(__cplusplus)
26756 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26769 rm -f conftest.
$ac_objext
26770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26771 (eval $ac_compile) 2>&5
26773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26774 (exit $ac_status); } &&
26775 { ac_try
='test -s conftest.$ac_objext'
26776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26777 (eval $ac_try) 2>&5
26779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26780 (exit $ac_status); }; }; then
26781 wx_cv_func_iconv_const
="no"
26783 echo "$as_me: failed program was:" >&5
26784 sed 's/^/| /' conftest.
$ac_ext >&5
26786 wx_cv_func_iconv_const
="yes"
26789 rm -f conftest.
$ac_objext conftest.
$ac_ext
26792 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26793 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26796 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26797 iconv_const
="const"
26801 cat >>confdefs.h
<<_ACEOF
26802 #define ICONV_CONST $iconv_const
26807 if test "$am_cv_lib_iconv" = yes; then
26812 LIBS
="$LIBICONV $LIBS"
26814 ac_cpp
='$CPP $CPPFLAGS'
26815 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26816 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26817 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26820 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26822 for ac_func
in sigaction
26824 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26825 echo "$as_me:$LINENO: checking for $ac_func" >&5
26826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26827 if eval "test \"\${$as_ac_var+set}\" = set"; then
26828 echo $ECHO_N "(cached) $ECHO_C" >&6
26830 cat >conftest.
$ac_ext <<_ACEOF
26831 #line $LINENO "configure"
26834 cat confdefs.h
>>conftest.
$ac_ext
26835 cat >>conftest.
$ac_ext <<_ACEOF
26836 /* end confdefs.h. */
26837 /* System header to define __stub macros and hopefully few prototypes,
26838 which can conflict with char $ac_func (); below.
26839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26840 <limits.h> exists even on freestanding compilers. */
26842 # include <limits.h>
26844 # include <assert.h>
26846 /* Override any gcc2 internal prototype to avoid an error. */
26851 /* We use char because int might match the return type of a gcc2
26852 builtin and then its argument prototype would still apply. */
26854 /* The GNU C library defines this for functions which it implements
26855 to always fail with ENOSYS. Some functions are actually named
26856 something starting with __ and the normal name is an alias. */
26857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26860 char (*f) () = $ac_func;
26869 return f != $ac_func;
26874 rm -f conftest.
$ac_objext conftest
$ac_exeext
26875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26876 (eval $ac_link) 2>&5
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); } &&
26880 { ac_try
='test -s conftest$ac_exeext'
26881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26882 (eval $ac_try) 2>&5
26884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26885 (exit $ac_status); }; }; then
26886 eval "$as_ac_var=yes"
26888 echo "$as_me: failed program was:" >&5
26889 sed 's/^/| /' conftest.
$ac_ext >&5
26891 eval "$as_ac_var=no"
26893 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26897 if test `eval echo '${'$as_ac_var'}'` = yes; then
26898 cat >>confdefs.h
<<_ACEOF
26899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26906 if test "$ac_cv_func_sigaction" = "no"; then
26907 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26908 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26909 wxUSE_ON_FATAL_EXCEPTION
=no
26912 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26916 ac_cpp
='$CXXCPP $CPPFLAGS'
26917 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26918 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26919 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26922 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26923 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26924 if test "${wx_cv_type_sa_handler+set}" = set; then
26925 echo $ECHO_N "(cached) $ECHO_C" >&6
26928 cat >conftest.
$ac_ext <<_ACEOF
26929 #line $LINENO "configure"
26932 cat confdefs.h
>>conftest.
$ac_ext
26933 cat >>conftest.
$ac_ext <<_ACEOF
26934 /* end confdefs.h. */
26935 #include <signal.h>
26940 extern void testSigHandler(int);
26942 struct sigaction sa;
26943 sa.sa_handler = testSigHandler;
26949 rm -f conftest.
$ac_objext
26950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26951 (eval $ac_compile) 2>&5
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); } &&
26955 { ac_try
='test -s conftest.$ac_objext'
26956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26957 (eval $ac_try) 2>&5
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); }; }; then
26962 wx_cv_type_sa_handler
=int
26965 echo "$as_me: failed program was:" >&5
26966 sed 's/^/| /' conftest.
$ac_ext >&5
26969 wx_cv_type_sa_handler
=void
26972 rm -f conftest.
$ac_objext conftest.
$ac_ext
26975 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26976 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26979 ac_cpp
='$CPP $CPPFLAGS'
26980 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26981 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26982 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26985 cat >>confdefs.h
<<_ACEOF
26986 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26994 for ac_func
in mkstemp mktemp
26996 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26997 echo "$as_me:$LINENO: checking for $ac_func" >&5
26998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26999 if eval "test \"\${$as_ac_var+set}\" = set"; then
27000 echo $ECHO_N "(cached) $ECHO_C" >&6
27002 cat >conftest.
$ac_ext <<_ACEOF
27003 #line $LINENO "configure"
27006 cat confdefs.h
>>conftest.
$ac_ext
27007 cat >>conftest.
$ac_ext <<_ACEOF
27008 /* end confdefs.h. */
27009 /* System header to define __stub macros and hopefully few prototypes,
27010 which can conflict with char $ac_func (); below.
27011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27012 <limits.h> exists even on freestanding compilers. */
27014 # include <limits.h>
27016 # include <assert.h>
27018 /* Override any gcc2 internal prototype to avoid an error. */
27023 /* We use char because int might match the return type of a gcc2
27024 builtin and then its argument prototype would still apply. */
27026 /* The GNU C library defines this for functions which it implements
27027 to always fail with ENOSYS. Some functions are actually named
27028 something starting with __ and the normal name is an alias. */
27029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27032 char (*f) () = $ac_func;
27041 return f != $ac_func;
27046 rm -f conftest.
$ac_objext conftest
$ac_exeext
27047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27048 (eval $ac_link) 2>&5
27050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27051 (exit $ac_status); } &&
27052 { ac_try
='test -s conftest$ac_exeext'
27053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27054 (eval $ac_try) 2>&5
27056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057 (exit $ac_status); }; }; then
27058 eval "$as_ac_var=yes"
27060 echo "$as_me: failed program was:" >&5
27061 sed 's/^/| /' conftest.
$ac_ext >&5
27063 eval "$as_ac_var=no"
27065 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27069 if test `eval echo '${'$as_ac_var'}'` = yes; then
27070 cat >>confdefs.h
<<_ACEOF
27071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27078 echo "$as_me:$LINENO: checking for statfs" >&5
27079 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27080 if test "${wx_cv_func_statfs+set}" = set; then
27081 echo $ECHO_N "(cached) $ECHO_C" >&6
27083 cat >conftest.
$ac_ext <<_ACEOF
27084 #line $LINENO "configure"
27087 cat confdefs.h
>>conftest.
$ac_ext
27088 cat >>conftest.
$ac_ext <<_ACEOF
27089 /* end confdefs.h. */
27091 #if defined(__BSD__)
27092 #include <sys/param.h>
27093 #include <sys/mount.h>
27095 #include <sys/vfs.h>
27113 rm -f conftest.
$ac_objext
27114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27115 (eval $ac_compile) 2>&5
27117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); } &&
27119 { ac_try
='test -s conftest.$ac_objext'
27120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27121 (eval $ac_try) 2>&5
27123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124 (exit $ac_status); }; }; then
27126 wx_cv_func_statfs
=yes
27129 echo "$as_me: failed program was:" >&5
27130 sed 's/^/| /' conftest.
$ac_ext >&5
27133 wx_cv_func_statfs
=no
27137 rm -f conftest.
$ac_objext conftest.
$ac_ext
27140 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27141 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27143 if test "$wx_cv_func_statfs" = "yes"; then
27144 wx_cv_type_statvfs_t
="struct statfs"
27145 cat >>confdefs.h
<<\_ACEOF
27146 #define HAVE_STATFS 1
27150 echo "$as_me:$LINENO: checking for statvfs" >&5
27151 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27152 if test "${wx_cv_func_statvfs+set}" = set; then
27153 echo $ECHO_N "(cached) $ECHO_C" >&6
27155 cat >conftest.
$ac_ext <<_ACEOF
27156 #line $LINENO "configure"
27159 cat confdefs.h
>>conftest.
$ac_ext
27160 cat >>conftest.
$ac_ext <<_ACEOF
27161 /* end confdefs.h. */
27163 #include <stddef.h>
27164 #include <sys/statvfs.h>
27170 statvfs("/", NULL);
27176 rm -f conftest.
$ac_objext
27177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27178 (eval $ac_compile) 2>&5
27180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27181 (exit $ac_status); } &&
27182 { ac_try
='test -s conftest.$ac_objext'
27183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27184 (eval $ac_try) 2>&5
27186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27187 (exit $ac_status); }; }; then
27188 wx_cv_func_statvfs
=yes
27190 echo "$as_me: failed program was:" >&5
27191 sed 's/^/| /' conftest.
$ac_ext >&5
27193 wx_cv_func_statvfs
=no
27196 rm -f conftest.
$ac_objext conftest.
$ac_ext
27199 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27200 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27202 if test "$wx_cv_func_statvfs" = "yes"; then
27206 ac_cpp
='$CXXCPP $CPPFLAGS'
27207 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27208 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27209 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27212 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27213 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27214 if test "${wx_cv_type_statvfs_t+set}" = set; then
27215 echo $ECHO_N "(cached) $ECHO_C" >&6
27217 cat >conftest.
$ac_ext <<_ACEOF
27218 #line $LINENO "configure"
27221 cat confdefs.h
>>conftest.
$ac_ext
27222 cat >>conftest.
$ac_ext <<_ACEOF
27223 /* end confdefs.h. */
27225 #include <sys/statvfs.h>
27242 rm -f conftest.
$ac_objext
27243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27244 (eval $ac_compile) 2>&5
27246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247 (exit $ac_status); } &&
27248 { ac_try
='test -s conftest.$ac_objext'
27249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27250 (eval $ac_try) 2>&5
27252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27253 (exit $ac_status); }; }; then
27254 wx_cv_type_statvfs_t
=statvfs_t
27256 echo "$as_me: failed program was:" >&5
27257 sed 's/^/| /' conftest.
$ac_ext >&5
27260 cat >conftest.
$ac_ext <<_ACEOF
27261 #line $LINENO "configure"
27264 cat confdefs.h
>>conftest.
$ac_ext
27265 cat >>conftest.
$ac_ext <<_ACEOF
27266 /* end confdefs.h. */
27268 #include <sys/statvfs.h>
27285 rm -f conftest.
$ac_objext
27286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27287 (eval $ac_compile) 2>&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); } &&
27291 { ac_try
='test -s conftest.$ac_objext'
27292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27293 (eval $ac_try) 2>&5
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); }; }; then
27297 wx_cv_type_statvfs_t
="struct statvfs"
27299 echo "$as_me: failed program was:" >&5
27300 sed 's/^/| /' conftest.
$ac_ext >&5
27302 wx_cv_type_statvfs_t
="unknown"
27305 rm -f conftest.
$ac_objext conftest.
$ac_ext
27309 rm -f conftest.
$ac_objext conftest.
$ac_ext
27312 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27313 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27316 ac_cpp
='$CPP $CPPFLAGS'
27317 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27318 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27319 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27322 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27323 cat >>confdefs.h
<<\_ACEOF
27324 #define HAVE_STATVFS 1
27329 wx_cv_type_statvfs_t
="unknown"
27333 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27334 cat >>confdefs.h
<<_ACEOF
27335 #define WX_STATFS_T $wx_cv_type_statvfs_t
27339 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27340 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27343 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27346 for ac_func
in fcntl flock
27348 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27349 echo "$as_me:$LINENO: checking for $ac_func" >&5
27350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27351 if eval "test \"\${$as_ac_var+set}\" = set"; then
27352 echo $ECHO_N "(cached) $ECHO_C" >&6
27354 cat >conftest.
$ac_ext <<_ACEOF
27355 #line $LINENO "configure"
27358 cat confdefs.h
>>conftest.
$ac_ext
27359 cat >>conftest.
$ac_ext <<_ACEOF
27360 /* end confdefs.h. */
27361 /* System header to define __stub macros and hopefully few prototypes,
27362 which can conflict with char $ac_func (); below.
27363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27364 <limits.h> exists even on freestanding compilers. */
27366 # include <limits.h>
27368 # include <assert.h>
27370 /* Override any gcc2 internal prototype to avoid an error. */
27375 /* We use char because int might match the return type of a gcc2
27376 builtin and then its argument prototype would still apply. */
27378 /* The GNU C library defines this for functions which it implements
27379 to always fail with ENOSYS. Some functions are actually named
27380 something starting with __ and the normal name is an alias. */
27381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27384 char (*f) () = $ac_func;
27393 return f != $ac_func;
27398 rm -f conftest.
$ac_objext conftest
$ac_exeext
27399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27400 (eval $ac_link) 2>&5
27402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403 (exit $ac_status); } &&
27404 { ac_try
='test -s conftest$ac_exeext'
27405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27406 (eval $ac_try) 2>&5
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); }; }; then
27410 eval "$as_ac_var=yes"
27412 echo "$as_me: failed program was:" >&5
27413 sed 's/^/| /' conftest.
$ac_ext >&5
27415 eval "$as_ac_var=no"
27417 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27421 if test `eval echo '${'$as_ac_var'}'` = yes; then
27422 cat >>confdefs.h
<<_ACEOF
27423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27430 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27431 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27432 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27433 wxUSE_SNGLINST_CHECKER
=no
27438 for ac_func
in timegm
27440 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27441 echo "$as_me:$LINENO: checking for $ac_func" >&5
27442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27443 if eval "test \"\${$as_ac_var+set}\" = set"; then
27444 echo $ECHO_N "(cached) $ECHO_C" >&6
27446 cat >conftest.
$ac_ext <<_ACEOF
27447 #line $LINENO "configure"
27450 cat confdefs.h
>>conftest.
$ac_ext
27451 cat >>conftest.
$ac_ext <<_ACEOF
27452 /* end confdefs.h. */
27453 /* System header to define __stub macros and hopefully few prototypes,
27454 which can conflict with char $ac_func (); below.
27455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27456 <limits.h> exists even on freestanding compilers. */
27458 # include <limits.h>
27460 # include <assert.h>
27462 /* Override any gcc2 internal prototype to avoid an error. */
27467 /* We use char because int might match the return type of a gcc2
27468 builtin and then its argument prototype would still apply. */
27470 /* The GNU C library defines this for functions which it implements
27471 to always fail with ENOSYS. Some functions are actually named
27472 something starting with __ and the normal name is an alias. */
27473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27476 char (*f) () = $ac_func;
27485 return f != $ac_func;
27490 rm -f conftest.
$ac_objext conftest
$ac_exeext
27491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27492 (eval $ac_link) 2>&5
27494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27495 (exit $ac_status); } &&
27496 { ac_try
='test -s conftest$ac_exeext'
27497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27498 (eval $ac_try) 2>&5
27500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27501 (exit $ac_status); }; }; then
27502 eval "$as_ac_var=yes"
27504 echo "$as_me: failed program was:" >&5
27505 sed 's/^/| /' conftest.
$ac_ext >&5
27507 eval "$as_ac_var=no"
27509 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27513 if test `eval echo '${'$as_ac_var'}'` = yes; then
27514 cat >>confdefs.h
<<_ACEOF
27515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27524 for ac_func
in putenv setenv
27526 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27527 echo "$as_me:$LINENO: checking for $ac_func" >&5
27528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27529 if eval "test \"\${$as_ac_var+set}\" = set"; then
27530 echo $ECHO_N "(cached) $ECHO_C" >&6
27532 cat >conftest.
$ac_ext <<_ACEOF
27533 #line $LINENO "configure"
27536 cat confdefs.h
>>conftest.
$ac_ext
27537 cat >>conftest.
$ac_ext <<_ACEOF
27538 /* end confdefs.h. */
27539 /* System header to define __stub macros and hopefully few prototypes,
27540 which can conflict with char $ac_func (); below.
27541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27542 <limits.h> exists even on freestanding compilers. */
27544 # include <limits.h>
27546 # include <assert.h>
27548 /* Override any gcc2 internal prototype to avoid an error. */
27553 /* We use char because int might match the return type of a gcc2
27554 builtin and then its argument prototype would still apply. */
27556 /* The GNU C library defines this for functions which it implements
27557 to always fail with ENOSYS. Some functions are actually named
27558 something starting with __ and the normal name is an alias. */
27559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27562 char (*f) () = $ac_func;
27571 return f != $ac_func;
27576 rm -f conftest.
$ac_objext conftest
$ac_exeext
27577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27578 (eval $ac_link) 2>&5
27580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27581 (exit $ac_status); } &&
27582 { ac_try
='test -s conftest$ac_exeext'
27583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27584 (eval $ac_try) 2>&5
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); }; }; then
27588 eval "$as_ac_var=yes"
27590 echo "$as_me: failed program was:" >&5
27591 sed 's/^/| /' conftest.
$ac_ext >&5
27593 eval "$as_ac_var=no"
27595 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27599 if test `eval echo '${'$as_ac_var'}'` = yes; then
27600 cat >>confdefs.h
<<_ACEOF
27601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27608 HAVE_SOME_SLEEP_FUNC
=0
27609 if test "$USE_BEOS" = 1; then
27610 cat >>confdefs.h
<<\_ACEOF
27611 #define HAVE_SLEEP 1
27614 HAVE_SOME_SLEEP_FUNC
=1
27617 if test "$USE_DARWIN" = 1; then
27618 cat >>confdefs.h
<<\_ACEOF
27619 #define HAVE_USLEEP 1
27622 HAVE_SOME_SLEEP_FUNC
=1
27625 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27628 for ac_func
in nanosleep
27630 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27631 echo "$as_me:$LINENO: checking for $ac_func" >&5
27632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27633 if eval "test \"\${$as_ac_var+set}\" = set"; then
27634 echo $ECHO_N "(cached) $ECHO_C" >&6
27636 cat >conftest.
$ac_ext <<_ACEOF
27637 #line $LINENO "configure"
27640 cat confdefs.h
>>conftest.
$ac_ext
27641 cat >>conftest.
$ac_ext <<_ACEOF
27642 /* end confdefs.h. */
27643 /* System header to define __stub macros and hopefully few prototypes,
27644 which can conflict with char $ac_func (); below.
27645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27646 <limits.h> exists even on freestanding compilers. */
27648 # include <limits.h>
27650 # include <assert.h>
27652 /* Override any gcc2 internal prototype to avoid an error. */
27657 /* We use char because int might match the return type of a gcc2
27658 builtin and then its argument prototype would still apply. */
27660 /* The GNU C library defines this for functions which it implements
27661 to always fail with ENOSYS. Some functions are actually named
27662 something starting with __ and the normal name is an alias. */
27663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27666 char (*f) () = $ac_func;
27675 return f != $ac_func;
27680 rm -f conftest.
$ac_objext conftest
$ac_exeext
27681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27682 (eval $ac_link) 2>&5
27684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685 (exit $ac_status); } &&
27686 { ac_try
='test -s conftest$ac_exeext'
27687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27688 (eval $ac_try) 2>&5
27690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27691 (exit $ac_status); }; }; then
27692 eval "$as_ac_var=yes"
27694 echo "$as_me: failed program was:" >&5
27695 sed 's/^/| /' conftest.
$ac_ext >&5
27697 eval "$as_ac_var=no"
27699 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27703 if test `eval echo '${'$as_ac_var'}'` = yes; then
27704 cat >>confdefs.h
<<_ACEOF
27705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27707 cat >>confdefs.h
<<\_ACEOF
27708 #define HAVE_NANOSLEEP 1
27713 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27714 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27715 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27716 echo $ECHO_N "(cached) $ECHO_C" >&6
27718 ac_check_lib_save_LIBS
=$LIBS
27719 LIBS
="-lposix4 $LIBS"
27720 cat >conftest.
$ac_ext <<_ACEOF
27721 #line $LINENO "configure"
27724 cat confdefs.h
>>conftest.
$ac_ext
27725 cat >>conftest.
$ac_ext <<_ACEOF
27726 /* end confdefs.h. */
27728 /* Override any gcc2 internal prototype to avoid an error. */
27732 /* We use char because int might match the return type of a gcc2
27733 builtin and then its argument prototype would still apply. */
27743 rm -f conftest.
$ac_objext conftest
$ac_exeext
27744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27745 (eval $ac_link) 2>&5
27747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27748 (exit $ac_status); } &&
27749 { ac_try
='test -s conftest$ac_exeext'
27750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27751 (eval $ac_try) 2>&5
27753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27754 (exit $ac_status); }; }; then
27755 ac_cv_lib_posix4_nanosleep
=yes
27757 echo "$as_me: failed program was:" >&5
27758 sed 's/^/| /' conftest.
$ac_ext >&5
27760 ac_cv_lib_posix4_nanosleep
=no
27762 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27763 LIBS
=$ac_check_lib_save_LIBS
27765 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27766 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27767 if test $ac_cv_lib_posix4_nanosleep = yes; then
27769 cat >>confdefs.h
<<\_ACEOF
27770 #define HAVE_NANOSLEEP 1
27773 POSIX4_LINK
=" -lposix4"
27778 for ac_func
in usleep
27780 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27781 echo "$as_me:$LINENO: checking for $ac_func" >&5
27782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27783 if eval "test \"\${$as_ac_var+set}\" = set"; then
27784 echo $ECHO_N "(cached) $ECHO_C" >&6
27786 cat >conftest.
$ac_ext <<_ACEOF
27787 #line $LINENO "configure"
27790 cat confdefs.h
>>conftest.
$ac_ext
27791 cat >>conftest.
$ac_ext <<_ACEOF
27792 /* end confdefs.h. */
27793 /* System header to define __stub macros and hopefully few prototypes,
27794 which can conflict with char $ac_func (); below.
27795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27796 <limits.h> exists even on freestanding compilers. */
27798 # include <limits.h>
27800 # include <assert.h>
27802 /* Override any gcc2 internal prototype to avoid an error. */
27807 /* We use char because int might match the return type of a gcc2
27808 builtin and then its argument prototype would still apply. */
27810 /* The GNU C library defines this for functions which it implements
27811 to always fail with ENOSYS. Some functions are actually named
27812 something starting with __ and the normal name is an alias. */
27813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27816 char (*f) () = $ac_func;
27825 return f != $ac_func;
27830 rm -f conftest.
$ac_objext conftest
$ac_exeext
27831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27832 (eval $ac_link) 2>&5
27834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27835 (exit $ac_status); } &&
27836 { ac_try
='test -s conftest$ac_exeext'
27837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27838 (eval $ac_try) 2>&5
27840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27841 (exit $ac_status); }; }; then
27842 eval "$as_ac_var=yes"
27844 echo "$as_me: failed program was:" >&5
27845 sed 's/^/| /' conftest.
$ac_ext >&5
27847 eval "$as_ac_var=no"
27849 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27853 if test `eval echo '${'$as_ac_var'}'` = yes; then
27854 cat >>confdefs.h
<<_ACEOF
27855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27857 cat >>confdefs.h
<<\_ACEOF
27858 #define HAVE_USLEEP 1
27862 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27863 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27881 for ac_func
in uname gethostname
27883 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27884 echo "$as_me:$LINENO: checking for $ac_func" >&5
27885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27886 if eval "test \"\${$as_ac_var+set}\" = set"; then
27887 echo $ECHO_N "(cached) $ECHO_C" >&6
27889 cat >conftest.
$ac_ext <<_ACEOF
27890 #line $LINENO "configure"
27893 cat confdefs.h
>>conftest.
$ac_ext
27894 cat >>conftest.
$ac_ext <<_ACEOF
27895 /* end confdefs.h. */
27896 /* System header to define __stub macros and hopefully few prototypes,
27897 which can conflict with char $ac_func (); below.
27898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27899 <limits.h> exists even on freestanding compilers. */
27901 # include <limits.h>
27903 # include <assert.h>
27905 /* Override any gcc2 internal prototype to avoid an error. */
27910 /* We use char because int might match the return type of a gcc2
27911 builtin and then its argument prototype would still apply. */
27913 /* The GNU C library defines this for functions which it implements
27914 to always fail with ENOSYS. Some functions are actually named
27915 something starting with __ and the normal name is an alias. */
27916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27919 char (*f) () = $ac_func;
27928 return f != $ac_func;
27933 rm -f conftest.
$ac_objext conftest
$ac_exeext
27934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27935 (eval $ac_link) 2>&5
27937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938 (exit $ac_status); } &&
27939 { ac_try
='test -s conftest$ac_exeext'
27940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27941 (eval $ac_try) 2>&5
27943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944 (exit $ac_status); }; }; then
27945 eval "$as_ac_var=yes"
27947 echo "$as_me: failed program was:" >&5
27948 sed 's/^/| /' conftest.
$ac_ext >&5
27950 eval "$as_ac_var=no"
27952 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27956 if test `eval echo '${'$as_ac_var'}'` = yes; then
27957 cat >>confdefs.h
<<_ACEOF
27958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27968 ac_cpp
='$CXXCPP $CPPFLAGS'
27969 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27970 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27971 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27975 for ac_func
in strtok_r
27977 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27978 echo "$as_me:$LINENO: checking for $ac_func" >&5
27979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27980 if eval "test \"\${$as_ac_var+set}\" = set"; then
27981 echo $ECHO_N "(cached) $ECHO_C" >&6
27983 cat >conftest.
$ac_ext <<_ACEOF
27984 #line $LINENO "configure"
27987 cat confdefs.h
>>conftest.
$ac_ext
27988 cat >>conftest.
$ac_ext <<_ACEOF
27989 /* end confdefs.h. */
27990 /* System header to define __stub macros and hopefully few prototypes,
27991 which can conflict with char $ac_func (); below.
27992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27993 <limits.h> exists even on freestanding compilers. */
27995 # include <limits.h>
27997 # include <assert.h>
27999 /* Override any gcc2 internal prototype to avoid an error. */
28004 /* We use char because int might match the return type of a gcc2
28005 builtin and then its argument prototype would still apply. */
28007 /* The GNU C library defines this for functions which it implements
28008 to always fail with ENOSYS. Some functions are actually named
28009 something starting with __ and the normal name is an alias. */
28010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28013 char (*f) () = $ac_func;
28022 return f != $ac_func;
28027 rm -f conftest.
$ac_objext conftest
$ac_exeext
28028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28029 (eval $ac_link) 2>&5
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); } &&
28033 { ac_try
='test -s conftest$ac_exeext'
28034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28035 (eval $ac_try) 2>&5
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); }; }; then
28039 eval "$as_ac_var=yes"
28041 echo "$as_me: failed program was:" >&5
28042 sed 's/^/| /' conftest.
$ac_ext >&5
28044 eval "$as_ac_var=no"
28046 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28050 if test `eval echo '${'$as_ac_var'}'` = yes; then
28051 cat >>confdefs.h
<<_ACEOF
28052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28060 ac_cpp
='$CPP $CPPFLAGS'
28061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28068 for ac_func
in inet_addr
28070 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28071 echo "$as_me:$LINENO: checking for $ac_func" >&5
28072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28073 if eval "test \"\${$as_ac_var+set}\" = set"; then
28074 echo $ECHO_N "(cached) $ECHO_C" >&6
28076 cat >conftest.
$ac_ext <<_ACEOF
28077 #line $LINENO "configure"
28080 cat confdefs.h
>>conftest.
$ac_ext
28081 cat >>conftest.
$ac_ext <<_ACEOF
28082 /* end confdefs.h. */
28083 /* System header to define __stub macros and hopefully few prototypes,
28084 which can conflict with char $ac_func (); below.
28085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28086 <limits.h> exists even on freestanding compilers. */
28088 # include <limits.h>
28090 # include <assert.h>
28092 /* Override any gcc2 internal prototype to avoid an error. */
28097 /* We use char because int might match the return type of a gcc2
28098 builtin and then its argument prototype would still apply. */
28100 /* The GNU C library defines this for functions which it implements
28101 to always fail with ENOSYS. Some functions are actually named
28102 something starting with __ and the normal name is an alias. */
28103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28106 char (*f) () = $ac_func;
28115 return f != $ac_func;
28120 rm -f conftest.
$ac_objext conftest
$ac_exeext
28121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28122 (eval $ac_link) 2>&5
28124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28125 (exit $ac_status); } &&
28126 { ac_try
='test -s conftest$ac_exeext'
28127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28128 (eval $ac_try) 2>&5
28130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28131 (exit $ac_status); }; }; then
28132 eval "$as_ac_var=yes"
28134 echo "$as_me: failed program was:" >&5
28135 sed 's/^/| /' conftest.
$ac_ext >&5
28137 eval "$as_ac_var=no"
28139 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28143 if test `eval echo '${'$as_ac_var'}'` = yes; then
28144 cat >>confdefs.h
<<_ACEOF
28145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28147 cat >>confdefs.h
<<\_ACEOF
28148 #define HAVE_INET_ADDR 1
28153 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28154 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28155 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28156 echo $ECHO_N "(cached) $ECHO_C" >&6
28158 ac_check_lib_save_LIBS
=$LIBS
28160 cat >conftest.
$ac_ext <<_ACEOF
28161 #line $LINENO "configure"
28164 cat confdefs.h
>>conftest.
$ac_ext
28165 cat >>conftest.
$ac_ext <<_ACEOF
28166 /* end confdefs.h. */
28168 /* Override any gcc2 internal prototype to avoid an error. */
28172 /* We use char because int might match the return type of a gcc2
28173 builtin and then its argument prototype would still apply. */
28183 rm -f conftest.
$ac_objext conftest
$ac_exeext
28184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28185 (eval $ac_link) 2>&5
28187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28188 (exit $ac_status); } &&
28189 { ac_try
='test -s conftest$ac_exeext'
28190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28191 (eval $ac_try) 2>&5
28193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28194 (exit $ac_status); }; }; then
28195 ac_cv_lib_nsl_inet_addr
=yes
28197 echo "$as_me: failed program was:" >&5
28198 sed 's/^/| /' conftest.
$ac_ext >&5
28200 ac_cv_lib_nsl_inet_addr
=no
28202 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28203 LIBS
=$ac_check_lib_save_LIBS
28205 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28206 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28207 if test $ac_cv_lib_nsl_inet_addr = yes; then
28210 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28211 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28212 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28213 echo $ECHO_N "(cached) $ECHO_C" >&6
28215 ac_check_lib_save_LIBS
=$LIBS
28216 LIBS
="-lresolv $LIBS"
28217 cat >conftest.
$ac_ext <<_ACEOF
28218 #line $LINENO "configure"
28221 cat confdefs.h
>>conftest.
$ac_ext
28222 cat >>conftest.
$ac_ext <<_ACEOF
28223 /* end confdefs.h. */
28225 /* Override any gcc2 internal prototype to avoid an error. */
28229 /* We use char because int might match the return type of a gcc2
28230 builtin and then its argument prototype would still apply. */
28240 rm -f conftest.
$ac_objext conftest
$ac_exeext
28241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28242 (eval $ac_link) 2>&5
28244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245 (exit $ac_status); } &&
28246 { ac_try
='test -s conftest$ac_exeext'
28247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28248 (eval $ac_try) 2>&5
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); }; }; then
28252 ac_cv_lib_resolv_inet_addr
=yes
28254 echo "$as_me: failed program was:" >&5
28255 sed 's/^/| /' conftest.
$ac_ext >&5
28257 ac_cv_lib_resolv_inet_addr
=no
28259 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28260 LIBS
=$ac_check_lib_save_LIBS
28262 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28263 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28264 if test $ac_cv_lib_resolv_inet_addr = yes; then
28267 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28268 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28269 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28270 echo $ECHO_N "(cached) $ECHO_C" >&6
28272 ac_check_lib_save_LIBS
=$LIBS
28273 LIBS
="-lsocket $LIBS"
28274 cat >conftest.
$ac_ext <<_ACEOF
28275 #line $LINENO "configure"
28278 cat confdefs.h
>>conftest.
$ac_ext
28279 cat >>conftest.
$ac_ext <<_ACEOF
28280 /* end confdefs.h. */
28282 /* Override any gcc2 internal prototype to avoid an error. */
28286 /* We use char because int might match the return type of a gcc2
28287 builtin and then its argument prototype would still apply. */
28297 rm -f conftest.
$ac_objext conftest
$ac_exeext
28298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28299 (eval $ac_link) 2>&5
28301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302 (exit $ac_status); } &&
28303 { ac_try
='test -s conftest$ac_exeext'
28304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28305 (eval $ac_try) 2>&5
28307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308 (exit $ac_status); }; }; then
28309 ac_cv_lib_socket_inet_addr
=yes
28311 echo "$as_me: failed program was:" >&5
28312 sed 's/^/| /' conftest.
$ac_ext >&5
28314 ac_cv_lib_socket_inet_addr
=no
28316 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28317 LIBS
=$ac_check_lib_save_LIBS
28319 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28320 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28321 if test $ac_cv_lib_socket_inet_addr = yes; then
28339 for ac_func
in inet_aton
28341 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28342 echo "$as_me:$LINENO: checking for $ac_func" >&5
28343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28344 if eval "test \"\${$as_ac_var+set}\" = set"; then
28345 echo $ECHO_N "(cached) $ECHO_C" >&6
28347 cat >conftest.
$ac_ext <<_ACEOF
28348 #line $LINENO "configure"
28351 cat confdefs.h
>>conftest.
$ac_ext
28352 cat >>conftest.
$ac_ext <<_ACEOF
28353 /* end confdefs.h. */
28354 /* System header to define __stub macros and hopefully few prototypes,
28355 which can conflict with char $ac_func (); below.
28356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28357 <limits.h> exists even on freestanding compilers. */
28359 # include <limits.h>
28361 # include <assert.h>
28363 /* Override any gcc2 internal prototype to avoid an error. */
28368 /* We use char because int might match the return type of a gcc2
28369 builtin and then its argument prototype would still apply. */
28371 /* The GNU C library defines this for functions which it implements
28372 to always fail with ENOSYS. Some functions are actually named
28373 something starting with __ and the normal name is an alias. */
28374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28377 char (*f) () = $ac_func;
28386 return f != $ac_func;
28391 rm -f conftest.
$ac_objext conftest
$ac_exeext
28392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28393 (eval $ac_link) 2>&5
28395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 (exit $ac_status); } &&
28397 { ac_try
='test -s conftest$ac_exeext'
28398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28399 (eval $ac_try) 2>&5
28401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28402 (exit $ac_status); }; }; then
28403 eval "$as_ac_var=yes"
28405 echo "$as_me: failed program was:" >&5
28406 sed 's/^/| /' conftest.
$ac_ext >&5
28408 eval "$as_ac_var=no"
28410 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28414 if test `eval echo '${'$as_ac_var'}'` = yes; then
28415 cat >>confdefs.h
<<_ACEOF
28416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28418 cat >>confdefs.h
<<\_ACEOF
28419 #define HAVE_INET_ATON 1
28424 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28425 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28426 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28427 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28428 echo $ECHO_N "(cached) $ECHO_C" >&6
28430 ac_check_lib_save_LIBS
=$LIBS
28431 LIBS
="-l$INET_LINK $LIBS"
28432 cat >conftest.
$ac_ext <<_ACEOF
28433 #line $LINENO "configure"
28436 cat confdefs.h
>>conftest.
$ac_ext
28437 cat >>conftest.
$ac_ext <<_ACEOF
28438 /* end confdefs.h. */
28440 /* Override any gcc2 internal prototype to avoid an error. */
28444 /* We use char because int might match the return type of a gcc2
28445 builtin and then its argument prototype would still apply. */
28455 rm -f conftest.
$ac_objext conftest
$ac_exeext
28456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28457 (eval $ac_link) 2>&5
28459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460 (exit $ac_status); } &&
28461 { ac_try
='test -s conftest$ac_exeext'
28462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28463 (eval $ac_try) 2>&5
28465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28466 (exit $ac_status); }; }; then
28467 eval "$as_ac_Lib=yes"
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.
$ac_ext >&5
28472 eval "$as_ac_Lib=no"
28474 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28475 LIBS
=$ac_check_lib_save_LIBS
28477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28478 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28479 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28480 cat >>confdefs.h
<<\_ACEOF
28481 #define HAVE_INET_ATON 1
28491 if test "x$INET_LINK" != "x"; then
28492 cat >>confdefs.h
<<\_ACEOF
28493 #define HAVE_INET_ADDR 1
28496 INET_LINK
=" -l$INET_LINK"
28504 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28505 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28506 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28507 echo $ECHO_N "(cached) $ECHO_C" >&6
28509 ac_check_lib_save_LIBS
=$LIBS
28511 cat >conftest.
$ac_ext <<_ACEOF
28512 #line $LINENO "configure"
28515 cat confdefs.h
>>conftest.
$ac_ext
28516 cat >>conftest.
$ac_ext <<_ACEOF
28517 /* end confdefs.h. */
28519 /* Override any gcc2 internal prototype to avoid an error. */
28523 /* We use char because int might match the return type of a gcc2
28524 builtin and then its argument prototype would still apply. */
28534 rm -f conftest.
$ac_objext conftest
$ac_exeext
28535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28536 (eval $ac_link) 2>&5
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); } &&
28540 { ac_try
='test -s conftest$ac_exeext'
28541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28542 (eval $ac_try) 2>&5
28544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 (exit $ac_status); }; }; then
28546 ac_cv_lib_esd_esd_close
=yes
28548 echo "$as_me: failed program was:" >&5
28549 sed 's/^/| /' conftest.
$ac_ext >&5
28551 ac_cv_lib_esd_esd_close
=no
28553 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28554 LIBS
=$ac_check_lib_save_LIBS
28556 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28557 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28558 if test $ac_cv_lib_esd_esd_close = yes; then
28561 for ac_header
in esd.h
28563 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28565 echo "$as_me:$LINENO: checking for $ac_header" >&5
28566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28568 echo $ECHO_N "(cached) $ECHO_C" >&6
28570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28573 # Is the header compilable?
28574 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28575 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28576 cat >conftest.
$ac_ext <<_ACEOF
28577 #line $LINENO "configure"
28580 cat confdefs.h
>>conftest.
$ac_ext
28581 cat >>conftest.
$ac_ext <<_ACEOF
28582 /* end confdefs.h. */
28583 $ac_includes_default
28584 #include <$ac_header>
28586 rm -f conftest.
$ac_objext
28587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28588 (eval $ac_compile) 2>&5
28590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28591 (exit $ac_status); } &&
28592 { ac_try
='test -s conftest.$ac_objext'
28593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28594 (eval $ac_try) 2>&5
28596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 (exit $ac_status); }; }; then
28598 ac_header_compiler
=yes
28600 echo "$as_me: failed program was:" >&5
28601 sed 's/^/| /' conftest.
$ac_ext >&5
28603 ac_header_compiler
=no
28605 rm -f conftest.
$ac_objext conftest.
$ac_ext
28606 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28607 echo "${ECHO_T}$ac_header_compiler" >&6
28609 # Is the header present?
28610 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28611 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28612 cat >conftest.
$ac_ext <<_ACEOF
28613 #line $LINENO "configure"
28616 cat confdefs.h
>>conftest.
$ac_ext
28617 cat >>conftest.
$ac_ext <<_ACEOF
28618 /* end confdefs.h. */
28619 #include <$ac_header>
28621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28622 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28624 grep -v '^ *+' conftest.er1
>conftest.err
28626 cat conftest.err
>&5
28627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628 (exit $ac_status); } >/dev
/null
; then
28629 if test -s conftest.err
; then
28630 ac_cpp_err
=$ac_c_preproc_warn_flag
28637 if test -z "$ac_cpp_err"; then
28638 ac_header_preproc
=yes
28640 echo "$as_me: failed program was:" >&5
28641 sed 's/^/| /' conftest.
$ac_ext >&5
28643 ac_header_preproc
=no
28645 rm -f conftest.err conftest.
$ac_ext
28646 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28647 echo "${ECHO_T}$ac_header_preproc" >&6
28649 # So? What about this header?
28650 case $ac_header_compiler:$ac_header_preproc in
28652 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28653 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28655 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28658 ## ------------------------------------ ##
28659 ## Report this to bug-autoconf@gnu.org. ##
28660 ## ------------------------------------ ##
28663 sed "s/^/$as_me: WARNING: /" >&2
28666 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28667 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28668 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28669 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28674 ## ------------------------------------ ##
28675 ## Report this to bug-autoconf@gnu.org. ##
28676 ## ------------------------------------ ##
28679 sed "s/^/$as_me: WARNING: /" >&2
28682 echo "$as_me:$LINENO: checking for $ac_header" >&5
28683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28685 echo $ECHO_N "(cached) $ECHO_C" >&6
28687 eval "$as_ac_Header=$ac_header_preproc"
28689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28694 cat >>confdefs.h
<<_ACEOF
28695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28698 EXTRALIBS_ESD
="-lesd"
28711 cat >confcache
<<\_ACEOF
28712 # This file is a shell script that caches the results of configure
28713 # tests run on this system so they can be shared between configure
28714 # scripts and configure runs, see configure's option --config-cache.
28715 # It is not useful on other systems. If it contains results you don't
28716 # want to keep, you may remove or edit it.
28718 # config.status only pays attention to the cache file if you give it
28719 # the --recheck option to rerun configure.
28721 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28722 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28723 # following values.
28727 # The following way of writing the cache mishandles newlines in values,
28728 # but we know of no workaround that is simple, portable, and efficient.
28729 # So, don't put newlines in cache variables' values.
28730 # Ultrix sh set writes to stderr and can't be redirected directly,
28731 # and sets the high bit in the cache file unless we assign to the vars.
28734 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28736 # `set' does not quote correctly, so add quotes (double-quote
28737 # substitution turns \\\\ into \\, and sed turns \\ into \).
28740 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28743 # `set' quotes correctly as required by POSIX, so do not add quotes.
28745 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28752 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28754 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28756 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28757 if test -w $cache_file; then
28758 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28759 cat confcache
>$cache_file
28761 echo "not updating unwritable cache $cache_file"
28768 if test "$TOOLKIT" != "MSW"; then
28774 if test "$wxUSE_THREADS" = "yes" ; then
28775 if test "$USE_BEOS" = 1; then
28776 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28777 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28782 if test "$wxUSE_THREADS" = "yes" ; then
28785 THREAD_OPTS
="-pthread"
28787 *-*-solaris2* | *-*-sunos4* )
28788 if test "x$GCC" = "xyes"; then
28789 THREAD_OPTS
="-pthreads $THREAD_OPTS"
28791 THREAD_OPTS
="-mt $THREAD_OPTS"
28795 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
28797 *-*-darwin* | *-*-cygwin* )
28801 THREAD_OPTS
="pthreads"
28804 if test "x$GCC" != "xyes"; then
28810 if test "x$GCC" = "xyes"; then
28816 if test "x$GCC" != "xyes"; then
28817 THREAD_OPTS
="-Ethread"
28822 THREAD_OPTS
="$THREAD_OPTS pthread none"
28825 for flag
in $THREAD_OPTS; do
28828 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28829 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28833 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28834 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28835 THREADS_CFLAGS
="$flag"
28839 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28840 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28841 THREADS_LINK
="-l$flag"
28846 save_CFLAGS
="$CFLAGS"
28847 LIBS
="$THREADS_LINK $LIBS"
28848 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
28850 cat >conftest.
$ac_ext <<_ACEOF
28851 #line $LINENO "configure"
28854 cat confdefs.h
>>conftest.
$ac_ext
28855 cat >>conftest.
$ac_ext <<_ACEOF
28856 /* end confdefs.h. */
28857 #include <pthread.h>
28861 pthread_create(0,0,0,0);
28866 rm -f conftest.
$ac_objext conftest
$ac_exeext
28867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28868 (eval $ac_link) 2>&5
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); } &&
28872 { ac_try
='test -s conftest$ac_exeext'
28873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28874 (eval $ac_try) 2>&5
28876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28877 (exit $ac_status); }; }; then
28880 echo "$as_me: failed program was:" >&5
28881 sed 's/^/| /' conftest.
$ac_ext >&5
28884 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28887 CFLAGS
="$save_CFLAGS"
28889 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28890 echo "${ECHO_T}$THREADS_OK" >&6
28891 if test "x$THREADS_OK" = "xyes"; then
28899 if test "x$THREADS_OK" != "xyes"; then
28901 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28902 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28904 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
28905 LIBS
="$THREADS_LINK $LIBS"
28907 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28908 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28912 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
28913 flag
="-D_THREAD_SAFE"
28916 flag
="-D_THREAD_SAFE"
28919 flag
="-D_REENTRANT"
28920 if test "x$GCC" != "xyes"; then
28921 flag
="$flag -D_RWSTD_MULTI_THREAD"
28924 *solaris
* | alpha
*-osf*)
28925 flag
="-D_REENTRANT"
28928 echo "$as_me:$LINENO: result: ${flag}" >&5
28929 echo "${ECHO_T}${flag}" >&6
28930 if test "x$flag" != xno
; then
28931 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
28934 if test "x$THREADS_CFLAGS" != "x"; then
28935 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
28936 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
28941 if test "$wxUSE_THREADS" = "yes" ; then
28943 for ac_func
in thr_setconcurrency
28945 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28946 echo "$as_me:$LINENO: checking for $ac_func" >&5
28947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28948 if eval "test \"\${$as_ac_var+set}\" = set"; then
28949 echo $ECHO_N "(cached) $ECHO_C" >&6
28951 cat >conftest.
$ac_ext <<_ACEOF
28952 #line $LINENO "configure"
28955 cat confdefs.h
>>conftest.
$ac_ext
28956 cat >>conftest.
$ac_ext <<_ACEOF
28957 /* end confdefs.h. */
28958 /* System header to define __stub macros and hopefully few prototypes,
28959 which can conflict with char $ac_func (); below.
28960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28961 <limits.h> exists even on freestanding compilers. */
28963 # include <limits.h>
28965 # include <assert.h>
28967 /* Override any gcc2 internal prototype to avoid an error. */
28972 /* We use char because int might match the return type of a gcc2
28973 builtin and then its argument prototype would still apply. */
28975 /* The GNU C library defines this for functions which it implements
28976 to always fail with ENOSYS. Some functions are actually named
28977 something starting with __ and the normal name is an alias. */
28978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28981 char (*f) () = $ac_func;
28990 return f != $ac_func;
28995 rm -f conftest.
$ac_objext conftest
$ac_exeext
28996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28997 (eval $ac_link) 2>&5
28999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29000 (exit $ac_status); } &&
29001 { ac_try
='test -s conftest$ac_exeext'
29002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29003 (eval $ac_try) 2>&5
29005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29006 (exit $ac_status); }; }; then
29007 eval "$as_ac_var=yes"
29009 echo "$as_me: failed program was:" >&5
29010 sed 's/^/| /' conftest.
$ac_ext >&5
29012 eval "$as_ac_var=no"
29014 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29018 if test `eval echo '${'$as_ac_var'}'` = yes; then
29019 cat >>confdefs.h
<<_ACEOF
29020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29028 for ac_header
in sched.h
29030 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29032 echo "$as_me:$LINENO: checking for $ac_header" >&5
29033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29035 echo $ECHO_N "(cached) $ECHO_C" >&6
29037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29040 # Is the header compilable?
29041 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29042 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29043 cat >conftest.
$ac_ext <<_ACEOF
29044 #line $LINENO "configure"
29047 cat confdefs.h
>>conftest.
$ac_ext
29048 cat >>conftest.
$ac_ext <<_ACEOF
29049 /* end confdefs.h. */
29050 $ac_includes_default
29051 #include <$ac_header>
29053 rm -f conftest.
$ac_objext
29054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29055 (eval $ac_compile) 2>&5
29057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29058 (exit $ac_status); } &&
29059 { ac_try
='test -s conftest.$ac_objext'
29060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29061 (eval $ac_try) 2>&5
29063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29064 (exit $ac_status); }; }; then
29065 ac_header_compiler
=yes
29067 echo "$as_me: failed program was:" >&5
29068 sed 's/^/| /' conftest.
$ac_ext >&5
29070 ac_header_compiler
=no
29072 rm -f conftest.
$ac_objext conftest.
$ac_ext
29073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29074 echo "${ECHO_T}$ac_header_compiler" >&6
29076 # Is the header present?
29077 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29078 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29079 cat >conftest.
$ac_ext <<_ACEOF
29080 #line $LINENO "configure"
29083 cat confdefs.h
>>conftest.
$ac_ext
29084 cat >>conftest.
$ac_ext <<_ACEOF
29085 /* end confdefs.h. */
29086 #include <$ac_header>
29088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29089 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29091 grep -v '^ *+' conftest.er1
>conftest.err
29093 cat conftest.err
>&5
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); } >/dev
/null
; then
29096 if test -s conftest.err
; then
29097 ac_cpp_err
=$ac_c_preproc_warn_flag
29104 if test -z "$ac_cpp_err"; then
29105 ac_header_preproc
=yes
29107 echo "$as_me: failed program was:" >&5
29108 sed 's/^/| /' conftest.
$ac_ext >&5
29110 ac_header_preproc
=no
29112 rm -f conftest.err conftest.
$ac_ext
29113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29114 echo "${ECHO_T}$ac_header_preproc" >&6
29116 # So? What about this header?
29117 case $ac_header_compiler:$ac_header_preproc in
29119 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29120 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29122 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29125 ## ------------------------------------ ##
29126 ## Report this to bug-autoconf@gnu.org. ##
29127 ## ------------------------------------ ##
29130 sed "s/^/$as_me: WARNING: /" >&2
29133 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29134 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29135 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29136 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29138 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29141 ## ------------------------------------ ##
29142 ## Report this to bug-autoconf@gnu.org. ##
29143 ## ------------------------------------ ##
29146 sed "s/^/$as_me: WARNING: /" >&2
29149 echo "$as_me:$LINENO: checking for $ac_header" >&5
29150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29152 echo $ECHO_N "(cached) $ECHO_C" >&6
29154 eval "$as_ac_Header=$ac_header_preproc"
29156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29161 cat >>confdefs.h
<<_ACEOF
29162 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29169 if test "$ac_cv_header_sched_h" = "yes"; then
29170 echo "$as_me:$LINENO: checking for sched_yield" >&5
29171 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29172 if test "${ac_cv_func_sched_yield+set}" = set; then
29173 echo $ECHO_N "(cached) $ECHO_C" >&6
29175 cat >conftest.
$ac_ext <<_ACEOF
29176 #line $LINENO "configure"
29179 cat confdefs.h
>>conftest.
$ac_ext
29180 cat >>conftest.
$ac_ext <<_ACEOF
29181 /* end confdefs.h. */
29182 /* System header to define __stub macros and hopefully few prototypes,
29183 which can conflict with char sched_yield (); below.
29184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29185 <limits.h> exists even on freestanding compilers. */
29187 # include <limits.h>
29189 # include <assert.h>
29191 /* Override any gcc2 internal prototype to avoid an error. */
29196 /* We use char because int might match the return type of a gcc2
29197 builtin and then its argument prototype would still apply. */
29198 char sched_yield ();
29199 /* The GNU C library defines this for functions which it implements
29200 to always fail with ENOSYS. Some functions are actually named
29201 something starting with __ and the normal name is an alias. */
29202 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29205 char (*f) () = sched_yield;
29214 return f != sched_yield;
29219 rm -f conftest.
$ac_objext conftest
$ac_exeext
29220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29221 (eval $ac_link) 2>&5
29223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29224 (exit $ac_status); } &&
29225 { ac_try
='test -s conftest$ac_exeext'
29226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29227 (eval $ac_try) 2>&5
29229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29230 (exit $ac_status); }; }; then
29231 ac_cv_func_sched_yield
=yes
29233 echo "$as_me: failed program was:" >&5
29234 sed 's/^/| /' conftest.
$ac_ext >&5
29236 ac_cv_func_sched_yield
=no
29238 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29240 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29241 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29242 if test $ac_cv_func_sched_yield = yes; then
29243 cat >>confdefs.h
<<\_ACEOF
29244 #define HAVE_SCHED_YIELD 1
29249 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29250 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29251 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29252 echo $ECHO_N "(cached) $ECHO_C" >&6
29254 ac_check_lib_save_LIBS
=$LIBS
29255 LIBS
="-lposix4 $LIBS"
29256 cat >conftest.
$ac_ext <<_ACEOF
29257 #line $LINENO "configure"
29260 cat confdefs.h
>>conftest.
$ac_ext
29261 cat >>conftest.
$ac_ext <<_ACEOF
29262 /* end confdefs.h. */
29264 /* Override any gcc2 internal prototype to avoid an error. */
29268 /* We use char because int might match the return type of a gcc2
29269 builtin and then its argument prototype would still apply. */
29270 char sched_yield ();
29279 rm -f conftest.
$ac_objext conftest
$ac_exeext
29280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29281 (eval $ac_link) 2>&5
29283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29284 (exit $ac_status); } &&
29285 { ac_try
='test -s conftest$ac_exeext'
29286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29287 (eval $ac_try) 2>&5
29289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29290 (exit $ac_status); }; }; then
29291 ac_cv_lib_posix4_sched_yield
=yes
29293 echo "$as_me: failed program was:" >&5
29294 sed 's/^/| /' conftest.
$ac_ext >&5
29296 ac_cv_lib_posix4_sched_yield
=no
29298 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29299 LIBS
=$ac_check_lib_save_LIBS
29301 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29302 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29303 if test $ac_cv_lib_posix4_sched_yield = yes; then
29304 cat >>confdefs.h
<<\_ACEOF
29305 #define HAVE_SCHED_YIELD 1
29307 POSIX4_LINK
=" -lposix4"
29309 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29310 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29321 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29322 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29323 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29324 echo $ECHO_N "(cached) $ECHO_C" >&6
29326 cat >conftest.
$ac_ext <<_ACEOF
29327 #line $LINENO "configure"
29330 cat confdefs.h
>>conftest.
$ac_ext
29331 cat >>conftest.
$ac_ext <<_ACEOF
29332 /* end confdefs.h. */
29333 /* System header to define __stub macros and hopefully few prototypes,
29334 which can conflict with char pthread_attr_getschedpolicy (); below.
29335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29336 <limits.h> exists even on freestanding compilers. */
29338 # include <limits.h>
29340 # include <assert.h>
29342 /* Override any gcc2 internal prototype to avoid an error. */
29347 /* We use char because int might match the return type of a gcc2
29348 builtin and then its argument prototype would still apply. */
29349 char pthread_attr_getschedpolicy ();
29350 /* The GNU C library defines this for functions which it implements
29351 to always fail with ENOSYS. Some functions are actually named
29352 something starting with __ and the normal name is an alias. */
29353 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29356 char (*f) () = pthread_attr_getschedpolicy;
29365 return f != pthread_attr_getschedpolicy;
29370 rm -f conftest.
$ac_objext conftest
$ac_exeext
29371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29372 (eval $ac_link) 2>&5
29374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29375 (exit $ac_status); } &&
29376 { ac_try
='test -s conftest$ac_exeext'
29377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29378 (eval $ac_try) 2>&5
29380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29381 (exit $ac_status); }; }; then
29382 ac_cv_func_pthread_attr_getschedpolicy
=yes
29384 echo "$as_me: failed program was:" >&5
29385 sed 's/^/| /' conftest.
$ac_ext >&5
29387 ac_cv_func_pthread_attr_getschedpolicy
=no
29389 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29391 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29392 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29393 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29394 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29395 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29396 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29397 echo $ECHO_N "(cached) $ECHO_C" >&6
29399 cat >conftest.
$ac_ext <<_ACEOF
29400 #line $LINENO "configure"
29403 cat confdefs.h
>>conftest.
$ac_ext
29404 cat >>conftest.
$ac_ext <<_ACEOF
29405 /* end confdefs.h. */
29406 /* System header to define __stub macros and hopefully few prototypes,
29407 which can conflict with char pthread_attr_setschedparam (); below.
29408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29409 <limits.h> exists even on freestanding compilers. */
29411 # include <limits.h>
29413 # include <assert.h>
29415 /* Override any gcc2 internal prototype to avoid an error. */
29420 /* We use char because int might match the return type of a gcc2
29421 builtin and then its argument prototype would still apply. */
29422 char pthread_attr_setschedparam ();
29423 /* The GNU C library defines this for functions which it implements
29424 to always fail with ENOSYS. Some functions are actually named
29425 something starting with __ and the normal name is an alias. */
29426 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29429 char (*f) () = pthread_attr_setschedparam;
29438 return f != pthread_attr_setschedparam;
29443 rm -f conftest.
$ac_objext conftest
$ac_exeext
29444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29445 (eval $ac_link) 2>&5
29447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448 (exit $ac_status); } &&
29449 { ac_try
='test -s conftest$ac_exeext'
29450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29451 (eval $ac_try) 2>&5
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); }; }; then
29455 ac_cv_func_pthread_attr_setschedparam
=yes
29457 echo "$as_me: failed program was:" >&5
29458 sed 's/^/| /' conftest.
$ac_ext >&5
29460 ac_cv_func_pthread_attr_setschedparam
=no
29462 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29464 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29465 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29466 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29467 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29468 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29469 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29470 echo $ECHO_N "(cached) $ECHO_C" >&6
29472 cat >conftest.
$ac_ext <<_ACEOF
29473 #line $LINENO "configure"
29476 cat confdefs.h
>>conftest.
$ac_ext
29477 cat >>conftest.
$ac_ext <<_ACEOF
29478 /* end confdefs.h. */
29479 /* System header to define __stub macros and hopefully few prototypes,
29480 which can conflict with char sched_get_priority_max (); below.
29481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29482 <limits.h> exists even on freestanding compilers. */
29484 # include <limits.h>
29486 # include <assert.h>
29488 /* Override any gcc2 internal prototype to avoid an error. */
29493 /* We use char because int might match the return type of a gcc2
29494 builtin and then its argument prototype would still apply. */
29495 char sched_get_priority_max ();
29496 /* The GNU C library defines this for functions which it implements
29497 to always fail with ENOSYS. Some functions are actually named
29498 something starting with __ and the normal name is an alias. */
29499 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29502 char (*f) () = sched_get_priority_max;
29511 return f != sched_get_priority_max;
29516 rm -f conftest.
$ac_objext conftest
$ac_exeext
29517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29518 (eval $ac_link) 2>&5
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); } &&
29522 { ac_try
='test -s conftest$ac_exeext'
29523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29524 (eval $ac_try) 2>&5
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); }; }; then
29528 ac_cv_func_sched_get_priority_max
=yes
29530 echo "$as_me: failed program was:" >&5
29531 sed 's/^/| /' conftest.
$ac_ext >&5
29533 ac_cv_func_sched_get_priority_max
=no
29535 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29537 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29538 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29539 if test $ac_cv_func_sched_get_priority_max = yes; then
29542 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29543 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29544 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29545 echo $ECHO_N "(cached) $ECHO_C" >&6
29547 ac_check_lib_save_LIBS
=$LIBS
29548 LIBS
="-lposix4 $LIBS"
29549 cat >conftest.
$ac_ext <<_ACEOF
29550 #line $LINENO "configure"
29553 cat confdefs.h
>>conftest.
$ac_ext
29554 cat >>conftest.
$ac_ext <<_ACEOF
29555 /* end confdefs.h. */
29557 /* Override any gcc2 internal prototype to avoid an error. */
29561 /* We use char because int might match the return type of a gcc2
29562 builtin and then its argument prototype would still apply. */
29563 char sched_get_priority_max ();
29567 sched_get_priority_max ();
29572 rm -f conftest.
$ac_objext conftest
$ac_exeext
29573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29574 (eval $ac_link) 2>&5
29576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29577 (exit $ac_status); } &&
29578 { ac_try
='test -s conftest$ac_exeext'
29579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29580 (eval $ac_try) 2>&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); }; }; then
29584 ac_cv_lib_posix4_sched_get_priority_max
=yes
29586 echo "$as_me: failed program was:" >&5
29587 sed 's/^/| /' conftest.
$ac_ext >&5
29589 ac_cv_lib_posix4_sched_get_priority_max
=no
29591 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29592 LIBS
=$ac_check_lib_save_LIBS
29594 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29595 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29596 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29599 POSIX4_LINK
=" -lposix4"
29613 if test "$HAVE_PRIOR_FUNCS" = 1; then
29614 cat >>confdefs.h
<<\_ACEOF
29615 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29619 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29620 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29623 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29624 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29625 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29626 echo $ECHO_N "(cached) $ECHO_C" >&6
29628 cat >conftest.
$ac_ext <<_ACEOF
29629 #line $LINENO "configure"
29632 cat confdefs.h
>>conftest.
$ac_ext
29633 cat >>conftest.
$ac_ext <<_ACEOF
29634 /* end confdefs.h. */
29635 /* System header to define __stub macros and hopefully few prototypes,
29636 which can conflict with char pthread_cancel (); below.
29637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29638 <limits.h> exists even on freestanding compilers. */
29640 # include <limits.h>
29642 # include <assert.h>
29644 /* Override any gcc2 internal prototype to avoid an error. */
29649 /* We use char because int might match the return type of a gcc2
29650 builtin and then its argument prototype would still apply. */
29651 char pthread_cancel ();
29652 /* The GNU C library defines this for functions which it implements
29653 to always fail with ENOSYS. Some functions are actually named
29654 something starting with __ and the normal name is an alias. */
29655 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29658 char (*f) () = pthread_cancel;
29667 return f != pthread_cancel;
29672 rm -f conftest.
$ac_objext conftest
$ac_exeext
29673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29674 (eval $ac_link) 2>&5
29676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29677 (exit $ac_status); } &&
29678 { ac_try
='test -s conftest$ac_exeext'
29679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29680 (eval $ac_try) 2>&5
29682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29683 (exit $ac_status); }; }; then
29684 ac_cv_func_pthread_cancel
=yes
29686 echo "$as_me: failed program was:" >&5
29687 sed 's/^/| /' conftest.
$ac_ext >&5
29689 ac_cv_func_pthread_cancel
=no
29691 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29693 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29694 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29695 if test $ac_cv_func_pthread_cancel = yes; then
29696 cat >>confdefs.h
<<\_ACEOF
29697 #define HAVE_PTHREAD_CANCEL 1
29701 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29702 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29706 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29707 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29708 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29709 echo $ECHO_N "(cached) $ECHO_C" >&6
29712 cat >conftest.
$ac_ext <<_ACEOF
29713 #line $LINENO "configure"
29716 cat confdefs.h
>>conftest.
$ac_ext
29717 cat >>conftest.
$ac_ext <<_ACEOF
29718 /* end confdefs.h. */
29719 #include <pthread.h>
29724 pthread_cleanup_push(NULL, NULL);
29725 pthread_cleanup_pop(0);
29731 rm -f conftest.
$ac_objext
29732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29733 (eval $ac_compile) 2>&5
29735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736 (exit $ac_status); } &&
29737 { ac_try
='test -s conftest.$ac_objext'
29738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29739 (eval $ac_try) 2>&5
29741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29742 (exit $ac_status); }; }; then
29744 wx_cv_func_pthread_cleanup_push
=yes
29747 echo "$as_me: failed program was:" >&5
29748 sed 's/^/| /' conftest.
$ac_ext >&5
29751 wx_cv_func_pthread_cleanup_push
=no
29754 rm -f conftest.
$ac_objext conftest.
$ac_ext
29757 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29758 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29760 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29761 cat >>confdefs.h
<<\_ACEOF
29762 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29768 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29769 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29770 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29771 echo $ECHO_N "(cached) $ECHO_C" >&6
29774 cat >conftest.
$ac_ext <<_ACEOF
29775 #line $LINENO "configure"
29778 cat confdefs.h
>>conftest.
$ac_ext
29779 cat >>conftest.
$ac_ext <<_ACEOF
29780 /* end confdefs.h. */
29781 #include <pthread.h>
29786 pthread_mutexattr_t attr;
29787 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29793 rm -f conftest.
$ac_objext
29794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29795 (eval $ac_compile) 2>&5
29797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29798 (exit $ac_status); } &&
29799 { ac_try
='test -s conftest.$ac_objext'
29800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29801 (eval $ac_try) 2>&5
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); }; }; then
29806 wx_cv_type_pthread_mutexattr_t
=yes
29809 echo "$as_me: failed program was:" >&5
29810 sed 's/^/| /' conftest.
$ac_ext >&5
29813 wx_cv_type_pthread_mutexattr_t
=no
29817 rm -f conftest.
$ac_objext conftest.
$ac_ext
29820 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29821 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29823 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29824 cat >>confdefs.h
<<\_ACEOF
29825 #define HAVE_PTHREAD_MUTEXATTR_T 1
29829 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29830 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29831 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29832 echo $ECHO_N "(cached) $ECHO_C" >&6
29835 cat >conftest.
$ac_ext <<_ACEOF
29836 #line $LINENO "configure"
29839 cat confdefs.h
>>conftest.
$ac_ext
29840 cat >>conftest.
$ac_ext <<_ACEOF
29841 /* end confdefs.h. */
29842 #include <pthread.h>
29847 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29853 rm -f conftest.
$ac_objext
29854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29855 (eval $ac_compile) 2>&5
29857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29858 (exit $ac_status); } &&
29859 { ac_try
='test -s conftest.$ac_objext'
29860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29861 (eval $ac_try) 2>&5
29863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29864 (exit $ac_status); }; }; then
29866 wx_cv_type_pthread_rec_mutex_init
=yes
29869 echo "$as_me: failed program was:" >&5
29870 sed 's/^/| /' conftest.
$ac_ext >&5
29873 wx_cv_type_pthread_rec_mutex_init
=no
29877 rm -f conftest.
$ac_objext conftest.
$ac_ext
29880 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29881 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29882 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29883 cat >>confdefs.h
<<\_ACEOF
29884 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29888 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29889 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29895 if test "$wxUSE_THREADS" = "yes" ; then
29898 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29899 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29900 if test "${wx_cv_cflags_mthread+set}" = set; then
29901 echo $ECHO_N "(cached) $ECHO_C" >&6
29904 CFLAGS_OLD
="$CFLAGS"
29905 CFLAGS
="$CFLAGS -mthreads"
29906 cat >conftest.
$ac_ext <<_ACEOF
29907 #line $LINENO "configure"
29910 cat confdefs.h
>>conftest.
$ac_ext
29911 cat >>conftest.
$ac_ext <<_ACEOF
29912 /* end confdefs.h. */
29922 rm -f conftest.
$ac_objext
29923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29924 (eval $ac_compile) 2>&5
29926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29927 (exit $ac_status); } &&
29928 { ac_try
='test -s conftest.$ac_objext'
29929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29930 (eval $ac_try) 2>&5
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); }; }; then
29934 wx_cv_cflags_mthread
=yes
29936 echo "$as_me: failed program was:" >&5
29937 sed 's/^/| /' conftest.
$ac_ext >&5
29939 wx_cv_cflags_mthread
=no
29942 rm -f conftest.
$ac_objext conftest.
$ac_ext
29946 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29947 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29949 if test "$wx_cv_cflags_mthread" = "yes"; then
29950 CXXFLAGS
="$CXXFLAGS -mthreads"
29951 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
29952 LDFLAGS
="$LDFLAGS -mthreads"
29954 CFLAGS
="$CFLAGS_OLD"
29961 if test "$wxUSE_THREADS" = "yes"; then
29962 cat >>confdefs.h
<<\_ACEOF
29963 #define wxUSE_THREADS 1
29967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
29969 if test "$ac_cv_func_strtok_r" = "yes"; then
29970 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29971 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29972 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29973 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
29974 echo "$as_me:$LINENO: result: yes" >&5
29975 echo "${ECHO_T}yes" >&6
29977 echo "$as_me:$LINENO: result: no" >&5
29978 echo "${ECHO_T}no" >&6
29983 if test "$WXGTK20" = 1 ; then
29984 cat >>confdefs.h
<<_ACEOF
29985 #define __WXGTK20__ $WXGTK20
29991 if test "$WXGTK12" = 1 ; then
29992 cat >>confdefs.h
<<_ACEOF
29993 #define __WXGTK12__ $WXGTK12
29998 if test "$WXGTK127" = 1 ; then
29999 cat >>confdefs.h
<<_ACEOF
30000 #define __WXGTK127__ $WXGTK127
30007 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30012 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30013 wxUSE_DEBUG_INFO
=yes
30017 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30018 cat >>confdefs.h
<<\_ACEOF
30022 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30024 if test "$wxUSE_GTK" = 1 ; then
30025 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30029 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30030 cat >>confdefs.h
<<\_ACEOF
30031 #define wxUSE_MEMORY_TRACING 1
30034 cat >>confdefs.h
<<\_ACEOF
30035 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30038 cat >>confdefs.h
<<\_ACEOF
30039 #define wxUSE_DEBUG_NEW_ALWAYS 1
30042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30045 if test "$wxUSE_DMALLOC" = "yes" ; then
30046 DMALLOC_LIBS
="-ldmalloc"
30050 if test "$wxUSE_PROFILE" = "yes" ; then
30055 CODE_GEN_FLAGS_CXX
=
30056 if test "$GCC" = "yes" ; then
30057 if test "$wxUSE_NO_RTTI" = "yes" ; then
30058 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30060 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30061 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30063 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30064 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30069 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30072 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30078 if test "$wxUSE_OPTIMISE" = "no" ; then
30079 if test "$GCC" = yes ; then
30083 if test "$GCC" = yes ; then
30087 i586
-*-*|i686
-*-* )
30088 OPTIMISE
="${OPTIMISE} "
30097 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
30098 cat >>confdefs.h
<<\_ACEOF
30099 #define WXWIN_COMPATIBILITY_2 1
30103 WXWIN_COMPATIBILITY_2_2
="yes"
30106 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30107 cat >>confdefs.h
<<\_ACEOF
30108 #define WXWIN_COMPATIBILITY_2_2 1
30112 WXWIN_COMPATIBILITY_2_4
="yes"
30115 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30116 cat >>confdefs.h
<<\_ACEOF
30117 #define WXWIN_COMPATIBILITY_2_4 1
30123 if test "$wxUSE_GUI" = "yes"; then
30124 cat >>confdefs.h
<<\_ACEOF
30125 #define wxUSE_GUI 1
30130 cat >>confdefs.h
<<\_ACEOF
30131 #define wxUSE_NOGUI 1
30137 if test "$wxUSE_UNIX" = "yes"; then
30138 cat >>confdefs.h
<<\_ACEOF
30139 #define wxUSE_UNIX 1
30145 if test "$wxUSE_STL" = "yes"; then
30146 cat >>confdefs.h
<<\_ACEOF
30147 #define wxUSE_STL 1
30152 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30153 cat >>confdefs.h
<<\_ACEOF
30154 #define wxUSE_APPLE_IEEE 1
30159 if test "$wxUSE_TIMER" = "yes"; then
30160 cat >>confdefs.h
<<\_ACEOF
30161 #define wxUSE_TIMER 1
30166 if test "$wxUSE_WAVE" = "yes"; then
30167 cat >>confdefs.h
<<\_ACEOF
30168 #define wxUSE_WAVE 1
30173 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30174 cat >>confdefs.h
<<\_ACEOF
30175 #define wxUSE_CMDLINE_PARSER 1
30180 if test "$wxUSE_STOPWATCH" = "yes"; then
30181 cat >>confdefs.h
<<\_ACEOF
30182 #define wxUSE_STOPWATCH 1
30187 if test "$wxUSE_DATETIME" = "yes"; then
30188 cat >>confdefs.h
<<\_ACEOF
30189 #define wxUSE_DATETIME 1
30194 if test "$wxUSE_FILE" = "yes"; then
30195 cat >>confdefs.h
<<\_ACEOF
30196 #define wxUSE_FILE 1
30201 if test "$wxUSE_FFILE" = "yes"; then
30202 cat >>confdefs.h
<<\_ACEOF
30203 #define wxUSE_FFILE 1
30208 if test "$wxUSE_FILESYSTEM" = "yes"; then
30209 cat >>confdefs.h
<<\_ACEOF
30210 #define wxUSE_FILESYSTEM 1
30215 if test "$wxUSE_FS_ZIP" = "yes"; then
30216 cat >>confdefs.h
<<\_ACEOF
30217 #define wxUSE_FS_ZIP 1
30222 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30223 cat >>confdefs.h
<<\_ACEOF
30224 #define wxUSE_ZIPSTREAM 1
30229 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30230 cat >>confdefs.h
<<\_ACEOF
30231 #define wxUSE_ON_FATAL_EXCEPTION 1
30236 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30237 cat >>confdefs.h
<<\_ACEOF
30238 #define wxUSE_SNGLINST_CHECKER 1
30243 if test "$wxUSE_BUSYINFO" = "yes"; then
30244 cat >>confdefs.h
<<\_ACEOF
30245 #define wxUSE_BUSYINFO 1
30250 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30251 cat >>confdefs.h
<<\_ACEOF
30252 #define wxUSE_STD_IOSTREAM 1
30257 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30258 cat >>confdefs.h
<<\_ACEOF
30259 #define wxUSE_TEXTBUFFER 1
30264 if test "$wxUSE_TEXTFILE" = "yes"; then
30265 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30266 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30267 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30269 cat >>confdefs.h
<<\_ACEOF
30270 #define wxUSE_TEXTFILE 1
30276 if test "$wxUSE_CONFIG" = "yes" ; then
30277 if test "$wxUSE_TEXTFILE" != "yes"; then
30278 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30279 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30281 cat >>confdefs.h
<<\_ACEOF
30282 #define wxUSE_CONFIG 1
30285 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30289 if test "$wxUSE_INTL" = "yes" ; then
30290 if test "$wxUSE_FILE" != "yes"; then
30291 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30292 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30294 cat >>confdefs.h
<<\_ACEOF
30295 #define wxUSE_INTL 1
30298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30299 GUIDIST
="$GUIDIST INTL_DIST"
30303 if test "$wxUSE_LOG" = "yes"; then
30304 cat >>confdefs.h
<<\_ACEOF
30305 #define wxUSE_LOG 1
30309 if test "$wxUSE_LOGGUI" = "yes"; then
30310 cat >>confdefs.h
<<\_ACEOF
30311 #define wxUSE_LOGGUI 1
30316 if test "$wxUSE_LOGWINDOW" = "yes"; then
30317 cat >>confdefs.h
<<\_ACEOF
30318 #define wxUSE_LOGWINDOW 1
30323 if test "$wxUSE_LOGDIALOG" = "yes"; then
30324 cat >>confdefs.h
<<\_ACEOF
30325 #define wxUSE_LOG_DIALOG 1
30331 if test "$wxUSE_LONGLONG" = "yes"; then
30332 cat >>confdefs.h
<<\_ACEOF
30333 #define wxUSE_LONGLONG 1
30338 if test "$wxUSE_GEOMETRY" = "yes"; then
30339 cat >>confdefs.h
<<\_ACEOF
30340 #define wxUSE_GEOMETRY 1
30345 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30346 cat >>confdefs.h
<<\_ACEOF
30347 #define wxUSE_DIALUP_MANAGER 1
30350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30353 if test "$wxUSE_STREAMS" = "yes" ; then
30354 cat >>confdefs.h
<<\_ACEOF
30355 #define wxUSE_STREAMS 1
30361 if test "$wxUSE_DATETIME" = "yes"; then
30363 for ac_func
in strptime
30365 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30366 echo "$as_me:$LINENO: checking for $ac_func" >&5
30367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30368 if eval "test \"\${$as_ac_var+set}\" = set"; then
30369 echo $ECHO_N "(cached) $ECHO_C" >&6
30371 cat >conftest.
$ac_ext <<_ACEOF
30372 #line $LINENO "configure"
30375 cat confdefs.h
>>conftest.
$ac_ext
30376 cat >>conftest.
$ac_ext <<_ACEOF
30377 /* end confdefs.h. */
30378 /* System header to define __stub macros and hopefully few prototypes,
30379 which can conflict with char $ac_func (); below.
30380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30381 <limits.h> exists even on freestanding compilers. */
30383 # include <limits.h>
30385 # include <assert.h>
30387 /* Override any gcc2 internal prototype to avoid an error. */
30392 /* We use char because int might match the return type of a gcc2
30393 builtin and then its argument prototype would still apply. */
30395 /* The GNU C library defines this for functions which it implements
30396 to always fail with ENOSYS. Some functions are actually named
30397 something starting with __ and the normal name is an alias. */
30398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30401 char (*f) () = $ac_func;
30410 return f != $ac_func;
30415 rm -f conftest.
$ac_objext conftest
$ac_exeext
30416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30417 (eval $ac_link) 2>&5
30419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30420 (exit $ac_status); } &&
30421 { ac_try
='test -s conftest$ac_exeext'
30422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30423 (eval $ac_try) 2>&5
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); }; }; then
30427 eval "$as_ac_var=yes"
30429 echo "$as_me: failed program was:" >&5
30430 sed 's/^/| /' conftest.
$ac_ext >&5
30432 eval "$as_ac_var=no"
30434 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30438 if test `eval echo '${'$as_ac_var'}'` = yes; then
30439 cat >>confdefs.h
<<_ACEOF
30440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30447 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30448 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30449 if test "${wx_cv_var_timezone+set}" = set; then
30450 echo $ECHO_N "(cached) $ECHO_C" >&6
30453 cat >conftest.
$ac_ext <<_ACEOF
30454 #line $LINENO "configure"
30457 cat confdefs.h
>>conftest.
$ac_ext
30458 cat >>conftest.
$ac_ext <<_ACEOF
30459 /* end confdefs.h. */
30474 rm -f conftest.
$ac_objext
30475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30476 (eval $ac_compile) 2>&5
30478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30479 (exit $ac_status); } &&
30480 { ac_try
='test -s conftest.$ac_objext'
30481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30482 (eval $ac_try) 2>&5
30484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30485 (exit $ac_status); }; }; then
30487 wx_cv_var_timezone
=timezone
30490 echo "$as_me: failed program was:" >&5
30491 sed 's/^/| /' conftest.
$ac_ext >&5
30494 cat >conftest.
$ac_ext <<_ACEOF
30495 #line $LINENO "configure"
30498 cat confdefs.h
>>conftest.
$ac_ext
30499 cat >>conftest.
$ac_ext <<_ACEOF
30500 /* end confdefs.h. */
30515 rm -f conftest.
$ac_objext
30516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30517 (eval $ac_compile) 2>&5
30519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30520 (exit $ac_status); } &&
30521 { ac_try
='test -s conftest.$ac_objext'
30522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30523 (eval $ac_try) 2>&5
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); }; }; then
30528 wx_cv_var_timezone
=_timezone
30531 echo "$as_me: failed program was:" >&5
30532 sed 's/^/| /' conftest.
$ac_ext >&5
30535 cat >conftest.
$ac_ext <<_ACEOF
30536 #line $LINENO "configure"
30539 cat confdefs.h
>>conftest.
$ac_ext
30540 cat >>conftest.
$ac_ext <<_ACEOF
30541 /* end confdefs.h. */
30556 rm -f conftest.
$ac_objext
30557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30558 (eval $ac_compile) 2>&5
30560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30561 (exit $ac_status); } &&
30562 { ac_try
='test -s conftest.$ac_objext'
30563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30564 (eval $ac_try) 2>&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); }; }; then
30569 wx_cv_var_timezone
=__timezone
30572 echo "$as_me: failed program was:" >&5
30573 sed 's/^/| /' conftest.
$ac_ext >&5
30576 if test "$USE_DOS" = 0 ; then
30577 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30578 echo "$as_me: WARNING: no timezone variable" >&2;}
30583 rm -f conftest.
$ac_objext conftest.
$ac_ext
30587 rm -f conftest.
$ac_objext conftest.
$ac_ext
30591 rm -f conftest.
$ac_objext conftest.
$ac_ext
30595 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30596 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30598 if test "x$wx_cv_var_timezone" != x
; then
30599 cat >>confdefs.h
<<_ACEOF
30600 #define WX_TIMEZONE $wx_cv_var_timezone
30606 for ac_func
in localtime
30608 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30609 echo "$as_me:$LINENO: checking for $ac_func" >&5
30610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30611 if eval "test \"\${$as_ac_var+set}\" = set"; then
30612 echo $ECHO_N "(cached) $ECHO_C" >&6
30614 cat >conftest.
$ac_ext <<_ACEOF
30615 #line $LINENO "configure"
30618 cat confdefs.h
>>conftest.
$ac_ext
30619 cat >>conftest.
$ac_ext <<_ACEOF
30620 /* end confdefs.h. */
30621 /* System header to define __stub macros and hopefully few prototypes,
30622 which can conflict with char $ac_func (); below.
30623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30624 <limits.h> exists even on freestanding compilers. */
30626 # include <limits.h>
30628 # include <assert.h>
30630 /* Override any gcc2 internal prototype to avoid an error. */
30635 /* We use char because int might match the return type of a gcc2
30636 builtin and then its argument prototype would still apply. */
30638 /* The GNU C library defines this for functions which it implements
30639 to always fail with ENOSYS. Some functions are actually named
30640 something starting with __ and the normal name is an alias. */
30641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30644 char (*f) () = $ac_func;
30653 return f != $ac_func;
30658 rm -f conftest.
$ac_objext conftest
$ac_exeext
30659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30660 (eval $ac_link) 2>&5
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); } &&
30664 { ac_try
='test -s conftest$ac_exeext'
30665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30666 (eval $ac_try) 2>&5
30668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669 (exit $ac_status); }; }; then
30670 eval "$as_ac_var=yes"
30672 echo "$as_me: failed program was:" >&5
30673 sed 's/^/| /' conftest.
$ac_ext >&5
30675 eval "$as_ac_var=no"
30677 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30681 if test `eval echo '${'$as_ac_var'}'` = yes; then
30682 cat >>confdefs.h
<<_ACEOF
30683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30690 if test "$ac_cv_func_localtime" = "yes"; then
30691 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30692 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30693 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30694 echo $ECHO_N "(cached) $ECHO_C" >&6
30697 cat >conftest.
$ac_ext <<_ACEOF
30698 #line $LINENO "configure"
30701 cat confdefs.h
>>conftest.
$ac_ext
30702 cat >>conftest.
$ac_ext <<_ACEOF
30703 /* end confdefs.h. */
30718 rm -f conftest.
$ac_objext
30719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30720 (eval $ac_compile) 2>&5
30722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30723 (exit $ac_status); } &&
30724 { ac_try
='test -s conftest.$ac_objext'
30725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30726 (eval $ac_try) 2>&5
30728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30729 (exit $ac_status); }; }; then
30731 wx_cv_struct_tm_has_gmtoff
=yes
30734 echo "$as_me: failed program was:" >&5
30735 sed 's/^/| /' conftest.
$ac_ext >&5
30737 wx_cv_struct_tm_has_gmtoff
=no
30740 rm -f conftest.
$ac_objext conftest.
$ac_ext
30743 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30744 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30747 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30748 cat >>confdefs.h
<<\_ACEOF
30749 #define WX_GMTOFF_IN_TM 1
30756 for ac_func
in gettimeofday ftime
30758 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30759 echo "$as_me:$LINENO: checking for $ac_func" >&5
30760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30761 if eval "test \"\${$as_ac_var+set}\" = set"; then
30762 echo $ECHO_N "(cached) $ECHO_C" >&6
30764 cat >conftest.
$ac_ext <<_ACEOF
30765 #line $LINENO "configure"
30768 cat confdefs.h
>>conftest.
$ac_ext
30769 cat >>conftest.
$ac_ext <<_ACEOF
30770 /* end confdefs.h. */
30771 /* System header to define __stub macros and hopefully few prototypes,
30772 which can conflict with char $ac_func (); below.
30773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30774 <limits.h> exists even on freestanding compilers. */
30776 # include <limits.h>
30778 # include <assert.h>
30780 /* Override any gcc2 internal prototype to avoid an error. */
30785 /* We use char because int might match the return type of a gcc2
30786 builtin and then its argument prototype would still apply. */
30788 /* The GNU C library defines this for functions which it implements
30789 to always fail with ENOSYS. Some functions are actually named
30790 something starting with __ and the normal name is an alias. */
30791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30794 char (*f) () = $ac_func;
30803 return f != $ac_func;
30808 rm -f conftest.
$ac_objext conftest
$ac_exeext
30809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30810 (eval $ac_link) 2>&5
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); } &&
30814 { ac_try
='test -s conftest$ac_exeext'
30815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30816 (eval $ac_try) 2>&5
30818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30819 (exit $ac_status); }; }; then
30820 eval "$as_ac_var=yes"
30822 echo "$as_me: failed program was:" >&5
30823 sed 's/^/| /' conftest.
$ac_ext >&5
30825 eval "$as_ac_var=no"
30827 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30831 if test `eval echo '${'$as_ac_var'}'` = yes; then
30832 cat >>confdefs.h
<<_ACEOF
30833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30840 if test "$ac_cv_func_gettimeofday" = "yes"; then
30841 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30842 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30843 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30844 echo $ECHO_N "(cached) $ECHO_C" >&6
30850 ac_cpp
='$CXXCPP $CPPFLAGS'
30851 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30852 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30853 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30856 cat >conftest.
$ac_ext <<_ACEOF
30857 #line $LINENO "configure"
30860 cat confdefs.h
>>conftest.
$ac_ext
30861 cat >>conftest.
$ac_ext <<_ACEOF
30862 /* end confdefs.h. */
30864 #include <sys/time.h>
30865 #include <unistd.h>
30872 gettimeofday(&tv, NULL);
30878 rm -f conftest.
$ac_objext
30879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30880 (eval $ac_compile) 2>&5
30882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30883 (exit $ac_status); } &&
30884 { ac_try
='test -s conftest.$ac_objext'
30885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30886 (eval $ac_try) 2>&5
30888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30889 (exit $ac_status); }; }; then
30890 wx_cv_func_gettimeofday_has_2_args
=yes
30892 echo "$as_me: failed program was:" >&5
30893 sed 's/^/| /' conftest.
$ac_ext >&5
30895 cat >conftest.
$ac_ext <<_ACEOF
30896 #line $LINENO "configure"
30899 cat confdefs.h
>>conftest.
$ac_ext
30900 cat >>conftest.
$ac_ext <<_ACEOF
30901 /* end confdefs.h. */
30903 #include <sys/time.h>
30904 #include <unistd.h>
30917 rm -f conftest.
$ac_objext
30918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30919 (eval $ac_compile) 2>&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); } &&
30923 { ac_try
='test -s conftest.$ac_objext'
30924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30925 (eval $ac_try) 2>&5
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); }; }; then
30929 wx_cv_func_gettimeofday_has_2_args
=no
30931 echo "$as_me: failed program was:" >&5
30932 sed 's/^/| /' conftest.
$ac_ext >&5
30935 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30936 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30937 wx_cv_func_gettimeofday_has_2_args
=unknown
30941 rm -f conftest.
$ac_objext conftest.
$ac_ext
30944 rm -f conftest.
$ac_objext conftest.
$ac_ext
30946 ac_cpp
='$CPP $CPPFLAGS'
30947 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30948 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30949 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30953 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30954 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30956 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30957 cat >>confdefs.h
<<\_ACEOF
30958 #define WX_GETTIMEOFDAY_NO_TZ 1
30964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
30968 if test "$wxUSE_SOCKETS" = "yes"; then
30969 if test "$wxUSE_MGL" = "1"; then
30970 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30971 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30974 if test "$wxUSE_COCOA" = "1"; then
30975 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
30976 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
30981 if test "$wxUSE_SOCKETS" = "yes"; then
30982 if test "$TOOLKIT" != "MSW"; then
30983 echo "$as_me:$LINENO: checking for socket" >&5
30984 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30985 if test "${ac_cv_func_socket+set}" = set; then
30986 echo $ECHO_N "(cached) $ECHO_C" >&6
30988 cat >conftest.
$ac_ext <<_ACEOF
30989 #line $LINENO "configure"
30992 cat confdefs.h
>>conftest.
$ac_ext
30993 cat >>conftest.
$ac_ext <<_ACEOF
30994 /* end confdefs.h. */
30995 /* System header to define __stub macros and hopefully few prototypes,
30996 which can conflict with char socket (); below.
30997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30998 <limits.h> exists even on freestanding compilers. */
31000 # include <limits.h>
31002 # include <assert.h>
31004 /* Override any gcc2 internal prototype to avoid an error. */
31009 /* We use char because int might match the return type of a gcc2
31010 builtin and then its argument prototype would still apply. */
31012 /* The GNU C library defines this for functions which it implements
31013 to always fail with ENOSYS. Some functions are actually named
31014 something starting with __ and the normal name is an alias. */
31015 #if defined (__stub_socket) || defined (__stub___socket)
31018 char (*f) () = socket;
31027 return f != socket;
31032 rm -f conftest.
$ac_objext conftest
$ac_exeext
31033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31034 (eval $ac_link) 2>&5
31036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31037 (exit $ac_status); } &&
31038 { ac_try
='test -s conftest$ac_exeext'
31039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31040 (eval $ac_try) 2>&5
31042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31043 (exit $ac_status); }; }; then
31044 ac_cv_func_socket
=yes
31046 echo "$as_me: failed program was:" >&5
31047 sed 's/^/| /' conftest.
$ac_ext >&5
31049 ac_cv_func_socket
=no
31051 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31053 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31054 echo "${ECHO_T}$ac_cv_func_socket" >&6
31055 if test $ac_cv_func_socket = yes; then
31058 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31059 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31060 if test "${ac_cv_lib_socket_socket+set}" = set; then
31061 echo $ECHO_N "(cached) $ECHO_C" >&6
31063 ac_check_lib_save_LIBS
=$LIBS
31064 LIBS
="-lsocket $LIBS"
31065 cat >conftest.
$ac_ext <<_ACEOF
31066 #line $LINENO "configure"
31069 cat confdefs.h
>>conftest.
$ac_ext
31070 cat >>conftest.
$ac_ext <<_ACEOF
31071 /* end confdefs.h. */
31073 /* Override any gcc2 internal prototype to avoid an error. */
31077 /* We use char because int might match the return type of a gcc2
31078 builtin and then its argument prototype would still apply. */
31088 rm -f conftest.
$ac_objext conftest
$ac_exeext
31089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31090 (eval $ac_link) 2>&5
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); } &&
31094 { ac_try
='test -s conftest$ac_exeext'
31095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31096 (eval $ac_try) 2>&5
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); }; }; then
31100 ac_cv_lib_socket_socket
=yes
31102 echo "$as_me: failed program was:" >&5
31103 sed 's/^/| /' conftest.
$ac_ext >&5
31105 ac_cv_lib_socket_socket
=no
31107 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31108 LIBS
=$ac_check_lib_save_LIBS
31110 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31111 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31112 if test $ac_cv_lib_socket_socket = yes; then
31113 if test "$INET_LINK" != " -lsocket"; then
31114 INET_LINK
="$INET_LINK -lsocket"
31118 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31119 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31131 if test "$wxUSE_SOCKETS" = "yes" ; then
31132 if test "$TOOLKIT" != "MSW"; then
31133 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31134 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31135 if test "${wx_cv_type_getsockname3+set}" = set; then
31136 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. */
31147 #include <sys/types.h>
31148 #include <sys/socket.h>
31155 getsockname(0, 0, &len);
31161 rm -f conftest.
$ac_objext
31162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31163 (eval $ac_compile) 2>&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); } &&
31167 { ac_try
='test -s conftest.$ac_objext'
31168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31169 (eval $ac_try) 2>&5
31171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31172 (exit $ac_status); }; }; then
31173 wx_cv_type_getsockname3
=socklen_t
31175 echo "$as_me: failed program was:" >&5
31176 sed 's/^/| /' conftest.
$ac_ext >&5
31179 CFLAGS_OLD
="$CFLAGS"
31180 if test "$GCC" = yes ; then
31181 CFLAGS
="$CFLAGS -Werror"
31184 cat >conftest.
$ac_ext <<_ACEOF
31185 #line $LINENO "configure"
31188 cat confdefs.h
>>conftest.
$ac_ext
31189 cat >>conftest.
$ac_ext <<_ACEOF
31190 /* end confdefs.h. */
31192 #include <sys/types.h>
31193 #include <sys/socket.h>
31200 getsockname(0, 0, &len);
31206 rm -f conftest.
$ac_objext
31207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31208 (eval $ac_compile) 2>&5
31210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211 (exit $ac_status); } &&
31212 { ac_try
='test -s conftest.$ac_objext'
31213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31214 (eval $ac_try) 2>&5
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); }; }; then
31218 wx_cv_type_getsockname3
=size_t
31220 echo "$as_me: failed program was:" >&5
31221 sed 's/^/| /' conftest.
$ac_ext >&5
31223 cat >conftest.
$ac_ext <<_ACEOF
31224 #line $LINENO "configure"
31227 cat confdefs.h
>>conftest.
$ac_ext
31228 cat >>conftest.
$ac_ext <<_ACEOF
31229 /* end confdefs.h. */
31231 #include <sys/types.h>
31232 #include <sys/socket.h>
31239 getsockname(0, 0, &len);
31245 rm -f conftest.
$ac_objext
31246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31247 (eval $ac_compile) 2>&5
31249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31250 (exit $ac_status); } &&
31251 { ac_try
='test -s conftest.$ac_objext'
31252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31253 (eval $ac_try) 2>&5
31255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31256 (exit $ac_status); }; }; then
31257 wx_cv_type_getsockname3
=int
31259 echo "$as_me: failed program was:" >&5
31260 sed 's/^/| /' conftest.
$ac_ext >&5
31262 wx_cv_type_getsockname3
=unknown
31265 rm -f conftest.
$ac_objext conftest.
$ac_ext
31268 rm -f conftest.
$ac_objext conftest.
$ac_ext
31270 CFLAGS
="$CFLAGS_OLD"
31274 rm -f conftest.
$ac_objext conftest.
$ac_ext
31277 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31278 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31280 if test "$wx_cv_type_getsockname3" = "unknown"; then
31282 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31283 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31285 cat >>confdefs.h
<<_ACEOF
31286 #define SOCKLEN_T $wx_cv_type_getsockname3
31293 if test "$wxUSE_SOCKETS" = "yes" ; then
31294 cat >>confdefs.h
<<\_ACEOF
31295 #define wxUSE_SOCKETS 1
31298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31301 if test "$wxUSE_PROTOCOL" = "yes"; then
31302 if test "$wxUSE_SOCKETS" != "yes"; then
31303 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31304 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31309 if test "$wxUSE_PROTOCOL" = "yes"; then
31310 cat >>confdefs.h
<<\_ACEOF
31311 #define wxUSE_PROTOCOL 1
31315 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31316 cat >>confdefs.h
<<\_ACEOF
31317 #define wxUSE_PROTOCOL_HTTP 1
31321 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31322 cat >>confdefs.h
<<\_ACEOF
31323 #define wxUSE_PROTOCOL_FTP 1
31327 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31328 cat >>confdefs.h
<<\_ACEOF
31329 #define wxUSE_PROTOCOL_FILE 1
31334 if test "$wxUSE_FS_INET" = "yes"; then
31335 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31336 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31341 if test "$wxUSE_URL" = "yes"; then
31342 if test "$wxUSE_PROTOCOL" != "yes"; then
31343 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31344 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31347 if test "$wxUSE_URL" = "yes"; then
31348 cat >>confdefs.h
<<\_ACEOF
31349 #define wxUSE_URL 1
31355 if test "$wxUSE_FS_INET" = "yes"; then
31356 cat >>confdefs.h
<<\_ACEOF
31357 #define wxUSE_FS_INET 1
31363 if test "$wxUSE_GUI" = "yes"; then
31365 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31366 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31367 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31371 if test "$TOOLKIT" != "MSW"; then
31372 if test "$wxUSE_JOYSTICK" = "yes"; then
31374 for ac_header
in linux
/joystick.h
31376 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31378 echo "$as_me:$LINENO: checking for $ac_header" >&5
31379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31381 echo $ECHO_N "(cached) $ECHO_C" >&6
31383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31386 # Is the header compilable?
31387 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31389 cat >conftest.
$ac_ext <<_ACEOF
31390 #line $LINENO "configure"
31393 cat confdefs.h
>>conftest.
$ac_ext
31394 cat >>conftest.
$ac_ext <<_ACEOF
31395 /* end confdefs.h. */
31396 $ac_includes_default
31397 #include <$ac_header>
31399 rm -f conftest.
$ac_objext
31400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31401 (eval $ac_compile) 2>&5
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); } &&
31405 { ac_try
='test -s conftest.$ac_objext'
31406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31407 (eval $ac_try) 2>&5
31409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31410 (exit $ac_status); }; }; then
31411 ac_header_compiler
=yes
31413 echo "$as_me: failed program was:" >&5
31414 sed 's/^/| /' conftest.
$ac_ext >&5
31416 ac_header_compiler
=no
31418 rm -f conftest.
$ac_objext conftest.
$ac_ext
31419 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31420 echo "${ECHO_T}$ac_header_compiler" >&6
31422 # Is the header present?
31423 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31424 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31425 cat >conftest.
$ac_ext <<_ACEOF
31426 #line $LINENO "configure"
31429 cat confdefs.h
>>conftest.
$ac_ext
31430 cat >>conftest.
$ac_ext <<_ACEOF
31431 /* end confdefs.h. */
31432 #include <$ac_header>
31434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31435 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31437 grep -v '^ *+' conftest.er1
>conftest.err
31439 cat conftest.err
>&5
31440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31441 (exit $ac_status); } >/dev
/null
; then
31442 if test -s conftest.err
; then
31443 ac_cpp_err
=$ac_c_preproc_warn_flag
31450 if test -z "$ac_cpp_err"; then
31451 ac_header_preproc
=yes
31453 echo "$as_me: failed program was:" >&5
31454 sed 's/^/| /' conftest.
$ac_ext >&5
31456 ac_header_preproc
=no
31458 rm -f conftest.err conftest.
$ac_ext
31459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31460 echo "${ECHO_T}$ac_header_preproc" >&6
31462 # So? What about this header?
31463 case $ac_header_compiler:$ac_header_preproc in
31465 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31466 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31468 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31471 ## ------------------------------------ ##
31472 ## Report this to bug-autoconf@gnu.org. ##
31473 ## ------------------------------------ ##
31476 sed "s/^/$as_me: WARNING: /" >&2
31479 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31480 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31481 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31482 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31487 ## ------------------------------------ ##
31488 ## Report this to bug-autoconf@gnu.org. ##
31489 ## ------------------------------------ ##
31492 sed "s/^/$as_me: WARNING: /" >&2
31495 echo "$as_me:$LINENO: checking for $ac_header" >&5
31496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31498 echo $ECHO_N "(cached) $ECHO_C" >&6
31500 eval "$as_ac_Header=$ac_header_preproc"
31502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31506 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31507 cat >>confdefs.h
<<_ACEOF
31508 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31515 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31517 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31518 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31523 if test "$wxUSE_JOYSTICK" = "yes"; then
31524 cat >>confdefs.h
<<\_ACEOF
31525 #define wxUSE_JOYSTICK 1
31528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31533 if test "$TOOLKIT" != "MSW"; then
31537 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31538 if test "$USE_DARWIN" = 1; then
31542 for ac_func
in dlopen
31544 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31545 echo "$as_me:$LINENO: checking for $ac_func" >&5
31546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31547 if eval "test \"\${$as_ac_var+set}\" = set"; then
31548 echo $ECHO_N "(cached) $ECHO_C" >&6
31550 cat >conftest.
$ac_ext <<_ACEOF
31551 #line $LINENO "configure"
31554 cat confdefs.h
>>conftest.
$ac_ext
31555 cat >>conftest.
$ac_ext <<_ACEOF
31556 /* end confdefs.h. */
31557 /* System header to define __stub macros and hopefully few prototypes,
31558 which can conflict with char $ac_func (); below.
31559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31560 <limits.h> exists even on freestanding compilers. */
31562 # include <limits.h>
31564 # include <assert.h>
31566 /* Override any gcc2 internal prototype to avoid an error. */
31571 /* We use char because int might match the return type of a gcc2
31572 builtin and then its argument prototype would still apply. */
31574 /* The GNU C library defines this for functions which it implements
31575 to always fail with ENOSYS. Some functions are actually named
31576 something starting with __ and the normal name is an alias. */
31577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31580 char (*f) () = $ac_func;
31589 return f != $ac_func;
31594 rm -f conftest.
$ac_objext conftest
$ac_exeext
31595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31596 (eval $ac_link) 2>&5
31598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31599 (exit $ac_status); } &&
31600 { ac_try
='test -s conftest$ac_exeext'
31601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31602 (eval $ac_try) 2>&5
31604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31605 (exit $ac_status); }; }; then
31606 eval "$as_ac_var=yes"
31608 echo "$as_me: failed program was:" >&5
31609 sed 's/^/| /' conftest.
$ac_ext >&5
31611 eval "$as_ac_var=no"
31613 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31617 if test `eval echo '${'$as_ac_var'}'` = yes; then
31618 cat >>confdefs.h
<<_ACEOF
31619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31622 cat >>confdefs.h
<<\_ACEOF
31623 #define HAVE_DLOPEN 1
31630 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31631 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31632 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31633 echo $ECHO_N "(cached) $ECHO_C" >&6
31635 ac_check_lib_save_LIBS
=$LIBS
31637 cat >conftest.
$ac_ext <<_ACEOF
31638 #line $LINENO "configure"
31641 cat confdefs.h
>>conftest.
$ac_ext
31642 cat >>conftest.
$ac_ext <<_ACEOF
31643 /* end confdefs.h. */
31645 /* Override any gcc2 internal prototype to avoid an error. */
31649 /* We use char because int might match the return type of a gcc2
31650 builtin and then its argument prototype would still apply. */
31660 rm -f conftest.
$ac_objext conftest
$ac_exeext
31661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31662 (eval $ac_link) 2>&5
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); } &&
31666 { ac_try
='test -s conftest$ac_exeext'
31667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31668 (eval $ac_try) 2>&5
31670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31671 (exit $ac_status); }; }; then
31672 ac_cv_lib_dl_dlopen
=yes
31674 echo "$as_me: failed program was:" >&5
31675 sed 's/^/| /' conftest.
$ac_ext >&5
31677 ac_cv_lib_dl_dlopen
=no
31679 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31680 LIBS
=$ac_check_lib_save_LIBS
31682 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31683 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31684 if test $ac_cv_lib_dl_dlopen = yes; then
31686 cat >>confdefs.h
<<\_ACEOF
31687 #define HAVE_DLOPEN 1
31691 DL_LINK
=" -ldl$DL_LINK"
31696 for ac_func
in shl_load
31698 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31699 echo "$as_me:$LINENO: checking for $ac_func" >&5
31700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31701 if eval "test \"\${$as_ac_var+set}\" = set"; then
31702 echo $ECHO_N "(cached) $ECHO_C" >&6
31704 cat >conftest.
$ac_ext <<_ACEOF
31705 #line $LINENO "configure"
31708 cat confdefs.h
>>conftest.
$ac_ext
31709 cat >>conftest.
$ac_ext <<_ACEOF
31710 /* end confdefs.h. */
31711 /* System header to define __stub macros and hopefully few prototypes,
31712 which can conflict with char $ac_func (); below.
31713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31714 <limits.h> exists even on freestanding compilers. */
31716 # include <limits.h>
31718 # include <assert.h>
31720 /* Override any gcc2 internal prototype to avoid an error. */
31725 /* We use char because int might match the return type of a gcc2
31726 builtin and then its argument prototype would still apply. */
31728 /* The GNU C library defines this for functions which it implements
31729 to always fail with ENOSYS. Some functions are actually named
31730 something starting with __ and the normal name is an alias. */
31731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31734 char (*f) () = $ac_func;
31743 return f != $ac_func;
31748 rm -f conftest.
$ac_objext conftest
$ac_exeext
31749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31750 (eval $ac_link) 2>&5
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); } &&
31754 { ac_try
='test -s conftest$ac_exeext'
31755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31756 (eval $ac_try) 2>&5
31758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759 (exit $ac_status); }; }; then
31760 eval "$as_ac_var=yes"
31762 echo "$as_me: failed program was:" >&5
31763 sed 's/^/| /' conftest.
$ac_ext >&5
31765 eval "$as_ac_var=no"
31767 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31771 if test `eval echo '${'$as_ac_var'}'` = yes; then
31772 cat >>confdefs.h
<<_ACEOF
31773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31776 cat >>confdefs.h
<<\_ACEOF
31777 #define HAVE_SHL_LOAD 1
31784 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31785 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31786 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31787 echo $ECHO_N "(cached) $ECHO_C" >&6
31789 ac_check_lib_save_LIBS
=$LIBS
31790 LIBS
="-lshl_load $LIBS"
31791 cat >conftest.
$ac_ext <<_ACEOF
31792 #line $LINENO "configure"
31795 cat confdefs.h
>>conftest.
$ac_ext
31796 cat >>conftest.
$ac_ext <<_ACEOF
31797 /* end confdefs.h. */
31799 /* Override any gcc2 internal prototype to avoid an error. */
31803 /* We use char because int might match the return type of a gcc2
31804 builtin and then its argument prototype would still apply. */
31814 rm -f conftest.
$ac_objext conftest
$ac_exeext
31815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31816 (eval $ac_link) 2>&5
31818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819 (exit $ac_status); } &&
31820 { ac_try
='test -s conftest$ac_exeext'
31821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31822 (eval $ac_try) 2>&5
31824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825 (exit $ac_status); }; }; then
31826 ac_cv_lib_shl_load_dld
=yes
31828 echo "$as_me: failed program was:" >&5
31829 sed 's/^/| /' conftest.
$ac_ext >&5
31831 ac_cv_lib_shl_load_dld
=no
31833 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31834 LIBS
=$ac_check_lib_save_LIBS
31836 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31837 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31838 if test $ac_cv_lib_shl_load_dld = yes; then
31841 DL_LINK
=" -ldld$DL_LINK"
31857 if test "$HAVE_DL_FUNCS" = 1; then
31859 for ac_func
in dlerror
31861 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31862 echo "$as_me:$LINENO: checking for $ac_func" >&5
31863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31864 if eval "test \"\${$as_ac_var+set}\" = set"; then
31865 echo $ECHO_N "(cached) $ECHO_C" >&6
31867 cat >conftest.
$ac_ext <<_ACEOF
31868 #line $LINENO "configure"
31871 cat confdefs.h
>>conftest.
$ac_ext
31872 cat >>conftest.
$ac_ext <<_ACEOF
31873 /* end confdefs.h. */
31874 /* System header to define __stub macros and hopefully few prototypes,
31875 which can conflict with char $ac_func (); below.
31876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31877 <limits.h> exists even on freestanding compilers. */
31879 # include <limits.h>
31881 # include <assert.h>
31883 /* Override any gcc2 internal prototype to avoid an error. */
31888 /* We use char because int might match the return type of a gcc2
31889 builtin and then its argument prototype would still apply. */
31891 /* The GNU C library defines this for functions which it implements
31892 to always fail with ENOSYS. Some functions are actually named
31893 something starting with __ and the normal name is an alias. */
31894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31897 char (*f) () = $ac_func;
31906 return f != $ac_func;
31911 rm -f conftest.
$ac_objext conftest
$ac_exeext
31912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31913 (eval $ac_link) 2>&5
31915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916 (exit $ac_status); } &&
31917 { ac_try
='test -s conftest$ac_exeext'
31918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31919 (eval $ac_try) 2>&5
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); }; }; then
31923 eval "$as_ac_var=yes"
31925 echo "$as_me: failed program was:" >&5
31926 sed 's/^/| /' conftest.
$ac_ext >&5
31928 eval "$as_ac_var=no"
31930 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31934 if test `eval echo '${'$as_ac_var'}'` = yes; then
31935 cat >>confdefs.h
<<_ACEOF
31936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31938 cat >>confdefs.h
<<\_ACEOF
31939 #define HAVE_DLERROR 1
31943 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31944 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31945 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31946 echo $ECHO_N "(cached) $ECHO_C" >&6
31948 ac_check_lib_save_LIBS
=$LIBS
31950 cat >conftest.
$ac_ext <<_ACEOF
31951 #line $LINENO "configure"
31954 cat confdefs.h
>>conftest.
$ac_ext
31955 cat >>conftest.
$ac_ext <<_ACEOF
31956 /* end confdefs.h. */
31958 /* Override any gcc2 internal prototype to avoid an error. */
31962 /* We use char because int might match the return type of a gcc2
31963 builtin and then its argument prototype would still apply. */
31973 rm -f conftest.
$ac_objext conftest
$ac_exeext
31974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31975 (eval $ac_link) 2>&5
31977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31978 (exit $ac_status); } &&
31979 { ac_try
='test -s conftest$ac_exeext'
31980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31981 (eval $ac_try) 2>&5
31983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31984 (exit $ac_status); }; }; then
31985 ac_cv_lib_dl_dlerror
=yes
31987 echo "$as_me: failed program was:" >&5
31988 sed 's/^/| /' conftest.
$ac_ext >&5
31990 ac_cv_lib_dl_dlerror
=no
31992 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31993 LIBS
=$ac_check_lib_save_LIBS
31995 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31996 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31997 if test $ac_cv_lib_dl_dlerror = yes; then
31998 cat >>confdefs.h
<<\_ACEOF
31999 #define HAVE_DLERROR 1
32010 if test "$HAVE_DL_FUNCS" = 0; then
32011 if test "$HAVE_SHL_FUNCS" = 0; then
32012 if test "$USE_UNIX" = 1; then
32013 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32014 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32015 wxUSE_DYNAMIC_LOADER
=no
32016 wxUSE_DYNLIB_CLASS
=no
32018 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32019 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32026 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32027 cat >>confdefs.h
<<\_ACEOF
32028 #define wxUSE_DYNAMIC_LOADER 1
32032 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32033 cat >>confdefs.h
<<\_ACEOF
32034 #define wxUSE_DYNLIB_CLASS 1
32040 if test "$wxUSE_FONTMAP" = "yes" ; then
32041 cat >>confdefs.h
<<\_ACEOF
32042 #define wxUSE_FONTMAP 1
32047 if test "$wxUSE_UNICODE" = "yes" ; then
32048 cat >>confdefs.h
<<\_ACEOF
32049 #define wxUSE_UNICODE 1
32053 if test "$USE_WIN32" != 1; then
32054 wxUSE_UNICODE_MSLU
=no
32057 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32058 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32059 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32060 if test "${ac_cv_lib_unicows_main+set}" = set; then
32061 echo $ECHO_N "(cached) $ECHO_C" >&6
32063 ac_check_lib_save_LIBS
=$LIBS
32064 LIBS
="-lunicows $LIBS"
32065 cat >conftest.
$ac_ext <<_ACEOF
32066 #line $LINENO "configure"
32069 cat confdefs.h
>>conftest.
$ac_ext
32070 cat >>conftest.
$ac_ext <<_ACEOF
32071 /* end confdefs.h. */
32082 rm -f conftest.
$ac_objext conftest
$ac_exeext
32083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32084 (eval $ac_link) 2>&5
32086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087 (exit $ac_status); } &&
32088 { ac_try
='test -s conftest$ac_exeext'
32089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32090 (eval $ac_try) 2>&5
32092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32093 (exit $ac_status); }; }; then
32094 ac_cv_lib_unicows_main
=yes
32096 echo "$as_me: failed program was:" >&5
32097 sed 's/^/| /' conftest.
$ac_ext >&5
32099 ac_cv_lib_unicows_main
=no
32101 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32102 LIBS
=$ac_check_lib_save_LIBS
32104 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32105 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32106 if test $ac_cv_lib_unicows_main = yes; then
32108 cat >>confdefs.h
<<\_ACEOF
32109 #define wxUSE_UNICODE_MSLU 1
32115 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32116 Applications will only run on Windows NT/2000/XP!" >&5
32117 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32118 Applications will only run on Windows NT/2000/XP!" >&2;}
32119 wxUSE_UNICODE_MSLU
=no
32126 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32127 cat >>confdefs.h
<<\_ACEOF
32128 #define wxUSE_EXPERIMENTAL_PRINTF 1
32134 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32135 cat >>confdefs.h
<<\_ACEOF
32136 #define wxUSE_POSTSCRIPT 1
32141 cat >>confdefs.h
<<\_ACEOF
32142 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32146 cat >>confdefs.h
<<\_ACEOF
32147 #define wxUSE_NORMALIZED_PS_FONTS 1
32152 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32153 cat >>confdefs.h
<<\_ACEOF
32154 #define wxUSE_CONSTRAINTS 1
32157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32160 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32161 cat >>confdefs.h
<<\_ACEOF
32162 #define wxUSE_MDI_ARCHITECTURE 1
32165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32168 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32169 cat >>confdefs.h
<<\_ACEOF
32170 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32174 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32175 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32179 if test "$wxUSE_HELP" = "yes"; then
32180 cat >>confdefs.h
<<\_ACEOF
32181 #define wxUSE_HELP 1
32184 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32186 if test "$wxUSE_MSW" = 1; then
32187 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32188 cat >>confdefs.h
<<\_ACEOF
32189 #define wxUSE_MS_HTML_HELP 1
32195 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32196 if test "$wxUSE_HTML" = "yes"; then
32197 cat >>confdefs.h
<<\_ACEOF
32198 #define wxUSE_WXHTML_HELP 1
32202 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32203 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32204 wxUSE_WXHTML_HELP
=no
32209 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32210 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32211 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32212 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32214 cat >>confdefs.h
<<\_ACEOF
32215 #define wxUSE_PRINTING_ARCHITECTURE 1
32219 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32222 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32223 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32224 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32225 { (exit 1); exit 1; }; }
32229 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32230 -o "$wxUSE_CLIPBOARD" = "yes" \
32231 -o "$wxUSE_OLE" = "yes" \
32232 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32234 for ac_header
in ole2.h
32236 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32238 echo "$as_me:$LINENO: checking for $ac_header" >&5
32239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32241 echo $ECHO_N "(cached) $ECHO_C" >&6
32243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32246 # Is the header compilable?
32247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32249 cat >conftest.
$ac_ext <<_ACEOF
32250 #line $LINENO "configure"
32253 cat confdefs.h
>>conftest.
$ac_ext
32254 cat >>conftest.
$ac_ext <<_ACEOF
32255 /* end confdefs.h. */
32256 $ac_includes_default
32257 #include <$ac_header>
32259 rm -f conftest.
$ac_objext
32260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32261 (eval $ac_compile) 2>&5
32263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32264 (exit $ac_status); } &&
32265 { ac_try
='test -s conftest.$ac_objext'
32266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32267 (eval $ac_try) 2>&5
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); }; }; then
32271 ac_header_compiler
=yes
32273 echo "$as_me: failed program was:" >&5
32274 sed 's/^/| /' conftest.
$ac_ext >&5
32276 ac_header_compiler
=no
32278 rm -f conftest.
$ac_objext conftest.
$ac_ext
32279 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32280 echo "${ECHO_T}$ac_header_compiler" >&6
32282 # Is the header present?
32283 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32284 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32285 cat >conftest.
$ac_ext <<_ACEOF
32286 #line $LINENO "configure"
32289 cat confdefs.h
>>conftest.
$ac_ext
32290 cat >>conftest.
$ac_ext <<_ACEOF
32291 /* end confdefs.h. */
32292 #include <$ac_header>
32294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32295 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32297 grep -v '^ *+' conftest.er1
>conftest.err
32299 cat conftest.err
>&5
32300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32301 (exit $ac_status); } >/dev
/null
; then
32302 if test -s conftest.err
; then
32303 ac_cpp_err
=$ac_c_preproc_warn_flag
32310 if test -z "$ac_cpp_err"; then
32311 ac_header_preproc
=yes
32313 echo "$as_me: failed program was:" >&5
32314 sed 's/^/| /' conftest.
$ac_ext >&5
32316 ac_header_preproc
=no
32318 rm -f conftest.err conftest.
$ac_ext
32319 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32320 echo "${ECHO_T}$ac_header_preproc" >&6
32322 # So? What about this header?
32323 case $ac_header_compiler:$ac_header_preproc in
32325 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32326 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32328 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32331 ## ------------------------------------ ##
32332 ## Report this to bug-autoconf@gnu.org. ##
32333 ## ------------------------------------ ##
32336 sed "s/^/$as_me: WARNING: /" >&2
32339 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32340 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32341 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32342 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32347 ## ------------------------------------ ##
32348 ## Report this to bug-autoconf@gnu.org. ##
32349 ## ------------------------------------ ##
32352 sed "s/^/$as_me: WARNING: /" >&2
32355 echo "$as_me:$LINENO: checking for $ac_header" >&5
32356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32358 echo $ECHO_N "(cached) $ECHO_C" >&6
32360 eval "$as_ac_Header=$ac_header_preproc"
32362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32367 cat >>confdefs.h
<<_ACEOF
32368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32376 if test "$ac_cv_header_ole2_h" = "yes" ; then
32377 if test "$GCC" = yes ; then
32381 ac_cpp
='$CXXCPP $CPPFLAGS'
32382 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32383 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32384 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32387 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32388 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32389 cat >conftest.
$ac_ext <<_ACEOF
32390 #line $LINENO "configure"
32393 cat confdefs.h
>>conftest.
$ac_ext
32394 cat >>conftest.
$ac_ext <<_ACEOF
32395 /* end confdefs.h. */
32396 #include <windows.h>
32406 rm -f conftest.
$ac_objext
32407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32408 (eval $ac_compile) 2>&5
32410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411 (exit $ac_status); } &&
32412 { ac_try
='test -s conftest.$ac_objext'
32413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32414 (eval $ac_try) 2>&5
32416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32417 (exit $ac_status); }; }; then
32418 echo "$as_me:$LINENO: result: no" >&5
32419 echo "${ECHO_T}no" >&6
32421 echo "$as_me: failed program was:" >&5
32422 sed 's/^/| /' conftest.
$ac_ext >&5
32424 echo "$as_me:$LINENO: result: yes" >&5
32425 echo "${ECHO_T}yes" >&6
32426 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32428 rm -f conftest.
$ac_objext conftest.
$ac_ext
32430 ac_cpp
='$CPP $CPPFLAGS'
32431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32435 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32436 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32437 cat >>confdefs.h
<<\_ACEOF
32438 #define wxUSE_OLE 1
32444 cat >>confdefs.h
<<\_ACEOF
32445 #define wxUSE_DATAOBJ 1
32449 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32450 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32453 wxUSE_DRAG_AND_DROP
=no
32458 if test "$wxUSE_METAFILE" = "yes"; then
32459 cat >>confdefs.h
<<\_ACEOF
32460 #define wxUSE_METAFILE 1
32464 cat >>confdefs.h
<<\_ACEOF
32465 #define wxUSE_ENH_METAFILE 1
32471 if test "$wxUSE_IPC" = "yes"; then
32472 if test "$wxUSE_SOCKETS" != "yes"; then
32473 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32474 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32477 cat >>confdefs.h
<<\_ACEOF
32478 #define wxUSE_IPC 1
32483 if test "$wxUSE_CLIPBOARD" = "yes"; then
32484 if test "$wxUSE_MGL" = 1; then
32485 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32486 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32490 if test "$wxUSE_CLIPBOARD" = "yes"; then
32491 cat >>confdefs.h
<<\_ACEOF
32492 #define wxUSE_CLIPBOARD 1
32496 cat >>confdefs.h
<<\_ACEOF
32497 #define wxUSE_DATAOBJ 1
32503 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32504 if test "$wxUSE_GTK" = 1; then
32505 if test "$WXGTK12" != 1; then
32506 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32507 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32508 wxUSE_DRAG_AND_DROP
=no
32512 if test "$wxUSE_MOTIF" = 1; then
32513 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32514 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32515 wxUSE_DRAG_AND_DROP
=no
32518 if test "$wxUSE_X11" = 1; then
32519 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32520 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32521 wxUSE_DRAG_AND_DROP
=no
32524 if test "$wxUSE_MGL" = 1; then
32525 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32526 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32527 wxUSE_DRAG_AND_DROP
=no
32530 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32531 cat >>confdefs.h
<<\_ACEOF
32532 #define wxUSE_DRAG_AND_DROP 1
32535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32540 if test "$wxUSE_SPLINES" = "yes" ; then
32541 cat >>confdefs.h
<<\_ACEOF
32542 #define wxUSE_SPLINES 1
32549 if test "$wxUSE_CONTROLS" = "yes"; then
32553 if test "$wxUSE_ACCEL" = "yes"; then
32554 cat >>confdefs.h
<<\_ACEOF
32555 #define wxUSE_ACCEL 1
32561 if test "$wxUSE_BUTTON" = "yes"; then
32562 cat >>confdefs.h
<<\_ACEOF
32563 #define wxUSE_BUTTON 1
32569 if test "$wxUSE_BMPBUTTON" = "yes"; then
32570 cat >>confdefs.h
<<\_ACEOF
32571 #define wxUSE_BMPBUTTON 1
32577 if test "$wxUSE_CALCTRL" = "yes"; then
32578 cat >>confdefs.h
<<\_ACEOF
32579 #define wxUSE_CALENDARCTRL 1
32583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32586 if test "$wxUSE_CARET" = "yes"; then
32587 cat >>confdefs.h
<<\_ACEOF
32588 #define wxUSE_CARET 1
32592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32595 if test "$wxUSE_COMBOBOX" = "yes"; then
32596 cat >>confdefs.h
<<\_ACEOF
32597 #define wxUSE_COMBOBOX 1
32603 if test "$wxUSE_CHOICE" = "yes"; then
32604 cat >>confdefs.h
<<\_ACEOF
32605 #define wxUSE_CHOICE 1
32611 if test "$wxUSE_CHECKBOX" = "yes"; then
32612 cat >>confdefs.h
<<\_ACEOF
32613 #define wxUSE_CHECKBOX 1
32619 if test "$wxUSE_CHECKLST" = "yes"; then
32620 cat >>confdefs.h
<<\_ACEOF
32621 #define wxUSE_CHECKLISTBOX 1
32625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32628 if test "$wxUSE_DISPLAY" = "yes"; then
32629 cat >>confdefs.h
<<\_ACEOF
32630 #define wxUSE_DISPLAY 1
32633 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32636 if test "$wxUSE_GAUGE" = "yes"; then
32637 cat >>confdefs.h
<<\_ACEOF
32638 #define wxUSE_GAUGE 1
32644 if test "$wxUSE_GRID" = "yes"; then
32645 cat >>confdefs.h
<<\_ACEOF
32646 #define wxUSE_GRID 1
32650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32653 if test "$wxUSE_IMAGLIST" = "yes"; then
32654 cat >>confdefs.h
<<\_ACEOF
32655 #define wxUSE_IMAGLIST 1
32660 if test "$wxUSE_LISTBOX" = "yes"; then
32661 cat >>confdefs.h
<<\_ACEOF
32662 #define wxUSE_LISTBOX 1
32668 if test "$wxUSE_LISTCTRL" = "yes"; then
32669 if test "$wxUSE_IMAGLIST" = "yes"; then
32670 cat >>confdefs.h
<<\_ACEOF
32671 #define wxUSE_LISTCTRL 1
32675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32677 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32678 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32682 if test "$wxUSE_NOTEBOOK" = "yes"; then
32683 cat >>confdefs.h
<<\_ACEOF
32684 #define wxUSE_NOTEBOOK 1
32688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32692 if test "$wxUSE_RADIOBOX" = "yes"; then
32693 cat >>confdefs.h
<<\_ACEOF
32694 #define wxUSE_RADIOBOX 1
32700 if test "$wxUSE_RADIOBTN" = "yes"; then
32701 cat >>confdefs.h
<<\_ACEOF
32702 #define wxUSE_RADIOBTN 1
32708 if test "$wxUSE_SASH" = "yes"; then
32709 cat >>confdefs.h
<<\_ACEOF
32710 #define wxUSE_SASH 1
32713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32716 if test "$wxUSE_SCROLLBAR" = "yes"; then
32717 cat >>confdefs.h
<<\_ACEOF
32718 #define wxUSE_SCROLLBAR 1
32722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32725 if test "$wxUSE_SLIDER" = "yes"; then
32726 cat >>confdefs.h
<<\_ACEOF
32727 #define wxUSE_SLIDER 1
32733 if test "$wxUSE_SPINBTN" = "yes"; then
32734 cat >>confdefs.h
<<\_ACEOF
32735 #define wxUSE_SPINBTN 1
32741 if test "$wxUSE_SPINCTRL" = "yes"; then
32742 cat >>confdefs.h
<<\_ACEOF
32743 #define wxUSE_SPINCTRL 1
32749 if test "$wxUSE_SPLITTER" = "yes"; then
32750 cat >>confdefs.h
<<\_ACEOF
32751 #define wxUSE_SPLITTER 1
32754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32757 if test "$wxUSE_STATBMP" = "yes"; then
32758 cat >>confdefs.h
<<\_ACEOF
32759 #define wxUSE_STATBMP 1
32765 if test "$wxUSE_STATBOX" = "yes"; then
32766 cat >>confdefs.h
<<\_ACEOF
32767 #define wxUSE_STATBOX 1
32773 if test "$wxUSE_STATTEXT" = "yes"; then
32774 cat >>confdefs.h
<<\_ACEOF
32775 #define wxUSE_STATTEXT 1
32781 if test "$wxUSE_STATLINE" = "yes"; then
32782 cat >>confdefs.h
<<\_ACEOF
32783 #define wxUSE_STATLINE 1
32789 if test "$wxUSE_STATUSBAR" = "yes"; then
32790 cat >>confdefs.h
<<\_ACEOF
32791 #define wxUSE_STATUSBAR 1
32796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
32799 if test "$wxUSE_TABDIALOG" = "yes"; then
32800 cat >>confdefs.h
<<\_ACEOF
32801 #define wxUSE_TAB_DIALOG 1
32804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
32807 if test "$wxUSE_TEXTCTRL" = "yes"; then
32808 cat >>confdefs.h
<<\_ACEOF
32809 #define wxUSE_TEXTCTRL 1
32813 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
32816 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32817 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32818 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32819 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32822 if test "$wxUSE_UNIVERSAL" = "yes"; then
32823 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32824 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32828 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32829 cat >>confdefs.h
<<\_ACEOF
32830 #define wxUSE_TOGGLEBTN 1
32837 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32838 cat >>confdefs.h
<<\_ACEOF
32839 #define wxUSE_TOOLBAR_SIMPLE 1
32842 wxUSE_TOOLBAR
="yes"
32846 if test "$wxUSE_TOOLBAR" = "yes"; then
32847 cat >>confdefs.h
<<\_ACEOF
32848 #define wxUSE_TOOLBAR 1
32853 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32854 wxUSE_TOOLBAR_NATIVE
="yes"
32857 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32858 cat >>confdefs.h
<<\_ACEOF
32859 #define wxUSE_TOOLBAR_NATIVE 1
32865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
32868 if test "$wxUSE_TOOLTIPS" = "yes"; then
32869 if test "$wxUSE_MOTIF" = 1; then
32870 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32871 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32873 if test "$wxUSE_UNIVERSAL" = "yes"; then
32874 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32875 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32877 cat >>confdefs.h
<<\_ACEOF
32878 #define wxUSE_TOOLTIPS 1
32885 if test "$wxUSE_TREECTRL" = "yes"; then
32886 if test "$wxUSE_IMAGLIST" = "yes"; then
32887 cat >>confdefs.h
<<\_ACEOF
32888 #define wxUSE_TREECTRL 1
32892 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
32894 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32895 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32899 if test "$wxUSE_POPUPWIN" = "yes"; then
32900 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32901 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32902 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32904 if test "$wxUSE_MOTIF" = 1; then
32905 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32906 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32908 if test "$wxUSE_PM" = 1; then
32909 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32910 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32912 cat >>confdefs.h
<<\_ACEOF
32913 #define wxUSE_POPUPWIN 1
32923 if test "$wxUSE_TIPWINDOW" = "yes"; then
32924 if test "$wxUSE_PM" = 1; then
32925 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32926 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32928 cat >>confdefs.h
<<\_ACEOF
32929 #define wxUSE_TIPWINDOW 1
32935 if test "$USES_CONTROLS" = 1; then
32936 cat >>confdefs.h
<<\_ACEOF
32937 #define wxUSE_CONTROLS 1
32944 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32945 cat >>confdefs.h
<<\_ACEOF
32946 #define wxUSE_DRAGIMAGE 1
32949 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
32952 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32953 cat >>confdefs.h
<<\_ACEOF
32954 #define wxUSE_ACCESSIBILITY 1
32957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
32960 if test "$wxUSE_MENUS" = "yes"; then
32961 cat >>confdefs.h
<<\_ACEOF
32962 #define wxUSE_MENUS 1
32965 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
32968 if test "$wxUSE_METAFILE" = "yes"; then
32969 cat >>confdefs.h
<<\_ACEOF
32970 #define wxUSE_METAFILE 1
32975 if test "$wxUSE_MIMETYPE" = "yes"; then
32976 cat >>confdefs.h
<<\_ACEOF
32977 #define wxUSE_MIMETYPE 1
32982 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32983 cat >>confdefs.h
<<\_ACEOF
32984 #define wxUSE_SYSTEM_OPTIONS 1
32987 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
32988 "$TOOLKIT" = "MOTIF"; then
32989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
32994 if test "$wxUSE_MINIFRAME" = "yes"; then
32995 cat >>confdefs.h
<<\_ACEOF
32996 #define wxUSE_MINIFRAME 1
32999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
33003 if test "$wxUSE_HTML" = "yes"; then
33004 cat >>confdefs.h
<<\_ACEOF
33005 #define wxUSE_HTML 1
33009 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33012 if test "$wxUSE_VALIDATORS" = "yes"; then
33013 cat >>confdefs.h
<<\_ACEOF
33014 #define wxUSE_VALIDATORS 1
33017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
33020 if test "$wxUSE_PALETTE" = "yes" ; then
33021 cat >>confdefs.h
<<\_ACEOF
33022 #define wxUSE_PALETTE 1
33027 if test "$wxUSE_IMAGE" = "yes" ; then
33028 cat >>confdefs.h
<<\_ACEOF
33029 #define wxUSE_IMAGE 1
33034 if test "$wxUSE_GIF" = "yes" ; then
33035 cat >>confdefs.h
<<\_ACEOF
33036 #define wxUSE_GIF 1
33041 if test "$wxUSE_PCX" = "yes" ; then
33042 cat >>confdefs.h
<<\_ACEOF
33043 #define wxUSE_PCX 1
33048 if test "$wxUSE_IFF" = "yes" ; then
33049 cat >>confdefs.h
<<\_ACEOF
33050 #define wxUSE_IFF 1
33055 if test "$wxUSE_PNM" = "yes" ; then
33056 cat >>confdefs.h
<<\_ACEOF
33057 #define wxUSE_PNM 1
33062 if test "$wxUSE_XPM" = "yes" ; then
33063 cat >>confdefs.h
<<\_ACEOF
33064 #define wxUSE_XPM 1
33069 if test "$wxUSE_ICO_CUR" = "yes" ; then
33070 cat >>confdefs.h
<<\_ACEOF
33071 #define wxUSE_ICO_CUR 1
33076 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33077 LIBS
=" -lunicows $LIBS"
33081 if test "$wxUSE_CHOICEDLG" = "yes"; then
33082 cat >>confdefs.h
<<\_ACEOF
33083 #define wxUSE_CHOICEDLG 1
33088 if test "$wxUSE_COLOURDLG" = "yes"; then
33089 cat >>confdefs.h
<<\_ACEOF
33090 #define wxUSE_COLOURDLG 1
33095 if test "$wxUSE_FILEDLG" = "yes"; then
33096 cat >>confdefs.h
<<\_ACEOF
33097 #define wxUSE_FILEDLG 1
33102 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33103 cat >>confdefs.h
<<\_ACEOF
33104 #define wxUSE_FINDREPLDLG 1
33109 if test "$wxUSE_FONTDLG" = "yes"; then
33110 cat >>confdefs.h
<<\_ACEOF
33111 #define wxUSE_FONTDLG 1
33116 if test "$wxUSE_DIRDLG" = "yes"; then
33117 if test "$wxUSE_TREECTRL" != "yes"; then
33118 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33119 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33121 cat >>confdefs.h
<<\_ACEOF
33122 #define wxUSE_DIRDLG 1
33128 if test "$wxUSE_MSGDLG" = "yes"; then
33129 cat >>confdefs.h
<<\_ACEOF
33130 #define wxUSE_MSGDLG 1
33135 if test "$wxUSE_NUMBERDLG" = "yes"; then
33136 cat >>confdefs.h
<<\_ACEOF
33137 #define wxUSE_NUMBERDLG 1
33142 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33143 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33144 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33145 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33147 cat >>confdefs.h
<<\_ACEOF
33148 #define wxUSE_PROGRESSDLG 1
33154 if test "$wxUSE_SPLASH" = "yes"; then
33155 cat >>confdefs.h
<<\_ACEOF
33156 #define wxUSE_SPLASH 1
33161 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33162 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33163 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33164 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33166 cat >>confdefs.h
<<\_ACEOF
33167 #define wxUSE_STARTUP_TIPS 1
33173 if test "$wxUSE_TEXTDLG" = "yes"; then
33174 cat >>confdefs.h
<<\_ACEOF
33175 #define wxUSE_TEXTDLG 1
33180 if test "$wxUSE_WIZARDDLG" = "yes"; then
33181 cat >>confdefs.h
<<\_ACEOF
33182 #define wxUSE_WIZARDDLG 1
33185 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33189 if test "$cross_compiling" = "yes"; then
33192 OSINFO
=`uname -s -r -m`
33193 OSINFO
="\"$OSINFO\""
33196 cat >>confdefs.h
<<_ACEOF
33197 #define WXWIN_OS_DESCRIPTION $OSINFO
33202 if test "x$prefix" != "xNONE"; then
33205 wxPREFIX
=$ac_default_prefix
33208 cat >>confdefs.h
<<_ACEOF
33209 #define wxINSTALL_PREFIX "$wxPREFIX"
33213 top_builddir_wxconfig
=`pwd`
33217 CORE_BASE_LIBS
="net base"
33218 CORE_GUI_LIBS
="adv core"
33220 if test "$wxUSE_XML" = "yes" ; then
33221 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
33223 if test "$wxUSE_ODBC" != "no" ; then
33224 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
33225 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
33227 if test "$wxUSE_HTML" = "yes" ; then
33228 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
33238 if test "$wxUSE_MAC" = 1 ; then
33239 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33241 if test "$wxUSE_COCOA" = 1 ; then
33242 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33246 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33253 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33254 echo "$as_me:$LINENO: checking for $ac_func" >&5
33255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33256 if eval "test \"\${$as_ac_var+set}\" = set"; then
33257 echo $ECHO_N "(cached) $ECHO_C" >&6
33259 cat >conftest.
$ac_ext <<_ACEOF
33260 #line $LINENO "configure"
33263 cat confdefs.h
>>conftest.
$ac_ext
33264 cat >>conftest.
$ac_ext <<_ACEOF
33265 /* end confdefs.h. */
33266 /* System header to define __stub macros and hopefully few prototypes,
33267 which can conflict with char $ac_func (); below.
33268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33269 <limits.h> exists even on freestanding compilers. */
33271 # include <limits.h>
33273 # include <assert.h>
33275 /* Override any gcc2 internal prototype to avoid an error. */
33280 /* We use char because int might match the return type of a gcc2
33281 builtin and then its argument prototype would still apply. */
33283 /* The GNU C library defines this for functions which it implements
33284 to always fail with ENOSYS. Some functions are actually named
33285 something starting with __ and the normal name is an alias. */
33286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33289 char (*f) () = $ac_func;
33298 return f != $ac_func;
33303 rm -f conftest.
$ac_objext conftest
$ac_exeext
33304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33305 (eval $ac_link) 2>&5
33307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33308 (exit $ac_status); } &&
33309 { ac_try
='test -s conftest$ac_exeext'
33310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33311 (eval $ac_try) 2>&5
33313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33314 (exit $ac_status); }; }; then
33315 eval "$as_ac_var=yes"
33317 echo "$as_me: failed program was:" >&5
33318 sed 's/^/| /' conftest.
$ac_ext >&5
33320 eval "$as_ac_var=no"
33322 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33326 if test `eval echo '${'$as_ac_var'}'` = yes; then
33327 cat >>confdefs.h
<<_ACEOF
33328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33335 for ac_func
in floor
33337 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33338 echo "$as_me:$LINENO: checking for $ac_func" >&5
33339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33340 if eval "test \"\${$as_ac_var+set}\" = set"; then
33341 echo $ECHO_N "(cached) $ECHO_C" >&6
33343 cat >conftest.
$ac_ext <<_ACEOF
33344 #line $LINENO "configure"
33347 cat confdefs.h
>>conftest.
$ac_ext
33348 cat >>conftest.
$ac_ext <<_ACEOF
33349 /* end confdefs.h. */
33350 /* System header to define __stub macros and hopefully few prototypes,
33351 which can conflict with char $ac_func (); below.
33352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33353 <limits.h> exists even on freestanding compilers. */
33355 # include <limits.h>
33357 # include <assert.h>
33359 /* Override any gcc2 internal prototype to avoid an error. */
33364 /* We use char because int might match the return type of a gcc2
33365 builtin and then its argument prototype would still apply. */
33367 /* The GNU C library defines this for functions which it implements
33368 to always fail with ENOSYS. Some functions are actually named
33369 something starting with __ and the normal name is an alias. */
33370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33373 char (*f) () = $ac_func;
33382 return f != $ac_func;
33387 rm -f conftest.
$ac_objext conftest
$ac_exeext
33388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33389 (eval $ac_link) 2>&5
33391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33392 (exit $ac_status); } &&
33393 { ac_try
='test -s conftest$ac_exeext'
33394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33395 (eval $ac_try) 2>&5
33397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33398 (exit $ac_status); }; }; then
33399 eval "$as_ac_var=yes"
33401 echo "$as_me: failed program was:" >&5
33402 sed 's/^/| /' conftest.
$ac_ext >&5
33404 eval "$as_ac_var=no"
33406 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33410 if test `eval echo '${'$as_ac_var'}'` = yes; then
33411 cat >>confdefs.h
<<_ACEOF
33412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33418 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33419 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33420 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33421 echo "$as_me:$LINENO: result: yes" >&5
33422 echo "${ECHO_T}yes" >&6
33424 echo "$as_me:$LINENO: result: no" >&5
33425 echo "${ECHO_T}no" >&6
33427 # use different functions to avoid configure caching
33433 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33434 echo "$as_me:$LINENO: checking for $ac_func" >&5
33435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33436 if eval "test \"\${$as_ac_var+set}\" = set"; then
33437 echo $ECHO_N "(cached) $ECHO_C" >&6
33439 cat >conftest.
$ac_ext <<_ACEOF
33440 #line $LINENO "configure"
33443 cat confdefs.h
>>conftest.
$ac_ext
33444 cat >>conftest.
$ac_ext <<_ACEOF
33445 /* end confdefs.h. */
33446 /* System header to define __stub macros and hopefully few prototypes,
33447 which can conflict with char $ac_func (); below.
33448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33449 <limits.h> exists even on freestanding compilers. */
33451 # include <limits.h>
33453 # include <assert.h>
33455 /* Override any gcc2 internal prototype to avoid an error. */
33460 /* We use char because int might match the return type of a gcc2
33461 builtin and then its argument prototype would still apply. */
33463 /* The GNU C library defines this for functions which it implements
33464 to always fail with ENOSYS. Some functions are actually named
33465 something starting with __ and the normal name is an alias. */
33466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33469 char (*f) () = $ac_func;
33478 return f != $ac_func;
33483 rm -f conftest.
$ac_objext conftest
$ac_exeext
33484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33485 (eval $ac_link) 2>&5
33487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33488 (exit $ac_status); } &&
33489 { ac_try
='test -s conftest$ac_exeext'
33490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33491 (eval $ac_try) 2>&5
33493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33494 (exit $ac_status); }; }; then
33495 eval "$as_ac_var=yes"
33497 echo "$as_me: failed program was:" >&5
33498 sed 's/^/| /' conftest.
$ac_ext >&5
33500 eval "$as_ac_var=no"
33502 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33506 if test `eval echo '${'$as_ac_var'}'` = yes; then
33507 cat >>confdefs.h
<<_ACEOF
33508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33515 for ac_func
in ceil
33517 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33518 echo "$as_me:$LINENO: checking for $ac_func" >&5
33519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33520 if eval "test \"\${$as_ac_var+set}\" = set"; then
33521 echo $ECHO_N "(cached) $ECHO_C" >&6
33523 cat >conftest.
$ac_ext <<_ACEOF
33524 #line $LINENO "configure"
33527 cat confdefs.h
>>conftest.
$ac_ext
33528 cat >>conftest.
$ac_ext <<_ACEOF
33529 /* end confdefs.h. */
33530 /* System header to define __stub macros and hopefully few prototypes,
33531 which can conflict with char $ac_func (); below.
33532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33533 <limits.h> exists even on freestanding compilers. */
33535 # include <limits.h>
33537 # include <assert.h>
33539 /* Override any gcc2 internal prototype to avoid an error. */
33544 /* We use char because int might match the return type of a gcc2
33545 builtin and then its argument prototype would still apply. */
33547 /* The GNU C library defines this for functions which it implements
33548 to always fail with ENOSYS. Some functions are actually named
33549 something starting with __ and the normal name is an alias. */
33550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33553 char (*f) () = $ac_func;
33562 return f != $ac_func;
33567 rm -f conftest.
$ac_objext conftest
$ac_exeext
33568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33569 (eval $ac_link) 2>&5
33571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33572 (exit $ac_status); } &&
33573 { ac_try
='test -s conftest$ac_exeext'
33574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33575 (eval $ac_try) 2>&5
33577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33578 (exit $ac_status); }; }; then
33579 eval "$as_ac_var=yes"
33581 echo "$as_me: failed program was:" >&5
33582 sed 's/^/| /' conftest.
$ac_ext >&5
33584 eval "$as_ac_var=no"
33586 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33590 if test `eval echo '${'$as_ac_var'}'` = yes; then
33591 cat >>confdefs.h
<<_ACEOF
33592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33598 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33599 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33600 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33601 echo "$as_me:$LINENO: result: yes" >&5
33602 echo "${ECHO_T}yes" >&6
33604 echo "$as_me:$LINENO: result: no" >&5
33605 echo "${ECHO_T}no" >&6
33606 # not sure we should warn the user, crash, etc.
33610 if test "$wxUSE_GUI" = "yes"; then
33613 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33614 drawing dynamic erase event exec font image \
33615 minimal propsize rotate shaped widgets render"
33617 if test "$wxUSE_MONOLITHIC" != "yes"; then
33618 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
33621 SAMPLES_SUBDIRS
="console"
33625 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33626 -I\${top_srcdir}/include \
33627 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33630 if test "$GXX" = yes ; then
33631 CXXWARNINGS
="-Wall"
33634 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33636 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33637 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33638 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33641 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
33642 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33643 EXTRALIBS_XML
="$EXPAT_LINK"
33644 EXTRALIBS_ODBC
="$ODBC_LINK"
33645 if test "$wxUSE_GUI" = "yes"; then
33646 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33648 if test "$wxUSE_OPENGL" = "yes"; then
33649 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
33652 LDFLAGS
="$LDFLAGS $PROFILE"
33654 if test "$wxUSE_GTK" = 1; then
33657 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33660 WXCONFIG_EXTRALIBS
="$LIBS"
33662 if test "$wxUSE_REGEX" = "builtin" ; then
33663 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
33665 if test "$wxUSE_EXPAT" = "builtin" ; then
33666 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
33668 if test "$wxUSE_ODBC" = "builtin" ; then
33669 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33671 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33672 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
33674 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33675 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
33677 if test "$wxUSE_LIBPNG" = "builtin" ; then
33678 wxconfig_3rdparty
="$wxconfig_3rdparty png"
33680 if test "$wxUSE_ZLIB" = "builtin" ; then
33681 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
33683 if test "$wxUSE_ODBC" = "builtin" ; then
33684 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33687 for i
in $wxconfig_3rdparty ; do
33688 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33692 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33706 if test $wxUSE_MONOLITHIC = "yes" ; then
33712 if test $wxUSE_ODBC != "no" ; then
33718 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33740 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33748 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33750 if test -n "$ac_tool_prefix"; then
33751 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33752 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33753 echo "$as_me:$LINENO: checking for $ac_word" >&5
33754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33755 if test "${ac_cv_prog_RANLIB+set}" = set; then
33756 echo $ECHO_N "(cached) $ECHO_C" >&6
33758 if test -n "$RANLIB"; then
33759 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33762 for as_dir
in $PATH
33765 test -z "$as_dir" && as_dir
=.
33766 for ac_exec_ext
in '' $ac_executable_extensions; do
33767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33768 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
33769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33777 RANLIB
=$ac_cv_prog_RANLIB
33778 if test -n "$RANLIB"; then
33779 echo "$as_me:$LINENO: result: $RANLIB" >&5
33780 echo "${ECHO_T}$RANLIB" >&6
33782 echo "$as_me:$LINENO: result: no" >&5
33783 echo "${ECHO_T}no" >&6
33787 if test -z "$ac_cv_prog_RANLIB"; then
33788 ac_ct_RANLIB
=$RANLIB
33789 # Extract the first word of "ranlib", so it can be a program name with args.
33790 set dummy ranlib
; ac_word
=$2
33791 echo "$as_me:$LINENO: checking for $ac_word" >&5
33792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33793 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33794 echo $ECHO_N "(cached) $ECHO_C" >&6
33796 if test -n "$ac_ct_RANLIB"; then
33797 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
33799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33800 for as_dir
in $PATH
33803 test -z "$as_dir" && as_dir
=.
33804 for ac_exec_ext
in '' $ac_executable_extensions; do
33805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33806 ac_cv_prog_ac_ct_RANLIB
="ranlib"
33807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33813 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
33816 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
33817 if test -n "$ac_ct_RANLIB"; then
33818 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33819 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33821 echo "$as_me:$LINENO: result: no" >&5
33822 echo "${ECHO_T}no" >&6
33825 RANLIB
=$ac_ct_RANLIB
33827 RANLIB
="$ac_cv_prog_RANLIB"
33830 # Find a good install program. We prefer a C program (faster),
33831 # so one script is as good as another. But avoid the broken or
33832 # incompatible versions:
33833 # SysV /etc/install, /usr/sbin/install
33834 # SunOS /usr/etc/install
33835 # IRIX /sbin/install
33837 # AmigaOS /C/install, which installs bootblocks on floppy discs
33838 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33839 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33840 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33841 # ./install, which can be erroneously created by make from ./install.sh.
33842 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33843 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33844 if test -z "$INSTALL"; then
33845 if test "${ac_cv_path_install+set}" = set; then
33846 echo $ECHO_N "(cached) $ECHO_C" >&6
33848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33849 for as_dir
in $PATH
33852 test -z "$as_dir" && as_dir
=.
33853 # Account for people who put trailing slashes in PATH elements.
33855 .
/ | .
// | /cC
/* | \
33856 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
33859 # OSF1 and SCO ODT 3.0 have their own names for install.
33860 # Don't use installbsd from OSF since it installs stuff as root
33862 for ac_prog
in ginstall scoinst
install; do
33863 for ac_exec_ext
in '' $ac_executable_extensions; do
33864 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33865 if test $ac_prog = install &&
33866 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33867 # AIX install. It has an incompatible calling convention.
33869 elif test $ac_prog = install &&
33870 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
33871 # program-specific install script used by HP pwplus--don't use.
33874 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
33886 if test "${ac_cv_path_install+set}" = set; then
33887 INSTALL
=$ac_cv_path_install
33889 # As a last resort, use the slow shell script. We don't cache a
33890 # path for INSTALL within a source directory, because that will
33891 # break other packages using the cache if that directory is
33892 # removed, or if the path is relative.
33893 INSTALL
=$ac_install_sh
33896 echo "$as_me:$LINENO: result: $INSTALL" >&5
33897 echo "${ECHO_T}$INSTALL" >&6
33899 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33900 # It thinks the first close brace ends the variable substitution.
33901 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
33903 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
33905 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
33907 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33908 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33910 if test "$LN_S" = "ln -s"; then
33911 echo "$as_me:$LINENO: result: yes" >&5
33912 echo "${ECHO_T}yes" >&6
33914 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33915 echo "${ECHO_T}no, using $LN_S" >&6
33919 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33920 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33921 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
33922 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33923 echo $ECHO_N "(cached) $ECHO_C" >&6
33925 cat >conftest.
make <<\_ACEOF
33927 @
echo 'ac_maketemp="$(MAKE)"'
33929 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33930 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33931 if test -n "$ac_maketemp"; then
33932 eval ac_cv_prog_make_
${ac_make}_set
=yes
33934 eval ac_cv_prog_make_
${ac_make}_set
=no
33936 rm -f conftest.
make
33938 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33939 echo "$as_me:$LINENO: result: yes" >&5
33940 echo "${ECHO_T}yes" >&6
33943 echo "$as_me:$LINENO: result: no" >&5
33944 echo "${ECHO_T}no" >&6
33945 SET_MAKE
="MAKE=${MAKE-make}"
33950 if test "$build" != "$host" ; then
33952 STRIP
=$host_alias-strip
33954 # Extract the first word of "ar", so it can be a program name with args.
33955 set dummy
ar; ac_word
=$2
33956 echo "$as_me:$LINENO: checking for $ac_word" >&5
33957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33958 if test "${ac_cv_prog_AR+set}" = set; then
33959 echo $ECHO_N "(cached) $ECHO_C" >&6
33961 if test -n "$AR"; then
33962 ac_cv_prog_AR
="$AR" # Let the user override the test.
33964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33965 for as_dir
in $PATH
33968 test -z "$as_dir" && as_dir
=.
33969 for ac_exec_ext
in '' $ac_executable_extensions; do
33970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33978 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
33982 if test -n "$AR"; then
33983 echo "$as_me:$LINENO: result: $AR" >&5
33984 echo "${ECHO_T}$AR" >&6
33986 echo "$as_me:$LINENO: result: no" >&5
33987 echo "${ECHO_T}no" >&6
33990 # Extract the first word of "strip", so it can be a program name with args.
33991 set dummy strip
; ac_word
=$2
33992 echo "$as_me:$LINENO: checking for $ac_word" >&5
33993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33994 if test "${ac_cv_prog_STRIP+set}" = set; then
33995 echo $ECHO_N "(cached) $ECHO_C" >&6
33997 if test -n "$STRIP"; then
33998 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
34000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34001 for as_dir
in $PATH
34004 test -z "$as_dir" && as_dir
=.
34005 for ac_exec_ext
in '' $ac_executable_extensions; do
34006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34007 ac_cv_prog_STRIP
="strip"
34008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34014 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
34017 STRIP
=$ac_cv_prog_STRIP
34018 if test -n "$STRIP"; then
34019 echo "$as_me:$LINENO: result: $STRIP" >&5
34020 echo "${ECHO_T}$STRIP" >&6
34022 echo "$as_me:$LINENO: result: no" >&5
34023 echo "${ECHO_T}no" >&6
34030 INSTALL_DIR
="mkdir"
34032 *) INSTALL_DIR
="$INSTALL -d"
34039 *-*-cygwin* | *-*-mingw32* )
34040 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
34046 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34047 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34048 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34049 echo $ECHO_N "(cached) $ECHO_C" >&6
34052 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
34053 egrep -s GNU
> /dev
/null
); then
34054 bakefile_cv_prog_makeisgnu
="yes"
34056 bakefile_cv_prog_makeisgnu
="no"
34060 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34061 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34063 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34078 *-*-cygwin* | *-*-mingw32* )
34081 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34084 powerpc
-*-darwin* )
34101 SO_SUFFIX_MODULE
="so"
34109 SO_SUFFIX_MODULE
="sl"
34113 SO_SUFFIX_MODULE
="a"
34115 *-*-cygwin* | *-*-mingw32* )
34117 SO_SUFFIX_MODULE
="dll"
34121 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34125 powerpc
-*-darwin* )
34127 SO_SUFFIX_MODULE
="bundle"
34138 SHARED_LD_CC
="\$(CC) -shared -o"
34139 SHARED_LD_CXX
="\$(CXX) -shared -o"
34141 if test "x$GCC" = "xyes"; then
34147 if test "x$GCC" = "xyes"; then
34148 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
34149 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
34151 LDFLAGS
="$LDFLAGS -L/usr/lib"
34153 SHARED_LD_CC
="${CC} -b -o"
34154 SHARED_LD_CXX
="${CXX} -b -o"
34160 if test "x$GCC" != "xyes"; then
34161 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34162 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34163 if test "${bakefile_cv_prog_icc+set}" = set; then
34164 echo $ECHO_N "(cached) $ECHO_C" >&6
34167 cat >conftest.
$ac_ext <<_ACEOF
34168 #line $LINENO "configure"
34171 cat confdefs.h
>>conftest.
$ac_ext
34172 cat >>conftest.
$ac_ext <<_ACEOF
34173 /* end confdefs.h. */
34179 #ifndef __INTEL_COMPILER
34187 rm -f conftest.
$ac_objext
34188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34189 (eval $ac_compile) 2>&5
34191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34192 (exit $ac_status); } &&
34193 { ac_try
='test -s conftest.$ac_objext'
34194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34195 (eval $ac_try) 2>&5
34197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34198 (exit $ac_status); }; }; then
34199 bakefile_cv_prog_icc
=yes
34201 echo "$as_me: failed program was:" >&5
34202 sed 's/^/| /' conftest.
$ac_ext >&5
34204 bakefile_cv_prog_icc
=no
34207 rm -f conftest.
$ac_objext conftest.
$ac_ext
34210 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34211 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34212 if test "$bakefile_cv_prog_icc" = "yes"; then
34219 if test "x$GCC" != xyes
; then
34220 SHARED_LD_CC
="${CC} -G -o"
34221 SHARED_LD_CXX
="${CXX} -G -o"
34227 CFLAGS
="$CFLAGS -fno-common"
34228 CXXFLAGS
="$CXXFLAGS -fno-common"
34231 cat <<EOF >shared-ld-sh
34233 #-----------------------------------------------------------------------------
34234 #-- Name: distrib/mac/shared-ld-sh
34235 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34236 #-- Author: Gilles Depeyrot
34237 #-- Copyright: (c) 2002 Gilles Depeyrot
34238 #-- Licence: any use permitted
34239 #-----------------------------------------------------------------------------
34244 linking_flag="-dynamiclib"
34246 while test \${#} -gt 0; do
34253 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34254 # collect these options and values
34255 args="\${args} \${1} \${2}"
34259 -l*|-L*|-flat_namespace)
34260 # collect these options
34261 args="\${args} \${1}"
34264 -dynamiclib|-bundle)
34265 linking_flag="\${1}"
34269 echo "shared-ld: unhandled option '\${1}'"
34273 *.o | *.a | *.dylib)
34274 # collect object files
34275 objects="\${objects} \${1}"
34279 echo "shared-ld: unhandled argument '\${1}'"
34288 # Link one module containing all the others
34290 if test \${verbose} = 1; then
34291 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34293 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34295 if test \${status} != 0; then
34300 # Link the shared library from the single module created
34302 if test \${verbose} = 1; then
34303 echo "cc \${linking_flag} master.\$\$.o \${args}"
34305 c++ \${linking_flag} master.\$\$.o \${args}
34307 if test \${status} != 0; then
34312 # Remove intermediate module
34314 rm -f master.\$\$.o
34318 chmod +x shared
-ld-sh
34320 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34321 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34322 SHARED_LD_CXX
="$SHARED_LD_CC"
34323 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
34324 PIC_FLAG
="-dynamic -fPIC"
34328 if test "x$GCC" != "xyes"; then
34329 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34330 set dummy makeC
++SharedLib
; ac_word
=$2
34331 echo "$as_me:$LINENO: checking for $ac_word" >&5
34332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34333 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34334 echo $ECHO_N "(cached) $ECHO_C" >&6
34336 if test -n "$AIX_CXX_LD"; then
34337 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34340 for as_dir
in $PATH
34343 test -z "$as_dir" && as_dir
=.
34344 for ac_exec_ext
in '' $ac_executable_extensions; do
34345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34346 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34353 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34356 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34357 if test -n "$AIX_CXX_LD"; then
34358 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34359 echo "${ECHO_T}$AIX_CXX_LD" >&6
34361 echo "$as_me:$LINENO: result: no" >&5
34362 echo "${ECHO_T}no" >&6
34365 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34366 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34371 SHARED_LD_CC
="${LD} -shared -o"
34372 SHARED_LD_CXX
="${LD} -shared -o"
34376 if test "x$GCC" != "xyes"; then
34381 *-*-cygwin* | *-*-mingw32* )
34385 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34393 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34394 echo "$as_me: error: unknown system type $host." >&2;}
34395 { (exit 1); exit 1; }; }
34398 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34399 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
34401 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34402 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
34421 SONAME_FLAG
="-Wl,-soname,"
34449 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34450 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34453 if test "x$GCC" = "xyes"; then
34457 powerpc
-*-darwin* )
34458 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
34461 DEPSFLAG_GCC
="-MMD"
34464 echo "$as_me:$LINENO: result: gcc" >&5
34465 echo "${ECHO_T}gcc" >&6
34467 echo "$as_me:$LINENO: result: none" >&5
34468 echo "${ECHO_T}none" >&6
34471 if test $DEPS_TRACKING = 1 ; then
34475 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34476 # script. It is used to track C/C++ files dependencies in portable way.
34478 # Permission is given to use this file in any way.
34482 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34486 if test \$DEPSMODE = gcc ; then
34487 \${*} \${DEPSFLAG_GCC}
34489 if test \${status} != 0 ; then
34492 # move created file to the location we want it in:
34493 while test \${#} -gt 0; do
34507 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34508 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34509 if test -f \$depfile ; then
34510 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34513 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34514 if test -f \$depfile ; then
34515 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34535 *-*-cygwin* | *-*-mingw32* )
34536 if test "$build" != "$host" ; then
34537 RESCOMP
=$host_alias-windres
34539 # Extract the first word of "windres", so it can be a program name with args.
34540 set dummy windres
; ac_word
=$2
34541 echo "$as_me:$LINENO: checking for $ac_word" >&5
34542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34543 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34544 echo $ECHO_N "(cached) $ECHO_C" >&6
34546 if test -n "$RESCOMP"; then
34547 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34550 for as_dir
in $PATH
34553 test -z "$as_dir" && as_dir
=.
34554 for ac_exec_ext
in '' $ac_executable_extensions; do
34555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34556 ac_cv_prog_RESCOMP
="windres"
34557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34563 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34566 RESCOMP
=$ac_cv_prog_RESCOMP
34567 if test -n "$RESCOMP"; then
34568 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34569 echo "${ECHO_T}$RESCOMP" >&6
34571 echo "$as_me:$LINENO: result: no" >&5
34572 echo "${ECHO_T}no" >&6
34579 # Extract the first word of "Rez", so it can be a program name with args.
34580 set dummy Rez
; ac_word
=$2
34581 echo "$as_me:$LINENO: checking for $ac_word" >&5
34582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34583 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34584 echo $ECHO_N "(cached) $ECHO_C" >&6
34586 if test -n "$RESCOMP"; then
34587 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34590 for as_dir
in $PATH
34593 test -z "$as_dir" && as_dir
=.
34594 for ac_exec_ext
in '' $ac_executable_extensions; do
34595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34596 ac_cv_prog_RESCOMP
="Rez"
34597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34603 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
34606 RESCOMP
=$ac_cv_prog_RESCOMP
34607 if test -n "$RESCOMP"; then
34608 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34609 echo "${ECHO_T}$RESCOMP" >&6
34611 echo "$as_me:$LINENO: result: no" >&5
34612 echo "${ECHO_T}no" >&6
34615 # Extract the first word of "SetFile", so it can be a program name with args.
34616 set dummy SetFile
; ac_word
=$2
34617 echo "$as_me:$LINENO: checking for $ac_word" >&5
34618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34619 if test "${ac_cv_prog_SETFILE+set}" = set; then
34620 echo $ECHO_N "(cached) $ECHO_C" >&6
34622 if test -n "$SETFILE"; then
34623 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
34625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34626 for as_dir
in $PATH
34629 test -z "$as_dir" && as_dir
=.
34630 for ac_exec_ext
in '' $ac_executable_extensions; do
34631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34632 ac_cv_prog_SETFILE
="SetFile"
34633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34639 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
34642 SETFILE
=$ac_cv_prog_SETFILE
34643 if test -n "$SETFILE"; then
34644 echo "$as_me:$LINENO: result: $SETFILE" >&5
34645 echo "${ECHO_T}$SETFILE" >&6
34647 echo "$as_me:$LINENO: result: no" >&5
34648 echo "${ECHO_T}no" >&6
34663 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34664 if test "${enable_precomp_headers+set}" = set; then
34665 enableval
="$enable_precomp_headers"
34666 bk_use_pch
="$enableval"
34671 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34672 if test "x$GCC" = "xyes"; then
34673 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34674 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34675 cat >conftest.
$ac_ext <<_ACEOF
34676 #line $LINENO "configure"
34679 cat confdefs.h
>>conftest.
$ac_ext
34680 cat >>conftest.
$ac_ext <<_ACEOF
34681 /* end confdefs.h. */
34687 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
34688 #error "no pch support"
34691 #error "no pch support"
34693 #if (__GNUC__ == 3) && \
34694 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
34695 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
34696 #error "no pch support"
34703 rm -f conftest.
$ac_objext
34704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34705 (eval $ac_compile) 2>&5
34707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708 (exit $ac_status); } &&
34709 { ac_try
='test -s conftest.$ac_objext'
34710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34711 (eval $ac_try) 2>&5
34713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34714 (exit $ac_status); }; }; then
34716 echo "$as_me:$LINENO: result: yes" >&5
34717 echo "${ECHO_T}yes" >&6
34718 CPPFLAGS
="-fpch-deps $CPPFLAGS"
34722 echo "$as_me: failed program was:" >&5
34723 sed 's/^/| /' conftest.
$ac_ext >&5
34726 echo "$as_me:$LINENO: result: no" >&5
34727 echo "${ECHO_T}no" >&6
34730 rm -f conftest.
$ac_objext conftest.
$ac_ext
34731 if test $GCC_PCH = 1 ; then
34732 cat <<EOF >bk-make-pch
34735 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34736 # script. It is used to generated precompiled headers.
34738 # Permission is given to use this file in any way.
34747 while test \${#} -gt 0; do
34750 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34751 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34752 headerfile="\${incdir}/\${header}"
34756 compiler="\${compiler} \${1}"
34760 if test "x\${headerfile}" = "x" ; then
34761 echo "error: can't find header \${header} in include paths" >2
34763 if test -f \${outfile} ; then
34766 mkdir -p \`dirname \${outfile}\`
34768 depsfile=".deps/\`basename \${outfile}\`.d"
34770 # can do this because gcc is >= 3.4:
34771 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
34775 chmod +x bk
-make-pch
34784 COND_BUILD_DEBUG
="#"
34785 if test "x$BUILD" = "xdebug" ; then
34786 COND_BUILD_DEBUG
=""
34789 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
34790 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
34791 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
34794 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
34795 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
34796 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
34799 COND_BUILD_RELEASE
="#"
34800 if test "x$BUILD" = "xrelease" ; then
34801 COND_BUILD_RELEASE
=""
34804 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
34805 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
34806 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
34809 COND_DEBUG_FLAG_1
="#"
34810 if test "x$DEBUG_FLAG" = "x1" ; then
34811 COND_DEBUG_FLAG_1
=""
34814 COND_DEBUG_INFO_0
="#"
34815 if test "x$DEBUG_INFO" = "x0" ; then
34816 COND_DEBUG_INFO_0
=""
34819 COND_DEBUG_INFO_1
="#"
34820 if test "x$DEBUG_INFO" = "x1" ; then
34821 COND_DEBUG_INFO_1
=""
34824 COND_DEPS_TRACKING_0
="#"
34825 if test "x$DEPS_TRACKING" = "x0" ; then
34826 COND_DEPS_TRACKING_0
=""
34829 COND_DEPS_TRACKING_1
="#"
34830 if test "x$DEPS_TRACKING" = "x1" ; then
34831 COND_DEPS_TRACKING_1
=""
34835 if test "x$GCC_PCH" = "x1" ; then
34839 COND_MONOLITHIC_0
="#"
34840 if test "x$MONOLITHIC" = "x0" ; then
34841 COND_MONOLITHIC_0
=""
34844 COND_MONOLITHIC_0_SHARED_0
="#"
34845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34846 COND_MONOLITHIC_0_SHARED_0
=""
34849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
34850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
34854 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
34855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34856 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
34859 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
34860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34861 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
34864 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
34865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
34866 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
34869 COND_MONOLITHIC_0_SHARED_1
="#"
34870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34871 COND_MONOLITHIC_0_SHARED_1
=""
34874 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
34875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34876 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
34879 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
34880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34881 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
34884 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
34885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34886 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
34889 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
34890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
34891 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
34894 COND_MONOLITHIC_1
="#"
34895 if test "x$MONOLITHIC" = "x1" ; then
34896 COND_MONOLITHIC_1
=""
34899 COND_MONOLITHIC_1_SHARED_0
="#"
34900 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34901 COND_MONOLITHIC_1_SHARED_0
=""
34904 COND_MONOLITHIC_1_SHARED_1
="#"
34905 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34906 COND_MONOLITHIC_1_SHARED_1
=""
34909 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
34910 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34911 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
34914 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
34915 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34916 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
34919 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
34920 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34921 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
34924 COND_PLATFORM_MACOSX_1
="#"
34925 if test "x$PLATFORM_MACOSX" = "x1" ; then
34926 COND_PLATFORM_MACOSX_1
=""
34929 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
34930 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34931 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
34934 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
34935 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34936 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
34939 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
34940 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34941 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
34944 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
34945 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34946 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
34949 COND_PLATFORM_MAC_1
="#"
34950 if test "x$PLATFORM_MAC" = "x1" ; then
34951 COND_PLATFORM_MAC_1
=""
34954 COND_PLATFORM_UNIX_0
="#"
34955 if test "x$PLATFORM_UNIX" = "x0" ; then
34956 COND_PLATFORM_UNIX_0
=""
34959 COND_PLATFORM_UNIX_1
="#"
34960 if test "x$PLATFORM_UNIX" = "x1" ; then
34961 COND_PLATFORM_UNIX_1
=""
34964 COND_PLATFORM_WIN32_0
="#"
34965 if test "x$PLATFORM_WIN32" = "x0" ; then
34966 COND_PLATFORM_WIN32_0
=""
34969 COND_PLATFORM_WIN32_1
="#"
34970 if test "x$PLATFORM_WIN32" = "x1" ; then
34971 COND_PLATFORM_WIN32_1
=""
34975 if test "x$SHARED" = "x0" ; then
34979 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
34980 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34981 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
34984 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
34985 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34986 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
34989 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
34990 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34991 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
34994 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
34995 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34996 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
34999 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
35000 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35001 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
35004 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
35005 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35006 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
35009 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
35010 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35011 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
35014 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
35015 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35016 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
35020 if test "x$SHARED" = "x1" ; then
35024 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
35025 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35026 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
35029 COND_TOOLKIT_COCOA
="#"
35030 if test "x$TOOLKIT" = "xCOCOA" ; then
35031 COND_TOOLKIT_COCOA
=""
35034 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
35035 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35036 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
35039 COND_TOOLKIT_GTK
="#"
35040 if test "x$TOOLKIT" = "xGTK" ; then
35041 COND_TOOLKIT_GTK
=""
35044 COND_TOOLKIT_GTK_USE_GUI_1
="#"
35045 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35046 COND_TOOLKIT_GTK_USE_GUI_1
=""
35049 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
35050 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35051 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
35054 COND_TOOLKIT_MAC
="#"
35055 if test "x$TOOLKIT" = "xMAC" ; then
35056 COND_TOOLKIT_MAC
=""
35059 COND_TOOLKIT_MAC_USE_GUI_1
="#"
35060 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35061 COND_TOOLKIT_MAC_USE_GUI_1
=""
35064 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
35065 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35066 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
35069 COND_TOOLKIT_MGL
="#"
35070 if test "x$TOOLKIT" = "xMGL" ; then
35071 COND_TOOLKIT_MGL
=""
35074 COND_TOOLKIT_MGL_USE_GUI_1
="#"
35075 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35076 COND_TOOLKIT_MGL_USE_GUI_1
=""
35079 COND_TOOLKIT_MOTIF
="#"
35080 if test "x$TOOLKIT" = "xMOTIF" ; then
35081 COND_TOOLKIT_MOTIF
=""
35084 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
35085 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35086 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
35089 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
35090 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35091 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
35094 COND_TOOLKIT_MSW
="#"
35095 if test "x$TOOLKIT" = "xMSW" ; then
35096 COND_TOOLKIT_MSW
=""
35099 COND_TOOLKIT_MSW_USE_GUI_1
="#"
35100 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35101 COND_TOOLKIT_MSW_USE_GUI_1
=""
35104 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
35105 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35106 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
35109 COND_TOOLKIT_OS2
="#"
35110 if test "x$TOOLKIT" = "xOS2" ; then
35111 COND_TOOLKIT_OS2
=""
35114 COND_TOOLKIT_OS2_USE_GUI_1
="#"
35115 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" ; then
35116 COND_TOOLKIT_OS2_USE_GUI_1
=""
35119 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
="#"
35120 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35121 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0
=""
35124 COND_TOOLKIT_X11
="#"
35125 if test "x$TOOLKIT" = "xX11" ; then
35126 COND_TOOLKIT_X11
=""
35129 COND_TOOLKIT_X11_USE_GUI_1
="#"
35130 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35131 COND_TOOLKIT_X11_USE_GUI_1
=""
35135 if test "x$UNICODE" = "x1" ; then
35140 if test "x$USE_GUI" = "x0" ; then
35145 if test "x$USE_GUI" = "x1" ; then
35149 COND_USE_GUI_1_WXUNIV_0
="#"
35150 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35151 COND_USE_GUI_1_WXUNIV_0
=""
35154 COND_USE_GUI_1_WXUNIV_1
="#"
35155 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35156 COND_USE_GUI_1_WXUNIV_1
=""
35159 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35160 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35161 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35164 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35165 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35166 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35169 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35170 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35171 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35174 COND_USE_SOSYMLINKS_1
="#"
35175 if test "x$USE_SOSYMLINKS" = "x1" ; then
35176 COND_USE_SOSYMLINKS_1
=""
35179 COND_USE_SOVERLINUX_1
="#"
35180 if test "x$USE_SOVERLINUX" = "x1" ; then
35181 COND_USE_SOVERLINUX_1
=""
35184 COND_USE_SOVERSION_0
="#"
35185 if test "x$USE_SOVERSION" = "x0" ; then
35186 COND_USE_SOVERSION_0
=""
35189 COND_USE_SOVERSOLARIS_1
="#"
35190 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35191 COND_USE_SOVERSOLARIS_1
=""
35195 if test "x$WXUNIV" = "x1" ; then
35199 COND_WXUSE_EXPAT_BUILTIN
="#"
35200 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35201 COND_WXUSE_EXPAT_BUILTIN
=""
35204 COND_WXUSE_LIBJPEG_BUILTIN
="#"
35205 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35206 COND_WXUSE_LIBJPEG_BUILTIN
=""
35209 COND_WXUSE_LIBPNG_BUILTIN
="#"
35210 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35211 COND_WXUSE_LIBPNG_BUILTIN
=""
35214 COND_WXUSE_LIBTIFF_BUILTIN
="#"
35215 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35216 COND_WXUSE_LIBTIFF_BUILTIN
=""
35219 COND_WXUSE_ODBC_BUILTIN
="#"
35220 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35221 COND_WXUSE_ODBC_BUILTIN
=""
35224 COND_WXUSE_REGEX_BUILTIN
="#"
35225 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35226 COND_WXUSE_REGEX_BUILTIN
=""
35229 COND_WXUSE_ZLIB_BUILTIN
="#"
35230 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35231 COND_WXUSE_ZLIB_BUILTIN
=""
35238 if test $GCC_PCH = 1 ; then
35239 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35242 powerpc
-*-darwin* )
35243 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
35248 powerpc
-*-darwin* )
35249 CODE_GEN_FLAGS_CXX
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35254 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35355 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35356 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35357 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
35358 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35359 echo $ECHO_N "(cached) $ECHO_C" >&6
35361 cat >conftest.
make <<\_ACEOF
35363 @
echo 'ac_maketemp="$(MAKE)"'
35365 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35366 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35367 if test -n "$ac_maketemp"; then
35368 eval ac_cv_prog_make_
${ac_make}_set
=yes
35370 eval ac_cv_prog_make_
${ac_make}_set
=no
35372 rm -f conftest.
make
35374 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35375 echo "$as_me:$LINENO: result: yes" >&5
35376 echo "${ECHO_T}yes" >&6
35379 echo "$as_me:$LINENO: result: no" >&5
35380 echo "${ECHO_T}no" >&6
35381 SET_MAKE
="MAKE=${MAKE-make}"
35385 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
35386 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
35389 ac_config_headers
="$ac_config_headers setup.h"
35392 ac_config_files
="$ac_config_files wx-config version-script Makefile"
35395 ac_config_commands
="$ac_config_commands default"
35399 if test "$wxUSE_GUI" = "yes"; then
35400 SUBDIRS
="samples demos utils contrib"
35401 else SUBDIRS
="samples utils"
35404 for subdir
in `echo $SUBDIRS`; do
35405 if test -d ${srcdir}/${subdir} ; then
35406 if test "$wxUSE_GUI" = "yes"; then
35407 if test ${subdir} = "samples"; then
35408 makefiles
="samples/Makefile.in $makefiles"
35409 for sample
in `echo $SAMPLES_SUBDIRS`; do
35410 if test -d $srcdir/samples
/$sample; then
35411 makefiles
="samples/$sample/Makefile.in $makefiles"
35414 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
35416 else if test ${subdir} = "samples"; then
35417 makefiles
="samples/Makefile.in samples/console/Makefile.in"
35418 else makefiles
="utils/HelpGen/Makefile.in \
35419 utils/HelpGen/src/Makefile.in \
35420 utils/makegen/Makefile.in"
35424 for mkin
in $makefiles ; do
35425 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35426 ac_config_files
="$ac_config_files $mk"
35433 cat >confcache
<<\_ACEOF
35434 # This file is a shell script that caches the results of configure
35435 # tests run on this system so they can be shared between configure
35436 # scripts and configure runs, see configure's option --config-cache.
35437 # It is not useful on other systems. If it contains results you don't
35438 # want to keep, you may remove or edit it.
35440 # config.status only pays attention to the cache file if you give it
35441 # the --recheck option to rerun configure.
35443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35445 # following values.
35449 # The following way of writing the cache mishandles newlines in values,
35450 # but we know of no workaround that is simple, portable, and efficient.
35451 # So, don't put newlines in cache variables' values.
35452 # Ultrix sh set writes to stderr and can't be redirected directly,
35453 # and sets the high bit in the cache file unless we assign to the vars.
35456 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35458 # `set' does not quote correctly, so add quotes (double-quote
35459 # substitution turns \\\\ into \\, and sed turns \\ into \).
35462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35465 # `set' quotes correctly as required by POSIX, so do not add quotes.
35467 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35474 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35476 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35478 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35479 if test -w $cache_file; then
35480 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35481 cat confcache
>$cache_file
35483 echo "not updating unwritable cache $cache_file"
35488 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
35489 # Let make expand exec_prefix.
35490 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
35492 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35493 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35494 # trailing colons and then remove the whole line if VPATH becomes empty
35495 # (actually we leave an empty line to preserve line numbers).
35496 if test "x$srcdir" = x.
; then
35497 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
35498 s/:*\$(srcdir):*/:/;
35499 s/:*\${srcdir}:*/:/;
35501 s/^\([^=]*=[ ]*\):*/\1/;
35507 DEFS
=-DHAVE_CONFIG_H
35511 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
35512 # 1. Remove the extension, and $U if already installed.
35513 ac_i
=`echo "$ac_i" |
35514 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35516 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
35517 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
35519 LIBOBJS
=$ac_libobjs
35521 LTLIBOBJS
=$ac_ltlibobjs
35525 : ${CONFIG_STATUS=./config.status}
35526 ac_clean_files_save
=$ac_clean_files
35527 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
35528 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35529 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35530 cat >$CONFIG_STATUS <<_ACEOF
35532 # Generated by $as_me.
35533 # Run this file to recreate the current configuration.
35534 # Compiler output produced by configure, useful for debugging
35535 # configure, is in config.log if it exists.
35538 ac_cs_recheck=false
35540 SHELL=\${CONFIG_SHELL-$SHELL}
35543 cat >>$CONFIG_STATUS <<\_ACEOF
35544 ## --------------------- ##
35545 ## M4sh Initialization. ##
35546 ## --------------------- ##
35548 # Be Bourne compatible
35549 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
35552 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35553 # is contrary to our usage. Disable this feature.
35554 alias -g '${1+"$@"}'='"$@"'
35555 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
35559 # Support unset when possible.
35560 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35567 # Work around bugs in pre-3.0 UWIN ksh.
35568 $as_unset ENV MAIL MAILPATH
35575 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35576 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35577 LC_TELEPHONE LC_TIME
35579 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35580 eval $as_var=C
; export $as_var
35586 # Required to use basename.
35587 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35593 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
35594 as_basename
=basename
35600 # Name of the executable.
35601 as_me
=`$as_basename "$0" ||
35602 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35603 X"$0" : 'X\(//\)$' \| \
35604 X"$0" : 'X\(/\)$' \| \
35605 . : '\(.\)' 2>/dev/null ||
35607 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35608 /^X\/\(\/\/\)$/{ s//\1/; q; }
35609 /^X\/\(\/\).*/{ s//\1/; q; }
35613 # PATH needs CR, and LINENO needs CR and PATH.
35614 # Avoid depending upon Character Ranges.
35615 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35616 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35617 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35618 as_cr_digits
='0123456789'
35619 as_cr_alnum
=$as_cr_Letters$as_cr_digits
35621 # The user is always right.
35622 if test "${PATH_SEPARATOR+set}" != set; then
35623 echo "#! /bin/sh" >conf$$.sh
35624 echo "exit 0" >>conf$$.sh
35626 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35635 as_lineno_1
=$LINENO
35636 as_lineno_2
=$LINENO
35637 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
35638 test "x$as_lineno_1" != "x$as_lineno_2" &&
35639 test "x$as_lineno_3" = "x$as_lineno_2" || {
35640 # Find who we are. Look in the path if we contain no path at all
35643 *[\\/]* ) as_myself
=$0 ;;
35644 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35645 for as_dir
in $PATH
35648 test -z "$as_dir" && as_dir
=.
35649 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
35654 # We did not find ourselves, most probably we were run as `sh COMMAND'
35655 # in which case we are not to be found in the path.
35656 if test "x$as_myself" = x
; then
35659 if test ! -f "$as_myself"; then
35660 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35661 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35662 { (exit 1); exit 1; }; }
35664 case $CONFIG_SHELL in
35666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35667 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
35670 test -z "$as_dir" && as_dir
=.
35671 for as_base
in sh bash ksh sh5
; do
35674 if ("$as_dir/$as_base" -c '
35675 as_lineno_1=$LINENO
35676 as_lineno_2=$LINENO
35677 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35678 test "x$as_lineno_1" != "x$as_lineno_2" &&
35679 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
35680 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
35681 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
35682 CONFIG_SHELL
=$as_dir/$as_base
35683 export CONFIG_SHELL
35684 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35692 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35693 # uniformly replaced by the line number. The first 'sed' inserts a
35694 # line-number line before each line; the second 'sed' does the real
35695 # work. The second script uses 'N' to pair each line-number line
35696 # with the numbered line, and appends trailing '-' during
35697 # substitution so that $LINENO is not a special case at line end.
35698 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35699 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35700 sed '=' <$as_myself |
35705 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35708 s,^['$as_cr_digits']*\n,,
35709 ' >$as_me.lineno
&&
35710 chmod +x
$as_me.lineno
||
35711 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35712 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35713 { (exit 1); exit 1; }; }
35715 # Don't try to exec as it changes $[0], causing all sort of problems
35716 # (the dirname of $[0] is not the place where we might find the
35717 # original and so on. Autoconf is especially sensible to this).
35719 # Exit status is that of the last command.
35724 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35725 *c
*,-n*) ECHO_N
= ECHO_C
='
35727 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
35728 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
35731 if expr a
: '\(a\)' >/dev
/null
2>&1; then
35737 rm -f conf$$ conf$$.exe conf$$.
file
35739 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
35740 # We could just check for DJGPP; but this test a) works b) is more generic
35741 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35742 if test -f conf$$.exe
; then
35743 # Don't use ln at all; we don't have any links
35748 elif ln conf$$.
file conf$$
2>/dev
/null
; then
35753 rm -f conf$$ conf$$.exe conf$$.
file
35755 if mkdir -p .
2>/dev
/null
; then
35761 as_executable_p
="test -f"
35763 # Sed expression to map a string onto a valid CPP name.
35764 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35766 # Sed expression to map a string onto a valid variable name.
35767 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35771 # We need space, tab and new line, in precisely that order.
35781 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35782 # report actual input values of CONFIG_FILES etc. instead of their
35783 # values after options handling. Logging --version etc. is OK.
35787 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35788 ## Running $as_me. ##
35793 This file was extended by wxWindows $as_me 2.5.0, which was
35794 generated by GNU Autoconf 2.57. Invocation command line was
35796 CONFIG_FILES = $CONFIG_FILES
35797 CONFIG_HEADERS = $CONFIG_HEADERS
35798 CONFIG_LINKS = $CONFIG_LINKS
35799 CONFIG_COMMANDS = $CONFIG_COMMANDS
35803 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35807 # Files that config.status was made for.
35808 if test -n "$ac_config_files"; then
35809 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35812 if test -n "$ac_config_headers"; then
35813 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35816 if test -n "$ac_config_links"; then
35817 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35820 if test -n "$ac_config_commands"; then
35821 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35824 cat >>$CONFIG_STATUS <<\_ACEOF
35827 \`$as_me' instantiates files from templates according to the
35828 current configuration.
35830 Usage: $0 [OPTIONS] [FILE]...
35832 -h, --help print this help, then exit
35833 -V, --version print version number, then exit
35834 -q, --quiet do not print progress messages
35835 -d, --debug don't remove temporary files
35836 --recheck update $as_me by reconfiguring in the same conditions
35837 --file=FILE[:TEMPLATE]
35838 instantiate the configuration file FILE
35839 --header=FILE[:TEMPLATE]
35840 instantiate the configuration header FILE
35842 Configuration files:
35845 Configuration headers:
35848 Configuration commands:
35851 Report bugs to <bug-autoconf@gnu.org>."
35854 cat >>$CONFIG_STATUS <<_ACEOF
35856 wxWindows config.status 2.5.0
35857 configured by $0, generated by GNU Autoconf 2.57,
35858 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35860 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35861 Free Software Foundation, Inc.
35862 This config.status script is free software; the Free Software Foundation
35863 gives unlimited permission to copy, distribute and modify it."
35868 cat >>$CONFIG_STATUS <<\_ACEOF
35869 # If no file are specified by the user, then we need to provide default
35870 # value. By we need to know if files were specified by the user.
35876 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
35877 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
35885 *) # This is not an option, so the user has probably given explicit
35888 ac_need_defaults
=false
;;
35892 # Handling of the options.
35894 cat >>$CONFIG_STATUS <<\_ACEOF
35895 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35897 --version | --vers* | -V )
35898 echo "$ac_cs_version"; exit 0 ;;
35900 # Conflict between --help and --header
35901 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35902 Try \`$0 --help' for more information." >&5
35903 echo "$as_me: error: ambiguous option: $1
35904 Try \`$0 --help' for more information." >&2;}
35905 { (exit 1); exit 1; }; };;
35906 --help | --hel | -h )
35907 echo "$ac_cs_usage"; exit 0 ;;
35908 --debug | --d* | -d )
35910 --file | --fil | --fi | --f )
35912 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
35913 ac_need_defaults
=false
;;
35914 --header | --heade | --head | --hea )
35916 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
35917 ac_need_defaults
=false
;;
35918 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35919 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35922 # This is an error.
35923 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35924 Try \`$0 --help' for more information." >&5
35925 echo "$as_me: error: unrecognized option: $1
35926 Try \`$0 --help' for more information." >&2;}
35927 { (exit 1); exit 1; }; } ;;
35929 *) ac_config_targets
="$ac_config_targets $1" ;;
35935 ac_configure_extra_args
=
35937 if $ac_cs_silent; then
35939 ac_configure_extra_args
="$ac_configure_extra_args --silent"
35943 cat >>$CONFIG_STATUS <<_ACEOF
35944 if \$ac_cs_recheck; then
35945 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35946 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35951 cat >>$CONFIG_STATUS <<_ACEOF
35953 # INIT-COMMANDS section.
35957 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35966 cat >>$CONFIG_STATUS <<\_ACEOF
35967 for ac_config_target
in $ac_config_targets
35969 case "$ac_config_target" in
35970 # Handling of arguments.
35971 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
35972 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
35973 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
35974 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
35975 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
35976 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
35977 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35978 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35979 { (exit 1); exit 1; }; };;
35983 # If the user did not use the arguments to specify the items to instantiate,
35984 # then the envvar interface is used. Set only those that are not.
35985 # We use the long form for the default assignment because of an extremely
35986 # bizarre bug on SunOS 4.1.3.
35987 if $ac_need_defaults; then
35988 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
35989 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
35990 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
35993 # Have a temporary directory for convenience. Make it in the build tree
35994 # simply because there is no reason to put it here, and in addition,
35995 # creating and moving files from /tmp can sometimes cause problems.
35996 # Create a temporary directory, and hook for its removal unless debugging.
35999 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36000 trap '{ (exit 1); exit 1; }' 1 2 13 15
36003 # Create a (secure) tmp directory for tmp files.
36006 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36007 test -n "$tmp" && test -d "$tmp"
36010 tmp
=.
/confstat$$
-$RANDOM
36011 (umask 077 && mkdir $tmp)
36014 echo "$me: cannot create a temporary directory in ." >&2
36015 { (exit 1); exit 1; }
36020 cat >>$CONFIG_STATUS <<_ACEOF
36023 # CONFIG_FILES section.
36026 # No need to generate the scripts if there are no CONFIG_FILES.
36027 # This happens for instance when ./config.status config.h
36028 if test -n "\$CONFIG_FILES"; then
36029 # Protect against being on the right side of a sed subst in config.status.
36030 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36031 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36032 s,@SHELL@,$SHELL,;t t
36033 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36034 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36035 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36036 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36037 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36038 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36039 s,@exec_prefix@,$exec_prefix,;t t
36040 s,@prefix@,$prefix,;t t
36041 s,@program_transform_name@,$program_transform_name,;t t
36042 s,@bindir@,$bindir,;t t
36043 s,@sbindir@,$sbindir,;t t
36044 s,@libexecdir@,$libexecdir,;t t
36045 s,@datadir@,$datadir,;t t
36046 s,@sysconfdir@,$sysconfdir,;t t
36047 s,@sharedstatedir@,$sharedstatedir,;t t
36048 s,@localstatedir@,$localstatedir,;t t
36049 s,@libdir@,$libdir,;t t
36050 s,@includedir@,$includedir,;t t
36051 s,@oldincludedir@,$oldincludedir,;t t
36052 s,@infodir@,$infodir,;t t
36053 s,@mandir@,$mandir,;t t
36054 s,@build_alias@,$build_alias,;t t
36055 s,@host_alias@,$host_alias,;t t
36056 s,@target_alias@,$target_alias,;t t
36057 s,@DEFS@,$DEFS,;t t
36058 s,@ECHO_C@,$ECHO_C,;t t
36059 s,@ECHO_N@,$ECHO_N,;t t
36060 s,@ECHO_T@,$ECHO_T,;t t
36061 s,@LIBS@,$LIBS,;t t
36062 s,@build@,$build,;t t
36063 s,@build_cpu@,$build_cpu,;t t
36064 s,@build_vendor@,$build_vendor,;t t
36065 s,@build_os@,$build_os,;t t
36066 s,@host@,$host,;t t
36067 s,@host_cpu@,$host_cpu,;t t
36068 s,@host_vendor@,$host_vendor,;t t
36069 s,@host_os@,$host_os,;t t
36070 s,@target@,$target,;t t
36071 s,@target_cpu@,$target_cpu,;t t
36072 s,@target_vendor@,$target_vendor,;t t
36073 s,@target_os@,$target_os,;t t
36075 s,@CFLAGS@,$CFLAGS,;t t
36076 s,@LDFLAGS@,$LDFLAGS,;t t
36077 s,@CPPFLAGS@,$CPPFLAGS,;t t
36078 s,@ac_ct_CC@,$ac_ct_CC,;t t
36079 s,@EXEEXT@,$EXEEXT,;t t
36080 s,@OBJEXT@,$OBJEXT,;t t
36082 s,@EGREP@,$EGREP,;t t
36084 s,@CXXFLAGS@,$CXXFLAGS,;t t
36085 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36086 s,@RANLIB@,$RANLIB,;t t
36087 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36089 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36090 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36091 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36092 s,@STRIP@,$STRIP,;t t
36093 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36094 s,@LN_S@,$LN_S,;t t
36095 s,@CXXCPP@,$CXXCPP,;t t
36096 s,@subdirs@,$subdirs,;t t
36097 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36098 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36099 s,@GTK_LIBS@,$GTK_LIBS,;t t
36100 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36101 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36102 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36103 s,@X_CFLAGS@,$X_CFLAGS,;t t
36104 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36105 s,@X_LIBS@,$X_LIBS,;t t
36106 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36107 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36108 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36109 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36110 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36111 s,@RESCOMP@,$RESCOMP,;t t
36112 s,@DEREZ@,$DEREZ,;t t
36113 s,@SETFILE@,$SETFILE,;t t
36114 s,@LIBICONV@,$LIBICONV,;t t
36115 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36116 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36117 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36118 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36119 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36120 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36121 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36122 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36123 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36124 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36125 s,@VENDOR@,$VENDOR,;t t
36126 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36127 s,@WXUNIV@,$WXUNIV,;t t
36128 s,@MONOLITHIC@,$MONOLITHIC,;t t
36129 s,@EXTRALIBS@,$EXTRALIBS,;t t
36130 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36131 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36132 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36133 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36134 s,@UNICODE@,$UNICODE,;t t
36135 s,@BUILD@,$BUILD,;t t
36136 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36137 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36138 s,@SHARED@,$SHARED,;t t
36139 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36140 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36141 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36142 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36143 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36144 s,@SET_MAKE@,$SET_MAKE,;t t
36145 s,@MAKE_SET@,$MAKE_SET,;t t
36146 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36147 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36148 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36149 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36150 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36151 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36152 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36153 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36154 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36155 s,@DLLPREFIX@,$DLLPREFIX,;t t
36156 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36157 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36158 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36159 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36160 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36161 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36162 s,@PIC_FLAG@,$PIC_FLAG,;t t
36163 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36164 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36165 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36166 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36167 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36168 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36169 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36170 s,@GCC_PCH@,$GCC_PCH,;t t
36171 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36172 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36173 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36174 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36175 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36176 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36177 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36178 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36179 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36180 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36181 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36182 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36183 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36184 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36185 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
36186 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36187 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36188 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36189 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36190 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
36191 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36192 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36193 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36194 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36195 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36196 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36197 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36198 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36199 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36200 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36201 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36202 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36203 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36204 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36205 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36206 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36207 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36208 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36209 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36210 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36211 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36212 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36213 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36214 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36215 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36216 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36217 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36218 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36219 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36220 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36221 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36222 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36223 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36224 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36225 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36226 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36227 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36228 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36229 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36230 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36231 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36232 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36233 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36234 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36235 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36236 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36237 s,@COND_TOOLKIT_OS2_USE_GUI_1@,$COND_TOOLKIT_OS2_USE_GUI_1,;t t
36238 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36239 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36240 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36241 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36242 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36243 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36244 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36245 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36246 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36247 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36248 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36249 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36250 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36251 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36252 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36253 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36254 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36255 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36256 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36257 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36258 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36259 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36260 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36261 s,@PATH_IFS@,$PATH_IFS,;t t
36262 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36263 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36264 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36265 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36266 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36267 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36268 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36269 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36270 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36271 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36272 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36273 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36274 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36275 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36276 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36277 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36278 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36279 s,@WX_ALL@,$WX_ALL,;t t
36280 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36281 s,@SHARED_LD@,$SHARED_LD,;t t
36282 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36283 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36284 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36285 s,@USE_GUI@,$USE_GUI,;t t
36286 s,@AFMINSTALL@,$AFMINSTALL,;t t
36287 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36288 s,@TOOLKIT@,$TOOLKIT,;t t
36289 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36290 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36291 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36292 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36293 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36294 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36295 s,@cross_compiling@,$cross_compiling,;t t
36296 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36297 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36298 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36299 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36300 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36301 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36302 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36303 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36304 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36305 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36306 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36307 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36308 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36309 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36310 s,@GUIDIST@,$GUIDIST,;t t
36311 s,@PORT_FILES@,$PORT_FILES,;t t
36312 s,@DISTDIR@,$DISTDIR,;t t
36313 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36314 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36315 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36316 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36317 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36318 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36319 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36320 s,@RESFLAGS@,$RESFLAGS,;t t
36321 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36322 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36323 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36324 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36325 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36326 s,@MACRESCOMP@,$MACRESCOMP,;t t
36327 s,@MACSETFILE@,$MACSETFILE,;t t
36328 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36330 s,@DLLTOOL@,$DLLTOOL,;t t
36334 s,@MAKEINFO@,$MAKEINFO,;t t
36335 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36336 s,@LIBOBJS@,$LIBOBJS,;t t
36337 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36342 cat >>$CONFIG_STATUS <<\_ACEOF
36343 # Split the substitutions into bite-sized pieces for seds with
36344 # small command number limits, like on Digital OSF/1 and HP-UX.
36345 ac_max_sed_lines
=48
36346 ac_sed_frag
=1 # Number of current file.
36347 ac_beg
=1 # First line for current file.
36348 ac_end
=$ac_max_sed_lines # Line after last line for current file.
36351 while $ac_more_lines; do
36352 if test $ac_beg -gt 1; then
36353 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36355 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36357 if test ! -s $tmp/subs.frag
; then
36358 ac_more_lines
=false
36360 # The purpose of the label and of the branching condition is to
36361 # speed up the sed processing (if there are no `@' at all, there
36362 # is no need to browse any of the substitutions).
36363 # These are the two extra sed commands mentioned above.
36365 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
36366 if test -z "$ac_sed_cmds"; then
36367 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
36369 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36371 ac_sed_frag
=`expr $ac_sed_frag + 1`
36373 ac_end
=`expr $ac_end + $ac_max_sed_lines`
36376 if test -z "$ac_sed_cmds"; then
36379 fi # test -n "$CONFIG_FILES"
36382 cat >>$CONFIG_STATUS <<\_ACEOF
36383 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
36384 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36386 - | *:- | *:-:* ) # input from stdin
36388 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36389 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36390 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36391 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36392 * ) ac_file_in
=$ac_file.
in ;;
36395 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36396 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36397 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36398 X"$ac_file" : 'X\(//\)[^/]' \| \
36399 X"$ac_file" : 'X\(//\)$' \| \
36400 X"$ac_file" : 'X\(/\)' \| \
36401 . : '\(.\)' 2>/dev/null ||
36403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36404 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36405 /^X\(\/\/\)$/{ s//\1/; q; }
36406 /^X\(\/\).*/{ s//\1/; q; }
36408 { if $as_mkdir_p; then
36413 while test ! -d "$as_dir"; do
36414 as_dirs
="$as_dir $as_dirs"
36415 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36416 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36417 X"$as_dir" : 'X\(//\)[^/]' \| \
36418 X"$as_dir" : 'X\(//\)$' \| \
36419 X"$as_dir" : 'X\(/\)' \| \
36420 . : '\(.\)' 2>/dev/null ||
36422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36423 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36424 /^X\(\/\/\)$/{ s//\1/; q; }
36425 /^X\(\/\).*/{ s//\1/; q; }
36428 test ! -n "$as_dirs" || mkdir $as_dirs
36429 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36430 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36431 { (exit 1); exit 1; }; }; }
36435 if test "$ac_dir" != .
; then
36436 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36437 # A "../" for each directory in $ac_dir_suffix.
36438 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36440 ac_dir_suffix
= ac_top_builddir
=
36444 .
) # No --srcdir option. We are building in place.
36446 if test -z "$ac_top_builddir"; then
36449 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36451 [\\/]* | ?
:[\\/]* ) # Absolute path.
36452 ac_srcdir
=$srcdir$ac_dir_suffix;
36453 ac_top_srcdir
=$srcdir ;;
36454 *) # Relative path.
36455 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36456 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36458 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36460 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36461 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36462 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36463 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36467 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
36468 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
36471 if test x
"$ac_file" != x
-; then
36472 { echo "$as_me:$LINENO: creating $ac_file" >&5
36473 echo "$as_me: creating $ac_file" >&6;}
36476 # Let's still pretend it is `configure' which instantiates (i.e., don't
36477 # use $as_me), people would be surprised to read:
36478 # /* config.h. Generated by config.status. */
36479 if test x
"$ac_file" = x
-; then
36482 configure_input
="$ac_file. "
36484 configure_input
=$configure_input"Generated from `echo $ac_file_in |
36485 sed 's,.*/,,'` by configure."
36487 # First look for the input files in the build tree, otherwise in the
36489 ac_file_inputs
=`IFS=:
36490 for f in $ac_file_in; do
36492 -) echo $tmp/stdin ;;
36494 # Absolute (can't be DOS-style, as IFS=:)
36495 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36496 echo "$as_me: error: cannot find input file: $f" >&2;}
36497 { (exit 1); exit 1; }; }
36500 if test -f "$f"; then
36503 elif test -f "$srcdir/$f"; then
36508 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36509 echo "$as_me: error: cannot find input file: $f" >&2;}
36510 { (exit 1); exit 1; }; }
36513 done` || { (exit 1); exit 1; }
36515 cat >>$CONFIG_STATUS <<_ACEOF
36519 cat >>$CONFIG_STATUS <<\_ACEOF
36521 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
36522 s
,@configure_input@
,$configure_input,;t t
36523 s
,@srcdir@
,$ac_srcdir,;t t
36524 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
36525 s
,@top_srcdir@
,$ac_top_srcdir,;t t
36526 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
36527 s
,@builddir@
,$ac_builddir,;t t
36528 s
,@abs_builddir@
,$ac_abs_builddir,;t t
36529 s
,@top_builddir@
,$ac_top_builddir,;t t
36530 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
36531 s
,@INSTALL@
,$ac_INSTALL,;t t
36532 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36534 if test x"$ac_file" != x-; then
36535 mv $tmp/out $ac_file
36543 cat >>$CONFIG_STATUS <<\_ACEOF
36546 # CONFIG_HEADER section.
36549 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
36550 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36552 # ac_d sets the value in "#define NAME VALUE" lines.
36553 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36554 ac_dB
='[ ].*$,\1#\2'
36557 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36558 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36559 ac_uB
='$,\1#\2define\3'
36563 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
36564 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36566 - | *:- | *:-:* ) # input from stdin
36568 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36569 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36570 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36571 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36572 * ) ac_file_in
=$ac_file.
in ;;
36575 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36576 echo "$as_me: creating $ac_file" >&6;}
36578 # First look for the input files in the build tree, otherwise in the
36580 ac_file_inputs
=`IFS=:
36581 for f in $ac_file_in; do
36583 -) echo $tmp/stdin ;;
36585 # Absolute (can't be DOS-style, as IFS=:)
36586 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36587 echo "$as_me: error: cannot find input file: $f" >&2;}
36588 { (exit 1); exit 1; }; }
36591 if test -f "$f"; then
36594 elif test -f "$srcdir/$f"; then
36599 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36600 echo "$as_me: error: cannot find input file: $f" >&2;}
36601 { (exit 1); exit 1; }; }
36604 done` || { (exit 1); exit 1; }
36605 # Remove the trailing spaces.
36606 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36610 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36611 # `conftest.undefs', that substitutes the proper values into
36612 # config.h.in to produce config.h. The first handles `#define'
36613 # templates, and the second `#undef' templates.
36614 # And first: Protect against being on the right side of a sed subst in
36615 # config.status. Protect against being in an unquoted here document
36616 # in config.status.
36617 rm -f conftest.defines conftest.undefs
36618 # Using a here document instead of a string reduces the quoting nightmare.
36619 # Putting comments in sed scripts is not portable.
36621 # `end' is used to avoid that the second main sed command (meant for
36622 # 0-ary CPP macros) applies to n-ary macro definitions.
36623 # See the Autoconf documentation for `clear'.
36624 cat >confdef2sed.
sed <<\_ACEOF
36629 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36631 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36634 # If some macros were called several times there might be several times
36635 # the same #defines, which is useless. Nevertheless, we may not want to
36636 # sort them, since we want the *last* AC-DEFINE to be honored.
36637 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36638 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36639 rm -f confdef2sed.sed
36641 # This sed command replaces #undef with comments. This is necessary, for
36642 # example, in the case of _POSIX_SOURCE, which is predefined and required
36643 # on some systems where configure will not decide to define it.
36644 cat >>conftest.undefs <<\_ACEOF
36645 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36648 # Break up conftest.defines because some shells have a limit on the size
36649 # of here documents, and old seds have small limits too (100 cmds).
36650 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36651 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36652 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36653 echo ' :' >>$CONFIG_STATUS
36654 rm -f conftest.tail
36655 while grep . conftest.defines >/dev/null
36657 # Write a limited-size here document to $tmp/defines.sed.
36658 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36659 # Speed up: don't consider the non `#define' lines.
36660 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36661 # Work around the forget-to-reset-the-flag bug.
36662 echo 't clr' >>$CONFIG_STATUS
36663 echo ': clr' >>$CONFIG_STATUS
36664 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
36666 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36668 mv $tmp/out $tmp/in
36670 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
36671 rm -f conftest.defines
36672 mv conftest.
tail conftest.defines
36674 rm -f conftest.defines
36675 echo ' fi # grep' >>$CONFIG_STATUS
36676 echo >>$CONFIG_STATUS
36678 # Break up conftest.undefs because some shells have a limit on the size
36679 # of here documents, and old seds have small limits too (100 cmds).
36680 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36681 rm -f conftest.
tail
36682 while grep . conftest.undefs
>/dev
/null
36684 # Write a limited-size here document to $tmp/undefs.sed.
36685 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36686 # Speed up: don't consider the non
`#undef'
36687 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36688 # Work around the forget-to-reset-the-flag bug.
36689 echo 't clr' >>$CONFIG_STATUS
36690 echo ': clr' >>$CONFIG_STATUS
36691 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36693 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36695 mv $tmp/out $tmp/in
36697 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36698 rm -f conftest.undefs
36699 mv conftest.tail conftest.undefs
36701 rm -f conftest.undefs
36703 cat >>$CONFIG_STATUS <<\_ACEOF
36704 # Let's still pretend it is `configure
' which instantiates (i.e., don't
36705 # use $as_me), people would be surprised to read:
36706 # /* config.h. Generated by config.status. */
36707 if test x
"$ac_file" = x
-; then
36708 echo "/* Generated by configure. */" >$tmp/config.h
36710 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36712 cat $tmp/in >>$tmp/config.h
36714 if test x
"$ac_file" != x
-; then
36715 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
36716 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36717 echo "$as_me: $ac_file is unchanged" >&6;}
36719 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36720 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36721 X"$ac_file" : 'X\(//\)[^/]' \| \
36722 X"$ac_file" : 'X\(//\)$' \| \
36723 X"$ac_file" : 'X\(/\)' \| \
36724 . : '\(.\)' 2>/dev/null ||
36726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36727 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36728 /^X\(\/\/\)$/{ s//\1/; q; }
36729 /^X\(\/\).*/{ s//\1/; q; }
36731 { if $as_mkdir_p; then
36736 while test ! -d "$as_dir"; do
36737 as_dirs
="$as_dir $as_dirs"
36738 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36739 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36740 X"$as_dir" : 'X\(//\)[^/]' \| \
36741 X"$as_dir" : 'X\(//\)$' \| \
36742 X"$as_dir" : 'X\(/\)' \| \
36743 . : '\(.\)' 2>/dev/null ||
36745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36746 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36747 /^X\(\/\/\)$/{ s//\1/; q; }
36748 /^X\(\/\).*/{ s//\1/; q; }
36751 test ! -n "$as_dirs" || mkdir $as_dirs
36752 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36753 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36754 { (exit 1); exit 1; }; }; }
36757 mv $tmp/config.h
$ac_file
36761 rm -f $tmp/config.h
36765 cat >>$CONFIG_STATUS <<\_ACEOF
36768 # CONFIG_COMMANDS section.
36770 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
36771 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
36772 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36773 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
36774 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36775 X"$ac_dest" : 'X\(//\)[^/]' \| \
36776 X"$ac_dest" : 'X\(//\)$' \| \
36777 X"$ac_dest" : 'X\(/\)' \| \
36778 . : '\(.\)' 2>/dev/null ||
36780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36781 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36782 /^X\(\/\/\)$/{ s//\1/; q; }
36783 /^X\(\/\).*/{ s//\1/; q; }
36787 if test "$ac_dir" != .
; then
36788 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36789 # A "../" for each directory in $ac_dir_suffix.
36790 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36792 ac_dir_suffix
= ac_top_builddir
=
36796 .
) # No --srcdir option. We are building in place.
36798 if test -z "$ac_top_builddir"; then
36801 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36803 [\\/]* | ?
:[\\/]* ) # Absolute path.
36804 ac_srcdir
=$srcdir$ac_dir_suffix;
36805 ac_top_srcdir
=$srcdir ;;
36806 *) # Relative path.
36807 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36808 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36810 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36812 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36813 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36814 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36815 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36818 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36819 echo "$as_me: executing $ac_dest commands" >&6;}
36822 if test ! -h wx
-config; then
36824 mv wx
-config wx
${TOOLCHAIN_NAME}-config
36825 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
36828 if test ! -d lib
; then
36831 if test ! -d lib
/wx
; then
36834 if test ! -d lib
/wx
/include
; then
36835 mkdir lib
/wx
/include
36837 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
36838 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
36840 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
36841 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
36843 if test -f setup.h
; then
36844 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
36851 cat >>$CONFIG_STATUS <<\_ACEOF
36853 { (exit 0); exit 0; }
36855 chmod +x
$CONFIG_STATUS
36856 ac_clean_files
=$ac_clean_files_save
36859 # configure is writing to config.log, and then calls config.status.
36860 # config.status does its own redirection, appending to config.log.
36861 # Unfortunately, on DOS this fails, as config.log is still kept open
36862 # by configure, so config.status won't be able to write to it; its
36863 # output is simply discarded. So we exec the FD to /dev/null,
36864 # effectively closing config.log, so it can be properly (re)opened and
36865 # appended to by config.status. When coming back to configure, we
36866 # need to make the FD available again.
36867 if test "$no_create" != yes; then
36869 ac_config_status_args
=
36870 test "$silent" = yes &&
36871 ac_config_status_args
="$ac_config_status_args --quiet"
36873 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
36875 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36876 # would make configure fail if this is the last instruction.
36877 $ac_cs_success || { (exit 1); exit 1; }
36881 # CONFIG_SUBDIRS section.
36883 if test "$no_recursion" != yes; then
36885 # Remove --cache-file and --srcdir arguments so they do not pile up.
36886 ac_sub_configure_args
=
36888 for ac_arg
in $ac_configure_args; do
36889 if test -n "$ac_prev"; then
36894 -cache-file | --cache-file | --cache-fil | --cache-fi \
36895 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
36896 ac_prev
=cache_file
;;
36897 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
36898 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
36901 --config-cache | -C)
36903 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36905 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36907 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
36909 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
36911 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
36915 # Always prepend --prefix to ensure using the same prefix
36916 # in subdir configurations.
36917 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
36920 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
36922 # Do not complain, so a configure script can configure whichever
36923 # parts of a large source tree are present.
36924 test -d $srcdir/$ac_dir || continue
36926 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
36927 echo "$as_me: configuring in $ac_dir" >&6;}
36928 { if $as_mkdir_p; then
36933 while test ! -d "$as_dir"; do
36934 as_dirs
="$as_dir $as_dirs"
36935 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36936 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36937 X"$as_dir" : 'X\(//\)[^/]' \| \
36938 X"$as_dir" : 'X\(//\)$' \| \
36939 X"$as_dir" : 'X\(/\)' \| \
36940 . : '\(.\)' 2>/dev/null ||
36942 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36943 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36944 /^X\(\/\/\)$/{ s//\1/; q; }
36945 /^X\(\/\).*/{ s//\1/; q; }
36948 test ! -n "$as_dirs" || mkdir $as_dirs
36949 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36950 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36951 { (exit 1); exit 1; }; }; }
36955 if test "$ac_dir" != .
; then
36956 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36957 # A "../" for each directory in $ac_dir_suffix.
36958 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36960 ac_dir_suffix
= ac_top_builddir
=
36964 .
) # No --srcdir option. We are building in place.
36966 if test -z "$ac_top_builddir"; then
36969 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36971 [\\/]* | ?
:[\\/]* ) # Absolute path.
36972 ac_srcdir
=$srcdir$ac_dir_suffix;
36973 ac_top_srcdir
=$srcdir ;;
36974 *) # Relative path.
36975 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36976 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36978 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36980 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36981 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36982 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36983 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36988 # Check for guested configure; otherwise get Cygnus style configure.
36989 if test -f $ac_srcdir/configure.gnu
; then
36990 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
36991 elif test -f $ac_srcdir/configure
; then
36992 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
36993 elif test -f $ac_srcdir/configure.
in; then
36994 ac_sub_configure
=$ac_configure
36996 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
36997 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37001 # The recursion is here.
37002 if test -n "$ac_sub_configure"; then
37003 # Make the cache file name correct relative to the subdirectory.
37004 case $cache_file in
37005 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
37006 *) # Relative path.
37007 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
37010 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37011 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37012 # The eval makes quoting arguments work.
37013 eval $ac_sub_configure $ac_sub_configure_args \
37014 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37015 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37016 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37017 { (exit 1); exit 1; }; }
37026 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37028 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37029 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37031 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37032 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37033 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37035 echo " What level of wxWindows compatibility should be enabled?"
37036 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
37037 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37038 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37040 echo " Which libraries should wxWindows use?"
37041 echo " jpeg ${wxUSE_LIBJPEG-none}"
37042 echo " png ${wxUSE_LIBPNG-none}"
37043 echo " regex ${wxUSE_REGEX}"
37044 echo " tiff ${wxUSE_LIBTIFF-none}"
37045 echo " zlib ${wxUSE_ZLIB}"
37046 echo " odbc ${wxUSE_ODBC}"
37047 echo " expat ${wxUSE_EXPAT}"