2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for wxWindows 2.5.1.
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
27 # Support unset when possible.
28 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='wxWindows'
271 PACKAGE_TARNAME
='wxwindows'
272 PACKAGE_VERSION
='2.5.1'
273 PACKAGE_STRING
='wxWindows 2.5.1'
274 PACKAGE_BUGREPORT
='wx-dev@lists.wxwindows.org'
276 ac_unique_file
="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subdirs_all
="$ac_subdirs_all src/expat"
315 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_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_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
377 -build | --build | --buil | --bui | --bu)
378 ac_prev
=build_alias
;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev
=cache_file
;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* | --disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* | --enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
433 -help | --help | --hel | --he | -h)
435 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
438 ac_init_help
=short
;;
440 -host | --host | --hos | --ho)
441 ac_prev
=host_alias
;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev
=includedir
;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir | --libdir | --libdi | --libd)
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 # Obsolete; use --without-fp.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site | --site | --sit)
563 -site=* | --site=* | --sit=*)
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev
=target_alias
;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias
=$ac_optarg ;;
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
586 -version | --version | --versio | --versi | --vers | -V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* | --without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
776 ac_env_CXX_set
=${CXX+set}
777 ac_env_CXX_value
=$CXX
778 ac_cv_env_CXX_set
=${CXX+set}
779 ac_cv_env_CXX_value
=$CXX
780 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value
=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
784 ac_env_CXXCPP_set
=${CXXCPP+set}
785 ac_env_CXXCPP_value
=$CXXCPP
786 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value
=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --x-includes=DIR X include files are
in DIR
851 --x-libraries=DIR X library files are
in DIR
854 --build=BUILD configure
for building on BUILD
[guessed
]
855 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
856 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
860 if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short
| recursive
) echo "Configuration of wxWindows 2.5.1:";;
867 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
868 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don
't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes (Win32 only)
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-apple_ieee use the Apple IEEE codec
902 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
903 --enable-cmdline use wxCmdLineParser class
904 --enable-datetime use wxDateTime class
905 --enable-dialupman use dialup network classes
906 --enable-dynlib use wxLibrary class for DLL loading
907 --enable-dynamicloader use (new) wxDynamicLibrary class
908 --enable-exceptions build exception-safe library
909 --enable-ffile use wxFFile class
910 --enable-file use wxFile class
911 --enable-filesystem use virtual file systems classes
912 --enable-fontmap use font encodings conversion classes
913 --enable-fs_inet use virtual HTTP/FTP filesystems
914 --enable-fs_zip use virtual ZIP filesystems
915 --enable-geometry use geometry class
916 --enable-log use logging system
917 --enable-longlong use wxLongLong class
918 --enable-mimetype use wxMimeTypesManager
919 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
920 --enable-snglinst use wxSingleInstanceChecker class
921 --enable-streams use wxStream etc classes
922 --enable-std_iostreams use standard C++ stream classes
923 --enable-stopwatch use wxStopWatch class
924 --enable-sysoptions use wxSystemOptions
925 --enable-textbuf use wxTextBuffer class
926 --enable-textfile use wxTextFile class
927 --enable-timer use wxTimer class
928 --enable-unicode compile wxString with Unicode support
929 --enable-wave use wxWave class
930 --enable-wxprintfv use wxWindows implementation of vprintf()
931 --enable-zipstream use wxZipInputStream
932 --enable-gzstream use wxGzipInputStream
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n
'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbook use wxListbook class
971 --enable-listbox use wxListBox class
972 --enable-listctrl use wxListCtrl class
973 --enable-notebook use wxNotebook class
974 --enable-radiobox use wxRadioBox class
975 --enable-radiobtn use wxRadioButton class
976 --enable-sash use wxSashWindow class
977 --enable-scrollbar use wxScrollBar class and scrollable windows
978 --enable-slider use wxSlider class
979 --enable-spinbtn use wxSpinButton class
980 --enable-spinctrl use wxSpinCtrl class
981 --enable-splitter use wxSplitterWindow class
982 --enable-statbmp use wxStaticBitmap class
983 --enable-statbox use wxStaticBox class
984 --enable-statline use wxStaticLine class
985 --enable-stattext use wxStaticText class
986 --enable-statusbar use wxStatusBar class
987 --enable-tabdialog use wxTabControl class
988 --enable-textctrl use wxTextCtrl class
989 --enable-togglebtn use wxToggleButton class
990 --enable-toolbar use wxToolBar class
991 --enable-tbarnative use native wxToolBar class
992 --enable-tbarsmpl use wxToolBarSimple class
993 --enable-treectrl use wxTreeCtrl class
994 --enable-tipwindow use wxTipWindow class
995 --enable-popupwin use wxPopUpWindow class
996 --enable-commondlg use all common dialogs
997 --enable-choicedlg use wxChoiceDialog
998 --enable-coldlg use wxColourDialog
999 --enable-filedlg use wxFileDialog
1000 --enable-finddlg use wxFindReplaceDialog
1001 --enable-fontdlg use wxFontDialog
1002 --enable-dirdlg use wxDirDialog
1003 --enable-msgdlg use wxMessageDialog
1004 --enable-numberdlg use wxNumberEntryDialog
1005 --enable-splash use wxSplashScreen
1006 --enable-textdlg use wxTextDialog
1007 --enable-tipdlg use startup tips
1008 --enable-progressdlg use wxProgressDialog
1009 --enable-wizarddlg use wxWizard
1010 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1011 --enable-miniframe use wxMiniFrame class
1012 --enable-tooltips use wxToolTip class
1013 --enable-splines use spline drawing code
1014 --enable-validators use wxValidator and derived classes
1015 --enable-busyinfo use wxBusyInfo
1016 --enable-joystick use wxJoystick (Linux only)
1017 --enable-metafiles use wxMetaFile (Windows only)
1018 --enable-dragimage use wxDragImage
1019 --enable-accessibility enable accessibility support
1020 --enable-palette use wxPalette class
1021 --enable-image use wxImage class
1022 --enable-gif use gif images (GIF file format)
1023 --enable-pcx use pcx images (PCX file format)
1024 --enable-iff use iff images (IFF file format)
1025 --enable-pnm use pnm images (PNM file format)
1026 --enable-xpm use xpm images (XPM file format)
1027 --enable-icocur use Windows ICO and CUR formats
1028 --enable-official_build official build of wxWindows (win32 DLL only)
1029 --enable-vendor=VENDOR vendor name (win32 DLL only)
1030 --disable-largefile omit support for large files
1031 --disable-gtktest do not try to compile and run a test GTK+ program
1032 --disable-gtktest Do not try to compile and run a test GTK program
1033 --disable-precomp-headers don't use precompiled headers even
if compiler can
1036 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1037 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1039 --with-motif use Motif
/Lesstif
1040 --with-mac use Mac OS X
1041 --with-cocoa use Cocoa
1042 --with-wine use Wine
1043 --with-msw use MS
-Windows
1044 --with-pm use OS
/2 Presentation Manager
1045 --with-mgl use SciTech MGL
1046 --with-microwin use MicroWindows
1048 --with-libpng use libpng
(PNG image format
)
1049 --with-libjpeg use libjpeg
(JPEG
file format
)
1050 --with-libtiff use libtiff
(TIFF
file format
)
1051 --with-opengl use OpenGL
(or Mesa
)
1052 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1053 --with-regex enable support
for wxRegEx class
1054 --with-zlib use zlib
for LZW compression
1055 --with-odbc use the IODBC and wxODBC classes
1056 --with-expat enable XML support using expat parser
1057 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1058 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1059 --with-x use the X Window System
1060 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1062 Some influential environment variables
:
1063 CC C compiler
command
1064 CFLAGS C compiler flags
1065 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1066 nonstandard directory
<lib dir
>
1067 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1068 headers
in a nonstandard directory
<include dir
>
1070 CXX C
++ compiler
command
1071 CXXFLAGS C
++ compiler flags
1072 CXXCPP C
++ preprocessor
1074 Use these variables to override the choices made by
`configure' or to help
1075 it to find libraries and programs with nonstandard names/locations.
1077 Report bugs to <wx-dev@lists.wxwindows.org>.
1081 if test "$ac_init_help" = "recursive"; then
1082 # If there are subdirs, report their specific --help.
1084 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1085 test -d $ac_dir || continue
1088 if test "$ac_dir" != .; then
1089 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1090 # A "../" for each directory in $ac_dir_suffix.
1091 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1093 ac_dir_suffix= ac_top_builddir=
1097 .) # No --srcdir option. We are building in place.
1099 if test -z "$ac_top_builddir"; then
1102 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1104 [\\/]* | ?:[\\/]* ) # Absolute path.
1105 ac_srcdir=$srcdir$ac_dir_suffix;
1106 ac_top_srcdir=$srcdir ;;
1108 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1109 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1111 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1113 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1114 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
1115 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1116 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1119 # Check for guested configure; otherwise get Cygnus style configure.
1120 if test -f $ac_srcdir/configure.gnu; then
1122 $SHELL $ac_srcdir/configure.gnu --help=recursive
1123 elif test -f $ac_srcdir/configure; then
1125 $SHELL $ac_srcdir/configure --help=recursive
1126 elif test -f $ac_srcdir/configure.ac ||
1127 test -f $ac_srcdir/configure.in; then
1129 $ac_configure --help
1131 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1137 test -n "$ac_init_help" && exit 0
1138 if $ac_init_version; then
1140 wxWindows configure 2.5.1
1141 generated by GNU Autoconf 2.57
1143 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1144 Free Software Foundation, Inc.
1145 This configure script is free software; the Free Software Foundation
1146 gives unlimited permission to copy, distribute and modify it.
1152 This file contains any messages produced by compilers while
1153 running configure, to aid debugging if configure makes a mistake.
1155 It was created by wxWindows $as_me 2.5.1, which was
1156 generated by GNU Autoconf 2.57. Invocation command line was
1167 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1168 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1169 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1170 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1171 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1173 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1174 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1176 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1177 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1178 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1179 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1180 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1181 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1182 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1190 test -z "$as_dir" && as_dir=.
1191 echo "PATH: $as_dir"
1206 # Keep a trace of the command line.
1207 # Strip out --no-create and --no-recursion so they do not pile up.
1208 # Strip out --silent because we don't want to record it for future runs.
1209 # Also quote any args containing shell meta-characters.
1210 # Make two passes to allow for proper duplicate-argument suppression.
1215 ac_must_keep_next=false
1221 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1222 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1223 | -silent | --silent | --silen | --sile | --sil)
1225 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1226 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1229 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1231 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1232 if test $ac_must_keep_next = true; then
1233 ac_must_keep_next=false # Got value, back to normal.
1236 *=* | --config-cache | -C | -disable-* | --disable-* \
1237 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1238 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1239 | -with-* | --with-* | -without-* | --without-* | --x)
1240 case "$ac_configure_args0 " in
1241 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1244 -* ) ac_must_keep_next=true ;;
1247 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1248 # Get rid of the leading space.
1254 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1255 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1257 # When interrupted or exit'd, cleanup temporary files, and complete
1258 # config.log. We remove comments because anyway the quotes in there
1259 # would cause problems or look ugly.
1260 # WARNING: Be sure not to use single quotes in there, as some shells,
1261 # such as our DU 5.0 friend, will then `close
' the trap.
1262 trap 'exit_status
=$?
1263 # Save into config.log some information that might help in debugging.
1268 ## ---------------- ##
1269 ## Cache variables. ##
1270 ## ---------------- ##
1273 # The following way of writing the cache mishandles newlines in values,
1276 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1279 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1280 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1284 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1291 ## ----------------- ##
1292 ## Output variables. ##
1293 ## ----------------- ##
1296 for ac_var
in $ac_subst_vars
1298 eval ac_val
=$
`echo $ac_var`
1299 echo "$ac_var='"'"'$ac_val'"'"'"
1303 if test -n "$ac_subst_files"; then
1310 for ac_var
in $ac_subst_files
1312 eval ac_val
=$
`echo $ac_var`
1313 echo "$ac_var='"'"'$ac_val'"'"'"
1318 if test -s confdefs.h
; then
1325 sed "/^$/d" confdefs.h
| sort
1328 test "$ac_signal" != 0 &&
1329 echo "$as_me: caught signal $ac_signal"
1330 echo "$as_me: exit $exit_status"
1332 rm -f core core.
* *.core
&&
1333 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1336 for ac_signal in 1 2 13 15; do
1337 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1341 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1342 rm -rf conftest* confdefs.h
1343 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1346 # Predefined preprocessor variables.
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_NAME "$PACKAGE_NAME"
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1358 cat >>confdefs.h <<_ACEOF
1359 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1363 cat >>confdefs.h <<_ACEOF
1364 #define PACKAGE_STRING "$PACKAGE_STRING"
1368 cat >>confdefs.h <<_ACEOF
1369 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1373 # Let the site file select an alternate cache file if it wants to.
1374 # Prefer explicitly selected file to automatically selected ones.
1375 if test -z "$CONFIG_SITE"; then
1376 if test "x$prefix" != xNONE; then
1377 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1379 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1382 for ac_site_file in $CONFIG_SITE; do
1383 if test -r "$ac_site_file"; then
1384 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1385 echo "$as_me: loading site script $ac_site_file" >&6;}
1386 sed 's
/^
/| /' "$ac_site_file" >&5
1391 if test -r "$cache_file"; then
1392 # Some versions of bash will fail to source /dev/null (special
1393 # files actually), so we avoid doing that.
1394 if test -f "$cache_file"; then
1395 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1396 echo "$as_me: loading cache $cache_file" >&6;}
1398 [\\/]* | ?:[\\/]* ) . $cache_file;;
1399 *) . ./$cache_file;;
1403 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1404 echo "$as_me: creating cache $cache_file" >&6;}
1408 # Check that the precious variables saved in the cache have kept the same
1410 ac_cache_corrupted=false
1411 for ac_var in `(set) 2>&1 |
1412 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1413 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1414 eval ac_new_set=\$ac_env_${ac_var}_set
1415 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1416 eval ac_new_val="\$ac_env_${ac_var}_value"
1417 case $ac_old_set,$ac_new_set in
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1421 ac_cache_corrupted=: ;;
1423 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1424 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1425 ac_cache_corrupted=: ;;
1428 if test "x$ac_old_val" != "x$ac_new_val"; then
1429 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1430 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1431 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1432 echo "$as_me: former value: $ac_old_val" >&2;}
1433 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1434 echo "$as_me: current value: $ac_new_val" >&2;}
1435 ac_cache_corrupted=:
1438 # Pass precious variables to config.status.
1439 if test "$ac_new_set" = set; then
1441 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1442 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1443 *) ac_arg=$ac_var=$ac_new_val ;;
1445 case " $ac_configure_args " in
1446 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1447 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1451 if $ac_cache_corrupted; then
1452 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1453 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1454 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1455 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1456 { (exit 1); exit 1; }; }
1460 ac_cpp='$CPP $CPPFLAGS'
1461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1462 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1495 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1496 if test -f $ac_dir/install-sh; then
1498 ac_install_sh="$ac_aux_dir/install-sh -c"
1500 elif test -f $ac_dir/install.sh; then
1502 ac_install_sh="$ac_aux_dir/install.sh -c"
1504 elif test -f $ac_dir/shtool; then
1506 ac_install_sh="$ac_aux_dir/shtool install -c"
1510 if test -z "$ac_aux_dir"; then
1511 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1512 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1513 { (exit 1); exit 1; }; }
1515 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1516 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1517 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1519 # Make sure we can run config.sub.
1520 $ac_config_sub sun4 >/dev/null 2>&1 ||
1521 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1522 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1523 { (exit 1); exit 1; }; }
1525 echo "$as_me:$LINENO: checking build system type" >&5
1526 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1527 if test "${ac_cv_build+set}" = set; then
1528 echo $ECHO_N "(cached) $ECHO_C" >&6
1530 ac_cv_build_alias=$build_alias
1531 test -z "$ac_cv_build_alias" &&
1532 ac_cv_build_alias=`$ac_config_guess`
1533 test -z "$ac_cv_build_alias" &&
1534 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1535 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1536 { (exit 1); exit 1; }; }
1537 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1538 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1539 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1540 { (exit 1); exit 1; }; }
1543 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1544 echo "${ECHO_T}$ac_cv_build" >&6
1546 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1547 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1548 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1551 echo "$as_me:$LINENO: checking host system type" >&5
1552 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1553 if test "${ac_cv_host+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 ac_cv_host_alias=$host_alias
1557 test -z "$ac_cv_host_alias" &&
1558 ac_cv_host_alias=$ac_cv_build_alias
1559 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1560 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1561 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1562 { (exit 1); exit 1; }; }
1565 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1566 echo "${ECHO_T}$ac_cv_host" >&6
1568 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1569 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1570 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1573 echo "$as_me:$LINENO: checking target system type" >&5
1574 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1575 if test "${ac_cv_target+set}" = set; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1578 ac_cv_target_alias=$target_alias
1579 test "x$ac_cv_target_alias" = "x" &&
1580 ac_cv_target_alias=$ac_cv_host_alias
1581 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1582 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1583 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1584 { (exit 1); exit 1; }; }
1587 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1588 echo "${ECHO_T}$ac_cv_target" >&6
1589 target=$ac_cv_target
1590 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1591 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1592 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1595 # The aliases save the names the user supplied, while $host etc.
1596 # will get canonicalized.
1597 test -n "$target_alias" &&
1598 test "$program_prefix$program_suffix$program_transform_name" = \
1600 program_prefix=${target_alias}-
1604 WX_MAJOR_VERSION_NUMBER=2
1605 WX_MINOR_VERSION_NUMBER=5
1608 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1609 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1611 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1627 USE_BSD= USE_DARWIN= USE_FREEBSD=
1633 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1639 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1641 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1643 DEFAULT_wxUSE_COCOA=0
1647 DEFAULT_wxUSE_MICROWIN=0
1648 DEFAULT_wxUSE_MOTIF=0
1653 DEFAULT_DEFAULT_wxUSE_COCOA=0
1654 DEFAULT_DEFAULT_wxUSE_GTK=0
1655 DEFAULT_DEFAULT_wxUSE_MAC=0
1656 DEFAULT_DEFAULT_wxUSE_MGL=0
1657 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1658 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1659 DEFAULT_DEFAULT_wxUSE_MSW=0
1660 DEFAULT_DEFAULT_wxUSE_PM=0
1661 DEFAULT_DEFAULT_wxUSE_X11=0
1666 SAMPLES_RPATH_POSTLINK=
1671 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1672 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1674 cat >>confdefs.h <<\_ACEOF
1681 cat >>confdefs.h <<\_ACEOF
1686 if test "x$TMP" = "xalpha"; then
1688 cat >>confdefs.h <<\_ACEOF
1693 DEFAULT_DEFAULT_wxUSE_GTK=1
1697 cat >>confdefs.h <<\_ACEOF
1702 if test "x$TMP" = "xalpha"; then
1704 cat >>confdefs.h <<\_ACEOF
1709 DEFAULT_DEFAULT_wxUSE_GTK=1
1711 *-*-irix5* | *-*-irix6* )
1714 cat >>confdefs.h <<\_ACEOF
1718 cat >>confdefs.h <<\_ACEOF
1722 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1728 cat >>confdefs.h <<\_ACEOF
1732 cat >>confdefs.h <<\_ACEOF
1733 #define __SOLARIS__ 1
1736 cat >>confdefs.h <<\_ACEOF
1740 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1741 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1747 cat >>confdefs.h <<\_ACEOF
1751 cat >>confdefs.h <<\_ACEOF
1755 cat >>confdefs.h <<\_ACEOF
1759 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1764 cat >>confdefs.h <<\_ACEOF
1765 #define __FREEBSD__ 1
1768 cat >>confdefs.h <<\_ACEOF
1772 DEFAULT_DEFAULT_wxUSE_GTK=1
1777 cat >>confdefs.h <<\_ACEOF
1778 #define __OPENBSD__ 1
1781 cat >>confdefs.h <<\_ACEOF
1785 DEFAULT_DEFAULT_wxUSE_GTK=1
1790 cat >>confdefs.h <<\_ACEOF
1791 #define __NETBSD__ 1
1794 cat >>confdefs.h <<\_ACEOF
1798 DEFAULT_DEFAULT_wxUSE_GTK=1
1803 cat >>confdefs.h <<\_ACEOF
1807 cat >>confdefs.h <<\_ACEOF
1811 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1812 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1817 cat >>confdefs.h <<\_ACEOF
1821 cat >>confdefs.h <<\_ACEOF
1825 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1830 cat >>confdefs.h <<\_ACEOF
1834 cat >>confdefs.h <<\_ACEOF
1838 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1845 cat >>confdefs.h <<\_ACEOF
1849 cat >>confdefs.h <<\_ACEOF
1853 cat >>confdefs.h <<\_ACEOF
1857 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1864 cat >>confdefs.h <<\_ACEOF
1865 #define __UNIXWARE__ 1
1870 *-*-cygwin* | *-*-mingw32* )
1874 DEFAULT_DEFAULT_wxUSE_MSW=1
1880 cat >>confdefs.h <<\_ACEOF
1885 DEFAULT_DEFAULT_wxUSE_MGL=1
1886 LIBS="$LIBS -lstdc++"
1889 *-pc-os2_emx | *-pc-os2-emx )
1890 cat >>confdefs.h <<\_ACEOF
1895 cat >>confdefs.h <<\_ACEOF
1900 DEFAULT_DEFAULT_wxUSE_PM=1
1902 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1903 ac_executable_extensions=".exe"
1904 export ac_executable_extensions
1908 for ac_dir in $PATH; do
1910 if test -z "$ac_TEMP_PATH"; then
1911 ac_TEMP_PATH="$ac_dir"
1913 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1916 export PATH="$ac_TEMP_PATH"
1924 cat >>confdefs.h <<\_ACEOF
1928 cat >>confdefs.h <<\_ACEOF
1929 #define __DARWIN__ 1
1932 cat >>confdefs.h <<\_ACEOF
1933 #define __POWERPC__ 1
1936 cat >>confdefs.h <<\_ACEOF
1937 #define TARGET_CARBON 1
1940 DEFAULT_DEFAULT_wxUSE_MAC=1
1945 cat >>confdefs.h <<\_ACEOF
1952 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1953 echo "$as_me: error: unknown system type ${host}." >&2;}
1954 { (exit 1); exit 1; }; }
1960 wx_arg_cache_file="configarg.cache"
1961 echo "loading argument cache $wx_arg_cache_file"
1962 rm -f ${wx_arg_cache_file}.tmp
1963 touch ${wx_arg_cache_file}.tmp
1964 touch ${wx_arg_cache_file}
1968 if test $DEBUG_CONFIGURE = 1; then
1969 DEFAULT_wxUSE_UNIVERSAL=no
1970 DEFAULT_wxUSE_STL=no
1972 DEFAULT_wxUSE_NANOX=no
1974 DEFAULT_wxUSE_THREADS=yes
1976 DEFAULT_wxUSE_SHARED=yes
1977 DEFAULT_wxUSE_OPTIMISE=no
1978 DEFAULT_wxUSE_PROFILE=no
1979 DEFAULT_wxUSE_NO_DEPS=no
1980 DEFAULT_wxUSE_NO_RTTI=no
1981 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1982 DEFAULT_wxUSE_PERMISSIVE=no
1983 DEFAULT_wxUSE_DEBUG_FLAG=yes
1984 DEFAULT_wxUSE_DEBUG_INFO=yes
1985 DEFAULT_wxUSE_DEBUG_GDB=yes
1986 DEFAULT_wxUSE_MEM_TRACING=no
1987 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1988 DEFAULT_wxUSE_DMALLOC=no
1989 DEFAULT_wxUSE_APPLE_IEEE=no
1991 DEFAULT_wxUSE_EXCEPTIONS=no
1992 DEFAULT_wxUSE_LOG=yes
1993 DEFAULT_wxUSE_LOGWINDOW=no
1994 DEFAULT_wxUSE_LOGGUI=no
1995 DEFAULT_wxUSE_LOGDIALOG=no
1997 DEFAULT_wxUSE_GUI=yes
1998 DEFAULT_wxUSE_CONTROLS=no
2000 DEFAULT_wxUSE_REGEX=no
2001 DEFAULT_wxUSE_XML=no
2002 DEFAULT_wxUSE_EXPAT=no
2003 DEFAULT_wxUSE_ZLIB=no
2004 DEFAULT_wxUSE_LIBPNG=no
2005 DEFAULT_wxUSE_LIBJPEG=no
2006 DEFAULT_wxUSE_LIBTIFF=no
2007 DEFAULT_wxUSE_ODBC=no
2008 DEFAULT_wxUSE_OPENGL=no
2010 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2011 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2012 DEFAULT_wxUSE_STD_IOSTREAM=no
2013 DEFAULT_wxUSE_CMDLINE_PARSER=no
2014 DEFAULT_wxUSE_DATETIME=no
2015 DEFAULT_wxUSE_TIMER=no
2016 DEFAULT_wxUSE_STOPWATCH=no
2017 DEFAULT_wxUSE_FILE=no
2018 DEFAULT_wxUSE_FFILE=no
2019 DEFAULT_wxUSE_TEXTBUFFER=no
2020 DEFAULT_wxUSE_TEXTFILE=no
2021 DEFAULT_wxUSE_WAVE=no
2022 DEFAULT_wxUSE_INTL=no
2023 DEFAULT_wxUSE_CONFIG=no
2024 DEFAULT_wxUSE_FONTMAP=no
2025 DEFAULT_wxUSE_STREAMS=no
2026 DEFAULT_wxUSE_SOCKETS=no
2027 DEFAULT_wxUSE_OLE=no
2028 DEFAULT_wxUSE_DATAOBJ=no
2029 DEFAULT_wxUSE_DIALUP_MANAGER=no
2030 DEFAULT_wxUSE_JOYSTICK=no
2031 DEFAULT_wxUSE_DYNLIB_CLASS=no
2032 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2033 DEFAULT_wxUSE_LONGLONG=no
2034 DEFAULT_wxUSE_GEOMETRY=no
2036 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2037 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2038 DEFAULT_wxUSE_POSTSCRIPT=no
2040 DEFAULT_wxUSE_CLIPBOARD=no
2041 DEFAULT_wxUSE_TOOLTIPS=no
2042 DEFAULT_wxUSE_DRAG_AND_DROP=no
2043 DEFAULT_wxUSE_DRAGIMAGE=no
2044 DEFAULT_wxUSE_SPLINES=no
2046 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2047 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2048 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2050 DEFAULT_wxUSE_RESOURCES=no
2051 DEFAULT_wxUSE_CONSTRAINTS=no
2052 DEFAULT_wxUSE_IPC=no
2053 DEFAULT_wxUSE_HELP=no
2054 DEFAULT_wxUSE_MS_HTML_HELP=no
2055 DEFAULT_wxUSE_WXHTML_HELP=no
2056 DEFAULT_wxUSE_TREELAYOUT=no
2057 DEFAULT_wxUSE_METAFILE=no
2058 DEFAULT_wxUSE_MIMETYPE=no
2059 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2060 DEFAULT_wxUSE_PROTOCOL=no
2061 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2062 DEFAULT_wxUSE_PROTOCOL_FTP=no
2063 DEFAULT_wxUSE_PROTOCOL_FILE=no
2064 DEFAULT_wxUSE_URL=no
2066 DEFAULT_wxUSE_COMMONDLGS=no
2067 DEFAULT_wxUSE_CHOICEDLG=no
2068 DEFAULT_wxUSE_COLOURDLG=no
2069 DEFAULT_wxUSE_DIRDLG=no
2070 DEFAULT_wxUSE_FILEDLG=no
2071 DEFAULT_wxUSE_FINDREPLDLG=no
2072 DEFAULT_wxUSE_FONTDLG=no
2073 DEFAULT_wxUSE_MSGDLG=no
2074 DEFAULT_wxUSE_NUMBERDLG=no
2075 DEFAULT_wxUSE_TEXTDLG=no
2076 DEFAULT_wxUSE_SPLASH=no
2077 DEFAULT_wxUSE_STARTUP_TIPS=no
2078 DEFAULT_wxUSE_PROGRESSDLG=no
2079 DEFAULT_wxUSE_WIZARDDLG=no
2081 DEFAULT_wxUSE_MENUS=no
2082 DEFAULT_wxUSE_MINIFRAME=no
2083 DEFAULT_wxUSE_HTML=no
2084 DEFAULT_wxUSE_FILESYSTEM=no
2085 DEFAULT_wxUSE_FS_INET=no
2086 DEFAULT_wxUSE_FS_ZIP=no
2087 DEFAULT_wxUSE_BUSYINFO=no
2088 DEFAULT_wxUSE_ZIPSTREAM=no
2089 DEFAULT_wxUSE_GZSTREAM=no
2090 DEFAULT_wxUSE_VALIDATORS=no
2092 DEFAULT_wxUSE_ACCEL=no
2093 DEFAULT_wxUSE_BUTTON=no
2094 DEFAULT_wxUSE_BMPBUTTON=no
2095 DEFAULT_wxUSE_CALCTRL=no
2096 DEFAULT_wxUSE_CARET=no
2097 DEFAULT_wxUSE_CHECKBOX=no
2098 DEFAULT_wxUSE_CHECKLST=no
2099 DEFAULT_wxUSE_CHOICE=no
2100 DEFAULT_wxUSE_COMBOBOX=no
2101 DEFAULT_wxUSE_DISPLAY=no
2102 DEFAULT_wxUSE_GAUGE=no
2103 DEFAULT_wxUSE_GRID=no
2104 DEFAULT_wxUSE_IMAGLIST=no
2105 DEFAULT_wxUSE_LISTBOOK=no
2106 DEFAULT_wxUSE_LISTBOX=no
2107 DEFAULT_wxUSE_LISTCTRL=no
2108 DEFAULT_wxUSE_NOTEBOOK=no
2109 DEFAULT_wxUSE_RADIOBOX=no
2110 DEFAULT_wxUSE_RADIOBTN=no
2111 DEFAULT_wxUSE_SASH=no
2112 DEFAULT_wxUSE_SCROLLBAR=no
2113 DEFAULT_wxUSE_SLIDER=no
2114 DEFAULT_wxUSE_SPINBTN=no
2115 DEFAULT_wxUSE_SPINCTRL=no
2116 DEFAULT_wxUSE_SPLITTER=no
2117 DEFAULT_wxUSE_STATBMP=no
2118 DEFAULT_wxUSE_STATBOX=no
2119 DEFAULT_wxUSE_STATLINE=no
2120 DEFAULT_wxUSE_STATTEXT=no
2121 DEFAULT_wxUSE_STATUSBAR=yes
2122 DEFAULT_wxUSE_TABDIALOG=no
2123 DEFAULT_wxUSE_TEXTCTRL=no
2124 DEFAULT_wxUSE_TOGGLEBTN=no
2125 DEFAULT_wxUSE_TOOLBAR=no
2126 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2127 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2128 DEFAULT_wxUSE_TREECTRL=no
2129 DEFAULT_wxUSE_POPUPWIN=no
2130 DEFAULT_wxUSE_TIPWINDOW=no
2132 DEFAULT_wxUSE_UNICODE=no
2133 DEFAULT_wxUSE_UNICODE_MSLU=no
2134 DEFAULT_wxUSE_WCSRTOMBS=no
2136 DEFAULT_wxUSE_PALETTE=no
2137 DEFAULT_wxUSE_IMAGE=no
2138 DEFAULT_wxUSE_GIF=no
2139 DEFAULT_wxUSE_PCX=no
2140 DEFAULT_wxUSE_PNM=no
2141 DEFAULT_wxUSE_IFF=no
2142 DEFAULT_wxUSE_XPM=no
2143 DEFAULT_wxUSE_ICO_CUR=no
2144 DEFAULT_wxUSE_ACCESSIBILITY=no
2146 DEFAULT_wxUSE_MONOLITHIC=no
2147 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2149 DEFAULT_wxUSE_UNIVERSAL=no
2150 DEFAULT_wxUSE_STL=no
2152 DEFAULT_wxUSE_NANOX=no
2154 DEFAULT_wxUSE_THREADS=yes
2156 DEFAULT_wxUSE_SHARED=yes
2157 DEFAULT_wxUSE_OPTIMISE=yes
2158 DEFAULT_wxUSE_PROFILE=no
2159 DEFAULT_wxUSE_NO_DEPS=no
2160 DEFAULT_wxUSE_NO_RTTI=no
2161 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2162 DEFAULT_wxUSE_PERMISSIVE=no
2163 DEFAULT_wxUSE_DEBUG_FLAG=no
2164 DEFAULT_wxUSE_DEBUG_INFO=no
2165 DEFAULT_wxUSE_DEBUG_GDB=no
2166 DEFAULT_wxUSE_MEM_TRACING=no
2167 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2168 DEFAULT_wxUSE_DMALLOC=no
2169 DEFAULT_wxUSE_APPLE_IEEE=yes
2171 DEFAULT_wxUSE_EXCEPTIONS=yes
2172 DEFAULT_wxUSE_LOG=yes
2173 DEFAULT_wxUSE_LOGWINDOW=yes
2174 DEFAULT_wxUSE_LOGGUI=yes
2175 DEFAULT_wxUSE_LOGDIALOG=yes
2177 DEFAULT_wxUSE_GUI=yes
2179 DEFAULT_wxUSE_REGEX=yes
2180 DEFAULT_wxUSE_XML=yes
2181 DEFAULT_wxUSE_EXPAT=yes
2182 DEFAULT_wxUSE_ZLIB=yes
2183 DEFAULT_wxUSE_LIBPNG=yes
2184 DEFAULT_wxUSE_LIBJPEG=yes
2185 DEFAULT_wxUSE_LIBTIFF=yes
2186 DEFAULT_wxUSE_ODBC=no
2187 DEFAULT_wxUSE_OPENGL=no
2189 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2190 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2191 DEFAULT_wxUSE_STD_IOSTREAM=no
2192 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2193 DEFAULT_wxUSE_DATETIME=yes
2194 DEFAULT_wxUSE_TIMER=yes
2195 DEFAULT_wxUSE_STOPWATCH=yes
2196 DEFAULT_wxUSE_FILE=yes
2197 DEFAULT_wxUSE_FFILE=yes
2198 DEFAULT_wxUSE_TEXTBUFFER=yes
2199 DEFAULT_wxUSE_TEXTFILE=yes
2200 DEFAULT_wxUSE_WAVE=no
2201 DEFAULT_wxUSE_INTL=yes
2202 DEFAULT_wxUSE_CONFIG=yes
2203 DEFAULT_wxUSE_FONTMAP=yes
2204 DEFAULT_wxUSE_STREAMS=yes
2205 DEFAULT_wxUSE_SOCKETS=yes
2206 DEFAULT_wxUSE_OLE=yes
2207 DEFAULT_wxUSE_DATAOBJ=yes
2208 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2209 DEFAULT_wxUSE_JOYSTICK=yes
2210 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2211 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2212 DEFAULT_wxUSE_LONGLONG=yes
2213 DEFAULT_wxUSE_GEOMETRY=yes
2215 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2216 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2217 DEFAULT_wxUSE_POSTSCRIPT=yes
2219 DEFAULT_wxUSE_CLIPBOARD=yes
2220 DEFAULT_wxUSE_TOOLTIPS=yes
2221 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2222 DEFAULT_wxUSE_DRAGIMAGE=yes
2223 DEFAULT_wxUSE_SPLINES=yes
2225 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2226 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2227 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2229 DEFAULT_wxUSE_RESOURCES=no
2230 DEFAULT_wxUSE_CONSTRAINTS=yes
2231 DEFAULT_wxUSE_IPC=yes
2232 DEFAULT_wxUSE_HELP=yes
2233 DEFAULT_wxUSE_MS_HTML_HELP=yes
2234 DEFAULT_wxUSE_WXHTML_HELP=yes
2235 DEFAULT_wxUSE_TREELAYOUT=yes
2236 DEFAULT_wxUSE_METAFILE=yes
2237 DEFAULT_wxUSE_MIMETYPE=yes
2238 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2239 DEFAULT_wxUSE_PROTOCOL=yes
2240 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2241 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2242 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2243 DEFAULT_wxUSE_URL=yes
2245 DEFAULT_wxUSE_COMMONDLGS=yes
2246 DEFAULT_wxUSE_CHOICEDLG=yes
2247 DEFAULT_wxUSE_COLOURDLG=yes
2248 DEFAULT_wxUSE_DIRDLG=yes
2249 DEFAULT_wxUSE_FILEDLG=yes
2250 DEFAULT_wxUSE_FINDREPLDLG=yes
2251 DEFAULT_wxUSE_FONTDLG=yes
2252 DEFAULT_wxUSE_MSGDLG=yes
2253 DEFAULT_wxUSE_NUMBERDLG=yes
2254 DEFAULT_wxUSE_TEXTDLG=yes
2255 DEFAULT_wxUSE_SPLASH=yes
2256 DEFAULT_wxUSE_STARTUP_TIPS=yes
2257 DEFAULT_wxUSE_PROGRESSDLG=yes
2258 DEFAULT_wxUSE_WIZARDDLG=yes
2260 DEFAULT_wxUSE_MENUS=yes
2261 DEFAULT_wxUSE_MINIFRAME=yes
2262 DEFAULT_wxUSE_HTML=yes
2263 DEFAULT_wxUSE_FILESYSTEM=yes
2264 DEFAULT_wxUSE_FS_INET=yes
2265 DEFAULT_wxUSE_FS_ZIP=yes
2266 DEFAULT_wxUSE_BUSYINFO=yes
2267 DEFAULT_wxUSE_ZIPSTREAM=yes
2268 DEFAULT_wxUSE_GZSTREAM=yes
2269 DEFAULT_wxUSE_VALIDATORS=yes
2271 DEFAULT_wxUSE_ACCEL=yes
2272 DEFAULT_wxUSE_BUTTON=yes
2273 DEFAULT_wxUSE_BMPBUTTON=yes
2274 DEFAULT_wxUSE_CALCTRL=yes
2275 DEFAULT_wxUSE_CARET=yes
2276 DEFAULT_wxUSE_CHECKBOX=yes
2277 DEFAULT_wxUSE_CHECKLST=yes
2278 DEFAULT_wxUSE_CHOICE=yes
2279 DEFAULT_wxUSE_COMBOBOX=yes
2280 DEFAULT_wxUSE_DISPLAY=no
2281 DEFAULT_wxUSE_GAUGE=yes
2282 DEFAULT_wxUSE_GRID=yes
2283 DEFAULT_wxUSE_IMAGLIST=yes
2284 DEFAULT_wxUSE_LISTBOOK=yes
2285 DEFAULT_wxUSE_LISTBOX=yes
2286 DEFAULT_wxUSE_LISTCTRL=yes
2287 DEFAULT_wxUSE_NOTEBOOK=yes
2288 DEFAULT_wxUSE_RADIOBOX=yes
2289 DEFAULT_wxUSE_RADIOBTN=yes
2290 DEFAULT_wxUSE_SASH=yes
2291 DEFAULT_wxUSE_SCROLLBAR=yes
2292 DEFAULT_wxUSE_SLIDER=yes
2293 DEFAULT_wxUSE_SPINBTN=yes
2294 DEFAULT_wxUSE_SPINCTRL=yes
2295 DEFAULT_wxUSE_SPLITTER=yes
2296 DEFAULT_wxUSE_STATBMP=yes
2297 DEFAULT_wxUSE_STATBOX=yes
2298 DEFAULT_wxUSE_STATLINE=yes
2299 DEFAULT_wxUSE_STATTEXT=yes
2300 DEFAULT_wxUSE_STATUSBAR=yes
2301 DEFAULT_wxUSE_TABDIALOG=no
2302 DEFAULT_wxUSE_TEXTCTRL=yes
2303 DEFAULT_wxUSE_TOGGLEBTN=yes
2304 DEFAULT_wxUSE_TOOLBAR=yes
2305 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2306 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2307 DEFAULT_wxUSE_TREECTRL=yes
2308 DEFAULT_wxUSE_POPUPWIN=yes
2309 DEFAULT_wxUSE_TIPWINDOW=yes
2311 DEFAULT_wxUSE_UNICODE=no
2312 DEFAULT_wxUSE_UNICODE_MSLU=yes
2313 DEFAULT_wxUSE_WCSRTOMBS=no
2315 DEFAULT_wxUSE_PALETTE=yes
2316 DEFAULT_wxUSE_IMAGE=yes
2317 DEFAULT_wxUSE_GIF=yes
2318 DEFAULT_wxUSE_PCX=yes
2319 DEFAULT_wxUSE_IFF=no
2320 DEFAULT_wxUSE_PNM=yes
2321 DEFAULT_wxUSE_XPM=yes
2322 DEFAULT_wxUSE_ICO_CUR=yes
2323 DEFAULT_wxUSE_ACCESSIBILITY=no
2325 DEFAULT_wxUSE_MONOLITHIC=no
2326 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2331 for toolkit in `echo $ALL_TOOLKITS`; do
2332 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2333 if test "x$LINE" != "x" ; then
2334 has_toolkit_in_cache=1
2335 eval "DEFAULT_$LINE"
2336 eval "CACHE_$toolkit=1"
2343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2344 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2346 # Check whether --enable-gui or --disable-gui was given.
2347 if test "${enable_gui+set}" = set; then
2348 enableval="$enable_gui"
2350 if test "$enableval" = yes; then
2351 ac_cv_use_gui='wxUSE_GUI
=yes'
2353 ac_cv_use_gui='wxUSE_GUI
=no
'
2358 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2359 if test "x$LINE" != x ; then
2360 eval "DEFAULT_$LINE"
2365 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2369 eval "$ac_cv_use_gui"
2370 if test "$no_cache" != 1; then
2371 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2374 if test "$wxUSE_GUI" = yes; then
2375 echo "$as_me:$LINENO: result: yes" >&5
2376 echo "${ECHO_T}yes" >&6
2378 echo "$as_me:$LINENO: result: no" >&5
2379 echo "${ECHO_T}no" >&6
2384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2385 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2387 # Check whether --enable-monolithic or --disable-monolithic was given.
2388 if test "${enable_monolithic+set}" = set; then
2389 enableval="$enable_monolithic"
2391 if test "$enableval" = yes; then
2392 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2394 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2399 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2400 if test "x$LINE" != x ; then
2401 eval "DEFAULT_$LINE"
2406 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2410 eval "$ac_cv_use_monolithic"
2411 if test "$no_cache" != 1; then
2412 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2415 if test "$wxUSE_MONOLITHIC" = yes; then
2416 echo "$as_me:$LINENO: result: yes" >&5
2417 echo "${ECHO_T}yes" >&6
2419 echo "$as_me:$LINENO: result: no" >&5
2420 echo "${ECHO_T}no" >&6
2424 if test "$wxUSE_GUI" = "yes"; then
2428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2429 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2431 # Check whether --enable-universal or --disable-universal was given.
2432 if test "${enable_universal+set}" = set; then
2433 enableval="$enable_universal"
2435 if test "$enableval" = yes; then
2436 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2438 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2443 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2444 if test "x$LINE" != x ; then
2445 eval "DEFAULT_$LINE"
2450 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2454 eval "$ac_cv_use_universal"
2455 if test "$no_cache" != 1; then
2456 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2459 if test "$wxUSE_UNIVERSAL" = yes; then
2460 echo "$as_me:$LINENO: result: yes" >&5
2461 echo "${ECHO_T}yes" >&6
2463 echo "$as_me:$LINENO: result: no" >&5
2464 echo "${ECHO_T}no" >&6
2468 # Check whether --with-gtk or --without-gtk was given.
2469 if test "${with_gtk+set}" = set; then
2471 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2474 # Check whether --with-motif or --without-motif was given.
2475 if test "${with_motif+set}" = set; then
2476 withval="$with_motif"
2477 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2480 # Check whether --with-mac or --without-mac was given.
2481 if test "${with_mac+set}" = set; then
2483 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2486 # Check whether --with-cocoa or --without-cocoa was given.
2487 if test "${with_cocoa+set}" = set; then
2488 withval="$with_cocoa"
2489 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2492 # Check whether --with-wine or --without-wine was given.
2493 if test "${with_wine+set}" = set; then
2494 withval="$with_wine"
2495 wxUSE_WINE="$withval" CACHE_WINE=1
2498 # Check whether --with-msw or --without-msw was given.
2499 if test "${with_msw+set}" = set; then
2501 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2504 # Check whether --with-pm or --without-pm was given.
2505 if test "${with_pm+set}" = set; then
2507 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2510 # Check whether --with-mgl or --without-mgl was given.
2511 if test "${with_mgl+set}" = set; then
2513 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2516 # Check whether --with-microwin or --without-microwin was given.
2517 if test "${with_microwin+set}" = set; then
2518 withval="$with_microwin"
2519 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2522 # Check whether --with-x11 or --without-x11 was given.
2523 if test "${with_x11+set}" = set; then
2525 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2530 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2532 # Check whether --enable-nanox or --disable-nanox was given.
2533 if test "${enable_nanox+set}" = set; then
2534 enableval="$enable_nanox"
2536 if test "$enableval" = yes; then
2537 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2539 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2544 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x ; then
2546 eval "DEFAULT_$LINE"
2551 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2555 eval "$ac_cv_use_nanox"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2560 if test "$wxUSE_NANOX" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6
2564 echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6
2571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2572 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2574 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2575 if test "${enable_gtk2+set}" = set; then
2576 enableval="$enable_gtk2"
2578 if test "$enableval" = yes; then
2579 ac_cv_use_gtk2='wxUSE_GTK2
=yes'
2581 ac_cv_use_gtk2='wxUSE_GTK2
=no
'
2586 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2587 if test "x$LINE" != x ; then
2588 eval "DEFAULT_$LINE"
2593 ac_cv_use_gtk2='wxUSE_GTK2
='$DEFAULT_wxUSE_GTK2
2597 eval "$ac_cv_use_gtk2"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2602 if test "$wxUSE_GTK2" = yes; then
2603 echo "$as_me:$LINENO: result: yes" >&5
2604 echo "${ECHO_T}yes" >&6
2606 echo "$as_me:$LINENO: result: no" >&5
2607 echo "${ECHO_T}no" >&6
2612 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2613 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2616 # Check whether --with-libpng or --without-libpng was given.
2617 if test "${with_libpng+set}" = set; then
2618 withval="$with_libpng"
2620 if test "$withval" = yes; then
2621 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2622 elif test "$withval" = no; then
2623 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2624 elif test "$withval" = sys; then
2625 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2626 elif test "$withval" = builtin; then
2627 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2629 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2630 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2631 { (exit 1); exit 1; }; }
2636 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2637 if test "x$LINE" != x ; then
2638 eval "DEFAULT_$LINE"
2643 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2647 eval "$ac_cv_use_libpng"
2648 if test "$no_cache" != 1; then
2649 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2652 if test "$wxUSE_LIBPNG" = yes; then
2653 echo "$as_me:$LINENO: result: yes" >&5
2654 echo "${ECHO_T}yes" >&6
2655 elif test "$wxUSE_LIBPNG" = no; then
2656 echo "$as_me:$LINENO: result: no" >&5
2657 echo "${ECHO_T}no" >&6
2658 elif test "$wxUSE_LIBPNG" = sys; then
2659 echo "$as_me:$LINENO: result: system version" >&5
2660 echo "${ECHO_T}system version" >&6
2661 elif test "$wxUSE_LIBPNG" = builtin; then
2662 echo "$as_me:$LINENO: result: builtin version" >&5
2663 echo "${ECHO_T}builtin version" >&6
2665 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2666 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2667 { (exit 1); exit 1; }; }
2671 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2672 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2675 # Check whether --with-libjpeg or --without-libjpeg was given.
2676 if test "${with_libjpeg+set}" = set; then
2677 withval="$with_libjpeg"
2679 if test "$withval" = yes; then
2680 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2681 elif test "$withval" = no; then
2682 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2683 elif test "$withval" = sys; then
2684 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2685 elif test "$withval" = builtin; then
2686 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2688 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2689 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2690 { (exit 1); exit 1; }; }
2695 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2696 if test "x$LINE" != x ; then
2697 eval "DEFAULT_$LINE"
2702 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2706 eval "$ac_cv_use_libjpeg"
2707 if test "$no_cache" != 1; then
2708 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2711 if test "$wxUSE_LIBJPEG" = yes; then
2712 echo "$as_me:$LINENO: result: yes" >&5
2713 echo "${ECHO_T}yes" >&6
2714 elif test "$wxUSE_LIBJPEG" = no; then
2715 echo "$as_me:$LINENO: result: no" >&5
2716 echo "${ECHO_T}no" >&6
2717 elif test "$wxUSE_LIBJPEG" = sys; then
2718 echo "$as_me:$LINENO: result: system version" >&5
2719 echo "${ECHO_T}system version" >&6
2720 elif test "$wxUSE_LIBJPEG" = builtin; then
2721 echo "$as_me:$LINENO: result: builtin version" >&5
2722 echo "${ECHO_T}builtin version" >&6
2724 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2725 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2726 { (exit 1); exit 1; }; }
2730 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2731 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2734 # Check whether --with-libtiff or --without-libtiff was given.
2735 if test "${with_libtiff+set}" = set; then
2736 withval="$with_libtiff"
2738 if test "$withval" = yes; then
2739 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2740 elif test "$withval" = no; then
2741 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2742 elif test "$withval" = sys; then
2743 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2744 elif test "$withval" = builtin; then
2745 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2747 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2748 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2749 { (exit 1); exit 1; }; }
2754 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2755 if test "x$LINE" != x ; then
2756 eval "DEFAULT_$LINE"
2761 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2765 eval "$ac_cv_use_libtiff"
2766 if test "$no_cache" != 1; then
2767 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2770 if test "$wxUSE_LIBTIFF" = yes; then
2771 echo "$as_me:$LINENO: result: yes" >&5
2772 echo "${ECHO_T}yes" >&6
2773 elif test "$wxUSE_LIBTIFF" = no; then
2774 echo "$as_me:$LINENO: result: no" >&5
2775 echo "${ECHO_T}no" >&6
2776 elif test "$wxUSE_LIBTIFF" = sys; then
2777 echo "$as_me:$LINENO: result: system version" >&5
2778 echo "${ECHO_T}system version" >&6
2779 elif test "$wxUSE_LIBTIFF" = builtin; then
2780 echo "$as_me:$LINENO: result: builtin version" >&5
2781 echo "${ECHO_T}builtin version" >&6
2783 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2784 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2785 { (exit 1); exit 1; }; }
2789 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2790 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2793 # Check whether --with-opengl or --without-opengl was given.
2794 if test "${with_opengl+set}" = set; then
2795 withval="$with_opengl"
2797 if test "$withval" = yes; then
2798 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
2800 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
2805 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2806 if test "x$LINE" != x ; then
2807 eval "DEFAULT_$LINE"
2812 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
2816 eval "$ac_cv_use_opengl"
2817 if test "$no_cache" != 1; then
2818 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2821 if test "$wxUSE_OPENGL" = yes; then
2822 echo "$as_me:$LINENO: result: yes" >&5
2823 echo "${ECHO_T}yes" >&6
2825 echo "$as_me:$LINENO: result: no" >&5
2826 echo "${ECHO_T}no" >&6
2833 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2834 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2837 # Check whether --with-dmalloc or --without-dmalloc was given.
2838 if test "${with_dmalloc+set}" = set; then
2839 withval="$with_dmalloc"
2841 if test "$withval" = yes; then
2842 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
2844 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
2849 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2850 if test "x$LINE" != x ; then
2851 eval "DEFAULT_$LINE"
2856 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
2860 eval "$ac_cv_use_dmalloc"
2861 if test "$no_cache" != 1; then
2862 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2865 if test "$wxUSE_DMALLOC" = yes; then
2866 echo "$as_me:$LINENO: result: yes" >&5
2867 echo "${ECHO_T}yes" >&6
2869 echo "$as_me:$LINENO: result: no" >&5
2870 echo "${ECHO_T}no" >&6
2874 echo "$as_me:$LINENO: checking for --with-regex" >&5
2875 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2878 # Check whether --with-regex or --without-regex was given.
2879 if test "${with_regex+set}" = set; then
2880 withval="$with_regex"
2882 if test "$withval" = yes; then
2883 ac_cv_use_regex='wxUSE_REGEX
=yes'
2884 elif test "$withval" = no; then
2885 ac_cv_use_regex='wxUSE_REGEX
=no
'
2886 elif test "$withval" = sys; then
2887 ac_cv_use_regex='wxUSE_REGEX
=sys
'
2888 elif test "$withval" = builtin; then
2889 ac_cv_use_regex='wxUSE_REGEX
=builtin'
2891 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2892 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2893 { (exit 1); exit 1; }; }
2898 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2899 if test "x$LINE" != x ; then
2900 eval "DEFAULT_$LINE"
2905 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
2909 eval "$ac_cv_use_regex"
2910 if test "$no_cache" != 1; then
2911 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2914 if test "$wxUSE_REGEX" = yes; then
2915 echo "$as_me:$LINENO: result: yes" >&5
2916 echo "${ECHO_T}yes" >&6
2917 elif test "$wxUSE_REGEX" = no; then
2918 echo "$as_me:$LINENO: result: no" >&5
2919 echo "${ECHO_T}no" >&6
2920 elif test "$wxUSE_REGEX" = sys; then
2921 echo "$as_me:$LINENO: result: system version" >&5
2922 echo "${ECHO_T}system version" >&6
2923 elif test "$wxUSE_REGEX" = builtin; then
2924 echo "$as_me:$LINENO: result: builtin version" >&5
2925 echo "${ECHO_T}builtin version" >&6
2927 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2928 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2929 { (exit 1); exit 1; }; }
2933 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2934 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2937 # Check whether --with-zlib or --without-zlib was given.
2938 if test "${with_zlib+set}" = set; then
2939 withval="$with_zlib"
2941 if test "$withval" = yes; then
2942 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
2943 elif test "$withval" = no; then
2944 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
2945 elif test "$withval" = sys; then
2946 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
2947 elif test "$withval" = builtin; then
2948 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
2950 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2951 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2952 { (exit 1); exit 1; }; }
2957 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2958 if test "x$LINE" != x ; then
2959 eval "DEFAULT_$LINE"
2964 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
2968 eval "$ac_cv_use_zlib"
2969 if test "$no_cache" != 1; then
2970 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2973 if test "$wxUSE_ZLIB" = yes; then
2974 echo "$as_me:$LINENO: result: yes" >&5
2975 echo "${ECHO_T}yes" >&6
2976 elif test "$wxUSE_ZLIB" = no; then
2977 echo "$as_me:$LINENO: result: no" >&5
2978 echo "${ECHO_T}no" >&6
2979 elif test "$wxUSE_ZLIB" = sys; then
2980 echo "$as_me:$LINENO: result: system version" >&5
2981 echo "${ECHO_T}system version" >&6
2982 elif test "$wxUSE_ZLIB" = builtin; then
2983 echo "$as_me:$LINENO: result: builtin version" >&5
2984 echo "${ECHO_T}builtin version" >&6
2986 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2987 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2988 { (exit 1); exit 1; }; }
2992 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2993 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2996 # Check whether --with-odbc or --without-odbc was given.
2997 if test "${with_odbc+set}" = set; then
2998 withval="$with_odbc"
3000 if test "$withval" = yes; then
3001 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3002 elif test "$withval" = no; then
3003 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3004 elif test "$withval" = sys; then
3005 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3006 elif test "$withval" = builtin; then
3007 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3009 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3010 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3011 { (exit 1); exit 1; }; }
3016 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3017 if test "x$LINE" != x ; then
3018 eval "DEFAULT_$LINE"
3023 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3027 eval "$ac_cv_use_odbc"
3028 if test "$no_cache" != 1; then
3029 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3032 if test "$wxUSE_ODBC" = yes; then
3033 echo "$as_me:$LINENO: result: yes" >&5
3034 echo "${ECHO_T}yes" >&6
3035 elif test "$wxUSE_ODBC" = no; then
3036 echo "$as_me:$LINENO: result: no" >&5
3037 echo "${ECHO_T}no" >&6
3038 elif test "$wxUSE_ODBC" = sys; then
3039 echo "$as_me:$LINENO: result: system version" >&5
3040 echo "${ECHO_T}system version" >&6
3041 elif test "$wxUSE_ODBC" = builtin; then
3042 echo "$as_me:$LINENO: result: builtin version" >&5
3043 echo "${ECHO_T}builtin version" >&6
3045 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3046 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3047 { (exit 1); exit 1; }; }
3051 echo "$as_me:$LINENO: checking for --with-expat" >&5
3052 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3055 # Check whether --with-expat or --without-expat was given.
3056 if test "${with_expat+set}" = set; then
3057 withval="$with_expat"
3059 if test "$withval" = yes; then
3060 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3061 elif test "$withval" = no; then
3062 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3063 elif test "$withval" = sys; then
3064 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3065 elif test "$withval" = builtin; then
3066 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3068 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3069 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3070 { (exit 1); exit 1; }; }
3075 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3076 if test "x$LINE" != x ; then
3077 eval "DEFAULT_$LINE"
3082 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3086 eval "$ac_cv_use_expat"
3087 if test "$no_cache" != 1; then
3088 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3091 if test "$wxUSE_EXPAT" = yes; then
3092 echo "$as_me:$LINENO: result: yes" >&5
3093 echo "${ECHO_T}yes" >&6
3094 elif test "$wxUSE_EXPAT" = no; then
3095 echo "$as_me:$LINENO: result: no" >&5
3096 echo "${ECHO_T}no" >&6
3097 elif test "$wxUSE_EXPAT" = sys; then
3098 echo "$as_me:$LINENO: result: system version" >&5
3099 echo "${ECHO_T}system version" >&6
3100 elif test "$wxUSE_EXPAT" = builtin; then
3101 echo "$as_me:$LINENO: result: builtin version" >&5
3102 echo "${ECHO_T}builtin version" >&6
3104 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3105 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3106 { (exit 1); exit 1; }; }
3113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3114 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3116 # Check whether --enable-shared or --disable-shared was given.
3117 if test "${enable_shared+set}" = set; then
3118 enableval="$enable_shared"
3120 if test "$enableval" = yes; then
3121 ac_cv_use_shared='wxUSE_SHARED
=yes'
3123 ac_cv_use_shared='wxUSE_SHARED
=no
'
3128 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3129 if test "x$LINE" != x ; then
3130 eval "DEFAULT_$LINE"
3135 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3139 eval "$ac_cv_use_shared"
3140 if test "$no_cache" != 1; then
3141 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3144 if test "$wxUSE_SHARED" = yes; then
3145 echo "$as_me:$LINENO: result: yes" >&5
3146 echo "${ECHO_T}yes" >&6
3148 echo "$as_me:$LINENO: result: no" >&5
3149 echo "${ECHO_T}no" >&6
3154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3155 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3157 # Check whether --enable-optimise or --disable-optimise was given.
3158 if test "${enable_optimise+set}" = set; then
3159 enableval="$enable_optimise"
3161 if test "$enableval" = yes; then
3162 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3164 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3169 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3170 if test "x$LINE" != x ; then
3171 eval "DEFAULT_$LINE"
3176 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3180 eval "$ac_cv_use_optimise"
3181 if test "$no_cache" != 1; then
3182 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3185 if test "$wxUSE_OPTIMISE" = yes; then
3186 echo "$as_me:$LINENO: result: yes" >&5
3187 echo "${ECHO_T}yes" >&6
3189 echo "$as_me:$LINENO: result: no" >&5
3190 echo "${ECHO_T}no" >&6
3195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3196 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3198 # Check whether --enable-debug or --disable-debug was given.
3199 if test "${enable_debug+set}" = set; then
3200 enableval="$enable_debug"
3202 if test "$enableval" = yes; then
3203 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3205 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3210 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3211 if test "x$LINE" != x ; then
3212 eval "DEFAULT_$LINE"
3217 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3221 eval "$ac_cv_use_debug"
3222 if test "$no_cache" != 1; then
3223 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3226 if test "$wxUSE_DEBUG" = yes; then
3227 echo "$as_me:$LINENO: result: yes" >&5
3228 echo "${ECHO_T}yes" >&6
3230 echo "$as_me:$LINENO: result: no" >&5
3231 echo "${ECHO_T}no" >&6
3236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3237 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3239 # Check whether --enable-stl or --disable-stl was given.
3240 if test "${enable_stl+set}" = set; then
3241 enableval="$enable_stl"
3243 if test "$enableval" = yes; then
3244 ac_cv_use_stl='wxUSE_STL
=yes'
3246 ac_cv_use_stl='wxUSE_STL
=no
'
3251 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3252 if test "x$LINE" != x ; then
3253 eval "DEFAULT_$LINE"
3258 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3262 eval "$ac_cv_use_stl"
3263 if test "$no_cache" != 1; then
3264 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3267 if test "$wxUSE_STL" = yes; then
3268 echo "$as_me:$LINENO: result: yes" >&5
3269 echo "${ECHO_T}yes" >&6
3271 echo "$as_me:$LINENO: result: no" >&5
3272 echo "${ECHO_T}no" >&6
3276 if test "$wxUSE_DEBUG" = "yes"; then
3277 DEFAULT_wxUSE_DEBUG_FLAG=yes
3278 DEFAULT_wxUSE_DEBUG_INFO=yes
3280 elif test "$wxUSE_DEBUG" = "no"; then
3281 DEFAULT_wxUSE_DEBUG_FLAG=no
3282 DEFAULT_wxUSE_DEBUG_INFO=no
3288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3289 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3291 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3292 if test "${enable_debug_flag+set}" = set; then
3293 enableval="$enable_debug_flag"
3295 if test "$enableval" = yes; then
3296 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3298 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3303 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3304 if test "x$LINE" != x ; then
3305 eval "DEFAULT_$LINE"
3310 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3314 eval "$ac_cv_use_debug_flag"
3315 if test "$no_cache" != 1; then
3316 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3319 if test "$wxUSE_DEBUG_FLAG" = yes; then
3320 echo "$as_me:$LINENO: result: yes" >&5
3321 echo "${ECHO_T}yes" >&6
3323 echo "$as_me:$LINENO: result: no" >&5
3324 echo "${ECHO_T}no" >&6
3329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3330 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3332 # Check whether --enable-debug_info or --disable-debug_info was given.
3333 if test "${enable_debug_info+set}" = set; then
3334 enableval="$enable_debug_info"
3336 if test "$enableval" = yes; then
3337 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3339 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3344 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x ; then
3346 eval "DEFAULT_$LINE"
3351 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3355 eval "$ac_cv_use_debug_info"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3360 if test "$wxUSE_DEBUG_INFO" = yes; then
3361 echo "$as_me:$LINENO: result: yes" >&5
3362 echo "${ECHO_T}yes" >&6
3364 echo "$as_me:$LINENO: result: no" >&5
3365 echo "${ECHO_T}no" >&6
3370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3371 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3373 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3374 if test "${enable_debug_gdb+set}" = set; then
3375 enableval="$enable_debug_gdb"
3377 if test "$enableval" = yes; then
3378 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3380 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3385 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3386 if test "x$LINE" != x ; then
3387 eval "DEFAULT_$LINE"
3392 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3396 eval "$ac_cv_use_debug_gdb"
3397 if test "$no_cache" != 1; then
3398 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3401 if test "$wxUSE_DEBUG_GDB" = yes; then
3402 echo "$as_me:$LINENO: result: yes" >&5
3403 echo "${ECHO_T}yes" >&6
3405 echo "$as_me:$LINENO: result: no" >&5
3406 echo "${ECHO_T}no" >&6
3411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3412 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3414 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3415 if test "${enable_debug_cntxt+set}" = set; then
3416 enableval="$enable_debug_cntxt"
3418 if test "$enableval" = yes; then
3419 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3421 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3426 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3427 if test "x$LINE" != x ; then
3428 eval "DEFAULT_$LINE"
3433 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3437 eval "$ac_cv_use_debug_cntxt"
3438 if test "$no_cache" != 1; then
3439 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3442 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3443 echo "$as_me:$LINENO: result: yes" >&5
3444 echo "${ECHO_T}yes" >&6
3446 echo "$as_me:$LINENO: result: no" >&5
3447 echo "${ECHO_T}no" >&6
3452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3453 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3455 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3456 if test "${enable_mem_tracing+set}" = set; then
3457 enableval="$enable_mem_tracing"
3459 if test "$enableval" = yes; then
3460 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3462 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3467 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3468 if test "x$LINE" != x ; then
3469 eval "DEFAULT_$LINE"
3474 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3478 eval "$ac_cv_use_mem_tracing"
3479 if test "$no_cache" != 1; then
3480 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3483 if test "$wxUSE_MEM_TRACING" = yes; then
3484 echo "$as_me:$LINENO: result: yes" >&5
3485 echo "${ECHO_T}yes" >&6
3487 echo "$as_me:$LINENO: result: no" >&5
3488 echo "${ECHO_T}no" >&6
3493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3494 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3496 # Check whether --enable-profile or --disable-profile was given.
3497 if test "${enable_profile+set}" = set; then
3498 enableval="$enable_profile"
3500 if test "$enableval" = yes; then
3501 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3503 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3508 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3509 if test "x$LINE" != x ; then
3510 eval "DEFAULT_$LINE"
3515 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3519 eval "$ac_cv_use_profile"
3520 if test "$no_cache" != 1; then
3521 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3524 if test "$wxUSE_PROFILE" = yes; then
3525 echo "$as_me:$LINENO: result: yes" >&5
3526 echo "${ECHO_T}yes" >&6
3528 echo "$as_me:$LINENO: result: no" >&5
3529 echo "${ECHO_T}no" >&6
3534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3535 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3537 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3538 if test "${enable_no_rtti+set}" = set; then
3539 enableval="$enable_no_rtti"
3541 if test "$enableval" = yes; then
3542 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
3544 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
3549 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3550 if test "x$LINE" != x ; then
3551 eval "DEFAULT_$LINE"
3556 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
3560 eval "$ac_cv_use_no_rtti"
3561 if test "$no_cache" != 1; then
3562 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3565 if test "$wxUSE_NO_RTTI" = yes; then
3566 echo "$as_me:$LINENO: result: yes" >&5
3567 echo "${ECHO_T}yes" >&6
3569 echo "$as_me:$LINENO: result: no" >&5
3570 echo "${ECHO_T}no" >&6
3575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3576 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3578 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3579 if test "${enable_no_exceptions+set}" = set; then
3580 enableval="$enable_no_exceptions"
3582 if test "$enableval" = yes; then
3583 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
3585 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
3590 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3591 if test "x$LINE" != x ; then
3592 eval "DEFAULT_$LINE"
3597 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
3601 eval "$ac_cv_use_no_exceptions"
3602 if test "$no_cache" != 1; then
3603 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3606 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3607 echo "$as_me:$LINENO: result: yes" >&5
3608 echo "${ECHO_T}yes" >&6
3610 echo "$as_me:$LINENO: result: no" >&5
3611 echo "${ECHO_T}no" >&6
3616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3617 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3619 # Check whether --enable-permissive or --disable-permissive was given.
3620 if test "${enable_permissive+set}" = set; then
3621 enableval="$enable_permissive"
3623 if test "$enableval" = yes; then
3624 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
3626 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
3631 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3632 if test "x$LINE" != x ; then
3633 eval "DEFAULT_$LINE"
3638 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
3642 eval "$ac_cv_use_permissive"
3643 if test "$no_cache" != 1; then
3644 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3647 if test "$wxUSE_PERMISSIVE" = yes; then
3648 echo "$as_me:$LINENO: result: yes" >&5
3649 echo "${ECHO_T}yes" >&6
3651 echo "$as_me:$LINENO: result: no" >&5
3652 echo "${ECHO_T}no" >&6
3657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3658 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3660 # Check whether --enable-no_deps or --disable-no_deps was given.
3661 if test "${enable_no_deps+set}" = set; then
3662 enableval="$enable_no_deps"
3664 if test "$enableval" = yes; then
3665 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
3667 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
3672 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3673 if test "x$LINE" != x ; then
3674 eval "DEFAULT_$LINE"
3679 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
3683 eval "$ac_cv_use_no_deps"
3684 if test "$no_cache" != 1; then
3685 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3688 if test "$wxUSE_NO_DEPS" = yes; then
3689 echo "$as_me:$LINENO: result: yes" >&5
3690 echo "${ECHO_T}yes" >&6
3692 echo "$as_me:$LINENO: result: no" >&5
3693 echo "${ECHO_T}no" >&6
3699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3700 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3702 # Check whether --enable-compat22 or --disable-compat22 was given.
3703 if test "${enable_compat22+set}" = set; then
3704 enableval="$enable_compat22"
3706 if test "$enableval" = yes; then
3707 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=yes'
3709 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
=no
'
3714 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3715 if test "x$LINE" != x ; then
3716 eval "DEFAULT_$LINE"
3721 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2
='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3725 eval "$ac_cv_use_compat22"
3726 if test "$no_cache" != 1; then
3727 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3730 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3731 echo "$as_me:$LINENO: result: yes" >&5
3732 echo "${ECHO_T}yes" >&6
3734 echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6
3739 enablestring=disable
3740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3741 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3743 # Check whether --enable-compat24 or --disable-compat24 was given.
3744 if test "${enable_compat24+set}" = set; then
3745 enableval="$enable_compat24"
3747 if test "$enableval" = yes; then
3748 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
3750 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
3755 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3756 if test "x$LINE" != x ; then
3757 eval "DEFAULT_$LINE"
3762 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3766 eval "$ac_cv_use_compat24"
3767 if test "$no_cache" != 1; then
3768 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3771 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3772 echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6
3775 echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6
3780 # Check whether --enable-rpath or --disable-rpath was given.
3781 if test "${enable_rpath+set}" = set; then
3782 enableval="$enable_rpath"
3783 wxRPATH_DIR="$enableval"
3786 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3787 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3795 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3797 # Check whether --enable-intl or --disable-intl was given.
3798 if test "${enable_intl+set}" = set; then
3799 enableval="$enable_intl"
3801 if test "$enableval" = yes; then
3802 ac_cv_use_intl='wxUSE_INTL
=yes'
3804 ac_cv_use_intl='wxUSE_INTL
=no
'
3809 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3810 if test "x$LINE" != x ; then
3811 eval "DEFAULT_$LINE"
3816 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
3820 eval "$ac_cv_use_intl"
3821 if test "$no_cache" != 1; then
3822 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3825 if test "$wxUSE_INTL" = yes; then
3826 echo "$as_me:$LINENO: result: yes" >&5
3827 echo "${ECHO_T}yes" >&6
3829 echo "$as_me:$LINENO: result: no" >&5
3830 echo "${ECHO_T}no" >&6
3835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3836 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3838 # Check whether --enable-config or --disable-config was given.
3839 if test "${enable_config+set}" = set; then
3840 enableval="$enable_config"
3842 if test "$enableval" = yes; then
3843 ac_cv_use_config='wxUSE_CONFIG
=yes'
3845 ac_cv_use_config='wxUSE_CONFIG
=no
'
3850 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3851 if test "x$LINE" != x ; then
3852 eval "DEFAULT_$LINE"
3857 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
3861 eval "$ac_cv_use_config"
3862 if test "$no_cache" != 1; then
3863 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3866 if test "$wxUSE_CONFIG" = yes; then
3867 echo "$as_me:$LINENO: result: yes" >&5
3868 echo "${ECHO_T}yes" >&6
3870 echo "$as_me:$LINENO: result: no" >&5
3871 echo "${ECHO_T}no" >&6
3877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3878 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3880 # Check whether --enable-protocols or --disable-protocols was given.
3881 if test "${enable_protocols+set}" = set; then
3882 enableval="$enable_protocols"
3884 if test "$enableval" = yes; then
3885 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
3887 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
3892 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x ; then
3894 eval "DEFAULT_$LINE"
3899 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
3903 eval "$ac_cv_use_protocols"
3904 if test "$no_cache" != 1; then
3905 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3908 if test "$wxUSE_PROTOCOL" = yes; then
3909 echo "$as_me:$LINENO: result: yes" >&5
3910 echo "${ECHO_T}yes" >&6
3912 echo "$as_me:$LINENO: result: no" >&5
3913 echo "${ECHO_T}no" >&6
3918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3919 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3921 # Check whether --enable-ftp or --disable-ftp was given.
3922 if test "${enable_ftp+set}" = set; then
3923 enableval="$enable_ftp"
3925 if test "$enableval" = yes; then
3926 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
3928 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
3933 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3934 if test "x$LINE" != x ; then
3935 eval "DEFAULT_$LINE"
3940 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
3944 eval "$ac_cv_use_ftp"
3945 if test "$no_cache" != 1; then
3946 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3949 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3950 echo "$as_me:$LINENO: result: yes" >&5
3951 echo "${ECHO_T}yes" >&6
3953 echo "$as_me:$LINENO: result: no" >&5
3954 echo "${ECHO_T}no" >&6
3959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3960 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3962 # Check whether --enable-http or --disable-http was given.
3963 if test "${enable_http+set}" = set; then
3964 enableval="$enable_http"
3966 if test "$enableval" = yes; then
3967 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
3969 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
3974 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x ; then
3976 eval "DEFAULT_$LINE"
3981 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
3985 eval "$ac_cv_use_http"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3990 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3991 echo "$as_me:$LINENO: result: yes" >&5
3992 echo "${ECHO_T}yes" >&6
3994 echo "$as_me:$LINENO: result: no" >&5
3995 echo "${ECHO_T}no" >&6
4000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4001 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4003 # Check whether --enable-fileproto or --disable-fileproto was given.
4004 if test "${enable_fileproto+set}" = set; then
4005 enableval="$enable_fileproto"
4007 if test "$enableval" = yes; then
4008 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4010 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4015 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4016 if test "x$LINE" != x ; then
4017 eval "DEFAULT_$LINE"
4022 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4026 eval "$ac_cv_use_fileproto"
4027 if test "$no_cache" != 1; then
4028 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4031 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4032 echo "$as_me:$LINENO: result: yes" >&5
4033 echo "${ECHO_T}yes" >&6
4035 echo "$as_me:$LINENO: result: no" >&5
4036 echo "${ECHO_T}no" >&6
4041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4042 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4044 # Check whether --enable-sockets or --disable-sockets was given.
4045 if test "${enable_sockets+set}" = set; then
4046 enableval="$enable_sockets"
4048 if test "$enableval" = yes; then
4049 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4051 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4056 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4057 if test "x$LINE" != x ; then
4058 eval "DEFAULT_$LINE"
4063 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4067 eval "$ac_cv_use_sockets"
4068 if test "$no_cache" != 1; then
4069 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4072 if test "$wxUSE_SOCKETS" = yes; then
4073 echo "$as_me:$LINENO: result: yes" >&5
4074 echo "${ECHO_T}yes" >&6
4076 echo "$as_me:$LINENO: result: no" >&5
4077 echo "${ECHO_T}no" >&6
4082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4083 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4085 # Check whether --enable-ole or --disable-ole was given.
4086 if test "${enable_ole+set}" = set; then
4087 enableval="$enable_ole"
4089 if test "$enableval" = yes; then
4090 ac_cv_use_ole='wxUSE_OLE
=yes'
4092 ac_cv_use_ole='wxUSE_OLE
=no
'
4097 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4098 if test "x$LINE" != x ; then
4099 eval "DEFAULT_$LINE"
4104 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4108 eval "$ac_cv_use_ole"
4109 if test "$no_cache" != 1; then
4110 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4113 if test "$wxUSE_OLE" = yes; then
4114 echo "$as_me:$LINENO: result: yes" >&5
4115 echo "${ECHO_T}yes" >&6
4117 echo "$as_me:$LINENO: result: no" >&5
4118 echo "${ECHO_T}no" >&6
4123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4124 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4126 # Check whether --enable-dataobj or --disable-dataobj was given.
4127 if test "${enable_dataobj+set}" = set; then
4128 enableval="$enable_dataobj"
4130 if test "$enableval" = yes; then
4131 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4133 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4138 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4139 if test "x$LINE" != x ; then
4140 eval "DEFAULT_$LINE"
4145 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4149 eval "$ac_cv_use_dataobj"
4150 if test "$no_cache" != 1; then
4151 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4154 if test "$wxUSE_DATAOBJ" = yes; then
4155 echo "$as_me:$LINENO: result: yes" >&5
4156 echo "${ECHO_T}yes" >&6
4158 echo "$as_me:$LINENO: result: no" >&5
4159 echo "${ECHO_T}no" >&6
4165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4166 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4168 # Check whether --enable-ipc or --disable-ipc was given.
4169 if test "${enable_ipc+set}" = set; then
4170 enableval="$enable_ipc"
4172 if test "$enableval" = yes; then
4173 ac_cv_use_ipc='wxUSE_IPC
=yes'
4175 ac_cv_use_ipc='wxUSE_IPC
=no
'
4180 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x ; then
4182 eval "DEFAULT_$LINE"
4187 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4191 eval "$ac_cv_use_ipc"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4196 if test "$wxUSE_IPC" = yes; then
4197 echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6
4200 echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6
4207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4208 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4210 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4211 if test "${enable_apple_ieee+set}" = set; then
4212 enableval="$enable_apple_ieee"
4214 if test "$enableval" = yes; then
4215 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4217 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4222 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4223 if test "x$LINE" != x ; then
4224 eval "DEFAULT_$LINE"
4229 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4233 eval "$ac_cv_use_apple_ieee"
4234 if test "$no_cache" != 1; then
4235 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4238 if test "$wxUSE_APPLE_IEEE" = yes; then
4239 echo "$as_me:$LINENO: result: yes" >&5
4240 echo "${ECHO_T}yes" >&6
4242 echo "$as_me:$LINENO: result: no" >&5
4243 echo "${ECHO_T}no" >&6
4248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4249 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4251 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4252 if test "${enable_catch_segvs+set}" = set; then
4253 enableval="$enable_catch_segvs"
4255 if test "$enableval" = yes; then
4256 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4258 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4263 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x ; then
4265 eval "DEFAULT_$LINE"
4270 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4274 eval "$ac_cv_use_catch_segvs"
4275 if test "$no_cache" != 1; then
4276 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4279 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4280 echo "$as_me:$LINENO: result: yes" >&5
4281 echo "${ECHO_T}yes" >&6
4283 echo "$as_me:$LINENO: result: no" >&5
4284 echo "${ECHO_T}no" >&6
4289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4290 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4292 # Check whether --enable-cmdline or --disable-cmdline was given.
4293 if test "${enable_cmdline+set}" = set; then
4294 enableval="$enable_cmdline"
4296 if test "$enableval" = yes; then
4297 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4299 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4304 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4305 if test "x$LINE" != x ; then
4306 eval "DEFAULT_$LINE"
4311 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4315 eval "$ac_cv_use_cmdline"
4316 if test "$no_cache" != 1; then
4317 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4320 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4321 echo "$as_me:$LINENO: result: yes" >&5
4322 echo "${ECHO_T}yes" >&6
4324 echo "$as_me:$LINENO: result: no" >&5
4325 echo "${ECHO_T}no" >&6
4330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4331 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4333 # Check whether --enable-datetime or --disable-datetime was given.
4334 if test "${enable_datetime+set}" = set; then
4335 enableval="$enable_datetime"
4337 if test "$enableval" = yes; then
4338 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4340 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4345 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x ; then
4347 eval "DEFAULT_$LINE"
4352 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4356 eval "$ac_cv_use_datetime"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4361 if test "$wxUSE_DATETIME" = yes; then
4362 echo "$as_me:$LINENO: result: yes" >&5
4363 echo "${ECHO_T}yes" >&6
4365 echo "$as_me:$LINENO: result: no" >&5
4366 echo "${ECHO_T}no" >&6
4371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4372 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4374 # Check whether --enable-dialupman or --disable-dialupman was given.
4375 if test "${enable_dialupman+set}" = set; then
4376 enableval="$enable_dialupman"
4378 if test "$enableval" = yes; then
4379 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
4381 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
4386 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4387 if test "x$LINE" != x ; then
4388 eval "DEFAULT_$LINE"
4393 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
4397 eval "$ac_cv_use_dialupman"
4398 if test "$no_cache" != 1; then
4399 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4402 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4403 echo "$as_me:$LINENO: result: yes" >&5
4404 echo "${ECHO_T}yes" >&6
4406 echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6
4412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4413 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4415 # Check whether --enable-dynlib or --disable-dynlib was given.
4416 if test "${enable_dynlib+set}" = set; then
4417 enableval="$enable_dynlib"
4419 if test "$enableval" = yes; then
4420 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
4422 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
4427 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x ; then
4429 eval "DEFAULT_$LINE"
4434 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
4438 eval "$ac_cv_use_dynlib"
4439 if test "$no_cache" != 1; then
4440 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4443 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4444 echo "$as_me:$LINENO: result: yes" >&5
4445 echo "${ECHO_T}yes" >&6
4447 echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6
4453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4454 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4456 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4457 if test "${enable_dynamicloader+set}" = set; then
4458 enableval="$enable_dynamicloader"
4460 if test "$enableval" = yes; then
4461 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
4463 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
4468 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x ; then
4470 eval "DEFAULT_$LINE"
4475 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
4479 eval "$ac_cv_use_dynamicloader"
4480 if test "$no_cache" != 1; then
4481 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4484 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4485 echo "$as_me:$LINENO: result: yes" >&5
4486 echo "${ECHO_T}yes" >&6
4488 echo "$as_me:$LINENO: result: no" >&5
4489 echo "${ECHO_T}no" >&6
4494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4495 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4497 # Check whether --enable-exceptions or --disable-exceptions was given.
4498 if test "${enable_exceptions+set}" = set; then
4499 enableval="$enable_exceptions"
4501 if test "$enableval" = yes; then
4502 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
4504 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
4509 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4510 if test "x$LINE" != x ; then
4511 eval "DEFAULT_$LINE"
4516 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
4520 eval "$ac_cv_use_exceptions"
4521 if test "$no_cache" != 1; then
4522 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4525 if test "$wxUSE_EXCEPTIONS" = yes; then
4526 echo "$as_me:$LINENO: result: yes" >&5
4527 echo "${ECHO_T}yes" >&6
4529 echo "$as_me:$LINENO: result: no" >&5
4530 echo "${ECHO_T}no" >&6
4535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4536 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4538 # Check whether --enable-ffile or --disable-ffile was given.
4539 if test "${enable_ffile+set}" = set; then
4540 enableval="$enable_ffile"
4542 if test "$enableval" = yes; then
4543 ac_cv_use_ffile='wxUSE_FFILE
=yes'
4545 ac_cv_use_ffile='wxUSE_FFILE
=no
'
4550 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4551 if test "x$LINE" != x ; then
4552 eval "DEFAULT_$LINE"
4557 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
4561 eval "$ac_cv_use_ffile"
4562 if test "$no_cache" != 1; then
4563 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4566 if test "$wxUSE_FFILE" = yes; then
4567 echo "$as_me:$LINENO: result: yes" >&5
4568 echo "${ECHO_T}yes" >&6
4570 echo "$as_me:$LINENO: result: no" >&5
4571 echo "${ECHO_T}no" >&6
4576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4577 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4579 # Check whether --enable-file or --disable-file was given.
4580 if test "${enable_file+set}" = set; then
4581 enableval="$enable_file"
4583 if test "$enableval" = yes; then
4584 ac_cv_use_file='wxUSE_FILE
=yes'
4586 ac_cv_use_file='wxUSE_FILE
=no
'
4591 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4592 if test "x$LINE" != x ; then
4593 eval "DEFAULT_$LINE"
4598 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
4602 eval "$ac_cv_use_file"
4603 if test "$no_cache" != 1; then
4604 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4607 if test "$wxUSE_FILE" = yes; then
4608 echo "$as_me:$LINENO: result: yes" >&5
4609 echo "${ECHO_T}yes" >&6
4611 echo "$as_me:$LINENO: result: no" >&5
4612 echo "${ECHO_T}no" >&6
4617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4618 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4620 # Check whether --enable-filesystem or --disable-filesystem was given.
4621 if test "${enable_filesystem+set}" = set; then
4622 enableval="$enable_filesystem"
4624 if test "$enableval" = yes; then
4625 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
4627 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
4632 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x ; then
4634 eval "DEFAULT_$LINE"
4639 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
4643 eval "$ac_cv_use_filesystem"
4644 if test "$no_cache" != 1; then
4645 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4648 if test "$wxUSE_FILESYSTEM" = yes; then
4649 echo "$as_me:$LINENO: result: yes" >&5
4650 echo "${ECHO_T}yes" >&6
4652 echo "$as_me:$LINENO: result: no" >&5
4653 echo "${ECHO_T}no" >&6
4658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4659 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4661 # Check whether --enable-fontmap or --disable-fontmap was given.
4662 if test "${enable_fontmap+set}" = set; then
4663 enableval="$enable_fontmap"
4665 if test "$enableval" = yes; then
4666 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
4668 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
4673 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4674 if test "x$LINE" != x ; then
4675 eval "DEFAULT_$LINE"
4680 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
4684 eval "$ac_cv_use_fontmap"
4685 if test "$no_cache" != 1; then
4686 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4689 if test "$wxUSE_FONTMAP" = yes; then
4690 echo "$as_me:$LINENO: result: yes" >&5
4691 echo "${ECHO_T}yes" >&6
4693 echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6
4699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4702 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4703 if test "${enable_fs_inet+set}" = set; then
4704 enableval="$enable_fs_inet"
4706 if test "$enableval" = yes; then
4707 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
4709 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
4714 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x ; then
4716 eval "DEFAULT_$LINE"
4721 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
4725 eval "$ac_cv_use_fs_inet"
4726 if test "$no_cache" != 1; then
4727 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4730 if test "$wxUSE_FS_INET" = yes; then
4731 echo "$as_me:$LINENO: result: yes" >&5
4732 echo "${ECHO_T}yes" >&6
4734 echo "$as_me:$LINENO: result: no" >&5
4735 echo "${ECHO_T}no" >&6
4740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4741 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4743 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4744 if test "${enable_fs_zip+set}" = set; then
4745 enableval="$enable_fs_zip"
4747 if test "$enableval" = yes; then
4748 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
4750 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
4755 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4756 if test "x$LINE" != x ; then
4757 eval "DEFAULT_$LINE"
4762 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
4766 eval "$ac_cv_use_fs_zip"
4767 if test "$no_cache" != 1; then
4768 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4771 if test "$wxUSE_FS_ZIP" = yes; then
4772 echo "$as_me:$LINENO: result: yes" >&5
4773 echo "${ECHO_T}yes" >&6
4775 echo "$as_me:$LINENO: result: no" >&5
4776 echo "${ECHO_T}no" >&6
4781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4782 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4784 # Check whether --enable-geometry or --disable-geometry was given.
4785 if test "${enable_geometry+set}" = set; then
4786 enableval="$enable_geometry"
4788 if test "$enableval" = yes; then
4789 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
4791 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
4796 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x ; then
4798 eval "DEFAULT_$LINE"
4803 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
4807 eval "$ac_cv_use_geometry"
4808 if test "$no_cache" != 1; then
4809 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4812 if test "$wxUSE_GEOMETRY" = yes; then
4813 echo "$as_me:$LINENO: result: yes" >&5
4814 echo "${ECHO_T}yes" >&6
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4823 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4825 # Check whether --enable-log or --disable-log was given.
4826 if test "${enable_log+set}" = set; then
4827 enableval="$enable_log"
4829 if test "$enableval" = yes; then
4830 ac_cv_use_log='wxUSE_LOG
=yes'
4832 ac_cv_use_log='wxUSE_LOG
=no
'
4837 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x ; then
4839 eval "DEFAULT_$LINE"
4844 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
4848 eval "$ac_cv_use_log"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4853 if test "$wxUSE_LOG" = yes; then
4854 echo "$as_me:$LINENO: result: yes" >&5
4855 echo "${ECHO_T}yes" >&6
4857 echo "$as_me:$LINENO: result: no" >&5
4858 echo "${ECHO_T}no" >&6
4863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4864 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4866 # Check whether --enable-longlong or --disable-longlong was given.
4867 if test "${enable_longlong+set}" = set; then
4868 enableval="$enable_longlong"
4870 if test "$enableval" = yes; then
4871 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
4873 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
4878 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x ; then
4880 eval "DEFAULT_$LINE"
4885 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
4889 eval "$ac_cv_use_longlong"
4890 if test "$no_cache" != 1; then
4891 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4894 if test "$wxUSE_LONGLONG" = yes; then
4895 echo "$as_me:$LINENO: result: yes" >&5
4896 echo "${ECHO_T}yes" >&6
4898 echo "$as_me:$LINENO: result: no" >&5
4899 echo "${ECHO_T}no" >&6
4904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
4905 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
4907 # Check whether --enable-mimetype or --disable-mimetype was given.
4908 if test "${enable_mimetype+set}" = set; then
4909 enableval="$enable_mimetype"
4911 if test "$enableval" = yes; then
4912 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
4914 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
4919 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4926 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
4930 eval "$ac_cv_use_mimetype"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4935 if test "$wxUSE_MIMETYPE" = yes; then
4936 echo "$as_me:$LINENO: result: yes" >&5
4937 echo "${ECHO_T}yes" >&6
4939 echo "$as_me:$LINENO: result: no" >&5
4940 echo "${ECHO_T}no" >&6
4945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4948 # Check whether --enable-mslu or --disable-mslu was given.
4949 if test "${enable_mslu+set}" = set; then
4950 enableval="$enable_mslu"
4952 if test "$enableval" = yes; then
4953 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4955 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4960 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x ; then
4962 eval "DEFAULT_$LINE"
4967 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
4971 eval "$ac_cv_use_mslu"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4976 if test "$wxUSE_UNICODE_MSLU" = yes; then
4977 echo "$as_me:$LINENO: result: yes" >&5
4978 echo "${ECHO_T}yes" >&6
4980 echo "$as_me:$LINENO: result: no" >&5
4981 echo "${ECHO_T}no" >&6
4986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
4987 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
4989 # Check whether --enable-snglinst or --disable-snglinst was given.
4990 if test "${enable_snglinst+set}" = set; then
4991 enableval="$enable_snglinst"
4993 if test "$enableval" = yes; then
4994 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
4996 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5001 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5002 if test "x$LINE" != x ; then
5003 eval "DEFAULT_$LINE"
5008 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5012 eval "$ac_cv_use_snglinst"
5013 if test "$no_cache" != 1; then
5014 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5017 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5018 echo "$as_me:$LINENO: result: yes" >&5
5019 echo "${ECHO_T}yes" >&6
5021 echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6
5027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5028 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5030 # Check whether --enable-streams or --disable-streams was given.
5031 if test "${enable_streams+set}" = set; then
5032 enableval="$enable_streams"
5034 if test "$enableval" = yes; then
5035 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5037 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5042 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5043 if test "x$LINE" != x ; then
5044 eval "DEFAULT_$LINE"
5049 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5053 eval "$ac_cv_use_streams"
5054 if test "$no_cache" != 1; then
5055 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5058 if test "$wxUSE_STREAMS" = yes; then
5059 echo "$as_me:$LINENO: result: yes" >&5
5060 echo "${ECHO_T}yes" >&6
5062 echo "$as_me:$LINENO: result: no" >&5
5063 echo "${ECHO_T}no" >&6
5068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5071 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5072 if test "${enable_std_iostreams+set}" = set; then
5073 enableval="$enable_std_iostreams"
5075 if test "$enableval" = yes; then
5076 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5078 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5083 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x ; then
5085 eval "DEFAULT_$LINE"
5090 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5094 eval "$ac_cv_use_std_iostreams"
5095 if test "$no_cache" != 1; then
5096 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5099 if test "$wxUSE_STD_IOSTREAM" = yes; then
5100 echo "$as_me:$LINENO: result: yes" >&5
5101 echo "${ECHO_T}yes" >&6
5103 echo "$as_me:$LINENO: result: no" >&5
5104 echo "${ECHO_T}no" >&6
5109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5110 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5112 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5113 if test "${enable_stopwatch+set}" = set; then
5114 enableval="$enable_stopwatch"
5116 if test "$enableval" = yes; then
5117 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5119 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5124 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x ; then
5126 eval "DEFAULT_$LINE"
5131 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5135 eval "$ac_cv_use_stopwatch"
5136 if test "$no_cache" != 1; then
5137 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5140 if test "$wxUSE_STOPWATCH" = yes; then
5141 echo "$as_me:$LINENO: result: yes" >&5
5142 echo "${ECHO_T}yes" >&6
5144 echo "$as_me:$LINENO: result: no" >&5
5145 echo "${ECHO_T}no" >&6
5150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5151 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5153 # Check whether --enable-system_options or --disable-system_options was given.
5154 if test "${enable_system_options+set}" = set; then
5155 enableval="$enable_system_options"
5157 if test "$enableval" = yes; then
5158 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5160 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5165 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5166 if test "x$LINE" != x ; then
5167 eval "DEFAULT_$LINE"
5172 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5176 eval "$ac_cv_use_system_options"
5177 if test "$no_cache" != 1; then
5178 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5181 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5182 echo "$as_me:$LINENO: result: yes" >&5
5183 echo "${ECHO_T}yes" >&6
5185 echo "$as_me:$LINENO: result: no" >&5
5186 echo "${ECHO_T}no" >&6
5191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5192 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5194 # Check whether --enable-textbuf or --disable-textbuf was given.
5195 if test "${enable_textbuf+set}" = set; then
5196 enableval="$enable_textbuf"
5198 if test "$enableval" = yes; then
5199 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5201 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5206 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5207 if test "x$LINE" != x ; then
5208 eval "DEFAULT_$LINE"
5213 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5217 eval "$ac_cv_use_textbuf"
5218 if test "$no_cache" != 1; then
5219 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5222 if test "$wxUSE_TEXTBUFFER" = yes; then
5223 echo "$as_me:$LINENO: result: yes" >&5
5224 echo "${ECHO_T}yes" >&6
5226 echo "$as_me:$LINENO: result: no" >&5
5227 echo "${ECHO_T}no" >&6
5232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5233 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5235 # Check whether --enable-textfile or --disable-textfile was given.
5236 if test "${enable_textfile+set}" = set; then
5237 enableval="$enable_textfile"
5239 if test "$enableval" = yes; then
5240 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
5242 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
5247 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5248 if test "x$LINE" != x ; then
5249 eval "DEFAULT_$LINE"
5254 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
5258 eval "$ac_cv_use_textfile"
5259 if test "$no_cache" != 1; then
5260 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5263 if test "$wxUSE_TEXTFILE" = yes; then
5264 echo "$as_me:$LINENO: result: yes" >&5
5265 echo "${ECHO_T}yes" >&6
5267 echo "$as_me:$LINENO: result: no" >&5
5268 echo "${ECHO_T}no" >&6
5273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5276 # Check whether --enable-timer or --disable-timer was given.
5277 if test "${enable_timer+set}" = set; then
5278 enableval="$enable_timer"
5280 if test "$enableval" = yes; then
5281 ac_cv_use_timer='wxUSE_TIMER
=yes'
5283 ac_cv_use_timer='wxUSE_TIMER
=no
'
5288 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5289 if test "x$LINE" != x ; then
5290 eval "DEFAULT_$LINE"
5295 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
5299 eval "$ac_cv_use_timer"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5304 if test "$wxUSE_TIMER" = yes; then
5305 echo "$as_me:$LINENO: result: yes" >&5
5306 echo "${ECHO_T}yes" >&6
5308 echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6
5314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5317 # Check whether --enable-unicode or --disable-unicode was given.
5318 if test "${enable_unicode+set}" = set; then
5319 enableval="$enable_unicode"
5321 if test "$enableval" = yes; then
5322 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
5324 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
5329 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5330 if test "x$LINE" != x ; then
5331 eval "DEFAULT_$LINE"
5336 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
5340 eval "$ac_cv_use_unicode"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5345 if test "$wxUSE_UNICODE" = yes; then
5346 echo "$as_me:$LINENO: result: yes" >&5
5347 echo "${ECHO_T}yes" >&6
5349 echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6
5355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
5358 # Check whether --enable-wave or --disable-wave was given.
5359 if test "${enable_wave+set}" = set; then
5360 enableval="$enable_wave"
5362 if test "$enableval" = yes; then
5363 ac_cv_use_wave='wxUSE_WAVE
=yes'
5365 ac_cv_use_wave='wxUSE_WAVE
=no
'
5370 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x ; then
5372 eval "DEFAULT_$LINE"
5377 ac_cv_use_wave='wxUSE_WAVE
='$DEFAULT_wxUSE_WAVE
5381 eval "$ac_cv_use_wave"
5382 if test "$no_cache" != 1; then
5383 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
5386 if test "$wxUSE_WAVE" = yes; then
5387 echo "$as_me:$LINENO: result: yes" >&5
5388 echo "${ECHO_T}yes" >&6
5390 echo "$as_me:$LINENO: result: no" >&5
5391 echo "${ECHO_T}no" >&6
5396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5397 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5399 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5400 if test "${enable_wxprintfv+set}" = set; then
5401 enableval="$enable_wxprintfv"
5403 if test "$enableval" = yes; then
5404 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
5406 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
5411 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5412 if test "x$LINE" != x ; then
5413 eval "DEFAULT_$LINE"
5418 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5422 eval "$ac_cv_use_wxprintfv"
5423 if test "$no_cache" != 1; then
5424 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5427 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5428 echo "$as_me:$LINENO: result: yes" >&5
5429 echo "${ECHO_T}yes" >&6
5431 echo "$as_me:$LINENO: result: no" >&5
5432 echo "${ECHO_T}no" >&6
5437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5438 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5440 # Check whether --enable-zipstream or --disable-zipstream was given.
5441 if test "${enable_zipstream+set}" = set; then
5442 enableval="$enable_zipstream"
5444 if test "$enableval" = yes; then
5445 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
5447 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
5452 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x ; then
5454 eval "DEFAULT_$LINE"
5459 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
5463 eval "$ac_cv_use_zipstream"
5464 if test "$no_cache" != 1; then
5465 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5468 if test "$wxUSE_ZIPSTREAM" = yes; then
5469 echo "$as_me:$LINENO: result: yes" >&5
5470 echo "${ECHO_T}yes" >&6
5472 echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6
5478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5479 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5481 # Check whether --enable-gzstream or --disable-gzstream was given.
5482 if test "${enable_gzstream+set}" = set; then
5483 enableval="$enable_gzstream"
5485 if test "$enableval" = yes; then
5486 ac_cv_use_gzstream='wxUSE_GZSTREAM
=yes'
5488 ac_cv_use_gzstream='wxUSE_GZSTREAM
=no
'
5493 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5494 if test "x$LINE" != x ; then
5495 eval "DEFAULT_$LINE"
5500 ac_cv_use_gzstream='wxUSE_GZSTREAM
='$DEFAULT_wxUSE_GZSTREAM
5504 eval "$ac_cv_use_gzstream"
5505 if test "$no_cache" != 1; then
5506 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5509 if test "$wxUSE_GZSTREAM" = yes; then
5510 echo "$as_me:$LINENO: result: yes" >&5
5511 echo "${ECHO_T}yes" >&6
5513 echo "$as_me:$LINENO: result: no" >&5
5514 echo "${ECHO_T}no" >&6
5520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5523 # Check whether --enable-url or --disable-url was given.
5524 if test "${enable_url+set}" = set; then
5525 enableval="$enable_url"
5527 if test "$enableval" = yes; then
5528 ac_cv_use_url='wxUSE_URL
=yes'
5530 ac_cv_use_url='wxUSE_URL
=no
'
5535 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5536 if test "x$LINE" != x ; then
5537 eval "DEFAULT_$LINE"
5542 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
5546 eval "$ac_cv_use_url"
5547 if test "$no_cache" != 1; then
5548 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5551 if test "$wxUSE_URL" = yes; then
5552 echo "$as_me:$LINENO: result: yes" >&5
5553 echo "${ECHO_T}yes" >&6
5555 echo "$as_me:$LINENO: result: no" >&5
5556 echo "${ECHO_T}no" >&6
5561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5562 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5564 # Check whether --enable-protocol or --disable-protocol was given.
5565 if test "${enable_protocol+set}" = set; then
5566 enableval="$enable_protocol"
5568 if test "$enableval" = yes; then
5569 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
5571 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
5576 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5577 if test "x$LINE" != x ; then
5578 eval "DEFAULT_$LINE"
5583 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
5587 eval "$ac_cv_use_protocol"
5588 if test "$no_cache" != 1; then
5589 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5592 if test "$wxUSE_PROTOCOL" = yes; then
5593 echo "$as_me:$LINENO: result: yes" >&5
5594 echo "${ECHO_T}yes" >&6
5596 echo "$as_me:$LINENO: result: no" >&5
5597 echo "${ECHO_T}no" >&6
5602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5603 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5605 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5606 if test "${enable_protocol_http+set}" = set; then
5607 enableval="$enable_protocol_http"
5609 if test "$enableval" = yes; then
5610 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
5612 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
5617 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5618 if test "x$LINE" != x ; then
5619 eval "DEFAULT_$LINE"
5624 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
5628 eval "$ac_cv_use_protocol_http"
5629 if test "$no_cache" != 1; then
5630 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5633 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5634 echo "$as_me:$LINENO: result: yes" >&5
5635 echo "${ECHO_T}yes" >&6
5637 echo "$as_me:$LINENO: result: no" >&5
5638 echo "${ECHO_T}no" >&6
5643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5644 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5646 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5647 if test "${enable_protocol_ftp+set}" = set; then
5648 enableval="$enable_protocol_ftp"
5650 if test "$enableval" = yes; then
5651 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
5653 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
5658 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5659 if test "x$LINE" != x ; then
5660 eval "DEFAULT_$LINE"
5665 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
5669 eval "$ac_cv_use_protocol_ftp"
5670 if test "$no_cache" != 1; then
5671 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5674 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5675 echo "$as_me:$LINENO: result: yes" >&5
5676 echo "${ECHO_T}yes" >&6
5678 echo "$as_me:$LINENO: result: no" >&5
5679 echo "${ECHO_T}no" >&6
5684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5685 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5687 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5688 if test "${enable_protocol_file+set}" = set; then
5689 enableval="$enable_protocol_file"
5691 if test "$enableval" = yes; then
5692 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
5694 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
5699 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5700 if test "x$LINE" != x ; then
5701 eval "DEFAULT_$LINE"
5706 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
5710 eval "$ac_cv_use_protocol_file"
5711 if test "$no_cache" != 1; then
5712 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5715 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5716 echo "$as_me:$LINENO: result: yes" >&5
5717 echo "${ECHO_T}yes" >&6
5719 echo "$as_me:$LINENO: result: no" >&5
5720 echo "${ECHO_T}no" >&6
5728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5729 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5731 # Check whether --enable-threads or --disable-threads was given.
5732 if test "${enable_threads+set}" = set; then
5733 enableval="$enable_threads"
5735 if test "$enableval" = yes; then
5736 ac_cv_use_threads='wxUSE_THREADS
=yes'
5738 ac_cv_use_threads='wxUSE_THREADS
=no
'
5743 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5750 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
5754 eval "$ac_cv_use_threads"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5759 if test "$wxUSE_THREADS" = yes; then
5760 echo "$as_me:$LINENO: result: yes" >&5
5761 echo "${ECHO_T}yes" >&6
5763 echo "$as_me:$LINENO: result: no" >&5
5764 echo "${ECHO_T}no" >&6
5768 if test "$wxUSE_GUI" = "yes"; then
5773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5774 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5776 # Check whether --enable-docview or --disable-docview was given.
5777 if test "${enable_docview+set}" = set; then
5778 enableval="$enable_docview"
5780 if test "$enableval" = yes; then
5781 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
5783 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
5788 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5789 if test "x$LINE" != x ; then
5790 eval "DEFAULT_$LINE"
5795 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5799 eval "$ac_cv_use_docview"
5800 if test "$no_cache" != 1; then
5801 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5804 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5805 echo "$as_me:$LINENO: result: yes" >&5
5806 echo "${ECHO_T}yes" >&6
5808 echo "$as_me:$LINENO: result: no" >&5
5809 echo "${ECHO_T}no" >&6
5814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5815 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5817 # Check whether --enable-help or --disable-help was given.
5818 if test "${enable_help+set}" = set; then
5819 enableval="$enable_help"
5821 if test "$enableval" = yes; then
5822 ac_cv_use_help='wxUSE_HELP
=yes'
5824 ac_cv_use_help='wxUSE_HELP
=no
'
5829 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5830 if test "x$LINE" != x ; then
5831 eval "DEFAULT_$LINE"
5836 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
5840 eval "$ac_cv_use_help"
5841 if test "$no_cache" != 1; then
5842 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5845 if test "$wxUSE_HELP" = yes; then
5846 echo "$as_me:$LINENO: result: yes" >&5
5847 echo "${ECHO_T}yes" >&6
5849 echo "$as_me:$LINENO: result: no" >&5
5850 echo "${ECHO_T}no" >&6
5855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5856 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5858 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5859 if test "${enable_mshtmlhelp+set}" = set; then
5860 enableval="$enable_mshtmlhelp"
5862 if test "$enableval" = yes; then
5863 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
5865 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
5870 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5871 if test "x$LINE" != x ; then
5872 eval "DEFAULT_$LINE"
5877 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
5881 eval "$ac_cv_use_mshtmlhelp"
5882 if test "$no_cache" != 1; then
5883 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5886 if test "$wxUSE_MS_HTML_HELP" = yes; then
5887 echo "$as_me:$LINENO: result: yes" >&5
5888 echo "${ECHO_T}yes" >&6
5890 echo "$as_me:$LINENO: result: no" >&5
5891 echo "${ECHO_T}no" >&6
5896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5897 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5899 # Check whether --enable-html or --disable-html was given.
5900 if test "${enable_html+set}" = set; then
5901 enableval="$enable_html"
5903 if test "$enableval" = yes; then
5904 ac_cv_use_html='wxUSE_HTML
=yes'
5906 ac_cv_use_html='wxUSE_HTML
=no
'
5911 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5912 if test "x$LINE" != x ; then
5913 eval "DEFAULT_$LINE"
5918 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
5922 eval "$ac_cv_use_html"
5923 if test "$no_cache" != 1; then
5924 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5927 if test "$wxUSE_HTML" = yes; then
5928 echo "$as_me:$LINENO: result: yes" >&5
5929 echo "${ECHO_T}yes" >&6
5931 echo "$as_me:$LINENO: result: no" >&5
5932 echo "${ECHO_T}no" >&6
5937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5938 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5940 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5941 if test "${enable_htmlhelp+set}" = set; then
5942 enableval="$enable_htmlhelp"
5944 if test "$enableval" = yes; then
5945 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
5947 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
5952 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5953 if test "x$LINE" != x ; then
5954 eval "DEFAULT_$LINE"
5959 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
5963 eval "$ac_cv_use_htmlhelp"
5964 if test "$no_cache" != 1; then
5965 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5968 if test "$wxUSE_WXHTML_HELP" = yes; then
5969 echo "$as_me:$LINENO: result: yes" >&5
5970 echo "${ECHO_T}yes" >&6
5972 echo "$as_me:$LINENO: result: no" >&5
5973 echo "${ECHO_T}no" >&6
5978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5979 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5981 # Check whether --enable-constraints or --disable-constraints was given.
5982 if test "${enable_constraints+set}" = set; then
5983 enableval="$enable_constraints"
5985 if test "$enableval" = yes; then
5986 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
5988 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
5993 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5994 if test "x$LINE" != x ; then
5995 eval "DEFAULT_$LINE"
6000 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6004 eval "$ac_cv_use_constraints"
6005 if test "$no_cache" != 1; then
6006 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6009 if test "$wxUSE_CONSTRAINTS" = yes; then
6010 echo "$as_me:$LINENO: result: yes" >&5
6011 echo "${ECHO_T}yes" >&6
6013 echo "$as_me:$LINENO: result: no" >&5
6014 echo "${ECHO_T}no" >&6
6019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6020 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6022 # Check whether --enable-printarch or --disable-printarch was given.
6023 if test "${enable_printarch+set}" = set; then
6024 enableval="$enable_printarch"
6026 if test "$enableval" = yes; then
6027 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6029 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6034 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6035 if test "x$LINE" != x ; then
6036 eval "DEFAULT_$LINE"
6041 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6045 eval "$ac_cv_use_printarch"
6046 if test "$no_cache" != 1; then
6047 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6050 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6051 echo "$as_me:$LINENO: result: yes" >&5
6052 echo "${ECHO_T}yes" >&6
6054 echo "$as_me:$LINENO: result: no" >&5
6055 echo "${ECHO_T}no" >&6
6060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6061 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6063 # Check whether --enable-mdi or --disable-mdi was given.
6064 if test "${enable_mdi+set}" = set; then
6065 enableval="$enable_mdi"
6067 if test "$enableval" = yes; then
6068 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=yes'
6070 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
=no
'
6075 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x ; then
6077 eval "DEFAULT_$LINE"
6082 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6086 eval "$ac_cv_use_mdi"
6087 if test "$no_cache" != 1; then
6088 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6091 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6092 echo "$as_me:$LINENO: result: yes" >&5
6093 echo "${ECHO_T}yes" >&6
6095 echo "$as_me:$LINENO: result: no" >&5
6096 echo "${ECHO_T}no" >&6
6101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6102 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6104 # Check whether --enable-loggui or --disable-loggui was given.
6105 if test "${enable_loggui+set}" = set; then
6106 enableval="$enable_loggui"
6108 if test "$enableval" = yes; then
6109 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6111 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6116 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6117 if test "x$LINE" != x ; then
6118 eval "DEFAULT_$LINE"
6123 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6127 eval "$ac_cv_use_loggui"
6128 if test "$no_cache" != 1; then
6129 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6132 if test "$wxUSE_LOGGUI" = yes; then
6133 echo "$as_me:$LINENO: result: yes" >&5
6134 echo "${ECHO_T}yes" >&6
6136 echo "$as_me:$LINENO: result: no" >&5
6137 echo "${ECHO_T}no" >&6
6142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6143 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6145 # Check whether --enable-logwin or --disable-logwin was given.
6146 if test "${enable_logwin+set}" = set; then
6147 enableval="$enable_logwin"
6149 if test "$enableval" = yes; then
6150 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6152 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6157 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6158 if test "x$LINE" != x ; then
6159 eval "DEFAULT_$LINE"
6164 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6168 eval "$ac_cv_use_logwin"
6169 if test "$no_cache" != 1; then
6170 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6173 if test "$wxUSE_LOGWINDOW" = yes; then
6174 echo "$as_me:$LINENO: result: yes" >&5
6175 echo "${ECHO_T}yes" >&6
6177 echo "$as_me:$LINENO: result: no" >&5
6178 echo "${ECHO_T}no" >&6
6183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6184 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6186 # Check whether --enable-logdialog or --disable-logdialog was given.
6187 if test "${enable_logdialog+set}" = set; then
6188 enableval="$enable_logdialog"
6190 if test "$enableval" = yes; then
6191 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6193 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6198 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6199 if test "x$LINE" != x ; then
6200 eval "DEFAULT_$LINE"
6205 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
6209 eval "$ac_cv_use_logdialog"
6210 if test "$no_cache" != 1; then
6211 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6214 if test "$wxUSE_LOGDIALOG" = yes; then
6215 echo "$as_me:$LINENO: result: yes" >&5
6216 echo "${ECHO_T}yes" >&6
6218 echo "$as_me:$LINENO: result: no" >&5
6219 echo "${ECHO_T}no" >&6
6225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6226 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6228 # Check whether --enable-postscript or --disable-postscript was given.
6229 if test "${enable_postscript+set}" = set; then
6230 enableval="$enable_postscript"
6232 if test "$enableval" = yes; then
6233 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
6235 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
6240 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6247 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
6251 eval "$ac_cv_use_postscript"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6256 if test "$wxUSE_POSTSCRIPT" = yes; then
6257 echo "$as_me:$LINENO: result: yes" >&5
6258 echo "${ECHO_T}yes" >&6
6260 echo "$as_me:$LINENO: result: no" >&5
6261 echo "${ECHO_T}no" >&6
6269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6270 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6272 # Check whether --enable-prologio or --disable-prologio was given.
6273 if test "${enable_prologio+set}" = set; then
6274 enableval="$enable_prologio"
6276 if test "$enableval" = yes; then
6277 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
6279 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
6284 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6285 if test "x$LINE" != x ; then
6286 eval "DEFAULT_$LINE"
6291 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
6295 eval "$ac_cv_use_prologio"
6296 if test "$no_cache" != 1; then
6297 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6300 if test "$wxUSE_PROLOGIO" = yes; then
6301 echo "$as_me:$LINENO: result: yes" >&5
6302 echo "${ECHO_T}yes" >&6
6304 echo "$as_me:$LINENO: result: no" >&5
6305 echo "${ECHO_T}no" >&6
6310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6311 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6313 # Check whether --enable-resources or --disable-resources was given.
6314 if test "${enable_resources+set}" = set; then
6315 enableval="$enable_resources"
6317 if test "$enableval" = yes; then
6318 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
6320 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
6325 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6326 if test "x$LINE" != x ; then
6327 eval "DEFAULT_$LINE"
6332 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
6336 eval "$ac_cv_use_resources"
6337 if test "$no_cache" != 1; then
6338 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6341 if test "$wxUSE_RESOURCES" = yes; then
6342 echo "$as_me:$LINENO: result: yes" >&5
6343 echo "${ECHO_T}yes" >&6
6345 echo "$as_me:$LINENO: result: no" >&5
6346 echo "${ECHO_T}no" >&6
6353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6354 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6356 # Check whether --enable-clipboard or --disable-clipboard was given.
6357 if test "${enable_clipboard+set}" = set; then
6358 enableval="$enable_clipboard"
6360 if test "$enableval" = yes; then
6361 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
6363 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
6368 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6369 if test "x$LINE" != x ; then
6370 eval "DEFAULT_$LINE"
6375 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
6379 eval "$ac_cv_use_clipboard"
6380 if test "$no_cache" != 1; then
6381 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6384 if test "$wxUSE_CLIPBOARD" = yes; then
6385 echo "$as_me:$LINENO: result: yes" >&5
6386 echo "${ECHO_T}yes" >&6
6388 echo "$as_me:$LINENO: result: no" >&5
6389 echo "${ECHO_T}no" >&6
6394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6395 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6397 # Check whether --enable-dnd or --disable-dnd was given.
6398 if test "${enable_dnd+set}" = set; then
6399 enableval="$enable_dnd"
6401 if test "$enableval" = yes; then
6402 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
6404 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
6409 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6410 if test "x$LINE" != x ; then
6411 eval "DEFAULT_$LINE"
6416 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
6420 eval "$ac_cv_use_dnd"
6421 if test "$no_cache" != 1; then
6422 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6425 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6426 echo "$as_me:$LINENO: result: yes" >&5
6427 echo "${ECHO_T}yes" >&6
6429 echo "$as_me:$LINENO: result: no" >&5
6430 echo "${ECHO_T}no" >&6
6435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6436 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6438 # Check whether --enable-metafile or --disable-metafile was given.
6439 if test "${enable_metafile+set}" = set; then
6440 enableval="$enable_metafile"
6442 if test "$enableval" = yes; then
6443 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
6445 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
6450 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6451 if test "x$LINE" != x ; then
6452 eval "DEFAULT_$LINE"
6457 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
6461 eval "$ac_cv_use_metafile"
6462 if test "$no_cache" != 1; then
6463 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6466 if test "$wxUSE_METAFILE" = yes; then
6467 echo "$as_me:$LINENO: result: yes" >&5
6468 echo "${ECHO_T}yes" >&6
6470 echo "$as_me:$LINENO: result: no" >&5
6471 echo "${ECHO_T}no" >&6
6479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6480 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6482 # Check whether --enable-controls or --disable-controls was given.
6483 if test "${enable_controls+set}" = set; then
6484 enableval="$enable_controls"
6486 if test "$enableval" = yes; then
6487 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
6489 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
6494 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6495 if test "x$LINE" != x ; then
6496 eval "DEFAULT_$LINE"
6501 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
6505 eval "$ac_cv_use_controls"
6506 if test "$no_cache" != 1; then
6507 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6510 if test "$wxUSE_CONTROLS" = yes; then
6511 echo "$as_me:$LINENO: result: yes" >&5
6512 echo "${ECHO_T}yes" >&6
6514 echo "$as_me:$LINENO: result: no" >&5
6515 echo "${ECHO_T}no" >&6
6519 if test "$wxUSE_CONTROLS" = "yes"; then
6520 DEFAULT_wxUSE_ACCEL=yes
6521 DEFAULT_wxUSE_BMPBUTTON=yes
6522 DEFAULT_wxUSE_BUTTON=yes
6523 DEFAULT_wxUSE_CALCTRL=no
6524 DEFAULT_wxUSE_CARET=yes
6525 DEFAULT_wxUSE_COMBOBOX=yes
6526 DEFAULT_wxUSE_CHECKBOX=yes
6527 DEFAULT_wxUSE_CHECKLISTBOX=yes
6528 DEFAULT_wxUSE_CHOICE=yes
6529 DEFAULT_wxUSE_GAUGE=yes
6530 DEFAULT_wxUSE_GRID=yes
6531 DEFAULT_wxUSE_IMAGLIST=yes
6532 DEFAULT_wxUSE_LISTBOOK=yes
6533 DEFAULT_wxUSE_LISTBOX=yes
6534 DEFAULT_wxUSE_LISTCTRL=yes
6535 DEFAULT_wxUSE_NOTEBOOK=yes
6536 DEFAULT_wxUSE_RADIOBOX=yes
6537 DEFAULT_wxUSE_RADIOBTN=yes
6538 DEFAULT_wxUSE_SASH=yes
6539 DEFAULT_wxUSE_SCROLLBAR=yes
6540 DEFAULT_wxUSE_SLIDER=yes
6541 DEFAULT_wxUSE_SPINBTN=yes
6542 DEFAULT_wxUSE_SPINCTRL=yes
6543 DEFAULT_wxUSE_SPLITTER=yes
6544 DEFAULT_wxUSE_STATBMP=yes
6545 DEFAULT_wxUSE_STATBOX=yes
6546 DEFAULT_wxUSE_STATLINE=yes
6547 DEFAULT_wxUSE_STATUSBAR=yes
6548 DEFAULT_wxUSE_TAB_DIALOG=yes
6549 DEFAULT_wxUSE_TOGGLEBTN=yes
6550 DEFAULT_wxUSE_TOOLBAR=yes
6551 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6552 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6553 DEFAULT_wxUSE_TOOLTIPS=yes
6554 DEFAULT_wxUSE_TREECTRL=yes
6555 DEFAULT_wxUSE_POPUPWIN=yes
6556 DEFAULT_wxUSE_TIPWINDOW=yes
6557 elif test "$wxUSE_CONTROLS" = "no"; then
6558 DEFAULT_wxUSE_ACCEL=no
6559 DEFAULT_wxUSE_BMPBUTTON=no
6560 DEFAULT_wxUSE_BUTTON=no
6561 DEFAULT_wxUSE_CALCTRL=no
6562 DEFAULT_wxUSE_CARET=no
6563 DEFAULT_wxUSE_COMBOBOX=no
6564 DEFAULT_wxUSE_CHECKBOX=no
6565 DEFAULT_wxUSE_CHECKLISTBOX=no
6566 DEFAULT_wxUSE_CHOICE=no
6567 DEFAULT_wxUSE_GAUGE=no
6568 DEFAULT_wxUSE_GRID=no
6569 DEFAULT_wxUSE_IMAGLIST=no
6570 DEFAULT_wxUSE_LISTBOOK=no
6571 DEFAULT_wxUSE_LISTBOX=no
6572 DEFAULT_wxUSE_LISTCTRL=no
6573 DEFAULT_wxUSE_NOTEBOOK=no
6574 DEFAULT_wxUSE_RADIOBOX=no
6575 DEFAULT_wxUSE_RADIOBTN=no
6576 DEFAULT_wxUSE_SASH=no
6577 DEFAULT_wxUSE_SCROLLBAR=no
6578 DEFAULT_wxUSE_SLIDER=no
6579 DEFAULT_wxUSE_SPINBTN=no
6580 DEFAULT_wxUSE_SPINCTRL=no
6581 DEFAULT_wxUSE_SPLITTER=no
6582 DEFAULT_wxUSE_STATBMP=no
6583 DEFAULT_wxUSE_STATBOX=no
6584 DEFAULT_wxUSE_STATLINE=no
6585 DEFAULT_wxUSE_STATUSBAR=no
6586 DEFAULT_wxUSE_TAB_DIALOG=no
6587 DEFAULT_wxUSE_TOGGLEBTN=no
6588 DEFAULT_wxUSE_TOOLBAR=no
6589 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6590 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6591 DEFAULT_wxUSE_TOOLTIPS=no
6592 DEFAULT_wxUSE_TREECTRL=no
6593 DEFAULT_wxUSE_POPUPWIN=no
6594 DEFAULT_wxUSE_TIPWINDOW=no
6597 ## FIXME: This is a blatant hack
6598 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6599 wxUSE_PRINTING_ARCHITECTURE=no
6600 wxUSE_DRAG_AND_DROP=no
6601 # Generic notebook requires tab dialog
6602 DEFAULT_wxUSE_TABDIALOG=yes
6603 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6604 DEFAULT_wxUSE_SCROLLBAR=no
6605 DEFAULT_wxUSE_TOOLTIPS=no
6606 DEFAULT_wxUSE_DRAGIMAGE=no
6611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6612 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6614 # Check whether --enable-accel or --disable-accel was given.
6615 if test "${enable_accel+set}" = set; then
6616 enableval="$enable_accel"
6618 if test "$enableval" = yes; then
6619 ac_cv_use_accel='wxUSE_ACCEL
=yes'
6621 ac_cv_use_accel='wxUSE_ACCEL
=no
'
6626 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x ; then
6628 eval "DEFAULT_$LINE"
6633 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
6637 eval "$ac_cv_use_accel"
6638 if test "$no_cache" != 1; then
6639 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6642 if test "$wxUSE_ACCEL" = yes; then
6643 echo "$as_me:$LINENO: result: yes" >&5
6644 echo "${ECHO_T}yes" >&6
6646 echo "$as_me:$LINENO: result: no" >&5
6647 echo "${ECHO_T}no" >&6
6652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6653 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6655 # Check whether --enable-button or --disable-button was given.
6656 if test "${enable_button+set}" = set; then
6657 enableval="$enable_button"
6659 if test "$enableval" = yes; then
6660 ac_cv_use_button='wxUSE_BUTTON
=yes'
6662 ac_cv_use_button='wxUSE_BUTTON
=no
'
6667 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6668 if test "x$LINE" != x ; then
6669 eval "DEFAULT_$LINE"
6674 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
6678 eval "$ac_cv_use_button"
6679 if test "$no_cache" != 1; then
6680 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6683 if test "$wxUSE_BUTTON" = yes; then
6684 echo "$as_me:$LINENO: result: yes" >&5
6685 echo "${ECHO_T}yes" >&6
6687 echo "$as_me:$LINENO: result: no" >&5
6688 echo "${ECHO_T}no" >&6
6693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6694 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6696 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6697 if test "${enable_bmpbutton+set}" = set; then
6698 enableval="$enable_bmpbutton"
6700 if test "$enableval" = yes; then
6701 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
6703 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
6708 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6709 if test "x$LINE" != x ; then
6710 eval "DEFAULT_$LINE"
6715 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
6719 eval "$ac_cv_use_bmpbutton"
6720 if test "$no_cache" != 1; then
6721 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6724 if test "$wxUSE_BMPBUTTON" = yes; then
6725 echo "$as_me:$LINENO: result: yes" >&5
6726 echo "${ECHO_T}yes" >&6
6728 echo "$as_me:$LINENO: result: no" >&5
6729 echo "${ECHO_T}no" >&6
6734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6735 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6737 # Check whether --enable-calendar or --disable-calendar was given.
6738 if test "${enable_calendar+set}" = set; then
6739 enableval="$enable_calendar"
6741 if test "$enableval" = yes; then
6742 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
6744 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
6749 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6750 if test "x$LINE" != x ; then
6751 eval "DEFAULT_$LINE"
6756 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
6760 eval "$ac_cv_use_calendar"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6765 if test "$wxUSE_CALCTRL" = yes; then
6766 echo "$as_me:$LINENO: result: yes" >&5
6767 echo "${ECHO_T}yes" >&6
6769 echo "$as_me:$LINENO: result: no" >&5
6770 echo "${ECHO_T}no" >&6
6775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6776 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6778 # Check whether --enable-caret or --disable-caret was given.
6779 if test "${enable_caret+set}" = set; then
6780 enableval="$enable_caret"
6782 if test "$enableval" = yes; then
6783 ac_cv_use_caret='wxUSE_CARET
=yes'
6785 ac_cv_use_caret='wxUSE_CARET
=no
'
6790 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x ; then
6792 eval "DEFAULT_$LINE"
6797 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
6801 eval "$ac_cv_use_caret"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6806 if test "$wxUSE_CARET" = yes; then
6807 echo "$as_me:$LINENO: result: yes" >&5
6808 echo "${ECHO_T}yes" >&6
6810 echo "$as_me:$LINENO: result: no" >&5
6811 echo "${ECHO_T}no" >&6
6816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6819 # Check whether --enable-checkbox or --disable-checkbox was given.
6820 if test "${enable_checkbox+set}" = set; then
6821 enableval="$enable_checkbox"
6823 if test "$enableval" = yes; then
6824 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
6826 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
6831 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x ; then
6833 eval "DEFAULT_$LINE"
6838 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
6842 eval "$ac_cv_use_checkbox"
6843 if test "$no_cache" != 1; then
6844 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6847 if test "$wxUSE_CHECKBOX" = yes; then
6848 echo "$as_me:$LINENO: result: yes" >&5
6849 echo "${ECHO_T}yes" >&6
6851 echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6
6857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6858 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6860 # Check whether --enable-checklst or --disable-checklst was given.
6861 if test "${enable_checklst+set}" = set; then
6862 enableval="$enable_checklst"
6864 if test "$enableval" = yes; then
6865 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
6867 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
6872 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x ; then
6874 eval "DEFAULT_$LINE"
6879 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
6883 eval "$ac_cv_use_checklst"
6884 if test "$no_cache" != 1; then
6885 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6888 if test "$wxUSE_CHECKLST" = yes; then
6889 echo "$as_me:$LINENO: result: yes" >&5
6890 echo "${ECHO_T}yes" >&6
6892 echo "$as_me:$LINENO: result: no" >&5
6893 echo "${ECHO_T}no" >&6
6898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6901 # Check whether --enable-choice or --disable-choice was given.
6902 if test "${enable_choice+set}" = set; then
6903 enableval="$enable_choice"
6905 if test "$enableval" = yes; then
6906 ac_cv_use_choice='wxUSE_CHOICE
=yes'
6908 ac_cv_use_choice='wxUSE_CHOICE
=no
'
6913 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6914 if test "x$LINE" != x ; then
6915 eval "DEFAULT_$LINE"
6920 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
6924 eval "$ac_cv_use_choice"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6929 if test "$wxUSE_CHOICE" = yes; then
6930 echo "$as_me:$LINENO: result: yes" >&5
6931 echo "${ECHO_T}yes" >&6
6933 echo "$as_me:$LINENO: result: no" >&5
6934 echo "${ECHO_T}no" >&6
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6942 # Check whether --enable-combobox or --disable-combobox was given.
6943 if test "${enable_combobox+set}" = set; then
6944 enableval="$enable_combobox"
6946 if test "$enableval" = yes; then
6947 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
6949 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
6954 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x ; then
6956 eval "DEFAULT_$LINE"
6961 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
6965 eval "$ac_cv_use_combobox"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6970 if test "$wxUSE_COMBOBOX" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6
6974 echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6
6980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6983 # Check whether --enable-display or --disable-display was given.
6984 if test "${enable_display+set}" = set; then
6985 enableval="$enable_display"
6987 if test "$enableval" = yes; then
6988 ac_cv_use_display='wxUSE_DISPLAY
=yes'
6990 ac_cv_use_display='wxUSE_DISPLAY
=no
'
6995 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x ; then
6997 eval "DEFAULT_$LINE"
7002 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
7006 eval "$ac_cv_use_display"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7011 if test "$wxUSE_DISPLAY" = yes; then
7012 echo "$as_me:$LINENO: result: yes" >&5
7013 echo "${ECHO_T}yes" >&6
7015 echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7024 # Check whether --enable-gauge or --disable-gauge was given.
7025 if test "${enable_gauge+set}" = set; then
7026 enableval="$enable_gauge"
7028 if test "$enableval" = yes; then
7029 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7031 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7036 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x ; then
7038 eval "DEFAULT_$LINE"
7043 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
7047 eval "$ac_cv_use_gauge"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7052 if test "$wxUSE_GAUGE" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7065 # Check whether --enable-grid or --disable-grid was given.
7066 if test "${enable_grid+set}" = set; then
7067 enableval="$enable_grid"
7069 if test "$enableval" = yes; then
7070 ac_cv_use_grid='wxUSE_GRID
=yes'
7072 ac_cv_use_grid='wxUSE_GRID
=no
'
7077 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x ; then
7079 eval "DEFAULT_$LINE"
7084 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
7088 eval "$ac_cv_use_grid"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7093 if test "$wxUSE_GRID" = yes; then
7094 echo "$as_me:$LINENO: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6
7097 echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6
7103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7104 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7106 # Check whether --enable-imaglist or --disable-imaglist was given.
7107 if test "${enable_imaglist+set}" = set; then
7108 enableval="$enable_imaglist"
7110 if test "$enableval" = yes; then
7111 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
7113 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
7118 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7119 if test "x$LINE" != x ; then
7120 eval "DEFAULT_$LINE"
7125 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
7129 eval "$ac_cv_use_imaglist"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7134 if test "$wxUSE_IMAGLIST" = yes; then
7135 echo "$as_me:$LINENO: result: yes" >&5
7136 echo "${ECHO_T}yes" >&6
7138 echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6
7144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7147 # Check whether --enable-listbook or --disable-listbook was given.
7148 if test "${enable_listbook+set}" = set; then
7149 enableval="$enable_listbook"
7151 if test "$enableval" = yes; then
7152 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
7154 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
7159 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x ; then
7161 eval "DEFAULT_$LINE"
7166 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
7170 eval "$ac_cv_use_listbook"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7175 if test "$wxUSE_LISTBOOK" = yes; then
7176 echo "$as_me:$LINENO: result: yes" >&5
7177 echo "${ECHO_T}yes" >&6
7179 echo "$as_me:$LINENO: result: no" >&5
7180 echo "${ECHO_T}no" >&6
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7188 # Check whether --enable-listbox or --disable-listbox was given.
7189 if test "${enable_listbox+set}" = set; then
7190 enableval="$enable_listbox"
7192 if test "$enableval" = yes; then
7193 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
7195 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
7200 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x ; then
7202 eval "DEFAULT_$LINE"
7207 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
7211 eval "$ac_cv_use_listbox"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7216 if test "$wxUSE_LISTBOX" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6
7220 echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7229 # Check whether --enable-listctrl or --disable-listctrl was given.
7230 if test "${enable_listctrl+set}" = set; then
7231 enableval="$enable_listctrl"
7233 if test "$enableval" = yes; then
7234 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
7236 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
7241 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x ; then
7243 eval "DEFAULT_$LINE"
7248 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
7252 eval "$ac_cv_use_listctrl"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7257 if test "$wxUSE_LISTCTRL" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7270 # Check whether --enable-notebook or --disable-notebook was given.
7271 if test "${enable_notebook+set}" = set; then
7272 enableval="$enable_notebook"
7274 if test "$enableval" = yes; then
7275 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
7277 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
7282 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x ; then
7284 eval "DEFAULT_$LINE"
7289 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
7293 eval "$ac_cv_use_notebook"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7298 if test "$wxUSE_NOTEBOOK" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7311 # Check whether --enable-radiobox or --disable-radiobox was given.
7312 if test "${enable_radiobox+set}" = set; then
7313 enableval="$enable_radiobox"
7315 if test "$enableval" = yes; then
7316 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
7318 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
7323 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7324 if test "x$LINE" != x ; then
7325 eval "DEFAULT_$LINE"
7330 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
7334 eval "$ac_cv_use_radiobox"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7339 if test "$wxUSE_RADIOBOX" = yes; then
7340 echo "$as_me:$LINENO: result: yes" >&5
7341 echo "${ECHO_T}yes" >&6
7343 echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6
7349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7352 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7353 if test "${enable_radiobtn+set}" = set; then
7354 enableval="$enable_radiobtn"
7356 if test "$enableval" = yes; then
7357 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
7359 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
7364 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7365 if test "x$LINE" != x ; then
7366 eval "DEFAULT_$LINE"
7371 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
7375 eval "$ac_cv_use_radiobtn"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7380 if test "$wxUSE_RADIOBTN" = yes; then
7381 echo "$as_me:$LINENO: result: yes" >&5
7382 echo "${ECHO_T}yes" >&6
7384 echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6
7390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7393 # Check whether --enable-sash or --disable-sash was given.
7394 if test "${enable_sash+set}" = set; then
7395 enableval="$enable_sash"
7397 if test "$enableval" = yes; then
7398 ac_cv_use_sash='wxUSE_SASH
=yes'
7400 ac_cv_use_sash='wxUSE_SASH
=no
'
7405 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7406 if test "x$LINE" != x ; then
7407 eval "DEFAULT_$LINE"
7412 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
7416 eval "$ac_cv_use_sash"
7417 if test "$no_cache" != 1; then
7418 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7421 if test "$wxUSE_SASH" = yes; then
7422 echo "$as_me:$LINENO: result: yes" >&5
7423 echo "${ECHO_T}yes" >&6
7425 echo "$as_me:$LINENO: result: no" >&5
7426 echo "${ECHO_T}no" >&6
7431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7432 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7434 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7435 if test "${enable_scrollbar+set}" = set; then
7436 enableval="$enable_scrollbar"
7438 if test "$enableval" = yes; then
7439 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
7441 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
7446 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7447 if test "x$LINE" != x ; then
7448 eval "DEFAULT_$LINE"
7453 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
7457 eval "$ac_cv_use_scrollbar"
7458 if test "$no_cache" != 1; then
7459 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7462 if test "$wxUSE_SCROLLBAR" = yes; then
7463 echo "$as_me:$LINENO: result: yes" >&5
7464 echo "${ECHO_T}yes" >&6
7466 echo "$as_me:$LINENO: result: no" >&5
7467 echo "${ECHO_T}no" >&6
7472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7473 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7475 # Check whether --enable-slider or --disable-slider was given.
7476 if test "${enable_slider+set}" = set; then
7477 enableval="$enable_slider"
7479 if test "$enableval" = yes; then
7480 ac_cv_use_slider='wxUSE_SLIDER
=yes'
7482 ac_cv_use_slider='wxUSE_SLIDER
=no
'
7487 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7488 if test "x$LINE" != x ; then
7489 eval "DEFAULT_$LINE"
7494 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
7498 eval "$ac_cv_use_slider"
7499 if test "$no_cache" != 1; then
7500 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7503 if test "$wxUSE_SLIDER" = yes; then
7504 echo "$as_me:$LINENO: result: yes" >&5
7505 echo "${ECHO_T}yes" >&6
7507 echo "$as_me:$LINENO: result: no" >&5
7508 echo "${ECHO_T}no" >&6
7513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7514 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7516 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7517 if test "${enable_spinbtn+set}" = set; then
7518 enableval="$enable_spinbtn"
7520 if test "$enableval" = yes; then
7521 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
7523 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
7528 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x ; then
7530 eval "DEFAULT_$LINE"
7535 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
7539 eval "$ac_cv_use_spinbtn"
7540 if test "$no_cache" != 1; then
7541 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7544 if test "$wxUSE_SPINBTN" = yes; then
7545 echo "$as_me:$LINENO: result: yes" >&5
7546 echo "${ECHO_T}yes" >&6
7548 echo "$as_me:$LINENO: result: no" >&5
7549 echo "${ECHO_T}no" >&6
7554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7555 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7557 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7558 if test "${enable_spinctrl+set}" = set; then
7559 enableval="$enable_spinctrl"
7561 if test "$enableval" = yes; then
7562 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
7564 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
7569 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x ; then
7571 eval "DEFAULT_$LINE"
7576 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
7580 eval "$ac_cv_use_spinctrl"
7581 if test "$no_cache" != 1; then
7582 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7585 if test "$wxUSE_SPINCTRL" = yes; then
7586 echo "$as_me:$LINENO: result: yes" >&5
7587 echo "${ECHO_T}yes" >&6
7589 echo "$as_me:$LINENO: result: no" >&5
7590 echo "${ECHO_T}no" >&6
7595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7596 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7598 # Check whether --enable-splitter or --disable-splitter was given.
7599 if test "${enable_splitter+set}" = set; then
7600 enableval="$enable_splitter"
7602 if test "$enableval" = yes; then
7603 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
7605 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
7610 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7611 if test "x$LINE" != x ; then
7612 eval "DEFAULT_$LINE"
7617 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
7621 eval "$ac_cv_use_splitter"
7622 if test "$no_cache" != 1; then
7623 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7626 if test "$wxUSE_SPLITTER" = yes; then
7627 echo "$as_me:$LINENO: result: yes" >&5
7628 echo "${ECHO_T}yes" >&6
7630 echo "$as_me:$LINENO: result: no" >&5
7631 echo "${ECHO_T}no" >&6
7636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7637 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7639 # Check whether --enable-statbmp or --disable-statbmp was given.
7640 if test "${enable_statbmp+set}" = set; then
7641 enableval="$enable_statbmp"
7643 if test "$enableval" = yes; then
7644 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
7646 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
7651 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7652 if test "x$LINE" != x ; then
7653 eval "DEFAULT_$LINE"
7658 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
7662 eval "$ac_cv_use_statbmp"
7663 if test "$no_cache" != 1; then
7664 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7667 if test "$wxUSE_STATBMP" = yes; then
7668 echo "$as_me:$LINENO: result: yes" >&5
7669 echo "${ECHO_T}yes" >&6
7671 echo "$as_me:$LINENO: result: no" >&5
7672 echo "${ECHO_T}no" >&6
7677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7678 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7680 # Check whether --enable-statbox or --disable-statbox was given.
7681 if test "${enable_statbox+set}" = set; then
7682 enableval="$enable_statbox"
7684 if test "$enableval" = yes; then
7685 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
7687 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
7692 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7693 if test "x$LINE" != x ; then
7694 eval "DEFAULT_$LINE"
7699 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
7703 eval "$ac_cv_use_statbox"
7704 if test "$no_cache" != 1; then
7705 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7708 if test "$wxUSE_STATBOX" = yes; then
7709 echo "$as_me:$LINENO: result: yes" >&5
7710 echo "${ECHO_T}yes" >&6
7712 echo "$as_me:$LINENO: result: no" >&5
7713 echo "${ECHO_T}no" >&6
7718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7719 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7721 # Check whether --enable-statline or --disable-statline was given.
7722 if test "${enable_statline+set}" = set; then
7723 enableval="$enable_statline"
7725 if test "$enableval" = yes; then
7726 ac_cv_use_statline='wxUSE_STATLINE
=yes'
7728 ac_cv_use_statline='wxUSE_STATLINE
=no
'
7733 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7734 if test "x$LINE" != x ; then
7735 eval "DEFAULT_$LINE"
7740 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
7744 eval "$ac_cv_use_statline"
7745 if test "$no_cache" != 1; then
7746 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7749 if test "$wxUSE_STATLINE" = yes; then
7750 echo "$as_me:$LINENO: result: yes" >&5
7751 echo "${ECHO_T}yes" >&6
7753 echo "$as_me:$LINENO: result: no" >&5
7754 echo "${ECHO_T}no" >&6
7759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7760 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7762 # Check whether --enable-stattext or --disable-stattext was given.
7763 if test "${enable_stattext+set}" = set; then
7764 enableval="$enable_stattext"
7766 if test "$enableval" = yes; then
7767 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
7769 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
7774 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7775 if test "x$LINE" != x ; then
7776 eval "DEFAULT_$LINE"
7781 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
7785 eval "$ac_cv_use_stattext"
7786 if test "$no_cache" != 1; then
7787 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7790 if test "$wxUSE_STATTEXT" = yes; then
7791 echo "$as_me:$LINENO: result: yes" >&5
7792 echo "${ECHO_T}yes" >&6
7794 echo "$as_me:$LINENO: result: no" >&5
7795 echo "${ECHO_T}no" >&6
7800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7801 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7803 # Check whether --enable-statusbar or --disable-statusbar was given.
7804 if test "${enable_statusbar+set}" = set; then
7805 enableval="$enable_statusbar"
7807 if test "$enableval" = yes; then
7808 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
7810 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
7815 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7816 if test "x$LINE" != x ; then
7817 eval "DEFAULT_$LINE"
7822 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
7826 eval "$ac_cv_use_statusbar"
7827 if test "$no_cache" != 1; then
7828 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7831 if test "$wxUSE_STATUSBAR" = yes; then
7832 echo "$as_me:$LINENO: result: yes" >&5
7833 echo "${ECHO_T}yes" >&6
7835 echo "$as_me:$LINENO: result: no" >&5
7836 echo "${ECHO_T}no" >&6
7841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7844 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7845 if test "${enable_tabdialog+set}" = set; then
7846 enableval="$enable_tabdialog"
7848 if test "$enableval" = yes; then
7849 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
7851 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
7856 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7857 if test "x$LINE" != x ; then
7858 eval "DEFAULT_$LINE"
7863 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
7867 eval "$ac_cv_use_tabdialog"
7868 if test "$no_cache" != 1; then
7869 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7872 if test "$wxUSE_TABDIALOG" = yes; then
7873 echo "$as_me:$LINENO: result: yes" >&5
7874 echo "${ECHO_T}yes" >&6
7876 echo "$as_me:$LINENO: result: no" >&5
7877 echo "${ECHO_T}no" >&6
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7885 # Check whether --enable-textctrl or --disable-textctrl was given.
7886 if test "${enable_textctrl+set}" = set; then
7887 enableval="$enable_textctrl"
7889 if test "$enableval" = yes; then
7890 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
7892 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
7897 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7904 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
7908 eval "$ac_cv_use_textctrl"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7913 if test "$wxUSE_TEXTCTRL" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7924 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7926 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7927 if test "${enable_togglebtn+set}" = set; then
7928 enableval="$enable_togglebtn"
7930 if test "$enableval" = yes; then
7931 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
7933 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
7938 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7939 if test "x$LINE" != x ; then
7940 eval "DEFAULT_$LINE"
7945 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
7949 eval "$ac_cv_use_togglebtn"
7950 if test "$no_cache" != 1; then
7951 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7954 if test "$wxUSE_TOGGLEBTN" = yes; then
7955 echo "$as_me:$LINENO: result: yes" >&5
7956 echo "${ECHO_T}yes" >&6
7958 echo "$as_me:$LINENO: result: no" >&5
7959 echo "${ECHO_T}no" >&6
7964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7965 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7967 # Check whether --enable-toolbar or --disable-toolbar was given.
7968 if test "${enable_toolbar+set}" = set; then
7969 enableval="$enable_toolbar"
7971 if test "$enableval" = yes; then
7972 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
7974 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
7979 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7980 if test "x$LINE" != x ; then
7981 eval "DEFAULT_$LINE"
7986 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
7990 eval "$ac_cv_use_toolbar"
7991 if test "$no_cache" != 1; then
7992 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7995 if test "$wxUSE_TOOLBAR" = yes; then
7996 echo "$as_me:$LINENO: result: yes" >&5
7997 echo "${ECHO_T}yes" >&6
7999 echo "$as_me:$LINENO: result: no" >&5
8000 echo "${ECHO_T}no" >&6
8005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8006 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8008 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8009 if test "${enable_tbarnative+set}" = set; then
8010 enableval="$enable_tbarnative"
8012 if test "$enableval" = yes; then
8013 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
8015 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
8020 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8021 if test "x$LINE" != x ; then
8022 eval "DEFAULT_$LINE"
8027 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8031 eval "$ac_cv_use_tbarnative"
8032 if test "$no_cache" != 1; then
8033 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8036 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8037 echo "$as_me:$LINENO: result: yes" >&5
8038 echo "${ECHO_T}yes" >&6
8040 echo "$as_me:$LINENO: result: no" >&5
8041 echo "${ECHO_T}no" >&6
8046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8047 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8049 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8050 if test "${enable_tbarsmpl+set}" = set; then
8051 enableval="$enable_tbarsmpl"
8053 if test "$enableval" = yes; then
8054 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
8056 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
8061 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8062 if test "x$LINE" != x ; then
8063 eval "DEFAULT_$LINE"
8068 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8072 eval "$ac_cv_use_tbarsmpl"
8073 if test "$no_cache" != 1; then
8074 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8077 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8078 echo "$as_me:$LINENO: result: yes" >&5
8079 echo "${ECHO_T}yes" >&6
8081 echo "$as_me:$LINENO: result: no" >&5
8082 echo "${ECHO_T}no" >&6
8087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8088 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8090 # Check whether --enable-treectrl or --disable-treectrl was given.
8091 if test "${enable_treectrl+set}" = set; then
8092 enableval="$enable_treectrl"
8094 if test "$enableval" = yes; then
8095 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
8097 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
8102 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8103 if test "x$LINE" != x ; then
8104 eval "DEFAULT_$LINE"
8109 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
8113 eval "$ac_cv_use_treectrl"
8114 if test "$no_cache" != 1; then
8115 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8118 if test "$wxUSE_TREECTRL" = yes; then
8119 echo "$as_me:$LINENO: result: yes" >&5
8120 echo "${ECHO_T}yes" >&6
8122 echo "$as_me:$LINENO: result: no" >&5
8123 echo "${ECHO_T}no" >&6
8128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8129 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8131 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8132 if test "${enable_tipwindow+set}" = set; then
8133 enableval="$enable_tipwindow"
8135 if test "$enableval" = yes; then
8136 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
8138 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
8143 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8144 if test "x$LINE" != x ; then
8145 eval "DEFAULT_$LINE"
8150 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
8154 eval "$ac_cv_use_tipwindow"
8155 if test "$no_cache" != 1; then
8156 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8159 if test "$wxUSE_TIPWINDOW" = yes; then
8160 echo "$as_me:$LINENO: result: yes" >&5
8161 echo "${ECHO_T}yes" >&6
8163 echo "$as_me:$LINENO: result: no" >&5
8164 echo "${ECHO_T}no" >&6
8169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8170 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8172 # Check whether --enable-popupwin or --disable-popupwin was given.
8173 if test "${enable_popupwin+set}" = set; then
8174 enableval="$enable_popupwin"
8176 if test "$enableval" = yes; then
8177 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
8179 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
8184 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8185 if test "x$LINE" != x ; then
8186 eval "DEFAULT_$LINE"
8191 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
8195 eval "$ac_cv_use_popupwin"
8196 if test "$no_cache" != 1; then
8197 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8200 if test "$wxUSE_POPUPWIN" = yes; then
8201 echo "$as_me:$LINENO: result: yes" >&5
8202 echo "${ECHO_T}yes" >&6
8204 echo "$as_me:$LINENO: result: no" >&5
8205 echo "${ECHO_T}no" >&6
8212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8215 # Check whether --enable-commondlg or --disable-commondlg was given.
8216 if test "${enable_commondlg+set}" = set; then
8217 enableval="$enable_commondlg"
8219 if test "$enableval" = yes; then
8220 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
8222 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
8227 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8228 if test "x$LINE" != x ; then
8229 eval "DEFAULT_$LINE"
8234 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
8238 eval "$ac_cv_use_commondlg"
8239 if test "$no_cache" != 1; then
8240 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8243 if test "$wxUSE_COMMONDLGS" = yes; then
8244 echo "$as_me:$LINENO: result: yes" >&5
8245 echo "${ECHO_T}yes" >&6
8247 echo "$as_me:$LINENO: result: no" >&5
8248 echo "${ECHO_T}no" >&6
8253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8254 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8256 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8257 if test "${enable_choicedlg+set}" = set; then
8258 enableval="$enable_choicedlg"
8260 if test "$enableval" = yes; then
8261 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
8263 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
8268 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8269 if test "x$LINE" != x ; then
8270 eval "DEFAULT_$LINE"
8275 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
8279 eval "$ac_cv_use_choicedlg"
8280 if test "$no_cache" != 1; then
8281 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8284 if test "$wxUSE_CHOICEDLG" = yes; then
8285 echo "$as_me:$LINENO: result: yes" >&5
8286 echo "${ECHO_T}yes" >&6
8288 echo "$as_me:$LINENO: result: no" >&5
8289 echo "${ECHO_T}no" >&6
8294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8295 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8297 # Check whether --enable-coldlg or --disable-coldlg was given.
8298 if test "${enable_coldlg+set}" = set; then
8299 enableval="$enable_coldlg"
8301 if test "$enableval" = yes; then
8302 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
8304 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
8309 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8310 if test "x$LINE" != x ; then
8311 eval "DEFAULT_$LINE"
8316 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
8320 eval "$ac_cv_use_coldlg"
8321 if test "$no_cache" != 1; then
8322 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8325 if test "$wxUSE_COLOURDLG" = yes; then
8326 echo "$as_me:$LINENO: result: yes" >&5
8327 echo "${ECHO_T}yes" >&6
8329 echo "$as_me:$LINENO: result: no" >&5
8330 echo "${ECHO_T}no" >&6
8335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8336 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8338 # Check whether --enable-filedlg or --disable-filedlg was given.
8339 if test "${enable_filedlg+set}" = set; then
8340 enableval="$enable_filedlg"
8342 if test "$enableval" = yes; then
8343 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
8345 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
8350 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8351 if test "x$LINE" != x ; then
8352 eval "DEFAULT_$LINE"
8357 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
8361 eval "$ac_cv_use_filedlg"
8362 if test "$no_cache" != 1; then
8363 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8366 if test "$wxUSE_FILEDLG" = yes; then
8367 echo "$as_me:$LINENO: result: yes" >&5
8368 echo "${ECHO_T}yes" >&6
8370 echo "$as_me:$LINENO: result: no" >&5
8371 echo "${ECHO_T}no" >&6
8376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8379 # Check whether --enable-finddlg or --disable-finddlg was given.
8380 if test "${enable_finddlg+set}" = set; then
8381 enableval="$enable_finddlg"
8383 if test "$enableval" = yes; then
8384 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
8386 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
8391 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8392 if test "x$LINE" != x ; then
8393 eval "DEFAULT_$LINE"
8398 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
8402 eval "$ac_cv_use_finddlg"
8403 if test "$no_cache" != 1; then
8404 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8407 if test "$wxUSE_FINDREPLDLG" = yes; then
8408 echo "$as_me:$LINENO: result: yes" >&5
8409 echo "${ECHO_T}yes" >&6
8411 echo "$as_me:$LINENO: result: no" >&5
8412 echo "${ECHO_T}no" >&6
8417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8418 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8420 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8421 if test "${enable_fontdlg+set}" = set; then
8422 enableval="$enable_fontdlg"
8424 if test "$enableval" = yes; then
8425 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
8427 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
8432 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8433 if test "x$LINE" != x ; then
8434 eval "DEFAULT_$LINE"
8439 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
8443 eval "$ac_cv_use_fontdlg"
8444 if test "$no_cache" != 1; then
8445 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8448 if test "$wxUSE_FONTDLG" = yes; then
8449 echo "$as_me:$LINENO: result: yes" >&5
8450 echo "${ECHO_T}yes" >&6
8452 echo "$as_me:$LINENO: result: no" >&5
8453 echo "${ECHO_T}no" >&6
8458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8459 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8461 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8462 if test "${enable_dirdlg+set}" = set; then
8463 enableval="$enable_dirdlg"
8465 if test "$enableval" = yes; then
8466 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
8468 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
8473 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8474 if test "x$LINE" != x ; then
8475 eval "DEFAULT_$LINE"
8480 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
8484 eval "$ac_cv_use_dirdlg"
8485 if test "$no_cache" != 1; then
8486 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8489 if test "$wxUSE_DIRDLG" = yes; then
8490 echo "$as_me:$LINENO: result: yes" >&5
8491 echo "${ECHO_T}yes" >&6
8493 echo "$as_me:$LINENO: result: no" >&5
8494 echo "${ECHO_T}no" >&6
8499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8500 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8502 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8503 if test "${enable_msgdlg+set}" = set; then
8504 enableval="$enable_msgdlg"
8506 if test "$enableval" = yes; then
8507 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
8509 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
8514 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8515 if test "x$LINE" != x ; then
8516 eval "DEFAULT_$LINE"
8521 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
8525 eval "$ac_cv_use_msgdlg"
8526 if test "$no_cache" != 1; then
8527 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8530 if test "$wxUSE_MSGDLG" = yes; then
8531 echo "$as_me:$LINENO: result: yes" >&5
8532 echo "${ECHO_T}yes" >&6
8534 echo "$as_me:$LINENO: result: no" >&5
8535 echo "${ECHO_T}no" >&6
8540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8541 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8543 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8544 if test "${enable_numberdlg+set}" = set; then
8545 enableval="$enable_numberdlg"
8547 if test "$enableval" = yes; then
8548 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
8550 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
8555 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8556 if test "x$LINE" != x ; then
8557 eval "DEFAULT_$LINE"
8562 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
8566 eval "$ac_cv_use_numberdlg"
8567 if test "$no_cache" != 1; then
8568 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8571 if test "$wxUSE_NUMBERDLG" = yes; then
8572 echo "$as_me:$LINENO: result: yes" >&5
8573 echo "${ECHO_T}yes" >&6
8575 echo "$as_me:$LINENO: result: no" >&5
8576 echo "${ECHO_T}no" >&6
8581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8582 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8584 # Check whether --enable-splash or --disable-splash was given.
8585 if test "${enable_splash+set}" = set; then
8586 enableval="$enable_splash"
8588 if test "$enableval" = yes; then
8589 ac_cv_use_splash='wxUSE_SPLASH
=yes'
8591 ac_cv_use_splash='wxUSE_SPLASH
=no
'
8596 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8597 if test "x$LINE" != x ; then
8598 eval "DEFAULT_$LINE"
8603 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
8607 eval "$ac_cv_use_splash"
8608 if test "$no_cache" != 1; then
8609 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8612 if test "$wxUSE_SPLASH" = yes; then
8613 echo "$as_me:$LINENO: result: yes" >&5
8614 echo "${ECHO_T}yes" >&6
8616 echo "$as_me:$LINENO: result: no" >&5
8617 echo "${ECHO_T}no" >&6
8622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8623 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8625 # Check whether --enable-textdlg or --disable-textdlg was given.
8626 if test "${enable_textdlg+set}" = set; then
8627 enableval="$enable_textdlg"
8629 if test "$enableval" = yes; then
8630 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
8632 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
8637 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8638 if test "x$LINE" != x ; then
8639 eval "DEFAULT_$LINE"
8644 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
8648 eval "$ac_cv_use_textdlg"
8649 if test "$no_cache" != 1; then
8650 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8653 if test "$wxUSE_TEXTDLG" = yes; then
8654 echo "$as_me:$LINENO: result: yes" >&5
8655 echo "${ECHO_T}yes" >&6
8657 echo "$as_me:$LINENO: result: no" >&5
8658 echo "${ECHO_T}no" >&6
8663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8664 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8666 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8667 if test "${enable_tipdlg+set}" = set; then
8668 enableval="$enable_tipdlg"
8670 if test "$enableval" = yes; then
8671 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
8673 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
8678 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x ; then
8680 eval "DEFAULT_$LINE"
8685 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
8689 eval "$ac_cv_use_tipdlg"
8690 if test "$no_cache" != 1; then
8691 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8694 if test "$wxUSE_STARTUP_TIPS" = yes; then
8695 echo "$as_me:$LINENO: result: yes" >&5
8696 echo "${ECHO_T}yes" >&6
8698 echo "$as_me:$LINENO: result: no" >&5
8699 echo "${ECHO_T}no" >&6
8704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8705 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8707 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8708 if test "${enable_progressdlg+set}" = set; then
8709 enableval="$enable_progressdlg"
8711 if test "$enableval" = yes; then
8712 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
8714 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
8719 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8720 if test "x$LINE" != x ; then
8721 eval "DEFAULT_$LINE"
8726 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
8730 eval "$ac_cv_use_progressdlg"
8731 if test "$no_cache" != 1; then
8732 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8735 if test "$wxUSE_PROGRESSDLG" = yes; then
8736 echo "$as_me:$LINENO: result: yes" >&5
8737 echo "${ECHO_T}yes" >&6
8739 echo "$as_me:$LINENO: result: no" >&5
8740 echo "${ECHO_T}no" >&6
8745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8746 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8748 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8749 if test "${enable_wizarddlg+set}" = set; then
8750 enableval="$enable_wizarddlg"
8752 if test "$enableval" = yes; then
8753 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
8755 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
8760 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8761 if test "x$LINE" != x ; then
8762 eval "DEFAULT_$LINE"
8767 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
8771 eval "$ac_cv_use_wizarddlg"
8772 if test "$no_cache" != 1; then
8773 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8776 if test "$wxUSE_WIZARDDLG" = yes; then
8777 echo "$as_me:$LINENO: result: yes" >&5
8778 echo "${ECHO_T}yes" >&6
8780 echo "$as_me:$LINENO: result: no" >&5
8781 echo "${ECHO_T}no" >&6
8788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8789 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8791 # Check whether --enable-menus or --disable-menus was given.
8792 if test "${enable_menus+set}" = set; then
8793 enableval="$enable_menus"
8795 if test "$enableval" = yes; then
8796 ac_cv_use_menus='wxUSE_MENUS
=yes'
8798 ac_cv_use_menus='wxUSE_MENUS
=no
'
8803 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8804 if test "x$LINE" != x ; then
8805 eval "DEFAULT_$LINE"
8810 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
8814 eval "$ac_cv_use_menus"
8815 if test "$no_cache" != 1; then
8816 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8819 if test "$wxUSE_MENUS" = yes; then
8820 echo "$as_me:$LINENO: result: yes" >&5
8821 echo "${ECHO_T}yes" >&6
8823 echo "$as_me:$LINENO: result: no" >&5
8824 echo "${ECHO_T}no" >&6
8829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8830 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8832 # Check whether --enable-miniframe or --disable-miniframe was given.
8833 if test "${enable_miniframe+set}" = set; then
8834 enableval="$enable_miniframe"
8836 if test "$enableval" = yes; then
8837 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
8839 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
8844 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8845 if test "x$LINE" != x ; then
8846 eval "DEFAULT_$LINE"
8851 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
8855 eval "$ac_cv_use_miniframe"
8856 if test "$no_cache" != 1; then
8857 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8860 if test "$wxUSE_MINIFRAME" = yes; then
8861 echo "$as_me:$LINENO: result: yes" >&5
8862 echo "${ECHO_T}yes" >&6
8864 echo "$as_me:$LINENO: result: no" >&5
8865 echo "${ECHO_T}no" >&6
8870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8871 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8873 # Check whether --enable-tooltips or --disable-tooltips was given.
8874 if test "${enable_tooltips+set}" = set; then
8875 enableval="$enable_tooltips"
8877 if test "$enableval" = yes; then
8878 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
8880 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
8885 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8886 if test "x$LINE" != x ; then
8887 eval "DEFAULT_$LINE"
8892 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
8896 eval "$ac_cv_use_tooltips"
8897 if test "$no_cache" != 1; then
8898 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8901 if test "$wxUSE_TOOLTIPS" = yes; then
8902 echo "$as_me:$LINENO: result: yes" >&5
8903 echo "${ECHO_T}yes" >&6
8905 echo "$as_me:$LINENO: result: no" >&5
8906 echo "${ECHO_T}no" >&6
8911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8912 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8914 # Check whether --enable-splines or --disable-splines was given.
8915 if test "${enable_splines+set}" = set; then
8916 enableval="$enable_splines"
8918 if test "$enableval" = yes; then
8919 ac_cv_use_splines='wxUSE_SPLINES
=yes'
8921 ac_cv_use_splines='wxUSE_SPLINES
=no
'
8926 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8927 if test "x$LINE" != x ; then
8928 eval "DEFAULT_$LINE"
8933 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
8937 eval "$ac_cv_use_splines"
8938 if test "$no_cache" != 1; then
8939 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8942 if test "$wxUSE_SPLINES" = yes; then
8943 echo "$as_me:$LINENO: result: yes" >&5
8944 echo "${ECHO_T}yes" >&6
8946 echo "$as_me:$LINENO: result: no" >&5
8947 echo "${ECHO_T}no" >&6
8952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8953 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8955 # Check whether --enable-validators or --disable-validators was given.
8956 if test "${enable_validators+set}" = set; then
8957 enableval="$enable_validators"
8959 if test "$enableval" = yes; then
8960 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
8962 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
8967 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8968 if test "x$LINE" != x ; then
8969 eval "DEFAULT_$LINE"
8974 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
8978 eval "$ac_cv_use_validators"
8979 if test "$no_cache" != 1; then
8980 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8983 if test "$wxUSE_VALIDATORS" = yes; then
8984 echo "$as_me:$LINENO: result: yes" >&5
8985 echo "${ECHO_T}yes" >&6
8987 echo "$as_me:$LINENO: result: no" >&5
8988 echo "${ECHO_T}no" >&6
8993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8994 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8996 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8997 if test "${enable_busyinfo+set}" = set; then
8998 enableval="$enable_busyinfo"
9000 if test "$enableval" = yes; then
9001 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
9003 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
9008 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9009 if test "x$LINE" != x ; then
9010 eval "DEFAULT_$LINE"
9015 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
9019 eval "$ac_cv_use_busyinfo"
9020 if test "$no_cache" != 1; then
9021 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9024 if test "$wxUSE_BUSYINFO" = yes; then
9025 echo "$as_me:$LINENO: result: yes" >&5
9026 echo "${ECHO_T}yes" >&6
9028 echo "$as_me:$LINENO: result: no" >&5
9029 echo "${ECHO_T}no" >&6
9034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9035 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9037 # Check whether --enable-joystick or --disable-joystick was given.
9038 if test "${enable_joystick+set}" = set; then
9039 enableval="$enable_joystick"
9041 if test "$enableval" = yes; then
9042 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
9044 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
9049 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9050 if test "x$LINE" != x ; then
9051 eval "DEFAULT_$LINE"
9056 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
9060 eval "$ac_cv_use_joystick"
9061 if test "$no_cache" != 1; then
9062 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9065 if test "$wxUSE_JOYSTICK" = yes; then
9066 echo "$as_me:$LINENO: result: yes" >&5
9067 echo "${ECHO_T}yes" >&6
9069 echo "$as_me:$LINENO: result: no" >&5
9070 echo "${ECHO_T}no" >&6
9075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9076 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9078 # Check whether --enable-metafile or --disable-metafile was given.
9079 if test "${enable_metafile+set}" = set; then
9080 enableval="$enable_metafile"
9082 if test "$enableval" = yes; then
9083 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
9085 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
9090 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9091 if test "x$LINE" != x ; then
9092 eval "DEFAULT_$LINE"
9097 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
9101 eval "$ac_cv_use_metafile"
9102 if test "$no_cache" != 1; then
9103 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9106 if test "$wxUSE_METAFILE" = yes; then
9107 echo "$as_me:$LINENO: result: yes" >&5
9108 echo "${ECHO_T}yes" >&6
9110 echo "$as_me:$LINENO: result: no" >&5
9111 echo "${ECHO_T}no" >&6
9116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9117 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9119 # Check whether --enable-dragimage or --disable-dragimage was given.
9120 if test "${enable_dragimage+set}" = set; then
9121 enableval="$enable_dragimage"
9123 if test "$enableval" = yes; then
9124 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
9126 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
9131 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9132 if test "x$LINE" != x ; then
9133 eval "DEFAULT_$LINE"
9138 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
9142 eval "$ac_cv_use_dragimage"
9143 if test "$no_cache" != 1; then
9144 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9147 if test "$wxUSE_DRAGIMAGE" = yes; then
9148 echo "$as_me:$LINENO: result: yes" >&5
9149 echo "${ECHO_T}yes" >&6
9151 echo "$as_me:$LINENO: result: no" >&5
9152 echo "${ECHO_T}no" >&6
9157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9158 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9160 # Check whether --enable-accessibility or --disable-accessibility was given.
9161 if test "${enable_accessibility+set}" = set; then
9162 enableval="$enable_accessibility"
9164 if test "$enableval" = yes; then
9165 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
9167 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
9172 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9173 if test "x$LINE" != x ; then
9174 eval "DEFAULT_$LINE"
9179 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
9183 eval "$ac_cv_use_accessibility"
9184 if test "$no_cache" != 1; then
9185 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9188 if test "$wxUSE_ACCESSIBILITY" = yes; then
9189 echo "$as_me:$LINENO: result: yes" >&5
9190 echo "${ECHO_T}yes" >&6
9192 echo "$as_me:$LINENO: result: no" >&5
9193 echo "${ECHO_T}no" >&6
9200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9201 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9203 # Check whether --enable-palette or --disable-palette was given.
9204 if test "${enable_palette+set}" = set; then
9205 enableval="$enable_palette"
9207 if test "$enableval" = yes; then
9208 ac_cv_use_palette='wxUSE_PALETTE
=yes'
9210 ac_cv_use_palette='wxUSE_PALETTE
=no
'
9215 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9216 if test "x$LINE" != x ; then
9217 eval "DEFAULT_$LINE"
9222 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
9226 eval "$ac_cv_use_palette"
9227 if test "$no_cache" != 1; then
9228 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9231 if test "$wxUSE_PALETTE" = yes; then
9232 echo "$as_me:$LINENO: result: yes" >&5
9233 echo "${ECHO_T}yes" >&6
9235 echo "$as_me:$LINENO: result: no" >&5
9236 echo "${ECHO_T}no" >&6
9241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9242 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9244 # Check whether --enable-image or --disable-image was given.
9245 if test "${enable_image+set}" = set; then
9246 enableval="$enable_image"
9248 if test "$enableval" = yes; then
9249 ac_cv_use_image='wxUSE_IMAGE
=yes'
9251 ac_cv_use_image='wxUSE_IMAGE
=no
'
9256 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9257 if test "x$LINE" != x ; then
9258 eval "DEFAULT_$LINE"
9263 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
9267 eval "$ac_cv_use_image"
9268 if test "$no_cache" != 1; then
9269 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9272 if test "$wxUSE_IMAGE" = yes; then
9273 echo "$as_me:$LINENO: result: yes" >&5
9274 echo "${ECHO_T}yes" >&6
9276 echo "$as_me:$LINENO: result: no" >&5
9277 echo "${ECHO_T}no" >&6
9282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9283 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9285 # Check whether --enable-gif or --disable-gif was given.
9286 if test "${enable_gif+set}" = set; then
9287 enableval="$enable_gif"
9289 if test "$enableval" = yes; then
9290 ac_cv_use_gif='wxUSE_GIF
=yes'
9292 ac_cv_use_gif='wxUSE_GIF
=no
'
9297 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9298 if test "x$LINE" != x ; then
9299 eval "DEFAULT_$LINE"
9304 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
9308 eval "$ac_cv_use_gif"
9309 if test "$no_cache" != 1; then
9310 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9313 if test "$wxUSE_GIF" = yes; then
9314 echo "$as_me:$LINENO: result: yes" >&5
9315 echo "${ECHO_T}yes" >&6
9317 echo "$as_me:$LINENO: result: no" >&5
9318 echo "${ECHO_T}no" >&6
9323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9324 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9326 # Check whether --enable-pcx or --disable-pcx was given.
9327 if test "${enable_pcx+set}" = set; then
9328 enableval="$enable_pcx"
9330 if test "$enableval" = yes; then
9331 ac_cv_use_pcx='wxUSE_PCX
=yes'
9333 ac_cv_use_pcx='wxUSE_PCX
=no
'
9338 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9339 if test "x$LINE" != x ; then
9340 eval "DEFAULT_$LINE"
9345 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
9349 eval "$ac_cv_use_pcx"
9350 if test "$no_cache" != 1; then
9351 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9354 if test "$wxUSE_PCX" = yes; then
9355 echo "$as_me:$LINENO: result: yes" >&5
9356 echo "${ECHO_T}yes" >&6
9358 echo "$as_me:$LINENO: result: no" >&5
9359 echo "${ECHO_T}no" >&6
9364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9365 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9367 # Check whether --enable-iff or --disable-iff was given.
9368 if test "${enable_iff+set}" = set; then
9369 enableval="$enable_iff"
9371 if test "$enableval" = yes; then
9372 ac_cv_use_iff='wxUSE_IFF
=yes'
9374 ac_cv_use_iff='wxUSE_IFF
=no
'
9379 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9380 if test "x$LINE" != x ; then
9381 eval "DEFAULT_$LINE"
9386 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
9390 eval "$ac_cv_use_iff"
9391 if test "$no_cache" != 1; then
9392 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9395 if test "$wxUSE_IFF" = yes; then
9396 echo "$as_me:$LINENO: result: yes" >&5
9397 echo "${ECHO_T}yes" >&6
9399 echo "$as_me:$LINENO: result: no" >&5
9400 echo "${ECHO_T}no" >&6
9405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9406 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9408 # Check whether --enable-pnm or --disable-pnm was given.
9409 if test "${enable_pnm+set}" = set; then
9410 enableval="$enable_pnm"
9412 if test "$enableval" = yes; then
9413 ac_cv_use_pnm='wxUSE_PNM
=yes'
9415 ac_cv_use_pnm='wxUSE_PNM
=no
'
9420 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9421 if test "x$LINE" != x ; then
9422 eval "DEFAULT_$LINE"
9427 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
9431 eval "$ac_cv_use_pnm"
9432 if test "$no_cache" != 1; then
9433 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9436 if test "$wxUSE_PNM" = yes; then
9437 echo "$as_me:$LINENO: result: yes" >&5
9438 echo "${ECHO_T}yes" >&6
9440 echo "$as_me:$LINENO: result: no" >&5
9441 echo "${ECHO_T}no" >&6
9446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9447 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9449 # Check whether --enable-xpm or --disable-xpm was given.
9450 if test "${enable_xpm+set}" = set; then
9451 enableval="$enable_xpm"
9453 if test "$enableval" = yes; then
9454 ac_cv_use_xpm='wxUSE_XPM
=yes'
9456 ac_cv_use_xpm='wxUSE_XPM
=no
'
9461 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9462 if test "x$LINE" != x ; then
9463 eval "DEFAULT_$LINE"
9468 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
9472 eval "$ac_cv_use_xpm"
9473 if test "$no_cache" != 1; then
9474 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9477 if test "$wxUSE_XPM" = yes; then
9478 echo "$as_me:$LINENO: result: yes" >&5
9479 echo "${ECHO_T}yes" >&6
9481 echo "$as_me:$LINENO: result: no" >&5
9482 echo "${ECHO_T}no" >&6
9487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9488 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9490 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9491 if test "${enable_ico_cur+set}" = set; then
9492 enableval="$enable_ico_cur"
9494 if test "$enableval" = yes; then
9495 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
9497 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
9502 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9503 if test "x$LINE" != x ; then
9504 eval "DEFAULT_$LINE"
9509 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
9513 eval "$ac_cv_use_ico_cur"
9514 if test "$no_cache" != 1; then
9515 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9518 if test "$wxUSE_ICO_CUR" = yes; then
9519 echo "$as_me:$LINENO: result: yes" >&5
9520 echo "${ECHO_T}yes" >&6
9522 echo "$as_me:$LINENO: result: no" >&5
9523 echo "${ECHO_T}no" >&6
9532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9533 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9535 # Check whether --enable-official_build or --disable-official_build was given.
9536 if test "${enable_official_build+set}" = set; then
9537 enableval="$enable_official_build"
9539 if test "$enableval" = yes; then
9540 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
9542 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
9547 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9548 if test "x$LINE" != x ; then
9549 eval "DEFAULT_$LINE"
9554 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
9558 eval "$ac_cv_use_official_build"
9559 if test "$no_cache" != 1; then
9560 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9563 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9564 echo "$as_me:$LINENO: result: yes" >&5
9565 echo "${ECHO_T}yes" >&6
9567 echo "$as_me:$LINENO: result: no" >&5
9568 echo "${ECHO_T}no" >&6
9571 # Check whether --enable-vendor or --disable-vendor was given.
9572 if test "${enable_vendor+set}" = set; then
9573 enableval="$enable_vendor"
9576 if test "x$VENDOR" = "x"; then
9581 *-pc-os2_emx | *-pc-os2-emx )
9591 echo "saving argument cache $wx_arg_cache_file"
9592 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9596 echo "$as_me:$LINENO: checking for toolkit" >&5
9597 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9599 # In Wine, we need to default to MSW, not GTK or MOTIF
9600 if test "$wxUSE_WINE" = "yes"; then
9601 DEFAULT_DEFAULT_wxUSE_GTK=0
9602 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9603 DEFAULT_DEFAULT_wxUSE_MSW=1
9606 if test "$wxUSE_GUI" = "yes"; then
9608 if test "$USE_BEOS" = 1; then
9609 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9610 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9611 { (exit 1); exit 1; }; }
9614 if test "$TOOLKIT_GIVEN" = 1; then
9615 for toolkit in `echo $ALL_TOOLKITS`; do
9617 eval "value=\$${var}"
9618 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9621 for toolkit in `echo $ALL_TOOLKITS`; do
9622 if test "$has_toolkit_in_cache" != 1; then
9623 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9625 var=DEFAULT_wxUSE_$toolkit
9627 eval "wxUSE_$toolkit=\$${var}"
9631 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9632 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9633 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9636 *-pc-os2_emx | *-pc-os2-emx )
9637 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9640 case "$NUM_TOOLKITS" in
9644 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9645 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9646 { (exit 1); exit 1; }; }
9649 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9650 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9651 { (exit 1); exit 1; }; }
9654 for toolkit in `echo $ALL_TOOLKITS`; do
9656 eval "value=\$${var}"
9657 if test "x$value" != x; then
9658 cache_var=CACHE_$toolkit
9659 eval "cache=\$${cache_var}"
9660 if test "$cache" = 1; then
9661 echo "$var=$value" >> ${wx_arg_cache_file}
9663 if test "$value" = 1; then
9664 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9665 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9666 echo "${ECHO_T}$toolkit_echo" >&6
9671 if test "x$host_alias" != "x"; then
9672 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9673 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9675 echo "$as_me:$LINENO: result: base only" >&5
9676 echo "${ECHO_T}base only" >&6
9684 if test "$wxUSE_MSW" = 1 ; then
9695 if test "$wxUSE_WINE" = "yes"; then
9702 if test "$wants_win32" = 1 ; then
9705 cat >>confdefs.h <<\_ACEOF
9709 cat >>confdefs.h <<\_ACEOF
9713 cat >>confdefs.h <<\_ACEOF
9714 #define __WINDOWS__ 1
9717 cat >>confdefs.h <<\_ACEOF
9718 #define __GNUWIN32__ 1
9721 cat >>confdefs.h <<\_ACEOF
9725 cat >>confdefs.h <<\_ACEOF
9726 #define WINVER 0x0400
9730 if test "$doesnt_want_win32" = 1 ; then
9735 if test "$USE_UNIX" = 1 ; then
9737 cat >>confdefs.h <<\_ACEOF
9744 cat >confcache <<\_ACEOF
9745 # This file is a shell script that caches the results of configure
9746 # tests run on this system so they can be shared between configure
9747 # scripts and configure runs, see configure's option
--config-cache.
9748 # It is not useful on other systems. If it contains results you don't
9749 # want to keep, you may remove or edit it.
9751 # config.status only pays attention to the cache file if you give it
9752 # the --recheck option to rerun configure.
9754 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9755 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9760 # The following way of writing the cache mishandles newlines in values,
9761 # but we know of no workaround that is simple, portable, and efficient.
9762 # So, don't put newlines in cache variables' values.
9763 # Ultrix sh set writes to stderr and can't be redirected directly,
9764 # and sets the high bit in the cache file unless we assign to the vars.
9767 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9769 # `set' does not quote correctly, so add quotes (double-quote
9770 # substitution turns \\\\ into \\, and sed turns \\ into \).
9773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9776 # `set' quotes correctly as required by POSIX, so do not add quotes.
9778 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9785 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9787 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9789 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9790 if test -w $cache_file; then
9791 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9792 cat confcache
>$cache_file
9794 echo "not updating unwritable cache $cache_file"
9799 if test "$build" != "$host" ; then
9800 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9804 RANLIB
=$host_alias-ranlib
9805 DLLTOOL
=$host_alias-dlltool
9806 RESCOMP
=$host_alias-windres
9809 STRIP
=$host_alias-strip
9811 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9812 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9813 { (exit 1); exit 1; }; }
9819 ac_cpp
='$CPP $CPPFLAGS'
9820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9823 if test -n "$ac_tool_prefix"; then
9824 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9825 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
9826 echo "$as_me:$LINENO: checking for $ac_word" >&5
9827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9828 if test "${ac_cv_prog_CC+set}" = set; then
9829 echo $ECHO_N "(cached) $ECHO_C" >&6
9831 if test -n "$CC"; then
9832 ac_cv_prog_CC
="$CC" # Let the user override the test.
9834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9838 test -z "$as_dir" && as_dir
=.
9839 for ac_exec_ext
in '' $ac_executable_extensions; do
9840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9841 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
9842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9851 if test -n "$CC"; then
9852 echo "$as_me:$LINENO: result: $CC" >&5
9853 echo "${ECHO_T}$CC" >&6
9855 echo "$as_me:$LINENO: result: no" >&5
9856 echo "${ECHO_T}no" >&6
9860 if test -z "$ac_cv_prog_CC"; then
9862 # Extract the first word of "gcc", so it can be a program name with args.
9863 set dummy gcc
; ac_word
=$2
9864 echo "$as_me:$LINENO: checking for $ac_word" >&5
9865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9866 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9867 echo $ECHO_N "(cached) $ECHO_C" >&6
9869 if test -n "$ac_ct_CC"; then
9870 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9876 test -z "$as_dir" && as_dir
=.
9877 for ac_exec_ext
in '' $ac_executable_extensions; do
9878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9879 ac_cv_prog_ac_ct_CC
="gcc"
9880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9888 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9889 if test -n "$ac_ct_CC"; then
9890 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9891 echo "${ECHO_T}$ac_ct_CC" >&6
9893 echo "$as_me:$LINENO: result: no" >&5
9894 echo "${ECHO_T}no" >&6
9902 if test -z "$CC"; then
9903 if test -n "$ac_tool_prefix"; then
9904 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9905 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
9906 echo "$as_me:$LINENO: checking for $ac_word" >&5
9907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9908 if test "${ac_cv_prog_CC+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9911 if test -n "$CC"; then
9912 ac_cv_prog_CC
="$CC" # Let the user override the test.
9914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9918 test -z "$as_dir" && as_dir
=.
9919 for ac_exec_ext
in '' $ac_executable_extensions; do
9920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9921 ac_cv_prog_CC
="${ac_tool_prefix}cc"
9922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9931 if test -n "$CC"; then
9932 echo "$as_me:$LINENO: result: $CC" >&5
9933 echo "${ECHO_T}$CC" >&6
9935 echo "$as_me:$LINENO: result: no" >&5
9936 echo "${ECHO_T}no" >&6
9940 if test -z "$ac_cv_prog_CC"; then
9942 # Extract the first word of "cc", so it can be a program name with args.
9943 set dummy cc
; ac_word
=$2
9944 echo "$as_me:$LINENO: checking for $ac_word" >&5
9945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9946 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9947 echo $ECHO_N "(cached) $ECHO_C" >&6
9949 if test -n "$ac_ct_CC"; then
9950 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
9952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9956 test -z "$as_dir" && as_dir
=.
9957 for ac_exec_ext
in '' $ac_executable_extensions; do
9958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9959 ac_cv_prog_ac_ct_CC
="cc"
9960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9968 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
9969 if test -n "$ac_ct_CC"; then
9970 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9971 echo "${ECHO_T}$ac_ct_CC" >&6
9973 echo "$as_me:$LINENO: result: no" >&5
9974 echo "${ECHO_T}no" >&6
9983 if test -z "$CC"; then
9984 # Extract the first word of "cc", so it can be a program name with args.
9985 set dummy cc
; ac_word
=$2
9986 echo "$as_me:$LINENO: checking for $ac_word" >&5
9987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9988 if test "${ac_cv_prog_CC+set}" = set; then
9989 echo $ECHO_N "(cached) $ECHO_C" >&6
9991 if test -n "$CC"; then
9992 ac_cv_prog_CC
="$CC" # Let the user override the test.
9995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9999 test -z "$as_dir" && as_dir
=.
10000 for ac_exec_ext
in '' $ac_executable_extensions; do
10001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10002 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10003 ac_prog_rejected
=yes
10007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10013 if test $ac_prog_rejected = yes; then
10014 # We found a bogon in the path, so make sure we never use it.
10015 set dummy
$ac_cv_prog_CC
10017 if test $# != 0; then
10018 # We chose a different compiler from the bogus one.
10019 # However, it has the same basename, so the bogon will be chosen
10020 # first if we set CC to just the basename; use the full file name.
10022 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10028 if test -n "$CC"; then
10029 echo "$as_me:$LINENO: result: $CC" >&5
10030 echo "${ECHO_T}$CC" >&6
10032 echo "$as_me:$LINENO: result: no" >&5
10033 echo "${ECHO_T}no" >&6
10037 if test -z "$CC"; then
10038 if test -n "$ac_tool_prefix"; then
10041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10042 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10043 echo "$as_me:$LINENO: checking for $ac_word" >&5
10044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10045 if test "${ac_cv_prog_CC+set}" = set; then
10046 echo $ECHO_N "(cached) $ECHO_C" >&6
10048 if test -n "$CC"; then
10049 ac_cv_prog_CC
="$CC" # Let the user override the test.
10051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10052 for as_dir
in $PATH
10055 test -z "$as_dir" && as_dir
=.
10056 for ac_exec_ext
in '' $ac_executable_extensions; do
10057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10058 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10068 if test -n "$CC"; then
10069 echo "$as_me:$LINENO: result: $CC" >&5
10070 echo "${ECHO_T}$CC" >&6
10072 echo "$as_me:$LINENO: result: no" >&5
10073 echo "${ECHO_T}no" >&6
10076 test -n "$CC" && break
10079 if test -z "$CC"; then
10083 # Extract the first word of "$ac_prog", so it can be a program name with args.
10084 set dummy
$ac_prog; ac_word
=$2
10085 echo "$as_me:$LINENO: checking for $ac_word" >&5
10086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10087 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10088 echo $ECHO_N "(cached) $ECHO_C" >&6
10090 if test -n "$ac_ct_CC"; then
10091 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10094 for as_dir
in $PATH
10097 test -z "$as_dir" && as_dir
=.
10098 for ac_exec_ext
in '' $ac_executable_extensions; do
10099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10100 ac_cv_prog_ac_ct_CC
="$ac_prog"
10101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10109 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10110 if test -n "$ac_ct_CC"; then
10111 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10112 echo "${ECHO_T}$ac_ct_CC" >&6
10114 echo "$as_me:$LINENO: result: no" >&5
10115 echo "${ECHO_T}no" >&6
10118 test -n "$ac_ct_CC" && break
10127 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10128 See \`config.log' for more details." >&5
10129 echo "$as_me: error: no acceptable C compiler found in \$PATH
10130 See \`config.log' for more details." >&2;}
10131 { (exit 1); exit 1; }; }
10133 # Provide some information about the compiler.
10134 echo "$as_me:$LINENO:" \
10135 "checking for C compiler version" >&5
10136 ac_compiler
=`set X $ac_compile; echo $2`
10137 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10138 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 (exit $ac_status); }
10142 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10143 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); }
10147 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10148 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); }
10153 cat >conftest.
$ac_ext <<_ACEOF
10154 #line $LINENO "configure"
10157 cat confdefs.h
>>conftest.
$ac_ext
10158 cat >>conftest.
$ac_ext <<_ACEOF
10159 /* end confdefs.h. */
10169 ac_clean_files_save
=$ac_clean_files
10170 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
10171 # Try to create an executable without -o first, disregard a.out.
10172 # It will help us diagnose broken compilers, and finding out an intuition
10174 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10175 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10176 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10177 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10178 (eval $ac_link_default) 2>&5
10180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10181 (exit $ac_status); }; then
10182 # Find the output, starting from the most likely. This scheme is
10183 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10186 # Be careful to initialize this variable, since it used to be cached.
10187 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10189 # b.out is created by i960 compilers.
10190 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
10192 test -f "$ac_file" || continue
10194 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
10197 # This is the source file.
10200 # We found the default executable, but exeext='' is most
10204 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10205 # FIXME: I believe we export ac_cv_exeext for Libtool,
10206 # but it would be cool to find out if it's true. Does anybody
10207 # maintain Libtool? --akim.
10208 export ac_cv_exeext
10215 echo "$as_me: failed program was:" >&5
10216 sed 's/^/| /' conftest.
$ac_ext >&5
10218 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10219 See \`config.log' for more details." >&5
10220 echo "$as_me: error: C compiler cannot create executables
10221 See \`config.log' for more details." >&2;}
10222 { (exit 77); exit 77; }; }
10225 ac_exeext
=$ac_cv_exeext
10226 echo "$as_me:$LINENO: result: $ac_file" >&5
10227 echo "${ECHO_T}$ac_file" >&6
10229 # Check the compiler produces executables we can run. If not, either
10230 # the compiler is broken, or we cross compile.
10231 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10232 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10233 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10234 # If not cross compiling, check that we can run a simple program.
10235 if test "$cross_compiling" != yes; then
10236 if { ac_try
='./$ac_file'
10237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10238 (eval $ac_try) 2>&5
10240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241 (exit $ac_status); }; }; then
10244 if test "$cross_compiling" = maybe
; then
10245 cross_compiling
=yes
10247 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10248 If you meant to cross compile, use \`--host'.
10249 See \`config.log' for more details." >&5
10250 echo "$as_me: error: cannot run C compiled programs.
10251 If you meant to cross compile, use \`--host'.
10252 See \`config.log' for more details." >&2;}
10253 { (exit 1); exit 1; }; }
10257 echo "$as_me:$LINENO: result: yes" >&5
10258 echo "${ECHO_T}yes" >&6
10260 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
10261 ac_clean_files
=$ac_clean_files_save
10262 # Check the compiler produces executables we can run. If not, either
10263 # the compiler is broken, or we cross compile.
10264 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10265 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10266 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10267 echo "${ECHO_T}$cross_compiling" >&6
10269 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10270 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10272 (eval $ac_link) 2>&5
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); }; then
10276 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10277 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10278 # work properly (i.e., refer to `conftest.exe'), while it won't with
10280 for ac_file
in conftest.exe conftest conftest.
*; do
10281 test -f "$ac_file" || continue
10283 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
10284 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
10285 export ac_cv_exeext
10291 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10292 See \`config.log' for more details." >&5
10293 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10294 See \`config.log' for more details." >&2;}
10295 { (exit 1); exit 1; }; }
10298 rm -f conftest
$ac_cv_exeext
10299 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10300 echo "${ECHO_T}$ac_cv_exeext" >&6
10302 rm -f conftest.
$ac_ext
10303 EXEEXT
=$ac_cv_exeext
10305 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10306 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10307 if test "${ac_cv_objext+set}" = set; then
10308 echo $ECHO_N "(cached) $ECHO_C" >&6
10310 cat >conftest.
$ac_ext <<_ACEOF
10311 #line $LINENO "configure"
10314 cat confdefs.h
>>conftest.
$ac_ext
10315 cat >>conftest.
$ac_ext <<_ACEOF
10316 /* end confdefs.h. */
10326 rm -f conftest.o conftest.obj
10327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10328 (eval $ac_compile) 2>&5
10330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331 (exit $ac_status); }; then
10332 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10334 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
10335 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
10340 echo "$as_me: failed program was:" >&5
10341 sed 's/^/| /' conftest.
$ac_ext >&5
10343 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10344 See \`config.log' for more details." >&5
10345 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10346 See \`config.log' for more details." >&2;}
10347 { (exit 1); exit 1; }; }
10350 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
10352 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10353 echo "${ECHO_T}$ac_cv_objext" >&6
10354 OBJEXT
=$ac_cv_objext
10356 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10357 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10358 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6
10361 cat >conftest.
$ac_ext <<_ACEOF
10362 #line $LINENO "configure"
10365 cat confdefs.h
>>conftest.
$ac_ext
10366 cat >>conftest.
$ac_ext <<_ACEOF
10367 /* end confdefs.h. */
10380 rm -f conftest.
$ac_objext
10381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10382 (eval $ac_compile) 2>&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } &&
10386 { ac_try
='test -s conftest.$ac_objext'
10387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10388 (eval $ac_try) 2>&5
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); }; }; then
10392 ac_compiler_gnu
=yes
10394 echo "$as_me: failed program was:" >&5
10395 sed 's/^/| /' conftest.
$ac_ext >&5
10399 rm -f conftest.
$ac_objext conftest.
$ac_ext
10400 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10403 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10404 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10405 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10406 ac_test_CFLAGS
=${CFLAGS+set}
10407 ac_save_CFLAGS
=$CFLAGS
10409 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10410 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10411 if test "${ac_cv_prog_cc_g+set}" = set; then
10412 echo $ECHO_N "(cached) $ECHO_C" >&6
10414 cat >conftest.
$ac_ext <<_ACEOF
10415 #line $LINENO "configure"
10418 cat confdefs.h
>>conftest.
$ac_ext
10419 cat >>conftest.
$ac_ext <<_ACEOF
10420 /* end confdefs.h. */
10430 rm -f conftest.
$ac_objext
10431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10432 (eval $ac_compile) 2>&5
10434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10435 (exit $ac_status); } &&
10436 { ac_try
='test -s conftest.$ac_objext'
10437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10438 (eval $ac_try) 2>&5
10440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441 (exit $ac_status); }; }; then
10442 ac_cv_prog_cc_g
=yes
10444 echo "$as_me: failed program was:" >&5
10445 sed 's/^/| /' conftest.
$ac_ext >&5
10449 rm -f conftest.
$ac_objext conftest.
$ac_ext
10451 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10452 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10453 if test "$ac_test_CFLAGS" = set; then
10454 CFLAGS
=$ac_save_CFLAGS
10455 elif test $ac_cv_prog_cc_g = yes; then
10456 if test "$GCC" = yes; then
10462 if test "$GCC" = yes; then
10468 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10469 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10470 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10471 echo $ECHO_N "(cached) $ECHO_C" >&6
10473 ac_cv_prog_cc_stdc
=no
10475 cat >conftest.
$ac_ext <<_ACEOF
10476 #line $LINENO "configure"
10479 cat confdefs.h
>>conftest.
$ac_ext
10480 cat >>conftest.
$ac_ext <<_ACEOF
10481 /* end confdefs.h. */
10482 #include <stdarg.h>
10484 #include <sys/types.h>
10485 #include <sys/stat.h>
10486 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10487 struct buf { int x; };
10488 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10489 static char *e (p, i)
10495 static char *f (char * (*g) (char **, int), char **p, ...)
10500 s = g (p, va_arg (v,int));
10504 int test (int i, double x);
10505 struct s1 {int (*f) (int a);};
10506 struct s2 {int (*f) (double a);};
10507 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10513 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10518 # Don't try gcc -ansi; that turns off useful extensions and
10519 # breaks some systems' header files.
10520 # AIX -qlanglvl=ansi
10521 # Ultrix and OSF/1 -std1
10522 # HP-UX 10.20 and later -Ae
10523 # HP-UX older versions -Aa -D_HPUX_SOURCE
10524 # SVR4 -Xc -D__EXTENSIONS__
10525 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10527 CC
="$ac_save_CC $ac_arg"
10528 rm -f conftest.
$ac_objext
10529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10530 (eval $ac_compile) 2>&5
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); } &&
10534 { ac_try
='test -s conftest.$ac_objext'
10535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10536 (eval $ac_try) 2>&5
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); }; }; then
10540 ac_cv_prog_cc_stdc
=$ac_arg
10543 echo "$as_me: failed program was:" >&5
10544 sed 's/^/| /' conftest.
$ac_ext >&5
10547 rm -f conftest.
$ac_objext
10549 rm -f conftest.
$ac_ext conftest.
$ac_objext
10554 case "x$ac_cv_prog_cc_stdc" in
10556 echo "$as_me:$LINENO: result: none needed" >&5
10557 echo "${ECHO_T}none needed" >&6 ;;
10559 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10560 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10561 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10564 # Some people use a C++ compiler to compile C. Since we use `exit',
10565 # in C++ we need to declare it. In case someone uses the same compiler
10566 # for both compiling C and C++ we need to have the C++ compiler decide
10567 # the declaration of exit, since it's the most demanding environment.
10568 cat >conftest.
$ac_ext <<_ACEOF
10569 #ifndef __cplusplus
10573 rm -f conftest.
$ac_objext
10574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10575 (eval $ac_compile) 2>&5
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); } &&
10579 { ac_try
='test -s conftest.$ac_objext'
10580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10581 (eval $ac_try) 2>&5
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); }; }; then
10585 for ac_declaration
in \
10587 '#include <stdlib.h>' \
10588 'extern "C" void std::exit (int) throw (); using std::exit;' \
10589 'extern "C" void std::exit (int); using std::exit;' \
10590 'extern "C" void exit (int) throw ();' \
10591 'extern "C" void exit (int);' \
10594 cat >conftest.
$ac_ext <<_ACEOF
10595 #line $LINENO "configure"
10598 cat confdefs.h
>>conftest.
$ac_ext
10599 cat >>conftest.
$ac_ext <<_ACEOF
10600 /* end confdefs.h. */
10601 #include <stdlib.h>
10611 rm -f conftest.
$ac_objext
10612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10613 (eval $ac_compile) 2>&5
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); } &&
10617 { ac_try
='test -s conftest.$ac_objext'
10618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10619 (eval $ac_try) 2>&5
10621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10622 (exit $ac_status); }; }; then
10625 echo "$as_me: failed program was:" >&5
10626 sed 's/^/| /' conftest.
$ac_ext >&5
10630 rm -f conftest.
$ac_objext conftest.
$ac_ext
10631 cat >conftest.
$ac_ext <<_ACEOF
10632 #line $LINENO "configure"
10635 cat confdefs.h
>>conftest.
$ac_ext
10636 cat >>conftest.
$ac_ext <<_ACEOF
10637 /* end confdefs.h. */
10647 rm -f conftest.
$ac_objext
10648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10649 (eval $ac_compile) 2>&5
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); } &&
10653 { ac_try
='test -s conftest.$ac_objext'
10654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655 (eval $ac_try) 2>&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); }; }; then
10661 echo "$as_me: failed program was:" >&5
10662 sed 's/^/| /' conftest.
$ac_ext >&5
10665 rm -f conftest.
$ac_objext conftest.
$ac_ext
10668 if test -n "$ac_declaration"; then
10669 echo '#ifdef __cplusplus' >>confdefs.h
10670 echo $ac_declaration >>confdefs.h
10671 echo '#endif' >>confdefs.h
10675 echo "$as_me: failed program was:" >&5
10676 sed 's/^/| /' conftest.
$ac_ext >&5
10679 rm -f conftest.
$ac_objext conftest.
$ac_ext
10681 ac_cpp
='$CPP $CPPFLAGS'
10682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10689 ac_cpp
='$CPP $CPPFLAGS'
10690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10693 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10694 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10695 # On Suns, sometimes $CPP names a directory.
10696 if test -n "$CPP" && test -d "$CPP"; then
10699 if test -z "$CPP"; then
10700 if test "${ac_cv_prog_CPP+set}" = set; then
10701 echo $ECHO_N "(cached) $ECHO_C" >&6
10703 # Double quotes because CPP needs to be expanded
10704 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10706 ac_preproc_ok
=false
10707 for ac_c_preproc_warn_flag
in '' yes
10709 # Use a header file that comes with gcc, so configuring glibc
10710 # with a fresh cross-compiler works.
10711 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10712 # <limits.h> exists even on freestanding compilers.
10713 # On the NeXT, cc -E runs the code through the compiler's parser,
10714 # not just through cpp. "Syntax error" is here to catch this case.
10715 cat >conftest.
$ac_ext <<_ACEOF
10716 #line $LINENO "configure"
10719 cat confdefs.h
>>conftest.
$ac_ext
10720 cat >>conftest.
$ac_ext <<_ACEOF
10721 /* end confdefs.h. */
10723 # include <limits.h>
10725 # include <assert.h>
10729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10730 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10732 grep -v '^ *+' conftest.er1
>conftest.err
10734 cat conftest.err
>&5
10735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10736 (exit $ac_status); } >/dev
/null
; then
10737 if test -s conftest.err
; then
10738 ac_cpp_err
=$ac_c_preproc_warn_flag
10745 if test -z "$ac_cpp_err"; then
10748 echo "$as_me: failed program was:" >&5
10749 sed 's/^/| /' conftest.
$ac_ext >&5
10751 # Broken: fails on valid input.
10754 rm -f conftest.err conftest.
$ac_ext
10756 # OK, works on sane cases. Now check whether non-existent headers
10757 # can be detected and how.
10758 cat >conftest.
$ac_ext <<_ACEOF
10759 #line $LINENO "configure"
10762 cat confdefs.h
>>conftest.
$ac_ext
10763 cat >>conftest.
$ac_ext <<_ACEOF
10764 /* end confdefs.h. */
10765 #include <ac_nonexistent.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
10784 # Broken: success on invalid input.
10787 echo "$as_me: failed program was:" >&5
10788 sed 's/^/| /' conftest.
$ac_ext >&5
10790 # Passes both tests.
10794 rm -f conftest.err conftest.
$ac_ext
10797 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10798 rm -f conftest.err conftest.
$ac_ext
10799 if $ac_preproc_ok; then
10804 ac_cv_prog_CPP
=$CPP
10807 CPP
=$ac_cv_prog_CPP
10809 ac_cv_prog_CPP
=$CPP
10811 echo "$as_me:$LINENO: result: $CPP" >&5
10812 echo "${ECHO_T}$CPP" >&6
10813 ac_preproc_ok
=false
10814 for ac_c_preproc_warn_flag
in '' yes
10816 # Use a header file that comes with gcc, so configuring glibc
10817 # with a fresh cross-compiler works.
10818 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10819 # <limits.h> exists even on freestanding compilers.
10820 # On the NeXT, cc -E runs the code through the compiler's parser,
10821 # not just through cpp. "Syntax error" is here to catch this case.
10822 cat >conftest.
$ac_ext <<_ACEOF
10823 #line $LINENO "configure"
10826 cat confdefs.h
>>conftest.
$ac_ext
10827 cat >>conftest.
$ac_ext <<_ACEOF
10828 /* end confdefs.h. */
10830 # include <limits.h>
10832 # include <assert.h>
10836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10837 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10839 grep -v '^ *+' conftest.er1
>conftest.err
10841 cat conftest.err
>&5
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); } >/dev
/null
; then
10844 if test -s conftest.err
; then
10845 ac_cpp_err
=$ac_c_preproc_warn_flag
10852 if test -z "$ac_cpp_err"; then
10855 echo "$as_me: failed program was:" >&5
10856 sed 's/^/| /' conftest.
$ac_ext >&5
10858 # Broken: fails on valid input.
10861 rm -f conftest.err conftest.
$ac_ext
10863 # OK, works on sane cases. Now check whether non-existent headers
10864 # can be detected and how.
10865 cat >conftest.
$ac_ext <<_ACEOF
10866 #line $LINENO "configure"
10869 cat confdefs.h
>>conftest.
$ac_ext
10870 cat >>conftest.
$ac_ext <<_ACEOF
10871 /* end confdefs.h. */
10872 #include <ac_nonexistent.h>
10874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10875 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10877 grep -v '^ *+' conftest.er1
>conftest.err
10879 cat conftest.err
>&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); } >/dev
/null
; then
10882 if test -s conftest.err
; then
10883 ac_cpp_err
=$ac_c_preproc_warn_flag
10890 if test -z "$ac_cpp_err"; then
10891 # Broken: success on invalid input.
10894 echo "$as_me: failed program was:" >&5
10895 sed 's/^/| /' conftest.
$ac_ext >&5
10897 # Passes both tests.
10901 rm -f conftest.err conftest.
$ac_ext
10904 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10905 rm -f conftest.err conftest.
$ac_ext
10906 if $ac_preproc_ok; then
10909 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10910 See \`config.log' for more details." >&5
10911 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10912 See \`config.log' for more details." >&2;}
10913 { (exit 1); exit 1; }; }
10917 ac_cpp
='$CPP $CPPFLAGS'
10918 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10919 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10920 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10923 echo "$as_me:$LINENO: checking for egrep" >&5
10924 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10925 if test "${ac_cv_prog_egrep+set}" = set; then
10926 echo $ECHO_N "(cached) $ECHO_C" >&6
10928 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10929 then ac_cv_prog_egrep
='grep -E'
10930 else ac_cv_prog_egrep
='egrep'
10933 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10934 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10935 EGREP
=$ac_cv_prog_egrep
10938 if test $ac_cv_c_compiler_gnu = yes; then
10939 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10940 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10941 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10942 echo $ECHO_N "(cached) $ECHO_C" >&6
10944 ac_pattern
="Autoconf.*'x'"
10945 cat >conftest.
$ac_ext <<_ACEOF
10946 #line $LINENO "configure"
10949 cat confdefs.h
>>conftest.
$ac_ext
10950 cat >>conftest.
$ac_ext <<_ACEOF
10951 /* end confdefs.h. */
10955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10956 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10957 ac_cv_prog_gcc_traditional
=yes
10959 ac_cv_prog_gcc_traditional
=no
10964 if test $ac_cv_prog_gcc_traditional = no
; then
10965 cat >conftest.
$ac_ext <<_ACEOF
10966 #line $LINENO "configure"
10969 cat confdefs.h
>>conftest.
$ac_ext
10970 cat >>conftest.
$ac_ext <<_ACEOF
10971 /* end confdefs.h. */
10972 #include <termio.h>
10975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10976 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10977 ac_cv_prog_gcc_traditional
=yes
10983 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10984 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10985 if test $ac_cv_prog_gcc_traditional = yes; then
10986 CC
="$CC -traditional"
10994 ac_cpp
='$CXXCPP $CPPFLAGS'
10995 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10996 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10997 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11000 CXXFLAGS
=${CXXFLAGS:=}
11002 ac_cpp
='$CXXCPP $CPPFLAGS'
11003 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11004 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11005 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11006 if test -n "$ac_tool_prefix"; then
11007 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11009 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11010 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11011 echo "$as_me:$LINENO: checking for $ac_word" >&5
11012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11013 if test "${ac_cv_prog_CXX+set}" = set; then
11014 echo $ECHO_N "(cached) $ECHO_C" >&6
11016 if test -n "$CXX"; then
11017 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11020 for as_dir
in $PATH
11023 test -z "$as_dir" && as_dir
=.
11024 for ac_exec_ext
in '' $ac_executable_extensions; do
11025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11026 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11035 CXX
=$ac_cv_prog_CXX
11036 if test -n "$CXX"; then
11037 echo "$as_me:$LINENO: result: $CXX" >&5
11038 echo "${ECHO_T}$CXX" >&6
11040 echo "$as_me:$LINENO: result: no" >&5
11041 echo "${ECHO_T}no" >&6
11044 test -n "$CXX" && break
11047 if test -z "$CXX"; then
11049 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11051 # Extract the first word of "$ac_prog", so it can be a program name with args.
11052 set dummy
$ac_prog; ac_word
=$2
11053 echo "$as_me:$LINENO: checking for $ac_word" >&5
11054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11055 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11056 echo $ECHO_N "(cached) $ECHO_C" >&6
11058 if test -n "$ac_ct_CXX"; then
11059 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11062 for as_dir
in $PATH
11065 test -z "$as_dir" && as_dir
=.
11066 for ac_exec_ext
in '' $ac_executable_extensions; do
11067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11068 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11077 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11078 if test -n "$ac_ct_CXX"; then
11079 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11080 echo "${ECHO_T}$ac_ct_CXX" >&6
11082 echo "$as_me:$LINENO: result: no" >&5
11083 echo "${ECHO_T}no" >&6
11086 test -n "$ac_ct_CXX" && break
11088 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11094 # Provide some information about the compiler.
11095 echo "$as_me:$LINENO:" \
11096 "checking for C++ compiler version" >&5
11097 ac_compiler
=`set X $ac_compile; echo $2`
11098 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11099 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 (exit $ac_status); }
11103 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11104 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); }
11108 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11109 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112 (exit $ac_status); }
11114 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11115 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11116 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 cat >conftest.
$ac_ext <<_ACEOF
11120 #line $LINENO "configure"
11123 cat confdefs.h
>>conftest.
$ac_ext
11124 cat >>conftest.
$ac_ext <<_ACEOF
11125 /* end confdefs.h. */
11138 rm -f conftest.
$ac_objext
11139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11140 (eval $ac_compile) 2>&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); } &&
11144 { ac_try
='test -s conftest.$ac_objext'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; }; then
11150 ac_compiler_gnu
=yes
11152 echo "$as_me: failed program was:" >&5
11153 sed 's/^/| /' conftest.
$ac_ext >&5
11157 rm -f conftest.
$ac_objext conftest.
$ac_ext
11158 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11161 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11162 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11163 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11164 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11165 ac_save_CXXFLAGS
=$CXXFLAGS
11167 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11168 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11169 if test "${ac_cv_prog_cxx_g+set}" = set; then
11170 echo $ECHO_N "(cached) $ECHO_C" >&6
11172 cat >conftest.
$ac_ext <<_ACEOF
11173 #line $LINENO "configure"
11176 cat confdefs.h
>>conftest.
$ac_ext
11177 cat >>conftest.
$ac_ext <<_ACEOF
11178 /* end confdefs.h. */
11188 rm -f conftest.
$ac_objext
11189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11190 (eval $ac_compile) 2>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); } &&
11194 { ac_try
='test -s conftest.$ac_objext'
11195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11196 (eval $ac_try) 2>&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); }; }; then
11200 ac_cv_prog_cxx_g
=yes
11202 echo "$as_me: failed program was:" >&5
11203 sed 's/^/| /' conftest.
$ac_ext >&5
11205 ac_cv_prog_cxx_g
=no
11207 rm -f conftest.
$ac_objext conftest.
$ac_ext
11209 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11210 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11211 if test "$ac_test_CXXFLAGS" = set; then
11212 CXXFLAGS
=$ac_save_CXXFLAGS
11213 elif test $ac_cv_prog_cxx_g = yes; then
11214 if test "$GXX" = yes; then
11220 if test "$GXX" = yes; then
11226 for ac_declaration
in \
11228 '#include <stdlib.h>' \
11229 'extern "C" void std::exit (int) throw (); using std::exit;' \
11230 'extern "C" void std::exit (int); using std::exit;' \
11231 'extern "C" void exit (int) throw ();' \
11232 'extern "C" void exit (int);' \
11235 cat >conftest.
$ac_ext <<_ACEOF
11236 #line $LINENO "configure"
11239 cat confdefs.h
>>conftest.
$ac_ext
11240 cat >>conftest.
$ac_ext <<_ACEOF
11241 /* end confdefs.h. */
11242 #include <stdlib.h>
11252 rm -f conftest.
$ac_objext
11253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11254 (eval $ac_compile) 2>&5
11256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257 (exit $ac_status); } &&
11258 { ac_try
='test -s conftest.$ac_objext'
11259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11260 (eval $ac_try) 2>&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); }; }; then
11266 echo "$as_me: failed program was:" >&5
11267 sed 's/^/| /' conftest.
$ac_ext >&5
11271 rm -f conftest.
$ac_objext conftest.
$ac_ext
11272 cat >conftest.
$ac_ext <<_ACEOF
11273 #line $LINENO "configure"
11276 cat confdefs.h
>>conftest.
$ac_ext
11277 cat >>conftest.
$ac_ext <<_ACEOF
11278 /* end confdefs.h. */
11288 rm -f conftest.
$ac_objext
11289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11290 (eval $ac_compile) 2>&5
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); } &&
11294 { ac_try
='test -s conftest.$ac_objext'
11295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11296 (eval $ac_try) 2>&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); }; }; then
11302 echo "$as_me: failed program was:" >&5
11303 sed 's/^/| /' conftest.
$ac_ext >&5
11306 rm -f conftest.
$ac_objext conftest.
$ac_ext
11309 if test -n "$ac_declaration"; then
11310 echo '#ifdef __cplusplus' >>confdefs.h
11311 echo $ac_declaration >>confdefs.h
11312 echo '#endif' >>confdefs.h
11316 ac_cpp
='$CXXCPP $CPPFLAGS'
11317 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11318 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11319 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11323 ac_cpp
='$CPP $CPPFLAGS'
11324 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11325 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11326 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11329 if test -n "$ac_tool_prefix"; then
11330 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11331 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11332 echo "$as_me:$LINENO: checking for $ac_word" >&5
11333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11334 if test "${ac_cv_prog_RANLIB+set}" = set; then
11335 echo $ECHO_N "(cached) $ECHO_C" >&6
11337 if test -n "$RANLIB"; then
11338 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11341 for as_dir
in $PATH
11344 test -z "$as_dir" && as_dir
=.
11345 for ac_exec_ext
in '' $ac_executable_extensions; do
11346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11347 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11356 RANLIB
=$ac_cv_prog_RANLIB
11357 if test -n "$RANLIB"; then
11358 echo "$as_me:$LINENO: result: $RANLIB" >&5
11359 echo "${ECHO_T}$RANLIB" >&6
11361 echo "$as_me:$LINENO: result: no" >&5
11362 echo "${ECHO_T}no" >&6
11366 if test -z "$ac_cv_prog_RANLIB"; then
11367 ac_ct_RANLIB
=$RANLIB
11368 # Extract the first word of "ranlib", so it can be a program name with args.
11369 set dummy ranlib
; ac_word
=$2
11370 echo "$as_me:$LINENO: checking for $ac_word" >&5
11371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11372 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11373 echo $ECHO_N "(cached) $ECHO_C" >&6
11375 if test -n "$ac_ct_RANLIB"; then
11376 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11379 for as_dir
in $PATH
11382 test -z "$as_dir" && as_dir
=.
11383 for ac_exec_ext
in '' $ac_executable_extensions; do
11384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11385 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11392 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11395 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11396 if test -n "$ac_ct_RANLIB"; then
11397 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11398 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11400 echo "$as_me:$LINENO: result: no" >&5
11401 echo "${ECHO_T}no" >&6
11404 RANLIB
=$ac_ct_RANLIB
11406 RANLIB
="$ac_cv_prog_RANLIB"
11410 # Extract the first word of "ar", so it can be a program name with args.
11411 set dummy
ar; ac_word
=$2
11412 echo "$as_me:$LINENO: checking for $ac_word" >&5
11413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11414 if test "${ac_cv_prog_AR+set}" = set; then
11415 echo $ECHO_N "(cached) $ECHO_C" >&6
11417 if test -n "$AR"; then
11418 ac_cv_prog_AR
="$AR" # Let the user override the test.
11420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11421 for as_dir
in $PATH
11424 test -z "$as_dir" && as_dir
=.
11425 for ac_exec_ext
in '' $ac_executable_extensions; do
11426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11437 if test -n "$AR"; then
11438 echo "$as_me:$LINENO: result: $AR" >&5
11439 echo "${ECHO_T}$AR" >&6
11441 echo "$as_me:$LINENO: result: no" >&5
11442 echo "${ECHO_T}no" >&6
11445 if test "x$AR" = "x" ; then
11446 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11447 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11448 { (exit 1); exit 1; }; }
11451 # Find a good install program. We prefer a C program (faster),
11452 # so one script is as good as another. But avoid the broken or
11453 # incompatible versions:
11454 # SysV /etc/install, /usr/sbin/install
11455 # SunOS /usr/etc/install
11456 # IRIX /sbin/install
11458 # AmigaOS /C/install, which installs bootblocks on floppy discs
11459 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11460 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11461 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11462 # ./install, which can be erroneously created by make from ./install.sh.
11463 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11464 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11465 if test -z "$INSTALL"; then
11466 if test "${ac_cv_path_install+set}" = set; then
11467 echo $ECHO_N "(cached) $ECHO_C" >&6
11469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11470 for as_dir
in $PATH
11473 test -z "$as_dir" && as_dir
=.
11474 # Account for people who put trailing slashes in PATH elements.
11476 .
/ | .
// | /cC
/* | \
11477 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11480 # OSF1 and SCO ODT 3.0 have their own names for install.
11481 # Don't use installbsd from OSF since it installs stuff as root
11483 for ac_prog
in ginstall scoinst
install; do
11484 for ac_exec_ext
in '' $ac_executable_extensions; do
11485 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11486 if test $ac_prog = install &&
11487 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11488 # AIX install. It has an incompatible calling convention.
11490 elif test $ac_prog = install &&
11491 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11492 # program-specific install script used by HP pwplus--don't use.
11495 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11507 if test "${ac_cv_path_install+set}" = set; then
11508 INSTALL
=$ac_cv_path_install
11510 # As a last resort, use the slow shell script. We don't cache a
11511 # path for INSTALL within a source directory, because that will
11512 # break other packages using the cache if that directory is
11513 # removed, or if the path is relative.
11514 INSTALL
=$ac_install_sh
11517 echo "$as_me:$LINENO: result: $INSTALL" >&5
11518 echo "${ECHO_T}$INSTALL" >&6
11520 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11521 # It thinks the first close brace ends the variable substitution.
11522 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11524 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11526 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11532 ?
:* ) # Drive letter, considered as absolute.
11535 INSTALL
=`pwd`/${INSTALL} ;;
11540 INSTALL_DIR
="mkdir"
11543 *) INSTALL_DIR
="$INSTALL -d"
11550 powerpc
-*-darwin* )
11551 INSTALL_PROGRAM
="cp -fp"
11552 INSTALL_DATA
="cp -fp"
11558 # Extract the first word of "strip", so it can be a program name with args.
11559 set dummy strip
; ac_word
=$2
11560 echo "$as_me:$LINENO: checking for $ac_word" >&5
11561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11562 if test "${ac_cv_prog_STRIP+set}" = set; then
11563 echo $ECHO_N "(cached) $ECHO_C" >&6
11565 if test -n "$STRIP"; then
11566 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11569 for as_dir
in $PATH
11572 test -z "$as_dir" && as_dir
=.
11573 for ac_exec_ext
in '' $ac_executable_extensions; do
11574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11575 ac_cv_prog_STRIP
="strip"
11576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11582 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11585 STRIP
=$ac_cv_prog_STRIP
11586 if test -n "$STRIP"; then
11587 echo "$as_me:$LINENO: result: $STRIP" >&5
11588 echo "${ECHO_T}$STRIP" >&6
11590 echo "$as_me:$LINENO: result: no" >&5
11591 echo "${ECHO_T}no" >&6
11595 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11596 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11597 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11601 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11602 egrep -s GNU
> /dev
/null
); then
11603 wx_cv_prog_makeisgnu
="yes"
11605 wx_cv_prog_makeisgnu
="no"
11609 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11610 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11612 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11620 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11621 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11622 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11623 if test "${wx_cv_prog_makevpath+set}" = set; then
11624 echo $ECHO_N "(cached) $ECHO_C" >&6
11627 cat - << EOF > confMake
11633 if test ! -d sub
; then
11636 echo dummy
> sub
/file
11637 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11639 rm -f sub
/file check final_file confMake
11641 if test "$RESULT" = 0; then
11642 wx_cv_prog_makevpath
="yes"
11644 wx_cv_prog_makevpath
="no"
11648 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11649 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11651 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11652 { { echo "$as_me:$LINENO: error:
11653 You need a make-utility that is able to use the variable
11655 If your version of make does not support VPATH correctly,
11656 please install GNU-make (possibly as gmake), and start
11657 configure with the following command:
11658 export MAKE=gmake; ./configure for sh-type shells
11659 setenv MAKE gmake; ./configure for csh-type shells
11660 Also please do remember to use gmake in this case every time
11661 you are trying to compile.
11663 echo "$as_me: error:
11664 You need a make-utility that is able to use the variable
11666 If your version of make does not support VPATH correctly,
11667 please install GNU-make (possibly as gmake), and start
11668 configure with the following command:
11669 export MAKE=gmake; ./configure for sh-type shells
11670 setenv MAKE gmake; ./configure for csh-type shells
11671 Also please do remember to use gmake in this case every time
11672 you are trying to compile.
11674 { (exit 1); exit 1; }; }
11676 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11677 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11679 if test "$LN_S" = "ln -s"; then
11680 echo "$as_me:$LINENO: result: yes" >&5
11681 echo "${ECHO_T}yes" >&6
11683 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11684 echo "${ECHO_T}no, using $LN_S" >&6
11689 *-pc-os2_emx | *-pc-os2-emx )
11690 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11691 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11692 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11693 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11694 echo $ECHO_N "(cached) $ECHO_C" >&6
11696 ac_check_lib_save_LIBS
=$LIBS
11697 LIBS
="-lcExt $LIBS"
11698 cat >conftest.
$ac_ext <<_ACEOF
11699 #line $LINENO "configure"
11702 cat confdefs.h
>>conftest.
$ac_ext
11703 cat >>conftest.
$ac_ext <<_ACEOF
11704 /* end confdefs.h. */
11706 /* Override any gcc2 internal prototype to avoid an error. */
11710 /* We use char because int might match the return type of a gcc2
11711 builtin and then its argument prototype would still apply. */
11721 rm -f conftest.
$ac_objext conftest
$ac_exeext
11722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11723 (eval $ac_link) 2>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } &&
11727 { ac_try
='test -s conftest$ac_exeext'
11728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11729 (eval $ac_try) 2>&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); }; }; then
11733 ac_cv_lib_cExt_drand48
=yes
11735 echo "$as_me: failed program was:" >&5
11736 sed 's/^/| /' conftest.
$ac_ext >&5
11738 ac_cv_lib_cExt_drand48
=no
11740 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11741 LIBS
=$ac_check_lib_save_LIBS
11743 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11744 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11745 if test $ac_cv_lib_cExt_drand48 = yes; then
11746 LIBS
="$LIBS -lcExt"
11750 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11752 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11753 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11754 if test "${wx_cv_gcc3+set}" = set; then
11755 echo $ECHO_N "(cached) $ECHO_C" >&6
11758 cat >conftest.
$ac_ext <<_ACEOF
11759 #line $LINENO "configure"
11762 cat confdefs.h
>>conftest.
$ac_ext
11763 cat >>conftest.
$ac_ext <<_ACEOF
11764 /* end confdefs.h. */
11765 #include <features.h>
11778 rm -f conftest.
$ac_objext
11779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11780 (eval $ac_compile) 2>&5
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); } &&
11784 { ac_try
='test -s conftest.$ac_objext'
11785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786 (eval $ac_try) 2>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); }; }; then
11794 echo "$as_me: failed program was:" >&5
11795 sed 's/^/| /' conftest.
$ac_ext >&5
11802 rm -f conftest.
$ac_objext conftest.
$ac_ext
11805 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11806 echo "${ECHO_T}$wx_cv_gcc3" >&6
11807 if test "$wx_cv_gcc3" = "no"; then
11808 LIBS
="$LIBS -lstdcpp"
11810 LIBS
="$LIBS -lstdcxx"
11816 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11817 echo "$as_me:$LINENO: checking for strings.h" >&5
11818 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11819 if test "${ac_cv_header_strings_h+set}" = set; then
11820 echo $ECHO_N "(cached) $ECHO_C" >&6
11822 ac_cv_header_strings_h
=no
11824 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11825 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11826 if test "$ac_cv_header_strings_h" = "no"; then
11827 echo "$as_me:$LINENO: result: forced no into cache" >&5
11828 echo "${ECHO_T}forced no into cache" >&6
11830 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11831 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11834 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11835 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11836 if test "${ac_cv_header_stdc+set}" = set; then
11837 echo $ECHO_N "(cached) $ECHO_C" >&6
11839 cat >conftest.
$ac_ext <<_ACEOF
11840 #line $LINENO "configure"
11843 cat confdefs.h
>>conftest.
$ac_ext
11844 cat >>conftest.
$ac_ext <<_ACEOF
11845 /* end confdefs.h. */
11846 #include <stdlib.h>
11847 #include <stdarg.h>
11848 #include <string.h>
11859 rm -f conftest.
$ac_objext
11860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11861 (eval $ac_compile) 2>&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); } &&
11865 { ac_try
='test -s conftest.$ac_objext'
11866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11867 (eval $ac_try) 2>&5
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); }; }; then
11871 ac_cv_header_stdc
=yes
11873 echo "$as_me: failed program was:" >&5
11874 sed 's/^/| /' conftest.
$ac_ext >&5
11876 ac_cv_header_stdc
=no
11878 rm -f conftest.
$ac_objext conftest.
$ac_ext
11880 if test $ac_cv_header_stdc = yes; then
11881 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11882 cat >conftest.
$ac_ext <<_ACEOF
11883 #line $LINENO "configure"
11886 cat confdefs.h
>>conftest.
$ac_ext
11887 cat >>conftest.
$ac_ext <<_ACEOF
11888 /* end confdefs.h. */
11889 #include <string.h>
11892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11893 $EGREP "memchr" >/dev
/null
2>&1; then
11896 ac_cv_header_stdc
=no
11902 if test $ac_cv_header_stdc = yes; then
11903 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11904 cat >conftest.
$ac_ext <<_ACEOF
11905 #line $LINENO "configure"
11908 cat confdefs.h
>>conftest.
$ac_ext
11909 cat >>conftest.
$ac_ext <<_ACEOF
11910 /* end confdefs.h. */
11911 #include <stdlib.h>
11914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11915 $EGREP "free" >/dev
/null
2>&1; then
11918 ac_cv_header_stdc
=no
11924 if test $ac_cv_header_stdc = yes; then
11925 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11926 if test "$cross_compiling" = yes; then
11929 cat >conftest.
$ac_ext <<_ACEOF
11930 #line $LINENO "configure"
11933 cat confdefs.h
>>conftest.
$ac_ext
11934 cat >>conftest.
$ac_ext <<_ACEOF
11935 /* end confdefs.h. */
11937 #if ((' ' & 0x0FF) == 0x020)
11938 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11939 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11941 # define ISLOWER(c) \
11942 (('a' <= (c) && (c) <= 'i') \
11943 || ('j' <= (c) && (c) <= 'r') \
11944 || ('s' <= (c) && (c) <= 'z'))
11945 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11948 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11953 for (i = 0; i < 256; i++)
11954 if (XOR (islower (i), ISLOWER (i))
11955 || toupper (i) != TOUPPER (i))
11960 rm -f conftest
$ac_exeext
11961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11962 (eval $ac_link) 2>&5
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11967 (eval $ac_try) 2>&5
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); }; }; then
11973 echo "$as_me: program exited with status $ac_status" >&5
11974 echo "$as_me: failed program was:" >&5
11975 sed 's/^/| /' conftest.
$ac_ext >&5
11977 ( exit $ac_status )
11978 ac_cv_header_stdc
=no
11980 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11984 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11985 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11986 if test $ac_cv_header_stdc = yes; then
11988 cat >>confdefs.h
<<\_ACEOF
11989 #define STDC_HEADERS 1
11994 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12004 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12005 inttypes.h stdint.h unistd.h
12007 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12008 echo "$as_me:$LINENO: checking for $ac_header" >&5
12009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12011 echo $ECHO_N "(cached) $ECHO_C" >&6
12013 cat >conftest.
$ac_ext <<_ACEOF
12014 #line $LINENO "configure"
12017 cat confdefs.h
>>conftest.
$ac_ext
12018 cat >>conftest.
$ac_ext <<_ACEOF
12019 /* end confdefs.h. */
12020 $ac_includes_default
12022 #include <$ac_header>
12024 rm -f conftest.
$ac_objext
12025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12026 (eval $ac_compile) 2>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); } &&
12030 { ac_try
='test -s conftest.$ac_objext'
12031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12032 (eval $ac_try) 2>&5
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); }; }; then
12036 eval "$as_ac_Header=yes"
12038 echo "$as_me: failed program was:" >&5
12039 sed 's/^/| /' conftest.
$ac_ext >&5
12041 eval "$as_ac_Header=no"
12043 rm -f conftest.
$ac_objext conftest.
$ac_ext
12045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12048 cat >>confdefs.h
<<_ACEOF
12049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12058 for ac_header
in strings.h
12060 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12062 echo "$as_me:$LINENO: checking for $ac_header" >&5
12063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12065 echo $ECHO_N "(cached) $ECHO_C" >&6
12067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12070 # Is the header compilable?
12071 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12072 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12073 cat >conftest.
$ac_ext <<_ACEOF
12074 #line $LINENO "configure"
12077 cat confdefs.h
>>conftest.
$ac_ext
12078 cat >>conftest.
$ac_ext <<_ACEOF
12079 /* end confdefs.h. */
12080 $ac_includes_default
12081 #include <$ac_header>
12083 rm -f conftest.
$ac_objext
12084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12085 (eval $ac_compile) 2>&5
12087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088 (exit $ac_status); } &&
12089 { ac_try
='test -s conftest.$ac_objext'
12090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12091 (eval $ac_try) 2>&5
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); }; }; then
12095 ac_header_compiler
=yes
12097 echo "$as_me: failed program was:" >&5
12098 sed 's/^/| /' conftest.
$ac_ext >&5
12100 ac_header_compiler
=no
12102 rm -f conftest.
$ac_objext conftest.
$ac_ext
12103 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12104 echo "${ECHO_T}$ac_header_compiler" >&6
12106 # Is the header present?
12107 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12108 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12109 cat >conftest.
$ac_ext <<_ACEOF
12110 #line $LINENO "configure"
12113 cat confdefs.h
>>conftest.
$ac_ext
12114 cat >>conftest.
$ac_ext <<_ACEOF
12115 /* end confdefs.h. */
12116 #include <$ac_header>
12118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12119 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12121 grep -v '^ *+' conftest.er1
>conftest.err
12123 cat conftest.err
>&5
12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125 (exit $ac_status); } >/dev
/null
; then
12126 if test -s conftest.err
; then
12127 ac_cpp_err
=$ac_c_preproc_warn_flag
12134 if test -z "$ac_cpp_err"; then
12135 ac_header_preproc
=yes
12137 echo "$as_me: failed program was:" >&5
12138 sed 's/^/| /' conftest.
$ac_ext >&5
12140 ac_header_preproc
=no
12142 rm -f conftest.err conftest.
$ac_ext
12143 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12144 echo "${ECHO_T}$ac_header_preproc" >&6
12146 # So? What about this header?
12147 case $ac_header_compiler:$ac_header_preproc in
12149 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12150 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12155 ## ------------------------------------ ##
12156 ## Report this to bug-autoconf@gnu.org. ##
12157 ## ------------------------------------ ##
12160 sed "s/^/$as_me: WARNING: /" >&2
12163 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12164 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12165 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12166 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12171 ## ------------------------------------ ##
12172 ## Report this to bug-autoconf@gnu.org. ##
12173 ## ------------------------------------ ##
12176 sed "s/^/$as_me: WARNING: /" >&2
12179 echo "$as_me:$LINENO: checking for $ac_header" >&5
12180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12182 echo $ECHO_N "(cached) $ECHO_C" >&6
12184 eval "$as_ac_Header=$ac_header_preproc"
12186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12191 cat >>confdefs.h
<<_ACEOF
12192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12201 for ac_header
in stdlib.h
12203 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12205 echo "$as_me:$LINENO: checking for $ac_header" >&5
12206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12208 echo $ECHO_N "(cached) $ECHO_C" >&6
12210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12213 # Is the header compilable?
12214 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12215 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12216 cat >conftest.
$ac_ext <<_ACEOF
12217 #line $LINENO "configure"
12220 cat confdefs.h
>>conftest.
$ac_ext
12221 cat >>conftest.
$ac_ext <<_ACEOF
12222 /* end confdefs.h. */
12223 $ac_includes_default
12224 #include <$ac_header>
12226 rm -f conftest.
$ac_objext
12227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12228 (eval $ac_compile) 2>&5
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); } &&
12232 { ac_try
='test -s conftest.$ac_objext'
12233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12234 (eval $ac_try) 2>&5
12236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); }; }; then
12238 ac_header_compiler
=yes
12240 echo "$as_me: failed program was:" >&5
12241 sed 's/^/| /' conftest.
$ac_ext >&5
12243 ac_header_compiler
=no
12245 rm -f conftest.
$ac_objext conftest.
$ac_ext
12246 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12247 echo "${ECHO_T}$ac_header_compiler" >&6
12249 # Is the header present?
12250 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12251 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12252 cat >conftest.
$ac_ext <<_ACEOF
12253 #line $LINENO "configure"
12256 cat confdefs.h
>>conftest.
$ac_ext
12257 cat >>conftest.
$ac_ext <<_ACEOF
12258 /* end confdefs.h. */
12259 #include <$ac_header>
12261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12262 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12264 grep -v '^ *+' conftest.er1
>conftest.err
12266 cat conftest.err
>&5
12267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); } >/dev
/null
; then
12269 if test -s conftest.err
; then
12270 ac_cpp_err
=$ac_c_preproc_warn_flag
12277 if test -z "$ac_cpp_err"; then
12278 ac_header_preproc
=yes
12280 echo "$as_me: failed program was:" >&5
12281 sed 's/^/| /' conftest.
$ac_ext >&5
12283 ac_header_preproc
=no
12285 rm -f conftest.err conftest.
$ac_ext
12286 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12287 echo "${ECHO_T}$ac_header_preproc" >&6
12289 # So? What about this header?
12290 case $ac_header_compiler:$ac_header_preproc in
12292 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12293 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12295 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12298 ## ------------------------------------ ##
12299 ## Report this to bug-autoconf@gnu.org. ##
12300 ## ------------------------------------ ##
12303 sed "s/^/$as_me: WARNING: /" >&2
12306 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12307 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12308 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12309 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12314 ## ------------------------------------ ##
12315 ## Report this to bug-autoconf@gnu.org. ##
12316 ## ------------------------------------ ##
12319 sed "s/^/$as_me: WARNING: /" >&2
12322 echo "$as_me:$LINENO: checking for $ac_header" >&5
12323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12325 echo $ECHO_N "(cached) $ECHO_C" >&6
12327 eval "$as_ac_Header=$ac_header_preproc"
12329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12333 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12334 cat >>confdefs.h
<<_ACEOF
12335 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12343 for ac_header
in malloc.h
12345 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12347 echo "$as_me:$LINENO: checking for $ac_header" >&5
12348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12350 echo $ECHO_N "(cached) $ECHO_C" >&6
12352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12355 # Is the header compilable?
12356 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12357 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12358 cat >conftest.
$ac_ext <<_ACEOF
12359 #line $LINENO "configure"
12362 cat confdefs.h
>>conftest.
$ac_ext
12363 cat >>conftest.
$ac_ext <<_ACEOF
12364 /* end confdefs.h. */
12365 $ac_includes_default
12366 #include <$ac_header>
12368 rm -f conftest.
$ac_objext
12369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12370 (eval $ac_compile) 2>&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } &&
12374 { ac_try
='test -s conftest.$ac_objext'
12375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376 (eval $ac_try) 2>&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; }; then
12380 ac_header_compiler
=yes
12382 echo "$as_me: failed program was:" >&5
12383 sed 's/^/| /' conftest.
$ac_ext >&5
12385 ac_header_compiler
=no
12387 rm -f conftest.
$ac_objext conftest.
$ac_ext
12388 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12389 echo "${ECHO_T}$ac_header_compiler" >&6
12391 # Is the header present?
12392 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12393 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12394 cat >conftest.
$ac_ext <<_ACEOF
12395 #line $LINENO "configure"
12398 cat confdefs.h
>>conftest.
$ac_ext
12399 cat >>conftest.
$ac_ext <<_ACEOF
12400 /* end confdefs.h. */
12401 #include <$ac_header>
12403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12404 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12406 grep -v '^ *+' conftest.er1
>conftest.err
12408 cat conftest.err
>&5
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); } >/dev
/null
; then
12411 if test -s conftest.err
; then
12412 ac_cpp_err
=$ac_c_preproc_warn_flag
12419 if test -z "$ac_cpp_err"; then
12420 ac_header_preproc
=yes
12422 echo "$as_me: failed program was:" >&5
12423 sed 's/^/| /' conftest.
$ac_ext >&5
12425 ac_header_preproc
=no
12427 rm -f conftest.err conftest.
$ac_ext
12428 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12429 echo "${ECHO_T}$ac_header_preproc" >&6
12431 # So? What about this header?
12432 case $ac_header_compiler:$ac_header_preproc in
12434 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12435 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12440 ## ------------------------------------ ##
12441 ## Report this to bug-autoconf@gnu.org. ##
12442 ## ------------------------------------ ##
12445 sed "s/^/$as_me: WARNING: /" >&2
12448 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12449 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12450 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12451 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12452 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12453 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12456 ## ------------------------------------ ##
12457 ## Report this to bug-autoconf@gnu.org. ##
12458 ## ------------------------------------ ##
12461 sed "s/^/$as_me: WARNING: /" >&2
12464 echo "$as_me:$LINENO: checking for $ac_header" >&5
12465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12467 echo $ECHO_N "(cached) $ECHO_C" >&6
12469 eval "$as_ac_Header=$ac_header_preproc"
12471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12476 cat >>confdefs.h
<<_ACEOF
12477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12485 for ac_header
in unistd.h
12487 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12489 echo "$as_me:$LINENO: checking for $ac_header" >&5
12490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12492 echo $ECHO_N "(cached) $ECHO_C" >&6
12494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12497 # Is the header compilable?
12498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12500 cat >conftest.
$ac_ext <<_ACEOF
12501 #line $LINENO "configure"
12504 cat confdefs.h
>>conftest.
$ac_ext
12505 cat >>conftest.
$ac_ext <<_ACEOF
12506 /* end confdefs.h. */
12507 $ac_includes_default
12508 #include <$ac_header>
12510 rm -f conftest.
$ac_objext
12511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12512 (eval $ac_compile) 2>&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); } &&
12516 { ac_try
='test -s conftest.$ac_objext'
12517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12518 (eval $ac_try) 2>&5
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); }; }; then
12522 ac_header_compiler
=yes
12524 echo "$as_me: failed program was:" >&5
12525 sed 's/^/| /' conftest.
$ac_ext >&5
12527 ac_header_compiler
=no
12529 rm -f conftest.
$ac_objext conftest.
$ac_ext
12530 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12531 echo "${ECHO_T}$ac_header_compiler" >&6
12533 # Is the header present?
12534 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12535 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12536 cat >conftest.
$ac_ext <<_ACEOF
12537 #line $LINENO "configure"
12540 cat confdefs.h
>>conftest.
$ac_ext
12541 cat >>conftest.
$ac_ext <<_ACEOF
12542 /* end confdefs.h. */
12543 #include <$ac_header>
12545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12546 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12548 grep -v '^ *+' conftest.er1
>conftest.err
12550 cat conftest.err
>&5
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); } >/dev
/null
; then
12553 if test -s conftest.err
; then
12554 ac_cpp_err
=$ac_c_preproc_warn_flag
12561 if test -z "$ac_cpp_err"; then
12562 ac_header_preproc
=yes
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.
$ac_ext >&5
12567 ac_header_preproc
=no
12569 rm -f conftest.err conftest.
$ac_ext
12570 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12571 echo "${ECHO_T}$ac_header_preproc" >&6
12573 # So? What about this header?
12574 case $ac_header_compiler:$ac_header_preproc in
12576 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12577 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12579 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12582 ## ------------------------------------ ##
12583 ## Report this to bug-autoconf@gnu.org. ##
12584 ## ------------------------------------ ##
12587 sed "s/^/$as_me: WARNING: /" >&2
12590 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12591 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12592 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12593 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12595 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12598 ## ------------------------------------ ##
12599 ## Report this to bug-autoconf@gnu.org. ##
12600 ## ------------------------------------ ##
12603 sed "s/^/$as_me: WARNING: /" >&2
12606 echo "$as_me:$LINENO: checking for $ac_header" >&5
12607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12609 echo $ECHO_N "(cached) $ECHO_C" >&6
12611 eval "$as_ac_Header=$ac_header_preproc"
12613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12618 cat >>confdefs.h
<<_ACEOF
12619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12627 for ac_header
in wchar.h
12629 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12631 echo "$as_me:$LINENO: checking for $ac_header" >&5
12632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12639 # Is the header compilable?
12640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12642 cat >conftest.
$ac_ext <<_ACEOF
12643 #line $LINENO "configure"
12646 cat confdefs.h
>>conftest.
$ac_ext
12647 cat >>conftest.
$ac_ext <<_ACEOF
12648 /* end confdefs.h. */
12649 $ac_includes_default
12650 #include <$ac_header>
12652 rm -f conftest.
$ac_objext
12653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12654 (eval $ac_compile) 2>&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); } &&
12658 { ac_try
='test -s conftest.$ac_objext'
12659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12660 (eval $ac_try) 2>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; }; then
12664 ac_header_compiler
=yes
12666 echo "$as_me: failed program was:" >&5
12667 sed 's/^/| /' conftest.
$ac_ext >&5
12669 ac_header_compiler
=no
12671 rm -f conftest.
$ac_objext conftest.
$ac_ext
12672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12673 echo "${ECHO_T}$ac_header_compiler" >&6
12675 # Is the header present?
12676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12678 cat >conftest.
$ac_ext <<_ACEOF
12679 #line $LINENO "configure"
12682 cat confdefs.h
>>conftest.
$ac_ext
12683 cat >>conftest.
$ac_ext <<_ACEOF
12684 /* end confdefs.h. */
12685 #include <$ac_header>
12687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12688 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12690 grep -v '^ *+' conftest.er1
>conftest.err
12692 cat conftest.err
>&5
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); } >/dev
/null
; then
12695 if test -s conftest.err
; then
12696 ac_cpp_err
=$ac_c_preproc_warn_flag
12703 if test -z "$ac_cpp_err"; then
12704 ac_header_preproc
=yes
12706 echo "$as_me: failed program was:" >&5
12707 sed 's/^/| /' conftest.
$ac_ext >&5
12709 ac_header_preproc
=no
12711 rm -f conftest.err conftest.
$ac_ext
12712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12713 echo "${ECHO_T}$ac_header_preproc" >&6
12715 # So? What about this header?
12716 case $ac_header_compiler:$ac_header_preproc in
12718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12724 ## ------------------------------------ ##
12725 ## Report this to bug-autoconf@gnu.org. ##
12726 ## ------------------------------------ ##
12729 sed "s/^/$as_me: WARNING: /" >&2
12732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12740 ## ------------------------------------ ##
12741 ## Report this to bug-autoconf@gnu.org. ##
12742 ## ------------------------------------ ##
12745 sed "s/^/$as_me: WARNING: /" >&2
12748 echo "$as_me:$LINENO: checking for $ac_header" >&5
12749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12751 echo $ECHO_N "(cached) $ECHO_C" >&6
12753 eval "$as_ac_Header=$ac_header_preproc"
12755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12760 cat >>confdefs.h
<<_ACEOF
12761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12769 if test "$ac_cv_header_wchar_h" != "yes"; then
12771 for ac_header
in wcstr.h
12773 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12775 echo "$as_me:$LINENO: checking for $ac_header" >&5
12776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12783 # Is the header compilable?
12784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12786 cat >conftest.
$ac_ext <<_ACEOF
12787 #line $LINENO "configure"
12790 cat confdefs.h
>>conftest.
$ac_ext
12791 cat >>conftest.
$ac_ext <<_ACEOF
12792 /* end confdefs.h. */
12793 $ac_includes_default
12794 #include <$ac_header>
12796 rm -f conftest.
$ac_objext
12797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12798 (eval $ac_compile) 2>&5
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); } &&
12802 { ac_try
='test -s conftest.$ac_objext'
12803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12804 (eval $ac_try) 2>&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); }; }; then
12808 ac_header_compiler
=yes
12810 echo "$as_me: failed program was:" >&5
12811 sed 's/^/| /' conftest.
$ac_ext >&5
12813 ac_header_compiler
=no
12815 rm -f conftest.
$ac_objext conftest.
$ac_ext
12816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12817 echo "${ECHO_T}$ac_header_compiler" >&6
12819 # Is the header present?
12820 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12821 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12822 cat >conftest.
$ac_ext <<_ACEOF
12823 #line $LINENO "configure"
12826 cat confdefs.h
>>conftest.
$ac_ext
12827 cat >>conftest.
$ac_ext <<_ACEOF
12828 /* end confdefs.h. */
12829 #include <$ac_header>
12831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12832 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12834 grep -v '^ *+' conftest.er1
>conftest.err
12836 cat conftest.err
>&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); } >/dev
/null
; then
12839 if test -s conftest.err
; then
12840 ac_cpp_err
=$ac_c_preproc_warn_flag
12847 if test -z "$ac_cpp_err"; then
12848 ac_header_preproc
=yes
12850 echo "$as_me: failed program was:" >&5
12851 sed 's/^/| /' conftest.
$ac_ext >&5
12853 ac_header_preproc
=no
12855 rm -f conftest.err conftest.
$ac_ext
12856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12857 echo "${ECHO_T}$ac_header_preproc" >&6
12859 # So? What about this header?
12860 case $ac_header_compiler:$ac_header_preproc in
12862 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12863 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12865 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12868 ## ------------------------------------ ##
12869 ## Report this to bug-autoconf@gnu.org. ##
12870 ## ------------------------------------ ##
12873 sed "s/^/$as_me: WARNING: /" >&2
12876 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12877 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12878 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12879 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12884 ## ------------------------------------ ##
12885 ## Report this to bug-autoconf@gnu.org. ##
12886 ## ------------------------------------ ##
12889 sed "s/^/$as_me: WARNING: /" >&2
12892 echo "$as_me:$LINENO: checking for $ac_header" >&5
12893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12895 echo $ECHO_N "(cached) $ECHO_C" >&6
12897 eval "$as_ac_Header=$ac_header_preproc"
12899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12904 cat >>confdefs.h
<<_ACEOF
12905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12915 for ac_header
in fnmatch.h
12917 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12919 echo "$as_me:$LINENO: checking for $ac_header" >&5
12920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12922 echo $ECHO_N "(cached) $ECHO_C" >&6
12924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12927 # Is the header compilable?
12928 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12929 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12930 cat >conftest.
$ac_ext <<_ACEOF
12931 #line $LINENO "configure"
12934 cat confdefs.h
>>conftest.
$ac_ext
12935 cat >>conftest.
$ac_ext <<_ACEOF
12936 /* end confdefs.h. */
12937 $ac_includes_default
12938 #include <$ac_header>
12940 rm -f conftest.
$ac_objext
12941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12942 (eval $ac_compile) 2>&5
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); } &&
12946 { ac_try
='test -s conftest.$ac_objext'
12947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12948 (eval $ac_try) 2>&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); }; }; then
12952 ac_header_compiler
=yes
12954 echo "$as_me: failed program was:" >&5
12955 sed 's/^/| /' conftest.
$ac_ext >&5
12957 ac_header_compiler
=no
12959 rm -f conftest.
$ac_objext conftest.
$ac_ext
12960 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12961 echo "${ECHO_T}$ac_header_compiler" >&6
12963 # Is the header present?
12964 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12965 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12966 cat >conftest.
$ac_ext <<_ACEOF
12967 #line $LINENO "configure"
12970 cat confdefs.h
>>conftest.
$ac_ext
12971 cat >>conftest.
$ac_ext <<_ACEOF
12972 /* end confdefs.h. */
12973 #include <$ac_header>
12975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12976 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12978 grep -v '^ *+' conftest.er1
>conftest.err
12980 cat conftest.err
>&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); } >/dev
/null
; then
12983 if test -s conftest.err
; then
12984 ac_cpp_err
=$ac_c_preproc_warn_flag
12991 if test -z "$ac_cpp_err"; then
12992 ac_header_preproc
=yes
12994 echo "$as_me: failed program was:" >&5
12995 sed 's/^/| /' conftest.
$ac_ext >&5
12997 ac_header_preproc
=no
12999 rm -f conftest.err conftest.
$ac_ext
13000 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13001 echo "${ECHO_T}$ac_header_preproc" >&6
13003 # So? What about this header?
13004 case $ac_header_compiler:$ac_header_preproc in
13006 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13007 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13012 ## ------------------------------------ ##
13013 ## Report this to bug-autoconf@gnu.org. ##
13014 ## ------------------------------------ ##
13017 sed "s/^/$as_me: WARNING: /" >&2
13020 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13021 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13022 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13023 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13025 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13028 ## ------------------------------------ ##
13029 ## Report this to bug-autoconf@gnu.org. ##
13030 ## ------------------------------------ ##
13033 sed "s/^/$as_me: WARNING: /" >&2
13036 echo "$as_me:$LINENO: checking for $ac_header" >&5
13037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13041 eval "$as_ac_Header=$ac_header_preproc"
13043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13048 cat >>confdefs.h
<<_ACEOF
13049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13057 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13059 for ac_func
in fnmatch
13061 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13062 echo "$as_me:$LINENO: checking for $ac_func" >&5
13063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13064 if eval "test \"\${$as_ac_var+set}\" = set"; then
13065 echo $ECHO_N "(cached) $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 /* System header to define __stub macros and hopefully few prototypes,
13075 which can conflict with char $ac_func (); below.
13076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13077 <limits.h> exists even on freestanding compilers. */
13079 # include <limits.h>
13081 # include <assert.h>
13083 /* Override any gcc2 internal prototype to avoid an error. */
13088 /* We use char because int might match the return type of a gcc2
13089 builtin and then its argument prototype would still apply. */
13091 /* The GNU C library defines this for functions which it implements
13092 to always fail with ENOSYS. Some functions are actually named
13093 something starting with __ and the normal name is an alias. */
13094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13097 char (*f) () = $ac_func;
13106 return f != $ac_func;
13111 rm -f conftest.
$ac_objext conftest
$ac_exeext
13112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13113 (eval $ac_link) 2>&5
13115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116 (exit $ac_status); } &&
13117 { ac_try
='test -s conftest$ac_exeext'
13118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13119 (eval $ac_try) 2>&5
13121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13122 (exit $ac_status); }; }; then
13123 eval "$as_ac_var=yes"
13125 echo "$as_me: failed program was:" >&5
13126 sed 's/^/| /' conftest.
$ac_ext >&5
13128 eval "$as_ac_var=no"
13130 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13134 if test `eval echo '${'$as_ac_var'}'` = yes; then
13135 cat >>confdefs.h
<<_ACEOF
13136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13145 for ac_header
in langinfo.h
13147 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13149 echo "$as_me:$LINENO: checking for $ac_header" >&5
13150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13152 echo $ECHO_N "(cached) $ECHO_C" >&6
13154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13157 # Is the header compilable?
13158 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13159 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13160 cat >conftest.
$ac_ext <<_ACEOF
13161 #line $LINENO "configure"
13164 cat confdefs.h
>>conftest.
$ac_ext
13165 cat >>conftest.
$ac_ext <<_ACEOF
13166 /* end confdefs.h. */
13167 $ac_includes_default
13168 #include <$ac_header>
13170 rm -f conftest.
$ac_objext
13171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13172 (eval $ac_compile) 2>&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); } &&
13176 { ac_try
='test -s conftest.$ac_objext'
13177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13178 (eval $ac_try) 2>&5
13180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181 (exit $ac_status); }; }; then
13182 ac_header_compiler
=yes
13184 echo "$as_me: failed program was:" >&5
13185 sed 's/^/| /' conftest.
$ac_ext >&5
13187 ac_header_compiler
=no
13189 rm -f conftest.
$ac_objext conftest.
$ac_ext
13190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13191 echo "${ECHO_T}$ac_header_compiler" >&6
13193 # Is the header present?
13194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13196 cat >conftest.
$ac_ext <<_ACEOF
13197 #line $LINENO "configure"
13200 cat confdefs.h
>>conftest.
$ac_ext
13201 cat >>conftest.
$ac_ext <<_ACEOF
13202 /* end confdefs.h. */
13203 #include <$ac_header>
13205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13206 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13208 grep -v '^ *+' conftest.er1
>conftest.err
13210 cat conftest.err
>&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); } >/dev
/null
; then
13213 if test -s conftest.err
; then
13214 ac_cpp_err
=$ac_c_preproc_warn_flag
13221 if test -z "$ac_cpp_err"; then
13222 ac_header_preproc
=yes
13224 echo "$as_me: failed program was:" >&5
13225 sed 's/^/| /' conftest.
$ac_ext >&5
13227 ac_header_preproc
=no
13229 rm -f conftest.err conftest.
$ac_ext
13230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13231 echo "${ECHO_T}$ac_header_preproc" >&6
13233 # So? What about this header?
13234 case $ac_header_compiler:$ac_header_preproc in
13236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13242 ## ------------------------------------ ##
13243 ## Report this to bug-autoconf@gnu.org. ##
13244 ## ------------------------------------ ##
13247 sed "s/^/$as_me: WARNING: /" >&2
13250 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13251 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13252 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13253 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13258 ## ------------------------------------ ##
13259 ## Report this to bug-autoconf@gnu.org. ##
13260 ## ------------------------------------ ##
13263 sed "s/^/$as_me: WARNING: /" >&2
13266 echo "$as_me:$LINENO: checking for $ac_header" >&5
13267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13269 echo $ECHO_N "(cached) $ECHO_C" >&6
13271 eval "$as_ac_Header=$ac_header_preproc"
13273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13278 cat >>confdefs.h
<<_ACEOF
13279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13288 *-pc-os2_emx | *-pc-os2-emx )
13289 if test $ac_cv_header_langinfo_h = "yes"; then
13290 LIBS
="$LIBS -lintl"
13295 if test "$wxUSE_GUI" = "yes"; then
13296 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13298 for ac_header
in X
11/Xlib.h
13300 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13302 echo "$as_me:$LINENO: checking for $ac_header" >&5
13303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13305 echo $ECHO_N "(cached) $ECHO_C" >&6
13307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13310 # Is the header compilable?
13311 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13312 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13313 cat >conftest.
$ac_ext <<_ACEOF
13314 #line $LINENO "configure"
13317 cat confdefs.h
>>conftest.
$ac_ext
13318 cat >>conftest.
$ac_ext <<_ACEOF
13319 /* end confdefs.h. */
13320 $ac_includes_default
13321 #include <$ac_header>
13323 rm -f conftest.
$ac_objext
13324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13325 (eval $ac_compile) 2>&5
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } &&
13329 { ac_try
='test -s conftest.$ac_objext'
13330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13331 (eval $ac_try) 2>&5
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }; }; then
13335 ac_header_compiler
=yes
13337 echo "$as_me: failed program was:" >&5
13338 sed 's/^/| /' conftest.
$ac_ext >&5
13340 ac_header_compiler
=no
13342 rm -f conftest.
$ac_objext conftest.
$ac_ext
13343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13344 echo "${ECHO_T}$ac_header_compiler" >&6
13346 # Is the header present?
13347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13349 cat >conftest.
$ac_ext <<_ACEOF
13350 #line $LINENO "configure"
13353 cat confdefs.h
>>conftest.
$ac_ext
13354 cat >>conftest.
$ac_ext <<_ACEOF
13355 /* end confdefs.h. */
13356 #include <$ac_header>
13358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13359 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13361 grep -v '^ *+' conftest.er1
>conftest.err
13363 cat conftest.err
>&5
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 (exit $ac_status); } >/dev
/null
; then
13366 if test -s conftest.err
; then
13367 ac_cpp_err
=$ac_c_preproc_warn_flag
13374 if test -z "$ac_cpp_err"; then
13375 ac_header_preproc
=yes
13377 echo "$as_me: failed program was:" >&5
13378 sed 's/^/| /' conftest.
$ac_ext >&5
13380 ac_header_preproc
=no
13382 rm -f conftest.err conftest.
$ac_ext
13383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13384 echo "${ECHO_T}$ac_header_preproc" >&6
13386 # So? What about this header?
13387 case $ac_header_compiler:$ac_header_preproc in
13389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13392 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13395 ## ------------------------------------ ##
13396 ## Report this to bug-autoconf@gnu.org. ##
13397 ## ------------------------------------ ##
13400 sed "s/^/$as_me: WARNING: /" >&2
13403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13411 ## ------------------------------------ ##
13412 ## Report this to bug-autoconf@gnu.org. ##
13413 ## ------------------------------------ ##
13416 sed "s/^/$as_me: WARNING: /" >&2
13419 echo "$as_me:$LINENO: checking for $ac_header" >&5
13420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13422 echo $ECHO_N "(cached) $ECHO_C" >&6
13424 eval "$as_ac_Header=$ac_header_preproc"
13426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13431 cat >>confdefs.h
<<_ACEOF
13432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13440 for ac_header
in X
11/XKBlib.h
13442 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13443 echo "$as_me:$LINENO: checking for $ac_header" >&5
13444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13446 echo $ECHO_N "(cached) $ECHO_C" >&6
13448 cat >conftest.
$ac_ext <<_ACEOF
13449 #line $LINENO "configure"
13452 cat confdefs.h
>>conftest.
$ac_ext
13453 cat >>conftest.
$ac_ext <<_ACEOF
13454 /* end confdefs.h. */
13456 #if HAVE_X11_XLIB_H
13457 #include <X11/Xlib.h>
13461 #include <$ac_header>
13463 rm -f conftest.
$ac_objext
13464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13465 (eval $ac_compile) 2>&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } &&
13469 { ac_try
='test -s conftest.$ac_objext'
13470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13471 (eval $ac_try) 2>&5
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); }; }; then
13475 eval "$as_ac_Header=yes"
13477 echo "$as_me: failed program was:" >&5
13478 sed 's/^/| /' conftest.
$ac_ext >&5
13480 eval "$as_ac_Header=no"
13482 rm -f conftest.
$ac_objext conftest.
$ac_ext
13484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13487 cat >>confdefs.h
<<_ACEOF
13488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13499 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13500 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13501 if test "${ac_cv_c_const+set}" = set; then
13502 echo $ECHO_N "(cached) $ECHO_C" >&6
13504 cat >conftest.
$ac_ext <<_ACEOF
13505 #line $LINENO "configure"
13508 cat confdefs.h
>>conftest.
$ac_ext
13509 cat >>conftest.
$ac_ext <<_ACEOF
13510 /* end confdefs.h. */
13515 /* FIXME: Include the comments suggested by Paul. */
13516 #ifndef __cplusplus
13517 /* Ultrix mips cc rejects this. */
13518 typedef int charset[2];
13520 /* SunOS 4.1.1 cc rejects this. */
13521 char const *const *ccp;
13523 /* NEC SVR4.0.2 mips cc rejects this. */
13524 struct point {int x, y;};
13525 static struct point const zero = {0,0};
13526 /* AIX XL C 1.02.0.0 rejects this.
13527 It does not let you subtract one const X* pointer from another in
13528 an arm of an if-expression whose if-part is not a constant
13530 const char *g = "string";
13531 ccp = &g + (g ? g-g : 0);
13532 /* HPUX 7.0 cc rejects these. */
13535 ccp = (char const *const *) p;
13536 { /* SCO 3.2v4 cc rejects this. */
13538 char const *s = 0 ? (char *) 0 : (char const *) 0;
13542 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13543 int x[] = {25, 17};
13544 const int *foo = &x[0];
13547 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13548 typedef const int *iptr;
13552 { /* AIX XL C 1.02.0.0 rejects this saying
13553 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13554 struct s { int j; const int *ap[3]; };
13555 struct s *b; b->j = 5;
13557 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13558 const int foo = 10;
13566 rm -f conftest.
$ac_objext
13567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13568 (eval $ac_compile) 2>&5
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); } &&
13572 { ac_try
='test -s conftest.$ac_objext'
13573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13574 (eval $ac_try) 2>&5
13576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577 (exit $ac_status); }; }; then
13580 echo "$as_me: failed program was:" >&5
13581 sed 's/^/| /' conftest.
$ac_ext >&5
13585 rm -f conftest.
$ac_objext conftest.
$ac_ext
13587 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13588 echo "${ECHO_T}$ac_cv_c_const" >&6
13589 if test $ac_cv_c_const = no
; then
13591 cat >>confdefs.h
<<\_ACEOF
13597 echo "$as_me:$LINENO: checking for inline" >&5
13598 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13599 if test "${ac_cv_c_inline+set}" = set; then
13600 echo $ECHO_N "(cached) $ECHO_C" >&6
13603 for ac_kw
in inline __inline__ __inline
; do
13604 cat >conftest.
$ac_ext <<_ACEOF
13605 #line $LINENO "configure"
13608 cat confdefs.h
>>conftest.
$ac_ext
13609 cat >>conftest.
$ac_ext <<_ACEOF
13610 /* end confdefs.h. */
13611 #ifndef __cplusplus
13613 static $ac_kw foo_t static_foo () {return 0; }
13614 $ac_kw foo_t foo () {return 0; }
13618 rm -f conftest.
$ac_objext
13619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13620 (eval $ac_compile) 2>&5
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); } &&
13624 { ac_try
='test -s conftest.$ac_objext'
13625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13626 (eval $ac_try) 2>&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); }; }; then
13630 ac_cv_c_inline
=$ac_kw; break
13632 echo "$as_me: failed program was:" >&5
13633 sed 's/^/| /' conftest.
$ac_ext >&5
13636 rm -f conftest.
$ac_objext conftest.
$ac_ext
13640 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13641 echo "${ECHO_T}$ac_cv_c_inline" >&6
13642 case $ac_cv_c_inline in
13645 cat >>confdefs.h
<<\_ACEOF
13649 *) cat >>confdefs.h
<<_ACEOF
13650 #define inline $ac_cv_c_inline
13656 echo "$as_me:$LINENO: checking for char" >&5
13657 echo $ECHO_N "checking for char... $ECHO_C" >&6
13658 if test "${ac_cv_type_char+set}" = set; then
13659 echo $ECHO_N "(cached) $ECHO_C" >&6
13661 cat >conftest.
$ac_ext <<_ACEOF
13662 #line $LINENO "configure"
13665 cat confdefs.h
>>conftest.
$ac_ext
13666 cat >>conftest.
$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13668 $ac_includes_default
13680 rm -f conftest.
$ac_objext
13681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13682 (eval $ac_compile) 2>&5
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); } &&
13686 { ac_try
='test -s conftest.$ac_objext'
13687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13688 (eval $ac_try) 2>&5
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); }; }; then
13692 ac_cv_type_char
=yes
13694 echo "$as_me: failed program was:" >&5
13695 sed 's/^/| /' conftest.
$ac_ext >&5
13699 rm -f conftest.
$ac_objext conftest.
$ac_ext
13701 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13702 echo "${ECHO_T}$ac_cv_type_char" >&6
13704 echo "$as_me:$LINENO: checking size of char" >&5
13705 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13706 if test "${ac_cv_sizeof_char+set}" = set; then
13707 echo $ECHO_N "(cached) $ECHO_C" >&6
13709 if test "$ac_cv_type_char" = yes; then
13710 # The cast to unsigned long works around a bug in the HP C Compiler
13711 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13712 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13713 # This bug is HP SR number 8606223364.
13714 if test "$cross_compiling" = yes; then
13715 # Depending upon the size, compute the lo and hi bounds.
13716 cat >conftest.
$ac_ext <<_ACEOF
13717 #line $LINENO "configure"
13720 cat confdefs.h
>>conftest.
$ac_ext
13721 cat >>conftest.
$ac_ext <<_ACEOF
13722 /* end confdefs.h. */
13723 $ac_includes_default
13727 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13734 rm -f conftest.
$ac_objext
13735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13736 (eval $ac_compile) 2>&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } &&
13740 { ac_try
='test -s conftest.$ac_objext'
13741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 (eval $ac_try) 2>&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }; }; then
13748 cat >conftest.
$ac_ext <<_ACEOF
13749 #line $LINENO "configure"
13752 cat confdefs.h
>>conftest.
$ac_ext
13753 cat >>conftest.
$ac_ext <<_ACEOF
13754 /* end confdefs.h. */
13755 $ac_includes_default
13759 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13766 rm -f conftest.
$ac_objext
13767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13768 (eval $ac_compile) 2>&5
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); } &&
13772 { ac_try
='test -s conftest.$ac_objext'
13773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13774 (eval $ac_try) 2>&5
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); }; }; then
13778 ac_hi
=$ac_mid; break
13780 echo "$as_me: failed program was:" >&5
13781 sed 's/^/| /' conftest.
$ac_ext >&5
13783 ac_lo
=`expr $ac_mid + 1`
13784 if test $ac_lo -le $ac_mid; then
13788 ac_mid
=`expr 2 '*' $ac_mid + 1`
13790 rm -f conftest.
$ac_objext conftest.
$ac_ext
13793 echo "$as_me: failed program was:" >&5
13794 sed 's/^/| /' conftest.
$ac_ext >&5
13796 cat >conftest.
$ac_ext <<_ACEOF
13797 #line $LINENO "configure"
13800 cat confdefs.h
>>conftest.
$ac_ext
13801 cat >>conftest.
$ac_ext <<_ACEOF
13802 /* end confdefs.h. */
13803 $ac_includes_default
13807 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13814 rm -f conftest.
$ac_objext
13815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13816 (eval $ac_compile) 2>&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); } &&
13820 { ac_try
='test -s conftest.$ac_objext'
13821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822 (eval $ac_try) 2>&5
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); }; }; then
13828 cat >conftest.
$ac_ext <<_ACEOF
13829 #line $LINENO "configure"
13832 cat confdefs.h
>>conftest.
$ac_ext
13833 cat >>conftest.
$ac_ext <<_ACEOF
13834 /* end confdefs.h. */
13835 $ac_includes_default
13839 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13846 rm -f conftest.
$ac_objext
13847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13848 (eval $ac_compile) 2>&5
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); } &&
13852 { ac_try
='test -s conftest.$ac_objext'
13853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13854 (eval $ac_try) 2>&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); }; }; then
13858 ac_lo
=$ac_mid; break
13860 echo "$as_me: failed program was:" >&5
13861 sed 's/^/| /' conftest.
$ac_ext >&5
13863 ac_hi
=`expr '(' $ac_mid ')' - 1`
13864 if test $ac_mid -le $ac_hi; then
13868 ac_mid
=`expr 2 '*' $ac_mid`
13870 rm -f conftest.
$ac_objext conftest.
$ac_ext
13873 echo "$as_me: failed program was:" >&5
13874 sed 's/^/| /' conftest.
$ac_ext >&5
13878 rm -f conftest.
$ac_objext conftest.
$ac_ext
13880 rm -f conftest.
$ac_objext conftest.
$ac_ext
13881 # Binary search between lo and hi bounds.
13882 while test "x$ac_lo" != "x$ac_hi"; do
13883 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13884 cat >conftest.
$ac_ext <<_ACEOF
13885 #line $LINENO "configure"
13888 cat confdefs.h
>>conftest.
$ac_ext
13889 cat >>conftest.
$ac_ext <<_ACEOF
13890 /* end confdefs.h. */
13891 $ac_includes_default
13895 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13902 rm -f conftest.
$ac_objext
13903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13904 (eval $ac_compile) 2>&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); } &&
13908 { ac_try
='test -s conftest.$ac_objext'
13909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13910 (eval $ac_try) 2>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); }; }; then
13916 echo "$as_me: failed program was:" >&5
13917 sed 's/^/| /' conftest.
$ac_ext >&5
13919 ac_lo
=`expr '(' $ac_mid ')' + 1`
13921 rm -f conftest.
$ac_objext conftest.
$ac_ext
13924 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13925 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13926 See \`config.log' for more details." >&5
13927 echo "$as_me: error: cannot compute sizeof (char), 77
13928 See \`config.log' for more details." >&2;}
13929 { (exit 1); exit 1; }; } ;;
13932 if test "$cross_compiling" = yes; then
13933 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13934 See \`config.log' for more details." >&5
13935 echo "$as_me: error: cannot run test program while cross compiling
13936 See \`config.log' for more details." >&2;}
13937 { (exit 1); exit 1; }; }
13939 cat >conftest.
$ac_ext <<_ACEOF
13940 #line $LINENO "configure"
13943 cat confdefs.h
>>conftest.
$ac_ext
13944 cat >>conftest.
$ac_ext <<_ACEOF
13945 /* end confdefs.h. */
13946 $ac_includes_default
13947 long longval () { return (long) (sizeof (char)); }
13948 unsigned long ulongval () { return (long) (sizeof (char)); }
13950 #include <stdlib.h>
13955 FILE *f = fopen ("conftest.val", "w");
13958 if (((long) (sizeof (char))) < 0)
13960 long i = longval ();
13961 if (i != ((long) (sizeof (char))))
13963 fprintf (f, "%ld\n", i);
13967 unsigned long i = ulongval ();
13968 if (i != ((long) (sizeof (char))))
13970 fprintf (f, "%lu\n", i);
13972 exit (ferror (f) || fclose (f) != 0);
13978 rm -f conftest
$ac_exeext
13979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13980 (eval $ac_link) 2>&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13985 (eval $ac_try) 2>&5
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); }; }; then
13989 ac_cv_sizeof_char
=`cat conftest.val`
13991 echo "$as_me: program exited with status $ac_status" >&5
13992 echo "$as_me: failed program was:" >&5
13993 sed 's/^/| /' conftest.
$ac_ext >&5
13995 ( exit $ac_status )
13996 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13997 See \`config.log' for more details." >&5
13998 echo "$as_me: error: cannot compute sizeof (char), 77
13999 See \`config.log' for more details." >&2;}
14000 { (exit 1); exit 1; }; }
14002 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14007 ac_cv_sizeof_char
=0
14010 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14011 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14012 cat >>confdefs.h
<<_ACEOF
14013 #define SIZEOF_CHAR $ac_cv_sizeof_char
14017 echo "$as_me:$LINENO: checking for short" >&5
14018 echo $ECHO_N "checking for short... $ECHO_C" >&6
14019 if test "${ac_cv_type_short+set}" = set; then
14020 echo $ECHO_N "(cached) $ECHO_C" >&6
14022 cat >conftest.
$ac_ext <<_ACEOF
14023 #line $LINENO "configure"
14026 cat confdefs.h
>>conftest.
$ac_ext
14027 cat >>conftest.
$ac_ext <<_ACEOF
14028 /* end confdefs.h. */
14029 $ac_includes_default
14035 if (sizeof (short))
14041 rm -f conftest.
$ac_objext
14042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14043 (eval $ac_compile) 2>&5
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 (exit $ac_status); } &&
14047 { ac_try
='test -s conftest.$ac_objext'
14048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14049 (eval $ac_try) 2>&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); }; }; then
14053 ac_cv_type_short
=yes
14055 echo "$as_me: failed program was:" >&5
14056 sed 's/^/| /' conftest.
$ac_ext >&5
14058 ac_cv_type_short
=no
14060 rm -f conftest.
$ac_objext conftest.
$ac_ext
14062 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14063 echo "${ECHO_T}$ac_cv_type_short" >&6
14065 echo "$as_me:$LINENO: checking size of short" >&5
14066 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14067 if test "${ac_cv_sizeof_short+set}" = set; then
14068 echo $ECHO_N "(cached) $ECHO_C" >&6
14070 if test "$ac_cv_type_short" = yes; then
14071 # The cast to unsigned long works around a bug in the HP C Compiler
14072 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14073 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14074 # This bug is HP SR number 8606223364.
14075 if test "$cross_compiling" = yes; then
14076 # Depending upon the size, compute the lo and hi bounds.
14077 cat >conftest.
$ac_ext <<_ACEOF
14078 #line $LINENO "configure"
14081 cat confdefs.h
>>conftest.
$ac_ext
14082 cat >>conftest.
$ac_ext <<_ACEOF
14083 /* end confdefs.h. */
14084 $ac_includes_default
14088 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14095 rm -f conftest.
$ac_objext
14096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14097 (eval $ac_compile) 2>&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } &&
14101 { ac_try
='test -s conftest.$ac_objext'
14102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14103 (eval $ac_try) 2>&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; }; then
14109 cat >conftest.
$ac_ext <<_ACEOF
14110 #line $LINENO "configure"
14113 cat confdefs.h
>>conftest.
$ac_ext
14114 cat >>conftest.
$ac_ext <<_ACEOF
14115 /* end confdefs.h. */
14116 $ac_includes_default
14120 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14127 rm -f conftest.
$ac_objext
14128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14129 (eval $ac_compile) 2>&5
14131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14132 (exit $ac_status); } &&
14133 { ac_try
='test -s conftest.$ac_objext'
14134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14135 (eval $ac_try) 2>&5
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); }; }; then
14139 ac_hi
=$ac_mid; break
14141 echo "$as_me: failed program was:" >&5
14142 sed 's/^/| /' conftest.
$ac_ext >&5
14144 ac_lo
=`expr $ac_mid + 1`
14145 if test $ac_lo -le $ac_mid; then
14149 ac_mid
=`expr 2 '*' $ac_mid + 1`
14151 rm -f conftest.
$ac_objext conftest.
$ac_ext
14154 echo "$as_me: failed program was:" >&5
14155 sed 's/^/| /' conftest.
$ac_ext >&5
14157 cat >conftest.
$ac_ext <<_ACEOF
14158 #line $LINENO "configure"
14161 cat confdefs.h
>>conftest.
$ac_ext
14162 cat >>conftest.
$ac_ext <<_ACEOF
14163 /* end confdefs.h. */
14164 $ac_includes_default
14168 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14175 rm -f conftest.
$ac_objext
14176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14177 (eval $ac_compile) 2>&5
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); } &&
14181 { ac_try
='test -s conftest.$ac_objext'
14182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14183 (eval $ac_try) 2>&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); }; }; then
14189 cat >conftest.
$ac_ext <<_ACEOF
14190 #line $LINENO "configure"
14193 cat confdefs.h
>>conftest.
$ac_ext
14194 cat >>conftest.
$ac_ext <<_ACEOF
14195 /* end confdefs.h. */
14196 $ac_includes_default
14200 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14207 rm -f conftest.
$ac_objext
14208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14209 (eval $ac_compile) 2>&5
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); } &&
14213 { ac_try
='test -s conftest.$ac_objext'
14214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14215 (eval $ac_try) 2>&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); }; }; then
14219 ac_lo
=$ac_mid; break
14221 echo "$as_me: failed program was:" >&5
14222 sed 's/^/| /' conftest.
$ac_ext >&5
14224 ac_hi
=`expr '(' $ac_mid ')' - 1`
14225 if test $ac_mid -le $ac_hi; then
14229 ac_mid
=`expr 2 '*' $ac_mid`
14231 rm -f conftest.
$ac_objext conftest.
$ac_ext
14234 echo "$as_me: failed program was:" >&5
14235 sed 's/^/| /' conftest.
$ac_ext >&5
14239 rm -f conftest.
$ac_objext conftest.
$ac_ext
14241 rm -f conftest.
$ac_objext conftest.
$ac_ext
14242 # Binary search between lo and hi bounds.
14243 while test "x$ac_lo" != "x$ac_hi"; do
14244 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14245 cat >conftest.
$ac_ext <<_ACEOF
14246 #line $LINENO "configure"
14249 cat confdefs.h
>>conftest.
$ac_ext
14250 cat >>conftest.
$ac_ext <<_ACEOF
14251 /* end confdefs.h. */
14252 $ac_includes_default
14256 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14263 rm -f conftest.
$ac_objext
14264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14265 (eval $ac_compile) 2>&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); } &&
14269 { ac_try
='test -s conftest.$ac_objext'
14270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14271 (eval $ac_try) 2>&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }; }; then
14277 echo "$as_me: failed program was:" >&5
14278 sed 's/^/| /' conftest.
$ac_ext >&5
14280 ac_lo
=`expr '(' $ac_mid ')' + 1`
14282 rm -f conftest.
$ac_objext conftest.
$ac_ext
14285 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14286 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14287 See \`config.log' for more details." >&5
14288 echo "$as_me: error: cannot compute sizeof (short), 77
14289 See \`config.log' for more details." >&2;}
14290 { (exit 1); exit 1; }; } ;;
14293 if test "$cross_compiling" = yes; then
14294 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14295 See \`config.log' for more details." >&5
14296 echo "$as_me: error: cannot run test program while cross compiling
14297 See \`config.log' for more details." >&2;}
14298 { (exit 1); exit 1; }; }
14300 cat >conftest.
$ac_ext <<_ACEOF
14301 #line $LINENO "configure"
14304 cat confdefs.h
>>conftest.
$ac_ext
14305 cat >>conftest.
$ac_ext <<_ACEOF
14306 /* end confdefs.h. */
14307 $ac_includes_default
14308 long longval () { return (long) (sizeof (short)); }
14309 unsigned long ulongval () { return (long) (sizeof (short)); }
14311 #include <stdlib.h>
14316 FILE *f = fopen ("conftest.val", "w");
14319 if (((long) (sizeof (short))) < 0)
14321 long i = longval ();
14322 if (i != ((long) (sizeof (short))))
14324 fprintf (f, "%ld\n", i);
14328 unsigned long i = ulongval ();
14329 if (i != ((long) (sizeof (short))))
14331 fprintf (f, "%lu\n", i);
14333 exit (ferror (f) || fclose (f) != 0);
14339 rm -f conftest
$ac_exeext
14340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14341 (eval $ac_link) 2>&5
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14346 (eval $ac_try) 2>&5
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); }; }; then
14350 ac_cv_sizeof_short
=`cat conftest.val`
14352 echo "$as_me: program exited with status $ac_status" >&5
14353 echo "$as_me: failed program was:" >&5
14354 sed 's/^/| /' conftest.
$ac_ext >&5
14356 ( exit $ac_status )
14357 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14358 See \`config.log' for more details." >&5
14359 echo "$as_me: error: cannot compute sizeof (short), 77
14360 See \`config.log' for more details." >&2;}
14361 { (exit 1); exit 1; }; }
14363 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14368 ac_cv_sizeof_short
=0
14371 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14372 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14373 cat >>confdefs.h
<<_ACEOF
14374 #define SIZEOF_SHORT $ac_cv_sizeof_short
14378 echo "$as_me:$LINENO: checking for void *" >&5
14379 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14380 if test "${ac_cv_type_void_p+set}" = set; then
14381 echo $ECHO_N "(cached) $ECHO_C" >&6
14383 cat >conftest.
$ac_ext <<_ACEOF
14384 #line $LINENO "configure"
14387 cat confdefs.h
>>conftest.
$ac_ext
14388 cat >>conftest.
$ac_ext <<_ACEOF
14389 /* end confdefs.h. */
14390 $ac_includes_default
14396 if (sizeof (void *))
14402 rm -f conftest.
$ac_objext
14403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14404 (eval $ac_compile) 2>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } &&
14408 { ac_try
='test -s conftest.$ac_objext'
14409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 (eval $ac_try) 2>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }; }; then
14414 ac_cv_type_void_p
=yes
14416 echo "$as_me: failed program was:" >&5
14417 sed 's/^/| /' conftest.
$ac_ext >&5
14419 ac_cv_type_void_p
=no
14421 rm -f conftest.
$ac_objext conftest.
$ac_ext
14423 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14424 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14426 echo "$as_me:$LINENO: checking size of void *" >&5
14427 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14428 if test "${ac_cv_sizeof_void_p+set}" = set; then
14429 echo $ECHO_N "(cached) $ECHO_C" >&6
14431 if test "$ac_cv_type_void_p" = yes; then
14432 # The cast to unsigned long works around a bug in the HP C Compiler
14433 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14434 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14435 # This bug is HP SR number 8606223364.
14436 if test "$cross_compiling" = yes; then
14437 # Depending upon the size, compute the lo and hi bounds.
14438 cat >conftest.
$ac_ext <<_ACEOF
14439 #line $LINENO "configure"
14442 cat confdefs.h
>>conftest.
$ac_ext
14443 cat >>conftest.
$ac_ext <<_ACEOF
14444 /* end confdefs.h. */
14445 $ac_includes_default
14449 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14456 rm -f conftest.
$ac_objext
14457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14458 (eval $ac_compile) 2>&5
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); } &&
14462 { ac_try
='test -s conftest.$ac_objext'
14463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14464 (eval $ac_try) 2>&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); }; }; then
14470 cat >conftest.
$ac_ext <<_ACEOF
14471 #line $LINENO "configure"
14474 cat confdefs.h
>>conftest.
$ac_ext
14475 cat >>conftest.
$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14477 $ac_includes_default
14481 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14488 rm -f conftest.
$ac_objext
14489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14490 (eval $ac_compile) 2>&5
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); } &&
14494 { ac_try
='test -s conftest.$ac_objext'
14495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14496 (eval $ac_try) 2>&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); }; }; then
14500 ac_hi
=$ac_mid; break
14502 echo "$as_me: failed program was:" >&5
14503 sed 's/^/| /' conftest.
$ac_ext >&5
14505 ac_lo
=`expr $ac_mid + 1`
14506 if test $ac_lo -le $ac_mid; then
14510 ac_mid
=`expr 2 '*' $ac_mid + 1`
14512 rm -f conftest.
$ac_objext conftest.
$ac_ext
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.
$ac_ext >&5
14518 cat >conftest.
$ac_ext <<_ACEOF
14519 #line $LINENO "configure"
14522 cat confdefs.h
>>conftest.
$ac_ext
14523 cat >>conftest.
$ac_ext <<_ACEOF
14524 /* end confdefs.h. */
14525 $ac_includes_default
14529 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14536 rm -f conftest.
$ac_objext
14537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14538 (eval $ac_compile) 2>&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } &&
14542 { ac_try
='test -s conftest.$ac_objext'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; }; then
14550 cat >conftest.
$ac_ext <<_ACEOF
14551 #line $LINENO "configure"
14554 cat confdefs.h
>>conftest.
$ac_ext
14555 cat >>conftest.
$ac_ext <<_ACEOF
14556 /* end confdefs.h. */
14557 $ac_includes_default
14561 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14568 rm -f conftest.
$ac_objext
14569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14570 (eval $ac_compile) 2>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); } &&
14574 { ac_try
='test -s conftest.$ac_objext'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; }; then
14580 ac_lo
=$ac_mid; break
14582 echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.
$ac_ext >&5
14585 ac_hi
=`expr '(' $ac_mid ')' - 1`
14586 if test $ac_mid -le $ac_hi; then
14590 ac_mid
=`expr 2 '*' $ac_mid`
14592 rm -f conftest.
$ac_objext conftest.
$ac_ext
14595 echo "$as_me: failed program was:" >&5
14596 sed 's/^/| /' conftest.
$ac_ext >&5
14600 rm -f conftest.
$ac_objext conftest.
$ac_ext
14602 rm -f conftest.
$ac_objext conftest.
$ac_ext
14603 # Binary search between lo and hi bounds.
14604 while test "x$ac_lo" != "x$ac_hi"; do
14605 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14606 cat >conftest.
$ac_ext <<_ACEOF
14607 #line $LINENO "configure"
14610 cat confdefs.h
>>conftest.
$ac_ext
14611 cat >>conftest.
$ac_ext <<_ACEOF
14612 /* end confdefs.h. */
14613 $ac_includes_default
14617 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14624 rm -f conftest.
$ac_objext
14625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14626 (eval $ac_compile) 2>&5
14628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14629 (exit $ac_status); } &&
14630 { ac_try
='test -s conftest.$ac_objext'
14631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14632 (eval $ac_try) 2>&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); }; }; then
14638 echo "$as_me: failed program was:" >&5
14639 sed 's/^/| /' conftest.
$ac_ext >&5
14641 ac_lo
=`expr '(' $ac_mid ')' + 1`
14643 rm -f conftest.
$ac_objext conftest.
$ac_ext
14646 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14647 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14648 See \`config.log' for more details." >&5
14649 echo "$as_me: error: cannot compute sizeof (void *), 77
14650 See \`config.log' for more details." >&2;}
14651 { (exit 1); exit 1; }; } ;;
14654 if test "$cross_compiling" = yes; then
14655 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14656 See \`config.log' for more details." >&5
14657 echo "$as_me: error: cannot run test program while cross compiling
14658 See \`config.log' for more details." >&2;}
14659 { (exit 1); exit 1; }; }
14661 cat >conftest.
$ac_ext <<_ACEOF
14662 #line $LINENO "configure"
14665 cat confdefs.h
>>conftest.
$ac_ext
14666 cat >>conftest.
$ac_ext <<_ACEOF
14667 /* end confdefs.h. */
14668 $ac_includes_default
14669 long longval () { return (long) (sizeof (void *)); }
14670 unsigned long ulongval () { return (long) (sizeof (void *)); }
14672 #include <stdlib.h>
14677 FILE *f = fopen ("conftest.val", "w");
14680 if (((long) (sizeof (void *))) < 0)
14682 long i = longval ();
14683 if (i != ((long) (sizeof (void *))))
14685 fprintf (f, "%ld\n", i);
14689 unsigned long i = ulongval ();
14690 if (i != ((long) (sizeof (void *))))
14692 fprintf (f, "%lu\n", i);
14694 exit (ferror (f) || fclose (f) != 0);
14700 rm -f conftest
$ac_exeext
14701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14702 (eval $ac_link) 2>&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14707 (eval $ac_try) 2>&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); }; }; then
14711 ac_cv_sizeof_void_p
=`cat conftest.val`
14713 echo "$as_me: program exited with status $ac_status" >&5
14714 echo "$as_me: failed program was:" >&5
14715 sed 's/^/| /' conftest.
$ac_ext >&5
14717 ( exit $ac_status )
14718 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14719 See \`config.log' for more details." >&5
14720 echo "$as_me: error: cannot compute sizeof (void *), 77
14721 See \`config.log' for more details." >&2;}
14722 { (exit 1); exit 1; }; }
14724 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14729 ac_cv_sizeof_void_p
=0
14732 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14733 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14734 cat >>confdefs.h
<<_ACEOF
14735 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14739 echo "$as_me:$LINENO: checking for int" >&5
14740 echo $ECHO_N "checking for int... $ECHO_C" >&6
14741 if test "${ac_cv_type_int+set}" = set; then
14742 echo $ECHO_N "(cached) $ECHO_C" >&6
14744 cat >conftest.
$ac_ext <<_ACEOF
14745 #line $LINENO "configure"
14748 cat confdefs.h
>>conftest.
$ac_ext
14749 cat >>conftest.
$ac_ext <<_ACEOF
14750 /* end confdefs.h. */
14751 $ac_includes_default
14763 rm -f conftest.
$ac_objext
14764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14765 (eval $ac_compile) 2>&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); } &&
14769 { ac_try
='test -s conftest.$ac_objext'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; }; then
14777 echo "$as_me: failed program was:" >&5
14778 sed 's/^/| /' conftest.
$ac_ext >&5
14782 rm -f conftest.
$ac_objext conftest.
$ac_ext
14784 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14785 echo "${ECHO_T}$ac_cv_type_int" >&6
14787 echo "$as_me:$LINENO: checking size of int" >&5
14788 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14789 if test "${ac_cv_sizeof_int+set}" = set; then
14790 echo $ECHO_N "(cached) $ECHO_C" >&6
14792 if test "$ac_cv_type_int" = yes; then
14793 # The cast to unsigned long works around a bug in the HP C Compiler
14794 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14795 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14796 # This bug is HP SR number 8606223364.
14797 if test "$cross_compiling" = yes; then
14798 # Depending upon the size, compute the lo and hi bounds.
14799 cat >conftest.
$ac_ext <<_ACEOF
14800 #line $LINENO "configure"
14803 cat confdefs.h
>>conftest.
$ac_ext
14804 cat >>conftest.
$ac_ext <<_ACEOF
14805 /* end confdefs.h. */
14806 $ac_includes_default
14810 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14817 rm -f conftest.
$ac_objext
14818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14819 (eval $ac_compile) 2>&5
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); } &&
14823 { ac_try
='test -s conftest.$ac_objext'
14824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14825 (eval $ac_try) 2>&5
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; }; then
14831 cat >conftest.
$ac_ext <<_ACEOF
14832 #line $LINENO "configure"
14835 cat confdefs.h
>>conftest.
$ac_ext
14836 cat >>conftest.
$ac_ext <<_ACEOF
14837 /* end confdefs.h. */
14838 $ac_includes_default
14842 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14849 rm -f conftest.
$ac_objext
14850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14851 (eval $ac_compile) 2>&5
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); } &&
14855 { ac_try
='test -s conftest.$ac_objext'
14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857 (eval $ac_try) 2>&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; }; then
14861 ac_hi
=$ac_mid; break
14863 echo "$as_me: failed program was:" >&5
14864 sed 's/^/| /' conftest.
$ac_ext >&5
14866 ac_lo
=`expr $ac_mid + 1`
14867 if test $ac_lo -le $ac_mid; then
14871 ac_mid
=`expr 2 '*' $ac_mid + 1`
14873 rm -f conftest.
$ac_objext conftest.
$ac_ext
14876 echo "$as_me: failed program was:" >&5
14877 sed 's/^/| /' conftest.
$ac_ext >&5
14879 cat >conftest.
$ac_ext <<_ACEOF
14880 #line $LINENO "configure"
14883 cat confdefs.h
>>conftest.
$ac_ext
14884 cat >>conftest.
$ac_ext <<_ACEOF
14885 /* end confdefs.h. */
14886 $ac_includes_default
14890 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14897 rm -f conftest.
$ac_objext
14898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14899 (eval $ac_compile) 2>&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); } &&
14903 { ac_try
='test -s conftest.$ac_objext'
14904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14905 (eval $ac_try) 2>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); }; }; then
14911 cat >conftest.
$ac_ext <<_ACEOF
14912 #line $LINENO "configure"
14915 cat confdefs.h
>>conftest.
$ac_ext
14916 cat >>conftest.
$ac_ext <<_ACEOF
14917 /* end confdefs.h. */
14918 $ac_includes_default
14922 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14929 rm -f conftest.
$ac_objext
14930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14931 (eval $ac_compile) 2>&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); } &&
14935 { ac_try
='test -s conftest.$ac_objext'
14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 (eval $ac_try) 2>&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; }; then
14941 ac_lo
=$ac_mid; break
14943 echo "$as_me: failed program was:" >&5
14944 sed 's/^/| /' conftest.
$ac_ext >&5
14946 ac_hi
=`expr '(' $ac_mid ')' - 1`
14947 if test $ac_mid -le $ac_hi; then
14951 ac_mid
=`expr 2 '*' $ac_mid`
14953 rm -f conftest.
$ac_objext conftest.
$ac_ext
14956 echo "$as_me: failed program was:" >&5
14957 sed 's/^/| /' conftest.
$ac_ext >&5
14961 rm -f conftest.
$ac_objext conftest.
$ac_ext
14963 rm -f conftest.
$ac_objext conftest.
$ac_ext
14964 # Binary search between lo and hi bounds.
14965 while test "x$ac_lo" != "x$ac_hi"; do
14966 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14967 cat >conftest.
$ac_ext <<_ACEOF
14968 #line $LINENO "configure"
14971 cat confdefs.h
>>conftest.
$ac_ext
14972 cat >>conftest.
$ac_ext <<_ACEOF
14973 /* end confdefs.h. */
14974 $ac_includes_default
14978 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14985 rm -f conftest.
$ac_objext
14986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14987 (eval $ac_compile) 2>&5
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 (exit $ac_status); } &&
14991 { ac_try
='test -s conftest.$ac_objext'
14992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14993 (eval $ac_try) 2>&5
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); }; }; then
14999 echo "$as_me: failed program was:" >&5
15000 sed 's/^/| /' conftest.
$ac_ext >&5
15002 ac_lo
=`expr '(' $ac_mid ')' + 1`
15004 rm -f conftest.
$ac_objext conftest.
$ac_ext
15007 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15008 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15009 See \`config.log' for more details." >&5
15010 echo "$as_me: error: cannot compute sizeof (int), 77
15011 See \`config.log' for more details." >&2;}
15012 { (exit 1); exit 1; }; } ;;
15015 if test "$cross_compiling" = yes; then
15016 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15017 See \`config.log' for more details." >&5
15018 echo "$as_me: error: cannot run test program while cross compiling
15019 See \`config.log' for more details." >&2;}
15020 { (exit 1); exit 1; }; }
15022 cat >conftest.
$ac_ext <<_ACEOF
15023 #line $LINENO "configure"
15026 cat confdefs.h
>>conftest.
$ac_ext
15027 cat >>conftest.
$ac_ext <<_ACEOF
15028 /* end confdefs.h. */
15029 $ac_includes_default
15030 long longval () { return (long) (sizeof (int)); }
15031 unsigned long ulongval () { return (long) (sizeof (int)); }
15033 #include <stdlib.h>
15038 FILE *f = fopen ("conftest.val", "w");
15041 if (((long) (sizeof (int))) < 0)
15043 long i = longval ();
15044 if (i != ((long) (sizeof (int))))
15046 fprintf (f, "%ld\n", i);
15050 unsigned long i = ulongval ();
15051 if (i != ((long) (sizeof (int))))
15053 fprintf (f, "%lu\n", i);
15055 exit (ferror (f) || fclose (f) != 0);
15061 rm -f conftest
$ac_exeext
15062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15063 (eval $ac_link) 2>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15068 (eval $ac_try) 2>&5
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); }; }; then
15072 ac_cv_sizeof_int
=`cat conftest.val`
15074 echo "$as_me: program exited with status $ac_status" >&5
15075 echo "$as_me: failed program was:" >&5
15076 sed 's/^/| /' conftest.
$ac_ext >&5
15078 ( exit $ac_status )
15079 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15080 See \`config.log' for more details." >&5
15081 echo "$as_me: error: cannot compute sizeof (int), 77
15082 See \`config.log' for more details." >&2;}
15083 { (exit 1); exit 1; }; }
15085 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15093 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15094 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15095 cat >>confdefs.h
<<_ACEOF
15096 #define SIZEOF_INT $ac_cv_sizeof_int
15100 echo "$as_me:$LINENO: checking for long" >&5
15101 echo $ECHO_N "checking for long... $ECHO_C" >&6
15102 if test "${ac_cv_type_long+set}" = set; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15105 cat >conftest.
$ac_ext <<_ACEOF
15106 #line $LINENO "configure"
15109 cat confdefs.h
>>conftest.
$ac_ext
15110 cat >>conftest.
$ac_ext <<_ACEOF
15111 /* end confdefs.h. */
15112 $ac_includes_default
15124 rm -f conftest.
$ac_objext
15125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15126 (eval $ac_compile) 2>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); } &&
15130 { ac_try
='test -s conftest.$ac_objext'
15131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132 (eval $ac_try) 2>&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); }; }; then
15136 ac_cv_type_long
=yes
15138 echo "$as_me: failed program was:" >&5
15139 sed 's/^/| /' conftest.
$ac_ext >&5
15143 rm -f conftest.
$ac_objext conftest.
$ac_ext
15145 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15146 echo "${ECHO_T}$ac_cv_type_long" >&6
15148 echo "$as_me:$LINENO: checking size of long" >&5
15149 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15150 if test "${ac_cv_sizeof_long+set}" = set; then
15151 echo $ECHO_N "(cached) $ECHO_C" >&6
15153 if test "$ac_cv_type_long" = yes; then
15154 # The cast to unsigned long works around a bug in the HP C Compiler
15155 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15156 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15157 # This bug is HP SR number 8606223364.
15158 if test "$cross_compiling" = yes; then
15159 # Depending upon the size, compute the lo and hi bounds.
15160 cat >conftest.
$ac_ext <<_ACEOF
15161 #line $LINENO "configure"
15164 cat confdefs.h
>>conftest.
$ac_ext
15165 cat >>conftest.
$ac_ext <<_ACEOF
15166 /* end confdefs.h. */
15167 $ac_includes_default
15171 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15178 rm -f conftest.
$ac_objext
15179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15180 (eval $ac_compile) 2>&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); } &&
15184 { ac_try
='test -s conftest.$ac_objext'
15185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15186 (eval $ac_try) 2>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }; }; then
15192 cat >conftest.
$ac_ext <<_ACEOF
15193 #line $LINENO "configure"
15196 cat confdefs.h
>>conftest.
$ac_ext
15197 cat >>conftest.
$ac_ext <<_ACEOF
15198 /* end confdefs.h. */
15199 $ac_includes_default
15203 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15210 rm -f conftest.
$ac_objext
15211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15212 (eval $ac_compile) 2>&5
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); } &&
15216 { ac_try
='test -s conftest.$ac_objext'
15217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218 (eval $ac_try) 2>&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); }; }; then
15222 ac_hi
=$ac_mid; break
15224 echo "$as_me: failed program was:" >&5
15225 sed 's/^/| /' conftest.
$ac_ext >&5
15227 ac_lo
=`expr $ac_mid + 1`
15228 if test $ac_lo -le $ac_mid; then
15232 ac_mid
=`expr 2 '*' $ac_mid + 1`
15234 rm -f conftest.
$ac_objext conftest.
$ac_ext
15237 echo "$as_me: failed program was:" >&5
15238 sed 's/^/| /' conftest.
$ac_ext >&5
15240 cat >conftest.
$ac_ext <<_ACEOF
15241 #line $LINENO "configure"
15244 cat confdefs.h
>>conftest.
$ac_ext
15245 cat >>conftest.
$ac_ext <<_ACEOF
15246 /* end confdefs.h. */
15247 $ac_includes_default
15251 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15258 rm -f conftest.
$ac_objext
15259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15260 (eval $ac_compile) 2>&5
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); } &&
15264 { ac_try
='test -s conftest.$ac_objext'
15265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15266 (eval $ac_try) 2>&5
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); }; }; then
15272 cat >conftest.
$ac_ext <<_ACEOF
15273 #line $LINENO "configure"
15276 cat confdefs.h
>>conftest.
$ac_ext
15277 cat >>conftest.
$ac_ext <<_ACEOF
15278 /* end confdefs.h. */
15279 $ac_includes_default
15283 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15290 rm -f conftest.
$ac_objext
15291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15292 (eval $ac_compile) 2>&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try
='test -s conftest.$ac_objext'
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15298 (eval $ac_try) 2>&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; }; then
15302 ac_lo
=$ac_mid; break
15304 echo "$as_me: failed program was:" >&5
15305 sed 's/^/| /' conftest.
$ac_ext >&5
15307 ac_hi
=`expr '(' $ac_mid ')' - 1`
15308 if test $ac_mid -le $ac_hi; then
15312 ac_mid
=`expr 2 '*' $ac_mid`
15314 rm -f conftest.
$ac_objext conftest.
$ac_ext
15317 echo "$as_me: failed program was:" >&5
15318 sed 's/^/| /' conftest.
$ac_ext >&5
15322 rm -f conftest.
$ac_objext conftest.
$ac_ext
15324 rm -f conftest.
$ac_objext conftest.
$ac_ext
15325 # Binary search between lo and hi bounds.
15326 while test "x$ac_lo" != "x$ac_hi"; do
15327 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15328 cat >conftest.
$ac_ext <<_ACEOF
15329 #line $LINENO "configure"
15332 cat confdefs.h
>>conftest.
$ac_ext
15333 cat >>conftest.
$ac_ext <<_ACEOF
15334 /* end confdefs.h. */
15335 $ac_includes_default
15339 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15346 rm -f conftest.
$ac_objext
15347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15348 (eval $ac_compile) 2>&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } &&
15352 { ac_try
='test -s conftest.$ac_objext'
15353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15354 (eval $ac_try) 2>&5
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); }; }; then
15360 echo "$as_me: failed program was:" >&5
15361 sed 's/^/| /' conftest.
$ac_ext >&5
15363 ac_lo
=`expr '(' $ac_mid ')' + 1`
15365 rm -f conftest.
$ac_objext conftest.
$ac_ext
15368 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15369 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15370 See \`config.log' for more details." >&5
15371 echo "$as_me: error: cannot compute sizeof (long), 77
15372 See \`config.log' for more details." >&2;}
15373 { (exit 1); exit 1; }; } ;;
15376 if test "$cross_compiling" = yes; then
15377 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15378 See \`config.log' for more details." >&5
15379 echo "$as_me: error: cannot run test program while cross compiling
15380 See \`config.log' for more details." >&2;}
15381 { (exit 1); exit 1; }; }
15383 cat >conftest.
$ac_ext <<_ACEOF
15384 #line $LINENO "configure"
15387 cat confdefs.h
>>conftest.
$ac_ext
15388 cat >>conftest.
$ac_ext <<_ACEOF
15389 /* end confdefs.h. */
15390 $ac_includes_default
15391 long longval () { return (long) (sizeof (long)); }
15392 unsigned long ulongval () { return (long) (sizeof (long)); }
15394 #include <stdlib.h>
15399 FILE *f = fopen ("conftest.val", "w");
15402 if (((long) (sizeof (long))) < 0)
15404 long i = longval ();
15405 if (i != ((long) (sizeof (long))))
15407 fprintf (f, "%ld\n", i);
15411 unsigned long i = ulongval ();
15412 if (i != ((long) (sizeof (long))))
15414 fprintf (f, "%lu\n", i);
15416 exit (ferror (f) || fclose (f) != 0);
15422 rm -f conftest
$ac_exeext
15423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15424 (eval $ac_link) 2>&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15429 (eval $ac_try) 2>&5
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); }; }; then
15433 ac_cv_sizeof_long
=`cat conftest.val`
15435 echo "$as_me: program exited with status $ac_status" >&5
15436 echo "$as_me: failed program was:" >&5
15437 sed 's/^/| /' conftest.
$ac_ext >&5
15439 ( exit $ac_status )
15440 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15441 See \`config.log' for more details." >&5
15442 echo "$as_me: error: cannot compute sizeof (long), 77
15443 See \`config.log' for more details." >&2;}
15444 { (exit 1); exit 1; }; }
15446 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15451 ac_cv_sizeof_long
=0
15454 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15455 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15456 cat >>confdefs.h
<<_ACEOF
15457 #define SIZEOF_LONG $ac_cv_sizeof_long
15464 echo "$as_me:$LINENO: checking for long long" >&5
15465 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15466 if test "${ac_cv_type_long_long+set}" = set; then
15467 echo $ECHO_N "(cached) $ECHO_C" >&6
15469 cat >conftest.
$ac_ext <<_ACEOF
15470 #line $LINENO "configure"
15473 cat confdefs.h
>>conftest.
$ac_ext
15474 cat >>conftest.
$ac_ext <<_ACEOF
15475 /* end confdefs.h. */
15476 $ac_includes_default
15480 if ((long long *) 0)
15482 if (sizeof (long long))
15488 rm -f conftest.
$ac_objext
15489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15490 (eval $ac_compile) 2>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } &&
15494 { ac_try
='test -s conftest.$ac_objext'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; }; then
15500 ac_cv_type_long_long
=yes
15502 echo "$as_me: failed program was:" >&5
15503 sed 's/^/| /' conftest.
$ac_ext >&5
15505 ac_cv_type_long_long
=no
15507 rm -f conftest.
$ac_objext conftest.
$ac_ext
15509 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15510 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15512 echo "$as_me:$LINENO: checking size of long long" >&5
15513 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15514 if test "${ac_cv_sizeof_long_long+set}" = set; then
15515 echo $ECHO_N "(cached) $ECHO_C" >&6
15517 if test "$ac_cv_type_long_long" = yes; then
15518 # The cast to unsigned long works around a bug in the HP C Compiler
15519 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15520 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15521 # This bug is HP SR number 8606223364.
15522 if test "$cross_compiling" = yes; then
15523 # Depending upon the size, compute the lo and hi bounds.
15524 cat >conftest.
$ac_ext <<_ACEOF
15525 #line $LINENO "configure"
15528 cat confdefs.h
>>conftest.
$ac_ext
15529 cat >>conftest.
$ac_ext <<_ACEOF
15530 /* end confdefs.h. */
15531 $ac_includes_default
15535 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15542 rm -f conftest.
$ac_objext
15543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15544 (eval $ac_compile) 2>&5
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); } &&
15548 { ac_try
='test -s conftest.$ac_objext'
15549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15550 (eval $ac_try) 2>&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; }; then
15556 cat >conftest.
$ac_ext <<_ACEOF
15557 #line $LINENO "configure"
15560 cat confdefs.h
>>conftest.
$ac_ext
15561 cat >>conftest.
$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15563 $ac_includes_default
15567 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15574 rm -f conftest.
$ac_objext
15575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15576 (eval $ac_compile) 2>&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } &&
15580 { ac_try
='test -s conftest.$ac_objext'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; }; then
15586 ac_hi
=$ac_mid; break
15588 echo "$as_me: failed program was:" >&5
15589 sed 's/^/| /' conftest.
$ac_ext >&5
15591 ac_lo
=`expr $ac_mid + 1`
15592 if test $ac_lo -le $ac_mid; then
15596 ac_mid
=`expr 2 '*' $ac_mid + 1`
15598 rm -f conftest.
$ac_objext conftest.
$ac_ext
15601 echo "$as_me: failed program was:" >&5
15602 sed 's/^/| /' conftest.
$ac_ext >&5
15604 cat >conftest.
$ac_ext <<_ACEOF
15605 #line $LINENO "configure"
15608 cat confdefs.h
>>conftest.
$ac_ext
15609 cat >>conftest.
$ac_ext <<_ACEOF
15610 /* end confdefs.h. */
15611 $ac_includes_default
15615 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15622 rm -f conftest.
$ac_objext
15623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15624 (eval $ac_compile) 2>&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try
='test -s conftest.$ac_objext'
15629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15630 (eval $ac_try) 2>&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; }; then
15636 cat >conftest.
$ac_ext <<_ACEOF
15637 #line $LINENO "configure"
15640 cat confdefs.h
>>conftest.
$ac_ext
15641 cat >>conftest.
$ac_ext <<_ACEOF
15642 /* end confdefs.h. */
15643 $ac_includes_default
15647 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15654 rm -f conftest.
$ac_objext
15655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15656 (eval $ac_compile) 2>&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); } &&
15660 { ac_try
='test -s conftest.$ac_objext'
15661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 (eval $ac_try) 2>&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; }; then
15666 ac_lo
=$ac_mid; break
15668 echo "$as_me: failed program was:" >&5
15669 sed 's/^/| /' conftest.
$ac_ext >&5
15671 ac_hi
=`expr '(' $ac_mid ')' - 1`
15672 if test $ac_mid -le $ac_hi; then
15676 ac_mid
=`expr 2 '*' $ac_mid`
15678 rm -f conftest.
$ac_objext conftest.
$ac_ext
15681 echo "$as_me: failed program was:" >&5
15682 sed 's/^/| /' conftest.
$ac_ext >&5
15686 rm -f conftest.
$ac_objext conftest.
$ac_ext
15688 rm -f conftest.
$ac_objext conftest.
$ac_ext
15689 # Binary search between lo and hi bounds.
15690 while test "x$ac_lo" != "x$ac_hi"; do
15691 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15692 cat >conftest.
$ac_ext <<_ACEOF
15693 #line $LINENO "configure"
15696 cat confdefs.h
>>conftest.
$ac_ext
15697 cat >>conftest.
$ac_ext <<_ACEOF
15698 /* end confdefs.h. */
15699 $ac_includes_default
15703 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15710 rm -f conftest.
$ac_objext
15711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15712 (eval $ac_compile) 2>&5
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); } &&
15716 { ac_try
='test -s conftest.$ac_objext'
15717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15718 (eval $ac_try) 2>&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); }; }; then
15724 echo "$as_me: failed program was:" >&5
15725 sed 's/^/| /' conftest.
$ac_ext >&5
15727 ac_lo
=`expr '(' $ac_mid ')' + 1`
15729 rm -f conftest.
$ac_objext conftest.
$ac_ext
15732 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15733 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15734 See \`config.log' for more details." >&5
15735 echo "$as_me: error: cannot compute sizeof (long long), 77
15736 See \`config.log' for more details." >&2;}
15737 { (exit 1); exit 1; }; } ;;
15740 if test "$cross_compiling" = yes; then
15741 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15742 See \`config.log' for more details." >&5
15743 echo "$as_me: error: cannot run test program while cross compiling
15744 See \`config.log' for more details." >&2;}
15745 { (exit 1); exit 1; }; }
15747 cat >conftest.
$ac_ext <<_ACEOF
15748 #line $LINENO "configure"
15751 cat confdefs.h
>>conftest.
$ac_ext
15752 cat >>conftest.
$ac_ext <<_ACEOF
15753 /* end confdefs.h. */
15754 $ac_includes_default
15755 long longval () { return (long) (sizeof (long long)); }
15756 unsigned long ulongval () { return (long) (sizeof (long long)); }
15758 #include <stdlib.h>
15763 FILE *f = fopen ("conftest.val", "w");
15766 if (((long) (sizeof (long long))) < 0)
15768 long i = longval ();
15769 if (i != ((long) (sizeof (long long))))
15771 fprintf (f, "%ld\n", i);
15775 unsigned long i = ulongval ();
15776 if (i != ((long) (sizeof (long long))))
15778 fprintf (f, "%lu\n", i);
15780 exit (ferror (f) || fclose (f) != 0);
15786 rm -f conftest
$ac_exeext
15787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15788 (eval $ac_link) 2>&5
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15793 (eval $ac_try) 2>&5
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); }; }; then
15797 ac_cv_sizeof_long_long
=`cat conftest.val`
15799 echo "$as_me: program exited with status $ac_status" >&5
15800 echo "$as_me: failed program was:" >&5
15801 sed 's/^/| /' conftest.
$ac_ext >&5
15803 ( exit $ac_status )
15804 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15805 See \`config.log' for more details." >&5
15806 echo "$as_me: error: cannot compute sizeof (long long), 77
15807 See \`config.log' for more details." >&2;}
15808 { (exit 1); exit 1; }; }
15810 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15815 ac_cv_sizeof_long_long
=0
15818 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15819 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15820 cat >>confdefs.h
<<_ACEOF
15821 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15827 echo "$as_me:$LINENO: checking for long long" >&5
15828 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15829 if test "${ac_cv_type_long_long+set}" = set; then
15830 echo $ECHO_N "(cached) $ECHO_C" >&6
15832 cat >conftest.
$ac_ext <<_ACEOF
15833 #line $LINENO "configure"
15836 cat confdefs.h
>>conftest.
$ac_ext
15837 cat >>conftest.
$ac_ext <<_ACEOF
15838 /* end confdefs.h. */
15839 $ac_includes_default
15843 if ((long long *) 0)
15845 if (sizeof (long long))
15851 rm -f conftest.
$ac_objext
15852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15853 (eval $ac_compile) 2>&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); } &&
15857 { ac_try
='test -s conftest.$ac_objext'
15858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15859 (eval $ac_try) 2>&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); }; }; then
15863 ac_cv_type_long_long
=yes
15865 echo "$as_me: failed program was:" >&5
15866 sed 's/^/| /' conftest.
$ac_ext >&5
15868 ac_cv_type_long_long
=no
15870 rm -f conftest.
$ac_objext conftest.
$ac_ext
15872 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15873 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15875 echo "$as_me:$LINENO: checking size of long long" >&5
15876 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15877 if test "${ac_cv_sizeof_long_long+set}" = set; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15880 if test "$ac_cv_type_long_long" = yes; then
15881 # The cast to unsigned long works around a bug in the HP C Compiler
15882 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15883 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15884 # This bug is HP SR number 8606223364.
15885 if test "$cross_compiling" = yes; then
15886 # Depending upon the size, compute the lo and hi bounds.
15887 cat >conftest.
$ac_ext <<_ACEOF
15888 #line $LINENO "configure"
15891 cat confdefs.h
>>conftest.
$ac_ext
15892 cat >>conftest.
$ac_ext <<_ACEOF
15893 /* end confdefs.h. */
15894 $ac_includes_default
15898 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15905 rm -f conftest.
$ac_objext
15906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15907 (eval $ac_compile) 2>&5
15909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 (exit $ac_status); } &&
15911 { ac_try
='test -s conftest.$ac_objext'
15912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15913 (eval $ac_try) 2>&5
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); }; }; then
15919 cat >conftest.
$ac_ext <<_ACEOF
15920 #line $LINENO "configure"
15923 cat confdefs.h
>>conftest.
$ac_ext
15924 cat >>conftest.
$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15926 $ac_includes_default
15930 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15937 rm -f conftest.
$ac_objext
15938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15939 (eval $ac_compile) 2>&5
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); } &&
15943 { ac_try
='test -s conftest.$ac_objext'
15944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15945 (eval $ac_try) 2>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }; }; then
15949 ac_hi
=$ac_mid; break
15951 echo "$as_me: failed program was:" >&5
15952 sed 's/^/| /' conftest.
$ac_ext >&5
15954 ac_lo
=`expr $ac_mid + 1`
15955 if test $ac_lo -le $ac_mid; then
15959 ac_mid
=`expr 2 '*' $ac_mid + 1`
15961 rm -f conftest.
$ac_objext conftest.
$ac_ext
15964 echo "$as_me: failed program was:" >&5
15965 sed 's/^/| /' conftest.
$ac_ext >&5
15967 cat >conftest.
$ac_ext <<_ACEOF
15968 #line $LINENO "configure"
15971 cat confdefs.h
>>conftest.
$ac_ext
15972 cat >>conftest.
$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15974 $ac_includes_default
15978 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15985 rm -f conftest.
$ac_objext
15986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15987 (eval $ac_compile) 2>&5
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); } &&
15991 { ac_try
='test -s conftest.$ac_objext'
15992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15993 (eval $ac_try) 2>&5
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); }; }; then
15999 cat >conftest.
$ac_ext <<_ACEOF
16000 #line $LINENO "configure"
16003 cat confdefs.h
>>conftest.
$ac_ext
16004 cat >>conftest.
$ac_ext <<_ACEOF
16005 /* end confdefs.h. */
16006 $ac_includes_default
16010 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16017 rm -f conftest.
$ac_objext
16018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16019 (eval $ac_compile) 2>&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); } &&
16023 { ac_try
='test -s conftest.$ac_objext'
16024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16025 (eval $ac_try) 2>&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); }; }; then
16029 ac_lo
=$ac_mid; break
16031 echo "$as_me: failed program was:" >&5
16032 sed 's/^/| /' conftest.
$ac_ext >&5
16034 ac_hi
=`expr '(' $ac_mid ')' - 1`
16035 if test $ac_mid -le $ac_hi; then
16039 ac_mid
=`expr 2 '*' $ac_mid`
16041 rm -f conftest.
$ac_objext conftest.
$ac_ext
16044 echo "$as_me: failed program was:" >&5
16045 sed 's/^/| /' conftest.
$ac_ext >&5
16049 rm -f conftest.
$ac_objext conftest.
$ac_ext
16051 rm -f conftest.
$ac_objext conftest.
$ac_ext
16052 # Binary search between lo and hi bounds.
16053 while test "x$ac_lo" != "x$ac_hi"; do
16054 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16055 cat >conftest.
$ac_ext <<_ACEOF
16056 #line $LINENO "configure"
16059 cat confdefs.h
>>conftest.
$ac_ext
16060 cat >>conftest.
$ac_ext <<_ACEOF
16061 /* end confdefs.h. */
16062 $ac_includes_default
16066 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16073 rm -f conftest.
$ac_objext
16074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16075 (eval $ac_compile) 2>&5
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); } &&
16079 { ac_try
='test -s conftest.$ac_objext'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; }; then
16087 echo "$as_me: failed program was:" >&5
16088 sed 's/^/| /' conftest.
$ac_ext >&5
16090 ac_lo
=`expr '(' $ac_mid ')' + 1`
16092 rm -f conftest.
$ac_objext conftest.
$ac_ext
16095 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16096 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16097 See \`config.log' for more details." >&5
16098 echo "$as_me: error: cannot compute sizeof (long long), 77
16099 See \`config.log' for more details." >&2;}
16100 { (exit 1); exit 1; }; } ;;
16103 if test "$cross_compiling" = yes; then
16104 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16105 See \`config.log' for more details." >&5
16106 echo "$as_me: error: cannot run test program while cross compiling
16107 See \`config.log' for more details." >&2;}
16108 { (exit 1); exit 1; }; }
16110 cat >conftest.
$ac_ext <<_ACEOF
16111 #line $LINENO "configure"
16114 cat confdefs.h
>>conftest.
$ac_ext
16115 cat >>conftest.
$ac_ext <<_ACEOF
16116 /* end confdefs.h. */
16117 $ac_includes_default
16118 long longval () { return (long) (sizeof (long long)); }
16119 unsigned long ulongval () { return (long) (sizeof (long long)); }
16121 #include <stdlib.h>
16126 FILE *f = fopen ("conftest.val", "w");
16129 if (((long) (sizeof (long long))) < 0)
16131 long i = longval ();
16132 if (i != ((long) (sizeof (long long))))
16134 fprintf (f, "%ld\n", i);
16138 unsigned long i = ulongval ();
16139 if (i != ((long) (sizeof (long long))))
16141 fprintf (f, "%lu\n", i);
16143 exit (ferror (f) || fclose (f) != 0);
16149 rm -f conftest
$ac_exeext
16150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16151 (eval $ac_link) 2>&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; }; then
16160 ac_cv_sizeof_long_long
=`cat conftest.val`
16162 echo "$as_me: program exited with status $ac_status" >&5
16163 echo "$as_me: failed program was:" >&5
16164 sed 's/^/| /' conftest.
$ac_ext >&5
16166 ( exit $ac_status )
16167 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16168 See \`config.log' for more details." >&5
16169 echo "$as_me: error: cannot compute sizeof (long long), 77
16170 See \`config.log' for more details." >&2;}
16171 { (exit 1); exit 1; }; }
16173 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16178 ac_cv_sizeof_long_long
=0
16181 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16182 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16183 cat >>confdefs.h
<<_ACEOF
16184 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16188 if test "$ac_cv_sizeof_long_long" != "0"; then
16189 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16193 echo "$as_me:$LINENO: checking for long long" >&5
16194 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16195 if test "${ac_cv_type_long_long+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16198 cat >conftest.
$ac_ext <<_ACEOF
16199 #line $LINENO "configure"
16202 cat confdefs.h
>>conftest.
$ac_ext
16203 cat >>conftest.
$ac_ext <<_ACEOF
16204 /* end confdefs.h. */
16205 $ac_includes_default
16209 if ((long long *) 0)
16211 if (sizeof (long long))
16217 rm -f conftest.
$ac_objext
16218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16219 (eval $ac_compile) 2>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } &&
16223 { ac_try
='test -s conftest.$ac_objext'
16224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16225 (eval $ac_try) 2>&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }; }; then
16229 ac_cv_type_long_long
=yes
16231 echo "$as_me: failed program was:" >&5
16232 sed 's/^/| /' conftest.
$ac_ext >&5
16234 ac_cv_type_long_long
=no
16236 rm -f conftest.
$ac_objext conftest.
$ac_ext
16238 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16239 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16241 echo "$as_me:$LINENO: checking size of long long" >&5
16242 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16243 if test "${ac_cv_sizeof_long_long+set}" = set; then
16244 echo $ECHO_N "(cached) $ECHO_C" >&6
16246 if test "$ac_cv_type_long_long" = yes; then
16247 # The cast to unsigned long works around a bug in the HP C Compiler
16248 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16249 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16250 # This bug is HP SR number 8606223364.
16251 if test "$cross_compiling" = yes; then
16252 # Depending upon the size, compute the lo and hi bounds.
16253 cat >conftest.
$ac_ext <<_ACEOF
16254 #line $LINENO "configure"
16257 cat confdefs.h
>>conftest.
$ac_ext
16258 cat >>conftest.
$ac_ext <<_ACEOF
16259 /* end confdefs.h. */
16260 $ac_includes_default
16264 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16271 rm -f conftest.
$ac_objext
16272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16273 (eval $ac_compile) 2>&5
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); } &&
16277 { ac_try
='test -s conftest.$ac_objext'
16278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16279 (eval $ac_try) 2>&5
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); }; }; then
16285 cat >conftest.
$ac_ext <<_ACEOF
16286 #line $LINENO "configure"
16289 cat confdefs.h
>>conftest.
$ac_ext
16290 cat >>conftest.
$ac_ext <<_ACEOF
16291 /* end confdefs.h. */
16292 $ac_includes_default
16296 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16303 rm -f conftest.
$ac_objext
16304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16305 (eval $ac_compile) 2>&5
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); } &&
16309 { ac_try
='test -s conftest.$ac_objext'
16310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16311 (eval $ac_try) 2>&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; }; then
16315 ac_hi
=$ac_mid; break
16317 echo "$as_me: failed program was:" >&5
16318 sed 's/^/| /' conftest.
$ac_ext >&5
16320 ac_lo
=`expr $ac_mid + 1`
16321 if test $ac_lo -le $ac_mid; then
16325 ac_mid
=`expr 2 '*' $ac_mid + 1`
16327 rm -f conftest.
$ac_objext conftest.
$ac_ext
16330 echo "$as_me: failed program was:" >&5
16331 sed 's/^/| /' conftest.
$ac_ext >&5
16333 cat >conftest.
$ac_ext <<_ACEOF
16334 #line $LINENO "configure"
16337 cat confdefs.h
>>conftest.
$ac_ext
16338 cat >>conftest.
$ac_ext <<_ACEOF
16339 /* end confdefs.h. */
16340 $ac_includes_default
16344 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16351 rm -f conftest.
$ac_objext
16352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16353 (eval $ac_compile) 2>&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); } &&
16357 { ac_try
='test -s conftest.$ac_objext'
16358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16359 (eval $ac_try) 2>&5
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); }; }; then
16365 cat >conftest.
$ac_ext <<_ACEOF
16366 #line $LINENO "configure"
16369 cat confdefs.h
>>conftest.
$ac_ext
16370 cat >>conftest.
$ac_ext <<_ACEOF
16371 /* end confdefs.h. */
16372 $ac_includes_default
16376 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16383 rm -f conftest.
$ac_objext
16384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16385 (eval $ac_compile) 2>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try
='test -s conftest.$ac_objext'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; }; then
16395 ac_lo
=$ac_mid; break
16397 echo "$as_me: failed program was:" >&5
16398 sed 's/^/| /' conftest.
$ac_ext >&5
16400 ac_hi
=`expr '(' $ac_mid ')' - 1`
16401 if test $ac_mid -le $ac_hi; then
16405 ac_mid
=`expr 2 '*' $ac_mid`
16407 rm -f conftest.
$ac_objext conftest.
$ac_ext
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.
$ac_ext >&5
16415 rm -f conftest.
$ac_objext conftest.
$ac_ext
16417 rm -f conftest.
$ac_objext conftest.
$ac_ext
16418 # Binary search between lo and hi bounds.
16419 while test "x$ac_lo" != "x$ac_hi"; do
16420 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16421 cat >conftest.
$ac_ext <<_ACEOF
16422 #line $LINENO "configure"
16425 cat confdefs.h
>>conftest.
$ac_ext
16426 cat >>conftest.
$ac_ext <<_ACEOF
16427 /* end confdefs.h. */
16428 $ac_includes_default
16432 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16439 rm -f conftest.
$ac_objext
16440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16441 (eval $ac_compile) 2>&5
16443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16444 (exit $ac_status); } &&
16445 { ac_try
='test -s conftest.$ac_objext'
16446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16447 (eval $ac_try) 2>&5
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); }; }; then
16453 echo "$as_me: failed program was:" >&5
16454 sed 's/^/| /' conftest.
$ac_ext >&5
16456 ac_lo
=`expr '(' $ac_mid ')' + 1`
16458 rm -f conftest.
$ac_objext conftest.
$ac_ext
16461 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16462 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16463 See \`config.log' for more details." >&5
16464 echo "$as_me: error: cannot compute sizeof (long long), 77
16465 See \`config.log' for more details." >&2;}
16466 { (exit 1); exit 1; }; } ;;
16469 if test "$cross_compiling" = yes; then
16470 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16471 See \`config.log' for more details." >&5
16472 echo "$as_me: error: cannot run test program while cross compiling
16473 See \`config.log' for more details." >&2;}
16474 { (exit 1); exit 1; }; }
16476 cat >conftest.
$ac_ext <<_ACEOF
16477 #line $LINENO "configure"
16480 cat confdefs.h
>>conftest.
$ac_ext
16481 cat >>conftest.
$ac_ext <<_ACEOF
16482 /* end confdefs.h. */
16483 $ac_includes_default
16484 long longval () { return (long) (sizeof (long long)); }
16485 unsigned long ulongval () { return (long) (sizeof (long long)); }
16487 #include <stdlib.h>
16492 FILE *f = fopen ("conftest.val", "w");
16495 if (((long) (sizeof (long long))) < 0)
16497 long i = longval ();
16498 if (i != ((long) (sizeof (long long))))
16500 fprintf (f, "%ld\n", i);
16504 unsigned long i = ulongval ();
16505 if (i != ((long) (sizeof (long long))))
16507 fprintf (f, "%lu\n", i);
16509 exit (ferror (f) || fclose (f) != 0);
16515 rm -f conftest
$ac_exeext
16516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16517 (eval $ac_link) 2>&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522 (eval $ac_try) 2>&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); }; }; then
16526 ac_cv_sizeof_long_long
=`cat conftest.val`
16528 echo "$as_me: program exited with status $ac_status" >&5
16529 echo "$as_me: failed program was:" >&5
16530 sed 's/^/| /' conftest.
$ac_ext >&5
16532 ( exit $ac_status )
16533 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16534 See \`config.log' for more details." >&5
16535 echo "$as_me: error: cannot compute sizeof (long long), 77
16536 See \`config.log' for more details." >&2;}
16537 { (exit 1); exit 1; }; }
16539 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16544 ac_cv_sizeof_long_long
=0
16547 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16548 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16549 cat >>confdefs.h
<<_ACEOF
16550 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16556 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16557 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16558 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16559 echo $ECHO_N "(cached) $ECHO_C" >&6
16562 if test "$cross_compiling" = yes; then
16566 wx_cv_sizeof_wchar_t
=0
16569 wx_cv_sizeof_wchar_t
=4
16575 cat >conftest.
$ac_ext <<_ACEOF
16576 #line $LINENO "configure"
16579 cat confdefs.h
>>conftest.
$ac_ext
16580 cat >>conftest.
$ac_ext <<_ACEOF
16581 /* end confdefs.h. */
16583 /* DJGPP only has fake wchar_t: */
16585 # error "fake wchar_t"
16587 #ifdef HAVE_WCHAR_H
16589 # include <stddef.h>
16591 # include <wchar.h>
16593 #ifdef HAVE_STDLIB_H
16594 # include <stdlib.h>
16599 FILE *f=fopen("conftestval", "w");
16601 fprintf(f, "%i", sizeof(wchar_t));
16606 rm -f conftest
$ac_exeext
16607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16608 (eval $ac_link) 2>&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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 wx_cv_sizeof_wchar_t
=`cat conftestval`
16619 echo "$as_me: program exited with status $ac_status" >&5
16620 echo "$as_me: failed program was:" >&5
16621 sed 's/^/| /' conftest.
$ac_ext >&5
16623 ( exit $ac_status )
16624 wx_cv_sizeof_wchar_t
=0
16626 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16630 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16631 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16633 cat >>confdefs.h
<<_ACEOF
16634 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16638 # Check whether --enable-largefile or --disable-largefile was given.
16639 if test "${enable_largefile+set}" = set; then
16640 enableval
="$enable_largefile"
16643 if test "$enable_largefile" != no
; then
16646 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16647 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16648 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16649 echo $ECHO_N "(cached) $ECHO_C" >&6
16652 cat >conftest.
$ac_ext <<_ACEOF
16653 #line $LINENO "configure"
16656 cat confdefs.h
>>conftest.
$ac_ext
16657 cat >>conftest.
$ac_ext <<_ACEOF
16658 /* end confdefs.h. */
16659 #define _FILE_OFFSET_BITS 64
16660 #include <sys/types.h>
16665 unsigned int field: sizeof(off_t) == 8;
16672 rm -f conftest.
$ac_objext
16673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16674 (eval $ac_compile) 2>&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } &&
16678 { ac_try
='test -s conftest.$ac_objext'
16679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16680 (eval $ac_try) 2>&5
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); }; }; then
16684 ac_cv_sys_file_offset_bits
=64
16686 echo "$as_me: failed program was:" >&5
16687 sed 's/^/| /' conftest.
$ac_ext >&5
16689 ac_cv_sys_file_offset_bits
=no
16691 rm -f conftest.
$ac_objext conftest.
$ac_ext
16695 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16696 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16698 if test "$ac_cv_sys_file_offset_bits" != no
; then
16700 cat >>confdefs.h
<<_ACEOF
16701 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16706 if test "x$wx_largefile" != "xyes"; then
16708 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16709 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16710 if test "${ac_cv_sys_large_files+set}" = set; then
16711 echo $ECHO_N "(cached) $ECHO_C" >&6
16714 cat >conftest.
$ac_ext <<_ACEOF
16715 #line $LINENO "configure"
16718 cat confdefs.h
>>conftest.
$ac_ext
16719 cat >>conftest.
$ac_ext <<_ACEOF
16720 /* end confdefs.h. */
16721 #define _LARGE_FILES 1
16722 #include <sys/types.h>
16727 unsigned int field: sizeof(off_t) == 8;
16734 rm -f conftest.
$ac_objext
16735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16736 (eval $ac_compile) 2>&5
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); } &&
16740 { ac_try
='test -s conftest.$ac_objext'
16741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16742 (eval $ac_try) 2>&5
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); }; }; then
16746 ac_cv_sys_large_files
=1
16748 echo "$as_me: failed program was:" >&5
16749 sed 's/^/| /' conftest.
$ac_ext >&5
16751 ac_cv_sys_large_files
=no
16753 rm -f conftest.
$ac_objext conftest.
$ac_ext
16757 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16758 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16760 if test "$ac_cv_sys_large_files" != no
; then
16762 cat >>confdefs.h
<<_ACEOF
16763 #define _LARGE_FILES $ac_cv_sys_large_files
16770 echo "$as_me:$LINENO: checking if large file support is available" >&5
16771 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16772 if test "x$wx_largefile" = "xyes"; then
16773 cat >>confdefs.h
<<\_ACEOF
16774 #define HAVE_LARGEFILE_SUPPORT 1
16778 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16779 echo "${ECHO_T}$wx_largefile" >&6
16783 if test "x$wx_largefile" = "xyes"; then
16784 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16785 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16787 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16789 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16792 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16793 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16794 if test "${ac_cv_c_bigendian+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16797 ac_cv_c_bigendian
=unknown
16798 # See if sys/param.h defines the BYTE_ORDER macro.
16799 cat >conftest.
$ac_ext <<_ACEOF
16800 #line $LINENO "configure"
16803 cat confdefs.h
>>conftest.
$ac_ext
16804 cat >>conftest.
$ac_ext <<_ACEOF
16805 /* end confdefs.h. */
16806 #include <sys/types.h>
16807 #include <sys/param.h>
16812 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16813 bogus endian macros
16819 rm -f conftest.
$ac_objext
16820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16821 (eval $ac_compile) 2>&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); } &&
16825 { ac_try
='test -s conftest.$ac_objext'
16826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827 (eval $ac_try) 2>&5
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; }; then
16831 # It does; now see whether it defined to BIG_ENDIAN or not.
16832 cat >conftest.
$ac_ext <<_ACEOF
16833 #line $LINENO "configure"
16836 cat confdefs.h
>>conftest.
$ac_ext
16837 cat >>conftest.
$ac_ext <<_ACEOF
16838 /* end confdefs.h. */
16839 #include <sys/types.h>
16840 #include <sys/param.h>
16845 #if BYTE_ORDER != BIG_ENDIAN
16852 rm -f conftest.
$ac_objext
16853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16854 (eval $ac_compile) 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } &&
16858 { ac_try
='test -s conftest.$ac_objext'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; }; then
16864 ac_cv_c_bigendian
=yes
16866 echo "$as_me: failed program was:" >&5
16867 sed 's/^/| /' conftest.
$ac_ext >&5
16869 ac_cv_c_bigendian
=no
16871 rm -f conftest.
$ac_objext conftest.
$ac_ext
16873 echo "$as_me: failed program was:" >&5
16874 sed 's/^/| /' conftest.
$ac_ext >&5
16877 rm -f conftest.
$ac_objext conftest.
$ac_ext
16878 if test $ac_cv_c_bigendian = unknown
; then
16879 if test "$cross_compiling" = yes; then
16880 ac_cv_c_bigendian
=unknown
16882 cat >conftest.
$ac_ext <<_ACEOF
16883 #line $LINENO "configure"
16886 cat confdefs.h
>>conftest.
$ac_ext
16887 cat >>conftest.
$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16890 /* Are we little or big endian? From Harbison&Steele. */
16894 char c[sizeof (long)];
16897 exit (u.c[sizeof (long) - 1] == 1);
16900 rm -f conftest
$ac_exeext
16901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16902 (eval $ac_link) 2>&5
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; }; then
16911 ac_cv_c_bigendian
=no
16913 echo "$as_me: program exited with status $ac_status" >&5
16914 echo "$as_me: failed program was:" >&5
16915 sed 's/^/| /' conftest.
$ac_ext >&5
16917 ( exit $ac_status )
16918 ac_cv_c_bigendian
=yes
16920 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16924 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16925 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16926 if test $ac_cv_c_bigendian = unknown
; then
16927 { 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
16928 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;}
16930 if test $ac_cv_c_bigendian = yes; then
16931 cat >>confdefs.h
<<\_ACEOF
16932 #define WORDS_BIGENDIAN 1
16940 ac_cpp
='$CXXCPP $CPPFLAGS'
16941 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16942 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16943 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16944 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16945 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16946 if test -z "$CXXCPP"; then
16947 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16948 echo $ECHO_N "(cached) $ECHO_C" >&6
16950 # Double quotes because CXXCPP needs to be expanded
16951 for CXXCPP
in "$CXX -E" "/lib/cpp"
16953 ac_preproc_ok
=false
16954 for ac_cxx_preproc_warn_flag
in '' yes
16956 # Use a header file that comes with gcc, so configuring glibc
16957 # with a fresh cross-compiler works.
16958 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16959 # <limits.h> exists even on freestanding compilers.
16960 # On the NeXT, cc -E runs the code through the compiler's parser,
16961 # not just through cpp. "Syntax error" is here to catch this case.
16962 cat >conftest.
$ac_ext <<_ACEOF
16963 #line $LINENO "configure"
16966 cat confdefs.h
>>conftest.
$ac_ext
16967 cat >>conftest.
$ac_ext <<_ACEOF
16968 /* end confdefs.h. */
16970 # include <limits.h>
16972 # include <assert.h>
16976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16977 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16979 grep -v '^ *+' conftest.er1
>conftest.err
16981 cat conftest.err
>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } >/dev
/null
; then
16984 if test -s conftest.err
; then
16985 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16992 if test -z "$ac_cpp_err"; then
16995 echo "$as_me: failed program was:" >&5
16996 sed 's/^/| /' conftest.
$ac_ext >&5
16998 # Broken: fails on valid input.
17001 rm -f conftest.err conftest.
$ac_ext
17003 # OK, works on sane cases. Now check whether non-existent headers
17004 # can be detected and how.
17005 cat >conftest.
$ac_ext <<_ACEOF
17006 #line $LINENO "configure"
17009 cat confdefs.h
>>conftest.
$ac_ext
17010 cat >>conftest.
$ac_ext <<_ACEOF
17011 /* end confdefs.h. */
17012 #include <ac_nonexistent.h>
17014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17015 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17017 grep -v '^ *+' conftest.er1
>conftest.err
17019 cat conftest.err
>&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); } >/dev
/null
; then
17022 if test -s conftest.err
; then
17023 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17030 if test -z "$ac_cpp_err"; then
17031 # Broken: success on invalid input.
17034 echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.
$ac_ext >&5
17037 # Passes both tests.
17041 rm -f conftest.err conftest.
$ac_ext
17044 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17045 rm -f conftest.err conftest.
$ac_ext
17046 if $ac_preproc_ok; then
17051 ac_cv_prog_CXXCPP
=$CXXCPP
17054 CXXCPP
=$ac_cv_prog_CXXCPP
17056 ac_cv_prog_CXXCPP
=$CXXCPP
17058 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17059 echo "${ECHO_T}$CXXCPP" >&6
17060 ac_preproc_ok
=false
17061 for ac_cxx_preproc_warn_flag
in '' yes
17063 # Use a header file that comes with gcc, so configuring glibc
17064 # with a fresh cross-compiler works.
17065 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17066 # <limits.h> exists even on freestanding compilers.
17067 # On the NeXT, cc -E runs the code through the compiler's parser,
17068 # not just through cpp. "Syntax error" is here to catch this case.
17069 cat >conftest.
$ac_ext <<_ACEOF
17070 #line $LINENO "configure"
17073 cat confdefs.h
>>conftest.
$ac_ext
17074 cat >>conftest.
$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17077 # include <limits.h>
17079 # include <assert.h>
17083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17084 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17086 grep -v '^ *+' conftest.er1
>conftest.err
17088 cat conftest.err
>&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); } >/dev
/null
; then
17091 if test -s conftest.err
; then
17092 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17099 if test -z "$ac_cpp_err"; then
17102 echo "$as_me: failed program was:" >&5
17103 sed 's/^/| /' conftest.
$ac_ext >&5
17105 # Broken: fails on valid input.
17108 rm -f conftest.err conftest.
$ac_ext
17110 # OK, works on sane cases. Now check whether non-existent headers
17111 # can be detected and how.
17112 cat >conftest.
$ac_ext <<_ACEOF
17113 #line $LINENO "configure"
17116 cat confdefs.h
>>conftest.
$ac_ext
17117 cat >>conftest.
$ac_ext <<_ACEOF
17118 /* end confdefs.h. */
17119 #include <ac_nonexistent.h>
17121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17122 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17124 grep -v '^ *+' conftest.er1
>conftest.err
17126 cat conftest.err
>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); } >/dev
/null
; then
17129 if test -s conftest.err
; then
17130 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17137 if test -z "$ac_cpp_err"; then
17138 # Broken: success on invalid input.
17141 echo "$as_me: failed program was:" >&5
17142 sed 's/^/| /' conftest.
$ac_ext >&5
17144 # Passes both tests.
17148 rm -f conftest.err conftest.
$ac_ext
17151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17152 rm -f conftest.err conftest.
$ac_ext
17153 if $ac_preproc_ok; then
17156 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17157 See \`config.log' for more details." >&5
17158 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17159 See \`config.log' for more details." >&2;}
17160 { (exit 1); exit 1; }; }
17164 ac_cpp
='$CXXCPP $CPPFLAGS'
17165 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17166 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17167 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17171 if test "$cross_compiling" = "yes"; then
17172 cat >>confdefs.h
<<\_ACEOF
17173 #define wxUSE_IOSTREAMH 1
17180 ac_cpp
='$CXXCPP $CPPFLAGS'
17181 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17182 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17183 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17187 for ac_header
in iostream
17189 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17191 echo "$as_me:$LINENO: checking for $ac_header" >&5
17192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17199 # Is the header compilable?
17200 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17201 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17202 cat >conftest.
$ac_ext <<_ACEOF
17203 #line $LINENO "configure"
17206 cat confdefs.h
>>conftest.
$ac_ext
17207 cat >>conftest.
$ac_ext <<_ACEOF
17208 /* end confdefs.h. */
17209 $ac_includes_default
17210 #include <$ac_header>
17212 rm -f conftest.
$ac_objext
17213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17214 (eval $ac_compile) 2>&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); } &&
17218 { ac_try
='test -s conftest.$ac_objext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17224 ac_header_compiler
=yes
17226 echo "$as_me: failed program was:" >&5
17227 sed 's/^/| /' conftest.
$ac_ext >&5
17229 ac_header_compiler
=no
17231 rm -f conftest.
$ac_objext conftest.
$ac_ext
17232 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17233 echo "${ECHO_T}$ac_header_compiler" >&6
17235 # Is the header present?
17236 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17237 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17238 cat >conftest.
$ac_ext <<_ACEOF
17239 #line $LINENO "configure"
17242 cat confdefs.h
>>conftest.
$ac_ext
17243 cat >>conftest.
$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17245 #include <$ac_header>
17247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17248 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17250 grep -v '^ *+' conftest.er1
>conftest.err
17252 cat conftest.err
>&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); } >/dev
/null
; then
17255 if test -s conftest.err
; then
17256 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17263 if test -z "$ac_cpp_err"; then
17264 ac_header_preproc
=yes
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.
$ac_ext >&5
17269 ac_header_preproc
=no
17271 rm -f conftest.err conftest.
$ac_ext
17272 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17273 echo "${ECHO_T}$ac_header_preproc" >&6
17275 # So? What about this header?
17276 case $ac_header_compiler:$ac_header_preproc in
17278 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17279 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17281 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17284 ## ------------------------------------ ##
17285 ## Report this to bug-autoconf@gnu.org. ##
17286 ## ------------------------------------ ##
17289 sed "s/^/$as_me: WARNING: /" >&2
17292 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17293 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17294 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17295 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17297 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17300 ## ------------------------------------ ##
17301 ## Report this to bug-autoconf@gnu.org. ##
17302 ## ------------------------------------ ##
17305 sed "s/^/$as_me: WARNING: /" >&2
17308 echo "$as_me:$LINENO: checking for $ac_header" >&5
17309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17311 echo $ECHO_N "(cached) $ECHO_C" >&6
17313 eval "$as_ac_Header=$ac_header_preproc"
17315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17320 cat >>confdefs.h
<<_ACEOF
17321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17329 if test "$ac_cv_header_iostream" = "yes" ; then
17332 cat >>confdefs.h
<<\_ACEOF
17333 #define wxUSE_IOSTREAMH 1
17339 ac_cpp
='$CPP $CPPFLAGS'
17340 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17341 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17342 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17348 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17349 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17350 if test "${wx_cv_cpp_bool+set}" = set; then
17351 echo $ECHO_N "(cached) $ECHO_C" >&6
17357 ac_cpp
='$CXXCPP $CPPFLAGS'
17358 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17359 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17360 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17363 cat >conftest.
$ac_ext <<_ACEOF
17364 #line $LINENO "configure"
17367 cat confdefs.h
>>conftest.
$ac_ext
17368 cat >>conftest.
$ac_ext <<_ACEOF
17369 /* end confdefs.h. */
17384 rm -f conftest.
$ac_objext
17385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17386 (eval $ac_compile) 2>&5
17388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 (exit $ac_status); } &&
17390 { ac_try
='test -s conftest.$ac_objext'
17391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17392 (eval $ac_try) 2>&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); }; }; then
17400 echo "$as_me: failed program was:" >&5
17401 sed 's/^/| /' conftest.
$ac_ext >&5
17408 rm -f conftest.
$ac_objext conftest.
$ac_ext
17411 ac_cpp
='$CPP $CPPFLAGS'
17412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17418 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17419 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17421 if test "$wx_cv_cpp_bool" = "yes"; then
17422 cat >>confdefs.h
<<\_ACEOF
17423 #define HAVE_BOOL 1
17430 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17431 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17432 if test "${wx_cv_explicit+set}" = set; then
17433 echo $ECHO_N "(cached) $ECHO_C" >&6
17439 ac_cpp
='$CXXCPP $CPPFLAGS'
17440 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17441 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17442 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17445 cat >conftest.
$ac_ext <<_ACEOF
17446 #line $LINENO "configure"
17449 cat confdefs.h
>>conftest.
$ac_ext
17450 cat >>conftest.
$ac_ext <<_ACEOF
17451 /* end confdefs.h. */
17453 class Foo { public: explicit Foo(int) {} };
17465 rm -f conftest.
$ac_objext
17466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17467 (eval $ac_compile) 2>&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } &&
17471 { ac_try
='test -s conftest.$ac_objext'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; }; then
17478 cat >conftest.
$ac_ext <<_ACEOF
17479 #line $LINENO "configure"
17482 cat confdefs.h
>>conftest.
$ac_ext
17483 cat >>conftest.
$ac_ext <<_ACEOF
17484 /* end confdefs.h. */
17486 class Foo { public: explicit Foo(int) {} };
17487 static void TakeFoo(const Foo& foo) { }
17500 rm -f conftest.
$ac_objext
17501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17502 (eval $ac_compile) 2>&5
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); } &&
17506 { ac_try
='test -s conftest.$ac_objext'
17507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17508 (eval $ac_try) 2>&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); }; }; then
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.
$ac_ext >&5
17520 rm -f conftest.
$ac_objext conftest.
$ac_ext
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.
$ac_ext >&5
17529 rm -f conftest.
$ac_objext conftest.
$ac_ext
17532 ac_cpp
='$CPP $CPPFLAGS'
17533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17539 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17540 echo "${ECHO_T}$wx_cv_explicit" >&6
17542 if test "$wx_cv_explicit" = "yes"; then
17543 cat >>confdefs.h
<<\_ACEOF
17544 #define HAVE_EXPLICIT 1
17550 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17551 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17552 if test "${ac_cv_cxx_const_cast+set}" = set; then
17553 echo $ECHO_N "(cached) $ECHO_C" >&6
17558 ac_cpp
='$CXXCPP $CPPFLAGS'
17559 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17560 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17561 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17563 cat >conftest.
$ac_ext <<_ACEOF
17564 #line $LINENO "configure"
17567 cat confdefs.h
>>conftest.
$ac_ext
17568 cat >>conftest.
$ac_ext <<_ACEOF
17569 /* end confdefs.h. */
17574 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17579 rm -f conftest.
$ac_objext
17580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17581 (eval $ac_compile) 2>&5
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); } &&
17585 { ac_try
='test -s conftest.$ac_objext'
17586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17587 (eval $ac_try) 2>&5
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 (exit $ac_status); }; }; then
17591 ac_cv_cxx_const_cast
=yes
17593 echo "$as_me: failed program was:" >&5
17594 sed 's/^/| /' conftest.
$ac_ext >&5
17596 ac_cv_cxx_const_cast
=no
17598 rm -f conftest.
$ac_objext conftest.
$ac_ext
17600 ac_cpp
='$CPP $CPPFLAGS'
17601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17607 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17608 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17609 if test "$ac_cv_cxx_const_cast" = yes; then
17611 cat >>confdefs.h
<<\_ACEOF
17612 #define HAVE_CONST_CAST
17618 if test "$wxUSE_STL" = "yes"; then
17620 ac_cpp
='$CXXCPP $CPPFLAGS'
17621 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17622 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17623 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17626 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17627 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17628 cat >conftest.
$ac_ext <<_ACEOF
17629 #line $LINENO "configure"
17632 cat confdefs.h
>>conftest.
$ac_ext
17633 cat >>conftest.
$ac_ext <<_ACEOF
17634 /* end confdefs.h. */
17636 #include <functional>
17637 #include <algorithm>
17643 std::vector<int> moo;
17644 std::list<int> foo;
17645 std::vector<int>::iterator it =
17646 std::find_if(moo.begin(), moo.end(),
17647 std::bind2nd(std::less<int>(), 3));
17652 rm -f conftest.
$ac_objext
17653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17654 (eval $ac_compile) 2>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } &&
17658 { ac_try
='test -s conftest.$ac_objext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 echo "$as_me:$LINENO: result: yes" >&5
17665 echo "${ECHO_T}yes" >&6
17667 echo "$as_me: failed program was:" >&5
17668 sed 's/^/| /' conftest.
$ac_ext >&5
17670 echo "$as_me:$LINENO: result: no" >&5
17671 echo "${ECHO_T}no" >&6
17672 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17673 echo "$as_me: error: Basic STL functionality missing" >&2;}
17674 { (exit 1); exit 1; }; }
17676 rm -f conftest.
$ac_objext conftest.
$ac_ext
17678 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17679 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17680 cat >conftest.
$ac_ext <<_ACEOF
17681 #line $LINENO "configure"
17684 cat confdefs.h
>>conftest.
$ac_ext
17685 cat >>conftest.
$ac_ext <<_ACEOF
17686 /* end confdefs.h. */
17696 rm -f conftest.
$ac_objext
17697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17698 (eval $ac_compile) 2>&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); } &&
17702 { ac_try
='test -s conftest.$ac_objext'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; }; then
17708 echo "$as_me:$LINENO: result: yes" >&5
17709 echo "${ECHO_T}yes" >&6
17710 cat >>confdefs.h
<<\_ACEOF
17711 #define HAVE_STD_WSTRING 1
17715 echo "$as_me: failed program was:" >&5
17716 sed 's/^/| /' conftest.
$ac_ext >&5
17718 echo "$as_me:$LINENO: result: no" >&5
17719 echo "${ECHO_T}no" >&6
17721 rm -f conftest.
$ac_objext conftest.
$ac_ext
17723 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17724 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17725 cat >conftest.
$ac_ext <<_ACEOF
17726 #line $LINENO "configure"
17729 cat confdefs.h
>>conftest.
$ac_ext
17730 cat >>conftest.
$ac_ext <<_ACEOF
17731 /* end confdefs.h. */
17736 std::string foo, bar;
17738 foo.compare(1, 1, bar);
17739 foo.compare(1, 1, bar, 1, 1);
17741 foo.compare(1, 1, "");
17742 foo.compare(1, 1, "", 2);
17747 rm -f conftest.
$ac_objext
17748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17749 (eval $ac_compile) 2>&5
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); } &&
17753 { ac_try
='test -s conftest.$ac_objext'
17754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17755 (eval $ac_try) 2>&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); }; }; then
17759 echo "$as_me:$LINENO: result: yes" >&5
17760 echo "${ECHO_T}yes" >&6
17761 cat >>confdefs.h
<<\_ACEOF
17762 #define HAVE_STD_STRING_COMPARE 1
17766 echo "$as_me: failed program was:" >&5
17767 sed 's/^/| /' conftest.
$ac_ext >&5
17769 echo "$as_me:$LINENO: result: no" >&5
17770 echo "${ECHO_T}no" >&6
17772 rm -f conftest.
$ac_objext conftest.
$ac_ext
17775 ac_cpp
='$CPP $CPPFLAGS'
17776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17784 /usr/local/include \
17786 /usr/Motif-1.2/include \
17787 /usr/Motif-2.1/include \
17789 /usr/include/Motif1.2 \
17790 /opt/xpm/include/X11 \
17791 /opt/GBxpm/include/ \
17792 /opt/GBxpm/X11/include/ \
17794 /usr/Motif1.2/include \
17796 /usr/openwin/include \
17800 /usr/X11R6/include \
17801 /usr/X11R6.4/include \
17802 /usr/X11R5/include \
17803 /usr/X11R4/include \
17805 /usr/include/X11R6 \
17806 /usr/include/X11R5 \
17807 /usr/include/X11R4 \
17809 /usr/local/X11R6/include \
17810 /usr/local/X11R5/include \
17811 /usr/local/X11R4/include \
17813 /usr/local/include/X11R6 \
17814 /usr/local/include/X11R5 \
17815 /usr/local/include/X11R4 \
17819 /usr/local/X11/include \
17820 /usr/local/include/X11 \
17822 /usr/X386/include \
17823 /usr/x386/include \
17824 /usr/XFree86/include/X11 \
17826 X:/XFree86/include \
17827 X:/XFree86/include/X11 \
17830 /usr/local/include/gtk \
17831 /usr/include/glib \
17832 /usr/local/include/glib \
17835 /usr/local/include/qt \
17837 /usr/include/windows \
17838 /usr/include/wine \
17839 /usr/local/include/wine \
17841 /usr/unsupported/include \
17842 /usr/athena/include \
17843 /usr/local/x11r5/include \
17844 /usr/lpp/Xamples/include \
17846 /usr/openwin/share/include"
17848 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17851 cat >confcache
<<\_ACEOF
17852 # This file is a shell script that caches the results of configure
17853 # tests run on this system so they can be shared between configure
17854 # scripts and configure runs, see configure's option --config-cache.
17855 # It is not useful on other systems. If it contains results you don't
17856 # want to keep, you may remove or edit it.
17858 # config.status only pays attention to the cache file if you give it
17859 # the --recheck option to rerun configure.
17861 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17862 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17863 # following values.
17867 # The following way of writing the cache mishandles newlines in values,
17868 # but we know of no workaround that is simple, portable, and efficient.
17869 # So, don't put newlines in cache variables' values.
17870 # Ultrix sh set writes to stderr and can't be redirected directly,
17871 # and sets the high bit in the cache file unless we assign to the vars.
17874 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17876 # `set' does not quote correctly, so add quotes (double-quote
17877 # substitution turns \\\\ into \\, and sed turns \\ into \).
17880 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17883 # `set' quotes correctly as required by POSIX, so do not add quotes.
17885 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17892 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17894 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17896 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17897 if test -w $cache_file; then
17898 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17899 cat confcache
>$cache_file
17901 echo "not updating unwritable cache $cache_file"
17906 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17907 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17908 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17909 if test "${wx_cv_lib_glibc21+set}" = set; then
17910 echo $ECHO_N "(cached) $ECHO_C" >&6
17913 cat >conftest.
$ac_ext <<_ACEOF
17914 #line $LINENO "configure"
17917 cat confdefs.h
>>conftest.
$ac_ext
17918 cat >>conftest.
$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17920 #include <features.h>
17925 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17926 #error not glibc2.1
17933 rm -f conftest.
$ac_objext
17934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17935 (eval $ac_compile) 2>&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); } &&
17939 { ac_try
='test -s conftest.$ac_objext'
17940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941 (eval $ac_try) 2>&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); }; }; then
17946 wx_cv_lib_glibc21
=yes
17949 echo "$as_me: failed program was:" >&5
17950 sed 's/^/| /' conftest.
$ac_ext >&5
17953 wx_cv_lib_glibc21
=no
17957 rm -f conftest.
$ac_objext conftest.
$ac_ext
17960 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17961 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17962 if test "$wx_cv_lib_glibc21" = "yes"; then
17963 cat >>confdefs.h
<<\_ACEOF
17964 #define wxHAVE_GLIBC2 1
17970 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17971 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17972 cat >>confdefs.h
<<\_ACEOF
17973 #define _GNU_SOURCE 1
17982 if test "$wxUSE_REGEX" != "no"; then
17983 cat >>confdefs.h
<<\_ACEOF
17984 #define wxUSE_REGEX 1
17988 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17989 if test "${ac_cv_header_regex_h+set}" = set; then
17990 echo "$as_me:$LINENO: checking for regex.h" >&5
17991 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17992 if test "${ac_cv_header_regex_h+set}" = set; then
17993 echo $ECHO_N "(cached) $ECHO_C" >&6
17995 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17996 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17998 # Is the header compilable?
17999 echo "$as_me:$LINENO: checking regex.h usability" >&5
18000 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18001 cat >conftest.
$ac_ext <<_ACEOF
18002 #line $LINENO "configure"
18005 cat confdefs.h
>>conftest.
$ac_ext
18006 cat >>conftest.
$ac_ext <<_ACEOF
18007 /* end confdefs.h. */
18008 $ac_includes_default
18011 rm -f conftest.
$ac_objext
18012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18013 (eval $ac_compile) 2>&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); } &&
18017 { ac_try
='test -s conftest.$ac_objext'
18018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18019 (eval $ac_try) 2>&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); }; }; then
18023 ac_header_compiler
=yes
18025 echo "$as_me: failed program was:" >&5
18026 sed 's/^/| /' conftest.
$ac_ext >&5
18028 ac_header_compiler
=no
18030 rm -f conftest.
$ac_objext conftest.
$ac_ext
18031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18032 echo "${ECHO_T}$ac_header_compiler" >&6
18034 # Is the header present?
18035 echo "$as_me:$LINENO: checking regex.h presence" >&5
18036 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18037 cat >conftest.
$ac_ext <<_ACEOF
18038 #line $LINENO "configure"
18041 cat confdefs.h
>>conftest.
$ac_ext
18042 cat >>conftest.
$ac_ext <<_ACEOF
18043 /* end confdefs.h. */
18046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18047 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18049 grep -v '^ *+' conftest.er1
>conftest.err
18051 cat conftest.err
>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); } >/dev
/null
; then
18054 if test -s conftest.err
; then
18055 ac_cpp_err
=$ac_c_preproc_warn_flag
18062 if test -z "$ac_cpp_err"; then
18063 ac_header_preproc
=yes
18065 echo "$as_me: failed program was:" >&5
18066 sed 's/^/| /' conftest.
$ac_ext >&5
18068 ac_header_preproc
=no
18070 rm -f conftest.err conftest.
$ac_ext
18071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18072 echo "${ECHO_T}$ac_header_preproc" >&6
18074 # So? What about this header?
18075 case $ac_header_compiler:$ac_header_preproc in
18077 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18078 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18079 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18080 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18083 ## ------------------------------------ ##
18084 ## Report this to bug-autoconf@gnu.org. ##
18085 ## ------------------------------------ ##
18088 sed "s/^/$as_me: WARNING: /" >&2
18091 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18092 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18093 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18094 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18095 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18096 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18099 ## ------------------------------------ ##
18100 ## Report this to bug-autoconf@gnu.org. ##
18101 ## ------------------------------------ ##
18104 sed "s/^/$as_me: WARNING: /" >&2
18107 echo "$as_me:$LINENO: checking for regex.h" >&5
18108 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18109 if test "${ac_cv_header_regex_h+set}" = set; then
18110 echo $ECHO_N "(cached) $ECHO_C" >&6
18112 ac_cv_header_regex_h
=$ac_header_preproc
18114 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18115 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18118 if test $ac_cv_header_regex_h = yes; then
18120 for ac_func
in regcomp
18122 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18123 echo "$as_me:$LINENO: checking for $ac_func" >&5
18124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18125 if eval "test \"\${$as_ac_var+set}\" = set"; then
18126 echo $ECHO_N "(cached) $ECHO_C" >&6
18128 cat >conftest.
$ac_ext <<_ACEOF
18129 #line $LINENO "configure"
18132 cat confdefs.h
>>conftest.
$ac_ext
18133 cat >>conftest.
$ac_ext <<_ACEOF
18134 /* end confdefs.h. */
18135 /* System header to define __stub macros and hopefully few prototypes,
18136 which can conflict with char $ac_func (); below.
18137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18138 <limits.h> exists even on freestanding compilers. */
18140 # include <limits.h>
18142 # include <assert.h>
18144 /* Override any gcc2 internal prototype to avoid an error. */
18149 /* We use char because int might match the return type of a gcc2
18150 builtin and then its argument prototype would still apply. */
18152 /* The GNU C library defines this for functions which it implements
18153 to always fail with ENOSYS. Some functions are actually named
18154 something starting with __ and the normal name is an alias. */
18155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18158 char (*f) () = $ac_func;
18167 return f != $ac_func;
18172 rm -f conftest.
$ac_objext conftest
$ac_exeext
18173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18174 (eval $ac_link) 2>&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); } &&
18178 { ac_try
='test -s conftest$ac_exeext'
18179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18180 (eval $ac_try) 2>&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); }; }; then
18184 eval "$as_ac_var=yes"
18186 echo "$as_me: failed program was:" >&5
18187 sed 's/^/| /' conftest.
$ac_ext >&5
18189 eval "$as_ac_var=no"
18191 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18195 if test `eval echo '${'$as_ac_var'}'` = yes; then
18196 cat >>confdefs.h
<<_ACEOF
18197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18207 if test "x$ac_cv_func_regcomp" != "xyes"; then
18208 if test "$wxUSE_REGEX" = "sys" ; then
18209 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18210 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18211 { (exit 1); exit 1; }; }
18213 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18214 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18215 wxUSE_REGEX
=builtin
18222 if test "$wxUSE_REGEX" = "builtin" ; then
18223 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18230 if test "$wxUSE_ZLIB" != "no" ; then
18231 cat >>confdefs.h
<<\_ACEOF
18232 #define wxUSE_ZLIB 1
18236 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18237 if test "$USE_DARWIN" = 1; then
18238 system_zlib_h_ok
="yes"
18240 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18241 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18242 if test "${ac_cv_header_zlib_h+set}" = set; then
18243 echo $ECHO_N "(cached) $ECHO_C" >&6
18245 if test "$cross_compiling" = yes; then
18246 unset ac_cv_header_zlib_h
18249 cat >conftest.
$ac_ext <<_ACEOF
18250 #line $LINENO "configure"
18253 cat confdefs.h
>>conftest.
$ac_ext
18254 cat >>conftest.
$ac_ext <<_ACEOF
18255 /* end confdefs.h. */
18262 FILE *f=fopen("conftestval", "w");
18265 ZLIB_VERSION[0] == '1' &&
18266 (ZLIB_VERSION[2] > '1' ||
18267 (ZLIB_VERSION[2] == '1' &&
18268 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18273 rm -f conftest
$ac_exeext
18274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18275 (eval $ac_link) 2>&5
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; }; then
18284 ac_cv_header_zlib_h
=`cat conftestval`
18286 echo "$as_me: program exited with status $ac_status" >&5
18287 echo "$as_me: failed program was:" >&5
18288 sed 's/^/| /' conftest.
$ac_ext >&5
18290 ( exit $ac_status )
18291 ac_cv_header_zlib_h
=no
18293 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18297 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18298 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18299 if test "${ac_cv_header_zlib_h+set}" = set; then
18300 echo "$as_me:$LINENO: checking for zlib.h" >&5
18301 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18302 if test "${ac_cv_header_zlib_h+set}" = set; then
18303 echo $ECHO_N "(cached) $ECHO_C" >&6
18305 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18306 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18308 # Is the header compilable?
18309 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18310 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18311 cat >conftest.
$ac_ext <<_ACEOF
18312 #line $LINENO "configure"
18315 cat confdefs.h
>>conftest.
$ac_ext
18316 cat >>conftest.
$ac_ext <<_ACEOF
18317 /* end confdefs.h. */
18318 $ac_includes_default
18321 rm -f conftest.
$ac_objext
18322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18323 (eval $ac_compile) 2>&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); } &&
18327 { ac_try
='test -s conftest.$ac_objext'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; }; then
18333 ac_header_compiler
=yes
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.
$ac_ext >&5
18338 ac_header_compiler
=no
18340 rm -f conftest.
$ac_objext conftest.
$ac_ext
18341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18342 echo "${ECHO_T}$ac_header_compiler" >&6
18344 # Is the header present?
18345 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18346 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18347 cat >conftest.
$ac_ext <<_ACEOF
18348 #line $LINENO "configure"
18351 cat confdefs.h
>>conftest.
$ac_ext
18352 cat >>conftest.
$ac_ext <<_ACEOF
18353 /* end confdefs.h. */
18356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18357 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18359 grep -v '^ *+' conftest.er1
>conftest.err
18361 cat conftest.err
>&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } >/dev
/null
; then
18364 if test -s conftest.err
; then
18365 ac_cpp_err
=$ac_c_preproc_warn_flag
18372 if test -z "$ac_cpp_err"; then
18373 ac_header_preproc
=yes
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.
$ac_ext >&5
18378 ac_header_preproc
=no
18380 rm -f conftest.err conftest.
$ac_ext
18381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18382 echo "${ECHO_T}$ac_header_preproc" >&6
18384 # So? What about this header?
18385 case $ac_header_compiler:$ac_header_preproc in
18387 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18388 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18389 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18390 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18393 ## ------------------------------------ ##
18394 ## Report this to bug-autoconf@gnu.org. ##
18395 ## ------------------------------------ ##
18398 sed "s/^/$as_me: WARNING: /" >&2
18401 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18402 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18403 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18404 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18405 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18406 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18409 ## ------------------------------------ ##
18410 ## Report this to bug-autoconf@gnu.org. ##
18411 ## ------------------------------------ ##
18414 sed "s/^/$as_me: WARNING: /" >&2
18417 echo "$as_me:$LINENO: checking for zlib.h" >&5
18418 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18419 if test "${ac_cv_header_zlib_h+set}" = set; then
18420 echo $ECHO_N "(cached) $ECHO_C" >&6
18422 ac_cv_header_zlib_h
=$ac_header_preproc
18424 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18425 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18431 system_zlib_h_ok
=$ac_cv_header_zlib_h
18434 if test "$system_zlib_h_ok" = "yes"; then
18435 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18436 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18437 if test "${ac_cv_lib_z_deflate+set}" = set; then
18438 echo $ECHO_N "(cached) $ECHO_C" >&6
18440 ac_check_lib_save_LIBS
=$LIBS
18442 cat >conftest.
$ac_ext <<_ACEOF
18443 #line $LINENO "configure"
18446 cat confdefs.h
>>conftest.
$ac_ext
18447 cat >>conftest.
$ac_ext <<_ACEOF
18448 /* end confdefs.h. */
18450 /* Override any gcc2 internal prototype to avoid an error. */
18454 /* We use char because int might match the return type of a gcc2
18455 builtin and then its argument prototype would still apply. */
18465 rm -f conftest.
$ac_objext conftest
$ac_exeext
18466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18467 (eval $ac_link) 2>&5
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); } &&
18471 { ac_try
='test -s conftest$ac_exeext'
18472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18473 (eval $ac_try) 2>&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); }; }; then
18477 ac_cv_lib_z_deflate
=yes
18479 echo "$as_me: failed program was:" >&5
18480 sed 's/^/| /' conftest.
$ac_ext >&5
18482 ac_cv_lib_z_deflate
=no
18484 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18485 LIBS
=$ac_check_lib_save_LIBS
18487 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18488 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18489 if test $ac_cv_lib_z_deflate = yes; then
18495 if test "x$ZLIB_LINK" = "x" ; then
18496 if test "$wxUSE_ZLIB" = "sys" ; then
18497 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18498 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18499 { (exit 1); exit 1; }; }
18501 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18502 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18510 if test "$wxUSE_ZLIB" = "builtin" ; then
18511 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18518 if test "$wxUSE_LIBPNG" != "no" ; then
18519 cat >>confdefs.h
<<\_ACEOF
18520 #define wxUSE_LIBPNG 1
18524 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18525 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18526 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18530 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18531 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18532 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18533 wxUSE_LIBPNG
=builtin
18536 if test "$wxUSE_MGL" != 1 ; then
18537 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18538 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18539 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18540 if test "${ac_cv_header_png_h+set}" = set; then
18541 echo $ECHO_N "(cached) $ECHO_C" >&6
18543 if test "$cross_compiling" = yes; then
18544 unset ac_cv_header_png_h
18547 cat >conftest.
$ac_ext <<_ACEOF
18548 #line $LINENO "configure"
18551 cat confdefs.h
>>conftest.
$ac_ext
18552 cat >>conftest.
$ac_ext <<_ACEOF
18553 /* end confdefs.h. */
18560 FILE *f=fopen("conftestval", "w");
18563 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18568 rm -f conftest
$ac_exeext
18569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18570 (eval $ac_link) 2>&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; }; then
18579 ac_cv_header_png_h
=`cat conftestval`
18581 echo "$as_me: program exited with status $ac_status" >&5
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.
$ac_ext >&5
18585 ( exit $ac_status )
18586 ac_cv_header_png_h
=no
18588 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18592 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18593 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18594 if test "${ac_cv_header_png_h+set}" = set; then
18595 echo "$as_me:$LINENO: checking for png.h" >&5
18596 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18597 if test "${ac_cv_header_png_h+set}" = set; then
18598 echo $ECHO_N "(cached) $ECHO_C" >&6
18600 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18601 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18603 # Is the header compilable?
18604 echo "$as_me:$LINENO: checking png.h usability" >&5
18605 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18606 cat >conftest.
$ac_ext <<_ACEOF
18607 #line $LINENO "configure"
18610 cat confdefs.h
>>conftest.
$ac_ext
18611 cat >>conftest.
$ac_ext <<_ACEOF
18612 /* end confdefs.h. */
18613 $ac_includes_default
18616 rm -f conftest.
$ac_objext
18617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18618 (eval $ac_compile) 2>&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } &&
18622 { ac_try
='test -s conftest.$ac_objext'
18623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18624 (eval $ac_try) 2>&5
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); }; }; then
18628 ac_header_compiler
=yes
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.
$ac_ext >&5
18633 ac_header_compiler
=no
18635 rm -f conftest.
$ac_objext conftest.
$ac_ext
18636 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18637 echo "${ECHO_T}$ac_header_compiler" >&6
18639 # Is the header present?
18640 echo "$as_me:$LINENO: checking png.h presence" >&5
18641 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18642 cat >conftest.
$ac_ext <<_ACEOF
18643 #line $LINENO "configure"
18646 cat confdefs.h
>>conftest.
$ac_ext
18647 cat >>conftest.
$ac_ext <<_ACEOF
18648 /* end confdefs.h. */
18651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18652 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18654 grep -v '^ *+' conftest.er1
>conftest.err
18656 cat conftest.err
>&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); } >/dev
/null
; then
18659 if test -s conftest.err
; then
18660 ac_cpp_err
=$ac_c_preproc_warn_flag
18667 if test -z "$ac_cpp_err"; then
18668 ac_header_preproc
=yes
18670 echo "$as_me: failed program was:" >&5
18671 sed 's/^/| /' conftest.
$ac_ext >&5
18673 ac_header_preproc
=no
18675 rm -f conftest.err conftest.
$ac_ext
18676 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18677 echo "${ECHO_T}$ac_header_preproc" >&6
18679 # So? What about this header?
18680 case $ac_header_compiler:$ac_header_preproc in
18682 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18683 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18684 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18685 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18688 ## ------------------------------------ ##
18689 ## Report this to bug-autoconf@gnu.org. ##
18690 ## ------------------------------------ ##
18693 sed "s/^/$as_me: WARNING: /" >&2
18696 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18697 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18698 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18699 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18700 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18701 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18704 ## ------------------------------------ ##
18705 ## Report this to bug-autoconf@gnu.org. ##
18706 ## ------------------------------------ ##
18709 sed "s/^/$as_me: WARNING: /" >&2
18712 echo "$as_me:$LINENO: checking for png.h" >&5
18713 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18714 if test "${ac_cv_header_png_h+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18717 ac_cv_header_png_h
=$ac_header_preproc
18719 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18720 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18726 if test "$ac_cv_header_png_h" = "yes"; then
18727 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18728 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18729 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18730 echo $ECHO_N "(cached) $ECHO_C" >&6
18732 ac_check_lib_save_LIBS
=$LIBS
18733 LIBS
="-lpng -lz -lm $LIBS"
18734 cat >conftest.
$ac_ext <<_ACEOF
18735 #line $LINENO "configure"
18738 cat confdefs.h
>>conftest.
$ac_ext
18739 cat >>conftest.
$ac_ext <<_ACEOF
18740 /* end confdefs.h. */
18742 /* Override any gcc2 internal prototype to avoid an error. */
18746 /* We use char because int might match the return type of a gcc2
18747 builtin and then its argument prototype would still apply. */
18748 char png_check_sig ();
18757 rm -f conftest.
$ac_objext conftest
$ac_exeext
18758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18759 (eval $ac_link) 2>&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); } &&
18763 { ac_try
='test -s conftest$ac_exeext'
18764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18765 (eval $ac_try) 2>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; }; then
18769 ac_cv_lib_png_png_check_sig
=yes
18771 echo "$as_me: failed program was:" >&5
18772 sed 's/^/| /' conftest.
$ac_ext >&5
18774 ac_cv_lib_png_png_check_sig
=no
18776 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18777 LIBS
=$ac_check_lib_save_LIBS
18779 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18780 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18781 if test $ac_cv_lib_png_png_check_sig = yes; then
18787 if test "x$PNG_LINK" = "x" ; then
18788 if test "$wxUSE_LIBPNG" = "sys" ; then
18789 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18790 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18791 { (exit 1); exit 1; }; }
18793 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18794 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18795 wxUSE_LIBPNG
=builtin
18803 if test "$wxUSE_LIBPNG" = "builtin" ; then
18804 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18807 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18813 if test "$wxUSE_LIBJPEG" != "no" ; then
18814 cat >>confdefs.h
<<\_ACEOF
18815 #define wxUSE_LIBJPEG 1
18819 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18820 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18821 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18825 if test "$wxUSE_MGL" != 1 ; then
18826 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18827 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18828 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18829 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18830 echo $ECHO_N "(cached) $ECHO_C" >&6
18832 cat >conftest.
$ac_ext <<_ACEOF
18833 #line $LINENO "configure"
18836 cat confdefs.h
>>conftest.
$ac_ext
18837 cat >>conftest.
$ac_ext <<_ACEOF
18838 /* end confdefs.h. */
18840 #undef HAVE_STDLIB_H
18842 #include <jpeglib.h>
18853 rm -f conftest.
$ac_objext
18854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18855 (eval $ac_compile) 2>&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); } &&
18859 { ac_try
='test -s conftest.$ac_objext'
18860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18861 (eval $ac_try) 2>&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); }; }; then
18865 ac_cv_header_jpeglib_h
=yes
18867 echo "$as_me: failed program was:" >&5
18868 sed 's/^/| /' conftest.
$ac_ext >&5
18870 ac_cv_header_jpeglib_h
=no
18873 rm -f conftest.
$ac_objext conftest.
$ac_ext
18877 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18878 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18880 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18881 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18882 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18883 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18884 echo $ECHO_N "(cached) $ECHO_C" >&6
18886 ac_check_lib_save_LIBS
=$LIBS
18887 LIBS
="-ljpeg $LIBS"
18888 cat >conftest.
$ac_ext <<_ACEOF
18889 #line $LINENO "configure"
18892 cat confdefs.h
>>conftest.
$ac_ext
18893 cat >>conftest.
$ac_ext <<_ACEOF
18894 /* end confdefs.h. */
18896 /* Override any gcc2 internal prototype to avoid an error. */
18900 /* We use char because int might match the return type of a gcc2
18901 builtin and then its argument prototype would still apply. */
18902 char jpeg_read_header ();
18906 jpeg_read_header ();
18911 rm -f conftest.
$ac_objext conftest
$ac_exeext
18912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18913 (eval $ac_link) 2>&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); } &&
18917 { ac_try
='test -s conftest$ac_exeext'
18918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919 (eval $ac_try) 2>&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); }; }; then
18923 ac_cv_lib_jpeg_jpeg_read_header
=yes
18925 echo "$as_me: failed program was:" >&5
18926 sed 's/^/| /' conftest.
$ac_ext >&5
18928 ac_cv_lib_jpeg_jpeg_read_header
=no
18930 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18931 LIBS
=$ac_check_lib_save_LIBS
18933 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18934 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18935 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18936 JPEG_LINK
=" -ljpeg"
18941 if test "x$JPEG_LINK" = "x" ; then
18942 if test "$wxUSE_LIBJPEG" = "sys" ; then
18943 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18944 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18945 { (exit 1); exit 1; }; }
18947 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18948 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18949 wxUSE_LIBJPEG
=builtin
18957 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18958 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
18965 TIFF_PREREQ_LINKS
=-lm
18966 if test "$wxUSE_LIBTIFF" != "no" ; then
18967 cat >>confdefs.h
<<\_ACEOF
18968 #define wxUSE_LIBTIFF 1
18972 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18973 if test "$wxUSE_LIBJPEG" = "sys"; then
18974 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
18976 if test "$wxUSE_ZLIB" = "sys"; then
18977 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18979 if test "${ac_cv_header_tiffio_h+set}" = set; then
18980 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18981 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18982 if test "${ac_cv_header_tiffio_h+set}" = set; then
18983 echo $ECHO_N "(cached) $ECHO_C" >&6
18985 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18986 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18988 # Is the header compilable?
18989 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18990 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18991 cat >conftest.
$ac_ext <<_ACEOF
18992 #line $LINENO "configure"
18995 cat confdefs.h
>>conftest.
$ac_ext
18996 cat >>conftest.
$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18998 $ac_includes_default
18999 #include <tiffio.h>
19001 rm -f conftest.
$ac_objext
19002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19003 (eval $ac_compile) 2>&5
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); } &&
19007 { ac_try
='test -s conftest.$ac_objext'
19008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19009 (eval $ac_try) 2>&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); }; }; then
19013 ac_header_compiler
=yes
19015 echo "$as_me: failed program was:" >&5
19016 sed 's/^/| /' conftest.
$ac_ext >&5
19018 ac_header_compiler
=no
19020 rm -f conftest.
$ac_objext conftest.
$ac_ext
19021 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19022 echo "${ECHO_T}$ac_header_compiler" >&6
19024 # Is the header present?
19025 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19026 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19027 cat >conftest.
$ac_ext <<_ACEOF
19028 #line $LINENO "configure"
19031 cat confdefs.h
>>conftest.
$ac_ext
19032 cat >>conftest.
$ac_ext <<_ACEOF
19033 /* end confdefs.h. */
19034 #include <tiffio.h>
19036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19037 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19039 grep -v '^ *+' conftest.er1
>conftest.err
19041 cat conftest.err
>&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } >/dev
/null
; then
19044 if test -s conftest.err
; then
19045 ac_cpp_err
=$ac_c_preproc_warn_flag
19052 if test -z "$ac_cpp_err"; then
19053 ac_header_preproc
=yes
19055 echo "$as_me: failed program was:" >&5
19056 sed 's/^/| /' conftest.
$ac_ext >&5
19058 ac_header_preproc
=no
19060 rm -f conftest.err conftest.
$ac_ext
19061 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19062 echo "${ECHO_T}$ac_header_preproc" >&6
19064 # So? What about this header?
19065 case $ac_header_compiler:$ac_header_preproc in
19067 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19068 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19069 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19070 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19073 ## ------------------------------------ ##
19074 ## Report this to bug-autoconf@gnu.org. ##
19075 ## ------------------------------------ ##
19078 sed "s/^/$as_me: WARNING: /" >&2
19081 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19082 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19083 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19084 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19085 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19086 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19089 ## ------------------------------------ ##
19090 ## Report this to bug-autoconf@gnu.org. ##
19091 ## ------------------------------------ ##
19094 sed "s/^/$as_me: WARNING: /" >&2
19097 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19098 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19099 if test "${ac_cv_header_tiffio_h+set}" = set; then
19100 echo $ECHO_N "(cached) $ECHO_C" >&6
19102 ac_cv_header_tiffio_h
=$ac_header_preproc
19104 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19105 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19108 if test $ac_cv_header_tiffio_h = yes; then
19110 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19111 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19112 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19113 echo $ECHO_N "(cached) $ECHO_C" >&6
19115 ac_check_lib_save_LIBS
=$LIBS
19116 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19117 cat >conftest.
$ac_ext <<_ACEOF
19118 #line $LINENO "configure"
19121 cat confdefs.h
>>conftest.
$ac_ext
19122 cat >>conftest.
$ac_ext <<_ACEOF
19123 /* end confdefs.h. */
19125 /* Override any gcc2 internal prototype to avoid an error. */
19129 /* We use char because int might match the return type of a gcc2
19130 builtin and then its argument prototype would still apply. */
19140 rm -f conftest.
$ac_objext conftest
$ac_exeext
19141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19142 (eval $ac_link) 2>&5
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); } &&
19146 { ac_try
='test -s conftest$ac_exeext'
19147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148 (eval $ac_try) 2>&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; }; then
19152 ac_cv_lib_tiff_TIFFError
=yes
19154 echo "$as_me: failed program was:" >&5
19155 sed 's/^/| /' conftest.
$ac_ext >&5
19157 ac_cv_lib_tiff_TIFFError
=no
19159 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19160 LIBS
=$ac_check_lib_save_LIBS
19162 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19163 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19164 if test $ac_cv_lib_tiff_TIFFError = yes; then
19165 TIFF_LINK
=" -ltiff"
19174 if test "x$TIFF_LINK" = "x" ; then
19175 if test "$wxUSE_LIBTIFF" = "sys" ; then
19176 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19177 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19178 { (exit 1); exit 1; }; }
19180 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19181 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19182 wxUSE_LIBTIFF
=builtin
19189 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19190 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19195 if test "$wxUSE_EXPAT" != "no"; then
19197 cat >>confdefs.h
<<\_ACEOF
19198 #define wxUSE_EXPAT 1
19201 cat >>confdefs.h
<<\_ACEOF
19202 #define wxUSE_XML 1
19206 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19207 if test "${ac_cv_header_expat_h+set}" = set; then
19208 echo "$as_me:$LINENO: checking for expat.h" >&5
19209 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19210 if test "${ac_cv_header_expat_h+set}" = set; then
19211 echo $ECHO_N "(cached) $ECHO_C" >&6
19213 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19214 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19216 # Is the header compilable?
19217 echo "$as_me:$LINENO: checking expat.h usability" >&5
19218 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19219 cat >conftest.
$ac_ext <<_ACEOF
19220 #line $LINENO "configure"
19223 cat confdefs.h
>>conftest.
$ac_ext
19224 cat >>conftest.
$ac_ext <<_ACEOF
19225 /* end confdefs.h. */
19226 $ac_includes_default
19229 rm -f conftest.
$ac_objext
19230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19231 (eval $ac_compile) 2>&5
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); } &&
19235 { ac_try
='test -s conftest.$ac_objext'
19236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19237 (eval $ac_try) 2>&5
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); }; }; then
19241 ac_header_compiler
=yes
19243 echo "$as_me: failed program was:" >&5
19244 sed 's/^/| /' conftest.
$ac_ext >&5
19246 ac_header_compiler
=no
19248 rm -f conftest.
$ac_objext conftest.
$ac_ext
19249 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19250 echo "${ECHO_T}$ac_header_compiler" >&6
19252 # Is the header present?
19253 echo "$as_me:$LINENO: checking expat.h presence" >&5
19254 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19255 cat >conftest.
$ac_ext <<_ACEOF
19256 #line $LINENO "configure"
19259 cat confdefs.h
>>conftest.
$ac_ext
19260 cat >>conftest.
$ac_ext <<_ACEOF
19261 /* end confdefs.h. */
19264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19265 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19267 grep -v '^ *+' conftest.er1
>conftest.err
19269 cat conftest.err
>&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } >/dev
/null
; then
19272 if test -s conftest.err
; then
19273 ac_cpp_err
=$ac_c_preproc_warn_flag
19280 if test -z "$ac_cpp_err"; then
19281 ac_header_preproc
=yes
19283 echo "$as_me: failed program was:" >&5
19284 sed 's/^/| /' conftest.
$ac_ext >&5
19286 ac_header_preproc
=no
19288 rm -f conftest.err conftest.
$ac_ext
19289 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19290 echo "${ECHO_T}$ac_header_preproc" >&6
19292 # So? What about this header?
19293 case $ac_header_compiler:$ac_header_preproc in
19295 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19296 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19297 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19298 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19301 ## ------------------------------------ ##
19302 ## Report this to bug-autoconf@gnu.org. ##
19303 ## ------------------------------------ ##
19306 sed "s/^/$as_me: WARNING: /" >&2
19309 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19310 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19311 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19312 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19313 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19314 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19317 ## ------------------------------------ ##
19318 ## Report this to bug-autoconf@gnu.org. ##
19319 ## ------------------------------------ ##
19322 sed "s/^/$as_me: WARNING: /" >&2
19325 echo "$as_me:$LINENO: checking for expat.h" >&5
19326 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19327 if test "${ac_cv_header_expat_h+set}" = set; then
19328 echo $ECHO_N "(cached) $ECHO_C" >&6
19330 ac_cv_header_expat_h
=$ac_header_preproc
19332 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19333 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19336 if test $ac_cv_header_expat_h = yes; then
19341 if test "x$found_expat_h" = "x1"; then
19342 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19343 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19344 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19345 echo $ECHO_N "(cached) $ECHO_C" >&6
19351 ac_cpp
='$CXXCPP $CPPFLAGS'
19352 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19353 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19354 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19356 cat >conftest.
$ac_ext <<_ACEOF
19357 #line $LINENO "configure"
19360 cat confdefs.h
>>conftest.
$ac_ext
19361 cat >>conftest.
$ac_ext <<_ACEOF
19362 /* end confdefs.h. */
19372 rm -f conftest.
$ac_objext
19373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19374 (eval $ac_compile) 2>&5
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); } &&
19378 { ac_try
='test -s conftest.$ac_objext'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; }; then
19384 wx_cv_expat_is_not_broken
=yes
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.
$ac_ext >&5
19389 wx_cv_expat_is_not_broken
=no
19392 rm -f conftest.
$ac_objext conftest.
$ac_ext
19394 ac_cpp
='$CPP $CPPFLAGS'
19395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19402 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19403 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19404 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19405 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19406 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19407 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19408 echo $ECHO_N "(cached) $ECHO_C" >&6
19410 ac_check_lib_save_LIBS
=$LIBS
19411 LIBS
="-lexpat $LIBS"
19412 cat >conftest.
$ac_ext <<_ACEOF
19413 #line $LINENO "configure"
19416 cat confdefs.h
>>conftest.
$ac_ext
19417 cat >>conftest.
$ac_ext <<_ACEOF
19418 /* end confdefs.h. */
19420 /* Override any gcc2 internal prototype to avoid an error. */
19424 /* We use char because int might match the return type of a gcc2
19425 builtin and then its argument prototype would still apply. */
19426 char XML_ParserCreate ();
19430 XML_ParserCreate ();
19435 rm -f conftest.
$ac_objext conftest
$ac_exeext
19436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19437 (eval $ac_link) 2>&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); } &&
19441 { ac_try
='test -s conftest$ac_exeext'
19442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19443 (eval $ac_try) 2>&5
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); }; }; then
19447 ac_cv_lib_expat_XML_ParserCreate
=yes
19449 echo "$as_me: failed program was:" >&5
19450 sed 's/^/| /' conftest.
$ac_ext >&5
19452 ac_cv_lib_expat_XML_ParserCreate
=no
19454 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19455 LIBS
=$ac_check_lib_save_LIBS
19457 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19458 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19459 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19460 EXPAT_LINK
=" -lexpat"
19465 if test "x$EXPAT_LINK" = "x" ; then
19466 if test "$wxUSE_EXPAT" = "sys" ; then
19467 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19468 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19469 { (exit 1); exit 1; }; }
19471 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19472 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19473 wxUSE_EXPAT
=builtin
19479 if test "$wxUSE_EXPAT" = "builtin" ; then
19482 subdirs
="$subdirs src/expat"
19496 if test "$USE_WIN32" = 1 ; then
19498 for ac_header
in w32api.h
19500 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19502 echo "$as_me:$LINENO: checking for $ac_header" >&5
19503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19505 echo $ECHO_N "(cached) $ECHO_C" >&6
19507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19508 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19510 # Is the header compilable?
19511 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19512 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19513 cat >conftest.
$ac_ext <<_ACEOF
19514 #line $LINENO "configure"
19517 cat confdefs.h
>>conftest.
$ac_ext
19518 cat >>conftest.
$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19520 $ac_includes_default
19521 #include <$ac_header>
19523 rm -f conftest.
$ac_objext
19524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19525 (eval $ac_compile) 2>&5
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); } &&
19529 { ac_try
='test -s conftest.$ac_objext'
19530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531 (eval $ac_try) 2>&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); }; }; then
19535 ac_header_compiler
=yes
19537 echo "$as_me: failed program was:" >&5
19538 sed 's/^/| /' conftest.
$ac_ext >&5
19540 ac_header_compiler
=no
19542 rm -f conftest.
$ac_objext conftest.
$ac_ext
19543 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19544 echo "${ECHO_T}$ac_header_compiler" >&6
19546 # Is the header present?
19547 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19548 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19549 cat >conftest.
$ac_ext <<_ACEOF
19550 #line $LINENO "configure"
19553 cat confdefs.h
>>conftest.
$ac_ext
19554 cat >>conftest.
$ac_ext <<_ACEOF
19555 /* end confdefs.h. */
19556 #include <$ac_header>
19558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19559 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19561 grep -v '^ *+' conftest.er1
>conftest.err
19563 cat conftest.err
>&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); } >/dev
/null
; then
19566 if test -s conftest.err
; then
19567 ac_cpp_err
=$ac_c_preproc_warn_flag
19574 if test -z "$ac_cpp_err"; then
19575 ac_header_preproc
=yes
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.
$ac_ext >&5
19580 ac_header_preproc
=no
19582 rm -f conftest.err conftest.
$ac_ext
19583 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19584 echo "${ECHO_T}$ac_header_preproc" >&6
19586 # So? What about this header?
19587 case $ac_header_compiler:$ac_header_preproc in
19589 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19590 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19592 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19595 ## ------------------------------------ ##
19596 ## Report this to bug-autoconf@gnu.org. ##
19597 ## ------------------------------------ ##
19600 sed "s/^/$as_me: WARNING: /" >&2
19603 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19605 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19606 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19611 ## ------------------------------------ ##
19612 ## Report this to bug-autoconf@gnu.org. ##
19613 ## ------------------------------------ ##
19616 sed "s/^/$as_me: WARNING: /" >&2
19619 echo "$as_me:$LINENO: checking for $ac_header" >&5
19620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19622 echo $ECHO_N "(cached) $ECHO_C" >&6
19624 eval "$as_ac_Header=$ac_header_preproc"
19626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19631 cat >>confdefs.h
<<_ACEOF
19632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19639 if test "${ac_cv_header_windows_h+set}" = set; then
19640 echo "$as_me:$LINENO: checking for windows.h" >&5
19641 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19642 if test "${ac_cv_header_windows_h+set}" = set; then
19643 echo $ECHO_N "(cached) $ECHO_C" >&6
19645 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19646 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19648 # Is the header compilable?
19649 echo "$as_me:$LINENO: checking windows.h usability" >&5
19650 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19651 cat >conftest.
$ac_ext <<_ACEOF
19652 #line $LINENO "configure"
19655 cat confdefs.h
>>conftest.
$ac_ext
19656 cat >>conftest.
$ac_ext <<_ACEOF
19657 /* end confdefs.h. */
19658 $ac_includes_default
19659 #include <windows.h>
19661 rm -f conftest.
$ac_objext
19662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19663 (eval $ac_compile) 2>&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } &&
19667 { ac_try
='test -s conftest.$ac_objext'
19668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 (eval $ac_try) 2>&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); }; }; then
19673 ac_header_compiler
=yes
19675 echo "$as_me: failed program was:" >&5
19676 sed 's/^/| /' conftest.
$ac_ext >&5
19678 ac_header_compiler
=no
19680 rm -f conftest.
$ac_objext conftest.
$ac_ext
19681 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19682 echo "${ECHO_T}$ac_header_compiler" >&6
19684 # Is the header present?
19685 echo "$as_me:$LINENO: checking windows.h presence" >&5
19686 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19687 cat >conftest.
$ac_ext <<_ACEOF
19688 #line $LINENO "configure"
19691 cat confdefs.h
>>conftest.
$ac_ext
19692 cat >>conftest.
$ac_ext <<_ACEOF
19693 /* end confdefs.h. */
19694 #include <windows.h>
19696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19697 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19699 grep -v '^ *+' conftest.er1
>conftest.err
19701 cat conftest.err
>&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } >/dev
/null
; then
19704 if test -s conftest.err
; then
19705 ac_cpp_err
=$ac_c_preproc_warn_flag
19712 if test -z "$ac_cpp_err"; then
19713 ac_header_preproc
=yes
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.
$ac_ext >&5
19718 ac_header_preproc
=no
19720 rm -f conftest.err conftest.
$ac_ext
19721 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19722 echo "${ECHO_T}$ac_header_preproc" >&6
19724 # So? What about this header?
19725 case $ac_header_compiler:$ac_header_preproc in
19727 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19728 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19729 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19730 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19733 ## ------------------------------------ ##
19734 ## Report this to bug-autoconf@gnu.org. ##
19735 ## ------------------------------------ ##
19738 sed "s/^/$as_me: WARNING: /" >&2
19741 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19742 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19743 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19744 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19745 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19746 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19749 ## ------------------------------------ ##
19750 ## Report this to bug-autoconf@gnu.org. ##
19751 ## ------------------------------------ ##
19754 sed "s/^/$as_me: WARNING: /" >&2
19757 echo "$as_me:$LINENO: checking for windows.h" >&5
19758 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19759 if test "${ac_cv_header_windows_h+set}" = set; then
19760 echo $ECHO_N "(cached) $ECHO_C" >&6
19762 ac_cv_header_windows_h
=$ac_header_preproc
19764 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19765 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19768 if test $ac_cv_header_windows_h = yes; then
19772 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19773 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19774 { (exit 1); exit 1; }; }
19780 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19782 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19783 LIBS
="$LIBS -loleacc"
19788 LIBS
="$LIBS -lkernel32 -luser32"
19789 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19792 if test "$wxUSE_ODBC" = "sys" ; then
19795 if test "$wxUSE_ODBC" = "yes" ; then
19796 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19797 cat >>confdefs.h
<<\_ACEOF
19798 #define wxUSE_ODBC 1
19803 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19804 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19806 WIN32INSTALL
=win32install
19809 if test "$wxUSE_GUI" = "yes"; then
19818 if test "$wxUSE_MSW" = 1 ; then
19824 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19828 if test "$wxUSE_GTK" = 1; then
19829 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19830 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19832 gtk_version_cached
=1
19833 if test "${wx_cv_lib_gtk+set}" = set; then
19834 echo $ECHO_N "(cached) $ECHO_C" >&6
19837 gtk_version_cached
=0
19838 echo "$as_me:$LINENO: result: " >&5
19839 echo "${ECHO_T}" >&6
19842 if test "$wxUSE_THREADS" = "yes"; then
19843 GTK_MODULES
=gthread
19847 if test "x$wxUSE_GTK2" = "xyes"; then
19848 # Check whether --enable-gtktest or --disable-gtktest was given.
19849 if test "${enable_gtktest+set}" = set; then
19850 enableval
="$enable_gtktest"
19856 pkg_config_args
=gtk
+-2.0
19857 for module
in .
$GTK_MODULES
19861 pkg_config_args
="$pkg_config_args gthread-2.0"
19868 # Extract the first word of "pkg-config", so it can be a program name with args.
19869 set dummy pkg
-config; ac_word
=$2
19870 echo "$as_me:$LINENO: checking for $ac_word" >&5
19871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19872 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19873 echo $ECHO_N "(cached) $ECHO_C" >&6
19875 case $PKG_CONFIG in
19877 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19881 for as_dir
in $PATH
19884 test -z "$as_dir" && as_dir
=.
19885 for ac_exec_ext
in '' $ac_executable_extensions; do
19886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19887 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19894 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19898 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19900 if test -n "$PKG_CONFIG"; then
19901 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19902 echo "${ECHO_T}$PKG_CONFIG" >&6
19904 echo "$as_me:$LINENO: result: no" >&5
19905 echo "${ECHO_T}no" >&6
19909 if test x
$PKG_CONFIG != xno
; then
19910 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
19913 echo *** pkg
-config too old
; version
0.7 or better required.
19921 min_gtk_version
=2.0.0
19922 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19923 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19925 if test x
$PKG_CONFIG != xno
; then
19926 ## don't try to run the test against uninstalled libtool libs
19927 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19928 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19932 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19939 if test x
"$no_gtk" = x
; then
19940 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
19941 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
19942 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19944 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19945 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19946 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19947 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19948 if test "x$enable_gtktest" = "xyes" ; then
19949 ac_save_CFLAGS
="$CFLAGS"
19950 ac_save_LIBS
="$LIBS"
19951 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19952 LIBS
="$GTK_LIBS $LIBS"
19954 if test "$cross_compiling" = yes; then
19955 echo $ac_n "cross compiling; assumed OK... $ac_c"
19957 cat >conftest.
$ac_ext <<_ACEOF
19958 #line $LINENO "configure"
19961 cat confdefs.h
>>conftest.
$ac_ext
19962 cat >>conftest.
$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19965 #include <gtk/gtk.h>
19967 #include <stdlib.h>
19972 int major, minor, micro;
19975 system ("touch conf.gtktest");
19977 /* HP/UX 9 (%@#!) writes to sscanf strings */
19978 tmp_version = g_strdup("$min_gtk_version");
19979 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19980 printf("%s, bad version string\n", "$min_gtk_version");
19984 if ((gtk_major_version != $gtk_config_major_version) ||
19985 (gtk_minor_version != $gtk_config_minor_version) ||
19986 (gtk_micro_version != $gtk_config_micro_version))
19988 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19989 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19990 gtk_major_version, gtk_minor_version, gtk_micro_version);
19991 printf ("*** was found! If pkg-config was correct, then it is best\n");
19992 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19993 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19994 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19995 printf("*** required on your system.\n");
19996 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19997 printf("*** to point to the correct configuration files\n");
19999 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20000 (gtk_minor_version != GTK_MINOR_VERSION) ||
20001 (gtk_micro_version != GTK_MICRO_VERSION))
20003 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20004 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20005 printf("*** library (version %d.%d.%d)\n",
20006 gtk_major_version, gtk_minor_version, gtk_micro_version);
20010 if ((gtk_major_version > major) ||
20011 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20012 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20018 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20019 gtk_major_version, gtk_minor_version, gtk_micro_version);
20020 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20021 major, minor, micro);
20022 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20024 printf("*** If you have already installed a sufficiently new version, this error\n");
20025 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20026 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20027 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20028 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20029 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20030 printf("*** so that the correct libraries are found at run-time))\n");
20037 rm -f conftest
$ac_exeext
20038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20039 (eval $ac_link) 2>&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20044 (eval $ac_try) 2>&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); }; }; then
20050 echo "$as_me: program exited with status $ac_status" >&5
20051 echo "$as_me: failed program was:" >&5
20052 sed 's/^/| /' conftest.
$ac_ext >&5
20054 ( exit $ac_status )
20057 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20059 CFLAGS
="$ac_save_CFLAGS"
20060 LIBS
="$ac_save_LIBS"
20063 if test "x$no_gtk" = x
; then
20064 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20065 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20068 echo "$as_me:$LINENO: result: no" >&5
20069 echo "${ECHO_T}no" >&6
20070 if test "$PKG_CONFIG" = "no" ; then
20071 echo "*** A new enough version of pkg-config was not found."
20072 echo "*** See http://pkgconfig.sourceforge.net"
20074 if test -f conf.gtktest
; then
20077 echo "*** Could not run GTK+ test program, checking why..."
20078 ac_save_CFLAGS
="$CFLAGS"
20079 ac_save_LIBS
="$LIBS"
20080 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20081 LIBS
="$LIBS $GTK_LIBS"
20082 cat >conftest.
$ac_ext <<_ACEOF
20083 #line $LINENO "configure"
20086 cat confdefs.h
>>conftest.
$ac_ext
20087 cat >>conftest.
$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20090 #include <gtk/gtk.h>
20096 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20101 rm -f conftest.
$ac_objext conftest
$ac_exeext
20102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20103 (eval $ac_link) 2>&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); } &&
20107 { ac_try
='test -s conftest$ac_exeext'
20108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109 (eval $ac_try) 2>&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); }; }; then
20113 echo "*** The test program compiled, but did not run. This usually means"
20114 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20115 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20116 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20117 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20118 echo "*** is required on your system"
20120 echo "*** If you have an old version installed, it is best to remove it, although"
20121 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20123 echo "$as_me: failed program was:" >&5
20124 sed 's/^/| /' conftest.
$ac_ext >&5
20126 echo "*** The test program failed to compile or link. See the file config.log for the"
20127 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20129 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20130 CFLAGS
="$ac_save_CFLAGS"
20131 LIBS
="$ac_save_LIBS"
20144 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20145 if test "${with_gtk_prefix+set}" = set; then
20146 withval
="$with_gtk_prefix"
20147 gtk_config_prefix
="$withval"
20149 gtk_config_prefix
=""
20152 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20153 if test "${with_gtk_exec_prefix+set}" = set; then
20154 withval
="$with_gtk_exec_prefix"
20155 gtk_config_exec_prefix
="$withval"
20157 gtk_config_exec_prefix
=""
20159 # Check whether --enable-gtktest or --disable-gtktest was given.
20160 if test "${enable_gtktest+set}" = set; then
20161 enableval
="$enable_gtktest"
20167 for module
in .
$GTK_MODULES
20171 gtk_config_args
="$gtk_config_args gthread"
20176 if test x
$gtk_config_exec_prefix != x
; then
20177 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20178 if test x
${GTK_CONFIG+set} != xset
; then
20179 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20182 if test x
$gtk_config_prefix != x
; then
20183 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20184 if test x
${GTK_CONFIG+set} != xset
; then
20185 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20189 # Extract the first word of "gtk-config", so it can be a program name with args.
20190 set dummy gtk
-config; ac_word
=$2
20191 echo "$as_me:$LINENO: checking for $ac_word" >&5
20192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20193 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20196 case $GTK_CONFIG in
20198 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20202 for as_dir
in $PATH
20205 test -z "$as_dir" && as_dir
=.
20206 for ac_exec_ext
in '' $ac_executable_extensions; do
20207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20208 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20215 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20219 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20221 if test -n "$GTK_CONFIG"; then
20222 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20223 echo "${ECHO_T}$GTK_CONFIG" >&6
20225 echo "$as_me:$LINENO: result: no" >&5
20226 echo "${ECHO_T}no" >&6
20229 min_gtk_version
=1.2.7
20230 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20231 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20233 if test "$GTK_CONFIG" = "no" ; then
20236 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20237 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20238 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20239 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20240 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20241 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20242 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20243 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20244 if test "x$enable_gtktest" = "xyes" ; then
20245 ac_save_CFLAGS
="$CFLAGS"
20246 ac_save_LIBS
="$LIBS"
20247 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20248 LIBS
="$GTK_LIBS $LIBS"
20250 if test "$cross_compiling" = yes; then
20251 echo $ac_n "cross compiling; assumed OK... $ac_c"
20253 cat >conftest.
$ac_ext <<_ACEOF
20254 #line $LINENO "configure"
20257 cat confdefs.h
>>conftest.
$ac_ext
20258 cat >>conftest.
$ac_ext <<_ACEOF
20259 /* end confdefs.h. */
20261 #include <gtk/gtk.h>
20263 #include <stdlib.h>
20268 int major, minor, micro;
20271 system ("touch conf.gtktest");
20273 /* HP/UX 9 (%@#!) writes to sscanf strings */
20274 tmp_version = g_strdup("$min_gtk_version");
20275 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20276 printf("%s, bad version string\n", "$min_gtk_version");
20280 if ((gtk_major_version != $gtk_config_major_version) ||
20281 (gtk_minor_version != $gtk_config_minor_version) ||
20282 (gtk_micro_version != $gtk_config_micro_version))
20284 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20285 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20286 gtk_major_version, gtk_minor_version, gtk_micro_version);
20287 printf ("*** was found! If gtk-config was correct, then it is best\n");
20288 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20289 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20290 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20291 printf("*** required on your system.\n");
20292 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20293 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20294 printf("*** before re-running configure\n");
20296 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20297 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20298 (gtk_minor_version != GTK_MINOR_VERSION) ||
20299 (gtk_micro_version != GTK_MICRO_VERSION))
20301 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20302 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20303 printf("*** library (version %d.%d.%d)\n",
20304 gtk_major_version, gtk_minor_version, gtk_micro_version);
20306 #endif /* defined (GTK_MAJOR_VERSION) ... */
20309 if ((gtk_major_version > major) ||
20310 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20311 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20317 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20318 gtk_major_version, gtk_minor_version, gtk_micro_version);
20319 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20320 major, minor, micro);
20321 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20323 printf("*** If you have already installed a sufficiently new version, this error\n");
20324 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20325 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20326 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20327 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20328 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20329 printf("*** so that the correct libraries are found at run-time))\n");
20336 rm -f conftest
$ac_exeext
20337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20338 (eval $ac_link) 2>&5
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20343 (eval $ac_try) 2>&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; }; then
20349 echo "$as_me: program exited with status $ac_status" >&5
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.
$ac_ext >&5
20353 ( exit $ac_status )
20356 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20358 CFLAGS
="$ac_save_CFLAGS"
20359 LIBS
="$ac_save_LIBS"
20362 if test "x$no_gtk" = x
; then
20363 echo "$as_me:$LINENO: result: yes" >&5
20364 echo "${ECHO_T}yes" >&6
20365 wx_cv_lib_gtk
=1.2.7
20367 echo "$as_me:$LINENO: result: no" >&5
20368 echo "${ECHO_T}no" >&6
20369 if test "$GTK_CONFIG" = "no" ; then
20370 echo "*** The gtk-config script installed by GTK could not be found"
20371 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20372 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20373 echo "*** full path to gtk-config."
20375 if test -f conf.gtktest
; then
20378 echo "*** Could not run GTK test program, checking why..."
20379 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20380 LIBS
="$LIBS $GTK_LIBS"
20381 cat >conftest.
$ac_ext <<_ACEOF
20382 #line $LINENO "configure"
20385 cat confdefs.h
>>conftest.
$ac_ext
20386 cat >>conftest.
$ac_ext <<_ACEOF
20387 /* end confdefs.h. */
20389 #include <gtk/gtk.h>
20395 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20400 rm -f conftest.
$ac_objext conftest
$ac_exeext
20401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20402 (eval $ac_link) 2>&5
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); } &&
20406 { ac_try
='test -s conftest$ac_exeext'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; }; then
20412 echo "*** The test program compiled, but did not run. This usually means"
20413 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20414 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20415 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20416 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20417 echo "*** is required on your system"
20419 echo "*** If you have an old version installed, it is best to remove it, although"
20420 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20422 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20423 echo "*** came with the system with the command"
20425 echo "*** rpm --erase --nodeps gtk gtk-devel"
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.
$ac_ext >&5
20430 echo "*** The test program failed to compile or link. See the file config.log for the"
20431 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20432 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20433 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20435 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20436 CFLAGS
="$ac_save_CFLAGS"
20437 LIBS
="$ac_save_LIBS"
20449 if test -z "$wx_cv_lib_gtk"; then
20451 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20452 if test "${with_gtk_prefix+set}" = set; then
20453 withval
="$with_gtk_prefix"
20454 gtk_config_prefix
="$withval"
20456 gtk_config_prefix
=""
20459 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20460 if test "${with_gtk_exec_prefix+set}" = set; then
20461 withval
="$with_gtk_exec_prefix"
20462 gtk_config_exec_prefix
="$withval"
20464 gtk_config_exec_prefix
=""
20466 # Check whether --enable-gtktest or --disable-gtktest was given.
20467 if test "${enable_gtktest+set}" = set; then
20468 enableval
="$enable_gtktest"
20474 for module
in .
$GTK_MODULES
20478 gtk_config_args
="$gtk_config_args gthread"
20483 if test x
$gtk_config_exec_prefix != x
; then
20484 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20485 if test x
${GTK_CONFIG+set} != xset
; then
20486 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20489 if test x
$gtk_config_prefix != x
; then
20490 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20491 if test x
${GTK_CONFIG+set} != xset
; then
20492 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20496 # Extract the first word of "gtk-config", so it can be a program name with args.
20497 set dummy gtk
-config; ac_word
=$2
20498 echo "$as_me:$LINENO: checking for $ac_word" >&5
20499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20500 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20501 echo $ECHO_N "(cached) $ECHO_C" >&6
20503 case $GTK_CONFIG in
20505 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20509 for as_dir
in $PATH
20512 test -z "$as_dir" && as_dir
=.
20513 for ac_exec_ext
in '' $ac_executable_extensions; do
20514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20515 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20522 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20526 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20528 if test -n "$GTK_CONFIG"; then
20529 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20530 echo "${ECHO_T}$GTK_CONFIG" >&6
20532 echo "$as_me:$LINENO: result: no" >&5
20533 echo "${ECHO_T}no" >&6
20536 min_gtk_version
=1.2.3
20537 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20538 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20540 if test "$GTK_CONFIG" = "no" ; then
20543 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20544 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20545 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20546 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20547 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20548 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20549 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20550 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20551 if test "x$enable_gtktest" = "xyes" ; then
20552 ac_save_CFLAGS
="$CFLAGS"
20553 ac_save_LIBS
="$LIBS"
20554 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20555 LIBS
="$GTK_LIBS $LIBS"
20557 if test "$cross_compiling" = yes; then
20558 echo $ac_n "cross compiling; assumed OK... $ac_c"
20560 cat >conftest.
$ac_ext <<_ACEOF
20561 #line $LINENO "configure"
20564 cat confdefs.h
>>conftest.
$ac_ext
20565 cat >>conftest.
$ac_ext <<_ACEOF
20566 /* end confdefs.h. */
20568 #include <gtk/gtk.h>
20570 #include <stdlib.h>
20575 int major, minor, micro;
20578 system ("touch conf.gtktest");
20580 /* HP/UX 9 (%@#!) writes to sscanf strings */
20581 tmp_version = g_strdup("$min_gtk_version");
20582 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20583 printf("%s, bad version string\n", "$min_gtk_version");
20587 if ((gtk_major_version != $gtk_config_major_version) ||
20588 (gtk_minor_version != $gtk_config_minor_version) ||
20589 (gtk_micro_version != $gtk_config_micro_version))
20591 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20592 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20593 gtk_major_version, gtk_minor_version, gtk_micro_version);
20594 printf ("*** was found! If gtk-config was correct, then it is best\n");
20595 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20596 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20597 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20598 printf("*** required on your system.\n");
20599 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20600 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20601 printf("*** before re-running configure\n");
20603 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20604 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20605 (gtk_minor_version != GTK_MINOR_VERSION) ||
20606 (gtk_micro_version != GTK_MICRO_VERSION))
20608 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20609 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20610 printf("*** library (version %d.%d.%d)\n",
20611 gtk_major_version, gtk_minor_version, gtk_micro_version);
20613 #endif /* defined (GTK_MAJOR_VERSION) ... */
20616 if ((gtk_major_version > major) ||
20617 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20618 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20624 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20625 gtk_major_version, gtk_minor_version, gtk_micro_version);
20626 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20627 major, minor, micro);
20628 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20630 printf("*** If you have already installed a sufficiently new version, this error\n");
20631 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20632 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20633 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20634 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20635 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20636 printf("*** so that the correct libraries are found at run-time))\n");
20643 rm -f conftest
$ac_exeext
20644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20645 (eval $ac_link) 2>&5
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20650 (eval $ac_try) 2>&5
20652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653 (exit $ac_status); }; }; then
20656 echo "$as_me: program exited with status $ac_status" >&5
20657 echo "$as_me: failed program was:" >&5
20658 sed 's/^/| /' conftest.
$ac_ext >&5
20660 ( exit $ac_status )
20663 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20665 CFLAGS
="$ac_save_CFLAGS"
20666 LIBS
="$ac_save_LIBS"
20669 if test "x$no_gtk" = x
; then
20670 echo "$as_me:$LINENO: result: yes" >&5
20671 echo "${ECHO_T}yes" >&6
20672 wx_cv_lib_gtk
=1.2.3
20674 echo "$as_me:$LINENO: result: no" >&5
20675 echo "${ECHO_T}no" >&6
20676 if test "$GTK_CONFIG" = "no" ; then
20677 echo "*** The gtk-config script installed by GTK could not be found"
20678 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20679 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20680 echo "*** full path to gtk-config."
20682 if test -f conf.gtktest
; then
20685 echo "*** Could not run GTK test program, checking why..."
20686 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20687 LIBS
="$LIBS $GTK_LIBS"
20688 cat >conftest.
$ac_ext <<_ACEOF
20689 #line $LINENO "configure"
20692 cat confdefs.h
>>conftest.
$ac_ext
20693 cat >>conftest.
$ac_ext <<_ACEOF
20694 /* end confdefs.h. */
20696 #include <gtk/gtk.h>
20702 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20707 rm -f conftest.
$ac_objext conftest
$ac_exeext
20708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20709 (eval $ac_link) 2>&5
20711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712 (exit $ac_status); } &&
20713 { ac_try
='test -s conftest$ac_exeext'
20714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20715 (eval $ac_try) 2>&5
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); }; }; then
20719 echo "*** The test program compiled, but did not run. This usually means"
20720 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20721 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20722 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20723 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20724 echo "*** is required on your system"
20726 echo "*** If you have an old version installed, it is best to remove it, although"
20727 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20729 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20730 echo "*** came with the system with the command"
20732 echo "*** rpm --erase --nodeps gtk gtk-devel"
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.
$ac_ext >&5
20737 echo "*** The test program failed to compile or link. See the file config.log for the"
20738 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20739 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20740 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20742 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20743 CFLAGS
="$ac_save_CFLAGS"
20744 LIBS
="$ac_save_LIBS"
20758 if test -z "$wx_cv_lib_gtk"; then
20761 wx_cv_cflags_gtk
=$GTK_CFLAGS
20762 wx_cv_libs_gtk
=$GTK_LIBS
20769 if test "$gtk_version_cached" = 1; then
20770 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20771 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20774 case "$wx_cv_lib_gtk" in
20783 *) { { echo "$as_me:$LINENO: error:
20784 Please check that gtk-config is in path, the directory
20785 where GTK+ libraries are installed (returned by
20786 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20787 equivalent variable and GTK+ is version 1.2.3 or above.
20789 echo "$as_me: error:
20790 Please check that gtk-config is in path, the directory
20791 where GTK+ libraries are installed (returned by
20792 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20793 equivalent variable and GTK+ is version 1.2.3 or above.
20795 { (exit 1); exit 1; }; }
20799 if test "$WXGTK20" = 1; then
20800 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20804 if test -z "$PKG_CONFIG"; then
20805 # Extract the first word of "pkg-config", so it can be a program name with args.
20806 set dummy pkg
-config; ac_word
=$2
20807 echo "$as_me:$LINENO: checking for $ac_word" >&5
20808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20809 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20810 echo $ECHO_N "(cached) $ECHO_C" >&6
20812 case $PKG_CONFIG in
20814 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20818 for as_dir
in $PATH
20821 test -z "$as_dir" && as_dir
=.
20822 for ac_exec_ext
in '' $ac_executable_extensions; do
20823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20824 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20831 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20835 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20837 if test -n "$PKG_CONFIG"; then
20838 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20839 echo "${ECHO_T}$PKG_CONFIG" >&6
20841 echo "$as_me:$LINENO: result: no" >&5
20842 echo "${ECHO_T}no" >&6
20847 if test "$PKG_CONFIG" = "no" ; then
20848 echo "*** The pkg-config script could not be found. Make sure it is"
20849 echo "*** in your path, or set the PKG_CONFIG environment variable"
20850 echo "*** to the full path to pkg-config."
20851 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20853 PKG_CONFIG_MIN_VERSION
=0.9.0
20854 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20855 echo "$as_me:$LINENO: checking for pangoft2" >&5
20856 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20858 if $PKG_CONFIG --exists "pangoft2" ; then
20859 echo "$as_me:$LINENO: result: yes" >&5
20860 echo "${ECHO_T}yes" >&6
20863 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20864 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20865 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20866 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20867 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20869 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20870 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20871 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20872 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20873 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20877 ## If we have a custom action on failure, don't print errors, but
20878 ## do set a variable so people can do so.
20879 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20886 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20887 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20891 if test $succeeded = yes; then
20893 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20894 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20898 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20899 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20900 wxUSE_PRINTING_ARCHITECTURE
="no"
20907 if test "$wxUSE_UNICODE" = "yes"; then
20908 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20909 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20914 if test "$USE_DARWIN" != 1; then
20916 for ac_func
in poll
20918 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20919 echo "$as_me:$LINENO: checking for $ac_func" >&5
20920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20921 if eval "test \"\${$as_ac_var+set}\" = set"; then
20922 echo $ECHO_N "(cached) $ECHO_C" >&6
20924 cat >conftest.
$ac_ext <<_ACEOF
20925 #line $LINENO "configure"
20928 cat confdefs.h
>>conftest.
$ac_ext
20929 cat >>conftest.
$ac_ext <<_ACEOF
20930 /* end confdefs.h. */
20931 /* System header to define __stub macros and hopefully few prototypes,
20932 which can conflict with char $ac_func (); below.
20933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20934 <limits.h> exists even on freestanding compilers. */
20936 # include <limits.h>
20938 # include <assert.h>
20940 /* Override any gcc2 internal prototype to avoid an error. */
20945 /* We use char because int might match the return type of a gcc2
20946 builtin and then its argument prototype would still apply. */
20948 /* The GNU C library defines this for functions which it implements
20949 to always fail with ENOSYS. Some functions are actually named
20950 something starting with __ and the normal name is an alias. */
20951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20954 char (*f) () = $ac_func;
20963 return f != $ac_func;
20968 rm -f conftest.
$ac_objext conftest
$ac_exeext
20969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20970 (eval $ac_link) 2>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); } &&
20974 { ac_try
='test -s conftest$ac_exeext'
20975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20976 (eval $ac_try) 2>&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); }; }; then
20980 eval "$as_ac_var=yes"
20982 echo "$as_me: failed program was:" >&5
20983 sed 's/^/| /' conftest.
$ac_ext >&5
20985 eval "$as_ac_var=no"
20987 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20991 if test `eval echo '${'$as_ac_var'}'` = yes; then
20992 cat >>confdefs.h
<<_ACEOF
20993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21001 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
21002 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21004 AFMINSTALL
=afminstall
21008 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21009 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21010 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21011 echo $ECHO_N "(cached) $ECHO_C" >&6
21013 ac_check_lib_save_LIBS
=$LIBS
21015 cat >conftest.
$ac_ext <<_ACEOF
21016 #line $LINENO "configure"
21019 cat confdefs.h
>>conftest.
$ac_ext
21020 cat >>conftest.
$ac_ext <<_ACEOF
21021 /* end confdefs.h. */
21023 /* Override any gcc2 internal prototype to avoid an error. */
21027 /* We use char because int might match the return type of a gcc2
21028 builtin and then its argument prototype would still apply. */
21029 char gdk_im_open ();
21038 rm -f conftest.
$ac_objext conftest
$ac_exeext
21039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21040 (eval $ac_link) 2>&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); } &&
21044 { ac_try
='test -s conftest$ac_exeext'
21045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21046 (eval $ac_try) 2>&5
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); }; }; then
21050 ac_cv_lib_gdk_gdk_im_open
=yes
21052 echo "$as_me: failed program was:" >&5
21053 sed 's/^/| /' conftest.
$ac_ext >&5
21055 ac_cv_lib_gdk_gdk_im_open
=no
21057 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21058 LIBS
=$ac_check_lib_save_LIBS
21060 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21061 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21062 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21063 cat >>confdefs.h
<<\_ACEOF
21071 if test "$wxUSE_MGL" = 1; then
21072 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21073 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21074 if test "x$MGL_ROOT" = x
; then
21075 echo "$as_me:$LINENO: result: not found" >&5
21076 echo "${ECHO_T}not found" >&6
21077 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21078 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21079 { (exit 1); exit 1; }; }
21081 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21082 echo "${ECHO_T}$MGL_ROOT" >&6
21085 echo "$as_me:$LINENO: checking for libmgl location" >&5
21086 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21089 if test "x$wxUSE_SHARED" = xyes
; then
21090 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21092 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21096 mgl_os_candidates
="dos32/dj2"
21099 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21100 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21101 { (exit 1); exit 1; }; }
21107 for mgl_os_i
in $mgl_os_candidates ; do
21108 if test "x$mgl_os" = x
; then
21109 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21110 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
21111 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
21116 if test "x$mgl_lib_type" = x
; then
21117 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
21118 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
21119 mgl_lib_type
=release
21126 if test "x$mgl_os" = x
; then
21127 echo "$as_me:$LINENO: result: not found" >&5
21128 echo "${ECHO_T}not found" >&6
21129 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21130 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21131 { (exit 1); exit 1; }; }
21133 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21134 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21136 wxUSE_UNIVERSAL
="yes"
21138 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21139 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21141 AFMINSTALL
=afminstall
21146 if test "$wxUSE_MICROWIN" = 1; then
21147 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21148 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21149 if test "x$MICROWINDOWS" = x
; then
21150 echo "$as_me:$LINENO: result: not found" >&5
21151 echo "${ECHO_T}not found" >&6
21152 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21153 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21154 { (exit 1); exit 1; }; }
21156 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21157 echo "${ECHO_T}$MICROWINDOWS" >&6
21160 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21161 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21162 echo "${ECHO_T}MicroWindows' libraries found." >&6
21164 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21165 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21166 { (exit 1); exit 1; }; }
21169 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21170 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21172 wxUSE_UNIVERSAL
="yes"
21174 AFMINSTALL
=afminstall
21176 GUIDIST
=MICROWIN_DIST
21178 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21181 if test "$wxUSE_X11" = 1; then
21182 echo "$as_me:$LINENO: checking for X" >&5
21183 echo $ECHO_N "checking for X... $ECHO_C" >&6
21186 # Check whether --with-x or --without-x was given.
21187 if test "${with_x+set}" = set; then
21191 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21192 if test "x$with_x" = xno
; then
21193 # The user explicitly disabled X.
21196 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21197 # Both variables are already set.
21200 if test "${ac_cv_have_x+set}" = set; then
21201 echo $ECHO_N "(cached) $ECHO_C" >&6
21203 # One or both of the vars are not set, and there is no cached value.
21204 ac_x_includes
=no ac_x_libraries
=no
21205 rm -fr conftest.dir
21206 if mkdir conftest.dir
; then
21208 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21209 cat >Imakefile
<<'_ACEOF'
21211 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21213 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21214 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21215 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21216 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21217 for ac_extension
in a so sl
; do
21218 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21219 test -f $ac_im_libdir/libX11.
$ac_extension; then
21220 ac_im_usrlibdir
=$ac_im_libdir; break
21223 # Screen out bogus values from the imake configuration. They are
21224 # bogus both because they are the default anyway, and because
21225 # using them would break gcc on systems where it needs fixed includes.
21226 case $ac_im_incroot in
21228 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21230 case $ac_im_usrlibdir in
21231 /usr
/lib
| /lib
) ;;
21232 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21236 rm -fr conftest.dir
21239 # Standard set of common directories for X headers.
21240 # Check X11 before X11Rn because it is often a symlink to the current release.
21252 /usr/local/X11/include
21253 /usr/local/X11R6/include
21254 /usr/local/X11R5/include
21255 /usr/local/X11R4/include
21257 /usr/local/include/X11
21258 /usr/local/include/X11R6
21259 /usr/local/include/X11R5
21260 /usr/local/include/X11R4
21264 /usr/XFree86/include/X11
21268 /usr/unsupported/include
21269 /usr/athena/include
21270 /usr/local/x11r5/include
21271 /usr/lpp/Xamples/include
21273 /usr/openwin/include
21274 /usr/openwin/share/include'
21276 if test "$ac_x_includes" = no
; then
21277 # Guess where to find include files, by looking for Intrinsic.h.
21278 # First, try using that file with no special directory specified.
21279 cat >conftest.
$ac_ext <<_ACEOF
21280 #line $LINENO "configure"
21283 cat confdefs.h
>>conftest.
$ac_ext
21284 cat >>conftest.
$ac_ext <<_ACEOF
21285 /* end confdefs.h. */
21286 #include <X11/Intrinsic.h>
21288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21289 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21291 grep -v '^ *+' conftest.er1
>conftest.err
21293 cat conftest.err
>&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } >/dev
/null
; then
21296 if test -s conftest.err
; then
21297 ac_cpp_err
=$ac_c_preproc_warn_flag
21304 if test -z "$ac_cpp_err"; then
21305 # We can compile using X headers with no special include directory.
21308 echo "$as_me: failed program was:" >&5
21309 sed 's/^/| /' conftest.
$ac_ext >&5
21311 for ac_dir
in $ac_x_header_dirs; do
21312 if test -r "$ac_dir/X11/Intrinsic.h"; then
21313 ac_x_includes
=$ac_dir
21318 rm -f conftest.err conftest.
$ac_ext
21319 fi # $ac_x_includes = no
21321 if test "$ac_x_libraries" = no
; then
21322 # Check for the libraries.
21323 # See if we find them without any special options.
21324 # Don't add to $LIBS permanently.
21327 cat >conftest.
$ac_ext <<_ACEOF
21328 #line $LINENO "configure"
21331 cat confdefs.h
>>conftest.
$ac_ext
21332 cat >>conftest.
$ac_ext <<_ACEOF
21333 /* end confdefs.h. */
21334 #include <X11/Intrinsic.h>
21343 rm -f conftest.
$ac_objext conftest
$ac_exeext
21344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21345 (eval $ac_link) 2>&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } &&
21349 { ac_try
='test -s conftest$ac_exeext'
21350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21351 (eval $ac_try) 2>&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); }; }; then
21356 # We can link X programs with no special library path.
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.
$ac_ext >&5
21363 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21365 # Don't even attempt the hair of trying to link an X program!
21366 for ac_extension
in a so sl
; do
21367 if test -r $ac_dir/libXt.
$ac_extension; then
21368 ac_x_libraries
=$ac_dir
21374 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21375 fi # $ac_x_libraries = no
21377 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21378 # Didn't find X anywhere. Cache the known absence of X.
21379 ac_cv_have_x
="have_x=no"
21381 # Record where we found X for the cache.
21382 ac_cv_have_x
="have_x=yes \
21383 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21388 eval "$ac_cv_have_x"
21391 if test "$have_x" != yes; then
21392 echo "$as_me:$LINENO: result: $have_x" >&5
21393 echo "${ECHO_T}$have_x" >&6
21396 # If each of the values was on the command line, it overrides each guess.
21397 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21398 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21399 # Update the cache value to reflect the command line values.
21400 ac_cv_have_x
="have_x=yes \
21401 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21402 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21403 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21406 if test "$no_x" = yes; then
21407 # Not all programs may use this symbol, but it does not hurt to define it.
21409 cat >>confdefs.h
<<\_ACEOF
21410 #define X_DISPLAY_MISSING 1
21413 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21415 if test -n "$x_includes"; then
21416 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21419 # It would also be nice to do this for all -L options, not just this one.
21420 if test -n "$x_libraries"; then
21421 X_LIBS
="$X_LIBS -L$x_libraries"
21422 # For Solaris; some versions of Sun CC require a space after -R and
21423 # others require no space. Words are not sufficient . . . .
21424 case `(uname -sr) 2>/dev/null` in
21426 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21427 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21428 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21429 cat >conftest.
$ac_ext <<_ACEOF
21430 #line $LINENO "configure"
21433 cat confdefs.h
>>conftest.
$ac_ext
21434 cat >>conftest.
$ac_ext <<_ACEOF
21435 /* end confdefs.h. */
21445 rm -f conftest.
$ac_objext conftest
$ac_exeext
21446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21447 (eval $ac_link) 2>&5
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); } &&
21451 { ac_try
='test -s conftest$ac_exeext'
21452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21453 (eval $ac_try) 2>&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; }; then
21459 echo "$as_me: failed program was:" >&5
21460 sed 's/^/| /' conftest.
$ac_ext >&5
21464 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21465 if test $ac_R_nospace = yes; then
21466 echo "$as_me:$LINENO: result: no" >&5
21467 echo "${ECHO_T}no" >&6
21468 X_LIBS
="$X_LIBS -R$x_libraries"
21470 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21471 cat >conftest.
$ac_ext <<_ACEOF
21472 #line $LINENO "configure"
21475 cat confdefs.h
>>conftest.
$ac_ext
21476 cat >>conftest.
$ac_ext <<_ACEOF
21477 /* end confdefs.h. */
21487 rm -f conftest.
$ac_objext conftest
$ac_exeext
21488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21489 (eval $ac_link) 2>&5
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); } &&
21493 { ac_try
='test -s conftest$ac_exeext'
21494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495 (eval $ac_try) 2>&5
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; }; then
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.
$ac_ext >&5
21506 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21507 if test $ac_R_space = yes; then
21508 echo "$as_me:$LINENO: result: yes" >&5
21509 echo "${ECHO_T}yes" >&6
21510 X_LIBS
="$X_LIBS -R $x_libraries"
21512 echo "$as_me:$LINENO: result: neither works" >&5
21513 echo "${ECHO_T}neither works" >&6
21516 LIBS
=$ac_xsave_LIBS
21520 # Check for system-dependent libraries X programs must link with.
21521 # Do this before checking for the system-independent R6 libraries
21522 # (-lICE), since we may need -lsocket or whatever for X linking.
21524 if test "$ISC" = yes; then
21525 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21527 # Martyn Johnson says this is needed for Ultrix, if the X
21528 # libraries were built with DECnet support. And Karl Berry says
21529 # the Alpha needs dnet_stub (dnet does not exist).
21530 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21531 cat >conftest.
$ac_ext <<_ACEOF
21532 #line $LINENO "configure"
21535 cat confdefs.h
>>conftest.
$ac_ext
21536 cat >>conftest.
$ac_ext <<_ACEOF
21537 /* end confdefs.h. */
21539 /* Override any gcc2 internal prototype to avoid an error. */
21543 /* We use char because int might match the return type of a gcc2
21544 builtin and then its argument prototype would still apply. */
21545 char XOpenDisplay ();
21554 rm -f conftest.
$ac_objext conftest
$ac_exeext
21555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21556 (eval $ac_link) 2>&5
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); } &&
21560 { ac_try
='test -s conftest$ac_exeext'
21561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21562 (eval $ac_try) 2>&5
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); }; }; then
21568 echo "$as_me: failed program was:" >&5
21569 sed 's/^/| /' conftest.
$ac_ext >&5
21571 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21572 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21573 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21574 echo $ECHO_N "(cached) $ECHO_C" >&6
21576 ac_check_lib_save_LIBS
=$LIBS
21577 LIBS
="-ldnet $LIBS"
21578 cat >conftest.
$ac_ext <<_ACEOF
21579 #line $LINENO "configure"
21582 cat confdefs.h
>>conftest.
$ac_ext
21583 cat >>conftest.
$ac_ext <<_ACEOF
21584 /* end confdefs.h. */
21586 /* Override any gcc2 internal prototype to avoid an error. */
21590 /* We use char because int might match the return type of a gcc2
21591 builtin and then its argument prototype would still apply. */
21601 rm -f conftest.
$ac_objext conftest
$ac_exeext
21602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21603 (eval $ac_link) 2>&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); } &&
21607 { ac_try
='test -s conftest$ac_exeext'
21608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21609 (eval $ac_try) 2>&5
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); }; }; then
21613 ac_cv_lib_dnet_dnet_ntoa
=yes
21615 echo "$as_me: failed program was:" >&5
21616 sed 's/^/| /' conftest.
$ac_ext >&5
21618 ac_cv_lib_dnet_dnet_ntoa
=no
21620 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21621 LIBS
=$ac_check_lib_save_LIBS
21623 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21624 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21625 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21626 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21629 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21630 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21631 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21632 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21633 echo $ECHO_N "(cached) $ECHO_C" >&6
21635 ac_check_lib_save_LIBS
=$LIBS
21636 LIBS
="-ldnet_stub $LIBS"
21637 cat >conftest.
$ac_ext <<_ACEOF
21638 #line $LINENO "configure"
21641 cat confdefs.h
>>conftest.
$ac_ext
21642 cat >>conftest.
$ac_ext <<_ACEOF
21643 /* end confdefs.h. */
21645 /* Override any gcc2 internal prototype to avoid an error. */
21649 /* We use char because int might match the return type of a gcc2
21650 builtin and then its argument prototype would still apply. */
21660 rm -f conftest.
$ac_objext conftest
$ac_exeext
21661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21662 (eval $ac_link) 2>&5
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); } &&
21666 { ac_try
='test -s conftest$ac_exeext'
21667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21668 (eval $ac_try) 2>&5
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); }; }; then
21672 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21674 echo "$as_me: failed program was:" >&5
21675 sed 's/^/| /' conftest.
$ac_ext >&5
21677 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21679 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21680 LIBS
=$ac_check_lib_save_LIBS
21682 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21683 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21684 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21685 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21690 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21691 LIBS
="$ac_xsave_LIBS"
21693 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21694 # to get the SysV transport functions.
21695 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21697 # The nsl library prevents programs from opening the X display
21698 # on Irix 5.2, according to T.E. Dickey.
21699 # The functions gethostbyname, getservbyname, and inet_addr are
21700 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21701 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21702 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21703 if test "${ac_cv_func_gethostbyname+set}" = set; then
21704 echo $ECHO_N "(cached) $ECHO_C" >&6
21706 cat >conftest.
$ac_ext <<_ACEOF
21707 #line $LINENO "configure"
21710 cat confdefs.h
>>conftest.
$ac_ext
21711 cat >>conftest.
$ac_ext <<_ACEOF
21712 /* end confdefs.h. */
21713 /* System header to define __stub macros and hopefully few prototypes,
21714 which can conflict with char gethostbyname (); below.
21715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21716 <limits.h> exists even on freestanding compilers. */
21718 # include <limits.h>
21720 # include <assert.h>
21722 /* Override any gcc2 internal prototype to avoid an error. */
21727 /* We use char because int might match the return type of a gcc2
21728 builtin and then its argument prototype would still apply. */
21729 char gethostbyname ();
21730 /* The GNU C library defines this for functions which it implements
21731 to always fail with ENOSYS. Some functions are actually named
21732 something starting with __ and the normal name is an alias. */
21733 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21736 char (*f) () = gethostbyname;
21745 return f != gethostbyname;
21750 rm -f conftest.
$ac_objext conftest
$ac_exeext
21751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21752 (eval $ac_link) 2>&5
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); } &&
21756 { ac_try
='test -s conftest$ac_exeext'
21757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21758 (eval $ac_try) 2>&5
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); }; }; then
21762 ac_cv_func_gethostbyname
=yes
21764 echo "$as_me: failed program was:" >&5
21765 sed 's/^/| /' conftest.
$ac_ext >&5
21767 ac_cv_func_gethostbyname
=no
21769 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21771 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21772 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21774 if test $ac_cv_func_gethostbyname = no
; then
21775 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21776 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21777 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21778 echo $ECHO_N "(cached) $ECHO_C" >&6
21780 ac_check_lib_save_LIBS
=$LIBS
21782 cat >conftest.
$ac_ext <<_ACEOF
21783 #line $LINENO "configure"
21786 cat confdefs.h
>>conftest.
$ac_ext
21787 cat >>conftest.
$ac_ext <<_ACEOF
21788 /* end confdefs.h. */
21790 /* Override any gcc2 internal prototype to avoid an error. */
21794 /* We use char because int might match the return type of a gcc2
21795 builtin and then its argument prototype would still apply. */
21796 char gethostbyname ();
21805 rm -f conftest.
$ac_objext conftest
$ac_exeext
21806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21807 (eval $ac_link) 2>&5
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); } &&
21811 { ac_try
='test -s conftest$ac_exeext'
21812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21813 (eval $ac_try) 2>&5
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); }; }; then
21817 ac_cv_lib_nsl_gethostbyname
=yes
21819 echo "$as_me: failed program was:" >&5
21820 sed 's/^/| /' conftest.
$ac_ext >&5
21822 ac_cv_lib_nsl_gethostbyname
=no
21824 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21825 LIBS
=$ac_check_lib_save_LIBS
21827 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21828 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21829 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21830 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21833 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21834 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21835 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21836 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21837 echo $ECHO_N "(cached) $ECHO_C" >&6
21839 ac_check_lib_save_LIBS
=$LIBS
21841 cat >conftest.
$ac_ext <<_ACEOF
21842 #line $LINENO "configure"
21845 cat confdefs.h
>>conftest.
$ac_ext
21846 cat >>conftest.
$ac_ext <<_ACEOF
21847 /* end confdefs.h. */
21849 /* Override any gcc2 internal prototype to avoid an error. */
21853 /* We use char because int might match the return type of a gcc2
21854 builtin and then its argument prototype would still apply. */
21855 char gethostbyname ();
21864 rm -f conftest.
$ac_objext conftest
$ac_exeext
21865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21866 (eval $ac_link) 2>&5
21868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21869 (exit $ac_status); } &&
21870 { ac_try
='test -s conftest$ac_exeext'
21871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21872 (eval $ac_try) 2>&5
21874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875 (exit $ac_status); }; }; then
21876 ac_cv_lib_bsd_gethostbyname
=yes
21878 echo "$as_me: failed program was:" >&5
21879 sed 's/^/| /' conftest.
$ac_ext >&5
21881 ac_cv_lib_bsd_gethostbyname
=no
21883 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21884 LIBS
=$ac_check_lib_save_LIBS
21886 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21887 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21888 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21889 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21895 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21896 # socket/setsockopt and other routines are undefined under SCO ODT
21897 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21898 # on later versions), says Simon Leinen: it contains gethostby*
21899 # variants that don't use the name server (or something). -lsocket
21900 # must be given before -lnsl if both are needed. We assume that
21901 # if connect needs -lnsl, so does gethostbyname.
21902 echo "$as_me:$LINENO: checking for connect" >&5
21903 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21904 if test "${ac_cv_func_connect+set}" = set; then
21905 echo $ECHO_N "(cached) $ECHO_C" >&6
21907 cat >conftest.
$ac_ext <<_ACEOF
21908 #line $LINENO "configure"
21911 cat confdefs.h
>>conftest.
$ac_ext
21912 cat >>conftest.
$ac_ext <<_ACEOF
21913 /* end confdefs.h. */
21914 /* System header to define __stub macros and hopefully few prototypes,
21915 which can conflict with char connect (); below.
21916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21917 <limits.h> exists even on freestanding compilers. */
21919 # include <limits.h>
21921 # include <assert.h>
21923 /* Override any gcc2 internal prototype to avoid an error. */
21928 /* We use char because int might match the return type of a gcc2
21929 builtin and then its argument prototype would still apply. */
21931 /* The GNU C library defines this for functions which it implements
21932 to always fail with ENOSYS. Some functions are actually named
21933 something starting with __ and the normal name is an alias. */
21934 #if defined (__stub_connect) || defined (__stub___connect)
21937 char (*f) () = connect;
21946 return f != connect;
21951 rm -f conftest.
$ac_objext conftest
$ac_exeext
21952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21953 (eval $ac_link) 2>&5
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); } &&
21957 { ac_try
='test -s conftest$ac_exeext'
21958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21959 (eval $ac_try) 2>&5
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); }; }; then
21963 ac_cv_func_connect
=yes
21965 echo "$as_me: failed program was:" >&5
21966 sed 's/^/| /' conftest.
$ac_ext >&5
21968 ac_cv_func_connect
=no
21970 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21972 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21973 echo "${ECHO_T}$ac_cv_func_connect" >&6
21975 if test $ac_cv_func_connect = no
; then
21976 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21977 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21978 if test "${ac_cv_lib_socket_connect+set}" = set; then
21979 echo $ECHO_N "(cached) $ECHO_C" >&6
21981 ac_check_lib_save_LIBS
=$LIBS
21982 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21983 cat >conftest.
$ac_ext <<_ACEOF
21984 #line $LINENO "configure"
21987 cat confdefs.h
>>conftest.
$ac_ext
21988 cat >>conftest.
$ac_ext <<_ACEOF
21989 /* end confdefs.h. */
21991 /* Override any gcc2 internal prototype to avoid an error. */
21995 /* We use char because int might match the return type of a gcc2
21996 builtin and then its argument prototype would still apply. */
22006 rm -f conftest.
$ac_objext conftest
$ac_exeext
22007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22008 (eval $ac_link) 2>&5
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); } &&
22012 { ac_try
='test -s conftest$ac_exeext'
22013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22014 (eval $ac_try) 2>&5
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); }; }; then
22018 ac_cv_lib_socket_connect
=yes
22020 echo "$as_me: failed program was:" >&5
22021 sed 's/^/| /' conftest.
$ac_ext >&5
22023 ac_cv_lib_socket_connect
=no
22025 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22026 LIBS
=$ac_check_lib_save_LIBS
22028 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22029 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22030 if test $ac_cv_lib_socket_connect = yes; then
22031 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
22036 # Guillermo Gomez says -lposix is necessary on A/UX.
22037 echo "$as_me:$LINENO: checking for remove" >&5
22038 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22039 if test "${ac_cv_func_remove+set}" = set; then
22040 echo $ECHO_N "(cached) $ECHO_C" >&6
22042 cat >conftest.
$ac_ext <<_ACEOF
22043 #line $LINENO "configure"
22046 cat confdefs.h
>>conftest.
$ac_ext
22047 cat >>conftest.
$ac_ext <<_ACEOF
22048 /* end confdefs.h. */
22049 /* System header to define __stub macros and hopefully few prototypes,
22050 which can conflict with char remove (); below.
22051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22052 <limits.h> exists even on freestanding compilers. */
22054 # include <limits.h>
22056 # include <assert.h>
22058 /* Override any gcc2 internal prototype to avoid an error. */
22063 /* We use char because int might match the return type of a gcc2
22064 builtin and then its argument prototype would still apply. */
22066 /* The GNU C library defines this for functions which it implements
22067 to always fail with ENOSYS. Some functions are actually named
22068 something starting with __ and the normal name is an alias. */
22069 #if defined (__stub_remove) || defined (__stub___remove)
22072 char (*f) () = remove;
22081 return f != remove;
22086 rm -f conftest.
$ac_objext conftest
$ac_exeext
22087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22088 (eval $ac_link) 2>&5
22090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22091 (exit $ac_status); } &&
22092 { ac_try
='test -s conftest$ac_exeext'
22093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22094 (eval $ac_try) 2>&5
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); }; }; then
22098 ac_cv_func_remove
=yes
22100 echo "$as_me: failed program was:" >&5
22101 sed 's/^/| /' conftest.
$ac_ext >&5
22103 ac_cv_func_remove
=no
22105 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22107 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22108 echo "${ECHO_T}$ac_cv_func_remove" >&6
22110 if test $ac_cv_func_remove = no
; then
22111 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22112 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22113 if test "${ac_cv_lib_posix_remove+set}" = set; then
22114 echo $ECHO_N "(cached) $ECHO_C" >&6
22116 ac_check_lib_save_LIBS
=$LIBS
22117 LIBS
="-lposix $LIBS"
22118 cat >conftest.
$ac_ext <<_ACEOF
22119 #line $LINENO "configure"
22122 cat confdefs.h
>>conftest.
$ac_ext
22123 cat >>conftest.
$ac_ext <<_ACEOF
22124 /* end confdefs.h. */
22126 /* Override any gcc2 internal prototype to avoid an error. */
22130 /* We use char because int might match the return type of a gcc2
22131 builtin and then its argument prototype would still apply. */
22141 rm -f conftest.
$ac_objext conftest
$ac_exeext
22142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22143 (eval $ac_link) 2>&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } &&
22147 { ac_try
='test -s conftest$ac_exeext'
22148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149 (eval $ac_try) 2>&5
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); }; }; then
22153 ac_cv_lib_posix_remove
=yes
22155 echo "$as_me: failed program was:" >&5
22156 sed 's/^/| /' conftest.
$ac_ext >&5
22158 ac_cv_lib_posix_remove
=no
22160 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22161 LIBS
=$ac_check_lib_save_LIBS
22163 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22164 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22165 if test $ac_cv_lib_posix_remove = yes; then
22166 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22171 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22172 echo "$as_me:$LINENO: checking for shmat" >&5
22173 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22174 if test "${ac_cv_func_shmat+set}" = set; then
22175 echo $ECHO_N "(cached) $ECHO_C" >&6
22177 cat >conftest.
$ac_ext <<_ACEOF
22178 #line $LINENO "configure"
22181 cat confdefs.h
>>conftest.
$ac_ext
22182 cat >>conftest.
$ac_ext <<_ACEOF
22183 /* end confdefs.h. */
22184 /* System header to define __stub macros and hopefully few prototypes,
22185 which can conflict with char shmat (); below.
22186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22187 <limits.h> exists even on freestanding compilers. */
22189 # include <limits.h>
22191 # include <assert.h>
22193 /* Override any gcc2 internal prototype to avoid an error. */
22198 /* We use char because int might match the return type of a gcc2
22199 builtin and then its argument prototype would still apply. */
22201 /* The GNU C library defines this for functions which it implements
22202 to always fail with ENOSYS. Some functions are actually named
22203 something starting with __ and the normal name is an alias. */
22204 #if defined (__stub_shmat) || defined (__stub___shmat)
22207 char (*f) () = shmat;
22221 rm -f conftest.
$ac_objext conftest
$ac_exeext
22222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22223 (eval $ac_link) 2>&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); } &&
22227 { ac_try
='test -s conftest$ac_exeext'
22228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22229 (eval $ac_try) 2>&5
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); }; }; then
22233 ac_cv_func_shmat
=yes
22235 echo "$as_me: failed program was:" >&5
22236 sed 's/^/| /' conftest.
$ac_ext >&5
22238 ac_cv_func_shmat
=no
22240 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22242 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22243 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22245 if test $ac_cv_func_shmat = no
; then
22246 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22247 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22248 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22249 echo $ECHO_N "(cached) $ECHO_C" >&6
22251 ac_check_lib_save_LIBS
=$LIBS
22253 cat >conftest.
$ac_ext <<_ACEOF
22254 #line $LINENO "configure"
22257 cat confdefs.h
>>conftest.
$ac_ext
22258 cat >>conftest.
$ac_ext <<_ACEOF
22259 /* end confdefs.h. */
22261 /* Override any gcc2 internal prototype to avoid an error. */
22265 /* We use char because int might match the return type of a gcc2
22266 builtin and then its argument prototype would still apply. */
22276 rm -f conftest.
$ac_objext conftest
$ac_exeext
22277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22278 (eval $ac_link) 2>&5
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); } &&
22282 { ac_try
='test -s conftest$ac_exeext'
22283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22284 (eval $ac_try) 2>&5
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; }; then
22288 ac_cv_lib_ipc_shmat
=yes
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.
$ac_ext >&5
22293 ac_cv_lib_ipc_shmat
=no
22295 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22296 LIBS
=$ac_check_lib_save_LIBS
22298 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22299 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22300 if test $ac_cv_lib_ipc_shmat = yes; then
22301 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22307 # Check for libraries that X11R6 Xt/Xaw programs need.
22308 ac_save_LDFLAGS
=$LDFLAGS
22309 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22310 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22311 # check for ICE first), but we must link in the order -lSM -lICE or
22312 # we get undefined symbols. So assume we have SM if we have ICE.
22313 # These have to be linked with before -lX11, unlike the other
22314 # libraries we check for below, so use a different variable.
22315 # John Interrante, Karl Berry
22316 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22317 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22318 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22319 echo $ECHO_N "(cached) $ECHO_C" >&6
22321 ac_check_lib_save_LIBS
=$LIBS
22322 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22323 cat >conftest.
$ac_ext <<_ACEOF
22324 #line $LINENO "configure"
22327 cat confdefs.h
>>conftest.
$ac_ext
22328 cat >>conftest.
$ac_ext <<_ACEOF
22329 /* end confdefs.h. */
22331 /* Override any gcc2 internal prototype to avoid an error. */
22335 /* We use char because int might match the return type of a gcc2
22336 builtin and then its argument prototype would still apply. */
22337 char IceConnectionNumber ();
22341 IceConnectionNumber ();
22346 rm -f conftest.
$ac_objext conftest
$ac_exeext
22347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22348 (eval $ac_link) 2>&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); } &&
22352 { ac_try
='test -s conftest$ac_exeext'
22353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354 (eval $ac_try) 2>&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22358 ac_cv_lib_ICE_IceConnectionNumber
=yes
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.
$ac_ext >&5
22363 ac_cv_lib_ICE_IceConnectionNumber
=no
22365 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22366 LIBS
=$ac_check_lib_save_LIBS
22368 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22369 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22370 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22371 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22374 LDFLAGS
=$ac_save_LDFLAGS
22379 if test "$no_x" = "yes"; then
22380 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22381 echo "$as_me: error: X11 not found" >&2;}
22382 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22385 GUI_TK_LIBRARY
="$X_LIBS"
22386 TOOLKIT_INCLUDE
="$X_CFLAGS"
22387 AFMINSTALL
=afminstall
22388 COMPILED_X_PROGRAM
=0
22390 if test "$wxUSE_NANOX" = "yes"; then
22391 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22392 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22393 if test "x$MICROWIN" = x
; then
22394 echo "$as_me:$LINENO: result: not found" >&5
22395 echo "${ECHO_T}not found" >&6
22396 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22397 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22398 { (exit 1); exit 1; }; }
22400 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22401 echo "${ECHO_T}$MICROWIN" >&6
22402 cat >>confdefs.h
<<\_ACEOF
22403 #define wxUSE_NANOX 1
22410 echo "$as_me:$LINENO: checking for Xpm library" >&5
22411 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22414 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22416 for ac_extension
in a so sl dylib
; do
22417 if test -f "$ac_dir/libXpm.$ac_extension"; then
22418 ac_find_libraries
=$ac_dir
22424 if test "$ac_find_libraries" != "" ; then
22426 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22428 if test $result = 0; then
22431 ac_path_to_link
=" -L$ac_find_libraries"
22434 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22436 cat >>confdefs.h
<<\_ACEOF
22437 #define wxHAVE_LIB_XPM 1
22440 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22441 echo "${ECHO_T}found at $ac_find_libraries" >&6
22443 cat >conftest.
$ac_ext <<_ACEOF
22444 #line $LINENO "configure"
22447 cat confdefs.h
>>conftest.
$ac_ext
22448 cat >>conftest.
$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22451 #include <X11/xpm.h>
22458 version = XpmLibraryVersion();
22464 rm -f conftest.
$ac_objext
22465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22466 (eval $ac_compile) 2>&5
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); } &&
22470 { ac_try
='test -s conftest.$ac_objext'
22471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22472 (eval $ac_try) 2>&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); }; }; then
22478 cat >>confdefs.h
<<\_ACEOF
22479 #define wxHAVE_LIB_XPM 1
22482 echo "$as_me:$LINENO: result: found in default search path" >&5
22483 echo "${ECHO_T}found in default search path" >&6
22484 COMPILED_X_PROGRAM
=0
22487 echo "$as_me: failed program was:" >&5
22488 sed 's/^/| /' conftest.
$ac_ext >&5
22491 echo "$as_me:$LINENO: result: no" >&5
22492 echo "${ECHO_T}no" >&6
22493 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22494 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22498 rm -f conftest.
$ac_objext conftest.
$ac_ext
22501 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22502 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22503 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22504 echo $ECHO_N "(cached) $ECHO_C" >&6
22506 ac_check_lib_save_LIBS
=$LIBS
22507 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22508 cat >conftest.
$ac_ext <<_ACEOF
22509 #line $LINENO "configure"
22512 cat confdefs.h
>>conftest.
$ac_ext
22513 cat >>conftest.
$ac_ext <<_ACEOF
22514 /* end confdefs.h. */
22516 /* Override any gcc2 internal prototype to avoid an error. */
22520 /* We use char because int might match the return type of a gcc2
22521 builtin and then its argument prototype would still apply. */
22522 char XShapeQueryExtension ();
22526 XShapeQueryExtension ();
22531 rm -f conftest.
$ac_objext conftest
$ac_exeext
22532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22533 (eval $ac_link) 2>&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } &&
22537 { ac_try
='test -s conftest$ac_exeext'
22538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22539 (eval $ac_try) 2>&5
22541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22542 (exit $ac_status); }; }; then
22543 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22545 echo "$as_me: failed program was:" >&5
22546 sed 's/^/| /' conftest.
$ac_ext >&5
22548 ac_cv_lib_Xext_XShapeQueryExtension
=no
22550 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22551 LIBS
=$ac_check_lib_save_LIBS
22553 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22554 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22555 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22557 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22563 if test "$wxUSE_UNICODE" = "yes"; then
22567 if test -z "$PKG_CONFIG"; then
22568 # Extract the first word of "pkg-config", so it can be a program name with args.
22569 set dummy pkg
-config; ac_word
=$2
22570 echo "$as_me:$LINENO: checking for $ac_word" >&5
22571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22572 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22573 echo $ECHO_N "(cached) $ECHO_C" >&6
22575 case $PKG_CONFIG in
22577 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22581 for as_dir
in $PATH
22584 test -z "$as_dir" && as_dir
=.
22585 for ac_exec_ext
in '' $ac_executable_extensions; do
22586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22587 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22594 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22598 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22600 if test -n "$PKG_CONFIG"; then
22601 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22602 echo "${ECHO_T}$PKG_CONFIG" >&6
22604 echo "$as_me:$LINENO: result: no" >&5
22605 echo "${ECHO_T}no" >&6
22610 if test "$PKG_CONFIG" = "no" ; then
22611 echo "*** The pkg-config script could not be found. Make sure it is"
22612 echo "*** in your path, or set the PKG_CONFIG environment variable"
22613 echo "*** to the full path to pkg-config."
22614 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22616 PKG_CONFIG_MIN_VERSION
=0.9.0
22617 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22618 echo "$as_me:$LINENO: checking for pangox" >&5
22619 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22621 if $PKG_CONFIG --exists "pangox" ; then
22622 echo "$as_me:$LINENO: result: yes" >&5
22623 echo "${ECHO_T}yes" >&6
22626 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22627 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22628 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22629 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22630 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22632 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22633 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22634 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22635 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22636 echo "${ECHO_T}$PANGOX_LIBS" >&6
22640 ## If we have a custom action on failure, don't print errors, but
22641 ## do set a variable so people can do so.
22642 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22649 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22650 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22654 if test $succeeded = yes; then
22656 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22657 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22661 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22662 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22663 { (exit 1); exit 1; }; }
22671 if test -z "$PKG_CONFIG"; then
22672 # Extract the first word of "pkg-config", so it can be a program name with args.
22673 set dummy pkg
-config; ac_word
=$2
22674 echo "$as_me:$LINENO: checking for $ac_word" >&5
22675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22676 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22679 case $PKG_CONFIG in
22681 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22685 for as_dir
in $PATH
22688 test -z "$as_dir" && as_dir
=.
22689 for ac_exec_ext
in '' $ac_executable_extensions; do
22690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22691 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22698 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22702 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22704 if test -n "$PKG_CONFIG"; then
22705 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22706 echo "${ECHO_T}$PKG_CONFIG" >&6
22708 echo "$as_me:$LINENO: result: no" >&5
22709 echo "${ECHO_T}no" >&6
22714 if test "$PKG_CONFIG" = "no" ; then
22715 echo "*** The pkg-config script could not be found. Make sure it is"
22716 echo "*** in your path, or set the PKG_CONFIG environment variable"
22717 echo "*** to the full path to pkg-config."
22718 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22720 PKG_CONFIG_MIN_VERSION
=0.9.0
22721 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22722 echo "$as_me:$LINENO: checking for pangoft2" >&5
22723 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22725 if $PKG_CONFIG --exists "pangoft2" ; then
22726 echo "$as_me:$LINENO: result: yes" >&5
22727 echo "${ECHO_T}yes" >&6
22730 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22731 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22732 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22733 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22734 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22736 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22737 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22738 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22739 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22740 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22744 ## If we have a custom action on failure, don't print errors, but
22745 ## do set a variable so people can do so.
22746 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22753 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22754 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22758 if test $succeeded = yes; then
22760 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22761 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22765 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22766 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22767 wxUSE_PRINTING_ARCHITECTURE
="no"
22775 if test -z "$PKG_CONFIG"; then
22776 # Extract the first word of "pkg-config", so it can be a program name with args.
22777 set dummy pkg
-config; ac_word
=$2
22778 echo "$as_me:$LINENO: checking for $ac_word" >&5
22779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22780 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22781 echo $ECHO_N "(cached) $ECHO_C" >&6
22783 case $PKG_CONFIG in
22785 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22789 for as_dir
in $PATH
22792 test -z "$as_dir" && as_dir
=.
22793 for ac_exec_ext
in '' $ac_executable_extensions; do
22794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22795 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22802 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22806 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22808 if test -n "$PKG_CONFIG"; then
22809 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22810 echo "${ECHO_T}$PKG_CONFIG" >&6
22812 echo "$as_me:$LINENO: result: no" >&5
22813 echo "${ECHO_T}no" >&6
22818 if test "$PKG_CONFIG" = "no" ; then
22819 echo "*** The pkg-config script could not be found. Make sure it is"
22820 echo "*** in your path, or set the PKG_CONFIG environment variable"
22821 echo "*** to the full path to pkg-config."
22822 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22824 PKG_CONFIG_MIN_VERSION
=0.9.0
22825 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22826 echo "$as_me:$LINENO: checking for pangoxft" >&5
22827 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22829 if $PKG_CONFIG --exists "pangoxft" ; then
22830 echo "$as_me:$LINENO: result: yes" >&5
22831 echo "${ECHO_T}yes" >&6
22834 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22835 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22836 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22837 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22838 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22840 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22841 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22842 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22843 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22844 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22848 ## If we have a custom action on failure, don't print errors, but
22849 ## do set a variable so people can do so.
22850 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22857 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22858 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22862 if test $succeeded = yes; then
22864 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22865 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22869 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22870 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22877 wxUSE_UNIVERSAL
="yes"
22879 if test "$wxUSE_NANOX" = "yes"; then
22880 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22881 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"
22882 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22884 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22887 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22892 if test "$wxUSE_MOTIF" = 1; then
22893 if test "$no_x" = yes; then
22894 # Not all programs may use this symbol, but it does not hurt to define it.
22896 cat >>confdefs.h
<<\_ACEOF
22897 #define X_DISPLAY_MISSING 1
22900 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22902 if test -n "$x_includes"; then
22903 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22906 # It would also be nice to do this for all -L options, not just this one.
22907 if test -n "$x_libraries"; then
22908 X_LIBS
="$X_LIBS -L$x_libraries"
22909 # For Solaris; some versions of Sun CC require a space after -R and
22910 # others require no space. Words are not sufficient . . . .
22911 case `(uname -sr) 2>/dev/null` in
22913 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22914 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22915 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22916 cat >conftest.
$ac_ext <<_ACEOF
22917 #line $LINENO "configure"
22920 cat confdefs.h
>>conftest.
$ac_ext
22921 cat >>conftest.
$ac_ext <<_ACEOF
22922 /* end confdefs.h. */
22932 rm -f conftest.
$ac_objext conftest
$ac_exeext
22933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22934 (eval $ac_link) 2>&5
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); } &&
22938 { ac_try
='test -s conftest$ac_exeext'
22939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22940 (eval $ac_try) 2>&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); }; }; then
22946 echo "$as_me: failed program was:" >&5
22947 sed 's/^/| /' conftest.
$ac_ext >&5
22951 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22952 if test $ac_R_nospace = yes; then
22953 echo "$as_me:$LINENO: result: no" >&5
22954 echo "${ECHO_T}no" >&6
22955 X_LIBS
="$X_LIBS -R$x_libraries"
22957 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22958 cat >conftest.
$ac_ext <<_ACEOF
22959 #line $LINENO "configure"
22962 cat confdefs.h
>>conftest.
$ac_ext
22963 cat >>conftest.
$ac_ext <<_ACEOF
22964 /* end confdefs.h. */
22974 rm -f conftest.
$ac_objext conftest
$ac_exeext
22975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22976 (eval $ac_link) 2>&5
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); } &&
22980 { ac_try
='test -s conftest$ac_exeext'
22981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982 (eval $ac_try) 2>&5
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); }; }; then
22988 echo "$as_me: failed program was:" >&5
22989 sed 's/^/| /' conftest.
$ac_ext >&5
22993 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22994 if test $ac_R_space = yes; then
22995 echo "$as_me:$LINENO: result: yes" >&5
22996 echo "${ECHO_T}yes" >&6
22997 X_LIBS
="$X_LIBS -R $x_libraries"
22999 echo "$as_me:$LINENO: result: neither works" >&5
23000 echo "${ECHO_T}neither works" >&6
23003 LIBS
=$ac_xsave_LIBS
23007 # Check for system-dependent libraries X programs must link with.
23008 # Do this before checking for the system-independent R6 libraries
23009 # (-lICE), since we may need -lsocket or whatever for X linking.
23011 if test "$ISC" = yes; then
23012 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23014 # Martyn Johnson says this is needed for Ultrix, if the X
23015 # libraries were built with DECnet support. And Karl Berry says
23016 # the Alpha needs dnet_stub (dnet does not exist).
23017 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23018 cat >conftest.
$ac_ext <<_ACEOF
23019 #line $LINENO "configure"
23022 cat confdefs.h
>>conftest.
$ac_ext
23023 cat >>conftest.
$ac_ext <<_ACEOF
23024 /* end confdefs.h. */
23026 /* Override any gcc2 internal prototype to avoid an error. */
23030 /* We use char because int might match the return type of a gcc2
23031 builtin and then its argument prototype would still apply. */
23032 char XOpenDisplay ();
23041 rm -f conftest.
$ac_objext conftest
$ac_exeext
23042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23043 (eval $ac_link) 2>&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); } &&
23047 { ac_try
='test -s conftest$ac_exeext'
23048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23049 (eval $ac_try) 2>&5
23051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23052 (exit $ac_status); }; }; then
23055 echo "$as_me: failed program was:" >&5
23056 sed 's/^/| /' conftest.
$ac_ext >&5
23058 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23059 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23060 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23061 echo $ECHO_N "(cached) $ECHO_C" >&6
23063 ac_check_lib_save_LIBS
=$LIBS
23064 LIBS
="-ldnet $LIBS"
23065 cat >conftest.
$ac_ext <<_ACEOF
23066 #line $LINENO "configure"
23069 cat confdefs.h
>>conftest.
$ac_ext
23070 cat >>conftest.
$ac_ext <<_ACEOF
23071 /* end confdefs.h. */
23073 /* Override any gcc2 internal prototype to avoid an error. */
23077 /* We use char because int might match the return type of a gcc2
23078 builtin and then its argument prototype would still apply. */
23088 rm -f conftest.
$ac_objext conftest
$ac_exeext
23089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23090 (eval $ac_link) 2>&5
23092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23093 (exit $ac_status); } &&
23094 { ac_try
='test -s conftest$ac_exeext'
23095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23096 (eval $ac_try) 2>&5
23098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23099 (exit $ac_status); }; }; then
23100 ac_cv_lib_dnet_dnet_ntoa
=yes
23102 echo "$as_me: failed program was:" >&5
23103 sed 's/^/| /' conftest.
$ac_ext >&5
23105 ac_cv_lib_dnet_dnet_ntoa
=no
23107 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23108 LIBS
=$ac_check_lib_save_LIBS
23110 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23111 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23112 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23113 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23116 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23117 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23118 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23119 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23120 echo $ECHO_N "(cached) $ECHO_C" >&6
23122 ac_check_lib_save_LIBS
=$LIBS
23123 LIBS
="-ldnet_stub $LIBS"
23124 cat >conftest.
$ac_ext <<_ACEOF
23125 #line $LINENO "configure"
23128 cat confdefs.h
>>conftest.
$ac_ext
23129 cat >>conftest.
$ac_ext <<_ACEOF
23130 /* end confdefs.h. */
23132 /* Override any gcc2 internal prototype to avoid an error. */
23136 /* We use char because int might match the return type of a gcc2
23137 builtin and then its argument prototype would still apply. */
23147 rm -f conftest.
$ac_objext conftest
$ac_exeext
23148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23149 (eval $ac_link) 2>&5
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); } &&
23153 { ac_try
='test -s conftest$ac_exeext'
23154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23155 (eval $ac_try) 2>&5
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; }; then
23159 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23161 echo "$as_me: failed program was:" >&5
23162 sed 's/^/| /' conftest.
$ac_ext >&5
23164 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23166 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23167 LIBS
=$ac_check_lib_save_LIBS
23169 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23170 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23171 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23172 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23177 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23178 LIBS
="$ac_xsave_LIBS"
23180 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23181 # to get the SysV transport functions.
23182 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23184 # The nsl library prevents programs from opening the X display
23185 # on Irix 5.2, according to T.E. Dickey.
23186 # The functions gethostbyname, getservbyname, and inet_addr are
23187 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23188 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23189 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23190 if test "${ac_cv_func_gethostbyname+set}" = set; then
23191 echo $ECHO_N "(cached) $ECHO_C" >&6
23193 cat >conftest.
$ac_ext <<_ACEOF
23194 #line $LINENO "configure"
23197 cat confdefs.h
>>conftest.
$ac_ext
23198 cat >>conftest.
$ac_ext <<_ACEOF
23199 /* end confdefs.h. */
23200 /* System header to define __stub macros and hopefully few prototypes,
23201 which can conflict with char gethostbyname (); below.
23202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23203 <limits.h> exists even on freestanding compilers. */
23205 # include <limits.h>
23207 # include <assert.h>
23209 /* Override any gcc2 internal prototype to avoid an error. */
23214 /* We use char because int might match the return type of a gcc2
23215 builtin and then its argument prototype would still apply. */
23216 char gethostbyname ();
23217 /* The GNU C library defines this for functions which it implements
23218 to always fail with ENOSYS. Some functions are actually named
23219 something starting with __ and the normal name is an alias. */
23220 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23223 char (*f) () = gethostbyname;
23232 return f != gethostbyname;
23237 rm -f conftest.
$ac_objext conftest
$ac_exeext
23238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23239 (eval $ac_link) 2>&5
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); } &&
23243 { ac_try
='test -s conftest$ac_exeext'
23244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23245 (eval $ac_try) 2>&5
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); }; }; then
23249 ac_cv_func_gethostbyname
=yes
23251 echo "$as_me: failed program was:" >&5
23252 sed 's/^/| /' conftest.
$ac_ext >&5
23254 ac_cv_func_gethostbyname
=no
23256 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23258 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23259 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23261 if test $ac_cv_func_gethostbyname = no
; then
23262 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23263 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23264 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23265 echo $ECHO_N "(cached) $ECHO_C" >&6
23267 ac_check_lib_save_LIBS
=$LIBS
23269 cat >conftest.
$ac_ext <<_ACEOF
23270 #line $LINENO "configure"
23273 cat confdefs.h
>>conftest.
$ac_ext
23274 cat >>conftest.
$ac_ext <<_ACEOF
23275 /* end confdefs.h. */
23277 /* Override any gcc2 internal prototype to avoid an error. */
23281 /* We use char because int might match the return type of a gcc2
23282 builtin and then its argument prototype would still apply. */
23283 char gethostbyname ();
23292 rm -f conftest.
$ac_objext conftest
$ac_exeext
23293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23294 (eval $ac_link) 2>&5
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); } &&
23298 { ac_try
='test -s conftest$ac_exeext'
23299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23300 (eval $ac_try) 2>&5
23302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23303 (exit $ac_status); }; }; then
23304 ac_cv_lib_nsl_gethostbyname
=yes
23306 echo "$as_me: failed program was:" >&5
23307 sed 's/^/| /' conftest.
$ac_ext >&5
23309 ac_cv_lib_nsl_gethostbyname
=no
23311 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23312 LIBS
=$ac_check_lib_save_LIBS
23314 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23315 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23316 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23317 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23320 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23321 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23322 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23323 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23326 ac_check_lib_save_LIBS
=$LIBS
23328 cat >conftest.
$ac_ext <<_ACEOF
23329 #line $LINENO "configure"
23332 cat confdefs.h
>>conftest.
$ac_ext
23333 cat >>conftest.
$ac_ext <<_ACEOF
23334 /* end confdefs.h. */
23336 /* Override any gcc2 internal prototype to avoid an error. */
23340 /* We use char because int might match the return type of a gcc2
23341 builtin and then its argument prototype would still apply. */
23342 char gethostbyname ();
23351 rm -f conftest.
$ac_objext conftest
$ac_exeext
23352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23353 (eval $ac_link) 2>&5
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); } &&
23357 { ac_try
='test -s conftest$ac_exeext'
23358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23359 (eval $ac_try) 2>&5
23361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362 (exit $ac_status); }; }; then
23363 ac_cv_lib_bsd_gethostbyname
=yes
23365 echo "$as_me: failed program was:" >&5
23366 sed 's/^/| /' conftest.
$ac_ext >&5
23368 ac_cv_lib_bsd_gethostbyname
=no
23370 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23371 LIBS
=$ac_check_lib_save_LIBS
23373 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23374 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23375 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23376 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23382 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23383 # socket/setsockopt and other routines are undefined under SCO ODT
23384 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23385 # on later versions), says Simon Leinen: it contains gethostby*
23386 # variants that don't use the name server (or something). -lsocket
23387 # must be given before -lnsl if both are needed. We assume that
23388 # if connect needs -lnsl, so does gethostbyname.
23389 echo "$as_me:$LINENO: checking for connect" >&5
23390 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23391 if test "${ac_cv_func_connect+set}" = set; then
23392 echo $ECHO_N "(cached) $ECHO_C" >&6
23394 cat >conftest.
$ac_ext <<_ACEOF
23395 #line $LINENO "configure"
23398 cat confdefs.h
>>conftest.
$ac_ext
23399 cat >>conftest.
$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 /* System header to define __stub macros and hopefully few prototypes,
23402 which can conflict with char connect (); below.
23403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23404 <limits.h> exists even on freestanding compilers. */
23406 # include <limits.h>
23408 # include <assert.h>
23410 /* Override any gcc2 internal prototype to avoid an error. */
23415 /* We use char because int might match the return type of a gcc2
23416 builtin and then its argument prototype would still apply. */
23418 /* The GNU C library defines this for functions which it implements
23419 to always fail with ENOSYS. Some functions are actually named
23420 something starting with __ and the normal name is an alias. */
23421 #if defined (__stub_connect) || defined (__stub___connect)
23424 char (*f) () = connect;
23433 return f != connect;
23438 rm -f conftest.
$ac_objext conftest
$ac_exeext
23439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23440 (eval $ac_link) 2>&5
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); } &&
23444 { ac_try
='test -s conftest$ac_exeext'
23445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23446 (eval $ac_try) 2>&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; }; then
23450 ac_cv_func_connect
=yes
23452 echo "$as_me: failed program was:" >&5
23453 sed 's/^/| /' conftest.
$ac_ext >&5
23455 ac_cv_func_connect
=no
23457 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23459 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23460 echo "${ECHO_T}$ac_cv_func_connect" >&6
23462 if test $ac_cv_func_connect = no
; then
23463 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23464 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23465 if test "${ac_cv_lib_socket_connect+set}" = set; then
23466 echo $ECHO_N "(cached) $ECHO_C" >&6
23468 ac_check_lib_save_LIBS
=$LIBS
23469 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23470 cat >conftest.
$ac_ext <<_ACEOF
23471 #line $LINENO "configure"
23474 cat confdefs.h
>>conftest.
$ac_ext
23475 cat >>conftest.
$ac_ext <<_ACEOF
23476 /* end confdefs.h. */
23478 /* Override any gcc2 internal prototype to avoid an error. */
23482 /* We use char because int might match the return type of a gcc2
23483 builtin and then its argument prototype would still apply. */
23493 rm -f conftest.
$ac_objext conftest
$ac_exeext
23494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23495 (eval $ac_link) 2>&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } &&
23499 { ac_try
='test -s conftest$ac_exeext'
23500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23501 (eval $ac_try) 2>&5
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); }; }; then
23505 ac_cv_lib_socket_connect
=yes
23507 echo "$as_me: failed program was:" >&5
23508 sed 's/^/| /' conftest.
$ac_ext >&5
23510 ac_cv_lib_socket_connect
=no
23512 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23513 LIBS
=$ac_check_lib_save_LIBS
23515 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23516 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23517 if test $ac_cv_lib_socket_connect = yes; then
23518 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23523 # Guillermo Gomez says -lposix is necessary on A/UX.
23524 echo "$as_me:$LINENO: checking for remove" >&5
23525 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23526 if test "${ac_cv_func_remove+set}" = set; then
23527 echo $ECHO_N "(cached) $ECHO_C" >&6
23529 cat >conftest.
$ac_ext <<_ACEOF
23530 #line $LINENO "configure"
23533 cat confdefs.h
>>conftest.
$ac_ext
23534 cat >>conftest.
$ac_ext <<_ACEOF
23535 /* end confdefs.h. */
23536 /* System header to define __stub macros and hopefully few prototypes,
23537 which can conflict with char remove (); below.
23538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23539 <limits.h> exists even on freestanding compilers. */
23541 # include <limits.h>
23543 # include <assert.h>
23545 /* Override any gcc2 internal prototype to avoid an error. */
23550 /* We use char because int might match the return type of a gcc2
23551 builtin and then its argument prototype would still apply. */
23553 /* The GNU C library defines this for functions which it implements
23554 to always fail with ENOSYS. Some functions are actually named
23555 something starting with __ and the normal name is an alias. */
23556 #if defined (__stub_remove) || defined (__stub___remove)
23559 char (*f) () = remove;
23568 return f != remove;
23573 rm -f conftest.
$ac_objext conftest
$ac_exeext
23574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23575 (eval $ac_link) 2>&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); } &&
23579 { ac_try
='test -s conftest$ac_exeext'
23580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23581 (eval $ac_try) 2>&5
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); }; }; then
23585 ac_cv_func_remove
=yes
23587 echo "$as_me: failed program was:" >&5
23588 sed 's/^/| /' conftest.
$ac_ext >&5
23590 ac_cv_func_remove
=no
23592 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23594 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23595 echo "${ECHO_T}$ac_cv_func_remove" >&6
23597 if test $ac_cv_func_remove = no
; then
23598 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23599 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23600 if test "${ac_cv_lib_posix_remove+set}" = set; then
23601 echo $ECHO_N "(cached) $ECHO_C" >&6
23603 ac_check_lib_save_LIBS
=$LIBS
23604 LIBS
="-lposix $LIBS"
23605 cat >conftest.
$ac_ext <<_ACEOF
23606 #line $LINENO "configure"
23609 cat confdefs.h
>>conftest.
$ac_ext
23610 cat >>conftest.
$ac_ext <<_ACEOF
23611 /* end confdefs.h. */
23613 /* Override any gcc2 internal prototype to avoid an error. */
23617 /* We use char because int might match the return type of a gcc2
23618 builtin and then its argument prototype would still apply. */
23628 rm -f conftest.
$ac_objext conftest
$ac_exeext
23629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23630 (eval $ac_link) 2>&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); } &&
23634 { ac_try
='test -s conftest$ac_exeext'
23635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23636 (eval $ac_try) 2>&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); }; }; then
23640 ac_cv_lib_posix_remove
=yes
23642 echo "$as_me: failed program was:" >&5
23643 sed 's/^/| /' conftest.
$ac_ext >&5
23645 ac_cv_lib_posix_remove
=no
23647 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23648 LIBS
=$ac_check_lib_save_LIBS
23650 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23651 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23652 if test $ac_cv_lib_posix_remove = yes; then
23653 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23658 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23659 echo "$as_me:$LINENO: checking for shmat" >&5
23660 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23661 if test "${ac_cv_func_shmat+set}" = set; then
23662 echo $ECHO_N "(cached) $ECHO_C" >&6
23664 cat >conftest.
$ac_ext <<_ACEOF
23665 #line $LINENO "configure"
23668 cat confdefs.h
>>conftest.
$ac_ext
23669 cat >>conftest.
$ac_ext <<_ACEOF
23670 /* end confdefs.h. */
23671 /* System header to define __stub macros and hopefully few prototypes,
23672 which can conflict with char shmat (); below.
23673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23674 <limits.h> exists even on freestanding compilers. */
23676 # include <limits.h>
23678 # include <assert.h>
23680 /* Override any gcc2 internal prototype to avoid an error. */
23685 /* We use char because int might match the return type of a gcc2
23686 builtin and then its argument prototype would still apply. */
23688 /* The GNU C library defines this for functions which it implements
23689 to always fail with ENOSYS. Some functions are actually named
23690 something starting with __ and the normal name is an alias. */
23691 #if defined (__stub_shmat) || defined (__stub___shmat)
23694 char (*f) () = shmat;
23708 rm -f conftest.
$ac_objext conftest
$ac_exeext
23709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23710 (eval $ac_link) 2>&5
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); } &&
23714 { ac_try
='test -s conftest$ac_exeext'
23715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23716 (eval $ac_try) 2>&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); }; }; then
23720 ac_cv_func_shmat
=yes
23722 echo "$as_me: failed program was:" >&5
23723 sed 's/^/| /' conftest.
$ac_ext >&5
23725 ac_cv_func_shmat
=no
23727 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23729 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23730 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23732 if test $ac_cv_func_shmat = no
; then
23733 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23734 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23735 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23736 echo $ECHO_N "(cached) $ECHO_C" >&6
23738 ac_check_lib_save_LIBS
=$LIBS
23740 cat >conftest.
$ac_ext <<_ACEOF
23741 #line $LINENO "configure"
23744 cat confdefs.h
>>conftest.
$ac_ext
23745 cat >>conftest.
$ac_ext <<_ACEOF
23746 /* end confdefs.h. */
23748 /* Override any gcc2 internal prototype to avoid an error. */
23752 /* We use char because int might match the return type of a gcc2
23753 builtin and then its argument prototype would still apply. */
23763 rm -f conftest.
$ac_objext conftest
$ac_exeext
23764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23765 (eval $ac_link) 2>&5
23767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768 (exit $ac_status); } &&
23769 { ac_try
='test -s conftest$ac_exeext'
23770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23771 (eval $ac_try) 2>&5
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); }; }; then
23775 ac_cv_lib_ipc_shmat
=yes
23777 echo "$as_me: failed program was:" >&5
23778 sed 's/^/| /' conftest.
$ac_ext >&5
23780 ac_cv_lib_ipc_shmat
=no
23782 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23783 LIBS
=$ac_check_lib_save_LIBS
23785 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23786 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23787 if test $ac_cv_lib_ipc_shmat = yes; then
23788 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23794 # Check for libraries that X11R6 Xt/Xaw programs need.
23795 ac_save_LDFLAGS
=$LDFLAGS
23796 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23797 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23798 # check for ICE first), but we must link in the order -lSM -lICE or
23799 # we get undefined symbols. So assume we have SM if we have ICE.
23800 # These have to be linked with before -lX11, unlike the other
23801 # libraries we check for below, so use a different variable.
23802 # John Interrante, Karl Berry
23803 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23804 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23805 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23806 echo $ECHO_N "(cached) $ECHO_C" >&6
23808 ac_check_lib_save_LIBS
=$LIBS
23809 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23810 cat >conftest.
$ac_ext <<_ACEOF
23811 #line $LINENO "configure"
23814 cat confdefs.h
>>conftest.
$ac_ext
23815 cat >>conftest.
$ac_ext <<_ACEOF
23816 /* end confdefs.h. */
23818 /* Override any gcc2 internal prototype to avoid an error. */
23822 /* We use char because int might match the return type of a gcc2
23823 builtin and then its argument prototype would still apply. */
23824 char IceConnectionNumber ();
23828 IceConnectionNumber ();
23833 rm -f conftest.
$ac_objext conftest
$ac_exeext
23834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23835 (eval $ac_link) 2>&5
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); } &&
23839 { ac_try
='test -s conftest$ac_exeext'
23840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23841 (eval $ac_try) 2>&5
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); }; }; then
23845 ac_cv_lib_ICE_IceConnectionNumber
=yes
23847 echo "$as_me: failed program was:" >&5
23848 sed 's/^/| /' conftest.
$ac_ext >&5
23850 ac_cv_lib_ICE_IceConnectionNumber
=no
23852 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23853 LIBS
=$ac_check_lib_save_LIBS
23855 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23856 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23857 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23858 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23861 LDFLAGS
=$ac_save_LDFLAGS
23866 if test "$no_x" = "yes"; then
23867 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23868 echo "$as_me: error: X11 not found" >&2;}
23869 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23872 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23873 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23874 AFMINSTALL
=afminstall
23875 COMPILED_X_PROGRAM
=0
23877 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23878 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23881 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23883 if test -f "$ac_dir/Xm/Xm.h"; then
23884 ac_find_includes
=$ac_dir
23889 if test "$ac_find_includes" != "" ; then
23890 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23891 echo "${ECHO_T}found in $ac_find_includes" >&6
23893 if test "x$ac_find_includes" = "x/usr/include"; then
23894 ac_path_to_include
=""
23896 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23898 if test $result = 0; then
23899 ac_path_to_include
=""
23901 ac_path_to_include
=" -I$ac_find_includes"
23905 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
23907 cat >conftest.
$ac_ext <<_ACEOF
23908 #line $LINENO "configure"
23911 cat confdefs.h
>>conftest.
$ac_ext
23912 cat >>conftest.
$ac_ext <<_ACEOF
23913 /* end confdefs.h. */
23922 version = xmUseVersion;
23928 rm -f conftest.
$ac_objext
23929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23930 (eval $ac_compile) 2>&5
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); } &&
23934 { ac_try
='test -s conftest.$ac_objext'
23935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23936 (eval $ac_try) 2>&5
23938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23939 (exit $ac_status); }; }; then
23941 echo "$as_me:$LINENO: result: found in default search path" >&5
23942 echo "${ECHO_T}found in default search path" >&6
23943 COMPILED_X_PROGRAM
=1
23946 echo "$as_me: failed program was:" >&5
23947 sed 's/^/| /' conftest.
$ac_ext >&5
23950 echo "$as_me:$LINENO: result: no" >&5
23951 echo "${ECHO_T}no" >&6
23952 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23953 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23954 { (exit 1); exit 1; }; }
23958 rm -f conftest.
$ac_objext conftest.
$ac_ext
23961 if test "$COMPILED_X_PROGRAM" = 0; then
23962 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23963 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23966 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23968 for ac_extension
in a so sl dylib
; do
23969 if test -f "$ac_dir/libXm.$ac_extension"; then
23970 ac_find_libraries
=$ac_dir
23976 if test "$ac_find_libraries" != "" ; then
23977 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23978 echo "${ECHO_T}found at $ac_find_libraries" >&6
23981 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23983 if test $result = 0; then
23986 ac_path_to_link
=" -L$ac_find_libraries"
23989 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23991 save_CFLAGS
=$CFLAGS
23992 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23994 cat >conftest.
$ac_ext <<_ACEOF
23995 #line $LINENO "configure"
23998 cat confdefs.h
>>conftest.
$ac_ext
23999 cat >>conftest.
$ac_ext <<_ACEOF
24000 /* end confdefs.h. */
24009 version = xmUseVersion;
24015 rm -f conftest.
$ac_objext
24016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24017 (eval $ac_compile) 2>&5
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); } &&
24021 { ac_try
='test -s conftest.$ac_objext'
24022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24023 (eval $ac_try) 2>&5
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); }; }; then
24028 echo "$as_me:$LINENO: result: found in default search path" >&5
24029 echo "${ECHO_T}found in default search path" >&6
24030 COMPILED_X_PROGRAM
=1
24033 echo "$as_me: failed program was:" >&5
24034 sed 's/^/| /' conftest.
$ac_ext >&5
24037 echo "$as_me:$LINENO: result: no" >&5
24038 echo "${ECHO_T}no" >&6
24039 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24040 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24041 { (exit 1); exit 1; }; }
24045 rm -f conftest.
$ac_objext conftest.
$ac_ext
24047 CFLAGS
=$save_CFLAGS
24052 echo "$as_me:$LINENO: checking for Xpm library" >&5
24053 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24056 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24058 for ac_extension
in a so sl dylib
; do
24059 if test -f "$ac_dir/libXpm.$ac_extension"; then
24060 ac_find_libraries
=$ac_dir
24066 if test "$ac_find_libraries" != "" ; then
24068 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24070 if test $result = 0; then
24073 ac_path_to_link
=" -L$ac_find_libraries"
24076 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24079 cat >>confdefs.h
<<\_ACEOF
24080 #define wxHAVE_LIB_XPM 1
24083 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24084 echo "${ECHO_T}found at $ac_find_libraries" >&6
24086 save_CFLAGS
=$CFLAGS
24087 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24089 cat >conftest.
$ac_ext <<_ACEOF
24090 #line $LINENO "configure"
24093 cat confdefs.h
>>conftest.
$ac_ext
24094 cat >>conftest.
$ac_ext <<_ACEOF
24095 /* end confdefs.h. */
24097 #include <X11/xpm.h>
24104 version = XpmLibraryVersion();
24110 rm -f conftest.
$ac_objext
24111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24112 (eval $ac_compile) 2>&5
24114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24115 (exit $ac_status); } &&
24116 { ac_try
='test -s conftest.$ac_objext'
24117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24118 (eval $ac_try) 2>&5
24120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24121 (exit $ac_status); }; }; then
24124 cat >>confdefs.h
<<\_ACEOF
24125 #define wxHAVE_LIB_XPM 1
24128 echo "$as_me:$LINENO: result: found in default search path" >&5
24129 echo "${ECHO_T}found in default search path" >&6
24130 COMPILED_X_PROGRAM
=0
24133 echo "$as_me: failed program was:" >&5
24134 sed 's/^/| /' conftest.
$ac_ext >&5
24137 echo "$as_me:$LINENO: result: no" >&5
24138 echo "${ECHO_T}no" >&6
24139 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24140 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24144 rm -f conftest.
$ac_objext conftest.
$ac_ext
24146 CFLAGS
=$save_CFLAGS
24149 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24150 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24154 for libp
in "" " -lXp"; do
24155 if test "$libs_found" = "0"; then
24156 for libsm_ice
in "" " -lSM -lICE"; do
24157 if test "$libs_found" = "0"; then
24159 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24160 save_CFLAGS
=$CFLAGS
24161 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24163 cat >conftest.
$ac_ext <<_ACEOF
24164 #line $LINENO "configure"
24167 cat confdefs.h
>>conftest.
$ac_ext
24168 cat >>conftest.
$ac_ext <<_ACEOF
24169 /* end confdefs.h. */
24172 #include <Xm/List.h>
24178 XmString string = NULL;
24181 XmListAddItem(w, string, position);
24187 rm -f conftest.
$ac_objext conftest
$ac_exeext
24188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24189 (eval $ac_link) 2>&5
24191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192 (exit $ac_status); } &&
24193 { ac_try
='test -s conftest$ac_exeext'
24194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24195 (eval $ac_try) 2>&5
24197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24198 (exit $ac_status); }; }; then
24201 libsm_ice_link
="$libsm_ice"
24202 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24203 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24207 echo "$as_me: failed program was:" >&5
24208 sed 's/^/| /' conftest.
$ac_ext >&5
24213 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24216 CFLAGS
=$save_CFLAGS
24222 if test "$libs_found" = "0"; then
24223 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24224 echo "${ECHO_T}can't find the right libraries" >&6
24225 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24226 echo "$as_me: error: can't link a simple motif program" >&2;}
24227 { (exit 1); exit 1; }; }
24230 save_CFLAGS
=$CFLAGS
24231 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24232 echo "$as_me:$LINENO: checking for Motif 2" >&5
24233 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24234 cat >conftest.
$ac_ext <<_ACEOF
24235 #line $LINENO "configure"
24238 cat confdefs.h
>>conftest.
$ac_ext
24239 cat >>conftest.
$ac_ext <<_ACEOF
24240 /* end confdefs.h. */
24248 #if XmVersion < 2000
24249 #error "Not Motif 2"
24256 rm -f conftest.
$ac_objext
24257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24258 (eval $ac_compile) 2>&5
24260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24261 (exit $ac_status); } &&
24262 { ac_try
='test -s conftest.$ac_objext'
24263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24264 (eval $ac_try) 2>&5
24266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267 (exit $ac_status); }; }; then
24269 cat >>confdefs.h
<<\_ACEOF
24270 #define __WXMOTIF20__ 1
24273 echo "$as_me:$LINENO: result: found" >&5
24274 echo "${ECHO_T}found" >&6
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.
$ac_ext >&5
24281 cat >>confdefs.h
<<\_ACEOF
24282 #define __WXMOTIF20__ 0
24285 echo "$as_me:$LINENO: result: not found" >&5
24286 echo "${ECHO_T}not found" >&6
24289 rm -f conftest.
$ac_objext conftest.
$ac_ext
24290 CFLAGS
=$save_CFLAGS
24292 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24293 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24299 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24300 test "$wxHAVE_XEXT_LIB" = 1; then
24301 save_CFLAGS
="$CFLAGS"
24302 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24304 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24305 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24306 cat >conftest.
$ac_ext <<_ACEOF
24307 #line $LINENO "configure"
24310 cat confdefs.h
>>conftest.
$ac_ext
24311 cat >>conftest.
$ac_ext <<_ACEOF
24312 /* end confdefs.h. */
24314 #include <X11/Xlib.h>
24315 #include <X11/extensions/shape.h>
24321 int dummy1, dummy2;
24322 XShapeQueryExtension((Display*)NULL,
24323 (int*)NULL, (int*)NULL);
24329 rm -f conftest.
$ac_objext
24330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24331 (eval $ac_compile) 2>&5
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); } &&
24335 { ac_try
='test -s conftest.$ac_objext'
24336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24337 (eval $ac_try) 2>&5
24339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340 (exit $ac_status); }; }; then
24342 cat >>confdefs.h
<<\_ACEOF
24343 #define HAVE_XSHAPE 1
24346 echo "$as_me:$LINENO: result: found" >&5
24347 echo "${ECHO_T}found" >&6
24350 echo "$as_me: failed program was:" >&5
24351 sed 's/^/| /' conftest.
$ac_ext >&5
24354 echo "$as_me:$LINENO: result: not found" >&5
24355 echo "${ECHO_T}not found" >&6
24358 rm -f conftest.
$ac_objext conftest.
$ac_ext
24359 CFLAGS
="$save_CFLAGS"
24362 if test "$wxUSE_MAC" = 1; then
24363 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24364 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24365 if test "$GCC" = yes; then
24366 echo "$as_me:$LINENO: result: gcc" >&5
24367 echo "${ECHO_T}gcc" >&6
24368 CPPFLAGS_PASCAL
="-fpascal-strings"
24369 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24370 echo "$as_me:$LINENO: result: xlc" >&5
24371 echo "${ECHO_T}xlc" >&6
24372 CPPFLAGS_PASCAL
="-qmacpstr"
24374 echo "$as_me:$LINENO: result: none" >&5
24375 echo "${ECHO_T}none" >&6
24378 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24380 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24383 WXBASEPORT
="_carbon"
24386 if test "$wxUSE_COCOA" = 1; then
24387 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24392 if test "$wxUSE_PM" = 1; then
24397 if test "$TOOLKIT" = "PM" ; then
24400 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24403 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24405 if test "$wxUSE_UNIVERSAL" = "yes"; then
24406 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24408 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24409 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24411 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24412 if test "$wxUSE_X11" = 1; then
24413 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24415 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24417 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24420 ALL_OBJECTS
="\$(GUIOBJS)"
24421 ALL_SOURCES
="\$(ALL_SOURCES)"
24422 ALL_HEADERS
="\$(ALL_HEADERS)"
24425 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24427 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24428 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24431 if test "$wxUSE_HTML" = "yes"; then
24432 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24435 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24436 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24438 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24439 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24441 if test "$wxUSE_LIBPNG" = "builtin" ; then
24442 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24445 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24446 DISTDIR
="wx\$(TOOLKIT)"
24452 if test "$USE_WIN32" = 1 ; then
24453 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24454 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24458 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24459 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24462 ALL_SOURCES
="\$(ALL_SOURCES)"
24463 ALL_HEADERS
="\$(ALL_HEADERS)"
24465 PORT_FILES
="\${top_srcdir}/src/files.lst"
24467 GUIDIST
="BASE_DIST"
24477 if test "$TOOLKIT" != "MSW" ; then
24479 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24481 if test "${ac_cv_header_sql_h+set}" = set; then
24482 echo "$as_me:$LINENO: checking for sql.h" >&5
24483 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24484 if test "${ac_cv_header_sql_h+set}" = set; then
24485 echo $ECHO_N "(cached) $ECHO_C" >&6
24487 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24488 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24490 # Is the header compilable?
24491 echo "$as_me:$LINENO: checking sql.h usability" >&5
24492 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24493 cat >conftest.
$ac_ext <<_ACEOF
24494 #line $LINENO "configure"
24497 cat confdefs.h
>>conftest.
$ac_ext
24498 cat >>conftest.
$ac_ext <<_ACEOF
24499 /* end confdefs.h. */
24500 $ac_includes_default
24503 rm -f conftest.
$ac_objext
24504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24505 (eval $ac_compile) 2>&5
24507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24508 (exit $ac_status); } &&
24509 { ac_try
='test -s conftest.$ac_objext'
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_header_compiler
=yes
24517 echo "$as_me: failed program was:" >&5
24518 sed 's/^/| /' conftest.
$ac_ext >&5
24520 ac_header_compiler
=no
24522 rm -f conftest.
$ac_objext conftest.
$ac_ext
24523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24524 echo "${ECHO_T}$ac_header_compiler" >&6
24526 # Is the header present?
24527 echo "$as_me:$LINENO: checking sql.h presence" >&5
24528 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24529 cat >conftest.
$ac_ext <<_ACEOF
24530 #line $LINENO "configure"
24533 cat confdefs.h
>>conftest.
$ac_ext
24534 cat >>conftest.
$ac_ext <<_ACEOF
24535 /* end confdefs.h. */
24538 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24539 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24541 grep -v '^ *+' conftest.er1
>conftest.err
24543 cat conftest.err
>&5
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); } >/dev
/null
; then
24546 if test -s conftest.err
; then
24547 ac_cpp_err
=$ac_c_preproc_warn_flag
24554 if test -z "$ac_cpp_err"; then
24555 ac_header_preproc
=yes
24557 echo "$as_me: failed program was:" >&5
24558 sed 's/^/| /' conftest.
$ac_ext >&5
24560 ac_header_preproc
=no
24562 rm -f conftest.err conftest.
$ac_ext
24563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24564 echo "${ECHO_T}$ac_header_preproc" >&6
24566 # So? What about this header?
24567 case $ac_header_compiler:$ac_header_preproc in
24569 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24570 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24571 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24572 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24575 ## ------------------------------------ ##
24576 ## Report this to bug-autoconf@gnu.org. ##
24577 ## ------------------------------------ ##
24580 sed "s/^/$as_me: WARNING: /" >&2
24583 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24584 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24585 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24586 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24587 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24588 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24591 ## ------------------------------------ ##
24592 ## Report this to bug-autoconf@gnu.org. ##
24593 ## ------------------------------------ ##
24596 sed "s/^/$as_me: WARNING: /" >&2
24599 echo "$as_me:$LINENO: checking for sql.h" >&5
24600 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24601 if test "${ac_cv_header_sql_h+set}" = set; then
24602 echo $ECHO_N "(cached) $ECHO_C" >&6
24604 ac_cv_header_sql_h
=$ac_header_preproc
24606 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24607 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24610 if test $ac_cv_header_sql_h = yes; then
24615 if test "x$found_sql_h" = "x1" ; then
24616 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24617 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24618 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24619 echo $ECHO_N "(cached) $ECHO_C" >&6
24621 ac_check_lib_save_LIBS
=$LIBS
24622 LIBS
="-liodbc $LIBS"
24623 cat >conftest.
$ac_ext <<_ACEOF
24624 #line $LINENO "configure"
24627 cat confdefs.h
>>conftest.
$ac_ext
24628 cat >>conftest.
$ac_ext <<_ACEOF
24629 /* end confdefs.h. */
24631 /* Override any gcc2 internal prototype to avoid an error. */
24635 /* We use char because int might match the return type of a gcc2
24636 builtin and then its argument prototype would still apply. */
24637 char SQLAllocEnv ();
24646 rm -f conftest.
$ac_objext conftest
$ac_exeext
24647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24648 (eval $ac_link) 2>&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } &&
24652 { ac_try
='test -s conftest$ac_exeext'
24653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24654 (eval $ac_try) 2>&5
24656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24657 (exit $ac_status); }; }; then
24658 ac_cv_lib_iodbc_SQLAllocEnv
=yes
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.
$ac_ext >&5
24663 ac_cv_lib_iodbc_SQLAllocEnv
=no
24665 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24666 LIBS
=$ac_check_lib_save_LIBS
24668 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24669 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24670 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24671 ODBC_LINK
=" -liodbc"
24674 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24675 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24676 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24677 echo $ECHO_N "(cached) $ECHO_C" >&6
24679 ac_check_lib_save_LIBS
=$LIBS
24680 LIBS
="-lunixodbc $LIBS"
24681 cat >conftest.
$ac_ext <<_ACEOF
24682 #line $LINENO "configure"
24685 cat confdefs.h
>>conftest.
$ac_ext
24686 cat >>conftest.
$ac_ext <<_ACEOF
24687 /* end confdefs.h. */
24689 /* Override any gcc2 internal prototype to avoid an error. */
24693 /* We use char because int might match the return type of a gcc2
24694 builtin and then its argument prototype would still apply. */
24695 char SQLAllocEnv ();
24704 rm -f conftest.
$ac_objext conftest
$ac_exeext
24705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24706 (eval $ac_link) 2>&5
24708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24709 (exit $ac_status); } &&
24710 { ac_try
='test -s conftest$ac_exeext'
24711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24712 (eval $ac_try) 2>&5
24714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715 (exit $ac_status); }; }; then
24716 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
24718 echo "$as_me: failed program was:" >&5
24719 sed 's/^/| /' conftest.
$ac_ext >&5
24721 ac_cv_lib_unixodbc_SQLAllocEnv
=no
24723 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24724 LIBS
=$ac_check_lib_save_LIBS
24726 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24727 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24728 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24729 ODBC_LINK
=" -lunixodbc"
24732 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24733 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24734 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24735 echo $ECHO_N "(cached) $ECHO_C" >&6
24737 ac_check_lib_save_LIBS
=$LIBS
24738 LIBS
="-lodbc $LIBS"
24739 cat >conftest.
$ac_ext <<_ACEOF
24740 #line $LINENO "configure"
24743 cat confdefs.h
>>conftest.
$ac_ext
24744 cat >>conftest.
$ac_ext <<_ACEOF
24745 /* end confdefs.h. */
24747 /* Override any gcc2 internal prototype to avoid an error. */
24751 /* We use char because int might match the return type of a gcc2
24752 builtin and then its argument prototype would still apply. */
24753 char SQLAllocEnv ();
24762 rm -f conftest.
$ac_objext conftest
$ac_exeext
24763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24764 (eval $ac_link) 2>&5
24766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24767 (exit $ac_status); } &&
24768 { ac_try
='test -s conftest$ac_exeext'
24769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24770 (eval $ac_try) 2>&5
24772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24773 (exit $ac_status); }; }; then
24774 ac_cv_lib_odbc_SQLAllocEnv
=yes
24776 echo "$as_me: failed program was:" >&5
24777 sed 's/^/| /' conftest.
$ac_ext >&5
24779 ac_cv_lib_odbc_SQLAllocEnv
=no
24781 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24782 LIBS
=$ac_check_lib_save_LIBS
24784 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
24785 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
24786 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
24787 ODBC_LINK
=" -lodbc"
24797 if test "x$ODBC_LINK" = "x" ; then
24798 if test "$wxUSE_ODBC" = "sys" ; then
24799 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24800 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24801 { (exit 1); exit 1; }; }
24803 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24804 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24811 if test "$wxUSE_ODBC" != "no" ; then
24812 cat >>confdefs.h
<<\_ACEOF
24813 #define wxUSE_ODBC 1
24816 if test "$wxUSE_ODBC" = "builtin" ; then
24817 cat >>confdefs.h
<<\_ACEOF
24818 #define wxUSE_BUILTIN_IODBC 1
24822 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24824 WXODBCFLAG
="-D_IODBC_"
24828 if test "$wxUSE_REGEX" = "builtin" ; then
24829 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24831 if test "$wxUSE_ZLIB" = "builtin" ; then
24832 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24837 if test "$wxUSE_OPENGL" = "yes"; then
24838 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24839 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24840 elif test "$wxUSE_MSW" = 1; then
24841 OPENGL_LIBS
="-lopengl32 -lglu32"
24846 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24848 if test -f "$ac_dir/GL/gl.h"; then
24849 ac_find_includes
=$ac_dir
24854 if test "$ac_find_includes" != "" ; then
24855 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24856 echo "${ECHO_T}found in $ac_find_includes" >&6
24858 if test "x$ac_find_includes" = "x/usr/include"; then
24859 ac_path_to_include
=""
24861 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
24863 if test $result = 0; then
24864 ac_path_to_include
=""
24866 ac_path_to_include
=" -I$ac_find_includes"
24870 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
24873 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24874 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24875 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24876 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24877 echo $ECHO_N "(cached) $ECHO_C" >&6
24879 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24880 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24882 # Is the header compilable?
24883 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24884 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24885 cat >conftest.
$ac_ext <<_ACEOF
24886 #line $LINENO "configure"
24889 cat confdefs.h
>>conftest.
$ac_ext
24890 cat >>conftest.
$ac_ext <<_ACEOF
24891 /* end confdefs.h. */
24892 $ac_includes_default
24895 rm -f conftest.
$ac_objext
24896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24897 (eval $ac_compile) 2>&5
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); } &&
24901 { ac_try
='test -s conftest.$ac_objext'
24902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24903 (eval $ac_try) 2>&5
24905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24906 (exit $ac_status); }; }; then
24907 ac_header_compiler
=yes
24909 echo "$as_me: failed program was:" >&5
24910 sed 's/^/| /' conftest.
$ac_ext >&5
24912 ac_header_compiler
=no
24914 rm -f conftest.
$ac_objext conftest.
$ac_ext
24915 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24916 echo "${ECHO_T}$ac_header_compiler" >&6
24918 # Is the header present?
24919 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24920 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24921 cat >conftest.
$ac_ext <<_ACEOF
24922 #line $LINENO "configure"
24925 cat confdefs.h
>>conftest.
$ac_ext
24926 cat >>conftest.
$ac_ext <<_ACEOF
24927 /* end confdefs.h. */
24930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24931 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24933 grep -v '^ *+' conftest.er1
>conftest.err
24935 cat conftest.err
>&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); } >/dev
/null
; then
24938 if test -s conftest.err
; then
24939 ac_cpp_err
=$ac_c_preproc_warn_flag
24946 if test -z "$ac_cpp_err"; then
24947 ac_header_preproc
=yes
24949 echo "$as_me: failed program was:" >&5
24950 sed 's/^/| /' conftest.
$ac_ext >&5
24952 ac_header_preproc
=no
24954 rm -f conftest.err conftest.
$ac_ext
24955 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24956 echo "${ECHO_T}$ac_header_preproc" >&6
24958 # So? What about this header?
24959 case $ac_header_compiler:$ac_header_preproc in
24961 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24962 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24963 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24964 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24967 ## ------------------------------------ ##
24968 ## Report this to bug-autoconf@gnu.org. ##
24969 ## ------------------------------------ ##
24972 sed "s/^/$as_me: WARNING: /" >&2
24975 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24976 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24977 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24978 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24979 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24980 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24983 ## ------------------------------------ ##
24984 ## Report this to bug-autoconf@gnu.org. ##
24985 ## ------------------------------------ ##
24988 sed "s/^/$as_me: WARNING: /" >&2
24991 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24992 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24993 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24994 echo $ECHO_N "(cached) $ECHO_C" >&6
24996 ac_cv_header_GL_gl_h
=$ac_header_preproc
24998 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24999 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25002 if test $ac_cv_header_GL_gl_h = yes; then
25006 echo "$as_me:$LINENO: checking for -lGL" >&5
25007 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25010 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25012 for ac_extension
in a so sl dylib
; do
25013 if test -f "$ac_dir/libGL.$ac_extension"; then
25014 ac_find_libraries
=$ac_dir
25020 if test "$ac_find_libraries" != "" ; then
25022 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25024 if test $result = 0; then
25027 ac_path_to_link
=" -L$ac_find_libraries"
25030 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25031 LDFLAGS_GL
="$ac_path_to_link"
25036 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25038 for ac_extension
in a so sl dylib
; do
25039 if test -f "$ac_dir/libGLU.$ac_extension"; then
25040 ac_find_libraries
=$ac_dir
25046 if test "$ac_find_libraries" != "" ; then
25048 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25050 if test $result = 0; then
25053 ac_path_to_link
=" -L$ac_find_libraries"
25056 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25057 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25058 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
25062 OPENGL_LIBS
="-lGL -lGLU"
25063 echo "$as_me:$LINENO: result: yes" >&5
25064 echo "${ECHO_T}yes" >&6
25068 if test "$found_gl" != 1; then
25069 echo "$as_me:$LINENO: result: no" >&5
25070 echo "${ECHO_T}no" >&6
25071 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25072 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25075 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25077 for ac_extension
in a so sl dylib
; do
25078 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25079 ac_find_libraries
=$ac_dir
25085 if test "$ac_find_libraries" != "" ; then
25087 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25089 if test $result = 0; then
25092 ac_path_to_link
=" -L$ac_find_libraries"
25095 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
25096 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
25097 echo "$as_me:$LINENO: result: yes" >&5
25098 echo "${ECHO_T}yes" >&6
25100 echo "$as_me:$LINENO: result: no" >&5
25101 echo "${ECHO_T}no" >&6
25109 if test "x$OPENGL_LIBS" = "x"; then
25110 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25111 echo "$as_me: error: OpenGL libraries not available" >&2;}
25112 { (exit 1); exit 1; }; }
25116 if test "$wxUSE_OPENGL" = "yes"; then
25118 cat >>confdefs.h
<<\_ACEOF
25119 #define wxUSE_OPENGL 1
25122 cat >>confdefs.h
<<\_ACEOF
25123 #define wxUSE_GLCANVAS 1
25126 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25130 if test -z "$TOOLKIT_VPATH" ; then
25131 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
25134 if test -n "$TOOLKIT" ; then
25135 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25139 lib_unicode_suffix
=
25140 if test "$wxUSE_UNICODE" = "yes"; then
25141 lib_unicode_suffix
=u
25147 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25153 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25157 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25159 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25160 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25162 if test "$cross_compiling" = "yes"; then
25163 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
25164 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
25165 HOST_SUFFIX
="-${host_alias}"
25168 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
25169 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
25170 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25171 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25173 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25174 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25176 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25177 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25178 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25179 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25182 *-*-cygwin* | *-*-mingw32* )
25183 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25184 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25189 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25190 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25192 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25193 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25194 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25195 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25197 if test "$wxUSE_MAC" = 1; then
25198 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25199 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25204 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25205 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25207 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25208 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25210 if test "$wxUSE_OPENGL" = "yes"; then
25211 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25212 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25217 if test "$wxUSE_SHARED" = "yes"; then
25219 *-pc-os2_emx | *-pc-os2-emx | \
25222 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25223 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25229 if test "$wxUSE_SHARED" = "yes"; then
25233 found_versioning
=no
25236 if test $found_versioning = no
; then
25237 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25238 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25239 if test "${wx_cv_version_script+set}" = set; then
25240 echo $ECHO_N "(cached) $ECHO_C" >&6
25243 echo "VER_1 { *; };" >conftest.sym
25244 echo "int main() { return 0; }" >conftest.cpp
25247 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25248 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25250 (eval $ac_try) 2>&5
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); }; } ; then
25254 if test -s conftest.stderr
; then
25255 wx_cv_version_script
=no
25257 wx_cv_version_script
=yes
25260 wx_cv_version_script
=no
25262 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25265 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25266 echo "${ECHO_T}$wx_cv_version_script" >&6
25267 if test $wx_cv_version_script = yes ; then
25268 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25274 *-*-linux* | *-*-gnu* )
25275 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25279 if test "$GCC" = yes ; then
25280 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25282 saveLdflags
="$LDFLAGS"
25283 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25284 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25285 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25286 cat >conftest.
$ac_ext <<_ACEOF
25287 #line $LINENO "configure"
25290 cat confdefs.h
>>conftest.
$ac_ext
25291 cat >>conftest.
$ac_ext <<_ACEOF
25292 /* end confdefs.h. */
25302 rm -f conftest.
$ac_objext conftest
$ac_exeext
25303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25304 (eval $ac_link) 2>&5
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); } &&
25308 { ac_try
='test -s conftest$ac_exeext'
25309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25310 (eval $ac_try) 2>&5
25312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); }; }; then
25315 echo "$as_me:$LINENO: result: yes" >&5
25316 echo "${ECHO_T}yes" >&6
25317 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25320 echo "$as_me: failed program was:" >&5
25321 sed 's/^/| /' conftest.
$ac_ext >&5
25324 echo "$as_me:$LINENO: result: no" >&5
25325 echo "${ECHO_T}no" >&6
25326 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25327 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25328 LDFLAGS
="$saveLdflags -Wl,-R,/"
25329 cat >conftest.
$ac_ext <<_ACEOF
25330 #line $LINENO "configure"
25333 cat confdefs.h
>>conftest.
$ac_ext
25334 cat >>conftest.
$ac_ext <<_ACEOF
25335 /* end confdefs.h. */
25345 rm -f conftest.
$ac_objext conftest
$ac_exeext
25346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25347 (eval $ac_link) 2>&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); } &&
25351 { ac_try
='test -s conftest$ac_exeext'
25352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25353 (eval $ac_try) 2>&5
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); }; }; then
25358 echo "$as_me:$LINENO: result: yes" >&5
25359 echo "${ECHO_T}yes" >&6
25360 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25362 echo "$as_me: failed program was:" >&5
25363 sed 's/^/| /' conftest.
$ac_ext >&5
25366 echo "$as_me:$LINENO: result: no" >&5
25367 echo "${ECHO_T}no" >&6
25370 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25373 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25374 LDFLAGS
="$saveLdflags"
25376 SHARED_LD
="${CXX} -G -o"
25378 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25382 powerpc
-*-darwin* )
25383 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25384 cat <<EOF >change-install-names
25386 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25387 inst_cmd="install_name_tool "
25388 for i in \${libnames} ; do
25389 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25393 chmod +x change
-install-names
25398 if test "x$WX_TARGET_LIBRARY" = "x"; then
25399 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25400 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25403 WX_TARGET_LIBRARY_TYPE
="so"
25404 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25407 if test "$wxUSE_SHARED" = "no"; then
25409 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25410 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25413 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25414 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25417 if test "$wxUSE_OPENGL" = "yes"; then
25418 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25419 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25421 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25424 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25425 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25427 WX_TARGET_LIBRARY_TYPE
="a"
25428 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25438 if test "$wxUSE_MAC" = 1; then
25439 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25440 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25441 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25442 # Extract the first word of "Rez", so it can be a program name with args.
25443 set dummy Rez
; 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_RESCOMP+set}" = set; then
25447 echo $ECHO_N "(cached) $ECHO_C" >&6
25449 if test -n "$RESCOMP"; then
25450 ac_cv_prog_RESCOMP
="$RESCOMP" # 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_RESCOMP
="Rez"
25460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25466 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25469 RESCOMP
=$ac_cv_prog_RESCOMP
25470 if test -n "$RESCOMP"; then
25471 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25472 echo "${ECHO_T}$RESCOMP" >&6
25474 echo "$as_me:$LINENO: result: no" >&5
25475 echo "${ECHO_T}no" >&6
25478 # Extract the first word of "DeRez", so it can be a program name with args.
25479 set dummy DeRez
; 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_DEREZ+set}" = set; then
25483 echo $ECHO_N "(cached) $ECHO_C" >&6
25485 if test -n "$DEREZ"; then
25486 ac_cv_prog_DEREZ
="$DEREZ" # 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_DEREZ
="DeRez"
25496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25502 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25505 DEREZ
=$ac_cv_prog_DEREZ
25506 if test -n "$DEREZ"; then
25507 echo "$as_me:$LINENO: result: $DEREZ" >&5
25508 echo "${ECHO_T}$DEREZ" >&6
25510 echo "$as_me:$LINENO: result: no" >&5
25511 echo "${ECHO_T}no" >&6
25514 # Extract the first word of "SetFile", so it can be a program name with args.
25515 set dummy SetFile
; ac_word
=$2
25516 echo "$as_me:$LINENO: checking for $ac_word" >&5
25517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25518 if test "${ac_cv_prog_SETFILE+set}" = set; then
25519 echo $ECHO_N "(cached) $ECHO_C" >&6
25521 if test -n "$SETFILE"; then
25522 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25525 for as_dir
in $PATH
25528 test -z "$as_dir" && as_dir
=.
25529 for ac_exec_ext
in '' $ac_executable_extensions; do
25530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25531 ac_cv_prog_SETFILE
="SetFile"
25532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25538 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25541 SETFILE
=$ac_cv_prog_SETFILE
25542 if test -n "$SETFILE"; then
25543 echo "$as_me:$LINENO: result: $SETFILE" >&5
25544 echo "${ECHO_T}$SETFILE" >&6
25546 echo "$as_me:$LINENO: result: no" >&5
25547 echo "${ECHO_T}no" >&6
25550 MACOSX_BUNDLE
="bundle"
25551 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25552 MACSETFILE
="\$(SETFILE)"
25553 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25554 elif test "$wxUSE_COCOA" = 1; then
25555 # Extract the first word of "Rez", so it can be a program name with args.
25556 set dummy Rez
; ac_word
=$2
25557 echo "$as_me:$LINENO: checking for $ac_word" >&5
25558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25559 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25560 echo $ECHO_N "(cached) $ECHO_C" >&6
25562 if test -n "$RESCOMP"; then
25563 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25566 for as_dir
in $PATH
25569 test -z "$as_dir" && as_dir
=.
25570 for ac_exec_ext
in '' $ac_executable_extensions; do
25571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25572 ac_cv_prog_RESCOMP
="Rez"
25573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25579 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25582 RESCOMP
=$ac_cv_prog_RESCOMP
25583 if test -n "$RESCOMP"; then
25584 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25585 echo "${ECHO_T}$RESCOMP" >&6
25587 echo "$as_me:$LINENO: result: no" >&5
25588 echo "${ECHO_T}no" >&6
25591 # Extract the first word of "DeRez", so it can be a program name with args.
25592 set dummy DeRez
; ac_word
=$2
25593 echo "$as_me:$LINENO: checking for $ac_word" >&5
25594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25595 if test "${ac_cv_prog_DEREZ+set}" = set; then
25596 echo $ECHO_N "(cached) $ECHO_C" >&6
25598 if test -n "$DEREZ"; then
25599 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25602 for as_dir
in $PATH
25605 test -z "$as_dir" && as_dir
=.
25606 for ac_exec_ext
in '' $ac_executable_extensions; do
25607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25608 ac_cv_prog_DEREZ
="DeRez"
25609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25615 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25618 DEREZ
=$ac_cv_prog_DEREZ
25619 if test -n "$DEREZ"; then
25620 echo "$as_me:$LINENO: result: $DEREZ" >&5
25621 echo "${ECHO_T}$DEREZ" >&6
25623 echo "$as_me:$LINENO: result: no" >&5
25624 echo "${ECHO_T}no" >&6
25627 # Extract the first word of "SetFile", so it can be a program name with args.
25628 set dummy SetFile
; ac_word
=$2
25629 echo "$as_me:$LINENO: checking for $ac_word" >&5
25630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25631 if test "${ac_cv_prog_SETFILE+set}" = set; then
25632 echo $ECHO_N "(cached) $ECHO_C" >&6
25634 if test -n "$SETFILE"; then
25635 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25638 for as_dir
in $PATH
25641 test -z "$as_dir" && as_dir
=.
25642 for ac_exec_ext
in '' $ac_executable_extensions; do
25643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25644 ac_cv_prog_SETFILE
="SetFile"
25645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25651 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25654 SETFILE
=$ac_cv_prog_SETFILE
25655 if test -n "$SETFILE"; then
25656 echo "$as_me:$LINENO: result: $SETFILE" >&5
25657 echo "${ECHO_T}$SETFILE" >&6
25659 echo "$as_me:$LINENO: result: no" >&5
25660 echo "${ECHO_T}no" >&6
25663 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25664 MACSETFILE
="\$(SETFILE)"
25665 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25667 if test "$wxUSE_PM" = 1; then
25668 MACRESCOMP
="emxbind -ep"
25673 echo "$as_me:$LINENO: checking for mode_t" >&5
25674 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25675 if test "${ac_cv_type_mode_t+set}" = set; then
25676 echo $ECHO_N "(cached) $ECHO_C" >&6
25678 cat >conftest.
$ac_ext <<_ACEOF
25679 #line $LINENO "configure"
25682 cat confdefs.h
>>conftest.
$ac_ext
25683 cat >>conftest.
$ac_ext <<_ACEOF
25684 /* end confdefs.h. */
25685 $ac_includes_default
25691 if (sizeof (mode_t))
25697 rm -f conftest.
$ac_objext
25698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25699 (eval $ac_compile) 2>&5
25701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702 (exit $ac_status); } &&
25703 { ac_try
='test -s conftest.$ac_objext'
25704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25705 (eval $ac_try) 2>&5
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); }; }; then
25709 ac_cv_type_mode_t
=yes
25711 echo "$as_me: failed program was:" >&5
25712 sed 's/^/| /' conftest.
$ac_ext >&5
25714 ac_cv_type_mode_t
=no
25716 rm -f conftest.
$ac_objext conftest.
$ac_ext
25718 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25719 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25720 if test $ac_cv_type_mode_t = yes; then
25724 cat >>confdefs.h
<<_ACEOF
25730 echo "$as_me:$LINENO: checking for off_t" >&5
25731 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25732 if test "${ac_cv_type_off_t+set}" = set; then
25733 echo $ECHO_N "(cached) $ECHO_C" >&6
25735 cat >conftest.
$ac_ext <<_ACEOF
25736 #line $LINENO "configure"
25739 cat confdefs.h
>>conftest.
$ac_ext
25740 cat >>conftest.
$ac_ext <<_ACEOF
25741 /* end confdefs.h. */
25742 $ac_includes_default
25748 if (sizeof (off_t))
25754 rm -f conftest.
$ac_objext
25755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25756 (eval $ac_compile) 2>&5
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); } &&
25760 { ac_try
='test -s conftest.$ac_objext'
25761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25762 (eval $ac_try) 2>&5
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); }; }; then
25766 ac_cv_type_off_t
=yes
25768 echo "$as_me: failed program was:" >&5
25769 sed 's/^/| /' conftest.
$ac_ext >&5
25771 ac_cv_type_off_t
=no
25773 rm -f conftest.
$ac_objext conftest.
$ac_ext
25775 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25776 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25777 if test $ac_cv_type_off_t = yes; then
25781 cat >>confdefs.h
<<_ACEOF
25787 echo "$as_me:$LINENO: checking for pid_t" >&5
25788 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25789 if test "${ac_cv_type_pid_t+set}" = set; then
25790 echo $ECHO_N "(cached) $ECHO_C" >&6
25792 cat >conftest.
$ac_ext <<_ACEOF
25793 #line $LINENO "configure"
25796 cat confdefs.h
>>conftest.
$ac_ext
25797 cat >>conftest.
$ac_ext <<_ACEOF
25798 /* end confdefs.h. */
25799 $ac_includes_default
25805 if (sizeof (pid_t))
25811 rm -f conftest.
$ac_objext
25812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25813 (eval $ac_compile) 2>&5
25815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816 (exit $ac_status); } &&
25817 { ac_try
='test -s conftest.$ac_objext'
25818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25819 (eval $ac_try) 2>&5
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); }; }; then
25823 ac_cv_type_pid_t
=yes
25825 echo "$as_me: failed program was:" >&5
25826 sed 's/^/| /' conftest.
$ac_ext >&5
25828 ac_cv_type_pid_t
=no
25830 rm -f conftest.
$ac_objext conftest.
$ac_ext
25832 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25833 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25834 if test $ac_cv_type_pid_t = yes; then
25838 cat >>confdefs.h
<<_ACEOF
25844 echo "$as_me:$LINENO: checking for size_t" >&5
25845 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25846 if test "${ac_cv_type_size_t+set}" = set; then
25847 echo $ECHO_N "(cached) $ECHO_C" >&6
25849 cat >conftest.
$ac_ext <<_ACEOF
25850 #line $LINENO "configure"
25853 cat confdefs.h
>>conftest.
$ac_ext
25854 cat >>conftest.
$ac_ext <<_ACEOF
25855 /* end confdefs.h. */
25856 $ac_includes_default
25862 if (sizeof (size_t))
25868 rm -f conftest.
$ac_objext
25869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25870 (eval $ac_compile) 2>&5
25872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873 (exit $ac_status); } &&
25874 { ac_try
='test -s conftest.$ac_objext'
25875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25876 (eval $ac_try) 2>&5
25878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25879 (exit $ac_status); }; }; then
25880 ac_cv_type_size_t
=yes
25882 echo "$as_me: failed program was:" >&5
25883 sed 's/^/| /' conftest.
$ac_ext >&5
25885 ac_cv_type_size_t
=no
25887 rm -f conftest.
$ac_objext conftest.
$ac_ext
25889 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25890 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25891 if test $ac_cv_type_size_t = yes; then
25895 cat >>confdefs.h
<<_ACEOF
25896 #define size_t unsigned
25901 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25902 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25903 if test "${ac_cv_type_uid_t+set}" = set; then
25904 echo $ECHO_N "(cached) $ECHO_C" >&6
25906 cat >conftest.
$ac_ext <<_ACEOF
25907 #line $LINENO "configure"
25910 cat confdefs.h
>>conftest.
$ac_ext
25911 cat >>conftest.
$ac_ext <<_ACEOF
25912 /* end confdefs.h. */
25913 #include <sys/types.h>
25916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25917 $EGREP "uid_t" >/dev
/null
2>&1; then
25918 ac_cv_type_uid_t
=yes
25920 ac_cv_type_uid_t
=no
25925 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25926 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25927 if test $ac_cv_type_uid_t = no
; then
25929 cat >>confdefs.h
<<\_ACEOF
25934 cat >>confdefs.h
<<\_ACEOF
25944 ac_cpp
='$CXXCPP $CPPFLAGS'
25945 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25946 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25947 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25949 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25950 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25951 if test "${wx_cv_size_t_is_uint+set}" = set; then
25952 echo $ECHO_N "(cached) $ECHO_C" >&6
25955 cat >conftest.
$ac_ext <<_ACEOF
25956 #line $LINENO "configure"
25959 cat confdefs.h
>>conftest.
$ac_ext
25960 cat >>conftest.
$ac_ext <<_ACEOF
25961 /* end confdefs.h. */
25962 #include <stddef.h>
25969 struct Foo { void foo(size_t); void foo(unsigned int); };
25977 rm -f conftest.
$ac_objext
25978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25979 (eval $ac_compile) 2>&5
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); } &&
25983 { ac_try
='test -s conftest.$ac_objext'
25984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25985 (eval $ac_try) 2>&5
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); }; }; then
25989 wx_cv_size_t_is_uint
=no
25991 echo "$as_me: failed program was:" >&5
25992 sed 's/^/| /' conftest.
$ac_ext >&5
25994 wx_cv_size_t_is_uint
=yes
25997 rm -f conftest.
$ac_objext conftest.
$ac_ext
26001 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26002 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26004 if test "$wx_cv_size_t_is_uint" = "yes"; then
26005 cat >>confdefs.h
<<\_ACEOF
26006 #define wxSIZE_T_IS_UINT 1
26010 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26011 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26012 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26013 echo $ECHO_N "(cached) $ECHO_C" >&6
26015 cat >conftest.
$ac_ext <<_ACEOF
26016 #line $LINENO "configure"
26019 cat confdefs.h
>>conftest.
$ac_ext
26020 cat >>conftest.
$ac_ext <<_ACEOF
26021 /* end confdefs.h. */
26022 #include <stddef.h>
26029 struct Foo { void foo(size_t); void foo(unsigned long); };
26037 rm -f conftest.
$ac_objext
26038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26039 (eval $ac_compile) 2>&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } &&
26043 { ac_try
='test -s conftest.$ac_objext'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; }; then
26049 wx_cv_size_t_is_ulong
=no
26051 echo "$as_me: failed program was:" >&5
26052 sed 's/^/| /' conftest.
$ac_ext >&5
26054 wx_cv_size_t_is_ulong
=yes
26057 rm -f conftest.
$ac_objext conftest.
$ac_ext
26060 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26061 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26063 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26064 cat >>confdefs.h
<<\_ACEOF
26065 #define wxSIZE_T_IS_ULONG 1
26072 ac_cpp
='$CPP $CPPFLAGS'
26073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26079 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26080 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26081 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26082 echo $ECHO_N "(cached) $ECHO_C" >&6
26085 cat >conftest.
$ac_ext <<_ACEOF
26086 #line $LINENO "configure"
26089 cat confdefs.h
>>conftest.
$ac_ext
26090 cat >>conftest.
$ac_ext <<_ACEOF
26091 /* end confdefs.h. */
26105 rm -f conftest.
$ac_objext
26106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26107 (eval $ac_compile) 2>&5
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); } &&
26111 { ac_try
='test -s conftest.$ac_objext'
26112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26113 (eval $ac_try) 2>&5
26115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26116 (exit $ac_status); }; }; then
26118 wx_cv_struct_pw_gecos
=yes
26121 echo "$as_me: failed program was:" >&5
26122 sed 's/^/| /' conftest.
$ac_ext >&5
26125 wx_cv_struct_pw_gecos
=no
26129 rm -f conftest.
$ac_objext conftest.
$ac_ext
26133 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26134 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26136 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26137 cat >>confdefs.h
<<\_ACEOF
26138 #define HAVE_PW_GECOS 1
26144 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26145 cat >>confdefs.h
<<\_ACEOF
26146 #define wxUSE_WCHAR_T 1
26153 for ac_func
in wcslen
26155 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26156 echo "$as_me:$LINENO: checking for $ac_func" >&5
26157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26158 if eval "test \"\${$as_ac_var+set}\" = set"; then
26159 echo $ECHO_N "(cached) $ECHO_C" >&6
26161 cat >conftest.
$ac_ext <<_ACEOF
26162 #line $LINENO "configure"
26165 cat confdefs.h
>>conftest.
$ac_ext
26166 cat >>conftest.
$ac_ext <<_ACEOF
26167 /* end confdefs.h. */
26168 /* System header to define __stub macros and hopefully few prototypes,
26169 which can conflict with char $ac_func (); below.
26170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26171 <limits.h> exists even on freestanding compilers. */
26173 # include <limits.h>
26175 # include <assert.h>
26177 /* Override any gcc2 internal prototype to avoid an error. */
26182 /* We use char because int might match the return type of a gcc2
26183 builtin and then its argument prototype would still apply. */
26185 /* The GNU C library defines this for functions which it implements
26186 to always fail with ENOSYS. Some functions are actually named
26187 something starting with __ and the normal name is an alias. */
26188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26191 char (*f) () = $ac_func;
26200 return f != $ac_func;
26205 rm -f conftest.
$ac_objext conftest
$ac_exeext
26206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26207 (eval $ac_link) 2>&5
26209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26210 (exit $ac_status); } &&
26211 { ac_try
='test -s conftest$ac_exeext'
26212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26213 (eval $ac_try) 2>&5
26215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26216 (exit $ac_status); }; }; then
26217 eval "$as_ac_var=yes"
26219 echo "$as_me: failed program was:" >&5
26220 sed 's/^/| /' conftest.
$ac_ext >&5
26222 eval "$as_ac_var=no"
26224 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26228 if test `eval echo '${'$as_ac_var'}'` = yes; then
26229 cat >>confdefs.h
<<_ACEOF
26230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26237 if test "$WCSLEN_FOUND" = 0; then
26238 if test "$TOOLKIT" = "MSW"; then
26239 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26240 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26241 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26242 echo $ECHO_N "(cached) $ECHO_C" >&6
26244 ac_check_lib_save_LIBS
=$LIBS
26245 LIBS
="-lmsvcrt $LIBS"
26246 cat >conftest.
$ac_ext <<_ACEOF
26247 #line $LINENO "configure"
26250 cat confdefs.h
>>conftest.
$ac_ext
26251 cat >>conftest.
$ac_ext <<_ACEOF
26252 /* end confdefs.h. */
26254 /* Override any gcc2 internal prototype to avoid an error. */
26258 /* We use char because int might match the return type of a gcc2
26259 builtin and then its argument prototype would still apply. */
26269 rm -f conftest.
$ac_objext conftest
$ac_exeext
26270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26271 (eval $ac_link) 2>&5
26273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26274 (exit $ac_status); } &&
26275 { ac_try
='test -s conftest$ac_exeext'
26276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26277 (eval $ac_try) 2>&5
26279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26280 (exit $ac_status); }; }; then
26281 ac_cv_lib_msvcrt_wcslen
=yes
26283 echo "$as_me: failed program was:" >&5
26284 sed 's/^/| /' conftest.
$ac_ext >&5
26286 ac_cv_lib_msvcrt_wcslen
=no
26288 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26289 LIBS
=$ac_check_lib_save_LIBS
26291 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26292 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26293 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26298 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26299 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26300 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26301 echo $ECHO_N "(cached) $ECHO_C" >&6
26303 ac_check_lib_save_LIBS
=$LIBS
26305 cat >conftest.
$ac_ext <<_ACEOF
26306 #line $LINENO "configure"
26309 cat confdefs.h
>>conftest.
$ac_ext
26310 cat >>conftest.
$ac_ext <<_ACEOF
26311 /* end confdefs.h. */
26313 /* Override any gcc2 internal prototype to avoid an error. */
26317 /* We use char because int might match the return type of a gcc2
26318 builtin and then its argument prototype would still apply. */
26328 rm -f conftest.
$ac_objext conftest
$ac_exeext
26329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26330 (eval $ac_link) 2>&5
26332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333 (exit $ac_status); } &&
26334 { ac_try
='test -s conftest$ac_exeext'
26335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26336 (eval $ac_try) 2>&5
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); }; }; then
26340 ac_cv_lib_w_wcslen
=yes
26342 echo "$as_me: failed program was:" >&5
26343 sed 's/^/| /' conftest.
$ac_ext >&5
26345 ac_cv_lib_w_wcslen
=no
26347 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26348 LIBS
=$ac_check_lib_save_LIBS
26350 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26351 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26352 if test $ac_cv_lib_w_wcslen = yes; then
26362 if test "$WCSLEN_FOUND" = 1; then
26363 cat >>confdefs.h
<<\_ACEOF
26364 #define HAVE_WCSLEN 1
26370 for ac_func
in wcsrtombs
26372 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26373 echo "$as_me:$LINENO: checking for $ac_func" >&5
26374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26375 if eval "test \"\${$as_ac_var+set}\" = set"; then
26376 echo $ECHO_N "(cached) $ECHO_C" >&6
26378 cat >conftest.
$ac_ext <<_ACEOF
26379 #line $LINENO "configure"
26382 cat confdefs.h
>>conftest.
$ac_ext
26383 cat >>conftest.
$ac_ext <<_ACEOF
26384 /* end confdefs.h. */
26385 /* System header to define __stub macros and hopefully few prototypes,
26386 which can conflict with char $ac_func (); below.
26387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26388 <limits.h> exists even on freestanding compilers. */
26390 # include <limits.h>
26392 # include <assert.h>
26394 /* Override any gcc2 internal prototype to avoid an error. */
26399 /* We use char because int might match the return type of a gcc2
26400 builtin and then its argument prototype would still apply. */
26402 /* The GNU C library defines this for functions which it implements
26403 to always fail with ENOSYS. Some functions are actually named
26404 something starting with __ and the normal name is an alias. */
26405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26408 char (*f) () = $ac_func;
26417 return f != $ac_func;
26422 rm -f conftest.
$ac_objext conftest
$ac_exeext
26423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26424 (eval $ac_link) 2>&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); } &&
26428 { ac_try
='test -s conftest$ac_exeext'
26429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26430 (eval $ac_try) 2>&5
26432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433 (exit $ac_status); }; }; then
26434 eval "$as_ac_var=yes"
26436 echo "$as_me: failed program was:" >&5
26437 sed 's/^/| /' conftest.
$ac_ext >&5
26439 eval "$as_ac_var=no"
26441 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26445 if test `eval echo '${'$as_ac_var'}'` = yes; then
26446 cat >>confdefs.h
<<_ACEOF
26447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26454 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26455 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26461 ac_cpp
='$CXXCPP $CPPFLAGS'
26462 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26463 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26464 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26468 for ac_func
in vsnprintf
26470 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26471 echo "$as_me:$LINENO: checking for $ac_func" >&5
26472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26473 if eval "test \"\${$as_ac_var+set}\" = set"; then
26474 echo $ECHO_N "(cached) $ECHO_C" >&6
26476 cat >conftest.
$ac_ext <<_ACEOF
26477 #line $LINENO "configure"
26480 cat confdefs.h
>>conftest.
$ac_ext
26481 cat >>conftest.
$ac_ext <<_ACEOF
26482 /* end confdefs.h. */
26483 /* System header to define __stub macros and hopefully few prototypes,
26484 which can conflict with char $ac_func (); below.
26485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26486 <limits.h> exists even on freestanding compilers. */
26488 # include <limits.h>
26490 # include <assert.h>
26492 /* Override any gcc2 internal prototype to avoid an error. */
26497 /* We use char because int might match the return type of a gcc2
26498 builtin and then its argument prototype would still apply. */
26500 /* The GNU C library defines this for functions which it implements
26501 to always fail with ENOSYS. Some functions are actually named
26502 something starting with __ and the normal name is an alias. */
26503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26506 char (*f) () = $ac_func;
26515 return f != $ac_func;
26520 rm -f conftest.
$ac_objext conftest
$ac_exeext
26521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26522 (eval $ac_link) 2>&5
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } &&
26526 { ac_try
='test -s conftest$ac_exeext'
26527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26528 (eval $ac_try) 2>&5
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); }; }; then
26532 eval "$as_ac_var=yes"
26534 echo "$as_me: failed program was:" >&5
26535 sed 's/^/| /' conftest.
$ac_ext >&5
26537 eval "$as_ac_var=no"
26539 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26543 if test `eval echo '${'$as_ac_var'}'` = yes; then
26544 cat >>confdefs.h
<<_ACEOF
26545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26552 if test "$ac_cv_func_vsnprintf" = "yes"; then
26553 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26554 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26555 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26556 echo $ECHO_N "(cached) $ECHO_C" >&6
26559 cat >conftest.
$ac_ext <<_ACEOF
26560 #line $LINENO "configure"
26563 cat confdefs.h
>>conftest.
$ac_ext
26564 cat >>conftest.
$ac_ext <<_ACEOF
26565 /* end confdefs.h. */
26568 #include <stdarg.h>
26576 vsnprintf(buf, 10u, "%s", ap);
26582 rm -f conftest.
$ac_objext
26583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26584 (eval $ac_compile) 2>&5
26586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26587 (exit $ac_status); } &&
26588 { ac_try
='test -s conftest.$ac_objext'
26589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26590 (eval $ac_try) 2>&5
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); }; }; then
26594 wx_cv_func_vsnprintf_decl
=yes
26596 echo "$as_me: failed program was:" >&5
26597 sed 's/^/| /' conftest.
$ac_ext >&5
26599 wx_cv_func_vsnprintf_decl
=no
26602 rm -f conftest.
$ac_objext conftest.
$ac_ext
26606 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26607 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26609 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26610 cat >>confdefs.h
<<\_ACEOF
26611 #define HAVE_VSNPRINTF_DECL 1
26617 if test "$wxUSE_UNICODE" = yes; then
26621 for ac_func
in fputwc wprintf vswprintf
26623 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26624 echo "$as_me:$LINENO: checking for $ac_func" >&5
26625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26626 if eval "test \"\${$as_ac_var+set}\" = set"; then
26627 echo $ECHO_N "(cached) $ECHO_C" >&6
26629 cat >conftest.
$ac_ext <<_ACEOF
26630 #line $LINENO "configure"
26633 cat confdefs.h
>>conftest.
$ac_ext
26634 cat >>conftest.
$ac_ext <<_ACEOF
26635 /* end confdefs.h. */
26636 /* System header to define __stub macros and hopefully few prototypes,
26637 which can conflict with char $ac_func (); below.
26638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26639 <limits.h> exists even on freestanding compilers. */
26641 # include <limits.h>
26643 # include <assert.h>
26645 /* Override any gcc2 internal prototype to avoid an error. */
26650 /* We use char because int might match the return type of a gcc2
26651 builtin and then its argument prototype would still apply. */
26653 /* The GNU C library defines this for functions which it implements
26654 to always fail with ENOSYS. Some functions are actually named
26655 something starting with __ and the normal name is an alias. */
26656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26659 char (*f) () = $ac_func;
26668 return f != $ac_func;
26673 rm -f conftest.
$ac_objext conftest
$ac_exeext
26674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26675 (eval $ac_link) 2>&5
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); } &&
26679 { ac_try
='test -s conftest$ac_exeext'
26680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26681 (eval $ac_try) 2>&5
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); }; }; then
26685 eval "$as_ac_var=yes"
26687 echo "$as_me: failed program was:" >&5
26688 sed 's/^/| /' conftest.
$ac_ext >&5
26690 eval "$as_ac_var=no"
26692 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26696 if test `eval echo '${'$as_ac_var'}'` = yes; then
26697 cat >>confdefs.h
<<_ACEOF
26698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26705 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26706 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26707 cat >conftest.
$ac_ext <<_ACEOF
26708 #line $LINENO "configure"
26711 cat confdefs.h
>>conftest.
$ac_ext
26712 cat >>conftest.
$ac_ext <<_ACEOF
26713 /* end confdefs.h. */
26723 rm -f conftest.
$ac_objext
26724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26725 (eval $ac_compile) 2>&5
26727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 (exit $ac_status); } &&
26729 { ac_try
='test -s conftest.$ac_objext'
26730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26731 (eval $ac_try) 2>&5
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); }; }; then
26735 echo "$as_me:$LINENO: result: yes" >&5
26736 echo "${ECHO_T}yes" >&6
26737 cat >>confdefs.h
<<\_ACEOF
26738 #define HAVE__VSNWPRINTF 1
26742 echo "$as_me: failed program was:" >&5
26743 sed 's/^/| /' conftest.
$ac_ext >&5
26745 echo "$as_me:$LINENO: result: no" >&5
26746 echo "${ECHO_T}no" >&6
26748 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26752 ac_cpp
='$CPP $CPPFLAGS'
26753 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26754 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26755 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26760 if test "$TOOLKIT" != "MSW"; then
26766 ac_cpp
='$CXXCPP $CPPFLAGS'
26767 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26768 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26769 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26774 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26775 if test "${with_libiconv_prefix+set}" = set; then
26776 withval
="$with_libiconv_prefix"
26778 for dir
in `echo "$withval" | tr : ' '`; do
26779 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26780 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26785 echo "$as_me:$LINENO: checking for iconv" >&5
26786 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26787 if test "${am_cv_func_iconv+set}" = set; then
26788 echo $ECHO_N "(cached) $ECHO_C" >&6
26791 am_cv_func_iconv
="no, consider installing GNU libiconv"
26793 cat >conftest.
$ac_ext <<_ACEOF
26794 #line $LINENO "configure"
26797 cat confdefs.h
>>conftest.
$ac_ext
26798 cat >>conftest.
$ac_ext <<_ACEOF
26799 /* end confdefs.h. */
26800 #include <stdlib.h>
26805 iconv_t cd = iconv_open("","");
26806 iconv(cd,NULL,NULL,NULL,NULL);
26812 rm -f conftest.
$ac_objext conftest
$ac_exeext
26813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26814 (eval $ac_link) 2>&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); } &&
26818 { ac_try
='test -s conftest$ac_exeext'
26819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26820 (eval $ac_try) 2>&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); }; }; then
26824 am_cv_func_iconv
=yes
26826 echo "$as_me: failed program was:" >&5
26827 sed 's/^/| /' conftest.
$ac_ext >&5
26830 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26831 if test "$am_cv_func_iconv" != yes; then
26832 am_save_LIBS
="$LIBS"
26833 LIBS
="$LIBS -liconv"
26834 cat >conftest.
$ac_ext <<_ACEOF
26835 #line $LINENO "configure"
26838 cat confdefs.h
>>conftest.
$ac_ext
26839 cat >>conftest.
$ac_ext <<_ACEOF
26840 /* end confdefs.h. */
26841 #include <stdlib.h>
26846 iconv_t cd = iconv_open("","");
26847 iconv(cd,NULL,NULL,NULL,NULL);
26853 rm -f conftest.
$ac_objext conftest
$ac_exeext
26854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26855 (eval $ac_link) 2>&5
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); } &&
26859 { ac_try
='test -s conftest$ac_exeext'
26860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26861 (eval $ac_try) 2>&5
26863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864 (exit $ac_status); }; }; then
26865 am_cv_lib_iconv
=yes
26866 am_cv_func_iconv
=yes
26868 echo "$as_me: failed program was:" >&5
26869 sed 's/^/| /' conftest.
$ac_ext >&5
26872 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26873 LIBS
="$am_save_LIBS"
26877 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26878 echo "${ECHO_T}$am_cv_func_iconv" >&6
26879 if test "$am_cv_func_iconv" = yes; then
26881 cat >>confdefs.h
<<\_ACEOF
26882 #define HAVE_ICONV 1
26885 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26886 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26887 if test "${wx_cv_func_iconv_const+set}" = set; then
26888 echo $ECHO_N "(cached) $ECHO_C" >&6
26890 cat >conftest.
$ac_ext <<_ACEOF
26891 #line $LINENO "configure"
26894 cat confdefs.h
>>conftest.
$ac_ext
26895 cat >>conftest.
$ac_ext <<_ACEOF
26896 /* end confdefs.h. */
26898 #include <stdlib.h>
26904 #if defined(__STDC__) || defined(__cplusplus)
26905 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26918 rm -f conftest.
$ac_objext
26919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26920 (eval $ac_compile) 2>&5
26922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 (exit $ac_status); } &&
26924 { ac_try
='test -s conftest.$ac_objext'
26925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26926 (eval $ac_try) 2>&5
26928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26929 (exit $ac_status); }; }; then
26930 wx_cv_func_iconv_const
="no"
26932 echo "$as_me: failed program was:" >&5
26933 sed 's/^/| /' conftest.
$ac_ext >&5
26935 wx_cv_func_iconv_const
="yes"
26938 rm -f conftest.
$ac_objext conftest.
$ac_ext
26941 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26942 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26945 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26946 iconv_const
="const"
26950 cat >>confdefs.h
<<_ACEOF
26951 #define ICONV_CONST $iconv_const
26956 if test "$am_cv_lib_iconv" = yes; then
26961 LIBS
="$LIBICONV $LIBS"
26963 ac_cpp
='$CPP $CPPFLAGS'
26964 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26965 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26966 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26969 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26971 for ac_func
in sigaction
26973 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26974 echo "$as_me:$LINENO: checking for $ac_func" >&5
26975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26976 if eval "test \"\${$as_ac_var+set}\" = set"; then
26977 echo $ECHO_N "(cached) $ECHO_C" >&6
26979 cat >conftest.
$ac_ext <<_ACEOF
26980 #line $LINENO "configure"
26983 cat confdefs.h
>>conftest.
$ac_ext
26984 cat >>conftest.
$ac_ext <<_ACEOF
26985 /* end confdefs.h. */
26986 /* System header to define __stub macros and hopefully few prototypes,
26987 which can conflict with char $ac_func (); below.
26988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26989 <limits.h> exists even on freestanding compilers. */
26991 # include <limits.h>
26993 # include <assert.h>
26995 /* Override any gcc2 internal prototype to avoid an error. */
27000 /* We use char because int might match the return type of a gcc2
27001 builtin and then its argument prototype would still apply. */
27003 /* The GNU C library defines this for functions which it implements
27004 to always fail with ENOSYS. Some functions are actually named
27005 something starting with __ and the normal name is an alias. */
27006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27009 char (*f) () = $ac_func;
27018 return f != $ac_func;
27023 rm -f conftest.
$ac_objext conftest
$ac_exeext
27024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27025 (eval $ac_link) 2>&5
27027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27028 (exit $ac_status); } &&
27029 { ac_try
='test -s conftest$ac_exeext'
27030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27031 (eval $ac_try) 2>&5
27033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034 (exit $ac_status); }; }; then
27035 eval "$as_ac_var=yes"
27037 echo "$as_me: failed program was:" >&5
27038 sed 's/^/| /' conftest.
$ac_ext >&5
27040 eval "$as_ac_var=no"
27042 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27046 if test `eval echo '${'$as_ac_var'}'` = yes; then
27047 cat >>confdefs.h
<<_ACEOF
27048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27055 if test "$ac_cv_func_sigaction" = "no"; then
27056 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27057 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27058 wxUSE_ON_FATAL_EXCEPTION
=no
27061 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27065 ac_cpp
='$CXXCPP $CPPFLAGS'
27066 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27067 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27068 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27071 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27072 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27073 if test "${wx_cv_type_sa_handler+set}" = set; then
27074 echo $ECHO_N "(cached) $ECHO_C" >&6
27077 cat >conftest.
$ac_ext <<_ACEOF
27078 #line $LINENO "configure"
27081 cat confdefs.h
>>conftest.
$ac_ext
27082 cat >>conftest.
$ac_ext <<_ACEOF
27083 /* end confdefs.h. */
27084 #include <signal.h>
27089 extern void testSigHandler(int);
27091 struct sigaction sa;
27092 sa.sa_handler = testSigHandler;
27098 rm -f conftest.
$ac_objext
27099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27100 (eval $ac_compile) 2>&5
27102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27103 (exit $ac_status); } &&
27104 { ac_try
='test -s conftest.$ac_objext'
27105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27106 (eval $ac_try) 2>&5
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); }; }; then
27111 wx_cv_type_sa_handler
=int
27114 echo "$as_me: failed program was:" >&5
27115 sed 's/^/| /' conftest.
$ac_ext >&5
27118 wx_cv_type_sa_handler
=void
27121 rm -f conftest.
$ac_objext conftest.
$ac_ext
27124 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27125 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27128 ac_cpp
='$CPP $CPPFLAGS'
27129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27134 cat >>confdefs.h
<<_ACEOF
27135 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27143 for ac_func
in mkstemp mktemp
27145 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27146 echo "$as_me:$LINENO: checking for $ac_func" >&5
27147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27148 if eval "test \"\${$as_ac_var+set}\" = set"; then
27149 echo $ECHO_N "(cached) $ECHO_C" >&6
27151 cat >conftest.
$ac_ext <<_ACEOF
27152 #line $LINENO "configure"
27155 cat confdefs.h
>>conftest.
$ac_ext
27156 cat >>conftest.
$ac_ext <<_ACEOF
27157 /* end confdefs.h. */
27158 /* System header to define __stub macros and hopefully few prototypes,
27159 which can conflict with char $ac_func (); below.
27160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27161 <limits.h> exists even on freestanding compilers. */
27163 # include <limits.h>
27165 # include <assert.h>
27167 /* Override any gcc2 internal prototype to avoid an error. */
27172 /* We use char because int might match the return type of a gcc2
27173 builtin and then its argument prototype would still apply. */
27175 /* The GNU C library defines this for functions which it implements
27176 to always fail with ENOSYS. Some functions are actually named
27177 something starting with __ and the normal name is an alias. */
27178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27181 char (*f) () = $ac_func;
27190 return f != $ac_func;
27195 rm -f conftest.
$ac_objext conftest
$ac_exeext
27196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27197 (eval $ac_link) 2>&5
27199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27200 (exit $ac_status); } &&
27201 { ac_try
='test -s conftest$ac_exeext'
27202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27203 (eval $ac_try) 2>&5
27205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206 (exit $ac_status); }; }; then
27207 eval "$as_ac_var=yes"
27209 echo "$as_me: failed program was:" >&5
27210 sed 's/^/| /' conftest.
$ac_ext >&5
27212 eval "$as_ac_var=no"
27214 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27218 if test `eval echo '${'$as_ac_var'}'` = yes; then
27219 cat >>confdefs.h
<<_ACEOF
27220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27227 echo "$as_me:$LINENO: checking for statfs" >&5
27228 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27229 if test "${wx_cv_func_statfs+set}" = set; then
27230 echo $ECHO_N "(cached) $ECHO_C" >&6
27232 cat >conftest.
$ac_ext <<_ACEOF
27233 #line $LINENO "configure"
27236 cat confdefs.h
>>conftest.
$ac_ext
27237 cat >>conftest.
$ac_ext <<_ACEOF
27238 /* end confdefs.h. */
27240 #if defined(__BSD__)
27241 #include <sys/param.h>
27242 #include <sys/mount.h>
27244 #include <sys/vfs.h>
27262 rm -f conftest.
$ac_objext
27263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27264 (eval $ac_compile) 2>&5
27266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27267 (exit $ac_status); } &&
27268 { ac_try
='test -s conftest.$ac_objext'
27269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27270 (eval $ac_try) 2>&5
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); }; }; then
27275 wx_cv_func_statfs
=yes
27278 echo "$as_me: failed program was:" >&5
27279 sed 's/^/| /' conftest.
$ac_ext >&5
27282 wx_cv_func_statfs
=no
27286 rm -f conftest.
$ac_objext conftest.
$ac_ext
27289 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27290 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27292 if test "$wx_cv_func_statfs" = "yes"; then
27293 wx_cv_type_statvfs_t
="struct statfs"
27294 cat >>confdefs.h
<<\_ACEOF
27295 #define HAVE_STATFS 1
27299 echo "$as_me:$LINENO: checking for statvfs" >&5
27300 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27301 if test "${wx_cv_func_statvfs+set}" = set; then
27302 echo $ECHO_N "(cached) $ECHO_C" >&6
27304 cat >conftest.
$ac_ext <<_ACEOF
27305 #line $LINENO "configure"
27308 cat confdefs.h
>>conftest.
$ac_ext
27309 cat >>conftest.
$ac_ext <<_ACEOF
27310 /* end confdefs.h. */
27312 #include <stddef.h>
27313 #include <sys/statvfs.h>
27319 statvfs("/", NULL);
27325 rm -f conftest.
$ac_objext
27326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27327 (eval $ac_compile) 2>&5
27329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330 (exit $ac_status); } &&
27331 { ac_try
='test -s conftest.$ac_objext'
27332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27333 (eval $ac_try) 2>&5
27335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27336 (exit $ac_status); }; }; then
27337 wx_cv_func_statvfs
=yes
27339 echo "$as_me: failed program was:" >&5
27340 sed 's/^/| /' conftest.
$ac_ext >&5
27342 wx_cv_func_statvfs
=no
27345 rm -f conftest.
$ac_objext conftest.
$ac_ext
27348 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27349 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27351 if test "$wx_cv_func_statvfs" = "yes"; then
27355 ac_cpp
='$CXXCPP $CPPFLAGS'
27356 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27357 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27358 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27361 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27362 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27363 if test "${wx_cv_type_statvfs_t+set}" = set; then
27364 echo $ECHO_N "(cached) $ECHO_C" >&6
27366 cat >conftest.
$ac_ext <<_ACEOF
27367 #line $LINENO "configure"
27370 cat confdefs.h
>>conftest.
$ac_ext
27371 cat >>conftest.
$ac_ext <<_ACEOF
27372 /* end confdefs.h. */
27374 #include <sys/statvfs.h>
27391 rm -f conftest.
$ac_objext
27392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27393 (eval $ac_compile) 2>&5
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); } &&
27397 { ac_try
='test -s conftest.$ac_objext'
27398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27399 (eval $ac_try) 2>&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); }; }; then
27403 wx_cv_type_statvfs_t
=statvfs_t
27405 echo "$as_me: failed program was:" >&5
27406 sed 's/^/| /' conftest.
$ac_ext >&5
27409 cat >conftest.
$ac_ext <<_ACEOF
27410 #line $LINENO "configure"
27413 cat confdefs.h
>>conftest.
$ac_ext
27414 cat >>conftest.
$ac_ext <<_ACEOF
27415 /* end confdefs.h. */
27417 #include <sys/statvfs.h>
27434 rm -f conftest.
$ac_objext
27435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27436 (eval $ac_compile) 2>&5
27438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439 (exit $ac_status); } &&
27440 { ac_try
='test -s conftest.$ac_objext'
27441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27442 (eval $ac_try) 2>&5
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); }; }; then
27446 wx_cv_type_statvfs_t
="struct statvfs"
27448 echo "$as_me: failed program was:" >&5
27449 sed 's/^/| /' conftest.
$ac_ext >&5
27451 wx_cv_type_statvfs_t
="unknown"
27454 rm -f conftest.
$ac_objext conftest.
$ac_ext
27458 rm -f conftest.
$ac_objext conftest.
$ac_ext
27461 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27462 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27465 ac_cpp
='$CPP $CPPFLAGS'
27466 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27467 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27468 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27471 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27472 cat >>confdefs.h
<<\_ACEOF
27473 #define HAVE_STATVFS 1
27478 wx_cv_type_statvfs_t
="unknown"
27482 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27483 cat >>confdefs.h
<<_ACEOF
27484 #define WX_STATFS_T $wx_cv_type_statvfs_t
27488 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27489 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27492 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27495 for ac_func
in fcntl flock
27497 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27498 echo "$as_me:$LINENO: checking for $ac_func" >&5
27499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27500 if eval "test \"\${$as_ac_var+set}\" = set"; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27503 cat >conftest.
$ac_ext <<_ACEOF
27504 #line $LINENO "configure"
27507 cat confdefs.h
>>conftest.
$ac_ext
27508 cat >>conftest.
$ac_ext <<_ACEOF
27509 /* end confdefs.h. */
27510 /* System header to define __stub macros and hopefully few prototypes,
27511 which can conflict with char $ac_func (); below.
27512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27513 <limits.h> exists even on freestanding compilers. */
27515 # include <limits.h>
27517 # include <assert.h>
27519 /* Override any gcc2 internal prototype to avoid an error. */
27524 /* We use char because int might match the return type of a gcc2
27525 builtin and then its argument prototype would still apply. */
27527 /* The GNU C library defines this for functions which it implements
27528 to always fail with ENOSYS. Some functions are actually named
27529 something starting with __ and the normal name is an alias. */
27530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27533 char (*f) () = $ac_func;
27542 return f != $ac_func;
27547 rm -f conftest.
$ac_objext conftest
$ac_exeext
27548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27549 (eval $ac_link) 2>&5
27551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27552 (exit $ac_status); } &&
27553 { ac_try
='test -s conftest$ac_exeext'
27554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27555 (eval $ac_try) 2>&5
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); }; }; then
27559 eval "$as_ac_var=yes"
27561 echo "$as_me: failed program was:" >&5
27562 sed 's/^/| /' conftest.
$ac_ext >&5
27564 eval "$as_ac_var=no"
27566 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27570 if test `eval echo '${'$as_ac_var'}'` = yes; then
27571 cat >>confdefs.h
<<_ACEOF
27572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27579 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27580 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27581 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27582 wxUSE_SNGLINST_CHECKER
=no
27587 for ac_func
in timegm
27589 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27590 echo "$as_me:$LINENO: checking for $ac_func" >&5
27591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27592 if eval "test \"\${$as_ac_var+set}\" = set"; then
27593 echo $ECHO_N "(cached) $ECHO_C" >&6
27595 cat >conftest.
$ac_ext <<_ACEOF
27596 #line $LINENO "configure"
27599 cat confdefs.h
>>conftest.
$ac_ext
27600 cat >>conftest.
$ac_ext <<_ACEOF
27601 /* end confdefs.h. */
27602 /* System header to define __stub macros and hopefully few prototypes,
27603 which can conflict with char $ac_func (); below.
27604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27605 <limits.h> exists even on freestanding compilers. */
27607 # include <limits.h>
27609 # include <assert.h>
27611 /* Override any gcc2 internal prototype to avoid an error. */
27616 /* We use char because int might match the return type of a gcc2
27617 builtin and then its argument prototype would still apply. */
27619 /* The GNU C library defines this for functions which it implements
27620 to always fail with ENOSYS. Some functions are actually named
27621 something starting with __ and the normal name is an alias. */
27622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27625 char (*f) () = $ac_func;
27634 return f != $ac_func;
27639 rm -f conftest.
$ac_objext conftest
$ac_exeext
27640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27641 (eval $ac_link) 2>&5
27643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27644 (exit $ac_status); } &&
27645 { ac_try
='test -s conftest$ac_exeext'
27646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27647 (eval $ac_try) 2>&5
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); }; }; then
27651 eval "$as_ac_var=yes"
27653 echo "$as_me: failed program was:" >&5
27654 sed 's/^/| /' conftest.
$ac_ext >&5
27656 eval "$as_ac_var=no"
27658 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27662 if test `eval echo '${'$as_ac_var'}'` = yes; then
27663 cat >>confdefs.h
<<_ACEOF
27664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27673 for ac_func
in putenv setenv
27675 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27676 echo "$as_me:$LINENO: checking for $ac_func" >&5
27677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27678 if eval "test \"\${$as_ac_var+set}\" = set"; then
27679 echo $ECHO_N "(cached) $ECHO_C" >&6
27681 cat >conftest.
$ac_ext <<_ACEOF
27682 #line $LINENO "configure"
27685 cat confdefs.h
>>conftest.
$ac_ext
27686 cat >>conftest.
$ac_ext <<_ACEOF
27687 /* end confdefs.h. */
27688 /* System header to define __stub macros and hopefully few prototypes,
27689 which can conflict with char $ac_func (); below.
27690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27691 <limits.h> exists even on freestanding compilers. */
27693 # include <limits.h>
27695 # include <assert.h>
27697 /* Override any gcc2 internal prototype to avoid an error. */
27702 /* We use char because int might match the return type of a gcc2
27703 builtin and then its argument prototype would still apply. */
27705 /* The GNU C library defines this for functions which it implements
27706 to always fail with ENOSYS. Some functions are actually named
27707 something starting with __ and the normal name is an alias. */
27708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27711 char (*f) () = $ac_func;
27720 return f != $ac_func;
27725 rm -f conftest.
$ac_objext conftest
$ac_exeext
27726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27727 (eval $ac_link) 2>&5
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); } &&
27731 { ac_try
='test -s conftest$ac_exeext'
27732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27733 (eval $ac_try) 2>&5
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); }; }; then
27737 eval "$as_ac_var=yes"
27739 echo "$as_me: failed program was:" >&5
27740 sed 's/^/| /' conftest.
$ac_ext >&5
27742 eval "$as_ac_var=no"
27744 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27748 if test `eval echo '${'$as_ac_var'}'` = yes; then
27749 cat >>confdefs.h
<<_ACEOF
27750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27757 HAVE_SOME_SLEEP_FUNC
=0
27758 if test "$USE_BEOS" = 1; then
27759 cat >>confdefs.h
<<\_ACEOF
27760 #define HAVE_SLEEP 1
27763 HAVE_SOME_SLEEP_FUNC
=1
27766 if test "$USE_DARWIN" = 1; then
27767 cat >>confdefs.h
<<\_ACEOF
27768 #define HAVE_USLEEP 1
27771 HAVE_SOME_SLEEP_FUNC
=1
27774 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27777 for ac_func
in nanosleep
27779 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27780 echo "$as_me:$LINENO: checking for $ac_func" >&5
27781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27782 if eval "test \"\${$as_ac_var+set}\" = set"; then
27783 echo $ECHO_N "(cached) $ECHO_C" >&6
27785 cat >conftest.
$ac_ext <<_ACEOF
27786 #line $LINENO "configure"
27789 cat confdefs.h
>>conftest.
$ac_ext
27790 cat >>conftest.
$ac_ext <<_ACEOF
27791 /* end confdefs.h. */
27792 /* System header to define __stub macros and hopefully few prototypes,
27793 which can conflict with char $ac_func (); below.
27794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27795 <limits.h> exists even on freestanding compilers. */
27797 # include <limits.h>
27799 # include <assert.h>
27801 /* Override any gcc2 internal prototype to avoid an error. */
27806 /* We use char because int might match the return type of a gcc2
27807 builtin and then its argument prototype would still apply. */
27809 /* The GNU C library defines this for functions which it implements
27810 to always fail with ENOSYS. Some functions are actually named
27811 something starting with __ and the normal name is an alias. */
27812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27815 char (*f) () = $ac_func;
27824 return f != $ac_func;
27829 rm -f conftest.
$ac_objext conftest
$ac_exeext
27830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27831 (eval $ac_link) 2>&5
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); } &&
27835 { ac_try
='test -s conftest$ac_exeext'
27836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27837 (eval $ac_try) 2>&5
27839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840 (exit $ac_status); }; }; then
27841 eval "$as_ac_var=yes"
27843 echo "$as_me: failed program was:" >&5
27844 sed 's/^/| /' conftest.
$ac_ext >&5
27846 eval "$as_ac_var=no"
27848 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27852 if test `eval echo '${'$as_ac_var'}'` = yes; then
27853 cat >>confdefs.h
<<_ACEOF
27854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27856 cat >>confdefs.h
<<\_ACEOF
27857 #define HAVE_NANOSLEEP 1
27862 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27863 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27864 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27865 echo $ECHO_N "(cached) $ECHO_C" >&6
27867 ac_check_lib_save_LIBS
=$LIBS
27868 LIBS
="-lposix4 $LIBS"
27869 cat >conftest.
$ac_ext <<_ACEOF
27870 #line $LINENO "configure"
27873 cat confdefs.h
>>conftest.
$ac_ext
27874 cat >>conftest.
$ac_ext <<_ACEOF
27875 /* end confdefs.h. */
27877 /* Override any gcc2 internal prototype to avoid an error. */
27881 /* We use char because int might match the return type of a gcc2
27882 builtin and then its argument prototype would still apply. */
27892 rm -f conftest.
$ac_objext conftest
$ac_exeext
27893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27894 (eval $ac_link) 2>&5
27896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897 (exit $ac_status); } &&
27898 { ac_try
='test -s conftest$ac_exeext'
27899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27900 (eval $ac_try) 2>&5
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); }; }; then
27904 ac_cv_lib_posix4_nanosleep
=yes
27906 echo "$as_me: failed program was:" >&5
27907 sed 's/^/| /' conftest.
$ac_ext >&5
27909 ac_cv_lib_posix4_nanosleep
=no
27911 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27912 LIBS
=$ac_check_lib_save_LIBS
27914 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27915 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27916 if test $ac_cv_lib_posix4_nanosleep = yes; then
27918 cat >>confdefs.h
<<\_ACEOF
27919 #define HAVE_NANOSLEEP 1
27922 POSIX4_LINK
=" -lposix4"
27927 for ac_func
in usleep
27929 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27930 echo "$as_me:$LINENO: checking for $ac_func" >&5
27931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27932 if eval "test \"\${$as_ac_var+set}\" = set"; then
27933 echo $ECHO_N "(cached) $ECHO_C" >&6
27935 cat >conftest.
$ac_ext <<_ACEOF
27936 #line $LINENO "configure"
27939 cat confdefs.h
>>conftest.
$ac_ext
27940 cat >>conftest.
$ac_ext <<_ACEOF
27941 /* end confdefs.h. */
27942 /* System header to define __stub macros and hopefully few prototypes,
27943 which can conflict with char $ac_func (); below.
27944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27945 <limits.h> exists even on freestanding compilers. */
27947 # include <limits.h>
27949 # include <assert.h>
27951 /* Override any gcc2 internal prototype to avoid an error. */
27956 /* We use char because int might match the return type of a gcc2
27957 builtin and then its argument prototype would still apply. */
27959 /* The GNU C library defines this for functions which it implements
27960 to always fail with ENOSYS. Some functions are actually named
27961 something starting with __ and the normal name is an alias. */
27962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27965 char (*f) () = $ac_func;
27974 return f != $ac_func;
27979 rm -f conftest.
$ac_objext conftest
$ac_exeext
27980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27981 (eval $ac_link) 2>&5
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); } &&
27985 { ac_try
='test -s conftest$ac_exeext'
27986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27987 (eval $ac_try) 2>&5
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); }; }; then
27991 eval "$as_ac_var=yes"
27993 echo "$as_me: failed program was:" >&5
27994 sed 's/^/| /' conftest.
$ac_ext >&5
27996 eval "$as_ac_var=no"
27998 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28002 if test `eval echo '${'$as_ac_var'}'` = yes; then
28003 cat >>confdefs.h
<<_ACEOF
28004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28006 cat >>confdefs.h
<<\_ACEOF
28007 #define HAVE_USLEEP 1
28011 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28012 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28030 for ac_func
in uname gethostname
28032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28033 echo "$as_me:$LINENO: checking for $ac_func" >&5
28034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28035 if eval "test \"\${$as_ac_var+set}\" = set"; then
28036 echo $ECHO_N "(cached) $ECHO_C" >&6
28038 cat >conftest.
$ac_ext <<_ACEOF
28039 #line $LINENO "configure"
28042 cat confdefs.h
>>conftest.
$ac_ext
28043 cat >>conftest.
$ac_ext <<_ACEOF
28044 /* end confdefs.h. */
28045 /* System header to define __stub macros and hopefully few prototypes,
28046 which can conflict with char $ac_func (); below.
28047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28048 <limits.h> exists even on freestanding compilers. */
28050 # include <limits.h>
28052 # include <assert.h>
28054 /* Override any gcc2 internal prototype to avoid an error. */
28059 /* We use char because int might match the return type of a gcc2
28060 builtin and then its argument prototype would still apply. */
28062 /* The GNU C library defines this for functions which it implements
28063 to always fail with ENOSYS. Some functions are actually named
28064 something starting with __ and the normal name is an alias. */
28065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28068 char (*f) () = $ac_func;
28077 return f != $ac_func;
28082 rm -f conftest.
$ac_objext conftest
$ac_exeext
28083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28084 (eval $ac_link) 2>&5
28086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28087 (exit $ac_status); } &&
28088 { ac_try
='test -s conftest$ac_exeext'
28089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28090 (eval $ac_try) 2>&5
28092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28093 (exit $ac_status); }; }; then
28094 eval "$as_ac_var=yes"
28096 echo "$as_me: failed program was:" >&5
28097 sed 's/^/| /' conftest.
$ac_ext >&5
28099 eval "$as_ac_var=no"
28101 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28105 if test `eval echo '${'$as_ac_var'}'` = yes; then
28106 cat >>confdefs.h
<<_ACEOF
28107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28117 ac_cpp
='$CXXCPP $CPPFLAGS'
28118 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28119 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28120 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28124 for ac_func
in strtok_r
28126 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28127 echo "$as_me:$LINENO: checking for $ac_func" >&5
28128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28129 if eval "test \"\${$as_ac_var+set}\" = set"; then
28130 echo $ECHO_N "(cached) $ECHO_C" >&6
28132 cat >conftest.
$ac_ext <<_ACEOF
28133 #line $LINENO "configure"
28136 cat confdefs.h
>>conftest.
$ac_ext
28137 cat >>conftest.
$ac_ext <<_ACEOF
28138 /* end confdefs.h. */
28139 /* System header to define __stub macros and hopefully few prototypes,
28140 which can conflict with char $ac_func (); below.
28141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28142 <limits.h> exists even on freestanding compilers. */
28144 # include <limits.h>
28146 # include <assert.h>
28148 /* Override any gcc2 internal prototype to avoid an error. */
28153 /* We use char because int might match the return type of a gcc2
28154 builtin and then its argument prototype would still apply. */
28156 /* The GNU C library defines this for functions which it implements
28157 to always fail with ENOSYS. Some functions are actually named
28158 something starting with __ and the normal name is an alias. */
28159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28162 char (*f) () = $ac_func;
28171 return f != $ac_func;
28176 rm -f conftest.
$ac_objext conftest
$ac_exeext
28177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28178 (eval $ac_link) 2>&5
28180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28181 (exit $ac_status); } &&
28182 { ac_try
='test -s conftest$ac_exeext'
28183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28184 (eval $ac_try) 2>&5
28186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28187 (exit $ac_status); }; }; then
28188 eval "$as_ac_var=yes"
28190 echo "$as_me: failed program was:" >&5
28191 sed 's/^/| /' conftest.
$ac_ext >&5
28193 eval "$as_ac_var=no"
28195 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28199 if test `eval echo '${'$as_ac_var'}'` = yes; then
28200 cat >>confdefs.h
<<_ACEOF
28201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28209 ac_cpp
='$CPP $CPPFLAGS'
28210 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28211 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28212 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28217 for ac_func
in inet_addr
28219 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28220 echo "$as_me:$LINENO: checking for $ac_func" >&5
28221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28222 if eval "test \"\${$as_ac_var+set}\" = set"; then
28223 echo $ECHO_N "(cached) $ECHO_C" >&6
28225 cat >conftest.
$ac_ext <<_ACEOF
28226 #line $LINENO "configure"
28229 cat confdefs.h
>>conftest.
$ac_ext
28230 cat >>conftest.
$ac_ext <<_ACEOF
28231 /* end confdefs.h. */
28232 /* System header to define __stub macros and hopefully few prototypes,
28233 which can conflict with char $ac_func (); below.
28234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28235 <limits.h> exists even on freestanding compilers. */
28237 # include <limits.h>
28239 # include <assert.h>
28241 /* Override any gcc2 internal prototype to avoid an error. */
28246 /* We use char because int might match the return type of a gcc2
28247 builtin and then its argument prototype would still apply. */
28249 /* The GNU C library defines this for functions which it implements
28250 to always fail with ENOSYS. Some functions are actually named
28251 something starting with __ and the normal name is an alias. */
28252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28255 char (*f) () = $ac_func;
28264 return f != $ac_func;
28269 rm -f conftest.
$ac_objext conftest
$ac_exeext
28270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28271 (eval $ac_link) 2>&5
28273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28274 (exit $ac_status); } &&
28275 { ac_try
='test -s conftest$ac_exeext'
28276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28277 (eval $ac_try) 2>&5
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); }; }; then
28281 eval "$as_ac_var=yes"
28283 echo "$as_me: failed program was:" >&5
28284 sed 's/^/| /' conftest.
$ac_ext >&5
28286 eval "$as_ac_var=no"
28288 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28292 if test `eval echo '${'$as_ac_var'}'` = yes; then
28293 cat >>confdefs.h
<<_ACEOF
28294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28296 cat >>confdefs.h
<<\_ACEOF
28297 #define HAVE_INET_ADDR 1
28302 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28303 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28304 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28305 echo $ECHO_N "(cached) $ECHO_C" >&6
28307 ac_check_lib_save_LIBS
=$LIBS
28309 cat >conftest.
$ac_ext <<_ACEOF
28310 #line $LINENO "configure"
28313 cat confdefs.h
>>conftest.
$ac_ext
28314 cat >>conftest.
$ac_ext <<_ACEOF
28315 /* end confdefs.h. */
28317 /* Override any gcc2 internal prototype to avoid an error. */
28321 /* We use char because int might match the return type of a gcc2
28322 builtin and then its argument prototype would still apply. */
28332 rm -f conftest.
$ac_objext conftest
$ac_exeext
28333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28334 (eval $ac_link) 2>&5
28336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28337 (exit $ac_status); } &&
28338 { ac_try
='test -s conftest$ac_exeext'
28339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28340 (eval $ac_try) 2>&5
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); }; }; then
28344 ac_cv_lib_nsl_inet_addr
=yes
28346 echo "$as_me: failed program was:" >&5
28347 sed 's/^/| /' conftest.
$ac_ext >&5
28349 ac_cv_lib_nsl_inet_addr
=no
28351 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28352 LIBS
=$ac_check_lib_save_LIBS
28354 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28355 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28356 if test $ac_cv_lib_nsl_inet_addr = yes; then
28360 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28361 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28362 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28363 echo $ECHO_N "(cached) $ECHO_C" >&6
28365 ac_check_lib_save_LIBS
=$LIBS
28366 LIBS
="-lresolv $LIBS"
28367 cat >conftest.
$ac_ext <<_ACEOF
28368 #line $LINENO "configure"
28371 cat confdefs.h
>>conftest.
$ac_ext
28372 cat >>conftest.
$ac_ext <<_ACEOF
28373 /* end confdefs.h. */
28375 /* Override any gcc2 internal prototype to avoid an error. */
28379 /* We use char because int might match the return type of a gcc2
28380 builtin and then its argument prototype would still apply. */
28390 rm -f conftest.
$ac_objext conftest
$ac_exeext
28391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28392 (eval $ac_link) 2>&5
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); } &&
28396 { ac_try
='test -s conftest$ac_exeext'
28397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28398 (eval $ac_try) 2>&5
28400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28401 (exit $ac_status); }; }; then
28402 ac_cv_lib_resolv_inet_addr
=yes
28404 echo "$as_me: failed program was:" >&5
28405 sed 's/^/| /' conftest.
$ac_ext >&5
28407 ac_cv_lib_resolv_inet_addr
=no
28409 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28410 LIBS
=$ac_check_lib_save_LIBS
28412 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28413 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28414 if test $ac_cv_lib_resolv_inet_addr = yes; then
28418 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28419 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28420 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28421 echo $ECHO_N "(cached) $ECHO_C" >&6
28423 ac_check_lib_save_LIBS
=$LIBS
28424 LIBS
="-lsocket $LIBS"
28425 cat >conftest.
$ac_ext <<_ACEOF
28426 #line $LINENO "configure"
28429 cat confdefs.h
>>conftest.
$ac_ext
28430 cat >>conftest.
$ac_ext <<_ACEOF
28431 /* end confdefs.h. */
28433 /* Override any gcc2 internal prototype to avoid an error. */
28437 /* We use char because int might match the return type of a gcc2
28438 builtin and then its argument prototype would still apply. */
28448 rm -f conftest.
$ac_objext conftest
$ac_exeext
28449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28450 (eval $ac_link) 2>&5
28452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28453 (exit $ac_status); } &&
28454 { ac_try
='test -s conftest$ac_exeext'
28455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28456 (eval $ac_try) 2>&5
28458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459 (exit $ac_status); }; }; then
28460 ac_cv_lib_socket_inet_addr
=yes
28462 echo "$as_me: failed program was:" >&5
28463 sed 's/^/| /' conftest.
$ac_ext >&5
28465 ac_cv_lib_socket_inet_addr
=no
28467 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28468 LIBS
=$ac_check_lib_save_LIBS
28470 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28471 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28472 if test $ac_cv_lib_socket_inet_addr = yes; then
28492 for ac_func
in inet_aton
28494 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28495 echo "$as_me:$LINENO: checking for $ac_func" >&5
28496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28497 if eval "test \"\${$as_ac_var+set}\" = set"; then
28498 echo $ECHO_N "(cached) $ECHO_C" >&6
28500 cat >conftest.
$ac_ext <<_ACEOF
28501 #line $LINENO "configure"
28504 cat confdefs.h
>>conftest.
$ac_ext
28505 cat >>conftest.
$ac_ext <<_ACEOF
28506 /* end confdefs.h. */
28507 /* System header to define __stub macros and hopefully few prototypes,
28508 which can conflict with char $ac_func (); below.
28509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28510 <limits.h> exists even on freestanding compilers. */
28512 # include <limits.h>
28514 # include <assert.h>
28516 /* Override any gcc2 internal prototype to avoid an error. */
28521 /* We use char because int might match the return type of a gcc2
28522 builtin and then its argument prototype would still apply. */
28524 /* The GNU C library defines this for functions which it implements
28525 to always fail with ENOSYS. Some functions are actually named
28526 something starting with __ and the normal name is an alias. */
28527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28530 char (*f) () = $ac_func;
28539 return f != $ac_func;
28544 rm -f conftest.
$ac_objext conftest
$ac_exeext
28545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28546 (eval $ac_link) 2>&5
28548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28549 (exit $ac_status); } &&
28550 { ac_try
='test -s conftest$ac_exeext'
28551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28552 (eval $ac_try) 2>&5
28554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28555 (exit $ac_status); }; }; then
28556 eval "$as_ac_var=yes"
28558 echo "$as_me: failed program was:" >&5
28559 sed 's/^/| /' conftest.
$ac_ext >&5
28561 eval "$as_ac_var=no"
28563 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28567 if test `eval echo '${'$as_ac_var'}'` = yes; then
28568 cat >>confdefs.h
<<_ACEOF
28569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28571 cat >>confdefs.h
<<\_ACEOF
28572 #define HAVE_INET_ATON 1
28577 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28578 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28579 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28580 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28581 echo $ECHO_N "(cached) $ECHO_C" >&6
28583 ac_check_lib_save_LIBS
=$LIBS
28584 LIBS
="-l$INET_LINK $LIBS"
28585 cat >conftest.
$ac_ext <<_ACEOF
28586 #line $LINENO "configure"
28589 cat confdefs.h
>>conftest.
$ac_ext
28590 cat >>conftest.
$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28593 /* Override any gcc2 internal prototype to avoid an error. */
28597 /* We use char because int might match the return type of a gcc2
28598 builtin and then its argument prototype would still apply. */
28608 rm -f conftest.
$ac_objext conftest
$ac_exeext
28609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28610 (eval $ac_link) 2>&5
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); } &&
28614 { ac_try
='test -s conftest$ac_exeext'
28615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28616 (eval $ac_try) 2>&5
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); }; }; then
28620 eval "$as_ac_Lib=yes"
28622 echo "$as_me: failed program was:" >&5
28623 sed 's/^/| /' conftest.
$ac_ext >&5
28625 eval "$as_ac_Lib=no"
28627 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28628 LIBS
=$ac_check_lib_save_LIBS
28630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28631 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28632 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28633 cat >>confdefs.h
<<\_ACEOF
28634 #define HAVE_INET_ATON 1
28644 if test "x$INET_LINK" != "x"; then
28645 cat >>confdefs.h
<<\_ACEOF
28646 #define HAVE_INET_ADDR 1
28649 INET_LINK
=" -l$INET_LINK"
28657 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28658 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28659 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28660 echo $ECHO_N "(cached) $ECHO_C" >&6
28662 ac_check_lib_save_LIBS
=$LIBS
28664 cat >conftest.
$ac_ext <<_ACEOF
28665 #line $LINENO "configure"
28668 cat confdefs.h
>>conftest.
$ac_ext
28669 cat >>conftest.
$ac_ext <<_ACEOF
28670 /* end confdefs.h. */
28672 /* Override any gcc2 internal prototype to avoid an error. */
28676 /* We use char because int might match the return type of a gcc2
28677 builtin and then its argument prototype would still apply. */
28687 rm -f conftest.
$ac_objext conftest
$ac_exeext
28688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28689 (eval $ac_link) 2>&5
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); } &&
28693 { ac_try
='test -s conftest$ac_exeext'
28694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28695 (eval $ac_try) 2>&5
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); }; }; then
28699 ac_cv_lib_esd_esd_close
=yes
28701 echo "$as_me: failed program was:" >&5
28702 sed 's/^/| /' conftest.
$ac_ext >&5
28704 ac_cv_lib_esd_esd_close
=no
28706 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28707 LIBS
=$ac_check_lib_save_LIBS
28709 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28710 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28711 if test $ac_cv_lib_esd_esd_close = yes; then
28714 for ac_header
in esd.h
28716 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28718 echo "$as_me:$LINENO: checking for $ac_header" >&5
28719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28721 echo $ECHO_N "(cached) $ECHO_C" >&6
28723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28726 # Is the header compilable?
28727 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28728 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28729 cat >conftest.
$ac_ext <<_ACEOF
28730 #line $LINENO "configure"
28733 cat confdefs.h
>>conftest.
$ac_ext
28734 cat >>conftest.
$ac_ext <<_ACEOF
28735 /* end confdefs.h. */
28736 $ac_includes_default
28737 #include <$ac_header>
28739 rm -f conftest.
$ac_objext
28740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28741 (eval $ac_compile) 2>&5
28743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744 (exit $ac_status); } &&
28745 { ac_try
='test -s conftest.$ac_objext'
28746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28747 (eval $ac_try) 2>&5
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); }; }; then
28751 ac_header_compiler
=yes
28753 echo "$as_me: failed program was:" >&5
28754 sed 's/^/| /' conftest.
$ac_ext >&5
28756 ac_header_compiler
=no
28758 rm -f conftest.
$ac_objext conftest.
$ac_ext
28759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28760 echo "${ECHO_T}$ac_header_compiler" >&6
28762 # Is the header present?
28763 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28764 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28765 cat >conftest.
$ac_ext <<_ACEOF
28766 #line $LINENO "configure"
28769 cat confdefs.h
>>conftest.
$ac_ext
28770 cat >>conftest.
$ac_ext <<_ACEOF
28771 /* end confdefs.h. */
28772 #include <$ac_header>
28774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28775 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28777 grep -v '^ *+' conftest.er1
>conftest.err
28779 cat conftest.err
>&5
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); } >/dev
/null
; then
28782 if test -s conftest.err
; then
28783 ac_cpp_err
=$ac_c_preproc_warn_flag
28790 if test -z "$ac_cpp_err"; then
28791 ac_header_preproc
=yes
28793 echo "$as_me: failed program was:" >&5
28794 sed 's/^/| /' conftest.
$ac_ext >&5
28796 ac_header_preproc
=no
28798 rm -f conftest.err conftest.
$ac_ext
28799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28800 echo "${ECHO_T}$ac_header_preproc" >&6
28802 # So? What about this header?
28803 case $ac_header_compiler:$ac_header_preproc in
28805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28808 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28811 ## ------------------------------------ ##
28812 ## Report this to bug-autoconf@gnu.org. ##
28813 ## ------------------------------------ ##
28816 sed "s/^/$as_me: WARNING: /" >&2
28819 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28820 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28821 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28822 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28824 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28827 ## ------------------------------------ ##
28828 ## Report this to bug-autoconf@gnu.org. ##
28829 ## ------------------------------------ ##
28832 sed "s/^/$as_me: WARNING: /" >&2
28835 echo "$as_me:$LINENO: checking for $ac_header" >&5
28836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28838 echo $ECHO_N "(cached) $ECHO_C" >&6
28840 eval "$as_ac_Header=$ac_header_preproc"
28842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28847 cat >>confdefs.h
<<_ACEOF
28848 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28851 EXTRALIBS_ESD
="-lesd"
28862 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
28863 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
28864 cat >conftest.
$ac_ext <<_ACEOF
28865 #line $LINENO "configure"
28868 cat confdefs.h
>>conftest.
$ac_ext
28869 cat >>conftest.
$ac_ext <<_ACEOF
28870 /* end confdefs.h. */
28872 #include <linux/cdrom.h>
28875 #include <sys/cdio.h>
28881 struct cdrom_tocentry entry, old_entry;
28886 rm -f conftest.
$ac_objext
28887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28888 (eval $ac_compile) 2>&5
28890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28891 (exit $ac_status); } &&
28892 { ac_try
='test -s conftest.$ac_objext'
28893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28894 (eval $ac_try) 2>&5
28896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28897 (exit $ac_status); }; }; then
28898 echo "$as_me:$LINENO: result: yes" >&5
28899 echo "${ECHO_T}yes" >&6
28900 cat >>confdefs.h
<<\_ACEOF
28901 #define HAVE_KNOWN_CDROM_INTERFACE 1
28905 echo "$as_me: failed program was:" >&5
28906 sed 's/^/| /' conftest.
$ac_ext >&5
28908 echo "$as_me:$LINENO: result: no" >&5
28909 echo "${ECHO_T}no" >&6
28911 rm -f conftest.
$ac_objext conftest.
$ac_ext
28914 cat >confcache
<<\_ACEOF
28915 # This file is a shell script that caches the results of configure
28916 # tests run on this system so they can be shared between configure
28917 # scripts and configure runs, see configure's option --config-cache.
28918 # It is not useful on other systems. If it contains results you don't
28919 # want to keep, you may remove or edit it.
28921 # config.status only pays attention to the cache file if you give it
28922 # the --recheck option to rerun configure.
28924 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28925 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28926 # following values.
28930 # The following way of writing the cache mishandles newlines in values,
28931 # but we know of no workaround that is simple, portable, and efficient.
28932 # So, don't put newlines in cache variables' values.
28933 # Ultrix sh set writes to stderr and can't be redirected directly,
28934 # and sets the high bit in the cache file unless we assign to the vars.
28937 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28939 # `set' does not quote correctly, so add quotes (double-quote
28940 # substitution turns \\\\ into \\, and sed turns \\ into \).
28943 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28946 # `set' quotes correctly as required by POSIX, so do not add quotes.
28948 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28955 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28957 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28959 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28960 if test -w $cache_file; then
28961 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28962 cat confcache
>$cache_file
28964 echo "not updating unwritable cache $cache_file"
28971 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
28977 if test "$wxUSE_THREADS" = "yes" ; then
28978 if test "$USE_BEOS" = 1; then
28979 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28980 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28985 if test "$wxUSE_THREADS" = "yes" ; then
28988 THREAD_OPTS
="-pthread"
28990 *-*-solaris2* | *-*-sunos4* )
28991 if test "x$GCC" = "xyes"; then
28992 THREAD_OPTS
="-pthreads $THREAD_OPTS"
28994 THREAD_OPTS
="-mt $THREAD_OPTS"
28998 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
29000 *-*-darwin* | *-*-cygwin* )
29004 THREAD_OPTS
="pthreads"
29007 if test "x$GCC" != "xyes"; then
29013 if test "x$GCC" = "xyes"; then
29019 if test "x$GCC" != "xyes"; then
29020 THREAD_OPTS
="-Ethread"
29025 THREAD_OPTS
="$THREAD_OPTS pthread none"
29028 for flag
in $THREAD_OPTS; do
29031 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29032 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29036 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29037 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29038 THREADS_CFLAGS
="$flag"
29042 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29043 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29044 THREADS_LINK
="-l$flag"
29049 save_CFLAGS
="$CFLAGS"
29050 LIBS
="$THREADS_LINK $LIBS"
29051 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
29053 cat >conftest.
$ac_ext <<_ACEOF
29054 #line $LINENO "configure"
29057 cat confdefs.h
>>conftest.
$ac_ext
29058 cat >>conftest.
$ac_ext <<_ACEOF
29059 /* end confdefs.h. */
29060 #include <pthread.h>
29064 pthread_create(0,0,0,0);
29069 rm -f conftest.
$ac_objext conftest
$ac_exeext
29070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29071 (eval $ac_link) 2>&5
29073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29074 (exit $ac_status); } &&
29075 { ac_try
='test -s conftest$ac_exeext'
29076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29077 (eval $ac_try) 2>&5
29079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29080 (exit $ac_status); }; }; then
29083 echo "$as_me: failed program was:" >&5
29084 sed 's/^/| /' conftest.
$ac_ext >&5
29087 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29090 CFLAGS
="$save_CFLAGS"
29092 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29093 echo "${ECHO_T}$THREADS_OK" >&6
29094 if test "x$THREADS_OK" = "xyes"; then
29102 if test "x$THREADS_OK" != "xyes"; then
29104 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29105 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29107 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
29108 LIBS
="$THREADS_LINK $LIBS"
29110 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29111 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29115 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
29116 flag
="-D_THREAD_SAFE"
29119 flag
="-D_THREAD_SAFE"
29122 flag
="-D_REENTRANT"
29123 if test "x$GCC" != "xyes"; then
29124 flag
="$flag -D_RWSTD_MULTI_THREAD"
29127 *solaris
* | alpha
*-osf*)
29128 flag
="-D_REENTRANT"
29131 echo "$as_me:$LINENO: result: ${flag}" >&5
29132 echo "${ECHO_T}${flag}" >&6
29133 if test "x$flag" != xno
; then
29134 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
29137 if test "x$THREADS_CFLAGS" != "x"; then
29138 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
29139 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
29144 if test "$wxUSE_THREADS" = "yes" ; then
29146 for ac_func
in thr_setconcurrency
29148 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29149 echo "$as_me:$LINENO: checking for $ac_func" >&5
29150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29151 if eval "test \"\${$as_ac_var+set}\" = set"; then
29152 echo $ECHO_N "(cached) $ECHO_C" >&6
29154 cat >conftest.
$ac_ext <<_ACEOF
29155 #line $LINENO "configure"
29158 cat confdefs.h
>>conftest.
$ac_ext
29159 cat >>conftest.
$ac_ext <<_ACEOF
29160 /* end confdefs.h. */
29161 /* System header to define __stub macros and hopefully few prototypes,
29162 which can conflict with char $ac_func (); below.
29163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29164 <limits.h> exists even on freestanding compilers. */
29166 # include <limits.h>
29168 # include <assert.h>
29170 /* Override any gcc2 internal prototype to avoid an error. */
29175 /* We use char because int might match the return type of a gcc2
29176 builtin and then its argument prototype would still apply. */
29178 /* The GNU C library defines this for functions which it implements
29179 to always fail with ENOSYS. Some functions are actually named
29180 something starting with __ and the normal name is an alias. */
29181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29184 char (*f) () = $ac_func;
29193 return f != $ac_func;
29198 rm -f conftest.
$ac_objext conftest
$ac_exeext
29199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29200 (eval $ac_link) 2>&5
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); } &&
29204 { ac_try
='test -s conftest$ac_exeext'
29205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29206 (eval $ac_try) 2>&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); }; }; then
29210 eval "$as_ac_var=yes"
29212 echo "$as_me: failed program was:" >&5
29213 sed 's/^/| /' conftest.
$ac_ext >&5
29215 eval "$as_ac_var=no"
29217 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29221 if test `eval echo '${'$as_ac_var'}'` = yes; then
29222 cat >>confdefs.h
<<_ACEOF
29223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29231 for ac_header
in sched.h
29233 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29235 echo "$as_me:$LINENO: checking for $ac_header" >&5
29236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29238 echo $ECHO_N "(cached) $ECHO_C" >&6
29240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29243 # Is the header compilable?
29244 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29245 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29246 cat >conftest.
$ac_ext <<_ACEOF
29247 #line $LINENO "configure"
29250 cat confdefs.h
>>conftest.
$ac_ext
29251 cat >>conftest.
$ac_ext <<_ACEOF
29252 /* end confdefs.h. */
29253 $ac_includes_default
29254 #include <$ac_header>
29256 rm -f conftest.
$ac_objext
29257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29258 (eval $ac_compile) 2>&5
29260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261 (exit $ac_status); } &&
29262 { ac_try
='test -s conftest.$ac_objext'
29263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29264 (eval $ac_try) 2>&5
29266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29267 (exit $ac_status); }; }; then
29268 ac_header_compiler
=yes
29270 echo "$as_me: failed program was:" >&5
29271 sed 's/^/| /' conftest.
$ac_ext >&5
29273 ac_header_compiler
=no
29275 rm -f conftest.
$ac_objext conftest.
$ac_ext
29276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29277 echo "${ECHO_T}$ac_header_compiler" >&6
29279 # Is the header present?
29280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29282 cat >conftest.
$ac_ext <<_ACEOF
29283 #line $LINENO "configure"
29286 cat confdefs.h
>>conftest.
$ac_ext
29287 cat >>conftest.
$ac_ext <<_ACEOF
29288 /* end confdefs.h. */
29289 #include <$ac_header>
29291 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29292 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29294 grep -v '^ *+' conftest.er1
>conftest.err
29296 cat conftest.err
>&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); } >/dev
/null
; then
29299 if test -s conftest.err
; then
29300 ac_cpp_err
=$ac_c_preproc_warn_flag
29307 if test -z "$ac_cpp_err"; then
29308 ac_header_preproc
=yes
29310 echo "$as_me: failed program was:" >&5
29311 sed 's/^/| /' conftest.
$ac_ext >&5
29313 ac_header_preproc
=no
29315 rm -f conftest.err conftest.
$ac_ext
29316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29317 echo "${ECHO_T}$ac_header_preproc" >&6
29319 # So? What about this header?
29320 case $ac_header_compiler:$ac_header_preproc in
29322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29325 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29328 ## ------------------------------------ ##
29329 ## Report this to bug-autoconf@gnu.org. ##
29330 ## ------------------------------------ ##
29333 sed "s/^/$as_me: WARNING: /" >&2
29336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29341 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29344 ## ------------------------------------ ##
29345 ## Report this to bug-autoconf@gnu.org. ##
29346 ## ------------------------------------ ##
29349 sed "s/^/$as_me: WARNING: /" >&2
29352 echo "$as_me:$LINENO: checking for $ac_header" >&5
29353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29355 echo $ECHO_N "(cached) $ECHO_C" >&6
29357 eval "$as_ac_Header=$ac_header_preproc"
29359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29363 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29364 cat >>confdefs.h
<<_ACEOF
29365 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29372 if test "$ac_cv_header_sched_h" = "yes"; then
29373 echo "$as_me:$LINENO: checking for sched_yield" >&5
29374 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29375 if test "${ac_cv_func_sched_yield+set}" = set; then
29376 echo $ECHO_N "(cached) $ECHO_C" >&6
29378 cat >conftest.
$ac_ext <<_ACEOF
29379 #line $LINENO "configure"
29382 cat confdefs.h
>>conftest.
$ac_ext
29383 cat >>conftest.
$ac_ext <<_ACEOF
29384 /* end confdefs.h. */
29385 /* System header to define __stub macros and hopefully few prototypes,
29386 which can conflict with char sched_yield (); below.
29387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29388 <limits.h> exists even on freestanding compilers. */
29390 # include <limits.h>
29392 # include <assert.h>
29394 /* Override any gcc2 internal prototype to avoid an error. */
29399 /* We use char because int might match the return type of a gcc2
29400 builtin and then its argument prototype would still apply. */
29401 char sched_yield ();
29402 /* The GNU C library defines this for functions which it implements
29403 to always fail with ENOSYS. Some functions are actually named
29404 something starting with __ and the normal name is an alias. */
29405 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29408 char (*f) () = sched_yield;
29417 return f != sched_yield;
29422 rm -f conftest.
$ac_objext conftest
$ac_exeext
29423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29424 (eval $ac_link) 2>&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } &&
29428 { ac_try
='test -s conftest$ac_exeext'
29429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29430 (eval $ac_try) 2>&5
29432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29433 (exit $ac_status); }; }; then
29434 ac_cv_func_sched_yield
=yes
29436 echo "$as_me: failed program was:" >&5
29437 sed 's/^/| /' conftest.
$ac_ext >&5
29439 ac_cv_func_sched_yield
=no
29441 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29443 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29444 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29445 if test $ac_cv_func_sched_yield = yes; then
29446 cat >>confdefs.h
<<\_ACEOF
29447 #define HAVE_SCHED_YIELD 1
29452 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29453 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29454 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29455 echo $ECHO_N "(cached) $ECHO_C" >&6
29457 ac_check_lib_save_LIBS
=$LIBS
29458 LIBS
="-lposix4 $LIBS"
29459 cat >conftest.
$ac_ext <<_ACEOF
29460 #line $LINENO "configure"
29463 cat confdefs.h
>>conftest.
$ac_ext
29464 cat >>conftest.
$ac_ext <<_ACEOF
29465 /* end confdefs.h. */
29467 /* Override any gcc2 internal prototype to avoid an error. */
29471 /* We use char because int might match the return type of a gcc2
29472 builtin and then its argument prototype would still apply. */
29473 char sched_yield ();
29482 rm -f conftest.
$ac_objext conftest
$ac_exeext
29483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29484 (eval $ac_link) 2>&5
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); } &&
29488 { ac_try
='test -s conftest$ac_exeext'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 ac_cv_lib_posix4_sched_yield
=yes
29496 echo "$as_me: failed program was:" >&5
29497 sed 's/^/| /' conftest.
$ac_ext >&5
29499 ac_cv_lib_posix4_sched_yield
=no
29501 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29502 LIBS
=$ac_check_lib_save_LIBS
29504 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29505 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29506 if test $ac_cv_lib_posix4_sched_yield = yes; then
29507 cat >>confdefs.h
<<\_ACEOF
29508 #define HAVE_SCHED_YIELD 1
29510 POSIX4_LINK
=" -lposix4"
29512 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29513 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29524 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29525 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29526 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29527 echo $ECHO_N "(cached) $ECHO_C" >&6
29529 cat >conftest.
$ac_ext <<_ACEOF
29530 #line $LINENO "configure"
29533 cat confdefs.h
>>conftest.
$ac_ext
29534 cat >>conftest.
$ac_ext <<_ACEOF
29535 /* end confdefs.h. */
29536 /* System header to define __stub macros and hopefully few prototypes,
29537 which can conflict with char pthread_attr_getschedpolicy (); below.
29538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29539 <limits.h> exists even on freestanding compilers. */
29541 # include <limits.h>
29543 # include <assert.h>
29545 /* Override any gcc2 internal prototype to avoid an error. */
29550 /* We use char because int might match the return type of a gcc2
29551 builtin and then its argument prototype would still apply. */
29552 char pthread_attr_getschedpolicy ();
29553 /* The GNU C library defines this for functions which it implements
29554 to always fail with ENOSYS. Some functions are actually named
29555 something starting with __ and the normal name is an alias. */
29556 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29559 char (*f) () = pthread_attr_getschedpolicy;
29568 return f != pthread_attr_getschedpolicy;
29573 rm -f conftest.
$ac_objext conftest
$ac_exeext
29574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29575 (eval $ac_link) 2>&5
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); } &&
29579 { ac_try
='test -s conftest$ac_exeext'
29580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29581 (eval $ac_try) 2>&5
29583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584 (exit $ac_status); }; }; then
29585 ac_cv_func_pthread_attr_getschedpolicy
=yes
29587 echo "$as_me: failed program was:" >&5
29588 sed 's/^/| /' conftest.
$ac_ext >&5
29590 ac_cv_func_pthread_attr_getschedpolicy
=no
29592 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29594 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29595 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29596 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29597 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29598 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29599 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29600 echo $ECHO_N "(cached) $ECHO_C" >&6
29602 cat >conftest.
$ac_ext <<_ACEOF
29603 #line $LINENO "configure"
29606 cat confdefs.h
>>conftest.
$ac_ext
29607 cat >>conftest.
$ac_ext <<_ACEOF
29608 /* end confdefs.h. */
29609 /* System header to define __stub macros and hopefully few prototypes,
29610 which can conflict with char pthread_attr_setschedparam (); below.
29611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29612 <limits.h> exists even on freestanding compilers. */
29614 # include <limits.h>
29616 # include <assert.h>
29618 /* Override any gcc2 internal prototype to avoid an error. */
29623 /* We use char because int might match the return type of a gcc2
29624 builtin and then its argument prototype would still apply. */
29625 char pthread_attr_setschedparam ();
29626 /* The GNU C library defines this for functions which it implements
29627 to always fail with ENOSYS. Some functions are actually named
29628 something starting with __ and the normal name is an alias. */
29629 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29632 char (*f) () = pthread_attr_setschedparam;
29641 return f != pthread_attr_setschedparam;
29646 rm -f conftest.
$ac_objext conftest
$ac_exeext
29647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29648 (eval $ac_link) 2>&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } &&
29652 { ac_try
='test -s conftest$ac_exeext'
29653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29654 (eval $ac_try) 2>&5
29656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29657 (exit $ac_status); }; }; then
29658 ac_cv_func_pthread_attr_setschedparam
=yes
29660 echo "$as_me: failed program was:" >&5
29661 sed 's/^/| /' conftest.
$ac_ext >&5
29663 ac_cv_func_pthread_attr_setschedparam
=no
29665 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29667 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29668 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29669 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29670 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29671 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29672 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29673 echo $ECHO_N "(cached) $ECHO_C" >&6
29675 cat >conftest.
$ac_ext <<_ACEOF
29676 #line $LINENO "configure"
29679 cat confdefs.h
>>conftest.
$ac_ext
29680 cat >>conftest.
$ac_ext <<_ACEOF
29681 /* end confdefs.h. */
29682 /* System header to define __stub macros and hopefully few prototypes,
29683 which can conflict with char sched_get_priority_max (); below.
29684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29685 <limits.h> exists even on freestanding compilers. */
29687 # include <limits.h>
29689 # include <assert.h>
29691 /* Override any gcc2 internal prototype to avoid an error. */
29696 /* We use char because int might match the return type of a gcc2
29697 builtin and then its argument prototype would still apply. */
29698 char sched_get_priority_max ();
29699 /* The GNU C library defines this for functions which it implements
29700 to always fail with ENOSYS. Some functions are actually named
29701 something starting with __ and the normal name is an alias. */
29702 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29705 char (*f) () = sched_get_priority_max;
29714 return f != sched_get_priority_max;
29719 rm -f conftest.
$ac_objext conftest
$ac_exeext
29720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29721 (eval $ac_link) 2>&5
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); } &&
29725 { ac_try
='test -s conftest$ac_exeext'
29726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29727 (eval $ac_try) 2>&5
29729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29730 (exit $ac_status); }; }; then
29731 ac_cv_func_sched_get_priority_max
=yes
29733 echo "$as_me: failed program was:" >&5
29734 sed 's/^/| /' conftest.
$ac_ext >&5
29736 ac_cv_func_sched_get_priority_max
=no
29738 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29740 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29741 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29742 if test $ac_cv_func_sched_get_priority_max = yes; then
29745 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29746 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29747 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29748 echo $ECHO_N "(cached) $ECHO_C" >&6
29750 ac_check_lib_save_LIBS
=$LIBS
29751 LIBS
="-lposix4 $LIBS"
29752 cat >conftest.
$ac_ext <<_ACEOF
29753 #line $LINENO "configure"
29756 cat confdefs.h
>>conftest.
$ac_ext
29757 cat >>conftest.
$ac_ext <<_ACEOF
29758 /* end confdefs.h. */
29760 /* Override any gcc2 internal prototype to avoid an error. */
29764 /* We use char because int might match the return type of a gcc2
29765 builtin and then its argument prototype would still apply. */
29766 char sched_get_priority_max ();
29770 sched_get_priority_max ();
29775 rm -f conftest.
$ac_objext conftest
$ac_exeext
29776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29777 (eval $ac_link) 2>&5
29779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29780 (exit $ac_status); } &&
29781 { ac_try
='test -s conftest$ac_exeext'
29782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29783 (eval $ac_try) 2>&5
29785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29786 (exit $ac_status); }; }; then
29787 ac_cv_lib_posix4_sched_get_priority_max
=yes
29789 echo "$as_me: failed program was:" >&5
29790 sed 's/^/| /' conftest.
$ac_ext >&5
29792 ac_cv_lib_posix4_sched_get_priority_max
=no
29794 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29795 LIBS
=$ac_check_lib_save_LIBS
29797 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29798 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29799 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29802 POSIX4_LINK
=" -lposix4"
29816 if test "$HAVE_PRIOR_FUNCS" = 1; then
29817 cat >>confdefs.h
<<\_ACEOF
29818 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29822 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29823 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29826 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29827 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29828 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29829 echo $ECHO_N "(cached) $ECHO_C" >&6
29831 cat >conftest.
$ac_ext <<_ACEOF
29832 #line $LINENO "configure"
29835 cat confdefs.h
>>conftest.
$ac_ext
29836 cat >>conftest.
$ac_ext <<_ACEOF
29837 /* end confdefs.h. */
29838 /* System header to define __stub macros and hopefully few prototypes,
29839 which can conflict with char pthread_cancel (); below.
29840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29841 <limits.h> exists even on freestanding compilers. */
29843 # include <limits.h>
29845 # include <assert.h>
29847 /* Override any gcc2 internal prototype to avoid an error. */
29852 /* We use char because int might match the return type of a gcc2
29853 builtin and then its argument prototype would still apply. */
29854 char pthread_cancel ();
29855 /* The GNU C library defines this for functions which it implements
29856 to always fail with ENOSYS. Some functions are actually named
29857 something starting with __ and the normal name is an alias. */
29858 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29861 char (*f) () = pthread_cancel;
29870 return f != pthread_cancel;
29875 rm -f conftest.
$ac_objext conftest
$ac_exeext
29876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29877 (eval $ac_link) 2>&5
29879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29880 (exit $ac_status); } &&
29881 { ac_try
='test -s conftest$ac_exeext'
29882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29883 (eval $ac_try) 2>&5
29885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886 (exit $ac_status); }; }; then
29887 ac_cv_func_pthread_cancel
=yes
29889 echo "$as_me: failed program was:" >&5
29890 sed 's/^/| /' conftest.
$ac_ext >&5
29892 ac_cv_func_pthread_cancel
=no
29894 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29896 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29897 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29898 if test $ac_cv_func_pthread_cancel = yes; then
29899 cat >>confdefs.h
<<\_ACEOF
29900 #define HAVE_PTHREAD_CANCEL 1
29904 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29905 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29911 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29912 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29913 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29914 echo $ECHO_N "(cached) $ECHO_C" >&6
29917 cat >conftest.
$ac_ext <<_ACEOF
29918 #line $LINENO "configure"
29921 cat confdefs.h
>>conftest.
$ac_ext
29922 cat >>conftest.
$ac_ext <<_ACEOF
29923 /* end confdefs.h. */
29924 #include <pthread.h>
29929 pthread_mutexattr_t attr;
29930 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29936 rm -f conftest.
$ac_objext
29937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29938 (eval $ac_compile) 2>&5
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); } &&
29942 { ac_try
='test -s conftest.$ac_objext'
29943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29944 (eval $ac_try) 2>&5
29946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29947 (exit $ac_status); }; }; then
29949 wx_cv_type_pthread_mutexattr_t
=yes
29952 echo "$as_me: failed program was:" >&5
29953 sed 's/^/| /' conftest.
$ac_ext >&5
29956 wx_cv_type_pthread_mutexattr_t
=no
29960 rm -f conftest.
$ac_objext conftest.
$ac_ext
29963 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29964 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29966 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29967 cat >>confdefs.h
<<\_ACEOF
29968 #define HAVE_PTHREAD_MUTEXATTR_T 1
29972 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29973 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29974 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29975 echo $ECHO_N "(cached) $ECHO_C" >&6
29978 cat >conftest.
$ac_ext <<_ACEOF
29979 #line $LINENO "configure"
29982 cat confdefs.h
>>conftest.
$ac_ext
29983 cat >>conftest.
$ac_ext <<_ACEOF
29984 /* end confdefs.h. */
29985 #include <pthread.h>
29990 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29996 rm -f conftest.
$ac_objext
29997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29998 (eval $ac_compile) 2>&5
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); } &&
30002 { ac_try
='test -s conftest.$ac_objext'
30003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30004 (eval $ac_try) 2>&5
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); }; }; then
30009 wx_cv_type_pthread_rec_mutex_init
=yes
30012 echo "$as_me: failed program was:" >&5
30013 sed 's/^/| /' conftest.
$ac_ext >&5
30016 wx_cv_type_pthread_rec_mutex_init
=no
30020 rm -f conftest.
$ac_objext conftest.
$ac_ext
30023 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30024 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30025 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30026 cat >>confdefs.h
<<\_ACEOF
30027 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30031 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30032 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30038 if test "$wxUSE_THREADS" = "yes" ; then
30041 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30042 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30043 if test "${wx_cv_cflags_mthread+set}" = set; then
30044 echo $ECHO_N "(cached) $ECHO_C" >&6
30047 CFLAGS_OLD
="$CFLAGS"
30048 CFLAGS
="$CFLAGS -mthreads"
30049 cat >conftest.
$ac_ext <<_ACEOF
30050 #line $LINENO "configure"
30053 cat confdefs.h
>>conftest.
$ac_ext
30054 cat >>conftest.
$ac_ext <<_ACEOF
30055 /* end confdefs.h. */
30065 rm -f conftest.
$ac_objext
30066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30067 (eval $ac_compile) 2>&5
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); } &&
30071 { ac_try
='test -s conftest.$ac_objext'
30072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30073 (eval $ac_try) 2>&5
30075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30076 (exit $ac_status); }; }; then
30077 wx_cv_cflags_mthread
=yes
30079 echo "$as_me: failed program was:" >&5
30080 sed 's/^/| /' conftest.
$ac_ext >&5
30082 wx_cv_cflags_mthread
=no
30085 rm -f conftest.
$ac_objext conftest.
$ac_ext
30089 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30090 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30092 if test "$wx_cv_cflags_mthread" = "yes"; then
30093 CXXFLAGS
="$CXXFLAGS -mthreads"
30094 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
30095 LDFLAGS
="$LDFLAGS -mthreads"
30097 CFLAGS
="$CFLAGS_OLD"
30101 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30102 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30103 LDFLAGS
="$LDFLAGS -Zmt"
30109 if test "$wxUSE_THREADS" = "yes"; then
30110 cat >>confdefs.h
<<\_ACEOF
30111 #define wxUSE_THREADS 1
30115 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
30117 if test "$ac_cv_func_strtok_r" = "yes"; then
30118 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30119 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30120 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30121 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
30122 echo "$as_me:$LINENO: result: yes" >&5
30123 echo "${ECHO_T}yes" >&6
30125 echo "$as_me:$LINENO: result: no" >&5
30126 echo "${ECHO_T}no" >&6
30131 if test "$WXGTK20" = 1 ; then
30132 cat >>confdefs.h
<<_ACEOF
30133 #define __WXGTK20__ $WXGTK20
30139 if test "$WXGTK12" = 1 ; then
30140 cat >>confdefs.h
<<_ACEOF
30141 #define __WXGTK12__ $WXGTK12
30146 if test "$WXGTK127" = 1 ; then
30147 cat >>confdefs.h
<<_ACEOF
30148 #define __WXGTK127__ $WXGTK127
30155 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30160 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30161 wxUSE_DEBUG_INFO
=yes
30165 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30166 cat >>confdefs.h
<<\_ACEOF
30170 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30172 if test "$wxUSE_GTK" = 1 ; then
30173 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30177 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30178 cat >>confdefs.h
<<\_ACEOF
30179 #define wxUSE_MEMORY_TRACING 1
30182 cat >>confdefs.h
<<\_ACEOF
30183 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30186 cat >>confdefs.h
<<\_ACEOF
30187 #define wxUSE_DEBUG_NEW_ALWAYS 1
30190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30193 if test "$wxUSE_DMALLOC" = "yes" ; then
30194 DMALLOC_LIBS
="-ldmalloc"
30198 if test "$wxUSE_PROFILE" = "yes" ; then
30203 CODE_GEN_FLAGS_CXX
=
30204 if test "$GCC" = "yes" ; then
30205 if test "$wxUSE_NO_RTTI" = "yes" ; then
30206 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30208 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30209 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30211 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30212 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30217 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30220 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30226 if test "$wxUSE_OPTIMISE" = "no" ; then
30227 if test "$GCC" = yes ; then
30231 if test "$GCC" = yes ; then
30235 i586
-*-*|i686
-*-* )
30236 OPTIMISE
="${OPTIMISE} "
30245 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30246 cat >>confdefs.h
<<\_ACEOF
30247 #define WXWIN_COMPATIBILITY_2_2 1
30251 WXWIN_COMPATIBILITY_2_4
="yes"
30254 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30255 cat >>confdefs.h
<<\_ACEOF
30256 #define WXWIN_COMPATIBILITY_2_4 1
30262 if test "$wxUSE_GUI" = "yes"; then
30263 cat >>confdefs.h
<<\_ACEOF
30264 #define wxUSE_GUI 1
30269 cat >>confdefs.h
<<\_ACEOF
30270 #define wxUSE_NOGUI 1
30276 if test "$wxUSE_UNIX" = "yes"; then
30277 cat >>confdefs.h
<<\_ACEOF
30278 #define wxUSE_UNIX 1
30284 if test "$wxUSE_STL" = "yes"; then
30285 cat >>confdefs.h
<<\_ACEOF
30286 #define wxUSE_STL 1
30291 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30292 cat >>confdefs.h
<<\_ACEOF
30293 #define wxUSE_APPLE_IEEE 1
30298 if test "$wxUSE_TIMER" = "yes"; then
30299 cat >>confdefs.h
<<\_ACEOF
30300 #define wxUSE_TIMER 1
30305 if test "$wxUSE_WAVE" = "yes"; then
30306 cat >>confdefs.h
<<\_ACEOF
30307 #define wxUSE_WAVE 1
30312 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30313 cat >>confdefs.h
<<\_ACEOF
30314 #define wxUSE_CMDLINE_PARSER 1
30319 if test "$wxUSE_STOPWATCH" = "yes"; then
30320 cat >>confdefs.h
<<\_ACEOF
30321 #define wxUSE_STOPWATCH 1
30326 if test "$wxUSE_DATETIME" = "yes"; then
30327 cat >>confdefs.h
<<\_ACEOF
30328 #define wxUSE_DATETIME 1
30333 if test "$wxUSE_FILE" = "yes"; then
30334 cat >>confdefs.h
<<\_ACEOF
30335 #define wxUSE_FILE 1
30340 if test "$wxUSE_FFILE" = "yes"; then
30341 cat >>confdefs.h
<<\_ACEOF
30342 #define wxUSE_FFILE 1
30347 if test "$wxUSE_FILESYSTEM" = "yes"; then
30348 cat >>confdefs.h
<<\_ACEOF
30349 #define wxUSE_FILESYSTEM 1
30354 if test "$wxUSE_FS_ZIP" = "yes"; then
30355 cat >>confdefs.h
<<\_ACEOF
30356 #define wxUSE_FS_ZIP 1
30361 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30362 cat >>confdefs.h
<<\_ACEOF
30363 #define wxUSE_ZIPSTREAM 1
30368 if test "$wxUSE_GZSTREAM" = "yes"; then
30369 cat >>confdefs.h
<<\_ACEOF
30370 #define wxUSE_GZSTREAM 1
30375 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30376 cat >>confdefs.h
<<\_ACEOF
30377 #define wxUSE_ON_FATAL_EXCEPTION 1
30382 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30383 cat >>confdefs.h
<<\_ACEOF
30384 #define wxUSE_SNGLINST_CHECKER 1
30389 if test "$wxUSE_BUSYINFO" = "yes"; then
30390 cat >>confdefs.h
<<\_ACEOF
30391 #define wxUSE_BUSYINFO 1
30396 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30397 cat >>confdefs.h
<<\_ACEOF
30398 #define wxUSE_STD_IOSTREAM 1
30403 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30404 cat >>confdefs.h
<<\_ACEOF
30405 #define wxUSE_TEXTBUFFER 1
30410 if test "$wxUSE_TEXTFILE" = "yes"; then
30411 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30412 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30413 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30415 cat >>confdefs.h
<<\_ACEOF
30416 #define wxUSE_TEXTFILE 1
30422 if test "$wxUSE_CONFIG" = "yes" ; then
30423 if test "$wxUSE_TEXTFILE" != "yes"; then
30424 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30425 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30427 cat >>confdefs.h
<<\_ACEOF
30428 #define wxUSE_CONFIG 1
30431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30435 if test "$wxUSE_INTL" = "yes" ; then
30436 if test "$wxUSE_FILE" != "yes"; then
30437 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30438 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30440 cat >>confdefs.h
<<\_ACEOF
30441 #define wxUSE_INTL 1
30444 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30445 GUIDIST
="$GUIDIST INTL_DIST"
30449 if test "$wxUSE_LOG" = "yes"; then
30450 cat >>confdefs.h
<<\_ACEOF
30451 #define wxUSE_LOG 1
30455 if test "$wxUSE_LOGGUI" = "yes"; then
30456 cat >>confdefs.h
<<\_ACEOF
30457 #define wxUSE_LOGGUI 1
30462 if test "$wxUSE_LOGWINDOW" = "yes"; then
30463 cat >>confdefs.h
<<\_ACEOF
30464 #define wxUSE_LOGWINDOW 1
30469 if test "$wxUSE_LOGDIALOG" = "yes"; then
30470 cat >>confdefs.h
<<\_ACEOF
30471 #define wxUSE_LOG_DIALOG 1
30477 if test "$wxUSE_LONGLONG" = "yes"; then
30478 cat >>confdefs.h
<<\_ACEOF
30479 #define wxUSE_LONGLONG 1
30484 if test "$wxUSE_GEOMETRY" = "yes"; then
30485 cat >>confdefs.h
<<\_ACEOF
30486 #define wxUSE_GEOMETRY 1
30491 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30492 cat >>confdefs.h
<<\_ACEOF
30493 #define wxUSE_DIALUP_MANAGER 1
30496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30499 if test "$wxUSE_STREAMS" = "yes" ; then
30500 cat >>confdefs.h
<<\_ACEOF
30501 #define wxUSE_STREAMS 1
30507 if test "$wxUSE_DATETIME" = "yes"; then
30509 for ac_func
in strptime
30511 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30512 echo "$as_me:$LINENO: checking for $ac_func" >&5
30513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30514 if eval "test \"\${$as_ac_var+set}\" = set"; then
30515 echo $ECHO_N "(cached) $ECHO_C" >&6
30517 cat >conftest.
$ac_ext <<_ACEOF
30518 #line $LINENO "configure"
30521 cat confdefs.h
>>conftest.
$ac_ext
30522 cat >>conftest.
$ac_ext <<_ACEOF
30523 /* end confdefs.h. */
30524 /* System header to define __stub macros and hopefully few prototypes,
30525 which can conflict with char $ac_func (); below.
30526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30527 <limits.h> exists even on freestanding compilers. */
30529 # include <limits.h>
30531 # include <assert.h>
30533 /* Override any gcc2 internal prototype to avoid an error. */
30538 /* We use char because int might match the return type of a gcc2
30539 builtin and then its argument prototype would still apply. */
30541 /* The GNU C library defines this for functions which it implements
30542 to always fail with ENOSYS. Some functions are actually named
30543 something starting with __ and the normal name is an alias. */
30544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30547 char (*f) () = $ac_func;
30556 return f != $ac_func;
30561 rm -f conftest.
$ac_objext conftest
$ac_exeext
30562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30563 (eval $ac_link) 2>&5
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); } &&
30567 { ac_try
='test -s conftest$ac_exeext'
30568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30569 (eval $ac_try) 2>&5
30571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30572 (exit $ac_status); }; }; then
30573 eval "$as_ac_var=yes"
30575 echo "$as_me: failed program was:" >&5
30576 sed 's/^/| /' conftest.
$ac_ext >&5
30578 eval "$as_ac_var=no"
30580 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30584 if test `eval echo '${'$as_ac_var'}'` = yes; then
30585 cat >>confdefs.h
<<_ACEOF
30586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30593 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30594 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30595 if test "${wx_cv_var_timezone+set}" = set; then
30596 echo $ECHO_N "(cached) $ECHO_C" >&6
30599 cat >conftest.
$ac_ext <<_ACEOF
30600 #line $LINENO "configure"
30603 cat confdefs.h
>>conftest.
$ac_ext
30604 cat >>conftest.
$ac_ext <<_ACEOF
30605 /* end confdefs.h. */
30620 rm -f conftest.
$ac_objext
30621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30622 (eval $ac_compile) 2>&5
30624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30625 (exit $ac_status); } &&
30626 { ac_try
='test -s conftest.$ac_objext'
30627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30628 (eval $ac_try) 2>&5
30630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631 (exit $ac_status); }; }; then
30633 wx_cv_var_timezone
=timezone
30636 echo "$as_me: failed program was:" >&5
30637 sed 's/^/| /' conftest.
$ac_ext >&5
30640 cat >conftest.
$ac_ext <<_ACEOF
30641 #line $LINENO "configure"
30644 cat confdefs.h
>>conftest.
$ac_ext
30645 cat >>conftest.
$ac_ext <<_ACEOF
30646 /* end confdefs.h. */
30661 rm -f conftest.
$ac_objext
30662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30663 (eval $ac_compile) 2>&5
30665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30666 (exit $ac_status); } &&
30667 { ac_try
='test -s conftest.$ac_objext'
30668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30669 (eval $ac_try) 2>&5
30671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30672 (exit $ac_status); }; }; then
30674 wx_cv_var_timezone
=_timezone
30677 echo "$as_me: failed program was:" >&5
30678 sed 's/^/| /' conftest.
$ac_ext >&5
30681 cat >conftest.
$ac_ext <<_ACEOF
30682 #line $LINENO "configure"
30685 cat confdefs.h
>>conftest.
$ac_ext
30686 cat >>conftest.
$ac_ext <<_ACEOF
30687 /* end confdefs.h. */
30702 rm -f conftest.
$ac_objext
30703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30704 (eval $ac_compile) 2>&5
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); } &&
30708 { ac_try
='test -s conftest.$ac_objext'
30709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30710 (eval $ac_try) 2>&5
30712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30713 (exit $ac_status); }; }; then
30715 wx_cv_var_timezone
=__timezone
30718 echo "$as_me: failed program was:" >&5
30719 sed 's/^/| /' conftest.
$ac_ext >&5
30722 if test "$USE_DOS" = 0 ; then
30723 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30724 echo "$as_me: WARNING: no timezone variable" >&2;}
30729 rm -f conftest.
$ac_objext conftest.
$ac_ext
30733 rm -f conftest.
$ac_objext conftest.
$ac_ext
30737 rm -f conftest.
$ac_objext conftest.
$ac_ext
30741 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30742 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30744 if test "x$wx_cv_var_timezone" != x
; then
30745 cat >>confdefs.h
<<_ACEOF
30746 #define WX_TIMEZONE $wx_cv_var_timezone
30752 for ac_func
in localtime
30754 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30755 echo "$as_me:$LINENO: checking for $ac_func" >&5
30756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30757 if eval "test \"\${$as_ac_var+set}\" = set"; then
30758 echo $ECHO_N "(cached) $ECHO_C" >&6
30760 cat >conftest.
$ac_ext <<_ACEOF
30761 #line $LINENO "configure"
30764 cat confdefs.h
>>conftest.
$ac_ext
30765 cat >>conftest.
$ac_ext <<_ACEOF
30766 /* end confdefs.h. */
30767 /* System header to define __stub macros and hopefully few prototypes,
30768 which can conflict with char $ac_func (); below.
30769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30770 <limits.h> exists even on freestanding compilers. */
30772 # include <limits.h>
30774 # include <assert.h>
30776 /* Override any gcc2 internal prototype to avoid an error. */
30781 /* We use char because int might match the return type of a gcc2
30782 builtin and then its argument prototype would still apply. */
30784 /* The GNU C library defines this for functions which it implements
30785 to always fail with ENOSYS. Some functions are actually named
30786 something starting with __ and the normal name is an alias. */
30787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30790 char (*f) () = $ac_func;
30799 return f != $ac_func;
30804 rm -f conftest.
$ac_objext conftest
$ac_exeext
30805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30806 (eval $ac_link) 2>&5
30808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30809 (exit $ac_status); } &&
30810 { ac_try
='test -s conftest$ac_exeext'
30811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30812 (eval $ac_try) 2>&5
30814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30815 (exit $ac_status); }; }; then
30816 eval "$as_ac_var=yes"
30818 echo "$as_me: failed program was:" >&5
30819 sed 's/^/| /' conftest.
$ac_ext >&5
30821 eval "$as_ac_var=no"
30823 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30827 if test `eval echo '${'$as_ac_var'}'` = yes; then
30828 cat >>confdefs.h
<<_ACEOF
30829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30836 if test "$ac_cv_func_localtime" = "yes"; then
30837 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30838 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30839 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30840 echo $ECHO_N "(cached) $ECHO_C" >&6
30843 cat >conftest.
$ac_ext <<_ACEOF
30844 #line $LINENO "configure"
30847 cat confdefs.h
>>conftest.
$ac_ext
30848 cat >>conftest.
$ac_ext <<_ACEOF
30849 /* end confdefs.h. */
30864 rm -f conftest.
$ac_objext
30865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30866 (eval $ac_compile) 2>&5
30868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30869 (exit $ac_status); } &&
30870 { ac_try
='test -s conftest.$ac_objext'
30871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30872 (eval $ac_try) 2>&5
30874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30875 (exit $ac_status); }; }; then
30877 wx_cv_struct_tm_has_gmtoff
=yes
30880 echo "$as_me: failed program was:" >&5
30881 sed 's/^/| /' conftest.
$ac_ext >&5
30883 wx_cv_struct_tm_has_gmtoff
=no
30886 rm -f conftest.
$ac_objext conftest.
$ac_ext
30889 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30890 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30893 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30894 cat >>confdefs.h
<<\_ACEOF
30895 #define WX_GMTOFF_IN_TM 1
30902 for ac_func
in gettimeofday ftime
30904 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30905 echo "$as_me:$LINENO: checking for $ac_func" >&5
30906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30907 if eval "test \"\${$as_ac_var+set}\" = set"; then
30908 echo $ECHO_N "(cached) $ECHO_C" >&6
30910 cat >conftest.
$ac_ext <<_ACEOF
30911 #line $LINENO "configure"
30914 cat confdefs.h
>>conftest.
$ac_ext
30915 cat >>conftest.
$ac_ext <<_ACEOF
30916 /* end confdefs.h. */
30917 /* System header to define __stub macros and hopefully few prototypes,
30918 which can conflict with char $ac_func (); below.
30919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30920 <limits.h> exists even on freestanding compilers. */
30922 # include <limits.h>
30924 # include <assert.h>
30926 /* Override any gcc2 internal prototype to avoid an error. */
30931 /* We use char because int might match the return type of a gcc2
30932 builtin and then its argument prototype would still apply. */
30934 /* The GNU C library defines this for functions which it implements
30935 to always fail with ENOSYS. Some functions are actually named
30936 something starting with __ and the normal name is an alias. */
30937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30940 char (*f) () = $ac_func;
30949 return f != $ac_func;
30954 rm -f conftest.
$ac_objext conftest
$ac_exeext
30955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30956 (eval $ac_link) 2>&5
30958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30959 (exit $ac_status); } &&
30960 { ac_try
='test -s conftest$ac_exeext'
30961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30962 (eval $ac_try) 2>&5
30964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30965 (exit $ac_status); }; }; then
30966 eval "$as_ac_var=yes"
30968 echo "$as_me: failed program was:" >&5
30969 sed 's/^/| /' conftest.
$ac_ext >&5
30971 eval "$as_ac_var=no"
30973 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30977 if test `eval echo '${'$as_ac_var'}'` = yes; then
30978 cat >>confdefs.h
<<_ACEOF
30979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30986 if test "$ac_cv_func_gettimeofday" = "yes"; then
30987 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30988 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30989 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30990 echo $ECHO_N "(cached) $ECHO_C" >&6
30996 ac_cpp
='$CXXCPP $CPPFLAGS'
30997 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30998 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30999 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31002 cat >conftest.
$ac_ext <<_ACEOF
31003 #line $LINENO "configure"
31006 cat confdefs.h
>>conftest.
$ac_ext
31007 cat >>conftest.
$ac_ext <<_ACEOF
31008 /* end confdefs.h. */
31010 #include <sys/time.h>
31011 #include <unistd.h>
31018 gettimeofday(&tv, NULL);
31024 rm -f conftest.
$ac_objext
31025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31026 (eval $ac_compile) 2>&5
31028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31029 (exit $ac_status); } &&
31030 { ac_try
='test -s conftest.$ac_objext'
31031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31032 (eval $ac_try) 2>&5
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); }; }; then
31036 wx_cv_func_gettimeofday_has_2_args
=yes
31038 echo "$as_me: failed program was:" >&5
31039 sed 's/^/| /' conftest.
$ac_ext >&5
31041 cat >conftest.
$ac_ext <<_ACEOF
31042 #line $LINENO "configure"
31045 cat confdefs.h
>>conftest.
$ac_ext
31046 cat >>conftest.
$ac_ext <<_ACEOF
31047 /* end confdefs.h. */
31049 #include <sys/time.h>
31050 #include <unistd.h>
31063 rm -f conftest.
$ac_objext
31064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31065 (eval $ac_compile) 2>&5
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); } &&
31069 { ac_try
='test -s conftest.$ac_objext'
31070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31071 (eval $ac_try) 2>&5
31073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074 (exit $ac_status); }; }; then
31075 wx_cv_func_gettimeofday_has_2_args
=no
31077 echo "$as_me: failed program was:" >&5
31078 sed 's/^/| /' conftest.
$ac_ext >&5
31081 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31082 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31083 wx_cv_func_gettimeofday_has_2_args
=unknown
31087 rm -f conftest.
$ac_objext conftest.
$ac_ext
31090 rm -f conftest.
$ac_objext conftest.
$ac_ext
31092 ac_cpp
='$CPP $CPPFLAGS'
31093 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31094 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31095 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31099 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31100 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31102 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31103 cat >>confdefs.h
<<\_ACEOF
31104 #define WX_GETTIMEOFDAY_NO_TZ 1
31110 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
31114 if test "$wxUSE_SOCKETS" = "yes"; then
31115 if test "$wxUSE_MGL" = "1"; then
31116 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31117 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31120 if test "$wxUSE_COCOA" = "1"; then
31121 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31122 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31127 if test "$wxUSE_SOCKETS" = "yes"; then
31128 if test "$TOOLKIT" != "MSW"; then
31129 echo "$as_me:$LINENO: checking for socket" >&5
31130 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31131 if test "${ac_cv_func_socket+set}" = set; then
31132 echo $ECHO_N "(cached) $ECHO_C" >&6
31134 cat >conftest.
$ac_ext <<_ACEOF
31135 #line $LINENO "configure"
31138 cat confdefs.h
>>conftest.
$ac_ext
31139 cat >>conftest.
$ac_ext <<_ACEOF
31140 /* end confdefs.h. */
31141 /* System header to define __stub macros and hopefully few prototypes,
31142 which can conflict with char socket (); below.
31143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31144 <limits.h> exists even on freestanding compilers. */
31146 # include <limits.h>
31148 # include <assert.h>
31150 /* Override any gcc2 internal prototype to avoid an error. */
31155 /* We use char because int might match the return type of a gcc2
31156 builtin and then its argument prototype would still apply. */
31158 /* The GNU C library defines this for functions which it implements
31159 to always fail with ENOSYS. Some functions are actually named
31160 something starting with __ and the normal name is an alias. */
31161 #if defined (__stub_socket) || defined (__stub___socket)
31164 char (*f) () = socket;
31173 return f != socket;
31178 rm -f conftest.
$ac_objext conftest
$ac_exeext
31179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31180 (eval $ac_link) 2>&5
31182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183 (exit $ac_status); } &&
31184 { ac_try
='test -s conftest$ac_exeext'
31185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31186 (eval $ac_try) 2>&5
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); }; }; then
31190 ac_cv_func_socket
=yes
31192 echo "$as_me: failed program was:" >&5
31193 sed 's/^/| /' conftest.
$ac_ext >&5
31195 ac_cv_func_socket
=no
31197 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31199 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31200 echo "${ECHO_T}$ac_cv_func_socket" >&6
31201 if test $ac_cv_func_socket = yes; then
31205 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31206 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31207 if test "${ac_cv_lib_socket_socket+set}" = set; then
31208 echo $ECHO_N "(cached) $ECHO_C" >&6
31210 ac_check_lib_save_LIBS
=$LIBS
31211 LIBS
="-lsocket $LIBS"
31212 cat >conftest.
$ac_ext <<_ACEOF
31213 #line $LINENO "configure"
31216 cat confdefs.h
>>conftest.
$ac_ext
31217 cat >>conftest.
$ac_ext <<_ACEOF
31218 /* end confdefs.h. */
31220 /* Override any gcc2 internal prototype to avoid an error. */
31224 /* We use char because int might match the return type of a gcc2
31225 builtin and then its argument prototype would still apply. */
31235 rm -f conftest.
$ac_objext conftest
$ac_exeext
31236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31237 (eval $ac_link) 2>&5
31239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31240 (exit $ac_status); } &&
31241 { ac_try
='test -s conftest$ac_exeext'
31242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31243 (eval $ac_try) 2>&5
31245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246 (exit $ac_status); }; }; then
31247 ac_cv_lib_socket_socket
=yes
31249 echo "$as_me: failed program was:" >&5
31250 sed 's/^/| /' conftest.
$ac_ext >&5
31252 ac_cv_lib_socket_socket
=no
31254 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31255 LIBS
=$ac_check_lib_save_LIBS
31257 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31258 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31259 if test $ac_cv_lib_socket_socket = yes; then
31260 if test "$INET_LINK" != " -lsocket"; then
31261 INET_LINK
="$INET_LINK -lsocket"
31265 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31266 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31279 if test "$wxUSE_SOCKETS" = "yes" ; then
31280 if test "$TOOLKIT" != "MSW"; then
31281 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31282 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31283 if test "${wx_cv_type_getsockname3+set}" = set; then
31284 echo $ECHO_N "(cached) $ECHO_C" >&6
31287 cat >conftest.
$ac_ext <<_ACEOF
31288 #line $LINENO "configure"
31291 cat confdefs.h
>>conftest.
$ac_ext
31292 cat >>conftest.
$ac_ext <<_ACEOF
31293 /* end confdefs.h. */
31295 #include <sys/types.h>
31296 #include <sys/socket.h>
31303 getsockname(0, 0, &len);
31309 rm -f conftest.
$ac_objext
31310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31311 (eval $ac_compile) 2>&5
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); } &&
31315 { ac_try
='test -s conftest.$ac_objext'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; }; then
31321 wx_cv_type_getsockname3
=socklen_t
31323 echo "$as_me: failed program was:" >&5
31324 sed 's/^/| /' conftest.
$ac_ext >&5
31327 CFLAGS_OLD
="$CFLAGS"
31328 if test "$GCC" = yes ; then
31329 CFLAGS
="$CFLAGS -Werror"
31332 cat >conftest.
$ac_ext <<_ACEOF
31333 #line $LINENO "configure"
31336 cat confdefs.h
>>conftest.
$ac_ext
31337 cat >>conftest.
$ac_ext <<_ACEOF
31338 /* end confdefs.h. */
31340 #include <sys/types.h>
31341 #include <sys/socket.h>
31348 getsockname(0, 0, &len);
31354 rm -f conftest.
$ac_objext
31355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31356 (eval $ac_compile) 2>&5
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); } &&
31360 { ac_try
='test -s conftest.$ac_objext'
31361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31362 (eval $ac_try) 2>&5
31364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31365 (exit $ac_status); }; }; then
31366 wx_cv_type_getsockname3
=size_t
31368 echo "$as_me: failed program was:" >&5
31369 sed 's/^/| /' conftest.
$ac_ext >&5
31371 cat >conftest.
$ac_ext <<_ACEOF
31372 #line $LINENO "configure"
31375 cat confdefs.h
>>conftest.
$ac_ext
31376 cat >>conftest.
$ac_ext <<_ACEOF
31377 /* end confdefs.h. */
31379 #include <sys/types.h>
31380 #include <sys/socket.h>
31387 getsockname(0, 0, &len);
31393 rm -f conftest.
$ac_objext
31394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31395 (eval $ac_compile) 2>&5
31397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398 (exit $ac_status); } &&
31399 { ac_try
='test -s conftest.$ac_objext'
31400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31401 (eval $ac_try) 2>&5
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); }; }; then
31405 wx_cv_type_getsockname3
=int
31407 echo "$as_me: failed program was:" >&5
31408 sed 's/^/| /' conftest.
$ac_ext >&5
31410 wx_cv_type_getsockname3
=unknown
31413 rm -f conftest.
$ac_objext conftest.
$ac_ext
31416 rm -f conftest.
$ac_objext conftest.
$ac_ext
31418 CFLAGS
="$CFLAGS_OLD"
31422 rm -f conftest.
$ac_objext conftest.
$ac_ext
31425 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31426 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31428 if test "$wx_cv_type_getsockname3" = "unknown"; then
31430 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31431 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31433 cat >>confdefs.h
<<_ACEOF
31434 #define SOCKLEN_T $wx_cv_type_getsockname3
31441 if test "$wxUSE_SOCKETS" = "yes" ; then
31442 cat >>confdefs.h
<<\_ACEOF
31443 #define wxUSE_SOCKETS 1
31446 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31449 if test "$wxUSE_PROTOCOL" = "yes"; then
31450 if test "$wxUSE_SOCKETS" != "yes"; then
31451 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31452 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31457 if test "$wxUSE_PROTOCOL" = "yes"; then
31458 cat >>confdefs.h
<<\_ACEOF
31459 #define wxUSE_PROTOCOL 1
31463 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31464 cat >>confdefs.h
<<\_ACEOF
31465 #define wxUSE_PROTOCOL_HTTP 1
31469 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31470 cat >>confdefs.h
<<\_ACEOF
31471 #define wxUSE_PROTOCOL_FTP 1
31475 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31476 cat >>confdefs.h
<<\_ACEOF
31477 #define wxUSE_PROTOCOL_FILE 1
31482 if test "$wxUSE_FS_INET" = "yes"; then
31483 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31484 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31489 if test "$wxUSE_URL" = "yes"; then
31490 if test "$wxUSE_PROTOCOL" != "yes"; then
31491 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31492 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31495 if test "$wxUSE_URL" = "yes"; then
31496 cat >>confdefs.h
<<\_ACEOF
31497 #define wxUSE_URL 1
31503 if test "$wxUSE_FS_INET" = "yes"; then
31504 cat >>confdefs.h
<<\_ACEOF
31505 #define wxUSE_FS_INET 1
31511 if test "$wxUSE_GUI" = "yes"; then
31513 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31514 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31515 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31519 if test "$TOOLKIT" != "MSW"; then
31520 if test "$wxUSE_JOYSTICK" = "yes"; then
31522 for ac_header
in linux
/joystick.h
31524 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31526 echo "$as_me:$LINENO: checking for $ac_header" >&5
31527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31529 echo $ECHO_N "(cached) $ECHO_C" >&6
31531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31534 # Is the header compilable?
31535 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31537 cat >conftest.
$ac_ext <<_ACEOF
31538 #line $LINENO "configure"
31541 cat confdefs.h
>>conftest.
$ac_ext
31542 cat >>conftest.
$ac_ext <<_ACEOF
31543 /* end confdefs.h. */
31544 $ac_includes_default
31545 #include <$ac_header>
31547 rm -f conftest.
$ac_objext
31548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31549 (eval $ac_compile) 2>&5
31551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31552 (exit $ac_status); } &&
31553 { ac_try
='test -s conftest.$ac_objext'
31554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31555 (eval $ac_try) 2>&5
31557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31558 (exit $ac_status); }; }; then
31559 ac_header_compiler
=yes
31561 echo "$as_me: failed program was:" >&5
31562 sed 's/^/| /' conftest.
$ac_ext >&5
31564 ac_header_compiler
=no
31566 rm -f conftest.
$ac_objext conftest.
$ac_ext
31567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31568 echo "${ECHO_T}$ac_header_compiler" >&6
31570 # Is the header present?
31571 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31573 cat >conftest.
$ac_ext <<_ACEOF
31574 #line $LINENO "configure"
31577 cat confdefs.h
>>conftest.
$ac_ext
31578 cat >>conftest.
$ac_ext <<_ACEOF
31579 /* end confdefs.h. */
31580 #include <$ac_header>
31582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31583 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31585 grep -v '^ *+' conftest.er1
>conftest.err
31587 cat conftest.err
>&5
31588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31589 (exit $ac_status); } >/dev
/null
; then
31590 if test -s conftest.err
; then
31591 ac_cpp_err
=$ac_c_preproc_warn_flag
31598 if test -z "$ac_cpp_err"; then
31599 ac_header_preproc
=yes
31601 echo "$as_me: failed program was:" >&5
31602 sed 's/^/| /' conftest.
$ac_ext >&5
31604 ac_header_preproc
=no
31606 rm -f conftest.err conftest.
$ac_ext
31607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31608 echo "${ECHO_T}$ac_header_preproc" >&6
31610 # So? What about this header?
31611 case $ac_header_compiler:$ac_header_preproc in
31613 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31614 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31619 ## ------------------------------------ ##
31620 ## Report this to bug-autoconf@gnu.org. ##
31621 ## ------------------------------------ ##
31624 sed "s/^/$as_me: WARNING: /" >&2
31627 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31628 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31629 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31630 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31632 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31635 ## ------------------------------------ ##
31636 ## Report this to bug-autoconf@gnu.org. ##
31637 ## ------------------------------------ ##
31640 sed "s/^/$as_me: WARNING: /" >&2
31643 echo "$as_me:$LINENO: checking for $ac_header" >&5
31644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31646 echo $ECHO_N "(cached) $ECHO_C" >&6
31648 eval "$as_ac_Header=$ac_header_preproc"
31650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31655 cat >>confdefs.h
<<_ACEOF
31656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31663 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31665 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31666 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31671 if test "$wxUSE_JOYSTICK" = "yes"; then
31672 cat >>confdefs.h
<<\_ACEOF
31673 #define wxUSE_JOYSTICK 1
31676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31681 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31685 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31686 if test "$USE_DARWIN" = 1; then
31690 for ac_func
in dlopen
31692 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31693 echo "$as_me:$LINENO: checking for $ac_func" >&5
31694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31695 if eval "test \"\${$as_ac_var+set}\" = set"; then
31696 echo $ECHO_N "(cached) $ECHO_C" >&6
31698 cat >conftest.
$ac_ext <<_ACEOF
31699 #line $LINENO "configure"
31702 cat confdefs.h
>>conftest.
$ac_ext
31703 cat >>conftest.
$ac_ext <<_ACEOF
31704 /* end confdefs.h. */
31705 /* System header to define __stub macros and hopefully few prototypes,
31706 which can conflict with char $ac_func (); below.
31707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31708 <limits.h> exists even on freestanding compilers. */
31710 # include <limits.h>
31712 # include <assert.h>
31714 /* Override any gcc2 internal prototype to avoid an error. */
31719 /* We use char because int might match the return type of a gcc2
31720 builtin and then its argument prototype would still apply. */
31722 /* The GNU C library defines this for functions which it implements
31723 to always fail with ENOSYS. Some functions are actually named
31724 something starting with __ and the normal name is an alias. */
31725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31728 char (*f) () = $ac_func;
31737 return f != $ac_func;
31742 rm -f conftest.
$ac_objext conftest
$ac_exeext
31743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31744 (eval $ac_link) 2>&5
31746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31747 (exit $ac_status); } &&
31748 { ac_try
='test -s conftest$ac_exeext'
31749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31750 (eval $ac_try) 2>&5
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); }; }; then
31754 eval "$as_ac_var=yes"
31756 echo "$as_me: failed program was:" >&5
31757 sed 's/^/| /' conftest.
$ac_ext >&5
31759 eval "$as_ac_var=no"
31761 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31765 if test `eval echo '${'$as_ac_var'}'` = yes; then
31766 cat >>confdefs.h
<<_ACEOF
31767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31770 cat >>confdefs.h
<<\_ACEOF
31771 #define HAVE_DLOPEN 1
31778 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31779 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31780 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31781 echo $ECHO_N "(cached) $ECHO_C" >&6
31783 ac_check_lib_save_LIBS
=$LIBS
31785 cat >conftest.
$ac_ext <<_ACEOF
31786 #line $LINENO "configure"
31789 cat confdefs.h
>>conftest.
$ac_ext
31790 cat >>conftest.
$ac_ext <<_ACEOF
31791 /* end confdefs.h. */
31793 /* Override any gcc2 internal prototype to avoid an error. */
31797 /* We use char because int might match the return type of a gcc2
31798 builtin and then its argument prototype would still apply. */
31808 rm -f conftest.
$ac_objext conftest
$ac_exeext
31809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31810 (eval $ac_link) 2>&5
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); } &&
31814 { ac_try
='test -s conftest$ac_exeext'
31815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31816 (eval $ac_try) 2>&5
31818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819 (exit $ac_status); }; }; then
31820 ac_cv_lib_dl_dlopen
=yes
31822 echo "$as_me: failed program was:" >&5
31823 sed 's/^/| /' conftest.
$ac_ext >&5
31825 ac_cv_lib_dl_dlopen
=no
31827 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31828 LIBS
=$ac_check_lib_save_LIBS
31830 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31831 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31832 if test $ac_cv_lib_dl_dlopen = yes; then
31834 cat >>confdefs.h
<<\_ACEOF
31835 #define HAVE_DLOPEN 1
31839 DL_LINK
=" -ldl$DL_LINK"
31844 for ac_func
in shl_load
31846 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31847 echo "$as_me:$LINENO: checking for $ac_func" >&5
31848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31849 if eval "test \"\${$as_ac_var+set}\" = set"; then
31850 echo $ECHO_N "(cached) $ECHO_C" >&6
31852 cat >conftest.
$ac_ext <<_ACEOF
31853 #line $LINENO "configure"
31856 cat confdefs.h
>>conftest.
$ac_ext
31857 cat >>conftest.
$ac_ext <<_ACEOF
31858 /* end confdefs.h. */
31859 /* System header to define __stub macros and hopefully few prototypes,
31860 which can conflict with char $ac_func (); below.
31861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31862 <limits.h> exists even on freestanding compilers. */
31864 # include <limits.h>
31866 # include <assert.h>
31868 /* Override any gcc2 internal prototype to avoid an error. */
31873 /* We use char because int might match the return type of a gcc2
31874 builtin and then its argument prototype would still apply. */
31876 /* The GNU C library defines this for functions which it implements
31877 to always fail with ENOSYS. Some functions are actually named
31878 something starting with __ and the normal name is an alias. */
31879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31882 char (*f) () = $ac_func;
31891 return f != $ac_func;
31896 rm -f conftest.
$ac_objext conftest
$ac_exeext
31897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31898 (eval $ac_link) 2>&5
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); } &&
31902 { ac_try
='test -s conftest$ac_exeext'
31903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31904 (eval $ac_try) 2>&5
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); }; }; then
31908 eval "$as_ac_var=yes"
31910 echo "$as_me: failed program was:" >&5
31911 sed 's/^/| /' conftest.
$ac_ext >&5
31913 eval "$as_ac_var=no"
31915 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31919 if test `eval echo '${'$as_ac_var'}'` = yes; then
31920 cat >>confdefs.h
<<_ACEOF
31921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31924 cat >>confdefs.h
<<\_ACEOF
31925 #define HAVE_SHL_LOAD 1
31932 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31933 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31934 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31935 echo $ECHO_N "(cached) $ECHO_C" >&6
31937 ac_check_lib_save_LIBS
=$LIBS
31938 LIBS
="-lshl_load $LIBS"
31939 cat >conftest.
$ac_ext <<_ACEOF
31940 #line $LINENO "configure"
31943 cat confdefs.h
>>conftest.
$ac_ext
31944 cat >>conftest.
$ac_ext <<_ACEOF
31945 /* end confdefs.h. */
31947 /* Override any gcc2 internal prototype to avoid an error. */
31951 /* We use char because int might match the return type of a gcc2
31952 builtin and then its argument prototype would still apply. */
31962 rm -f conftest.
$ac_objext conftest
$ac_exeext
31963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31964 (eval $ac_link) 2>&5
31966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31967 (exit $ac_status); } &&
31968 { ac_try
='test -s conftest$ac_exeext'
31969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31970 (eval $ac_try) 2>&5
31972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31973 (exit $ac_status); }; }; then
31974 ac_cv_lib_shl_load_dld
=yes
31976 echo "$as_me: failed program was:" >&5
31977 sed 's/^/| /' conftest.
$ac_ext >&5
31979 ac_cv_lib_shl_load_dld
=no
31981 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31982 LIBS
=$ac_check_lib_save_LIBS
31984 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31985 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31986 if test $ac_cv_lib_shl_load_dld = yes; then
31989 DL_LINK
=" -ldld$DL_LINK"
32005 if test "$HAVE_DL_FUNCS" = 1; then
32007 for ac_func
in dlerror
32009 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32010 echo "$as_me:$LINENO: checking for $ac_func" >&5
32011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32012 if eval "test \"\${$as_ac_var+set}\" = set"; then
32013 echo $ECHO_N "(cached) $ECHO_C" >&6
32015 cat >conftest.
$ac_ext <<_ACEOF
32016 #line $LINENO "configure"
32019 cat confdefs.h
>>conftest.
$ac_ext
32020 cat >>conftest.
$ac_ext <<_ACEOF
32021 /* end confdefs.h. */
32022 /* System header to define __stub macros and hopefully few prototypes,
32023 which can conflict with char $ac_func (); below.
32024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32025 <limits.h> exists even on freestanding compilers. */
32027 # include <limits.h>
32029 # include <assert.h>
32031 /* Override any gcc2 internal prototype to avoid an error. */
32036 /* We use char because int might match the return type of a gcc2
32037 builtin and then its argument prototype would still apply. */
32039 /* The GNU C library defines this for functions which it implements
32040 to always fail with ENOSYS. Some functions are actually named
32041 something starting with __ and the normal name is an alias. */
32042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32045 char (*f) () = $ac_func;
32054 return f != $ac_func;
32059 rm -f conftest.
$ac_objext conftest
$ac_exeext
32060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32061 (eval $ac_link) 2>&5
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); } &&
32065 { ac_try
='test -s conftest$ac_exeext'
32066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32067 (eval $ac_try) 2>&5
32069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32070 (exit $ac_status); }; }; then
32071 eval "$as_ac_var=yes"
32073 echo "$as_me: failed program was:" >&5
32074 sed 's/^/| /' conftest.
$ac_ext >&5
32076 eval "$as_ac_var=no"
32078 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32082 if test `eval echo '${'$as_ac_var'}'` = yes; then
32083 cat >>confdefs.h
<<_ACEOF
32084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32086 cat >>confdefs.h
<<\_ACEOF
32087 #define HAVE_DLERROR 1
32092 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32093 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32094 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32095 echo $ECHO_N "(cached) $ECHO_C" >&6
32097 ac_check_lib_save_LIBS
=$LIBS
32099 cat >conftest.
$ac_ext <<_ACEOF
32100 #line $LINENO "configure"
32103 cat confdefs.h
>>conftest.
$ac_ext
32104 cat >>conftest.
$ac_ext <<_ACEOF
32105 /* end confdefs.h. */
32107 /* Override any gcc2 internal prototype to avoid an error. */
32111 /* We use char because int might match the return type of a gcc2
32112 builtin and then its argument prototype would still apply. */
32122 rm -f conftest.
$ac_objext conftest
$ac_exeext
32123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32124 (eval $ac_link) 2>&5
32126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32127 (exit $ac_status); } &&
32128 { ac_try
='test -s conftest$ac_exeext'
32129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32130 (eval $ac_try) 2>&5
32132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32133 (exit $ac_status); }; }; then
32134 ac_cv_lib_dl_dlerror
=yes
32136 echo "$as_me: failed program was:" >&5
32137 sed 's/^/| /' conftest.
$ac_ext >&5
32139 ac_cv_lib_dl_dlerror
=no
32141 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32142 LIBS
=$ac_check_lib_save_LIBS
32144 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32145 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32146 if test $ac_cv_lib_dl_dlerror = yes; then
32147 cat >>confdefs.h
<<\_ACEOF
32148 #define HAVE_DLERROR 1
32161 if test "$HAVE_DL_FUNCS" = 0; then
32162 if test "$HAVE_SHL_FUNCS" = 0; then
32163 if test "$USE_UNIX" = 1; then
32164 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32165 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32166 wxUSE_DYNAMIC_LOADER
=no
32167 wxUSE_DYNLIB_CLASS
=no
32169 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32170 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32177 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32178 cat >>confdefs.h
<<\_ACEOF
32179 #define wxUSE_DYNAMIC_LOADER 1
32183 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32184 cat >>confdefs.h
<<\_ACEOF
32185 #define wxUSE_DYNLIB_CLASS 1
32191 if test "$wxUSE_FONTMAP" = "yes" ; then
32192 cat >>confdefs.h
<<\_ACEOF
32193 #define wxUSE_FONTMAP 1
32198 if test "$wxUSE_UNICODE" = "yes" ; then
32199 cat >>confdefs.h
<<\_ACEOF
32200 #define wxUSE_UNICODE 1
32204 if test "$USE_WIN32" != 1; then
32205 wxUSE_UNICODE_MSLU
=no
32208 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32209 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32210 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32211 if test "${ac_cv_lib_unicows_main+set}" = set; then
32212 echo $ECHO_N "(cached) $ECHO_C" >&6
32214 ac_check_lib_save_LIBS
=$LIBS
32215 LIBS
="-lunicows $LIBS"
32216 cat >conftest.
$ac_ext <<_ACEOF
32217 #line $LINENO "configure"
32220 cat confdefs.h
>>conftest.
$ac_ext
32221 cat >>conftest.
$ac_ext <<_ACEOF
32222 /* end confdefs.h. */
32233 rm -f conftest.
$ac_objext conftest
$ac_exeext
32234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32235 (eval $ac_link) 2>&5
32237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32238 (exit $ac_status); } &&
32239 { ac_try
='test -s conftest$ac_exeext'
32240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32241 (eval $ac_try) 2>&5
32243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32244 (exit $ac_status); }; }; then
32245 ac_cv_lib_unicows_main
=yes
32247 echo "$as_me: failed program was:" >&5
32248 sed 's/^/| /' conftest.
$ac_ext >&5
32250 ac_cv_lib_unicows_main
=no
32252 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32253 LIBS
=$ac_check_lib_save_LIBS
32255 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32256 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32257 if test $ac_cv_lib_unicows_main = yes; then
32259 cat >>confdefs.h
<<\_ACEOF
32260 #define wxUSE_UNICODE_MSLU 1
32266 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32267 Applications will only run on Windows NT/2000/XP!" >&5
32268 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32269 Applications will only run on Windows NT/2000/XP!" >&2;}
32270 wxUSE_UNICODE_MSLU
=no
32277 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32278 cat >>confdefs.h
<<\_ACEOF
32279 #define wxUSE_EXPERIMENTAL_PRINTF 1
32285 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32286 cat >>confdefs.h
<<\_ACEOF
32287 #define wxUSE_POSTSCRIPT 1
32292 cat >>confdefs.h
<<\_ACEOF
32293 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32297 cat >>confdefs.h
<<\_ACEOF
32298 #define wxUSE_NORMALIZED_PS_FONTS 1
32303 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32304 cat >>confdefs.h
<<\_ACEOF
32305 #define wxUSE_CONSTRAINTS 1
32308 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32311 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32312 cat >>confdefs.h
<<\_ACEOF
32313 #define wxUSE_MDI_ARCHITECTURE 1
32316 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32319 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32320 cat >>confdefs.h
<<\_ACEOF
32321 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32325 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32326 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32330 if test "$wxUSE_HELP" = "yes"; then
32331 cat >>confdefs.h
<<\_ACEOF
32332 #define wxUSE_HELP 1
32335 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32337 if test "$wxUSE_MSW" = 1; then
32338 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32339 cat >>confdefs.h
<<\_ACEOF
32340 #define wxUSE_MS_HTML_HELP 1
32346 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32347 if test "$wxUSE_HTML" = "yes"; then
32348 cat >>confdefs.h
<<\_ACEOF
32349 #define wxUSE_WXHTML_HELP 1
32353 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32354 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32355 wxUSE_WXHTML_HELP
=no
32360 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32361 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32362 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32363 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32365 cat >>confdefs.h
<<\_ACEOF
32366 #define wxUSE_PRINTING_ARCHITECTURE 1
32370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32373 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32374 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32375 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32376 { (exit 1); exit 1; }; }
32380 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32381 -o "$wxUSE_CLIPBOARD" = "yes" \
32382 -o "$wxUSE_OLE" = "yes" \
32383 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32385 for ac_header
in ole2.h
32387 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32389 echo "$as_me:$LINENO: checking for $ac_header" >&5
32390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32392 echo $ECHO_N "(cached) $ECHO_C" >&6
32394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32397 # Is the header compilable?
32398 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32399 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32400 cat >conftest.
$ac_ext <<_ACEOF
32401 #line $LINENO "configure"
32404 cat confdefs.h
>>conftest.
$ac_ext
32405 cat >>conftest.
$ac_ext <<_ACEOF
32406 /* end confdefs.h. */
32407 $ac_includes_default
32408 #include <$ac_header>
32410 rm -f conftest.
$ac_objext
32411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32412 (eval $ac_compile) 2>&5
32414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32415 (exit $ac_status); } &&
32416 { ac_try
='test -s conftest.$ac_objext'
32417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32418 (eval $ac_try) 2>&5
32420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32421 (exit $ac_status); }; }; then
32422 ac_header_compiler
=yes
32424 echo "$as_me: failed program was:" >&5
32425 sed 's/^/| /' conftest.
$ac_ext >&5
32427 ac_header_compiler
=no
32429 rm -f conftest.
$ac_objext conftest.
$ac_ext
32430 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32431 echo "${ECHO_T}$ac_header_compiler" >&6
32433 # Is the header present?
32434 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32435 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32436 cat >conftest.
$ac_ext <<_ACEOF
32437 #line $LINENO "configure"
32440 cat confdefs.h
>>conftest.
$ac_ext
32441 cat >>conftest.
$ac_ext <<_ACEOF
32442 /* end confdefs.h. */
32443 #include <$ac_header>
32445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32446 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32448 grep -v '^ *+' conftest.er1
>conftest.err
32450 cat conftest.err
>&5
32451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32452 (exit $ac_status); } >/dev
/null
; then
32453 if test -s conftest.err
; then
32454 ac_cpp_err
=$ac_c_preproc_warn_flag
32461 if test -z "$ac_cpp_err"; then
32462 ac_header_preproc
=yes
32464 echo "$as_me: failed program was:" >&5
32465 sed 's/^/| /' conftest.
$ac_ext >&5
32467 ac_header_preproc
=no
32469 rm -f conftest.err conftest.
$ac_ext
32470 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32471 echo "${ECHO_T}$ac_header_preproc" >&6
32473 # So? What about this header?
32474 case $ac_header_compiler:$ac_header_preproc in
32476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32482 ## ------------------------------------ ##
32483 ## Report this to bug-autoconf@gnu.org. ##
32484 ## ------------------------------------ ##
32487 sed "s/^/$as_me: WARNING: /" >&2
32490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32493 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32498 ## ------------------------------------ ##
32499 ## Report this to bug-autoconf@gnu.org. ##
32500 ## ------------------------------------ ##
32503 sed "s/^/$as_me: WARNING: /" >&2
32506 echo "$as_me:$LINENO: checking for $ac_header" >&5
32507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32509 echo $ECHO_N "(cached) $ECHO_C" >&6
32511 eval "$as_ac_Header=$ac_header_preproc"
32513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32518 cat >>confdefs.h
<<_ACEOF
32519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32527 if test "$ac_cv_header_ole2_h" = "yes" ; then
32528 if test "$GCC" = yes ; then
32532 ac_cpp
='$CXXCPP $CPPFLAGS'
32533 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32534 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32535 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32538 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32539 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32540 cat >conftest.
$ac_ext <<_ACEOF
32541 #line $LINENO "configure"
32544 cat confdefs.h
>>conftest.
$ac_ext
32545 cat >>conftest.
$ac_ext <<_ACEOF
32546 /* end confdefs.h. */
32547 #include <windows.h>
32557 rm -f conftest.
$ac_objext
32558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32559 (eval $ac_compile) 2>&5
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); } &&
32563 { ac_try
='test -s conftest.$ac_objext'
32564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32565 (eval $ac_try) 2>&5
32567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32568 (exit $ac_status); }; }; then
32569 echo "$as_me:$LINENO: result: no" >&5
32570 echo "${ECHO_T}no" >&6
32572 echo "$as_me: failed program was:" >&5
32573 sed 's/^/| /' conftest.
$ac_ext >&5
32575 echo "$as_me:$LINENO: result: yes" >&5
32576 echo "${ECHO_T}yes" >&6
32577 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32579 rm -f conftest.
$ac_objext conftest.
$ac_ext
32581 ac_cpp
='$CPP $CPPFLAGS'
32582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32586 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32587 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32588 cat >>confdefs.h
<<\_ACEOF
32589 #define wxUSE_OLE 1
32595 cat >>confdefs.h
<<\_ACEOF
32596 #define wxUSE_DATAOBJ 1
32600 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32601 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32604 wxUSE_DRAG_AND_DROP
=no
32609 if test "$wxUSE_METAFILE" = "yes"; then
32610 cat >>confdefs.h
<<\_ACEOF
32611 #define wxUSE_METAFILE 1
32615 cat >>confdefs.h
<<\_ACEOF
32616 #define wxUSE_ENH_METAFILE 1
32622 if test "$wxUSE_IPC" = "yes"; then
32623 if test "$wxUSE_SOCKETS" != "yes"; then
32624 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32625 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32628 cat >>confdefs.h
<<\_ACEOF
32629 #define wxUSE_IPC 1
32634 if test "$wxUSE_CLIPBOARD" = "yes"; then
32635 if test "$wxUSE_MGL" = 1; then
32636 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32637 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32641 if test "$wxUSE_CLIPBOARD" = "yes"; then
32642 cat >>confdefs.h
<<\_ACEOF
32643 #define wxUSE_CLIPBOARD 1
32647 cat >>confdefs.h
<<\_ACEOF
32648 #define wxUSE_DATAOBJ 1
32654 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32655 if test "$wxUSE_GTK" = 1; then
32656 if test "$WXGTK12" != 1; then
32657 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32658 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32659 wxUSE_DRAG_AND_DROP
=no
32663 if test "$wxUSE_MOTIF" = 1; then
32664 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32665 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32666 wxUSE_DRAG_AND_DROP
=no
32669 if test "$wxUSE_X11" = 1; then
32670 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32671 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32672 wxUSE_DRAG_AND_DROP
=no
32675 if test "$wxUSE_MGL" = 1; then
32676 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32677 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32678 wxUSE_DRAG_AND_DROP
=no
32681 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32682 cat >>confdefs.h
<<\_ACEOF
32683 #define wxUSE_DRAG_AND_DROP 1
32686 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32691 if test "$wxUSE_SPLINES" = "yes" ; then
32692 cat >>confdefs.h
<<\_ACEOF
32693 #define wxUSE_SPLINES 1
32700 if test "$wxUSE_CONTROLS" = "yes"; then
32704 if test "$wxUSE_ACCEL" = "yes"; then
32705 cat >>confdefs.h
<<\_ACEOF
32706 #define wxUSE_ACCEL 1
32712 if test "$wxUSE_BUTTON" = "yes"; then
32713 cat >>confdefs.h
<<\_ACEOF
32714 #define wxUSE_BUTTON 1
32720 if test "$wxUSE_BMPBUTTON" = "yes"; then
32721 cat >>confdefs.h
<<\_ACEOF
32722 #define wxUSE_BMPBUTTON 1
32728 if test "$wxUSE_CALCTRL" = "yes"; then
32729 cat >>confdefs.h
<<\_ACEOF
32730 #define wxUSE_CALENDARCTRL 1
32734 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32737 if test "$wxUSE_CARET" = "yes"; then
32738 cat >>confdefs.h
<<\_ACEOF
32739 #define wxUSE_CARET 1
32743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32746 if test "$wxUSE_COMBOBOX" = "yes"; then
32747 cat >>confdefs.h
<<\_ACEOF
32748 #define wxUSE_COMBOBOX 1
32754 if test "$wxUSE_CHOICE" = "yes"; then
32755 cat >>confdefs.h
<<\_ACEOF
32756 #define wxUSE_CHOICE 1
32762 if test "$wxUSE_CHECKBOX" = "yes"; then
32763 cat >>confdefs.h
<<\_ACEOF
32764 #define wxUSE_CHECKBOX 1
32770 if test "$wxUSE_CHECKLST" = "yes"; then
32771 cat >>confdefs.h
<<\_ACEOF
32772 #define wxUSE_CHECKLISTBOX 1
32776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32779 if test "$wxUSE_DISPLAY" = "yes"; then
32780 cat >>confdefs.h
<<\_ACEOF
32781 #define wxUSE_DISPLAY 1
32784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32787 if test "$wxUSE_GAUGE" = "yes"; then
32788 cat >>confdefs.h
<<\_ACEOF
32789 #define wxUSE_GAUGE 1
32795 if test "$wxUSE_GRID" = "yes"; then
32796 cat >>confdefs.h
<<\_ACEOF
32797 #define wxUSE_GRID 1
32801 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32804 if test "$wxUSE_IMAGLIST" = "yes"; then
32805 cat >>confdefs.h
<<\_ACEOF
32806 #define wxUSE_IMAGLIST 1
32811 if test "$wxUSE_LISTBOOK" = "yes"; then
32812 cat >>confdefs.h
<<\_ACEOF
32813 #define wxUSE_LISTBOOK 1
32819 if test "$wxUSE_LISTBOX" = "yes"; then
32820 cat >>confdefs.h
<<\_ACEOF
32821 #define wxUSE_LISTBOX 1
32827 if test "$wxUSE_LISTCTRL" = "yes"; then
32828 if test "$wxUSE_IMAGLIST" = "yes"; then
32829 cat >>confdefs.h
<<\_ACEOF
32830 #define wxUSE_LISTCTRL 1
32834 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32836 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32837 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32841 if test "$wxUSE_NOTEBOOK" = "yes"; then
32842 cat >>confdefs.h
<<\_ACEOF
32843 #define wxUSE_NOTEBOOK 1
32847 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32851 if test "$wxUSE_RADIOBOX" = "yes"; then
32852 cat >>confdefs.h
<<\_ACEOF
32853 #define wxUSE_RADIOBOX 1
32859 if test "$wxUSE_RADIOBTN" = "yes"; then
32860 cat >>confdefs.h
<<\_ACEOF
32861 #define wxUSE_RADIOBTN 1
32867 if test "$wxUSE_SASH" = "yes"; then
32868 cat >>confdefs.h
<<\_ACEOF
32869 #define wxUSE_SASH 1
32872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32875 if test "$wxUSE_SCROLLBAR" = "yes"; then
32876 cat >>confdefs.h
<<\_ACEOF
32877 #define wxUSE_SCROLLBAR 1
32881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32884 if test "$wxUSE_SLIDER" = "yes"; then
32885 cat >>confdefs.h
<<\_ACEOF
32886 #define wxUSE_SLIDER 1
32892 if test "$wxUSE_SPINBTN" = "yes"; then
32893 cat >>confdefs.h
<<\_ACEOF
32894 #define wxUSE_SPINBTN 1
32900 if test "$wxUSE_SPINCTRL" = "yes"; then
32901 cat >>confdefs.h
<<\_ACEOF
32902 #define wxUSE_SPINCTRL 1
32908 if test "$wxUSE_SPLITTER" = "yes"; then
32909 cat >>confdefs.h
<<\_ACEOF
32910 #define wxUSE_SPLITTER 1
32913 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32916 if test "$wxUSE_STATBMP" = "yes"; then
32917 cat >>confdefs.h
<<\_ACEOF
32918 #define wxUSE_STATBMP 1
32924 if test "$wxUSE_STATBOX" = "yes"; then
32925 cat >>confdefs.h
<<\_ACEOF
32926 #define wxUSE_STATBOX 1
32932 if test "$wxUSE_STATTEXT" = "yes"; then
32933 cat >>confdefs.h
<<\_ACEOF
32934 #define wxUSE_STATTEXT 1
32940 if test "$wxUSE_STATLINE" = "yes"; then
32941 cat >>confdefs.h
<<\_ACEOF
32942 #define wxUSE_STATLINE 1
32948 if test "$wxUSE_STATUSBAR" = "yes"; then
32949 cat >>confdefs.h
<<\_ACEOF
32950 #define wxUSE_STATUSBAR 1
32955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
32958 if test "$wxUSE_TABDIALOG" = "yes"; then
32959 cat >>confdefs.h
<<\_ACEOF
32960 #define wxUSE_TAB_DIALOG 1
32963 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
32966 if test "$wxUSE_TEXTCTRL" = "yes"; then
32967 cat >>confdefs.h
<<\_ACEOF
32968 #define wxUSE_TEXTCTRL 1
32972 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
32975 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32976 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32977 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32978 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32981 if test "$wxUSE_UNIVERSAL" = "yes"; then
32982 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32983 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32987 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32988 cat >>confdefs.h
<<\_ACEOF
32989 #define wxUSE_TOGGLEBTN 1
32996 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32997 cat >>confdefs.h
<<\_ACEOF
32998 #define wxUSE_TOOLBAR_SIMPLE 1
33001 wxUSE_TOOLBAR
="yes"
33005 if test "$wxUSE_TOOLBAR" = "yes"; then
33006 cat >>confdefs.h
<<\_ACEOF
33007 #define wxUSE_TOOLBAR 1
33012 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33013 wxUSE_TOOLBAR_NATIVE
="yes"
33016 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33017 cat >>confdefs.h
<<\_ACEOF
33018 #define wxUSE_TOOLBAR_NATIVE 1
33024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
33027 if test "$wxUSE_TOOLTIPS" = "yes"; then
33028 if test "$wxUSE_MOTIF" = 1; then
33029 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33030 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33032 if test "$wxUSE_UNIVERSAL" = "yes"; then
33033 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33034 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33036 cat >>confdefs.h
<<\_ACEOF
33037 #define wxUSE_TOOLTIPS 1
33044 if test "$wxUSE_TREECTRL" = "yes"; then
33045 if test "$wxUSE_IMAGLIST" = "yes"; then
33046 cat >>confdefs.h
<<\_ACEOF
33047 #define wxUSE_TREECTRL 1
33051 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
33053 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33054 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33058 if test "$wxUSE_POPUPWIN" = "yes"; then
33059 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33060 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33061 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33063 if test "$wxUSE_MOTIF" = 1; then
33064 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
33065 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
33067 if test "$wxUSE_PM" = 1; then
33068 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33069 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33071 cat >>confdefs.h
<<\_ACEOF
33072 #define wxUSE_POPUPWIN 1
33082 if test "$wxUSE_TIPWINDOW" = "yes"; then
33083 if test "$wxUSE_PM" = 1; then
33084 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33085 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33087 cat >>confdefs.h
<<\_ACEOF
33088 #define wxUSE_TIPWINDOW 1
33094 if test "$USES_CONTROLS" = 1; then
33095 cat >>confdefs.h
<<\_ACEOF
33096 #define wxUSE_CONTROLS 1
33102 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33103 cat >>confdefs.h
<<\_ACEOF
33104 #define wxUSE_ACCESSIBILITY 1
33107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
33110 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33111 cat >>confdefs.h
<<\_ACEOF
33112 #define wxUSE_DRAGIMAGE 1
33115 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
33118 if test "$wxUSE_EXCEPTIONS" = "yes"; then
33119 cat >>confdefs.h
<<\_ACEOF
33120 #define wxUSE_EXCEPTIONS 1
33126 if test "$wxUSE_HTML" = "yes"; then
33127 cat >>confdefs.h
<<\_ACEOF
33128 #define wxUSE_HTML 1
33132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33135 if test "$wxUSE_MENUS" = "yes"; then
33136 cat >>confdefs.h
<<\_ACEOF
33137 #define wxUSE_MENUS 1
33140 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
33143 if test "$wxUSE_METAFILE" = "yes"; then
33144 cat >>confdefs.h
<<\_ACEOF
33145 #define wxUSE_METAFILE 1
33150 if test "$wxUSE_MIMETYPE" = "yes"; then
33151 cat >>confdefs.h
<<\_ACEOF
33152 #define wxUSE_MIMETYPE 1
33157 if test "$wxUSE_MINIFRAME" = "yes"; then
33158 cat >>confdefs.h
<<\_ACEOF
33159 #define wxUSE_MINIFRAME 1
33162 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
33165 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33166 cat >>confdefs.h
<<\_ACEOF
33167 #define wxUSE_SYSTEM_OPTIONS 1
33170 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33171 "$TOOLKIT" = "MOTIF"; then
33172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
33177 if test "$wxUSE_VALIDATORS" = "yes"; then
33178 cat >>confdefs.h
<<\_ACEOF
33179 #define wxUSE_VALIDATORS 1
33182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
33185 if test "$wxUSE_PALETTE" = "yes" ; then
33186 cat >>confdefs.h
<<\_ACEOF
33187 #define wxUSE_PALETTE 1
33192 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33193 LIBS
=" -lunicows $LIBS"
33197 if test "$wxUSE_IMAGE" = "yes" ; then
33198 cat >>confdefs.h
<<\_ACEOF
33199 #define wxUSE_IMAGE 1
33203 if test "$wxUSE_GIF" = "yes" ; then
33204 cat >>confdefs.h
<<\_ACEOF
33205 #define wxUSE_GIF 1
33210 if test "$wxUSE_PCX" = "yes" ; then
33211 cat >>confdefs.h
<<\_ACEOF
33212 #define wxUSE_PCX 1
33217 if test "$wxUSE_IFF" = "yes" ; then
33218 cat >>confdefs.h
<<\_ACEOF
33219 #define wxUSE_IFF 1
33224 if test "$wxUSE_PNM" = "yes" ; then
33225 cat >>confdefs.h
<<\_ACEOF
33226 #define wxUSE_PNM 1
33231 if test "$wxUSE_XPM" = "yes" ; then
33232 cat >>confdefs.h
<<\_ACEOF
33233 #define wxUSE_XPM 1
33238 if test "$wxUSE_ICO_CUR" = "yes" ; then
33239 cat >>confdefs.h
<<\_ACEOF
33240 #define wxUSE_ICO_CUR 1
33247 if test "$wxUSE_CHOICEDLG" = "yes"; then
33248 cat >>confdefs.h
<<\_ACEOF
33249 #define wxUSE_CHOICEDLG 1
33254 if test "$wxUSE_COLOURDLG" = "yes"; then
33255 cat >>confdefs.h
<<\_ACEOF
33256 #define wxUSE_COLOURDLG 1
33261 if test "$wxUSE_FILEDLG" = "yes"; then
33262 cat >>confdefs.h
<<\_ACEOF
33263 #define wxUSE_FILEDLG 1
33268 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33269 cat >>confdefs.h
<<\_ACEOF
33270 #define wxUSE_FINDREPLDLG 1
33275 if test "$wxUSE_FONTDLG" = "yes"; then
33276 cat >>confdefs.h
<<\_ACEOF
33277 #define wxUSE_FONTDLG 1
33282 if test "$wxUSE_DIRDLG" = "yes"; then
33283 if test "$wxUSE_TREECTRL" != "yes"; then
33284 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33285 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33287 cat >>confdefs.h
<<\_ACEOF
33288 #define wxUSE_DIRDLG 1
33294 if test "$wxUSE_MSGDLG" = "yes"; then
33295 cat >>confdefs.h
<<\_ACEOF
33296 #define wxUSE_MSGDLG 1
33301 if test "$wxUSE_NUMBERDLG" = "yes"; then
33302 cat >>confdefs.h
<<\_ACEOF
33303 #define wxUSE_NUMBERDLG 1
33308 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33309 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33310 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33311 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33313 cat >>confdefs.h
<<\_ACEOF
33314 #define wxUSE_PROGRESSDLG 1
33320 if test "$wxUSE_SPLASH" = "yes"; then
33321 cat >>confdefs.h
<<\_ACEOF
33322 #define wxUSE_SPLASH 1
33327 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33328 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33329 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33330 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33332 cat >>confdefs.h
<<\_ACEOF
33333 #define wxUSE_STARTUP_TIPS 1
33339 if test "$wxUSE_TEXTDLG" = "yes"; then
33340 cat >>confdefs.h
<<\_ACEOF
33341 #define wxUSE_TEXTDLG 1
33346 if test "$wxUSE_WIZARDDLG" = "yes"; then
33347 cat >>confdefs.h
<<\_ACEOF
33348 #define wxUSE_WIZARDDLG 1
33351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33355 if test "$cross_compiling" = "yes"; then
33358 OSINFO
=`uname -s -r -m`
33359 OSINFO
="\"$OSINFO\""
33362 cat >>confdefs.h
<<_ACEOF
33363 #define WXWIN_OS_DESCRIPTION $OSINFO
33368 if test "x$prefix" != "xNONE"; then
33371 wxPREFIX
=$ac_default_prefix
33374 cat >>confdefs.h
<<_ACEOF
33375 #define wxINSTALL_PREFIX "$wxPREFIX"
33379 top_builddir_wxconfig
=`pwd`
33383 CORE_BASE_LIBS
="net base"
33384 CORE_GUI_LIBS
="adv core"
33386 if test "$wxUSE_XML" = "yes" ; then
33387 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
33389 if test "$wxUSE_ODBC" != "no" ; then
33390 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
33391 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
33393 if test "$wxUSE_HTML" = "yes" ; then
33394 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
33397 if test "$wxUSE_GUI" != "yes"; then
33408 if test "$wxUSE_MAC" = 1 ; then
33409 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33411 if test "$wxUSE_COCOA" = 1 ; then
33412 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33416 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33423 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33424 echo "$as_me:$LINENO: checking for $ac_func" >&5
33425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33426 if eval "test \"\${$as_ac_var+set}\" = set"; then
33427 echo $ECHO_N "(cached) $ECHO_C" >&6
33429 cat >conftest.
$ac_ext <<_ACEOF
33430 #line $LINENO "configure"
33433 cat confdefs.h
>>conftest.
$ac_ext
33434 cat >>conftest.
$ac_ext <<_ACEOF
33435 /* end confdefs.h. */
33436 /* System header to define __stub macros and hopefully few prototypes,
33437 which can conflict with char $ac_func (); below.
33438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33439 <limits.h> exists even on freestanding compilers. */
33441 # include <limits.h>
33443 # include <assert.h>
33445 /* Override any gcc2 internal prototype to avoid an error. */
33450 /* We use char because int might match the return type of a gcc2
33451 builtin and then its argument prototype would still apply. */
33453 /* The GNU C library defines this for functions which it implements
33454 to always fail with ENOSYS. Some functions are actually named
33455 something starting with __ and the normal name is an alias. */
33456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33459 char (*f) () = $ac_func;
33468 return f != $ac_func;
33473 rm -f conftest.
$ac_objext conftest
$ac_exeext
33474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33475 (eval $ac_link) 2>&5
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); } &&
33479 { ac_try
='test -s conftest$ac_exeext'
33480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33481 (eval $ac_try) 2>&5
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); }; }; then
33485 eval "$as_ac_var=yes"
33487 echo "$as_me: failed program was:" >&5
33488 sed 's/^/| /' conftest.
$ac_ext >&5
33490 eval "$as_ac_var=no"
33492 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33496 if test `eval echo '${'$as_ac_var'}'` = yes; then
33497 cat >>confdefs.h
<<_ACEOF
33498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33505 for ac_func
in floor
33507 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33508 echo "$as_me:$LINENO: checking for $ac_func" >&5
33509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33510 if eval "test \"\${$as_ac_var+set}\" = set"; then
33511 echo $ECHO_N "(cached) $ECHO_C" >&6
33513 cat >conftest.
$ac_ext <<_ACEOF
33514 #line $LINENO "configure"
33517 cat confdefs.h
>>conftest.
$ac_ext
33518 cat >>conftest.
$ac_ext <<_ACEOF
33519 /* end confdefs.h. */
33520 /* System header to define __stub macros and hopefully few prototypes,
33521 which can conflict with char $ac_func (); below.
33522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33523 <limits.h> exists even on freestanding compilers. */
33525 # include <limits.h>
33527 # include <assert.h>
33529 /* Override any gcc2 internal prototype to avoid an error. */
33534 /* We use char because int might match the return type of a gcc2
33535 builtin and then its argument prototype would still apply. */
33537 /* The GNU C library defines this for functions which it implements
33538 to always fail with ENOSYS. Some functions are actually named
33539 something starting with __ and the normal name is an alias. */
33540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33543 char (*f) () = $ac_func;
33552 return f != $ac_func;
33557 rm -f conftest.
$ac_objext conftest
$ac_exeext
33558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33559 (eval $ac_link) 2>&5
33561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562 (exit $ac_status); } &&
33563 { ac_try
='test -s conftest$ac_exeext'
33564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33565 (eval $ac_try) 2>&5
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); }; }; then
33569 eval "$as_ac_var=yes"
33571 echo "$as_me: failed program was:" >&5
33572 sed 's/^/| /' conftest.
$ac_ext >&5
33574 eval "$as_ac_var=no"
33576 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33580 if test `eval echo '${'$as_ac_var'}'` = yes; then
33581 cat >>confdefs.h
<<_ACEOF
33582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33588 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33589 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33590 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33591 echo "$as_me:$LINENO: result: yes" >&5
33592 echo "${ECHO_T}yes" >&6
33594 echo "$as_me:$LINENO: result: no" >&5
33595 echo "${ECHO_T}no" >&6
33597 # use different functions to avoid configure caching
33603 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33604 echo "$as_me:$LINENO: checking for $ac_func" >&5
33605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33606 if eval "test \"\${$as_ac_var+set}\" = set"; then
33607 echo $ECHO_N "(cached) $ECHO_C" >&6
33609 cat >conftest.
$ac_ext <<_ACEOF
33610 #line $LINENO "configure"
33613 cat confdefs.h
>>conftest.
$ac_ext
33614 cat >>conftest.
$ac_ext <<_ACEOF
33615 /* end confdefs.h. */
33616 /* System header to define __stub macros and hopefully few prototypes,
33617 which can conflict with char $ac_func (); below.
33618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33619 <limits.h> exists even on freestanding compilers. */
33621 # include <limits.h>
33623 # include <assert.h>
33625 /* Override any gcc2 internal prototype to avoid an error. */
33630 /* We use char because int might match the return type of a gcc2
33631 builtin and then its argument prototype would still apply. */
33633 /* The GNU C library defines this for functions which it implements
33634 to always fail with ENOSYS. Some functions are actually named
33635 something starting with __ and the normal name is an alias. */
33636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33639 char (*f) () = $ac_func;
33648 return f != $ac_func;
33653 rm -f conftest.
$ac_objext conftest
$ac_exeext
33654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33655 (eval $ac_link) 2>&5
33657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658 (exit $ac_status); } &&
33659 { ac_try
='test -s conftest$ac_exeext'
33660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33661 (eval $ac_try) 2>&5
33663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33664 (exit $ac_status); }; }; then
33665 eval "$as_ac_var=yes"
33667 echo "$as_me: failed program was:" >&5
33668 sed 's/^/| /' conftest.
$ac_ext >&5
33670 eval "$as_ac_var=no"
33672 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33676 if test `eval echo '${'$as_ac_var'}'` = yes; then
33677 cat >>confdefs.h
<<_ACEOF
33678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33685 for ac_func
in ceil
33687 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33688 echo "$as_me:$LINENO: checking for $ac_func" >&5
33689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33690 if eval "test \"\${$as_ac_var+set}\" = set"; then
33691 echo $ECHO_N "(cached) $ECHO_C" >&6
33693 cat >conftest.
$ac_ext <<_ACEOF
33694 #line $LINENO "configure"
33697 cat confdefs.h
>>conftest.
$ac_ext
33698 cat >>conftest.
$ac_ext <<_ACEOF
33699 /* end confdefs.h. */
33700 /* System header to define __stub macros and hopefully few prototypes,
33701 which can conflict with char $ac_func (); below.
33702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33703 <limits.h> exists even on freestanding compilers. */
33705 # include <limits.h>
33707 # include <assert.h>
33709 /* Override any gcc2 internal prototype to avoid an error. */
33714 /* We use char because int might match the return type of a gcc2
33715 builtin and then its argument prototype would still apply. */
33717 /* The GNU C library defines this for functions which it implements
33718 to always fail with ENOSYS. Some functions are actually named
33719 something starting with __ and the normal name is an alias. */
33720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33723 char (*f) () = $ac_func;
33732 return f != $ac_func;
33737 rm -f conftest.
$ac_objext conftest
$ac_exeext
33738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33739 (eval $ac_link) 2>&5
33741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742 (exit $ac_status); } &&
33743 { ac_try
='test -s conftest$ac_exeext'
33744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33745 (eval $ac_try) 2>&5
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); }; }; then
33749 eval "$as_ac_var=yes"
33751 echo "$as_me: failed program was:" >&5
33752 sed 's/^/| /' conftest.
$ac_ext >&5
33754 eval "$as_ac_var=no"
33756 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33760 if test `eval echo '${'$as_ac_var'}'` = yes; then
33761 cat >>confdefs.h
<<_ACEOF
33762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33768 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33769 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33770 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33771 echo "$as_me:$LINENO: result: yes" >&5
33772 echo "${ECHO_T}yes" >&6
33774 echo "$as_me:$LINENO: result: no" >&5
33775 echo "${ECHO_T}no" >&6
33776 # not sure we should warn the user, crash, etc.
33780 if test "$wxUSE_GUI" = "yes"; then
33783 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33784 drawing dynamic erase event exec font image \
33785 minimal propsize rotate shaped widgets render"
33787 if test "$wxUSE_MONOLITHIC" != "yes"; then
33788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
33791 SAMPLES_SUBDIRS
="console"
33795 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33796 -I\${top_srcdir}/include \
33797 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33800 if test "$GXX" = yes ; then
33801 CXXWARNINGS
="-Wall"
33804 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33806 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33807 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33808 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33811 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
33812 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33813 EXTRALIBS_XML
="$EXPAT_LINK"
33814 EXTRALIBS_ODBC
="$ODBC_LINK"
33815 if test "$wxUSE_GUI" = "yes"; then
33816 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33818 if test "$wxUSE_OPENGL" = "yes"; then
33819 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
33822 LDFLAGS
="$LDFLAGS $PROFILE"
33824 if test "$wxUSE_GTK" = 1; then
33827 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33830 WXCONFIG_EXTRALIBS
="$LIBS"
33832 if test "$wxUSE_REGEX" = "builtin" ; then
33833 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
33835 if test "$wxUSE_EXPAT" = "builtin" ; then
33836 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
33838 if test "$wxUSE_ODBC" = "builtin" ; then
33839 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33841 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33842 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
33844 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33845 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
33847 if test "$wxUSE_LIBPNG" = "builtin" ; then
33848 wxconfig_3rdparty
="$wxconfig_3rdparty png"
33850 if test "$wxUSE_ZLIB" = "builtin" ; then
33851 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
33853 if test "$wxUSE_ODBC" = "builtin" ; then
33854 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33857 for i
in $wxconfig_3rdparty ; do
33858 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33862 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33876 if test $wxUSE_MONOLITHIC = "yes" ; then
33882 if test $wxUSE_ODBC != "no" ; then
33888 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33910 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33918 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33920 if test -n "$ac_tool_prefix"; then
33921 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33922 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33923 echo "$as_me:$LINENO: checking for $ac_word" >&5
33924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33925 if test "${ac_cv_prog_RANLIB+set}" = set; then
33926 echo $ECHO_N "(cached) $ECHO_C" >&6
33928 if test -n "$RANLIB"; then
33929 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33932 for as_dir
in $PATH
33935 test -z "$as_dir" && as_dir
=.
33936 for ac_exec_ext
in '' $ac_executable_extensions; do
33937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33938 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
33939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33947 RANLIB
=$ac_cv_prog_RANLIB
33948 if test -n "$RANLIB"; then
33949 echo "$as_me:$LINENO: result: $RANLIB" >&5
33950 echo "${ECHO_T}$RANLIB" >&6
33952 echo "$as_me:$LINENO: result: no" >&5
33953 echo "${ECHO_T}no" >&6
33957 if test -z "$ac_cv_prog_RANLIB"; then
33958 ac_ct_RANLIB
=$RANLIB
33959 # Extract the first word of "ranlib", so it can be a program name with args.
33960 set dummy ranlib
; ac_word
=$2
33961 echo "$as_me:$LINENO: checking for $ac_word" >&5
33962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33963 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33964 echo $ECHO_N "(cached) $ECHO_C" >&6
33966 if test -n "$ac_ct_RANLIB"; then
33967 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
33969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33970 for as_dir
in $PATH
33973 test -z "$as_dir" && as_dir
=.
33974 for ac_exec_ext
in '' $ac_executable_extensions; do
33975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33976 ac_cv_prog_ac_ct_RANLIB
="ranlib"
33977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33983 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
33986 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
33987 if test -n "$ac_ct_RANLIB"; then
33988 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33989 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33991 echo "$as_me:$LINENO: result: no" >&5
33992 echo "${ECHO_T}no" >&6
33995 RANLIB
=$ac_ct_RANLIB
33997 RANLIB
="$ac_cv_prog_RANLIB"
34000 # Find a good install program. We prefer a C program (faster),
34001 # so one script is as good as another. But avoid the broken or
34002 # incompatible versions:
34003 # SysV /etc/install, /usr/sbin/install
34004 # SunOS /usr/etc/install
34005 # IRIX /sbin/install
34007 # AmigaOS /C/install, which installs bootblocks on floppy discs
34008 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34009 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34010 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34011 # ./install, which can be erroneously created by make from ./install.sh.
34012 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34013 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34014 if test -z "$INSTALL"; then
34015 if test "${ac_cv_path_install+set}" = set; then
34016 echo $ECHO_N "(cached) $ECHO_C" >&6
34018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34019 for as_dir
in $PATH
34022 test -z "$as_dir" && as_dir
=.
34023 # Account for people who put trailing slashes in PATH elements.
34025 .
/ | .
// | /cC
/* | \
34026 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
34029 # OSF1 and SCO ODT 3.0 have their own names for install.
34030 # Don't use installbsd from OSF since it installs stuff as root
34032 for ac_prog
in ginstall scoinst
install; do
34033 for ac_exec_ext
in '' $ac_executable_extensions; do
34034 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34035 if test $ac_prog = install &&
34036 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34037 # AIX install. It has an incompatible calling convention.
34039 elif test $ac_prog = install &&
34040 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34041 # program-specific install script used by HP pwplus--don't use.
34044 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
34056 if test "${ac_cv_path_install+set}" = set; then
34057 INSTALL
=$ac_cv_path_install
34059 # As a last resort, use the slow shell script. We don't cache a
34060 # path for INSTALL within a source directory, because that will
34061 # break other packages using the cache if that directory is
34062 # removed, or if the path is relative.
34063 INSTALL
=$ac_install_sh
34066 echo "$as_me:$LINENO: result: $INSTALL" >&5
34067 echo "${ECHO_T}$INSTALL" >&6
34069 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34070 # It thinks the first close brace ends the variable substitution.
34071 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
34073 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
34075 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
34077 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34078 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34080 if test "$LN_S" = "ln -s"; then
34081 echo "$as_me:$LINENO: result: yes" >&5
34082 echo "${ECHO_T}yes" >&6
34084 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34085 echo "${ECHO_T}no, using $LN_S" >&6
34089 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34090 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34091 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34092 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34093 echo $ECHO_N "(cached) $ECHO_C" >&6
34095 cat >conftest.
make <<\_ACEOF
34097 @
echo 'ac_maketemp="$(MAKE)"'
34099 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34100 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34101 if test -n "$ac_maketemp"; then
34102 eval ac_cv_prog_make_
${ac_make}_set
=yes
34104 eval ac_cv_prog_make_
${ac_make}_set
=no
34106 rm -f conftest.
make
34108 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34109 echo "$as_me:$LINENO: result: yes" >&5
34110 echo "${ECHO_T}yes" >&6
34113 echo "$as_me:$LINENO: result: no" >&5
34114 echo "${ECHO_T}no" >&6
34115 SET_MAKE
="MAKE=${MAKE-make}"
34120 if test -n "$ac_tool_prefix"; then
34121 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34122 set dummy
${ac_tool_prefix}ar; ac_word
=$2
34123 echo "$as_me:$LINENO: checking for $ac_word" >&5
34124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34125 if test "${ac_cv_prog_AR+set}" = set; then
34126 echo $ECHO_N "(cached) $ECHO_C" >&6
34128 if test -n "$AR"; then
34129 ac_cv_prog_AR
="$AR" # Let the user override the test.
34131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34132 for as_dir
in $PATH
34135 test -z "$as_dir" && as_dir
=.
34136 for ac_exec_ext
in '' $ac_executable_extensions; do
34137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34138 ac_cv_prog_AR
="${ac_tool_prefix}ar"
34139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34148 if test -n "$AR"; then
34149 echo "$as_me:$LINENO: result: $AR" >&5
34150 echo "${ECHO_T}$AR" >&6
34152 echo "$as_me:$LINENO: result: no" >&5
34153 echo "${ECHO_T}no" >&6
34157 if test -z "$ac_cv_prog_AR"; then
34159 # Extract the first word of "ar", so it can be a program name with args.
34160 set dummy
ar; ac_word
=$2
34161 echo "$as_me:$LINENO: checking for $ac_word" >&5
34162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34163 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34164 echo $ECHO_N "(cached) $ECHO_C" >&6
34166 if test -n "$ac_ct_AR"; then
34167 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
34169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34170 for as_dir
in $PATH
34173 test -z "$as_dir" && as_dir
=.
34174 for ac_exec_ext
in '' $ac_executable_extensions; do
34175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34176 ac_cv_prog_ac_ct_AR
="ar"
34177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34183 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
34186 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
34187 if test -n "$ac_ct_AR"; then
34188 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34189 echo "${ECHO_T}$ac_ct_AR" >&6
34191 echo "$as_me:$LINENO: result: no" >&5
34192 echo "${ECHO_T}no" >&6
34197 AR
="$ac_cv_prog_AR"
34200 if test -n "$ac_tool_prefix"; then
34201 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34202 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
34203 echo "$as_me:$LINENO: checking for $ac_word" >&5
34204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34205 if test "${ac_cv_prog_STRIP+set}" = set; then
34206 echo $ECHO_N "(cached) $ECHO_C" >&6
34208 if test -n "$STRIP"; then
34209 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
34211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34212 for as_dir
in $PATH
34215 test -z "$as_dir" && as_dir
=.
34216 for ac_exec_ext
in '' $ac_executable_extensions; do
34217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34218 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
34219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34227 STRIP
=$ac_cv_prog_STRIP
34228 if test -n "$STRIP"; then
34229 echo "$as_me:$LINENO: result: $STRIP" >&5
34230 echo "${ECHO_T}$STRIP" >&6
34232 echo "$as_me:$LINENO: result: no" >&5
34233 echo "${ECHO_T}no" >&6
34237 if test -z "$ac_cv_prog_STRIP"; then
34239 # Extract the first word of "strip", so it can be a program name with args.
34240 set dummy strip
; ac_word
=$2
34241 echo "$as_me:$LINENO: checking for $ac_word" >&5
34242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34243 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34244 echo $ECHO_N "(cached) $ECHO_C" >&6
34246 if test -n "$ac_ct_STRIP"; then
34247 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
34249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34250 for as_dir
in $PATH
34253 test -z "$as_dir" && as_dir
=.
34254 for ac_exec_ext
in '' $ac_executable_extensions; do
34255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34256 ac_cv_prog_ac_ct_STRIP
="strip"
34257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34263 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
34266 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
34267 if test -n "$ac_ct_STRIP"; then
34268 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34269 echo "${ECHO_T}$ac_ct_STRIP" >&6
34271 echo "$as_me:$LINENO: result: no" >&5
34272 echo "${ECHO_T}no" >&6
34277 STRIP
="$ac_cv_prog_STRIP"
34280 if test -n "$ac_tool_prefix"; then
34281 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34282 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
34283 echo "$as_me:$LINENO: checking for $ac_word" >&5
34284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34285 if test "${ac_cv_prog_NM+set}" = set; then
34286 echo $ECHO_N "(cached) $ECHO_C" >&6
34288 if test -n "$NM"; then
34289 ac_cv_prog_NM
="$NM" # Let the user override the test.
34291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34292 for as_dir
in $PATH
34295 test -z "$as_dir" && as_dir
=.
34296 for ac_exec_ext
in '' $ac_executable_extensions; do
34297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34298 ac_cv_prog_NM
="${ac_tool_prefix}nm"
34299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34308 if test -n "$NM"; then
34309 echo "$as_me:$LINENO: result: $NM" >&5
34310 echo "${ECHO_T}$NM" >&6
34312 echo "$as_me:$LINENO: result: no" >&5
34313 echo "${ECHO_T}no" >&6
34317 if test -z "$ac_cv_prog_NM"; then
34319 # Extract the first word of "nm", so it can be a program name with args.
34320 set dummy nm
; ac_word
=$2
34321 echo "$as_me:$LINENO: checking for $ac_word" >&5
34322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34323 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34324 echo $ECHO_N "(cached) $ECHO_C" >&6
34326 if test -n "$ac_ct_NM"; then
34327 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
34329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34330 for as_dir
in $PATH
34333 test -z "$as_dir" && as_dir
=.
34334 for ac_exec_ext
in '' $ac_executable_extensions; do
34335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34336 ac_cv_prog_ac_ct_NM
="nm"
34337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34343 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
34346 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
34347 if test -n "$ac_ct_NM"; then
34348 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34349 echo "${ECHO_T}$ac_ct_NM" >&6
34351 echo "$as_me:$LINENO: result: no" >&5
34352 echo "${ECHO_T}no" >&6
34357 NM
="$ac_cv_prog_NM"
34363 INSTALL_DIR
="mkdir"
34365 *) INSTALL_DIR
="$INSTALL -d"
34372 *-*-cygwin* | *-*-mingw32* )
34373 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
34379 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34380 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34381 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34382 echo $ECHO_N "(cached) $ECHO_C" >&6
34385 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
34386 egrep -s GNU
> /dev
/null
); then
34387 bakefile_cv_prog_makeisgnu
="yes"
34389 bakefile_cv_prog_makeisgnu
="no"
34393 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34394 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34396 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34412 *-*-cygwin* | *-*-mingw32* )
34418 *-pc-os2_emx | *-pc-os2-emx )
34421 powerpc
-*-darwin* )
34439 SO_SUFFIX_MODULE
="so"
34448 SO_SUFFIX_MODULE
="sl"
34452 SO_SUFFIX_MODULE
="a"
34454 *-*-cygwin* | *-*-mingw32* )
34456 SO_SUFFIX_MODULE
="dll"
34464 *-pc-os2_emx | *-pc-os2-emx )
34469 powerpc
-*-darwin* )
34471 SO_SUFFIX_MODULE
="bundle"
34483 SHARED_LD_CC
="\$(CC) -shared -o"
34484 SHARED_LD_CXX
="\$(CXX) -shared -o"
34486 if test "x$GCC" = "xyes"; then
34492 if test "x$GCC" = "xyes"; then
34493 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
34494 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
34496 LDFLAGS
="$LDFLAGS -L/usr/lib"
34498 SHARED_LD_CC
="${CC} -b -o"
34499 SHARED_LD_CXX
="${CXX} -b -o"
34505 if test "x$GCC" != "xyes"; then
34506 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34507 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34508 if test "${bakefile_cv_prog_icc+set}" = set; then
34509 echo $ECHO_N "(cached) $ECHO_C" >&6
34512 cat >conftest.
$ac_ext <<_ACEOF
34513 #line $LINENO "configure"
34516 cat confdefs.h
>>conftest.
$ac_ext
34517 cat >>conftest.
$ac_ext <<_ACEOF
34518 /* end confdefs.h. */
34524 #ifndef __INTEL_COMPILER
34532 rm -f conftest.
$ac_objext
34533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34534 (eval $ac_compile) 2>&5
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); } &&
34538 { ac_try
='test -s conftest.$ac_objext'
34539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34540 (eval $ac_try) 2>&5
34542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34543 (exit $ac_status); }; }; then
34544 bakefile_cv_prog_icc
=yes
34546 echo "$as_me: failed program was:" >&5
34547 sed 's/^/| /' conftest.
$ac_ext >&5
34549 bakefile_cv_prog_icc
=no
34552 rm -f conftest.
$ac_objext conftest.
$ac_ext
34555 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34556 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34557 if test "$bakefile_cv_prog_icc" = "yes"; then
34564 if test "x$GCC" != xyes
; then
34565 SHARED_LD_CC
="${CC} -G -o"
34566 SHARED_LD_CXX
="${CXX} -G -o"
34572 CFLAGS
="$CFLAGS -fno-common"
34573 CXXFLAGS
="$CXXFLAGS -fno-common"
34576 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34577 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34578 if test "${wx_cv_gcc31+set}" = set; then
34579 echo $ECHO_N "(cached) $ECHO_C" >&6
34582 cat >conftest.
$ac_ext <<_ACEOF
34583 #line $LINENO "configure"
34586 cat confdefs.h
>>conftest.
$ac_ext
34587 cat >>conftest.
$ac_ext <<_ACEOF
34588 /* end confdefs.h. */
34594 #if (__GNUC__ < 3) || \
34595 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34603 rm -f conftest.
$ac_objext
34604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34605 (eval $ac_compile) 2>&5
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); } &&
34609 { ac_try
='test -s conftest.$ac_objext'
34610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34611 (eval $ac_try) 2>&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); }; }; then
34619 echo "$as_me: failed program was:" >&5
34620 sed 's/^/| /' conftest.
$ac_ext >&5
34627 rm -f conftest.
$ac_objext conftest.
$ac_ext
34630 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34631 echo "${ECHO_T}$wx_cv_gcc31" >&6
34632 if test "$wx_cv_gcc31" = "no"; then
34633 cat <<EOF >shared-ld-sh
34635 #-----------------------------------------------------------------------------
34636 #-- Name: distrib/mac/shared-ld-sh
34637 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34638 #-- Author: Gilles Depeyrot
34639 #-- Copyright: (c) 2002 Gilles Depeyrot
34640 #-- Licence: any use permitted
34641 #-----------------------------------------------------------------------------
34646 linking_flag="-dynamiclib"
34648 while test \${#} -gt 0; do
34655 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34656 # collect these options and values
34657 args="\${args} \${1} \${2}"
34661 -l*|-L*|-flat_namespace)
34662 # collect these options
34663 args="\${args} \${1}"
34666 -dynamiclib|-bundle)
34667 linking_flag="\${1}"
34671 echo "shared-ld: unhandled option '\${1}'"
34675 *.o | *.a | *.dylib)
34676 # collect object files
34677 objects="\${objects} \${1}"
34681 echo "shared-ld: unhandled argument '\${1}'"
34690 # Link one module containing all the others
34692 if test \${verbose} = 1; then
34693 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34695 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34697 if test \${status} != 0; then
34702 # Link the shared library from the single module created
34704 if test \${verbose} = 1; then
34705 echo "cc \${linking_flag} master.\$\$.o \${args}"
34707 c++ \${linking_flag} master.\$\$.o \${args}
34709 if test \${status} != 0; then
34714 # Remove intermediate module
34716 rm -f master.\$\$.o
34720 chmod +x shared
-ld-sh
34722 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -o"
34723 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -o"
34724 SHARED_LD_CXX
="$SHARED_LD_CC"
34725 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
34727 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -o"
34728 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -o"
34729 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -o"
34730 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -o"
34733 PIC_FLAG
="-dynamic -fPIC"
34737 if test "x$GCC" != "xyes"; then
34738 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34739 set dummy makeC
++SharedLib
; ac_word
=$2
34740 echo "$as_me:$LINENO: checking for $ac_word" >&5
34741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34742 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34743 echo $ECHO_N "(cached) $ECHO_C" >&6
34745 if test -n "$AIX_CXX_LD"; then
34746 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34749 for as_dir
in $PATH
34752 test -z "$as_dir" && as_dir
=.
34753 for ac_exec_ext
in '' $ac_executable_extensions; do
34754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34755 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34762 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34765 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34766 if test -n "$AIX_CXX_LD"; then
34767 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34768 echo "${ECHO_T}$AIX_CXX_LD" >&6
34770 echo "$as_me:$LINENO: result: no" >&5
34771 echo "${ECHO_T}no" >&6
34774 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34775 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34780 SHARED_LD_CC
="${LD} -shared -o"
34781 SHARED_LD_CXX
="${LD} -shared -o"
34785 if test "x$GCC" != "xyes"; then
34790 *-*-cygwin* | *-*-mingw32* )
34794 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34798 *-pc-os2_emx | *-pc-os2-emx | \
34803 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34804 echo "$as_me: error: unknown system type $host." >&2;}
34805 { (exit 1); exit 1; }; }
34808 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34809 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
34811 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34812 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
34831 SONAME_FLAG
="-Wl,-soname,"
34859 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34860 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34863 if test "x$GCC" = "xyes"; then
34867 powerpc
-*-darwin* )
34868 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
34871 DEPSFLAG_GCC
="-MMD"
34874 echo "$as_me:$LINENO: result: gcc" >&5
34875 echo "${ECHO_T}gcc" >&6
34877 echo "$as_me:$LINENO: result: none" >&5
34878 echo "${ECHO_T}none" >&6
34881 if test $DEPS_TRACKING = 1 ; then
34885 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34886 # script. It is used to track C/C++ files dependencies in portable way.
34888 # Permission is given to use this file in any way.
34892 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34896 if test \$DEPSMODE = gcc ; then
34897 \${*} \${DEPSFLAG_GCC}
34899 if test \${status} != 0 ; then
34902 # move created file to the location we want it in:
34903 while test \${#} -gt 0; do
34917 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34918 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34919 if test -f \$depfile ; then
34920 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34923 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34924 if test -f \$depfile ; then
34925 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34945 *-*-cygwin* | *-*-mingw32* )
34946 if test "$build" != "$host" ; then
34947 RESCOMP
=$host_alias-windres
34949 # Extract the first word of "windres", so it can be a program name with args.
34950 set dummy windres
; ac_word
=$2
34951 echo "$as_me:$LINENO: checking for $ac_word" >&5
34952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34953 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34954 echo $ECHO_N "(cached) $ECHO_C" >&6
34956 if test -n "$RESCOMP"; then
34957 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34960 for as_dir
in $PATH
34963 test -z "$as_dir" && as_dir
=.
34964 for ac_exec_ext
in '' $ac_executable_extensions; do
34965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34966 ac_cv_prog_RESCOMP
="windres"
34967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34973 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34976 RESCOMP
=$ac_cv_prog_RESCOMP
34977 if test -n "$RESCOMP"; then
34978 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34979 echo "${ECHO_T}$RESCOMP" >&6
34981 echo "$as_me:$LINENO: result: no" >&5
34982 echo "${ECHO_T}no" >&6
34989 # Extract the first word of "Rez", so it can be a program name with args.
34990 set dummy Rez
; ac_word
=$2
34991 echo "$as_me:$LINENO: checking for $ac_word" >&5
34992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34993 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34994 echo $ECHO_N "(cached) $ECHO_C" >&6
34996 if test -n "$RESCOMP"; then
34997 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35000 for as_dir
in $PATH
35003 test -z "$as_dir" && as_dir
=.
35004 for ac_exec_ext
in '' $ac_executable_extensions; do
35005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35006 ac_cv_prog_RESCOMP
="Rez"
35007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35013 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
35016 RESCOMP
=$ac_cv_prog_RESCOMP
35017 if test -n "$RESCOMP"; then
35018 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35019 echo "${ECHO_T}$RESCOMP" >&6
35021 echo "$as_me:$LINENO: result: no" >&5
35022 echo "${ECHO_T}no" >&6
35025 # Extract the first word of "SetFile", so it can be a program name with args.
35026 set dummy SetFile
; ac_word
=$2
35027 echo "$as_me:$LINENO: checking for $ac_word" >&5
35028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35029 if test "${ac_cv_prog_SETFILE+set}" = set; then
35030 echo $ECHO_N "(cached) $ECHO_C" >&6
35032 if test -n "$SETFILE"; then
35033 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
35035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35036 for as_dir
in $PATH
35039 test -z "$as_dir" && as_dir
=.
35040 for ac_exec_ext
in '' $ac_executable_extensions; do
35041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35042 ac_cv_prog_SETFILE
="SetFile"
35043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35049 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
35052 SETFILE
=$ac_cv_prog_SETFILE
35053 if test -n "$SETFILE"; then
35054 echo "$as_me:$LINENO: result: $SETFILE" >&5
35055 echo "${ECHO_T}$SETFILE" >&6
35057 echo "$as_me:$LINENO: result: no" >&5
35058 echo "${ECHO_T}no" >&6
35073 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35074 if test "${enable_precomp_headers+set}" = set; then
35075 enableval
="$enable_precomp_headers"
35076 bk_use_pch
="$enableval"
35081 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35082 if test "x$GCC" = "xyes"; then
35083 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35084 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35085 cat >conftest.
$ac_ext <<_ACEOF
35086 #line $LINENO "configure"
35089 cat confdefs.h
>>conftest.
$ac_ext
35090 cat >>conftest.
$ac_ext <<_ACEOF
35091 /* end confdefs.h. */
35097 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35098 #error "no pch support"
35101 #error "no pch support"
35103 #if (__GNUC__ == 3) && \
35104 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35105 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35106 #error "no pch support"
35113 rm -f conftest.
$ac_objext
35114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35115 (eval $ac_compile) 2>&5
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); } &&
35119 { ac_try
='test -s conftest.$ac_objext'
35120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35121 (eval $ac_try) 2>&5
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); }; }; then
35126 echo "$as_me:$LINENO: result: yes" >&5
35127 echo "${ECHO_T}yes" >&6
35128 CPPFLAGS
="-fpch-deps $CPPFLAGS"
35132 echo "$as_me: failed program was:" >&5
35133 sed 's/^/| /' conftest.
$ac_ext >&5
35136 echo "$as_me:$LINENO: result: no" >&5
35137 echo "${ECHO_T}no" >&6
35140 rm -f conftest.
$ac_objext conftest.
$ac_ext
35141 if test $GCC_PCH = 1 ; then
35142 cat <<EOF >bk-make-pch
35145 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35146 # script. It is used to generated precompiled headers.
35148 # Permission is given to use this file in any way.
35157 while test \${#} -gt 0; do
35160 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35161 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35162 headerfile="\${incdir}/\${header}"
35166 compiler="\${compiler} \${1}"
35170 if test "x\${headerfile}" = "x" ; then
35171 echo "error: can't find header \${header} in include paths" >2
35173 if test -f \${outfile} ; then
35176 mkdir -p \`dirname \${outfile}\`
35178 depsfile=".deps/\`basename \${outfile}\`.d"
35180 # can do this because gcc is >= 3.4:
35181 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35185 chmod +x bk
-make-pch
35194 COND_BUILD_DEBUG
="#"
35195 if test "x$BUILD" = "xdebug" ; then
35196 COND_BUILD_DEBUG
=""
35199 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
35200 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35201 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
35204 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
35205 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35206 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
35209 COND_BUILD_RELEASE
="#"
35210 if test "x$BUILD" = "xrelease" ; then
35211 COND_BUILD_RELEASE
=""
35214 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
35215 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35216 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
35219 COND_DEBUG_FLAG_1
="#"
35220 if test "x$DEBUG_FLAG" = "x1" ; then
35221 COND_DEBUG_FLAG_1
=""
35224 COND_DEBUG_INFO_0
="#"
35225 if test "x$DEBUG_INFO" = "x0" ; then
35226 COND_DEBUG_INFO_0
=""
35229 COND_DEBUG_INFO_1
="#"
35230 if test "x$DEBUG_INFO" = "x1" ; then
35231 COND_DEBUG_INFO_1
=""
35234 COND_DEPS_TRACKING_0
="#"
35235 if test "x$DEPS_TRACKING" = "x0" ; then
35236 COND_DEPS_TRACKING_0
=""
35239 COND_DEPS_TRACKING_1
="#"
35240 if test "x$DEPS_TRACKING" = "x1" ; then
35241 COND_DEPS_TRACKING_1
=""
35245 if test "x$GCC_PCH" = "x1" ; then
35249 COND_MONOLITHIC_0
="#"
35250 if test "x$MONOLITHIC" = "x0" ; then
35251 COND_MONOLITHIC_0
=""
35254 COND_MONOLITHIC_0_SHARED_0
="#"
35255 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35256 COND_MONOLITHIC_0_SHARED_0
=""
35259 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
35260 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35261 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
35264 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
35265 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35266 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
35269 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
35270 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35271 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
35274 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
35275 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35276 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
35279 COND_MONOLITHIC_0_SHARED_1
="#"
35280 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35281 COND_MONOLITHIC_0_SHARED_1
=""
35284 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
35285 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35286 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
35289 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
35290 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35291 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
35294 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
35295 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35296 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
35299 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
35300 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35301 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
35304 COND_MONOLITHIC_1
="#"
35305 if test "x$MONOLITHIC" = "x1" ; then
35306 COND_MONOLITHIC_1
=""
35309 COND_MONOLITHIC_1_SHARED_0
="#"
35310 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35311 COND_MONOLITHIC_1_SHARED_0
=""
35314 COND_MONOLITHIC_1_SHARED_1
="#"
35315 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35316 COND_MONOLITHIC_1_SHARED_1
=""
35319 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
35320 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35321 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
35324 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
35325 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35326 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
35329 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
35330 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35331 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
35334 COND_PLATFORM_MACOSX_1
="#"
35335 if test "x$PLATFORM_MACOSX" = "x1" ; then
35336 COND_PLATFORM_MACOSX_1
=""
35339 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
35340 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35341 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
35344 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
35345 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35346 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
35349 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
35350 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35351 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
35354 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
35355 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35356 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
35359 COND_PLATFORM_MAC_1
="#"
35360 if test "x$PLATFORM_MAC" = "x1" ; then
35361 COND_PLATFORM_MAC_1
=""
35364 COND_PLATFORM_OS2_1
="#"
35365 if test "x$PLATFORM_OS2" = "x1" ; then
35366 COND_PLATFORM_OS2_1
=""
35369 COND_PLATFORM_UNIX_0
="#"
35370 if test "x$PLATFORM_UNIX" = "x0" ; then
35371 COND_PLATFORM_UNIX_0
=""
35374 COND_PLATFORM_UNIX_1
="#"
35375 if test "x$PLATFORM_UNIX" = "x1" ; then
35376 COND_PLATFORM_UNIX_1
=""
35379 COND_PLATFORM_WIN32_0
="#"
35380 if test "x$PLATFORM_WIN32" = "x0" ; then
35381 COND_PLATFORM_WIN32_0
=""
35384 COND_PLATFORM_WIN32_1
="#"
35385 if test "x$PLATFORM_WIN32" = "x1" ; then
35386 COND_PLATFORM_WIN32_1
=""
35390 if test "x$SHARED" = "x0" ; then
35394 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
35395 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35396 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
35399 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35400 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35401 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35404 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35405 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35406 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35409 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35410 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35411 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35414 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
35415 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35416 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
35419 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
35420 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35421 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
35424 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
35425 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35426 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
35429 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
35430 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35431 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
35435 if test "x$SHARED" = "x1" ; then
35439 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
35440 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35441 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
35444 COND_TOOLKIT_COCOA
="#"
35445 if test "x$TOOLKIT" = "xCOCOA" ; then
35446 COND_TOOLKIT_COCOA
=""
35449 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
35450 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35451 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
35454 COND_TOOLKIT_GTK
="#"
35455 if test "x$TOOLKIT" = "xGTK" ; then
35456 COND_TOOLKIT_GTK
=""
35459 COND_TOOLKIT_GTK_USE_GUI_1
="#"
35460 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35461 COND_TOOLKIT_GTK_USE_GUI_1
=""
35464 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
35465 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35466 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
35469 COND_TOOLKIT_MAC
="#"
35470 if test "x$TOOLKIT" = "xMAC" ; then
35471 COND_TOOLKIT_MAC
=""
35474 COND_TOOLKIT_MAC_USE_GUI_1
="#"
35475 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35476 COND_TOOLKIT_MAC_USE_GUI_1
=""
35479 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
35480 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35481 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
35484 COND_TOOLKIT_MGL
="#"
35485 if test "x$TOOLKIT" = "xMGL" ; then
35486 COND_TOOLKIT_MGL
=""
35489 COND_TOOLKIT_MGL_USE_GUI_1
="#"
35490 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35491 COND_TOOLKIT_MGL_USE_GUI_1
=""
35494 COND_TOOLKIT_MOTIF
="#"
35495 if test "x$TOOLKIT" = "xMOTIF" ; then
35496 COND_TOOLKIT_MOTIF
=""
35499 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
35500 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35501 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
35504 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
35505 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35506 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
35509 COND_TOOLKIT_MSW
="#"
35510 if test "x$TOOLKIT" = "xMSW" ; then
35511 COND_TOOLKIT_MSW
=""
35514 COND_TOOLKIT_MSW_USE_GUI_1
="#"
35515 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35516 COND_TOOLKIT_MSW_USE_GUI_1
=""
35519 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
35520 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35521 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
35524 COND_TOOLKIT_PM
="#"
35525 if test "x$TOOLKIT" = "xPM" ; then
35529 COND_TOOLKIT_PM_USE_GUI_1
="#"
35530 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35531 COND_TOOLKIT_PM_USE_GUI_1
=""
35534 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
35535 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35536 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
35539 COND_TOOLKIT_X11
="#"
35540 if test "x$TOOLKIT" = "xX11" ; then
35541 COND_TOOLKIT_X11
=""
35544 COND_TOOLKIT_X11_USE_GUI_1
="#"
35545 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35546 COND_TOOLKIT_X11_USE_GUI_1
=""
35550 if test "x$UNICODE" = "x1" ; then
35554 COND_USE_EXCEPTIONS_0
="#"
35555 if test "x$USE_EXCEPTIONS" = "x0" ; then
35556 COND_USE_EXCEPTIONS_0
=""
35559 COND_USE_EXCEPTIONS_1
="#"
35560 if test "x$USE_EXCEPTIONS" = "x1" ; then
35561 COND_USE_EXCEPTIONS_1
=""
35565 if test "x$USE_GUI" = "x0" ; then
35570 if test "x$USE_GUI" = "x1" ; then
35574 COND_USE_GUI_1_WXUNIV_0
="#"
35575 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35576 COND_USE_GUI_1_WXUNIV_0
=""
35579 COND_USE_GUI_1_WXUNIV_1
="#"
35580 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35581 COND_USE_GUI_1_WXUNIV_1
=""
35584 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35585 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35586 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35589 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35590 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35591 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35594 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35595 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35596 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35599 COND_USE_ODBC_1
="#"
35600 if test "x$USE_ODBC" = "x1" ; then
35604 COND_USE_SOSYMLINKS_1
="#"
35605 if test "x$USE_SOSYMLINKS" = "x1" ; then
35606 COND_USE_SOSYMLINKS_1
=""
35609 COND_USE_SOVERLINUX_1
="#"
35610 if test "x$USE_SOVERLINUX" = "x1" ; then
35611 COND_USE_SOVERLINUX_1
=""
35614 COND_USE_SOVERSION_0
="#"
35615 if test "x$USE_SOVERSION" = "x0" ; then
35616 COND_USE_SOVERSION_0
=""
35619 COND_USE_SOVERSOLARIS_1
="#"
35620 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35621 COND_USE_SOVERSOLARIS_1
=""
35625 if test "x$WXUNIV" = "x1" ; then
35629 COND_WXUSE_EXPAT_BUILTIN
="#"
35630 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35631 COND_WXUSE_EXPAT_BUILTIN
=""
35634 COND_WXUSE_LIBJPEG_BUILTIN
="#"
35635 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35636 COND_WXUSE_LIBJPEG_BUILTIN
=""
35639 COND_WXUSE_LIBPNG_BUILTIN
="#"
35640 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35641 COND_WXUSE_LIBPNG_BUILTIN
=""
35644 COND_WXUSE_LIBTIFF_BUILTIN
="#"
35645 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35646 COND_WXUSE_LIBTIFF_BUILTIN
=""
35649 COND_WXUSE_ODBC_BUILTIN
="#"
35650 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35651 COND_WXUSE_ODBC_BUILTIN
=""
35654 COND_WXUSE_REGEX_BUILTIN
="#"
35655 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35656 COND_WXUSE_REGEX_BUILTIN
=""
35659 COND_WXUSE_ZLIB_BUILTIN
="#"
35660 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35661 COND_WXUSE_ZLIB_BUILTIN
=""
35668 if test $GCC_PCH = 1 ; then
35669 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35672 powerpc
-*-darwin* )
35673 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
35678 powerpc
-*-darwin* )
35679 CODE_GEN_FLAGS_CXX
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35684 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35785 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35787 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
35788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35789 echo $ECHO_N "(cached) $ECHO_C" >&6
35791 cat >conftest.
make <<\_ACEOF
35793 @
echo 'ac_maketemp="$(MAKE)"'
35795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35796 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35797 if test -n "$ac_maketemp"; then
35798 eval ac_cv_prog_make_
${ac_make}_set
=yes
35800 eval ac_cv_prog_make_
${ac_make}_set
=no
35802 rm -f conftest.
make
35804 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35805 echo "$as_me:$LINENO: result: yes" >&5
35806 echo "${ECHO_T}yes" >&6
35809 echo "$as_me:$LINENO: result: no" >&5
35810 echo "${ECHO_T}no" >&6
35811 SET_MAKE
="MAKE=${MAKE-make}"
35815 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
35816 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
35819 ac_config_headers
="$ac_config_headers setup.h"
35822 ac_config_files
="$ac_config_files wx-config version-script Makefile"
35825 ac_config_commands
="$ac_config_commands default"
35829 if test "$wxUSE_GUI" = "yes"; then
35830 SUBDIRS
="samples demos utils contrib"
35831 else SUBDIRS
="samples utils"
35834 for subdir
in `echo $SUBDIRS`; do
35835 if test -d ${srcdir}/${subdir} ; then
35836 if test "$wxUSE_GUI" = "yes"; then
35837 if test ${subdir} = "samples"; then
35838 makefiles
="samples/Makefile.in $makefiles"
35839 for sample
in `echo $SAMPLES_SUBDIRS`; do
35840 if test -d $srcdir/samples
/$sample; then
35841 makefiles
="samples/$sample/Makefile.in $makefiles"
35844 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
35846 else if test ${subdir} = "samples"; then
35847 makefiles
="samples/Makefile.in samples/console/Makefile.in"
35848 else makefiles
="utils/HelpGen/Makefile.in \
35849 utils/HelpGen/src/Makefile.in \
35850 utils/tex2rtf/Makefile.in \
35851 utils/tex2rtf/src/Makefile.in"
35855 for mkin
in $makefiles ; do
35856 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35857 ac_config_files
="$ac_config_files $mk"
35864 cat >confcache
<<\_ACEOF
35865 # This file is a shell script that caches the results of configure
35866 # tests run on this system so they can be shared between configure
35867 # scripts and configure runs, see configure's option --config-cache.
35868 # It is not useful on other systems. If it contains results you don't
35869 # want to keep, you may remove or edit it.
35871 # config.status only pays attention to the cache file if you give it
35872 # the --recheck option to rerun configure.
35874 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35875 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35876 # following values.
35880 # The following way of writing the cache mishandles newlines in values,
35881 # but we know of no workaround that is simple, portable, and efficient.
35882 # So, don't put newlines in cache variables' values.
35883 # Ultrix sh set writes to stderr and can't be redirected directly,
35884 # and sets the high bit in the cache file unless we assign to the vars.
35887 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35889 # `set' does not quote correctly, so add quotes (double-quote
35890 # substitution turns \\\\ into \\, and sed turns \\ into \).
35893 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35896 # `set' quotes correctly as required by POSIX, so do not add quotes.
35898 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35905 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35907 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35909 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35910 if test -w $cache_file; then
35911 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35912 cat confcache
>$cache_file
35914 echo "not updating unwritable cache $cache_file"
35919 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
35920 # Let make expand exec_prefix.
35921 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
35923 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35924 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35925 # trailing colons and then remove the whole line if VPATH becomes empty
35926 # (actually we leave an empty line to preserve line numbers).
35927 if test "x$srcdir" = x.
; then
35928 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
35929 s/:*\$(srcdir):*/:/;
35930 s/:*\${srcdir}:*/:/;
35932 s/^\([^=]*=[ ]*\):*/\1/;
35938 DEFS
=-DHAVE_CONFIG_H
35942 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
35943 # 1. Remove the extension, and $U if already installed.
35944 ac_i
=`echo "$ac_i" |
35945 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35947 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
35948 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
35950 LIBOBJS
=$ac_libobjs
35952 LTLIBOBJS
=$ac_ltlibobjs
35956 : ${CONFIG_STATUS=./config.status}
35957 ac_clean_files_save
=$ac_clean_files
35958 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
35959 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35960 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35961 cat >$CONFIG_STATUS <<_ACEOF
35963 # Generated by $as_me.
35964 # Run this file to recreate the current configuration.
35965 # Compiler output produced by configure, useful for debugging
35966 # configure, is in config.log if it exists.
35969 ac_cs_recheck=false
35971 SHELL=\${CONFIG_SHELL-$SHELL}
35974 cat >>$CONFIG_STATUS <<\_ACEOF
35975 ## --------------------- ##
35976 ## M4sh Initialization. ##
35977 ## --------------------- ##
35979 # Be Bourne compatible
35980 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
35983 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35984 # is contrary to our usage. Disable this feature.
35985 alias -g '${1+"$@"}'='"$@"'
35986 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
35990 # Support unset when possible.
35991 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35998 # Work around bugs in pre-3.0 UWIN ksh.
35999 $as_unset ENV MAIL MAILPATH
36006 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
36007 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
36008 LC_TELEPHONE LC_TIME
36010 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
36011 eval $as_var=C
; export $as_var
36017 # Required to use basename.
36018 if expr a
: '\(a\)' >/dev
/null
2>&1; then
36024 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
36025 as_basename
=basename
36031 # Name of the executable.
36032 as_me
=`$as_basename "$0" ||
36033 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36034 X"$0" : 'X\(//\)$' \| \
36035 X"$0" : 'X\(/\)$' \| \
36036 . : '\(.\)' 2>/dev/null ||
36038 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36039 /^X\/\(\/\/\)$/{ s//\1/; q; }
36040 /^X\/\(\/\).*/{ s//\1/; q; }
36044 # PATH needs CR, and LINENO needs CR and PATH.
36045 # Avoid depending upon Character Ranges.
36046 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
36047 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36048 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
36049 as_cr_digits
='0123456789'
36050 as_cr_alnum
=$as_cr_Letters$as_cr_digits
36052 # The user is always right.
36053 if test "${PATH_SEPARATOR+set}" != set; then
36054 echo "#! /bin/sh" >conf$$.sh
36055 echo "exit 0" >>conf$$.sh
36057 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
36066 as_lineno_1
=$LINENO
36067 as_lineno_2
=$LINENO
36068 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
36069 test "x$as_lineno_1" != "x$as_lineno_2" &&
36070 test "x$as_lineno_3" = "x$as_lineno_2" || {
36071 # Find who we are. Look in the path if we contain no path at all
36074 *[\\/]* ) as_myself
=$0 ;;
36075 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36076 for as_dir
in $PATH
36079 test -z "$as_dir" && as_dir
=.
36080 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
36085 # We did not find ourselves, most probably we were run as `sh COMMAND'
36086 # in which case we are not to be found in the path.
36087 if test "x$as_myself" = x
; then
36090 if test ! -f "$as_myself"; then
36091 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36092 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36093 { (exit 1); exit 1; }; }
36095 case $CONFIG_SHELL in
36097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36098 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
36101 test -z "$as_dir" && as_dir
=.
36102 for as_base
in sh bash ksh sh5
; do
36105 if ("$as_dir/$as_base" -c '
36106 as_lineno_1=$LINENO
36107 as_lineno_2=$LINENO
36108 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36109 test "x$as_lineno_1" != "x$as_lineno_2" &&
36110 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
36111 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
36112 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
36113 CONFIG_SHELL
=$as_dir/$as_base
36114 export CONFIG_SHELL
36115 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36123 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36124 # uniformly replaced by the line number. The first 'sed' inserts a
36125 # line-number line before each line; the second 'sed' does the real
36126 # work. The second script uses 'N' to pair each line-number line
36127 # with the numbered line, and appends trailing '-' during
36128 # substitution so that $LINENO is not a special case at line end.
36129 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36130 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36131 sed '=' <$as_myself |
36136 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36139 s,^['$as_cr_digits']*\n,,
36140 ' >$as_me.lineno
&&
36141 chmod +x
$as_me.lineno
||
36142 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36143 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36144 { (exit 1); exit 1; }; }
36146 # Don't try to exec as it changes $[0], causing all sort of problems
36147 # (the dirname of $[0] is not the place where we might find the
36148 # original and so on. Autoconf is especially sensible to this).
36150 # Exit status is that of the last command.
36155 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36156 *c
*,-n*) ECHO_N
= ECHO_C
='
36158 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
36159 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
36162 if expr a
: '\(a\)' >/dev
/null
2>&1; then
36168 rm -f conf$$ conf$$.exe conf$$.
file
36170 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
36171 # We could just check for DJGPP; but this test a) works b) is more generic
36172 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36173 if test -f conf$$.exe
; then
36174 # Don't use ln at all; we don't have any links
36179 elif ln conf$$.
file conf$$
2>/dev
/null
; then
36184 rm -f conf$$ conf$$.exe conf$$.
file
36186 if mkdir -p .
2>/dev
/null
; then
36192 as_executable_p
="test -f"
36194 # Sed expression to map a string onto a valid CPP name.
36195 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36197 # Sed expression to map a string onto a valid variable name.
36198 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36202 # We need space, tab and new line, in precisely that order.
36212 # Open the log real soon, to keep \$[0] and so on meaningful, and to
36213 # report actual input values of CONFIG_FILES etc. instead of their
36214 # values after options handling. Logging --version etc. is OK.
36218 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36219 ## Running $as_me. ##
36224 This file was extended by wxWindows $as_me 2.5.1, which was
36225 generated by GNU Autoconf 2.57. Invocation command line was
36227 CONFIG_FILES = $CONFIG_FILES
36228 CONFIG_HEADERS = $CONFIG_HEADERS
36229 CONFIG_LINKS = $CONFIG_LINKS
36230 CONFIG_COMMANDS = $CONFIG_COMMANDS
36234 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36238 # Files that config.status was made for.
36239 if test -n "$ac_config_files"; then
36240 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36243 if test -n "$ac_config_headers"; then
36244 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36247 if test -n "$ac_config_links"; then
36248 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36251 if test -n "$ac_config_commands"; then
36252 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36255 cat >>$CONFIG_STATUS <<\_ACEOF
36258 \`$as_me' instantiates files from templates according to the
36259 current configuration.
36261 Usage: $0 [OPTIONS] [FILE]...
36263 -h, --help print this help, then exit
36264 -V, --version print version number, then exit
36265 -q, --quiet do not print progress messages
36266 -d, --debug don't remove temporary files
36267 --recheck update $as_me by reconfiguring in the same conditions
36268 --file=FILE[:TEMPLATE]
36269 instantiate the configuration file FILE
36270 --header=FILE[:TEMPLATE]
36271 instantiate the configuration header FILE
36273 Configuration files:
36276 Configuration headers:
36279 Configuration commands:
36282 Report bugs to <bug-autoconf@gnu.org>."
36285 cat >>$CONFIG_STATUS <<_ACEOF
36287 wxWindows config.status 2.5.1
36288 configured by $0, generated by GNU Autoconf 2.57,
36289 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36291 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36292 Free Software Foundation, Inc.
36293 This config.status script is free software; the Free Software Foundation
36294 gives unlimited permission to copy, distribute and modify it."
36299 cat >>$CONFIG_STATUS <<\_ACEOF
36300 # If no file are specified by the user, then we need to provide default
36301 # value. By we need to know if files were specified by the user.
36307 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
36308 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
36316 *) # This is not an option, so the user has probably given explicit
36319 ac_need_defaults
=false
;;
36323 # Handling of the options.
36325 cat >>$CONFIG_STATUS <<\_ACEOF
36326 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36328 --version | --vers* | -V )
36329 echo "$ac_cs_version"; exit 0 ;;
36331 # Conflict between --help and --header
36332 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36333 Try \`$0 --help' for more information." >&5
36334 echo "$as_me: error: ambiguous option: $1
36335 Try \`$0 --help' for more information." >&2;}
36336 { (exit 1); exit 1; }; };;
36337 --help | --hel | -h )
36338 echo "$ac_cs_usage"; exit 0 ;;
36339 --debug | --d* | -d )
36341 --file | --fil | --fi | --f )
36343 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
36344 ac_need_defaults
=false
;;
36345 --header | --heade | --head | --hea )
36347 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
36348 ac_need_defaults
=false
;;
36349 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36350 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36353 # This is an error.
36354 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36355 Try \`$0 --help' for more information." >&5
36356 echo "$as_me: error: unrecognized option: $1
36357 Try \`$0 --help' for more information." >&2;}
36358 { (exit 1); exit 1; }; } ;;
36360 *) ac_config_targets
="$ac_config_targets $1" ;;
36366 ac_configure_extra_args
=
36368 if $ac_cs_silent; then
36370 ac_configure_extra_args
="$ac_configure_extra_args --silent"
36374 cat >>$CONFIG_STATUS <<_ACEOF
36375 if \$ac_cs_recheck; then
36376 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36377 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36382 cat >>$CONFIG_STATUS <<_ACEOF
36384 # INIT-COMMANDS section.
36388 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36397 cat >>$CONFIG_STATUS <<\_ACEOF
36398 for ac_config_target
in $ac_config_targets
36400 case "$ac_config_target" in
36401 # Handling of arguments.
36402 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
36403 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
36404 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
36405 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
36406 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
36407 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
36408 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36409 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36410 { (exit 1); exit 1; }; };;
36414 # If the user did not use the arguments to specify the items to instantiate,
36415 # then the envvar interface is used. Set only those that are not.
36416 # We use the long form for the default assignment because of an extremely
36417 # bizarre bug on SunOS 4.1.3.
36418 if $ac_need_defaults; then
36419 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
36420 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
36421 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
36424 # Have a temporary directory for convenience. Make it in the build tree
36425 # simply because there is no reason to put it here, and in addition,
36426 # creating and moving files from /tmp can sometimes cause problems.
36427 # Create a temporary directory, and hook for its removal unless debugging.
36430 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36431 trap '{ (exit 1); exit 1; }' 1 2 13 15
36434 # Create a (secure) tmp directory for tmp files.
36437 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36438 test -n "$tmp" && test -d "$tmp"
36441 tmp
=.
/confstat$$
-$RANDOM
36442 (umask 077 && mkdir $tmp)
36445 echo "$me: cannot create a temporary directory in ." >&2
36446 { (exit 1); exit 1; }
36451 cat >>$CONFIG_STATUS <<_ACEOF
36454 # CONFIG_FILES section.
36457 # No need to generate the scripts if there are no CONFIG_FILES.
36458 # This happens for instance when ./config.status config.h
36459 if test -n "\$CONFIG_FILES"; then
36460 # Protect against being on the right side of a sed subst in config.status.
36461 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36462 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36463 s,@SHELL@,$SHELL,;t t
36464 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36465 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36466 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36467 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36468 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36469 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36470 s,@exec_prefix@,$exec_prefix,;t t
36471 s,@prefix@,$prefix,;t t
36472 s,@program_transform_name@,$program_transform_name,;t t
36473 s,@bindir@,$bindir,;t t
36474 s,@sbindir@,$sbindir,;t t
36475 s,@libexecdir@,$libexecdir,;t t
36476 s,@datadir@,$datadir,;t t
36477 s,@sysconfdir@,$sysconfdir,;t t
36478 s,@sharedstatedir@,$sharedstatedir,;t t
36479 s,@localstatedir@,$localstatedir,;t t
36480 s,@libdir@,$libdir,;t t
36481 s,@includedir@,$includedir,;t t
36482 s,@oldincludedir@,$oldincludedir,;t t
36483 s,@infodir@,$infodir,;t t
36484 s,@mandir@,$mandir,;t t
36485 s,@build_alias@,$build_alias,;t t
36486 s,@host_alias@,$host_alias,;t t
36487 s,@target_alias@,$target_alias,;t t
36488 s,@DEFS@,$DEFS,;t t
36489 s,@ECHO_C@,$ECHO_C,;t t
36490 s,@ECHO_N@,$ECHO_N,;t t
36491 s,@ECHO_T@,$ECHO_T,;t t
36492 s,@LIBS@,$LIBS,;t t
36493 s,@build@,$build,;t t
36494 s,@build_cpu@,$build_cpu,;t t
36495 s,@build_vendor@,$build_vendor,;t t
36496 s,@build_os@,$build_os,;t t
36497 s,@host@,$host,;t t
36498 s,@host_cpu@,$host_cpu,;t t
36499 s,@host_vendor@,$host_vendor,;t t
36500 s,@host_os@,$host_os,;t t
36501 s,@target@,$target,;t t
36502 s,@target_cpu@,$target_cpu,;t t
36503 s,@target_vendor@,$target_vendor,;t t
36504 s,@target_os@,$target_os,;t t
36506 s,@CFLAGS@,$CFLAGS,;t t
36507 s,@LDFLAGS@,$LDFLAGS,;t t
36508 s,@CPPFLAGS@,$CPPFLAGS,;t t
36509 s,@ac_ct_CC@,$ac_ct_CC,;t t
36510 s,@EXEEXT@,$EXEEXT,;t t
36511 s,@OBJEXT@,$OBJEXT,;t t
36513 s,@EGREP@,$EGREP,;t t
36515 s,@CXXFLAGS@,$CXXFLAGS,;t t
36516 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36517 s,@RANLIB@,$RANLIB,;t t
36518 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36520 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36521 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36522 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36523 s,@STRIP@,$STRIP,;t t
36524 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36525 s,@LN_S@,$LN_S,;t t
36526 s,@CXXCPP@,$CXXCPP,;t t
36527 s,@subdirs@,$subdirs,;t t
36528 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36529 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36530 s,@GTK_LIBS@,$GTK_LIBS,;t t
36531 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36532 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36533 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36534 s,@X_CFLAGS@,$X_CFLAGS,;t t
36535 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36536 s,@X_LIBS@,$X_LIBS,;t t
36537 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36538 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36539 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36540 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36541 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36542 s,@RESCOMP@,$RESCOMP,;t t
36543 s,@DEREZ@,$DEREZ,;t t
36544 s,@SETFILE@,$SETFILE,;t t
36545 s,@LIBICONV@,$LIBICONV,;t t
36546 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36547 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36548 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36549 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36550 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36551 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36552 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36553 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36554 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36555 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36556 s,@VENDOR@,$VENDOR,;t t
36557 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36558 s,@WXUNIV@,$WXUNIV,;t t
36559 s,@MONOLITHIC@,$MONOLITHIC,;t t
36560 s,@EXTRALIBS@,$EXTRALIBS,;t t
36561 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36562 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36563 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36564 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36565 s,@UNICODE@,$UNICODE,;t t
36566 s,@BUILD@,$BUILD,;t t
36567 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36568 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36569 s,@SHARED@,$SHARED,;t t
36570 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36571 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36572 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36573 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36574 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36575 s,@SET_MAKE@,$SET_MAKE,;t t
36576 s,@MAKE_SET@,$MAKE_SET,;t t
36577 s,@ac_ct_AR@,$ac_ct_AR,;t t
36578 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36580 s,@ac_ct_NM@,$ac_ct_NM,;t t
36581 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36582 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36583 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36584 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36585 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36586 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36587 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36588 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36589 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36590 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36591 s,@LIBPREFIX@,$LIBPREFIX,;t t
36592 s,@DLLPREFIX@,$DLLPREFIX,;t t
36593 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36594 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36595 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36596 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36597 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36598 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36599 s,@PIC_FLAG@,$PIC_FLAG,;t t
36600 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36601 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36602 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36603 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36604 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36605 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36606 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36607 s,@GCC_PCH@,$GCC_PCH,;t t
36608 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36609 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36610 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36611 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36612 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36613 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36614 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36615 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36616 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36617 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36618 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36619 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36620 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36621 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36622 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
36623 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36624 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36625 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36626 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36627 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
36628 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36629 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36630 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36631 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36632 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36633 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36634 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36635 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36636 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36637 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36638 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36639 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36640 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36641 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36642 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36643 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36644 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36645 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36646 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36647 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36648 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36649 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36650 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36651 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36652 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36653 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36654 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36655 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36656 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36657 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36658 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36659 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36660 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36661 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36662 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36663 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36664 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36665 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36666 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36667 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36668 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36669 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36670 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36671 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36672 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36673 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36674 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36675 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36676 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36677 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36678 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36679 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36680 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36681 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36682 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36683 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36684 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36685 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36686 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36687 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36688 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36689 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
36690 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36691 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36692 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36693 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36694 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36695 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36696 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36697 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36698 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36699 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36700 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36701 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36702 s,@PATH_IFS@,$PATH_IFS,;t t
36703 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36704 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36705 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36706 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36707 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36708 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36709 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36710 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36711 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36712 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36713 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36714 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36715 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36716 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36717 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36718 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36719 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36720 s,@WX_ALL@,$WX_ALL,;t t
36721 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36722 s,@SHARED_LD@,$SHARED_LD,;t t
36723 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36724 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36725 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36726 s,@USE_GUI@,$USE_GUI,;t t
36727 s,@AFMINSTALL@,$AFMINSTALL,;t t
36728 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36729 s,@TOOLKIT@,$TOOLKIT,;t t
36730 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36731 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36732 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36733 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36734 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36735 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36736 s,@cross_compiling@,$cross_compiling,;t t
36737 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36738 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36739 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36740 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36741 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36742 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36743 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36744 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36745 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36746 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36747 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36748 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36749 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36750 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36751 s,@GUIDIST@,$GUIDIST,;t t
36752 s,@PORT_FILES@,$PORT_FILES,;t t
36753 s,@DISTDIR@,$DISTDIR,;t t
36754 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36755 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36756 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36757 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36758 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36759 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36760 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36761 s,@RESFLAGS@,$RESFLAGS,;t t
36762 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36763 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36764 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36765 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36766 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36767 s,@MACRESCOMP@,$MACRESCOMP,;t t
36768 s,@MACSETFILE@,$MACSETFILE,;t t
36769 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36771 s,@DLLTOOL@,$DLLTOOL,;t t
36774 s,@MAKEINFO@,$MAKEINFO,;t t
36775 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36776 s,@LIBOBJS@,$LIBOBJS,;t t
36777 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36782 cat >>$CONFIG_STATUS <<\_ACEOF
36783 # Split the substitutions into bite-sized pieces for seds with
36784 # small command number limits, like on Digital OSF/1 and HP-UX.
36785 ac_max_sed_lines
=48
36786 ac_sed_frag
=1 # Number of current file.
36787 ac_beg
=1 # First line for current file.
36788 ac_end
=$ac_max_sed_lines # Line after last line for current file.
36791 while $ac_more_lines; do
36792 if test $ac_beg -gt 1; then
36793 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36795 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36797 if test ! -s $tmp/subs.frag
; then
36798 ac_more_lines
=false
36800 # The purpose of the label and of the branching condition is to
36801 # speed up the sed processing (if there are no `@' at all, there
36802 # is no need to browse any of the substitutions).
36803 # These are the two extra sed commands mentioned above.
36805 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
36806 if test -z "$ac_sed_cmds"; then
36807 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
36809 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36811 ac_sed_frag
=`expr $ac_sed_frag + 1`
36813 ac_end
=`expr $ac_end + $ac_max_sed_lines`
36816 if test -z "$ac_sed_cmds"; then
36819 fi # test -n "$CONFIG_FILES"
36822 cat >>$CONFIG_STATUS <<\_ACEOF
36823 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
36824 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36826 - | *:- | *:-:* ) # input from stdin
36828 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36829 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36830 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36831 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36832 * ) ac_file_in
=$ac_file.
in ;;
36835 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36836 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36837 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36838 X"$ac_file" : 'X\(//\)[^/]' \| \
36839 X"$ac_file" : 'X\(//\)$' \| \
36840 X"$ac_file" : 'X\(/\)' \| \
36841 . : '\(.\)' 2>/dev/null ||
36843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36845 /^X\(\/\/\)$/{ s//\1/; q; }
36846 /^X\(\/\).*/{ s//\1/; q; }
36848 { if $as_mkdir_p; then
36853 while test ! -d "$as_dir"; do
36854 as_dirs
="$as_dir $as_dirs"
36855 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36856 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36857 X"$as_dir" : 'X\(//\)[^/]' \| \
36858 X"$as_dir" : 'X\(//\)$' \| \
36859 X"$as_dir" : 'X\(/\)' \| \
36860 . : '\(.\)' 2>/dev/null ||
36862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36863 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36864 /^X\(\/\/\)$/{ s//\1/; q; }
36865 /^X\(\/\).*/{ s//\1/; q; }
36868 test ! -n "$as_dirs" || mkdir $as_dirs
36869 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36870 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36871 { (exit 1); exit 1; }; }; }
36875 if test "$ac_dir" != .
; then
36876 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36877 # A "../" for each directory in $ac_dir_suffix.
36878 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36880 ac_dir_suffix
= ac_top_builddir
=
36884 .
) # No --srcdir option. We are building in place.
36886 if test -z "$ac_top_builddir"; then
36889 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36891 [\\/]* | ?
:[\\/]* ) # Absolute path.
36892 ac_srcdir
=$srcdir$ac_dir_suffix;
36893 ac_top_srcdir
=$srcdir ;;
36894 *) # Relative path.
36895 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36896 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36898 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36900 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36901 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36902 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36903 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36907 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
36908 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
36911 if test x
"$ac_file" != x
-; then
36912 { echo "$as_me:$LINENO: creating $ac_file" >&5
36913 echo "$as_me: creating $ac_file" >&6;}
36916 # Let's still pretend it is `configure' which instantiates (i.e., don't
36917 # use $as_me), people would be surprised to read:
36918 # /* config.h. Generated by config.status. */
36919 if test x
"$ac_file" = x
-; then
36922 configure_input
="$ac_file. "
36924 configure_input
=$configure_input"Generated from `echo $ac_file_in |
36925 sed 's,.*/,,'` by configure."
36927 # First look for the input files in the build tree, otherwise in the
36929 ac_file_inputs
=`IFS=:
36930 for f in $ac_file_in; do
36932 -) echo $tmp/stdin ;;
36934 # Absolute (can't be DOS-style, as IFS=:)
36935 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36936 echo "$as_me: error: cannot find input file: $f" >&2;}
36937 { (exit 1); exit 1; }; }
36940 if test -f "$f"; then
36943 elif test -f "$srcdir/$f"; then
36948 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36949 echo "$as_me: error: cannot find input file: $f" >&2;}
36950 { (exit 1); exit 1; }; }
36953 done` || { (exit 1); exit 1; }
36955 cat >>$CONFIG_STATUS <<_ACEOF
36959 cat >>$CONFIG_STATUS <<\_ACEOF
36961 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
36962 s
,@configure_input@
,$configure_input,;t t
36963 s
,@srcdir@
,$ac_srcdir,;t t
36964 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
36965 s
,@top_srcdir@
,$ac_top_srcdir,;t t
36966 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
36967 s
,@builddir@
,$ac_builddir,;t t
36968 s
,@abs_builddir@
,$ac_abs_builddir,;t t
36969 s
,@top_builddir@
,$ac_top_builddir,;t t
36970 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
36971 s
,@INSTALL@
,$ac_INSTALL,;t t
36972 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36974 if test x"$ac_file" != x-; then
36975 mv $tmp/out $ac_file
36983 cat >>$CONFIG_STATUS <<\_ACEOF
36986 # CONFIG_HEADER section.
36989 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
36990 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36992 # ac_d sets the value in "#define NAME VALUE" lines.
36993 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36994 ac_dB
='[ ].*$,\1#\2'
36997 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36998 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36999 ac_uB
='$,\1#\2define\3'
37003 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
37004 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37006 - | *:- | *:-:* ) # input from stdin
37008 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37009 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37010 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37011 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
37012 * ) ac_file_in
=$ac_file.
in ;;
37015 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37016 echo "$as_me: creating $ac_file" >&6;}
37018 # First look for the input files in the build tree, otherwise in the
37020 ac_file_inputs
=`IFS=:
37021 for f in $ac_file_in; do
37023 -) echo $tmp/stdin ;;
37025 # Absolute (can't be DOS-style, as IFS=:)
37026 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37027 echo "$as_me: error: cannot find input file: $f" >&2;}
37028 { (exit 1); exit 1; }; }
37031 if test -f "$f"; then
37034 elif test -f "$srcdir/$f"; then
37039 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37040 echo "$as_me: error: cannot find input file: $f" >&2;}
37041 { (exit 1); exit 1; }; }
37044 done` || { (exit 1); exit 1; }
37045 # Remove the trailing spaces.
37046 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37050 # Transform confdefs.h into two sed scripts, `conftest.defines' and
37051 # `conftest.undefs', that substitutes the proper values into
37052 # config.h.in to produce config.h. The first handles `#define'
37053 # templates, and the second `#undef' templates.
37054 # And first: Protect against being on the right side of a sed subst in
37055 # config.status. Protect against being in an unquoted here document
37056 # in config.status.
37057 rm -f conftest.defines conftest.undefs
37058 # Using a here document instead of a string reduces the quoting nightmare.
37059 # Putting comments in sed scripts is not portable.
37061 # `end' is used to avoid that the second main sed command (meant for
37062 # 0-ary CPP macros) applies to n-ary macro definitions.
37063 # See the Autoconf documentation for `clear'.
37064 cat >confdef2sed.
sed <<\_ACEOF
37069 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37071 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37074 # If some macros were called several times there might be several times
37075 # the same #defines, which is useless. Nevertheless, we may not want to
37076 # sort them, since we want the *last* AC-DEFINE to be honored.
37077 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37078 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37079 rm -f confdef2sed.sed
37081 # This sed command replaces #undef with comments. This is necessary, for
37082 # example, in the case of _POSIX_SOURCE, which is predefined and required
37083 # on some systems where configure will not decide to define it.
37084 cat >>conftest.undefs <<\_ACEOF
37085 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37088 # Break up conftest.defines because some shells have a limit on the size
37089 # of here documents, and old seds have small limits too (100 cmds).
37090 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37091 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37092 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37093 echo ' :' >>$CONFIG_STATUS
37094 rm -f conftest.tail
37095 while grep . conftest.defines >/dev/null
37097 # Write a limited-size here document to $tmp/defines.sed.
37098 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37099 # Speed up: don't consider the non `#define' lines.
37100 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37101 # Work around the forget-to-reset-the-flag bug.
37102 echo 't clr' >>$CONFIG_STATUS
37103 echo ': clr' >>$CONFIG_STATUS
37104 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
37106 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37108 mv $tmp/out $tmp/in
37110 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
37111 rm -f conftest.defines
37112 mv conftest.
tail conftest.defines
37114 rm -f conftest.defines
37115 echo ' fi # grep' >>$CONFIG_STATUS
37116 echo >>$CONFIG_STATUS
37118 # Break up conftest.undefs because some shells have a limit on the size
37119 # of here documents, and old seds have small limits too (100 cmds).
37120 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37121 rm -f conftest.
tail
37122 while grep . conftest.undefs
>/dev
/null
37124 # Write a limited-size here document to $tmp/undefs.sed.
37125 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37126 # Speed up: don't consider the non
`#undef'
37127 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37128 # Work around the forget-to-reset-the-flag bug.
37129 echo 't clr' >>$CONFIG_STATUS
37130 echo ': clr' >>$CONFIG_STATUS
37131 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37133 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37135 mv $tmp/out $tmp/in
37137 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37138 rm -f conftest.undefs
37139 mv conftest.tail conftest.undefs
37141 rm -f conftest.undefs
37143 cat >>$CONFIG_STATUS <<\_ACEOF
37144 # Let's still pretend it is `configure
' which instantiates (i.e., don't
37145 # use $as_me), people would be surprised to read:
37146 # /* config.h. Generated by config.status. */
37147 if test x
"$ac_file" = x
-; then
37148 echo "/* Generated by configure. */" >$tmp/config.h
37150 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37152 cat $tmp/in >>$tmp/config.h
37154 if test x
"$ac_file" != x
-; then
37155 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
37156 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37157 echo "$as_me: $ac_file is unchanged" >&6;}
37159 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
37160 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37161 X"$ac_file" : 'X\(//\)[^/]' \| \
37162 X"$ac_file" : 'X\(//\)$' \| \
37163 X"$ac_file" : 'X\(/\)' \| \
37164 . : '\(.\)' 2>/dev/null ||
37166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37167 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37168 /^X\(\/\/\)$/{ s//\1/; q; }
37169 /^X\(\/\).*/{ s//\1/; q; }
37171 { if $as_mkdir_p; then
37176 while test ! -d "$as_dir"; do
37177 as_dirs
="$as_dir $as_dirs"
37178 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37179 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37180 X"$as_dir" : 'X\(//\)[^/]' \| \
37181 X"$as_dir" : 'X\(//\)$' \| \
37182 X"$as_dir" : 'X\(/\)' \| \
37183 . : '\(.\)' 2>/dev/null ||
37185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37186 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37187 /^X\(\/\/\)$/{ s//\1/; q; }
37188 /^X\(\/\).*/{ s//\1/; q; }
37191 test ! -n "$as_dirs" || mkdir $as_dirs
37192 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37193 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37194 { (exit 1); exit 1; }; }; }
37197 mv $tmp/config.h
$ac_file
37201 rm -f $tmp/config.h
37205 cat >>$CONFIG_STATUS <<\_ACEOF
37208 # CONFIG_COMMANDS section.
37210 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
37211 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
37212 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37213 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
37214 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37215 X"$ac_dest" : 'X\(//\)[^/]' \| \
37216 X"$ac_dest" : 'X\(//\)$' \| \
37217 X"$ac_dest" : 'X\(/\)' \| \
37218 . : '\(.\)' 2>/dev/null ||
37220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37221 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37222 /^X\(\/\/\)$/{ s//\1/; q; }
37223 /^X\(\/\).*/{ s//\1/; q; }
37227 if test "$ac_dir" != .
; then
37228 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37229 # A "../" for each directory in $ac_dir_suffix.
37230 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37232 ac_dir_suffix
= ac_top_builddir
=
37236 .
) # No --srcdir option. We are building in place.
37238 if test -z "$ac_top_builddir"; then
37241 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37243 [\\/]* | ?
:[\\/]* ) # Absolute path.
37244 ac_srcdir
=$srcdir$ac_dir_suffix;
37245 ac_top_srcdir
=$srcdir ;;
37246 *) # Relative path.
37247 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37248 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37250 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37252 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37253 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37254 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37255 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37258 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37259 echo "$as_me: executing $ac_dest commands" >&6;}
37262 if test ! -h wx
-config; then
37264 mv wx
-config wx
${TOOLCHAIN_NAME}-config
37265 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
37268 if test ! -d lib
; then
37271 if test ! -d lib
/wx
; then
37274 if test ! -d lib
/wx
/include
; then
37275 mkdir lib
/wx
/include
37277 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
37278 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
37280 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
37281 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
37283 if test -f setup.h
; then
37284 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
37291 cat >>$CONFIG_STATUS <<\_ACEOF
37293 { (exit 0); exit 0; }
37295 chmod +x
$CONFIG_STATUS
37296 ac_clean_files
=$ac_clean_files_save
37299 # configure is writing to config.log, and then calls config.status.
37300 # config.status does its own redirection, appending to config.log.
37301 # Unfortunately, on DOS this fails, as config.log is still kept open
37302 # by configure, so config.status won't be able to write to it; its
37303 # output is simply discarded. So we exec the FD to /dev/null,
37304 # effectively closing config.log, so it can be properly (re)opened and
37305 # appended to by config.status. When coming back to configure, we
37306 # need to make the FD available again.
37307 if test "$no_create" != yes; then
37309 ac_config_status_args
=
37310 test "$silent" = yes &&
37311 ac_config_status_args
="$ac_config_status_args --quiet"
37313 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
37315 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37316 # would make configure fail if this is the last instruction.
37317 $ac_cs_success || { (exit 1); exit 1; }
37321 # CONFIG_SUBDIRS section.
37323 if test "$no_recursion" != yes; then
37325 # Remove --cache-file and --srcdir arguments so they do not pile up.
37326 ac_sub_configure_args
=
37328 for ac_arg
in $ac_configure_args; do
37329 if test -n "$ac_prev"; then
37334 -cache-file | --cache-file | --cache-fil | --cache-fi \
37335 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37336 ac_prev
=cache_file
;;
37337 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37338 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37341 --config-cache | -C)
37343 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37345 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37347 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37349 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37351 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
37355 # Always prepend --prefix to ensure using the same prefix
37356 # in subdir configurations.
37357 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
37360 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
37362 # Do not complain, so a configure script can configure whichever
37363 # parts of a large source tree are present.
37364 test -d $srcdir/$ac_dir || continue
37366 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37367 echo "$as_me: configuring in $ac_dir" >&6;}
37368 { if $as_mkdir_p; then
37373 while test ! -d "$as_dir"; do
37374 as_dirs
="$as_dir $as_dirs"
37375 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37376 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37377 X"$as_dir" : 'X\(//\)[^/]' \| \
37378 X"$as_dir" : 'X\(//\)$' \| \
37379 X"$as_dir" : 'X\(/\)' \| \
37380 . : '\(.\)' 2>/dev/null ||
37382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37384 /^X\(\/\/\)$/{ s//\1/; q; }
37385 /^X\(\/\).*/{ s//\1/; q; }
37388 test ! -n "$as_dirs" || mkdir $as_dirs
37389 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37390 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37391 { (exit 1); exit 1; }; }; }
37395 if test "$ac_dir" != .
; then
37396 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37397 # A "../" for each directory in $ac_dir_suffix.
37398 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37400 ac_dir_suffix
= ac_top_builddir
=
37404 .
) # No --srcdir option. We are building in place.
37406 if test -z "$ac_top_builddir"; then
37409 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37411 [\\/]* | ?
:[\\/]* ) # Absolute path.
37412 ac_srcdir
=$srcdir$ac_dir_suffix;
37413 ac_top_srcdir
=$srcdir ;;
37414 *) # Relative path.
37415 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37416 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37418 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37420 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37421 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37422 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37423 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37428 # Check for guested configure; otherwise get Cygnus style configure.
37429 if test -f $ac_srcdir/configure.gnu
; then
37430 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
37431 elif test -f $ac_srcdir/configure
; then
37432 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
37433 elif test -f $ac_srcdir/configure.
in; then
37434 ac_sub_configure
=$ac_configure
37436 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37437 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37441 # The recursion is here.
37442 if test -n "$ac_sub_configure"; then
37443 # Make the cache file name correct relative to the subdirectory.
37444 case $cache_file in
37445 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
37446 *) # Relative path.
37447 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
37450 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37451 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37452 # The eval makes quoting arguments work.
37453 eval $ac_sub_configure $ac_sub_configure_args \
37454 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37455 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37456 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37457 { (exit 1); exit 1; }; }
37466 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37468 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37469 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37471 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37472 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37473 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37475 echo " What level of wxWindows compatibility should be enabled?"
37476 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37477 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37479 echo " Which libraries should wxWindows use?"
37480 echo " jpeg ${wxUSE_LIBJPEG-none}"
37481 echo " png ${wxUSE_LIBPNG-none}"
37482 echo " regex ${wxUSE_REGEX}"
37483 echo " tiff ${wxUSE_LIBTIFF-none}"
37484 echo " zlib ${wxUSE_ZLIB}"
37485 echo " odbc ${wxUSE_ODBC}"
37486 echo " expat ${wxUSE_EXPAT}"