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_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 'extern "C" void std::exit (int) throw (); using std::exit;' \
10588 'extern "C" void std::exit (int); using std::exit;' \
10589 'extern "C" void exit (int) throw ();' \
10590 'extern "C" void exit (int);' \
10593 cat >conftest.
$ac_ext <<_ACEOF
10594 #line $LINENO "configure"
10597 cat confdefs.h
>>conftest.
$ac_ext
10598 cat >>conftest.
$ac_ext <<_ACEOF
10599 /* end confdefs.h. */
10601 #include <stdlib.h>
10610 rm -f conftest.
$ac_objext
10611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10612 (eval $ac_compile) 2>&5
10614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10615 (exit $ac_status); } &&
10616 { ac_try
='test -s conftest.$ac_objext'
10617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10618 (eval $ac_try) 2>&5
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); }; }; then
10624 echo "$as_me: failed program was:" >&5
10625 sed 's/^/| /' conftest.
$ac_ext >&5
10629 rm -f conftest.
$ac_objext conftest.
$ac_ext
10630 cat >conftest.
$ac_ext <<_ACEOF
10631 #line $LINENO "configure"
10634 cat confdefs.h
>>conftest.
$ac_ext
10635 cat >>conftest.
$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10646 rm -f conftest.
$ac_objext
10647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10648 (eval $ac_compile) 2>&5
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); } &&
10652 { ac_try
='test -s conftest.$ac_objext'
10653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10654 (eval $ac_try) 2>&5
10656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10657 (exit $ac_status); }; }; then
10660 echo "$as_me: failed program was:" >&5
10661 sed 's/^/| /' conftest.
$ac_ext >&5
10664 rm -f conftest.
$ac_objext conftest.
$ac_ext
10667 if test -n "$ac_declaration"; then
10668 echo '#ifdef __cplusplus' >>confdefs.h
10669 echo $ac_declaration >>confdefs.h
10670 echo '#endif' >>confdefs.h
10674 echo "$as_me: failed program was:" >&5
10675 sed 's/^/| /' conftest.
$ac_ext >&5
10678 rm -f conftest.
$ac_objext conftest.
$ac_ext
10680 ac_cpp
='$CPP $CPPFLAGS'
10681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10688 ac_cpp
='$CPP $CPPFLAGS'
10689 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10690 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10691 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10692 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10693 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10694 # On Suns, sometimes $CPP names a directory.
10695 if test -n "$CPP" && test -d "$CPP"; then
10698 if test -z "$CPP"; then
10699 if test "${ac_cv_prog_CPP+set}" = set; then
10700 echo $ECHO_N "(cached) $ECHO_C" >&6
10702 # Double quotes because CPP needs to be expanded
10703 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10705 ac_preproc_ok
=false
10706 for ac_c_preproc_warn_flag
in '' yes
10708 # Use a header file that comes with gcc, so configuring glibc
10709 # with a fresh cross-compiler works.
10710 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10711 # <limits.h> exists even on freestanding compilers.
10712 # On the NeXT, cc -E runs the code through the compiler's parser,
10713 # not just through cpp. "Syntax error" is here to catch this case.
10714 cat >conftest.
$ac_ext <<_ACEOF
10715 #line $LINENO "configure"
10718 cat confdefs.h
>>conftest.
$ac_ext
10719 cat >>conftest.
$ac_ext <<_ACEOF
10720 /* end confdefs.h. */
10722 # include <limits.h>
10724 # include <assert.h>
10728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10729 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10731 grep -v '^ *+' conftest.er1
>conftest.err
10733 cat conftest.err
>&5
10734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10735 (exit $ac_status); } >/dev
/null
; then
10736 if test -s conftest.err
; then
10737 ac_cpp_err
=$ac_c_preproc_warn_flag
10744 if test -z "$ac_cpp_err"; then
10747 echo "$as_me: failed program was:" >&5
10748 sed 's/^/| /' conftest.
$ac_ext >&5
10750 # Broken: fails on valid input.
10753 rm -f conftest.err conftest.
$ac_ext
10755 # OK, works on sane cases. Now check whether non-existent headers
10756 # can be detected and how.
10757 cat >conftest.
$ac_ext <<_ACEOF
10758 #line $LINENO "configure"
10761 cat confdefs.h
>>conftest.
$ac_ext
10762 cat >>conftest.
$ac_ext <<_ACEOF
10763 /* end confdefs.h. */
10764 #include <ac_nonexistent.h>
10766 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10767 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10769 grep -v '^ *+' conftest.er1
>conftest.err
10771 cat conftest.err
>&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); } >/dev
/null
; then
10774 if test -s conftest.err
; then
10775 ac_cpp_err
=$ac_c_preproc_warn_flag
10782 if test -z "$ac_cpp_err"; then
10783 # Broken: success on invalid input.
10786 echo "$as_me: failed program was:" >&5
10787 sed 's/^/| /' conftest.
$ac_ext >&5
10789 # Passes both tests.
10793 rm -f conftest.err conftest.
$ac_ext
10796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10797 rm -f conftest.err conftest.
$ac_ext
10798 if $ac_preproc_ok; then
10803 ac_cv_prog_CPP
=$CPP
10806 CPP
=$ac_cv_prog_CPP
10808 ac_cv_prog_CPP
=$CPP
10810 echo "$as_me:$LINENO: result: $CPP" >&5
10811 echo "${ECHO_T}$CPP" >&6
10812 ac_preproc_ok
=false
10813 for ac_c_preproc_warn_flag
in '' yes
10815 # Use a header file that comes with gcc, so configuring glibc
10816 # with a fresh cross-compiler works.
10817 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10818 # <limits.h> exists even on freestanding compilers.
10819 # On the NeXT, cc -E runs the code through the compiler's parser,
10820 # not just through cpp. "Syntax error" is here to catch this case.
10821 cat >conftest.
$ac_ext <<_ACEOF
10822 #line $LINENO "configure"
10825 cat confdefs.h
>>conftest.
$ac_ext
10826 cat >>conftest.
$ac_ext <<_ACEOF
10827 /* end confdefs.h. */
10829 # include <limits.h>
10831 # include <assert.h>
10835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10836 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10838 grep -v '^ *+' conftest.er1
>conftest.err
10840 cat conftest.err
>&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } >/dev
/null
; then
10843 if test -s conftest.err
; then
10844 ac_cpp_err
=$ac_c_preproc_warn_flag
10851 if test -z "$ac_cpp_err"; then
10854 echo "$as_me: failed program was:" >&5
10855 sed 's/^/| /' conftest.
$ac_ext >&5
10857 # Broken: fails on valid input.
10860 rm -f conftest.err conftest.
$ac_ext
10862 # OK, works on sane cases. Now check whether non-existent headers
10863 # can be detected and how.
10864 cat >conftest.
$ac_ext <<_ACEOF
10865 #line $LINENO "configure"
10868 cat confdefs.h
>>conftest.
$ac_ext
10869 cat >>conftest.
$ac_ext <<_ACEOF
10870 /* end confdefs.h. */
10871 #include <ac_nonexistent.h>
10873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10874 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10876 grep -v '^ *+' conftest.er1
>conftest.err
10878 cat conftest.err
>&5
10879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); } >/dev
/null
; then
10881 if test -s conftest.err
; then
10882 ac_cpp_err
=$ac_c_preproc_warn_flag
10889 if test -z "$ac_cpp_err"; then
10890 # Broken: success on invalid input.
10893 echo "$as_me: failed program was:" >&5
10894 sed 's/^/| /' conftest.
$ac_ext >&5
10896 # Passes both tests.
10900 rm -f conftest.err conftest.
$ac_ext
10903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10904 rm -f conftest.err conftest.
$ac_ext
10905 if $ac_preproc_ok; then
10908 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10909 See \`config.log' for more details." >&5
10910 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10911 See \`config.log' for more details." >&2;}
10912 { (exit 1); exit 1; }; }
10916 ac_cpp
='$CPP $CPPFLAGS'
10917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10922 echo "$as_me:$LINENO: checking for egrep" >&5
10923 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10924 if test "${ac_cv_prog_egrep+set}" = set; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6
10927 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
10928 then ac_cv_prog_egrep
='grep -E'
10929 else ac_cv_prog_egrep
='egrep'
10932 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10933 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10934 EGREP
=$ac_cv_prog_egrep
10937 if test $ac_cv_c_compiler_gnu = yes; then
10938 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10939 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10940 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10941 echo $ECHO_N "(cached) $ECHO_C" >&6
10943 ac_pattern
="Autoconf.*'x'"
10944 cat >conftest.
$ac_ext <<_ACEOF
10945 #line $LINENO "configure"
10948 cat confdefs.h
>>conftest.
$ac_ext
10949 cat >>conftest.
$ac_ext <<_ACEOF
10950 /* end confdefs.h. */
10954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10955 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10956 ac_cv_prog_gcc_traditional
=yes
10958 ac_cv_prog_gcc_traditional
=no
10963 if test $ac_cv_prog_gcc_traditional = no
; then
10964 cat >conftest.
$ac_ext <<_ACEOF
10965 #line $LINENO "configure"
10968 cat confdefs.h
>>conftest.
$ac_ext
10969 cat >>conftest.
$ac_ext <<_ACEOF
10970 /* end confdefs.h. */
10971 #include <termio.h>
10974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10975 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10976 ac_cv_prog_gcc_traditional
=yes
10982 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10983 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10984 if test $ac_cv_prog_gcc_traditional = yes; then
10985 CC
="$CC -traditional"
10993 ac_cpp
='$CXXCPP $CPPFLAGS'
10994 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10995 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10996 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10999 CXXFLAGS
=${CXXFLAGS:=}
11001 ac_cpp
='$CXXCPP $CPPFLAGS'
11002 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11003 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11004 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11005 if test -n "$ac_tool_prefix"; then
11006 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11008 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11009 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11010 echo "$as_me:$LINENO: checking for $ac_word" >&5
11011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11012 if test "${ac_cv_prog_CXX+set}" = set; then
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11015 if test -n "$CXX"; then
11016 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11019 for as_dir
in $PATH
11022 test -z "$as_dir" && as_dir
=.
11023 for ac_exec_ext
in '' $ac_executable_extensions; do
11024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11025 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11034 CXX
=$ac_cv_prog_CXX
11035 if test -n "$CXX"; then
11036 echo "$as_me:$LINENO: result: $CXX" >&5
11037 echo "${ECHO_T}$CXX" >&6
11039 echo "$as_me:$LINENO: result: no" >&5
11040 echo "${ECHO_T}no" >&6
11043 test -n "$CXX" && break
11046 if test -z "$CXX"; then
11048 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
11050 # Extract the first word of "$ac_prog", so it can be a program name with args.
11051 set dummy
$ac_prog; ac_word
=$2
11052 echo "$as_me:$LINENO: checking for $ac_word" >&5
11053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11054 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11055 echo $ECHO_N "(cached) $ECHO_C" >&6
11057 if test -n "$ac_ct_CXX"; then
11058 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11061 for as_dir
in $PATH
11064 test -z "$as_dir" && as_dir
=.
11065 for ac_exec_ext
in '' $ac_executable_extensions; do
11066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11067 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11076 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11077 if test -n "$ac_ct_CXX"; then
11078 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11079 echo "${ECHO_T}$ac_ct_CXX" >&6
11081 echo "$as_me:$LINENO: result: no" >&5
11082 echo "${ECHO_T}no" >&6
11085 test -n "$ac_ct_CXX" && break
11087 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
11093 # Provide some information about the compiler.
11094 echo "$as_me:$LINENO:" \
11095 "checking for C++ compiler version" >&5
11096 ac_compiler
=`set X $ac_compile; echo $2`
11097 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11098 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); }
11102 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11103 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106 (exit $ac_status); }
11107 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11108 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 (exit $ac_status); }
11113 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11114 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11115 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11116 echo $ECHO_N "(cached) $ECHO_C" >&6
11118 cat >conftest.
$ac_ext <<_ACEOF
11119 #line $LINENO "configure"
11122 cat confdefs.h
>>conftest.
$ac_ext
11123 cat >>conftest.
$ac_ext <<_ACEOF
11124 /* end confdefs.h. */
11137 rm -f conftest.
$ac_objext
11138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11139 (eval $ac_compile) 2>&5
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); } &&
11143 { ac_try
='test -s conftest.$ac_objext'
11144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11145 (eval $ac_try) 2>&5
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); }; }; then
11149 ac_compiler_gnu
=yes
11151 echo "$as_me: failed program was:" >&5
11152 sed 's/^/| /' conftest.
$ac_ext >&5
11156 rm -f conftest.
$ac_objext conftest.
$ac_ext
11157 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11160 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11161 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11162 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11163 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11164 ac_save_CXXFLAGS
=$CXXFLAGS
11166 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11167 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11168 if test "${ac_cv_prog_cxx_g+set}" = set; then
11169 echo $ECHO_N "(cached) $ECHO_C" >&6
11171 cat >conftest.
$ac_ext <<_ACEOF
11172 #line $LINENO "configure"
11175 cat confdefs.h
>>conftest.
$ac_ext
11176 cat >>conftest.
$ac_ext <<_ACEOF
11177 /* end confdefs.h. */
11187 rm -f conftest.
$ac_objext
11188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11189 (eval $ac_compile) 2>&5
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); } &&
11193 { ac_try
='test -s conftest.$ac_objext'
11194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11195 (eval $ac_try) 2>&5
11197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198 (exit $ac_status); }; }; then
11199 ac_cv_prog_cxx_g
=yes
11201 echo "$as_me: failed program was:" >&5
11202 sed 's/^/| /' conftest.
$ac_ext >&5
11204 ac_cv_prog_cxx_g
=no
11206 rm -f conftest.
$ac_objext conftest.
$ac_ext
11208 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11209 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11210 if test "$ac_test_CXXFLAGS" = set; then
11211 CXXFLAGS
=$ac_save_CXXFLAGS
11212 elif test $ac_cv_prog_cxx_g = yes; then
11213 if test "$GXX" = yes; then
11219 if test "$GXX" = yes; then
11225 for ac_declaration
in \
11227 'extern "C" void std::exit (int) throw (); using std::exit;' \
11228 'extern "C" void std::exit (int); using std::exit;' \
11229 'extern "C" void exit (int) throw ();' \
11230 'extern "C" void exit (int);' \
11233 cat >conftest.
$ac_ext <<_ACEOF
11234 #line $LINENO "configure"
11237 cat confdefs.h
>>conftest.
$ac_ext
11238 cat >>conftest.
$ac_ext <<_ACEOF
11239 /* end confdefs.h. */
11241 #include <stdlib.h>
11250 rm -f conftest.
$ac_objext
11251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11252 (eval $ac_compile) 2>&5
11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11255 (exit $ac_status); } &&
11256 { ac_try
='test -s conftest.$ac_objext'
11257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11258 (eval $ac_try) 2>&5
11260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11261 (exit $ac_status); }; }; then
11264 echo "$as_me: failed program was:" >&5
11265 sed 's/^/| /' conftest.
$ac_ext >&5
11269 rm -f conftest.
$ac_objext conftest.
$ac_ext
11270 cat >conftest.
$ac_ext <<_ACEOF
11271 #line $LINENO "configure"
11274 cat confdefs.h
>>conftest.
$ac_ext
11275 cat >>conftest.
$ac_ext <<_ACEOF
11276 /* end confdefs.h. */
11286 rm -f conftest.
$ac_objext
11287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11288 (eval $ac_compile) 2>&5
11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11291 (exit $ac_status); } &&
11292 { ac_try
='test -s conftest.$ac_objext'
11293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11294 (eval $ac_try) 2>&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); }; }; then
11300 echo "$as_me: failed program was:" >&5
11301 sed 's/^/| /' conftest.
$ac_ext >&5
11304 rm -f conftest.
$ac_objext conftest.
$ac_ext
11307 if test -n "$ac_declaration"; then
11308 echo '#ifdef __cplusplus' >>confdefs.h
11309 echo $ac_declaration >>confdefs.h
11310 echo '#endif' >>confdefs.h
11314 ac_cpp
='$CXXCPP $CPPFLAGS'
11315 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11316 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11317 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11321 ac_cpp
='$CPP $CPPFLAGS'
11322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11327 if test -n "$ac_tool_prefix"; then
11328 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11329 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11330 echo "$as_me:$LINENO: checking for $ac_word" >&5
11331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11332 if test "${ac_cv_prog_RANLIB+set}" = set; then
11333 echo $ECHO_N "(cached) $ECHO_C" >&6
11335 if test -n "$RANLIB"; then
11336 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11339 for as_dir
in $PATH
11342 test -z "$as_dir" && as_dir
=.
11343 for ac_exec_ext
in '' $ac_executable_extensions; do
11344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11345 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11354 RANLIB
=$ac_cv_prog_RANLIB
11355 if test -n "$RANLIB"; then
11356 echo "$as_me:$LINENO: result: $RANLIB" >&5
11357 echo "${ECHO_T}$RANLIB" >&6
11359 echo "$as_me:$LINENO: result: no" >&5
11360 echo "${ECHO_T}no" >&6
11364 if test -z "$ac_cv_prog_RANLIB"; then
11365 ac_ct_RANLIB
=$RANLIB
11366 # Extract the first word of "ranlib", so it can be a program name with args.
11367 set dummy ranlib
; ac_word
=$2
11368 echo "$as_me:$LINENO: checking for $ac_word" >&5
11369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11370 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11373 if test -n "$ac_ct_RANLIB"; then
11374 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11377 for as_dir
in $PATH
11380 test -z "$as_dir" && as_dir
=.
11381 for ac_exec_ext
in '' $ac_executable_extensions; do
11382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11383 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11390 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11393 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11394 if test -n "$ac_ct_RANLIB"; then
11395 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11396 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11398 echo "$as_me:$LINENO: result: no" >&5
11399 echo "${ECHO_T}no" >&6
11402 RANLIB
=$ac_ct_RANLIB
11404 RANLIB
="$ac_cv_prog_RANLIB"
11408 # Extract the first word of "ar", so it can be a program name with args.
11409 set dummy
ar; ac_word
=$2
11410 echo "$as_me:$LINENO: checking for $ac_word" >&5
11411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11412 if test "${ac_cv_prog_AR+set}" = set; then
11413 echo $ECHO_N "(cached) $ECHO_C" >&6
11415 if test -n "$AR"; then
11416 ac_cv_prog_AR
="$AR" # Let the user override the test.
11418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11419 for as_dir
in $PATH
11422 test -z "$as_dir" && as_dir
=.
11423 for ac_exec_ext
in '' $ac_executable_extensions; do
11424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11435 if test -n "$AR"; then
11436 echo "$as_me:$LINENO: result: $AR" >&5
11437 echo "${ECHO_T}$AR" >&6
11439 echo "$as_me:$LINENO: result: no" >&5
11440 echo "${ECHO_T}no" >&6
11443 if test "x$AR" = "x" ; then
11444 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11445 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11446 { (exit 1); exit 1; }; }
11449 # Find a good install program. We prefer a C program (faster),
11450 # so one script is as good as another. But avoid the broken or
11451 # incompatible versions:
11452 # SysV /etc/install, /usr/sbin/install
11453 # SunOS /usr/etc/install
11454 # IRIX /sbin/install
11456 # AmigaOS /C/install, which installs bootblocks on floppy discs
11457 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11458 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11459 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11460 # ./install, which can be erroneously created by make from ./install.sh.
11461 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11462 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11463 if test -z "$INSTALL"; then
11464 if test "${ac_cv_path_install+set}" = set; then
11465 echo $ECHO_N "(cached) $ECHO_C" >&6
11467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11468 for as_dir
in $PATH
11471 test -z "$as_dir" && as_dir
=.
11472 # Account for people who put trailing slashes in PATH elements.
11474 .
/ | .
// | /cC
/* | \
11475 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
11478 # OSF1 and SCO ODT 3.0 have their own names for install.
11479 # Don't use installbsd from OSF since it installs stuff as root
11481 for ac_prog
in ginstall scoinst
install; do
11482 for ac_exec_ext
in '' $ac_executable_extensions; do
11483 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11484 if test $ac_prog = install &&
11485 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11486 # AIX install. It has an incompatible calling convention.
11488 elif test $ac_prog = install &&
11489 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11490 # program-specific install script used by HP pwplus--don't use.
11493 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11505 if test "${ac_cv_path_install+set}" = set; then
11506 INSTALL
=$ac_cv_path_install
11508 # As a last resort, use the slow shell script. We don't cache a
11509 # path for INSTALL within a source directory, because that will
11510 # break other packages using the cache if that directory is
11511 # removed, or if the path is relative.
11512 INSTALL
=$ac_install_sh
11515 echo "$as_me:$LINENO: result: $INSTALL" >&5
11516 echo "${ECHO_T}$INSTALL" >&6
11518 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11519 # It thinks the first close brace ends the variable substitution.
11520 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11522 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11524 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11530 ?
:* ) # Drive letter, considered as absolute.
11533 INSTALL
=`pwd`/${INSTALL} ;;
11538 INSTALL_DIR
="mkdir"
11541 *) INSTALL_DIR
="$INSTALL -d"
11548 powerpc
-*-darwin* )
11549 INSTALL_PROGRAM
="cp -fp"
11550 INSTALL_DATA
="cp -fp"
11556 # Extract the first word of "strip", so it can be a program name with args.
11557 set dummy strip
; ac_word
=$2
11558 echo "$as_me:$LINENO: checking for $ac_word" >&5
11559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11560 if test "${ac_cv_prog_STRIP+set}" = set; then
11561 echo $ECHO_N "(cached) $ECHO_C" >&6
11563 if test -n "$STRIP"; then
11564 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
11566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11567 for as_dir
in $PATH
11570 test -z "$as_dir" && as_dir
=.
11571 for ac_exec_ext
in '' $ac_executable_extensions; do
11572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11573 ac_cv_prog_STRIP
="strip"
11574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11580 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
11583 STRIP
=$ac_cv_prog_STRIP
11584 if test -n "$STRIP"; then
11585 echo "$as_me:$LINENO: result: $STRIP" >&5
11586 echo "${ECHO_T}$STRIP" >&6
11588 echo "$as_me:$LINENO: result: no" >&5
11589 echo "${ECHO_T}no" >&6
11593 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11594 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11595 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11596 echo $ECHO_N "(cached) $ECHO_C" >&6
11599 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
11600 egrep -s GNU
> /dev
/null
); then
11601 wx_cv_prog_makeisgnu
="yes"
11603 wx_cv_prog_makeisgnu
="no"
11607 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11608 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11610 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11618 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11619 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11620 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11621 if test "${wx_cv_prog_makevpath+set}" = set; then
11622 echo $ECHO_N "(cached) $ECHO_C" >&6
11625 cat - << EOF > confMake
11631 if test ! -d sub
; then
11634 echo dummy
> sub
/file
11635 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
11637 rm -f sub
/file check final_file confMake
11639 if test "$RESULT" = 0; then
11640 wx_cv_prog_makevpath
="yes"
11642 wx_cv_prog_makevpath
="no"
11646 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11647 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11649 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11650 { { echo "$as_me:$LINENO: error:
11651 You need a make-utility that is able to use the variable
11653 If your version of make does not support VPATH correctly,
11654 please install GNU-make (possibly as gmake), and start
11655 configure with the following command:
11656 export MAKE=gmake; ./configure for sh-type shells
11657 setenv MAKE gmake; ./configure for csh-type shells
11658 Also please do remember to use gmake in this case every time
11659 you are trying to compile.
11661 echo "$as_me: error:
11662 You need a make-utility that is able to use the variable
11664 If your version of make does not support VPATH correctly,
11665 please install GNU-make (possibly as gmake), and start
11666 configure with the following command:
11667 export MAKE=gmake; ./configure for sh-type shells
11668 setenv MAKE gmake; ./configure for csh-type shells
11669 Also please do remember to use gmake in this case every time
11670 you are trying to compile.
11672 { (exit 1); exit 1; }; }
11674 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11675 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11677 if test "$LN_S" = "ln -s"; then
11678 echo "$as_me:$LINENO: result: yes" >&5
11679 echo "${ECHO_T}yes" >&6
11681 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11682 echo "${ECHO_T}no, using $LN_S" >&6
11687 *-pc-os2_emx | *-pc-os2-emx )
11688 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11689 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11690 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11691 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11692 echo $ECHO_N "(cached) $ECHO_C" >&6
11694 ac_check_lib_save_LIBS
=$LIBS
11695 LIBS
="-lcExt $LIBS"
11696 cat >conftest.
$ac_ext <<_ACEOF
11697 #line $LINENO "configure"
11700 cat confdefs.h
>>conftest.
$ac_ext
11701 cat >>conftest.
$ac_ext <<_ACEOF
11702 /* end confdefs.h. */
11704 /* Override any gcc2 internal prototype to avoid an error. */
11708 /* We use char because int might match the return type of a gcc2
11709 builtin and then its argument prototype would still apply. */
11719 rm -f conftest.
$ac_objext conftest
$ac_exeext
11720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11721 (eval $ac_link) 2>&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); } &&
11725 { ac_try
='test -s conftest$ac_exeext'
11726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11727 (eval $ac_try) 2>&5
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); }; }; then
11731 ac_cv_lib_cExt_drand48
=yes
11733 echo "$as_me: failed program was:" >&5
11734 sed 's/^/| /' conftest.
$ac_ext >&5
11736 ac_cv_lib_cExt_drand48
=no
11738 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11739 LIBS
=$ac_check_lib_save_LIBS
11741 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11742 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11743 if test $ac_cv_lib_cExt_drand48 = yes; then
11744 LIBS
="$LIBS -lcExt"
11748 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
11750 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11751 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11752 if test "${wx_cv_gcc3+set}" = set; then
11753 echo $ECHO_N "(cached) $ECHO_C" >&6
11756 cat >conftest.
$ac_ext <<_ACEOF
11757 #line $LINENO "configure"
11760 cat confdefs.h
>>conftest.
$ac_ext
11761 cat >>conftest.
$ac_ext <<_ACEOF
11762 /* end confdefs.h. */
11763 #include <features.h>
11776 rm -f conftest.
$ac_objext
11777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11778 (eval $ac_compile) 2>&5
11780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11781 (exit $ac_status); } &&
11782 { ac_try
='test -s conftest.$ac_objext'
11783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11784 (eval $ac_try) 2>&5
11786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11787 (exit $ac_status); }; }; then
11792 echo "$as_me: failed program was:" >&5
11793 sed 's/^/| /' conftest.
$ac_ext >&5
11800 rm -f conftest.
$ac_objext conftest.
$ac_ext
11803 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11804 echo "${ECHO_T}$wx_cv_gcc3" >&6
11805 if test "$wx_cv_gcc3" = "no"; then
11806 LIBS
="$LIBS -lstdcpp"
11808 LIBS
="$LIBS -lstdcxx"
11814 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11815 echo "$as_me:$LINENO: checking for strings.h" >&5
11816 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11817 if test "${ac_cv_header_strings_h+set}" = set; then
11818 echo $ECHO_N "(cached) $ECHO_C" >&6
11820 ac_cv_header_strings_h
=no
11822 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11823 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11824 if test "$ac_cv_header_strings_h" = "no"; then
11825 echo "$as_me:$LINENO: result: forced no into cache" >&5
11826 echo "${ECHO_T}forced no into cache" >&6
11828 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11829 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11832 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11833 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11834 if test "${ac_cv_header_stdc+set}" = set; then
11835 echo $ECHO_N "(cached) $ECHO_C" >&6
11837 cat >conftest.
$ac_ext <<_ACEOF
11838 #line $LINENO "configure"
11841 cat confdefs.h
>>conftest.
$ac_ext
11842 cat >>conftest.
$ac_ext <<_ACEOF
11843 /* end confdefs.h. */
11844 #include <stdlib.h>
11845 #include <stdarg.h>
11846 #include <string.h>
11857 rm -f conftest.
$ac_objext
11858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11859 (eval $ac_compile) 2>&5
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); } &&
11863 { ac_try
='test -s conftest.$ac_objext'
11864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11865 (eval $ac_try) 2>&5
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); }; }; then
11869 ac_cv_header_stdc
=yes
11871 echo "$as_me: failed program was:" >&5
11872 sed 's/^/| /' conftest.
$ac_ext >&5
11874 ac_cv_header_stdc
=no
11876 rm -f conftest.
$ac_objext conftest.
$ac_ext
11878 if test $ac_cv_header_stdc = yes; then
11879 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11880 cat >conftest.
$ac_ext <<_ACEOF
11881 #line $LINENO "configure"
11884 cat confdefs.h
>>conftest.
$ac_ext
11885 cat >>conftest.
$ac_ext <<_ACEOF
11886 /* end confdefs.h. */
11887 #include <string.h>
11890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11891 $EGREP "memchr" >/dev
/null
2>&1; then
11894 ac_cv_header_stdc
=no
11900 if test $ac_cv_header_stdc = yes; then
11901 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11902 cat >conftest.
$ac_ext <<_ACEOF
11903 #line $LINENO "configure"
11906 cat confdefs.h
>>conftest.
$ac_ext
11907 cat >>conftest.
$ac_ext <<_ACEOF
11908 /* end confdefs.h. */
11909 #include <stdlib.h>
11912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11913 $EGREP "free" >/dev
/null
2>&1; then
11916 ac_cv_header_stdc
=no
11922 if test $ac_cv_header_stdc = yes; then
11923 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11924 if test "$cross_compiling" = yes; then
11927 cat >conftest.
$ac_ext <<_ACEOF
11928 #line $LINENO "configure"
11931 cat confdefs.h
>>conftest.
$ac_ext
11932 cat >>conftest.
$ac_ext <<_ACEOF
11933 /* end confdefs.h. */
11935 #if ((' ' & 0x0FF) == 0x020)
11936 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11937 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11939 # define ISLOWER(c) \
11940 (('a' <= (c) && (c) <= 'i') \
11941 || ('j' <= (c) && (c) <= 'r') \
11942 || ('s' <= (c) && (c) <= 'z'))
11943 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11946 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11951 for (i = 0; i < 256; i++)
11952 if (XOR (islower (i), ISLOWER (i))
11953 || toupper (i) != TOUPPER (i))
11958 rm -f conftest
$ac_exeext
11959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11960 (eval $ac_link) 2>&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11965 (eval $ac_try) 2>&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); }; }; then
11971 echo "$as_me: program exited with status $ac_status" >&5
11972 echo "$as_me: failed program was:" >&5
11973 sed 's/^/| /' conftest.
$ac_ext >&5
11975 ( exit $ac_status )
11976 ac_cv_header_stdc
=no
11978 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11982 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11983 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11984 if test $ac_cv_header_stdc = yes; then
11986 cat >>confdefs.h
<<\_ACEOF
11987 #define STDC_HEADERS 1
11992 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12002 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
12003 inttypes.h stdint.h unistd.h
12005 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12006 echo "$as_me:$LINENO: checking for $ac_header" >&5
12007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12009 echo $ECHO_N "(cached) $ECHO_C" >&6
12011 cat >conftest.
$ac_ext <<_ACEOF
12012 #line $LINENO "configure"
12015 cat confdefs.h
>>conftest.
$ac_ext
12016 cat >>conftest.
$ac_ext <<_ACEOF
12017 /* end confdefs.h. */
12018 $ac_includes_default
12020 #include <$ac_header>
12022 rm -f conftest.
$ac_objext
12023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12024 (eval $ac_compile) 2>&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); } &&
12028 { ac_try
='test -s conftest.$ac_objext'
12029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12030 (eval $ac_try) 2>&5
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); }; }; then
12034 eval "$as_ac_Header=yes"
12036 echo "$as_me: failed program was:" >&5
12037 sed 's/^/| /' conftest.
$ac_ext >&5
12039 eval "$as_ac_Header=no"
12041 rm -f conftest.
$ac_objext conftest.
$ac_ext
12043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12046 cat >>confdefs.h
<<_ACEOF
12047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12056 for ac_header
in strings.h
12058 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12060 echo "$as_me:$LINENO: checking for $ac_header" >&5
12061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12063 echo $ECHO_N "(cached) $ECHO_C" >&6
12065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12068 # Is the header compilable?
12069 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12070 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12071 cat >conftest.
$ac_ext <<_ACEOF
12072 #line $LINENO "configure"
12075 cat confdefs.h
>>conftest.
$ac_ext
12076 cat >>conftest.
$ac_ext <<_ACEOF
12077 /* end confdefs.h. */
12078 $ac_includes_default
12079 #include <$ac_header>
12081 rm -f conftest.
$ac_objext
12082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12083 (eval $ac_compile) 2>&5
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); } &&
12087 { ac_try
='test -s conftest.$ac_objext'
12088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12089 (eval $ac_try) 2>&5
12091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092 (exit $ac_status); }; }; then
12093 ac_header_compiler
=yes
12095 echo "$as_me: failed program was:" >&5
12096 sed 's/^/| /' conftest.
$ac_ext >&5
12098 ac_header_compiler
=no
12100 rm -f conftest.
$ac_objext conftest.
$ac_ext
12101 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12102 echo "${ECHO_T}$ac_header_compiler" >&6
12104 # Is the header present?
12105 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12106 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12107 cat >conftest.
$ac_ext <<_ACEOF
12108 #line $LINENO "configure"
12111 cat confdefs.h
>>conftest.
$ac_ext
12112 cat >>conftest.
$ac_ext <<_ACEOF
12113 /* end confdefs.h. */
12114 #include <$ac_header>
12116 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12117 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12119 grep -v '^ *+' conftest.er1
>conftest.err
12121 cat conftest.err
>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } >/dev
/null
; then
12124 if test -s conftest.err
; then
12125 ac_cpp_err
=$ac_c_preproc_warn_flag
12132 if test -z "$ac_cpp_err"; then
12133 ac_header_preproc
=yes
12135 echo "$as_me: failed program was:" >&5
12136 sed 's/^/| /' conftest.
$ac_ext >&5
12138 ac_header_preproc
=no
12140 rm -f conftest.err conftest.
$ac_ext
12141 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12142 echo "${ECHO_T}$ac_header_preproc" >&6
12144 # So? What about this header?
12145 case $ac_header_compiler:$ac_header_preproc in
12147 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12148 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12153 ## ------------------------------------ ##
12154 ## Report this to bug-autoconf@gnu.org. ##
12155 ## ------------------------------------ ##
12158 sed "s/^/$as_me: WARNING: /" >&2
12161 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12162 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12163 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12164 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12166 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12169 ## ------------------------------------ ##
12170 ## Report this to bug-autoconf@gnu.org. ##
12171 ## ------------------------------------ ##
12174 sed "s/^/$as_me: WARNING: /" >&2
12177 echo "$as_me:$LINENO: checking for $ac_header" >&5
12178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12180 echo $ECHO_N "(cached) $ECHO_C" >&6
12182 eval "$as_ac_Header=$ac_header_preproc"
12184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12189 cat >>confdefs.h
<<_ACEOF
12190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12199 for ac_header
in stdlib.h
12201 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12203 echo "$as_me:$LINENO: checking for $ac_header" >&5
12204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12206 echo $ECHO_N "(cached) $ECHO_C" >&6
12208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12211 # Is the header compilable?
12212 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12213 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12214 cat >conftest.
$ac_ext <<_ACEOF
12215 #line $LINENO "configure"
12218 cat confdefs.h
>>conftest.
$ac_ext
12219 cat >>conftest.
$ac_ext <<_ACEOF
12220 /* end confdefs.h. */
12221 $ac_includes_default
12222 #include <$ac_header>
12224 rm -f conftest.
$ac_objext
12225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12226 (eval $ac_compile) 2>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); } &&
12230 { ac_try
='test -s conftest.$ac_objext'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; }; then
12236 ac_header_compiler
=yes
12238 echo "$as_me: failed program was:" >&5
12239 sed 's/^/| /' conftest.
$ac_ext >&5
12241 ac_header_compiler
=no
12243 rm -f conftest.
$ac_objext conftest.
$ac_ext
12244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12245 echo "${ECHO_T}$ac_header_compiler" >&6
12247 # Is the header present?
12248 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12249 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12250 cat >conftest.
$ac_ext <<_ACEOF
12251 #line $LINENO "configure"
12254 cat confdefs.h
>>conftest.
$ac_ext
12255 cat >>conftest.
$ac_ext <<_ACEOF
12256 /* end confdefs.h. */
12257 #include <$ac_header>
12259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12260 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12262 grep -v '^ *+' conftest.er1
>conftest.err
12264 cat conftest.err
>&5
12265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266 (exit $ac_status); } >/dev
/null
; then
12267 if test -s conftest.err
; then
12268 ac_cpp_err
=$ac_c_preproc_warn_flag
12275 if test -z "$ac_cpp_err"; then
12276 ac_header_preproc
=yes
12278 echo "$as_me: failed program was:" >&5
12279 sed 's/^/| /' conftest.
$ac_ext >&5
12281 ac_header_preproc
=no
12283 rm -f conftest.err conftest.
$ac_ext
12284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12285 echo "${ECHO_T}$ac_header_preproc" >&6
12287 # So? What about this header?
12288 case $ac_header_compiler:$ac_header_preproc in
12290 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12291 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12293 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12296 ## ------------------------------------ ##
12297 ## Report this to bug-autoconf@gnu.org. ##
12298 ## ------------------------------------ ##
12301 sed "s/^/$as_me: WARNING: /" >&2
12304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12309 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12312 ## ------------------------------------ ##
12313 ## Report this to bug-autoconf@gnu.org. ##
12314 ## ------------------------------------ ##
12317 sed "s/^/$as_me: WARNING: /" >&2
12320 echo "$as_me:$LINENO: checking for $ac_header" >&5
12321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12323 echo $ECHO_N "(cached) $ECHO_C" >&6
12325 eval "$as_ac_Header=$ac_header_preproc"
12327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12331 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12332 cat >>confdefs.h
<<_ACEOF
12333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12341 for ac_header
in malloc.h
12343 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12345 echo "$as_me:$LINENO: checking for $ac_header" >&5
12346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12348 echo $ECHO_N "(cached) $ECHO_C" >&6
12350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12353 # Is the header compilable?
12354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12356 cat >conftest.
$ac_ext <<_ACEOF
12357 #line $LINENO "configure"
12360 cat confdefs.h
>>conftest.
$ac_ext
12361 cat >>conftest.
$ac_ext <<_ACEOF
12362 /* end confdefs.h. */
12363 $ac_includes_default
12364 #include <$ac_header>
12366 rm -f conftest.
$ac_objext
12367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12368 (eval $ac_compile) 2>&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } &&
12372 { ac_try
='test -s conftest.$ac_objext'
12373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374 (eval $ac_try) 2>&5
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); }; }; then
12378 ac_header_compiler
=yes
12380 echo "$as_me: failed program was:" >&5
12381 sed 's/^/| /' conftest.
$ac_ext >&5
12383 ac_header_compiler
=no
12385 rm -f conftest.
$ac_objext conftest.
$ac_ext
12386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12387 echo "${ECHO_T}$ac_header_compiler" >&6
12389 # Is the header present?
12390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12392 cat >conftest.
$ac_ext <<_ACEOF
12393 #line $LINENO "configure"
12396 cat confdefs.h
>>conftest.
$ac_ext
12397 cat >>conftest.
$ac_ext <<_ACEOF
12398 /* end confdefs.h. */
12399 #include <$ac_header>
12401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12402 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12404 grep -v '^ *+' conftest.er1
>conftest.err
12406 cat conftest.err
>&5
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); } >/dev
/null
; then
12409 if test -s conftest.err
; then
12410 ac_cpp_err
=$ac_c_preproc_warn_flag
12417 if test -z "$ac_cpp_err"; then
12418 ac_header_preproc
=yes
12420 echo "$as_me: failed program was:" >&5
12421 sed 's/^/| /' conftest.
$ac_ext >&5
12423 ac_header_preproc
=no
12425 rm -f conftest.err conftest.
$ac_ext
12426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12427 echo "${ECHO_T}$ac_header_preproc" >&6
12429 # So? What about this header?
12430 case $ac_header_compiler:$ac_header_preproc in
12432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12438 ## ------------------------------------ ##
12439 ## Report this to bug-autoconf@gnu.org. ##
12440 ## ------------------------------------ ##
12443 sed "s/^/$as_me: WARNING: /" >&2
12446 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12447 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12448 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12449 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12454 ## ------------------------------------ ##
12455 ## Report this to bug-autoconf@gnu.org. ##
12456 ## ------------------------------------ ##
12459 sed "s/^/$as_me: WARNING: /" >&2
12462 echo "$as_me:$LINENO: checking for $ac_header" >&5
12463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12465 echo $ECHO_N "(cached) $ECHO_C" >&6
12467 eval "$as_ac_Header=$ac_header_preproc"
12469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12474 cat >>confdefs.h
<<_ACEOF
12475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12483 for ac_header
in unistd.h
12485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12487 echo "$as_me:$LINENO: checking for $ac_header" >&5
12488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12490 echo $ECHO_N "(cached) $ECHO_C" >&6
12492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12495 # Is the header compilable?
12496 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12498 cat >conftest.
$ac_ext <<_ACEOF
12499 #line $LINENO "configure"
12502 cat confdefs.h
>>conftest.
$ac_ext
12503 cat >>conftest.
$ac_ext <<_ACEOF
12504 /* end confdefs.h. */
12505 $ac_includes_default
12506 #include <$ac_header>
12508 rm -f conftest.
$ac_objext
12509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12510 (eval $ac_compile) 2>&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); } &&
12514 { ac_try
='test -s conftest.$ac_objext'
12515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12516 (eval $ac_try) 2>&5
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); }; }; then
12520 ac_header_compiler
=yes
12522 echo "$as_me: failed program was:" >&5
12523 sed 's/^/| /' conftest.
$ac_ext >&5
12525 ac_header_compiler
=no
12527 rm -f conftest.
$ac_objext conftest.
$ac_ext
12528 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12529 echo "${ECHO_T}$ac_header_compiler" >&6
12531 # Is the header present?
12532 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12533 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12534 cat >conftest.
$ac_ext <<_ACEOF
12535 #line $LINENO "configure"
12538 cat confdefs.h
>>conftest.
$ac_ext
12539 cat >>conftest.
$ac_ext <<_ACEOF
12540 /* end confdefs.h. */
12541 #include <$ac_header>
12543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12544 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12546 grep -v '^ *+' conftest.er1
>conftest.err
12548 cat conftest.err
>&5
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); } >/dev
/null
; then
12551 if test -s conftest.err
; then
12552 ac_cpp_err
=$ac_c_preproc_warn_flag
12559 if test -z "$ac_cpp_err"; then
12560 ac_header_preproc
=yes
12562 echo "$as_me: failed program was:" >&5
12563 sed 's/^/| /' conftest.
$ac_ext >&5
12565 ac_header_preproc
=no
12567 rm -f conftest.err conftest.
$ac_ext
12568 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12569 echo "${ECHO_T}$ac_header_preproc" >&6
12571 # So? What about this header?
12572 case $ac_header_compiler:$ac_header_preproc in
12574 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12575 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12580 ## ------------------------------------ ##
12581 ## Report this to bug-autoconf@gnu.org. ##
12582 ## ------------------------------------ ##
12585 sed "s/^/$as_me: WARNING: /" >&2
12588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12589 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12591 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12593 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12596 ## ------------------------------------ ##
12597 ## Report this to bug-autoconf@gnu.org. ##
12598 ## ------------------------------------ ##
12601 sed "s/^/$as_me: WARNING: /" >&2
12604 echo "$as_me:$LINENO: checking for $ac_header" >&5
12605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12607 echo $ECHO_N "(cached) $ECHO_C" >&6
12609 eval "$as_ac_Header=$ac_header_preproc"
12611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12616 cat >>confdefs.h
<<_ACEOF
12617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12625 for ac_header
in wchar.h
12627 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12629 echo "$as_me:$LINENO: checking for $ac_header" >&5
12630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12632 echo $ECHO_N "(cached) $ECHO_C" >&6
12634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12637 # Is the header compilable?
12638 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12639 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12640 cat >conftest.
$ac_ext <<_ACEOF
12641 #line $LINENO "configure"
12644 cat confdefs.h
>>conftest.
$ac_ext
12645 cat >>conftest.
$ac_ext <<_ACEOF
12646 /* end confdefs.h. */
12647 $ac_includes_default
12648 #include <$ac_header>
12650 rm -f conftest.
$ac_objext
12651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12652 (eval $ac_compile) 2>&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); } &&
12656 { ac_try
='test -s conftest.$ac_objext'
12657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12658 (eval $ac_try) 2>&5
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); }; }; then
12662 ac_header_compiler
=yes
12664 echo "$as_me: failed program was:" >&5
12665 sed 's/^/| /' conftest.
$ac_ext >&5
12667 ac_header_compiler
=no
12669 rm -f conftest.
$ac_objext conftest.
$ac_ext
12670 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12671 echo "${ECHO_T}$ac_header_compiler" >&6
12673 # Is the header present?
12674 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12675 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12676 cat >conftest.
$ac_ext <<_ACEOF
12677 #line $LINENO "configure"
12680 cat confdefs.h
>>conftest.
$ac_ext
12681 cat >>conftest.
$ac_ext <<_ACEOF
12682 /* end confdefs.h. */
12683 #include <$ac_header>
12685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12686 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12688 grep -v '^ *+' conftest.er1
>conftest.err
12690 cat conftest.err
>&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } >/dev
/null
; then
12693 if test -s conftest.err
; then
12694 ac_cpp_err
=$ac_c_preproc_warn_flag
12701 if test -z "$ac_cpp_err"; then
12702 ac_header_preproc
=yes
12704 echo "$as_me: failed program was:" >&5
12705 sed 's/^/| /' conftest.
$ac_ext >&5
12707 ac_header_preproc
=no
12709 rm -f conftest.err conftest.
$ac_ext
12710 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12711 echo "${ECHO_T}$ac_header_preproc" >&6
12713 # So? What about this header?
12714 case $ac_header_compiler:$ac_header_preproc in
12716 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12717 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12722 ## ------------------------------------ ##
12723 ## Report this to bug-autoconf@gnu.org. ##
12724 ## ------------------------------------ ##
12727 sed "s/^/$as_me: WARNING: /" >&2
12730 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12731 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12732 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12733 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12738 ## ------------------------------------ ##
12739 ## Report this to bug-autoconf@gnu.org. ##
12740 ## ------------------------------------ ##
12743 sed "s/^/$as_me: WARNING: /" >&2
12746 echo "$as_me:$LINENO: checking for $ac_header" >&5
12747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12749 echo $ECHO_N "(cached) $ECHO_C" >&6
12751 eval "$as_ac_Header=$ac_header_preproc"
12753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12758 cat >>confdefs.h
<<_ACEOF
12759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12767 if test "$ac_cv_header_wchar_h" != "yes"; then
12769 for ac_header
in wcstr.h
12771 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12773 echo "$as_me:$LINENO: checking for $ac_header" >&5
12774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12776 echo $ECHO_N "(cached) $ECHO_C" >&6
12778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12781 # Is the header compilable?
12782 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12783 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12784 cat >conftest.
$ac_ext <<_ACEOF
12785 #line $LINENO "configure"
12788 cat confdefs.h
>>conftest.
$ac_ext
12789 cat >>conftest.
$ac_ext <<_ACEOF
12790 /* end confdefs.h. */
12791 $ac_includes_default
12792 #include <$ac_header>
12794 rm -f conftest.
$ac_objext
12795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12796 (eval $ac_compile) 2>&5
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); } &&
12800 { ac_try
='test -s conftest.$ac_objext'
12801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12802 (eval $ac_try) 2>&5
12804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 (exit $ac_status); }; }; then
12806 ac_header_compiler
=yes
12808 echo "$as_me: failed program was:" >&5
12809 sed 's/^/| /' conftest.
$ac_ext >&5
12811 ac_header_compiler
=no
12813 rm -f conftest.
$ac_objext conftest.
$ac_ext
12814 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12815 echo "${ECHO_T}$ac_header_compiler" >&6
12817 # Is the header present?
12818 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12819 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12820 cat >conftest.
$ac_ext <<_ACEOF
12821 #line $LINENO "configure"
12824 cat confdefs.h
>>conftest.
$ac_ext
12825 cat >>conftest.
$ac_ext <<_ACEOF
12826 /* end confdefs.h. */
12827 #include <$ac_header>
12829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12830 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12832 grep -v '^ *+' conftest.er1
>conftest.err
12834 cat conftest.err
>&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); } >/dev
/null
; then
12837 if test -s conftest.err
; then
12838 ac_cpp_err
=$ac_c_preproc_warn_flag
12845 if test -z "$ac_cpp_err"; then
12846 ac_header_preproc
=yes
12848 echo "$as_me: failed program was:" >&5
12849 sed 's/^/| /' conftest.
$ac_ext >&5
12851 ac_header_preproc
=no
12853 rm -f conftest.err conftest.
$ac_ext
12854 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12855 echo "${ECHO_T}$ac_header_preproc" >&6
12857 # So? What about this header?
12858 case $ac_header_compiler:$ac_header_preproc in
12860 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12861 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12863 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12866 ## ------------------------------------ ##
12867 ## Report this to bug-autoconf@gnu.org. ##
12868 ## ------------------------------------ ##
12871 sed "s/^/$as_me: WARNING: /" >&2
12874 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12875 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12876 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12877 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12882 ## ------------------------------------ ##
12883 ## Report this to bug-autoconf@gnu.org. ##
12884 ## ------------------------------------ ##
12887 sed "s/^/$as_me: WARNING: /" >&2
12890 echo "$as_me:$LINENO: checking for $ac_header" >&5
12891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12893 echo $ECHO_N "(cached) $ECHO_C" >&6
12895 eval "$as_ac_Header=$ac_header_preproc"
12897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12901 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12902 cat >>confdefs.h
<<_ACEOF
12903 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12913 for ac_header
in fnmatch.h
12915 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12917 echo "$as_me:$LINENO: checking for $ac_header" >&5
12918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12920 echo $ECHO_N "(cached) $ECHO_C" >&6
12922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12925 # Is the header compilable?
12926 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12927 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12928 cat >conftest.
$ac_ext <<_ACEOF
12929 #line $LINENO "configure"
12932 cat confdefs.h
>>conftest.
$ac_ext
12933 cat >>conftest.
$ac_ext <<_ACEOF
12934 /* end confdefs.h. */
12935 $ac_includes_default
12936 #include <$ac_header>
12938 rm -f conftest.
$ac_objext
12939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12940 (eval $ac_compile) 2>&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } &&
12944 { ac_try
='test -s conftest.$ac_objext'
12945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12946 (eval $ac_try) 2>&5
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); }; }; then
12950 ac_header_compiler
=yes
12952 echo "$as_me: failed program was:" >&5
12953 sed 's/^/| /' conftest.
$ac_ext >&5
12955 ac_header_compiler
=no
12957 rm -f conftest.
$ac_objext conftest.
$ac_ext
12958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12959 echo "${ECHO_T}$ac_header_compiler" >&6
12961 # Is the header present?
12962 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12963 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12964 cat >conftest.
$ac_ext <<_ACEOF
12965 #line $LINENO "configure"
12968 cat confdefs.h
>>conftest.
$ac_ext
12969 cat >>conftest.
$ac_ext <<_ACEOF
12970 /* end confdefs.h. */
12971 #include <$ac_header>
12973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12974 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12976 grep -v '^ *+' conftest.er1
>conftest.err
12978 cat conftest.err
>&5
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); } >/dev
/null
; then
12981 if test -s conftest.err
; then
12982 ac_cpp_err
=$ac_c_preproc_warn_flag
12989 if test -z "$ac_cpp_err"; then
12990 ac_header_preproc
=yes
12992 echo "$as_me: failed program was:" >&5
12993 sed 's/^/| /' conftest.
$ac_ext >&5
12995 ac_header_preproc
=no
12997 rm -f conftest.err conftest.
$ac_ext
12998 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12999 echo "${ECHO_T}$ac_header_preproc" >&6
13001 # So? What about this header?
13002 case $ac_header_compiler:$ac_header_preproc in
13004 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13005 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13007 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13010 ## ------------------------------------ ##
13011 ## Report this to bug-autoconf@gnu.org. ##
13012 ## ------------------------------------ ##
13015 sed "s/^/$as_me: WARNING: /" >&2
13018 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13019 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13020 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13021 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13026 ## ------------------------------------ ##
13027 ## Report this to bug-autoconf@gnu.org. ##
13028 ## ------------------------------------ ##
13031 sed "s/^/$as_me: WARNING: /" >&2
13034 echo "$as_me:$LINENO: checking for $ac_header" >&5
13035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13037 echo $ECHO_N "(cached) $ECHO_C" >&6
13039 eval "$as_ac_Header=$ac_header_preproc"
13041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13046 cat >>confdefs.h
<<_ACEOF
13047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13055 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13057 for ac_func
in fnmatch
13059 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13060 echo "$as_me:$LINENO: checking for $ac_func" >&5
13061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13062 if eval "test \"\${$as_ac_var+set}\" = set"; then
13063 echo $ECHO_N "(cached) $ECHO_C" >&6
13065 cat >conftest.
$ac_ext <<_ACEOF
13066 #line $LINENO "configure"
13069 cat confdefs.h
>>conftest.
$ac_ext
13070 cat >>conftest.
$ac_ext <<_ACEOF
13071 /* end confdefs.h. */
13072 /* System header to define __stub macros and hopefully few prototypes,
13073 which can conflict with char $ac_func (); below.
13074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13075 <limits.h> exists even on freestanding compilers. */
13077 # include <limits.h>
13079 # include <assert.h>
13081 /* Override any gcc2 internal prototype to avoid an error. */
13086 /* We use char because int might match the return type of a gcc2
13087 builtin and then its argument prototype would still apply. */
13089 /* The GNU C library defines this for functions which it implements
13090 to always fail with ENOSYS. Some functions are actually named
13091 something starting with __ and the normal name is an alias. */
13092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13095 char (*f) () = $ac_func;
13104 return f != $ac_func;
13109 rm -f conftest.
$ac_objext conftest
$ac_exeext
13110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13111 (eval $ac_link) 2>&5
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); } &&
13115 { ac_try
='test -s conftest$ac_exeext'
13116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13117 (eval $ac_try) 2>&5
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); }; }; then
13121 eval "$as_ac_var=yes"
13123 echo "$as_me: failed program was:" >&5
13124 sed 's/^/| /' conftest.
$ac_ext >&5
13126 eval "$as_ac_var=no"
13128 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13132 if test `eval echo '${'$as_ac_var'}'` = yes; then
13133 cat >>confdefs.h
<<_ACEOF
13134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13143 for ac_header
in langinfo.h
13145 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13147 echo "$as_me:$LINENO: checking for $ac_header" >&5
13148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13150 echo $ECHO_N "(cached) $ECHO_C" >&6
13152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13155 # Is the header compilable?
13156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13158 cat >conftest.
$ac_ext <<_ACEOF
13159 #line $LINENO "configure"
13162 cat confdefs.h
>>conftest.
$ac_ext
13163 cat >>conftest.
$ac_ext <<_ACEOF
13164 /* end confdefs.h. */
13165 $ac_includes_default
13166 #include <$ac_header>
13168 rm -f conftest.
$ac_objext
13169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13170 (eval $ac_compile) 2>&5
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); } &&
13174 { ac_try
='test -s conftest.$ac_objext'
13175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13176 (eval $ac_try) 2>&5
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); }; }; then
13180 ac_header_compiler
=yes
13182 echo "$as_me: failed program was:" >&5
13183 sed 's/^/| /' conftest.
$ac_ext >&5
13185 ac_header_compiler
=no
13187 rm -f conftest.
$ac_objext conftest.
$ac_ext
13188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13189 echo "${ECHO_T}$ac_header_compiler" >&6
13191 # Is the header present?
13192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13194 cat >conftest.
$ac_ext <<_ACEOF
13195 #line $LINENO "configure"
13198 cat confdefs.h
>>conftest.
$ac_ext
13199 cat >>conftest.
$ac_ext <<_ACEOF
13200 /* end confdefs.h. */
13201 #include <$ac_header>
13203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13204 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13206 grep -v '^ *+' conftest.er1
>conftest.err
13208 cat conftest.err
>&5
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); } >/dev
/null
; then
13211 if test -s conftest.err
; then
13212 ac_cpp_err
=$ac_c_preproc_warn_flag
13219 if test -z "$ac_cpp_err"; then
13220 ac_header_preproc
=yes
13222 echo "$as_me: failed program was:" >&5
13223 sed 's/^/| /' conftest.
$ac_ext >&5
13225 ac_header_preproc
=no
13227 rm -f conftest.err conftest.
$ac_ext
13228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13229 echo "${ECHO_T}$ac_header_preproc" >&6
13231 # So? What about this header?
13232 case $ac_header_compiler:$ac_header_preproc in
13234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13240 ## ------------------------------------ ##
13241 ## Report this to bug-autoconf@gnu.org. ##
13242 ## ------------------------------------ ##
13245 sed "s/^/$as_me: WARNING: /" >&2
13248 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13249 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13250 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13251 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13253 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13256 ## ------------------------------------ ##
13257 ## Report this to bug-autoconf@gnu.org. ##
13258 ## ------------------------------------ ##
13261 sed "s/^/$as_me: WARNING: /" >&2
13264 echo "$as_me:$LINENO: checking for $ac_header" >&5
13265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13267 echo $ECHO_N "(cached) $ECHO_C" >&6
13269 eval "$as_ac_Header=$ac_header_preproc"
13271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13276 cat >>confdefs.h
<<_ACEOF
13277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13286 *-pc-os2_emx | *-pc-os2-emx )
13287 if test $ac_cv_header_langinfo_h = "yes"; then
13288 LIBS
="$LIBS -lintl"
13293 if test "$wxUSE_GUI" = "yes"; then
13294 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13296 for ac_header
in X
11/Xlib.h
13298 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13300 echo "$as_me:$LINENO: checking for $ac_header" >&5
13301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13303 echo $ECHO_N "(cached) $ECHO_C" >&6
13305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13308 # Is the header compilable?
13309 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13310 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13311 cat >conftest.
$ac_ext <<_ACEOF
13312 #line $LINENO "configure"
13315 cat confdefs.h
>>conftest.
$ac_ext
13316 cat >>conftest.
$ac_ext <<_ACEOF
13317 /* end confdefs.h. */
13318 $ac_includes_default
13319 #include <$ac_header>
13321 rm -f conftest.
$ac_objext
13322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13323 (eval $ac_compile) 2>&5
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); } &&
13327 { ac_try
='test -s conftest.$ac_objext'
13328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13329 (eval $ac_try) 2>&5
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }; }; then
13333 ac_header_compiler
=yes
13335 echo "$as_me: failed program was:" >&5
13336 sed 's/^/| /' conftest.
$ac_ext >&5
13338 ac_header_compiler
=no
13340 rm -f conftest.
$ac_objext conftest.
$ac_ext
13341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13342 echo "${ECHO_T}$ac_header_compiler" >&6
13344 # Is the header present?
13345 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13347 cat >conftest.
$ac_ext <<_ACEOF
13348 #line $LINENO "configure"
13351 cat confdefs.h
>>conftest.
$ac_ext
13352 cat >>conftest.
$ac_ext <<_ACEOF
13353 /* end confdefs.h. */
13354 #include <$ac_header>
13356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13357 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13359 grep -v '^ *+' conftest.er1
>conftest.err
13361 cat conftest.err
>&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); } >/dev
/null
; then
13364 if test -s conftest.err
; then
13365 ac_cpp_err
=$ac_c_preproc_warn_flag
13372 if test -z "$ac_cpp_err"; then
13373 ac_header_preproc
=yes
13375 echo "$as_me: failed program was:" >&5
13376 sed 's/^/| /' conftest.
$ac_ext >&5
13378 ac_header_preproc
=no
13380 rm -f conftest.err conftest.
$ac_ext
13381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13382 echo "${ECHO_T}$ac_header_preproc" >&6
13384 # So? What about this header?
13385 case $ac_header_compiler:$ac_header_preproc in
13387 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13388 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13390 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13393 ## ------------------------------------ ##
13394 ## Report this to bug-autoconf@gnu.org. ##
13395 ## ------------------------------------ ##
13398 sed "s/^/$as_me: WARNING: /" >&2
13401 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13402 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13403 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13404 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13409 ## ------------------------------------ ##
13410 ## Report this to bug-autoconf@gnu.org. ##
13411 ## ------------------------------------ ##
13414 sed "s/^/$as_me: WARNING: /" >&2
13417 echo "$as_me:$LINENO: checking for $ac_header" >&5
13418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13420 echo $ECHO_N "(cached) $ECHO_C" >&6
13422 eval "$as_ac_Header=$ac_header_preproc"
13424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13429 cat >>confdefs.h
<<_ACEOF
13430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13438 for ac_header
in X
11/XKBlib.h
13440 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13441 echo "$as_me:$LINENO: checking for $ac_header" >&5
13442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13444 echo $ECHO_N "(cached) $ECHO_C" >&6
13446 cat >conftest.
$ac_ext <<_ACEOF
13447 #line $LINENO "configure"
13450 cat confdefs.h
>>conftest.
$ac_ext
13451 cat >>conftest.
$ac_ext <<_ACEOF
13452 /* end confdefs.h. */
13454 #if HAVE_X11_XLIB_H
13455 #include <X11/Xlib.h>
13459 #include <$ac_header>
13461 rm -f conftest.
$ac_objext
13462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13463 (eval $ac_compile) 2>&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } &&
13467 { ac_try
='test -s conftest.$ac_objext'
13468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13469 (eval $ac_try) 2>&5
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); }; }; then
13473 eval "$as_ac_Header=yes"
13475 echo "$as_me: failed program was:" >&5
13476 sed 's/^/| /' conftest.
$ac_ext >&5
13478 eval "$as_ac_Header=no"
13480 rm -f conftest.
$ac_objext conftest.
$ac_ext
13482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13484 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13485 cat >>confdefs.h
<<_ACEOF
13486 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13497 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13498 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13499 if test "${ac_cv_c_const+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13502 cat >conftest.
$ac_ext <<_ACEOF
13503 #line $LINENO "configure"
13506 cat confdefs.h
>>conftest.
$ac_ext
13507 cat >>conftest.
$ac_ext <<_ACEOF
13508 /* end confdefs.h. */
13513 /* FIXME: Include the comments suggested by Paul. */
13514 #ifndef __cplusplus
13515 /* Ultrix mips cc rejects this. */
13516 typedef int charset[2];
13518 /* SunOS 4.1.1 cc rejects this. */
13519 char const *const *ccp;
13521 /* NEC SVR4.0.2 mips cc rejects this. */
13522 struct point {int x, y;};
13523 static struct point const zero = {0,0};
13524 /* AIX XL C 1.02.0.0 rejects this.
13525 It does not let you subtract one const X* pointer from another in
13526 an arm of an if-expression whose if-part is not a constant
13528 const char *g = "string";
13529 ccp = &g + (g ? g-g : 0);
13530 /* HPUX 7.0 cc rejects these. */
13533 ccp = (char const *const *) p;
13534 { /* SCO 3.2v4 cc rejects this. */
13536 char const *s = 0 ? (char *) 0 : (char const *) 0;
13540 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13541 int x[] = {25, 17};
13542 const int *foo = &x[0];
13545 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13546 typedef const int *iptr;
13550 { /* AIX XL C 1.02.0.0 rejects this saying
13551 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13552 struct s { int j; const int *ap[3]; };
13553 struct s *b; b->j = 5;
13555 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13556 const int foo = 10;
13564 rm -f conftest.
$ac_objext
13565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13566 (eval $ac_compile) 2>&5
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); } &&
13570 { ac_try
='test -s conftest.$ac_objext'
13571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13572 (eval $ac_try) 2>&5
13574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575 (exit $ac_status); }; }; then
13578 echo "$as_me: failed program was:" >&5
13579 sed 's/^/| /' conftest.
$ac_ext >&5
13583 rm -f conftest.
$ac_objext conftest.
$ac_ext
13585 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13586 echo "${ECHO_T}$ac_cv_c_const" >&6
13587 if test $ac_cv_c_const = no
; then
13589 cat >>confdefs.h
<<\_ACEOF
13595 echo "$as_me:$LINENO: checking for inline" >&5
13596 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13597 if test "${ac_cv_c_inline+set}" = set; then
13598 echo $ECHO_N "(cached) $ECHO_C" >&6
13601 for ac_kw
in inline __inline__ __inline
; do
13602 cat >conftest.
$ac_ext <<_ACEOF
13603 #line $LINENO "configure"
13606 cat confdefs.h
>>conftest.
$ac_ext
13607 cat >>conftest.
$ac_ext <<_ACEOF
13608 /* end confdefs.h. */
13609 #ifndef __cplusplus
13611 static $ac_kw foo_t static_foo () {return 0; }
13612 $ac_kw foo_t foo () {return 0; }
13616 rm -f conftest.
$ac_objext
13617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13618 (eval $ac_compile) 2>&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); } &&
13622 { ac_try
='test -s conftest.$ac_objext'
13623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13624 (eval $ac_try) 2>&5
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); }; }; then
13628 ac_cv_c_inline
=$ac_kw; break
13630 echo "$as_me: failed program was:" >&5
13631 sed 's/^/| /' conftest.
$ac_ext >&5
13634 rm -f conftest.
$ac_objext conftest.
$ac_ext
13638 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13639 echo "${ECHO_T}$ac_cv_c_inline" >&6
13640 case $ac_cv_c_inline in
13643 cat >>confdefs.h
<<\_ACEOF
13647 *) cat >>confdefs.h
<<_ACEOF
13648 #define inline $ac_cv_c_inline
13654 echo "$as_me:$LINENO: checking for char" >&5
13655 echo $ECHO_N "checking for char... $ECHO_C" >&6
13656 if test "${ac_cv_type_char+set}" = set; then
13657 echo $ECHO_N "(cached) $ECHO_C" >&6
13659 cat >conftest.
$ac_ext <<_ACEOF
13660 #line $LINENO "configure"
13663 cat confdefs.h
>>conftest.
$ac_ext
13664 cat >>conftest.
$ac_ext <<_ACEOF
13665 /* end confdefs.h. */
13666 $ac_includes_default
13678 rm -f conftest.
$ac_objext
13679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13680 (eval $ac_compile) 2>&5
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); } &&
13684 { ac_try
='test -s conftest.$ac_objext'
13685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13686 (eval $ac_try) 2>&5
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); }; }; then
13690 ac_cv_type_char
=yes
13692 echo "$as_me: failed program was:" >&5
13693 sed 's/^/| /' conftest.
$ac_ext >&5
13697 rm -f conftest.
$ac_objext conftest.
$ac_ext
13699 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13700 echo "${ECHO_T}$ac_cv_type_char" >&6
13702 echo "$as_me:$LINENO: checking size of char" >&5
13703 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13704 if test "${ac_cv_sizeof_char+set}" = set; then
13705 echo $ECHO_N "(cached) $ECHO_C" >&6
13707 if test "$ac_cv_type_char" = yes; then
13708 # The cast to unsigned long works around a bug in the HP C Compiler
13709 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13710 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13711 # This bug is HP SR number 8606223364.
13712 if test "$cross_compiling" = yes; then
13713 # Depending upon the size, compute the lo and hi bounds.
13714 cat >conftest.
$ac_ext <<_ACEOF
13715 #line $LINENO "configure"
13718 cat confdefs.h
>>conftest.
$ac_ext
13719 cat >>conftest.
$ac_ext <<_ACEOF
13720 /* end confdefs.h. */
13721 $ac_includes_default
13725 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13732 rm -f conftest.
$ac_objext
13733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13734 (eval $ac_compile) 2>&5
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); } &&
13738 { ac_try
='test -s conftest.$ac_objext'
13739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740 (eval $ac_try) 2>&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }; }; then
13746 cat >conftest.
$ac_ext <<_ACEOF
13747 #line $LINENO "configure"
13750 cat confdefs.h
>>conftest.
$ac_ext
13751 cat >>conftest.
$ac_ext <<_ACEOF
13752 /* end confdefs.h. */
13753 $ac_includes_default
13757 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13764 rm -f conftest.
$ac_objext
13765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13766 (eval $ac_compile) 2>&5
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); } &&
13770 { ac_try
='test -s conftest.$ac_objext'
13771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13772 (eval $ac_try) 2>&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; }; then
13776 ac_hi
=$ac_mid; break
13778 echo "$as_me: failed program was:" >&5
13779 sed 's/^/| /' conftest.
$ac_ext >&5
13781 ac_lo
=`expr $ac_mid + 1`
13782 if test $ac_lo -le $ac_mid; then
13786 ac_mid
=`expr 2 '*' $ac_mid + 1`
13788 rm -f conftest.
$ac_objext conftest.
$ac_ext
13791 echo "$as_me: failed program was:" >&5
13792 sed 's/^/| /' conftest.
$ac_ext >&5
13794 cat >conftest.
$ac_ext <<_ACEOF
13795 #line $LINENO "configure"
13798 cat confdefs.h
>>conftest.
$ac_ext
13799 cat >>conftest.
$ac_ext <<_ACEOF
13800 /* end confdefs.h. */
13801 $ac_includes_default
13805 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13812 rm -f conftest.
$ac_objext
13813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13814 (eval $ac_compile) 2>&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); } &&
13818 { ac_try
='test -s conftest.$ac_objext'
13819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13820 (eval $ac_try) 2>&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); }; }; then
13826 cat >conftest.
$ac_ext <<_ACEOF
13827 #line $LINENO "configure"
13830 cat confdefs.h
>>conftest.
$ac_ext
13831 cat >>conftest.
$ac_ext <<_ACEOF
13832 /* end confdefs.h. */
13833 $ac_includes_default
13837 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13844 rm -f conftest.
$ac_objext
13845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13846 (eval $ac_compile) 2>&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); } &&
13850 { ac_try
='test -s conftest.$ac_objext'
13851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852 (eval $ac_try) 2>&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; }; then
13856 ac_lo
=$ac_mid; break
13858 echo "$as_me: failed program was:" >&5
13859 sed 's/^/| /' conftest.
$ac_ext >&5
13861 ac_hi
=`expr '(' $ac_mid ')' - 1`
13862 if test $ac_mid -le $ac_hi; then
13866 ac_mid
=`expr 2 '*' $ac_mid`
13868 rm -f conftest.
$ac_objext conftest.
$ac_ext
13871 echo "$as_me: failed program was:" >&5
13872 sed 's/^/| /' conftest.
$ac_ext >&5
13876 rm -f conftest.
$ac_objext conftest.
$ac_ext
13878 rm -f conftest.
$ac_objext conftest.
$ac_ext
13879 # Binary search between lo and hi bounds.
13880 while test "x$ac_lo" != "x$ac_hi"; do
13881 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13882 cat >conftest.
$ac_ext <<_ACEOF
13883 #line $LINENO "configure"
13886 cat confdefs.h
>>conftest.
$ac_ext
13887 cat >>conftest.
$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13889 $ac_includes_default
13893 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13900 rm -f conftest.
$ac_objext
13901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13902 (eval $ac_compile) 2>&5
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); } &&
13906 { ac_try
='test -s conftest.$ac_objext'
13907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13908 (eval $ac_try) 2>&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); }; }; then
13914 echo "$as_me: failed program was:" >&5
13915 sed 's/^/| /' conftest.
$ac_ext >&5
13917 ac_lo
=`expr '(' $ac_mid ')' + 1`
13919 rm -f conftest.
$ac_objext conftest.
$ac_ext
13922 ?
*) ac_cv_sizeof_char
=$ac_lo;;
13923 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13924 See \`config.log' for more details." >&5
13925 echo "$as_me: error: cannot compute sizeof (char), 77
13926 See \`config.log' for more details." >&2;}
13927 { (exit 1); exit 1; }; } ;;
13930 if test "$cross_compiling" = yes; then
13931 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13932 See \`config.log' for more details." >&5
13933 echo "$as_me: error: cannot run test program while cross compiling
13934 See \`config.log' for more details." >&2;}
13935 { (exit 1); exit 1; }; }
13937 cat >conftest.
$ac_ext <<_ACEOF
13938 #line $LINENO "configure"
13941 cat confdefs.h
>>conftest.
$ac_ext
13942 cat >>conftest.
$ac_ext <<_ACEOF
13943 /* end confdefs.h. */
13944 $ac_includes_default
13945 long longval () { return (long) (sizeof (char)); }
13946 unsigned long ulongval () { return (long) (sizeof (char)); }
13948 #include <stdlib.h>
13953 FILE *f = fopen ("conftest.val", "w");
13956 if (((long) (sizeof (char))) < 0)
13958 long i = longval ();
13959 if (i != ((long) (sizeof (char))))
13961 fprintf (f, "%ld\n", i);
13965 unsigned long i = ulongval ();
13966 if (i != ((long) (sizeof (char))))
13968 fprintf (f, "%lu\n", i);
13970 exit (ferror (f) || fclose (f) != 0);
13976 rm -f conftest
$ac_exeext
13977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13978 (eval $ac_link) 2>&5
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13983 (eval $ac_try) 2>&5
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); }; }; then
13987 ac_cv_sizeof_char
=`cat conftest.val`
13989 echo "$as_me: program exited with status $ac_status" >&5
13990 echo "$as_me: failed program was:" >&5
13991 sed 's/^/| /' conftest.
$ac_ext >&5
13993 ( exit $ac_status )
13994 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13995 See \`config.log' for more details." >&5
13996 echo "$as_me: error: cannot compute sizeof (char), 77
13997 See \`config.log' for more details." >&2;}
13998 { (exit 1); exit 1; }; }
14000 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14005 ac_cv_sizeof_char
=0
14008 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14009 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14010 cat >>confdefs.h
<<_ACEOF
14011 #define SIZEOF_CHAR $ac_cv_sizeof_char
14015 echo "$as_me:$LINENO: checking for short" >&5
14016 echo $ECHO_N "checking for short... $ECHO_C" >&6
14017 if test "${ac_cv_type_short+set}" = set; then
14018 echo $ECHO_N "(cached) $ECHO_C" >&6
14020 cat >conftest.
$ac_ext <<_ACEOF
14021 #line $LINENO "configure"
14024 cat confdefs.h
>>conftest.
$ac_ext
14025 cat >>conftest.
$ac_ext <<_ACEOF
14026 /* end confdefs.h. */
14027 $ac_includes_default
14033 if (sizeof (short))
14039 rm -f conftest.
$ac_objext
14040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14041 (eval $ac_compile) 2>&5
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); } &&
14045 { ac_try
='test -s conftest.$ac_objext'
14046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14047 (eval $ac_try) 2>&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); }; }; then
14051 ac_cv_type_short
=yes
14053 echo "$as_me: failed program was:" >&5
14054 sed 's/^/| /' conftest.
$ac_ext >&5
14056 ac_cv_type_short
=no
14058 rm -f conftest.
$ac_objext conftest.
$ac_ext
14060 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14061 echo "${ECHO_T}$ac_cv_type_short" >&6
14063 echo "$as_me:$LINENO: checking size of short" >&5
14064 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14065 if test "${ac_cv_sizeof_short+set}" = set; then
14066 echo $ECHO_N "(cached) $ECHO_C" >&6
14068 if test "$ac_cv_type_short" = yes; then
14069 # The cast to unsigned long works around a bug in the HP C Compiler
14070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14072 # This bug is HP SR number 8606223364.
14073 if test "$cross_compiling" = yes; then
14074 # Depending upon the size, compute the lo and hi bounds.
14075 cat >conftest.
$ac_ext <<_ACEOF
14076 #line $LINENO "configure"
14079 cat confdefs.h
>>conftest.
$ac_ext
14080 cat >>conftest.
$ac_ext <<_ACEOF
14081 /* end confdefs.h. */
14082 $ac_includes_default
14086 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14093 rm -f conftest.
$ac_objext
14094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14095 (eval $ac_compile) 2>&5
14097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14098 (exit $ac_status); } &&
14099 { ac_try
='test -s conftest.$ac_objext'
14100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14101 (eval $ac_try) 2>&5
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); }; }; then
14107 cat >conftest.
$ac_ext <<_ACEOF
14108 #line $LINENO "configure"
14111 cat confdefs.h
>>conftest.
$ac_ext
14112 cat >>conftest.
$ac_ext <<_ACEOF
14113 /* end confdefs.h. */
14114 $ac_includes_default
14118 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14125 rm -f conftest.
$ac_objext
14126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14127 (eval $ac_compile) 2>&5
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); } &&
14131 { ac_try
='test -s conftest.$ac_objext'
14132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14133 (eval $ac_try) 2>&5
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); }; }; then
14137 ac_hi
=$ac_mid; break
14139 echo "$as_me: failed program was:" >&5
14140 sed 's/^/| /' conftest.
$ac_ext >&5
14142 ac_lo
=`expr $ac_mid + 1`
14143 if test $ac_lo -le $ac_mid; then
14147 ac_mid
=`expr 2 '*' $ac_mid + 1`
14149 rm -f conftest.
$ac_objext conftest.
$ac_ext
14152 echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.
$ac_ext >&5
14155 cat >conftest.
$ac_ext <<_ACEOF
14156 #line $LINENO "configure"
14159 cat confdefs.h
>>conftest.
$ac_ext
14160 cat >>conftest.
$ac_ext <<_ACEOF
14161 /* end confdefs.h. */
14162 $ac_includes_default
14166 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14173 rm -f conftest.
$ac_objext
14174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14175 (eval $ac_compile) 2>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } &&
14179 { ac_try
='test -s conftest.$ac_objext'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; }; then
14187 cat >conftest.
$ac_ext <<_ACEOF
14188 #line $LINENO "configure"
14191 cat confdefs.h
>>conftest.
$ac_ext
14192 cat >>conftest.
$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14194 $ac_includes_default
14198 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14205 rm -f conftest.
$ac_objext
14206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14207 (eval $ac_compile) 2>&5
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); } &&
14211 { ac_try
='test -s conftest.$ac_objext'
14212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14213 (eval $ac_try) 2>&5
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); }; }; then
14217 ac_lo
=$ac_mid; break
14219 echo "$as_me: failed program was:" >&5
14220 sed 's/^/| /' conftest.
$ac_ext >&5
14222 ac_hi
=`expr '(' $ac_mid ')' - 1`
14223 if test $ac_mid -le $ac_hi; then
14227 ac_mid
=`expr 2 '*' $ac_mid`
14229 rm -f conftest.
$ac_objext conftest.
$ac_ext
14232 echo "$as_me: failed program was:" >&5
14233 sed 's/^/| /' conftest.
$ac_ext >&5
14237 rm -f conftest.
$ac_objext conftest.
$ac_ext
14239 rm -f conftest.
$ac_objext conftest.
$ac_ext
14240 # Binary search between lo and hi bounds.
14241 while test "x$ac_lo" != "x$ac_hi"; do
14242 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14243 cat >conftest.
$ac_ext <<_ACEOF
14244 #line $LINENO "configure"
14247 cat confdefs.h
>>conftest.
$ac_ext
14248 cat >>conftest.
$ac_ext <<_ACEOF
14249 /* end confdefs.h. */
14250 $ac_includes_default
14254 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14261 rm -f conftest.
$ac_objext
14262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14263 (eval $ac_compile) 2>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try
='test -s conftest.$ac_objext'
14268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14269 (eval $ac_try) 2>&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; }; then
14275 echo "$as_me: failed program was:" >&5
14276 sed 's/^/| /' conftest.
$ac_ext >&5
14278 ac_lo
=`expr '(' $ac_mid ')' + 1`
14280 rm -f conftest.
$ac_objext conftest.
$ac_ext
14283 ?
*) ac_cv_sizeof_short
=$ac_lo;;
14284 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14285 See \`config.log' for more details." >&5
14286 echo "$as_me: error: cannot compute sizeof (short), 77
14287 See \`config.log' for more details." >&2;}
14288 { (exit 1); exit 1; }; } ;;
14291 if test "$cross_compiling" = yes; then
14292 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14293 See \`config.log' for more details." >&5
14294 echo "$as_me: error: cannot run test program while cross compiling
14295 See \`config.log' for more details." >&2;}
14296 { (exit 1); exit 1; }; }
14298 cat >conftest.
$ac_ext <<_ACEOF
14299 #line $LINENO "configure"
14302 cat confdefs.h
>>conftest.
$ac_ext
14303 cat >>conftest.
$ac_ext <<_ACEOF
14304 /* end confdefs.h. */
14305 $ac_includes_default
14306 long longval () { return (long) (sizeof (short)); }
14307 unsigned long ulongval () { return (long) (sizeof (short)); }
14309 #include <stdlib.h>
14314 FILE *f = fopen ("conftest.val", "w");
14317 if (((long) (sizeof (short))) < 0)
14319 long i = longval ();
14320 if (i != ((long) (sizeof (short))))
14322 fprintf (f, "%ld\n", i);
14326 unsigned long i = ulongval ();
14327 if (i != ((long) (sizeof (short))))
14329 fprintf (f, "%lu\n", i);
14331 exit (ferror (f) || fclose (f) != 0);
14337 rm -f conftest
$ac_exeext
14338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14339 (eval $ac_link) 2>&5
14341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14344 (eval $ac_try) 2>&5
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); }; }; then
14348 ac_cv_sizeof_short
=`cat conftest.val`
14350 echo "$as_me: program exited with status $ac_status" >&5
14351 echo "$as_me: failed program was:" >&5
14352 sed 's/^/| /' conftest.
$ac_ext >&5
14354 ( exit $ac_status )
14355 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14356 See \`config.log' for more details." >&5
14357 echo "$as_me: error: cannot compute sizeof (short), 77
14358 See \`config.log' for more details." >&2;}
14359 { (exit 1); exit 1; }; }
14361 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14366 ac_cv_sizeof_short
=0
14369 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14370 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14371 cat >>confdefs.h
<<_ACEOF
14372 #define SIZEOF_SHORT $ac_cv_sizeof_short
14376 echo "$as_me:$LINENO: checking for void *" >&5
14377 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14378 if test "${ac_cv_type_void_p+set}" = set; then
14379 echo $ECHO_N "(cached) $ECHO_C" >&6
14381 cat >conftest.
$ac_ext <<_ACEOF
14382 #line $LINENO "configure"
14385 cat confdefs.h
>>conftest.
$ac_ext
14386 cat >>conftest.
$ac_ext <<_ACEOF
14387 /* end confdefs.h. */
14388 $ac_includes_default
14394 if (sizeof (void *))
14400 rm -f conftest.
$ac_objext
14401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14402 (eval $ac_compile) 2>&5
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); } &&
14406 { ac_try
='test -s conftest.$ac_objext'
14407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14408 (eval $ac_try) 2>&5
14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 (exit $ac_status); }; }; then
14412 ac_cv_type_void_p
=yes
14414 echo "$as_me: failed program was:" >&5
14415 sed 's/^/| /' conftest.
$ac_ext >&5
14417 ac_cv_type_void_p
=no
14419 rm -f conftest.
$ac_objext conftest.
$ac_ext
14421 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14422 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14424 echo "$as_me:$LINENO: checking size of void *" >&5
14425 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14426 if test "${ac_cv_sizeof_void_p+set}" = set; then
14427 echo $ECHO_N "(cached) $ECHO_C" >&6
14429 if test "$ac_cv_type_void_p" = yes; then
14430 # The cast to unsigned long works around a bug in the HP C Compiler
14431 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14432 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14433 # This bug is HP SR number 8606223364.
14434 if test "$cross_compiling" = yes; then
14435 # Depending upon the size, compute the lo and hi bounds.
14436 cat >conftest.
$ac_ext <<_ACEOF
14437 #line $LINENO "configure"
14440 cat confdefs.h
>>conftest.
$ac_ext
14441 cat >>conftest.
$ac_ext <<_ACEOF
14442 /* end confdefs.h. */
14443 $ac_includes_default
14447 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14454 rm -f conftest.
$ac_objext
14455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14456 (eval $ac_compile) 2>&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); } &&
14460 { ac_try
='test -s conftest.$ac_objext'
14461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14462 (eval $ac_try) 2>&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); }; }; then
14468 cat >conftest.
$ac_ext <<_ACEOF
14469 #line $LINENO "configure"
14472 cat confdefs.h
>>conftest.
$ac_ext
14473 cat >>conftest.
$ac_ext <<_ACEOF
14474 /* end confdefs.h. */
14475 $ac_includes_default
14479 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14486 rm -f conftest.
$ac_objext
14487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14488 (eval $ac_compile) 2>&5
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); } &&
14492 { ac_try
='test -s conftest.$ac_objext'
14493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14494 (eval $ac_try) 2>&5
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); }; }; then
14498 ac_hi
=$ac_mid; break
14500 echo "$as_me: failed program was:" >&5
14501 sed 's/^/| /' conftest.
$ac_ext >&5
14503 ac_lo
=`expr $ac_mid + 1`
14504 if test $ac_lo -le $ac_mid; then
14508 ac_mid
=`expr 2 '*' $ac_mid + 1`
14510 rm -f conftest.
$ac_objext conftest.
$ac_ext
14513 echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.
$ac_ext >&5
14516 cat >conftest.
$ac_ext <<_ACEOF
14517 #line $LINENO "configure"
14520 cat confdefs.h
>>conftest.
$ac_ext
14521 cat >>conftest.
$ac_ext <<_ACEOF
14522 /* end confdefs.h. */
14523 $ac_includes_default
14527 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14534 rm -f conftest.
$ac_objext
14535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14536 (eval $ac_compile) 2>&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); } &&
14540 { ac_try
='test -s conftest.$ac_objext'
14541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14542 (eval $ac_try) 2>&5
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; }; then
14548 cat >conftest.
$ac_ext <<_ACEOF
14549 #line $LINENO "configure"
14552 cat confdefs.h
>>conftest.
$ac_ext
14553 cat >>conftest.
$ac_ext <<_ACEOF
14554 /* end confdefs.h. */
14555 $ac_includes_default
14559 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14566 rm -f conftest.
$ac_objext
14567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14568 (eval $ac_compile) 2>&5
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); } &&
14572 { ac_try
='test -s conftest.$ac_objext'
14573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14574 (eval $ac_try) 2>&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); }; }; then
14578 ac_lo
=$ac_mid; break
14580 echo "$as_me: failed program was:" >&5
14581 sed 's/^/| /' conftest.
$ac_ext >&5
14583 ac_hi
=`expr '(' $ac_mid ')' - 1`
14584 if test $ac_mid -le $ac_hi; then
14588 ac_mid
=`expr 2 '*' $ac_mid`
14590 rm -f conftest.
$ac_objext conftest.
$ac_ext
14593 echo "$as_me: failed program was:" >&5
14594 sed 's/^/| /' conftest.
$ac_ext >&5
14598 rm -f conftest.
$ac_objext conftest.
$ac_ext
14600 rm -f conftest.
$ac_objext conftest.
$ac_ext
14601 # Binary search between lo and hi bounds.
14602 while test "x$ac_lo" != "x$ac_hi"; do
14603 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14604 cat >conftest.
$ac_ext <<_ACEOF
14605 #line $LINENO "configure"
14608 cat confdefs.h
>>conftest.
$ac_ext
14609 cat >>conftest.
$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14611 $ac_includes_default
14615 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14622 rm -f conftest.
$ac_objext
14623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14624 (eval $ac_compile) 2>&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); } &&
14628 { ac_try
='test -s conftest.$ac_objext'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; }; then
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.
$ac_ext >&5
14639 ac_lo
=`expr '(' $ac_mid ')' + 1`
14641 rm -f conftest.
$ac_objext conftest.
$ac_ext
14644 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
14645 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14646 See \`config.log' for more details." >&5
14647 echo "$as_me: error: cannot compute sizeof (void *), 77
14648 See \`config.log' for more details." >&2;}
14649 { (exit 1); exit 1; }; } ;;
14652 if test "$cross_compiling" = yes; then
14653 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14654 See \`config.log' for more details." >&5
14655 echo "$as_me: error: cannot run test program while cross compiling
14656 See \`config.log' for more details." >&2;}
14657 { (exit 1); exit 1; }; }
14659 cat >conftest.
$ac_ext <<_ACEOF
14660 #line $LINENO "configure"
14663 cat confdefs.h
>>conftest.
$ac_ext
14664 cat >>conftest.
$ac_ext <<_ACEOF
14665 /* end confdefs.h. */
14666 $ac_includes_default
14667 long longval () { return (long) (sizeof (void *)); }
14668 unsigned long ulongval () { return (long) (sizeof (void *)); }
14670 #include <stdlib.h>
14675 FILE *f = fopen ("conftest.val", "w");
14678 if (((long) (sizeof (void *))) < 0)
14680 long i = longval ();
14681 if (i != ((long) (sizeof (void *))))
14683 fprintf (f, "%ld\n", i);
14687 unsigned long i = ulongval ();
14688 if (i != ((long) (sizeof (void *))))
14690 fprintf (f, "%lu\n", i);
14692 exit (ferror (f) || fclose (f) != 0);
14698 rm -f conftest
$ac_exeext
14699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14700 (eval $ac_link) 2>&5
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14705 (eval $ac_try) 2>&5
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); }; }; then
14709 ac_cv_sizeof_void_p
=`cat conftest.val`
14711 echo "$as_me: program exited with status $ac_status" >&5
14712 echo "$as_me: failed program was:" >&5
14713 sed 's/^/| /' conftest.
$ac_ext >&5
14715 ( exit $ac_status )
14716 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14717 See \`config.log' for more details." >&5
14718 echo "$as_me: error: cannot compute sizeof (void *), 77
14719 See \`config.log' for more details." >&2;}
14720 { (exit 1); exit 1; }; }
14722 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14727 ac_cv_sizeof_void_p
=0
14730 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14731 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14732 cat >>confdefs.h
<<_ACEOF
14733 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14737 echo "$as_me:$LINENO: checking for int" >&5
14738 echo $ECHO_N "checking for int... $ECHO_C" >&6
14739 if test "${ac_cv_type_int+set}" = set; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14742 cat >conftest.
$ac_ext <<_ACEOF
14743 #line $LINENO "configure"
14746 cat confdefs.h
>>conftest.
$ac_ext
14747 cat >>conftest.
$ac_ext <<_ACEOF
14748 /* end confdefs.h. */
14749 $ac_includes_default
14761 rm -f conftest.
$ac_objext
14762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14763 (eval $ac_compile) 2>&5
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); } &&
14767 { ac_try
='test -s conftest.$ac_objext'
14768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14769 (eval $ac_try) 2>&5
14771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 (exit $ac_status); }; }; then
14775 echo "$as_me: failed program was:" >&5
14776 sed 's/^/| /' conftest.
$ac_ext >&5
14780 rm -f conftest.
$ac_objext conftest.
$ac_ext
14782 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14783 echo "${ECHO_T}$ac_cv_type_int" >&6
14785 echo "$as_me:$LINENO: checking size of int" >&5
14786 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14787 if test "${ac_cv_sizeof_int+set}" = set; then
14788 echo $ECHO_N "(cached) $ECHO_C" >&6
14790 if test "$ac_cv_type_int" = yes; then
14791 # The cast to unsigned long works around a bug in the HP C Compiler
14792 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14793 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14794 # This bug is HP SR number 8606223364.
14795 if test "$cross_compiling" = yes; then
14796 # Depending upon the size, compute the lo and hi bounds.
14797 cat >conftest.
$ac_ext <<_ACEOF
14798 #line $LINENO "configure"
14801 cat confdefs.h
>>conftest.
$ac_ext
14802 cat >>conftest.
$ac_ext <<_ACEOF
14803 /* end confdefs.h. */
14804 $ac_includes_default
14808 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14815 rm -f conftest.
$ac_objext
14816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14817 (eval $ac_compile) 2>&5
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); } &&
14821 { ac_try
='test -s conftest.$ac_objext'
14822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14823 (eval $ac_try) 2>&5
14825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); }; }; then
14829 cat >conftest.
$ac_ext <<_ACEOF
14830 #line $LINENO "configure"
14833 cat confdefs.h
>>conftest.
$ac_ext
14834 cat >>conftest.
$ac_ext <<_ACEOF
14835 /* end confdefs.h. */
14836 $ac_includes_default
14840 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14847 rm -f conftest.
$ac_objext
14848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14849 (eval $ac_compile) 2>&5
14851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14852 (exit $ac_status); } &&
14853 { ac_try
='test -s conftest.$ac_objext'
14854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14855 (eval $ac_try) 2>&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; }; then
14859 ac_hi
=$ac_mid; break
14861 echo "$as_me: failed program was:" >&5
14862 sed 's/^/| /' conftest.
$ac_ext >&5
14864 ac_lo
=`expr $ac_mid + 1`
14865 if test $ac_lo -le $ac_mid; then
14869 ac_mid
=`expr 2 '*' $ac_mid + 1`
14871 rm -f conftest.
$ac_objext conftest.
$ac_ext
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.
$ac_ext >&5
14877 cat >conftest.
$ac_ext <<_ACEOF
14878 #line $LINENO "configure"
14881 cat confdefs.h
>>conftest.
$ac_ext
14882 cat >>conftest.
$ac_ext <<_ACEOF
14883 /* end confdefs.h. */
14884 $ac_includes_default
14888 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14895 rm -f conftest.
$ac_objext
14896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14897 (eval $ac_compile) 2>&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); } &&
14901 { ac_try
='test -s conftest.$ac_objext'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; }; then
14909 cat >conftest.
$ac_ext <<_ACEOF
14910 #line $LINENO "configure"
14913 cat confdefs.h
>>conftest.
$ac_ext
14914 cat >>conftest.
$ac_ext <<_ACEOF
14915 /* end confdefs.h. */
14916 $ac_includes_default
14920 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14927 rm -f conftest.
$ac_objext
14928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14929 (eval $ac_compile) 2>&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); } &&
14933 { ac_try
='test -s conftest.$ac_objext'
14934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14935 (eval $ac_try) 2>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); }; }; then
14939 ac_lo
=$ac_mid; break
14941 echo "$as_me: failed program was:" >&5
14942 sed 's/^/| /' conftest.
$ac_ext >&5
14944 ac_hi
=`expr '(' $ac_mid ')' - 1`
14945 if test $ac_mid -le $ac_hi; then
14949 ac_mid
=`expr 2 '*' $ac_mid`
14951 rm -f conftest.
$ac_objext conftest.
$ac_ext
14954 echo "$as_me: failed program was:" >&5
14955 sed 's/^/| /' conftest.
$ac_ext >&5
14959 rm -f conftest.
$ac_objext conftest.
$ac_ext
14961 rm -f conftest.
$ac_objext conftest.
$ac_ext
14962 # Binary search between lo and hi bounds.
14963 while test "x$ac_lo" != "x$ac_hi"; do
14964 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14965 cat >conftest.
$ac_ext <<_ACEOF
14966 #line $LINENO "configure"
14969 cat confdefs.h
>>conftest.
$ac_ext
14970 cat >>conftest.
$ac_ext <<_ACEOF
14971 /* end confdefs.h. */
14972 $ac_includes_default
14976 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14983 rm -f conftest.
$ac_objext
14984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14985 (eval $ac_compile) 2>&5
14987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14988 (exit $ac_status); } &&
14989 { ac_try
='test -s conftest.$ac_objext'
14990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14991 (eval $ac_try) 2>&5
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); }; }; then
14997 echo "$as_me: failed program was:" >&5
14998 sed 's/^/| /' conftest.
$ac_ext >&5
15000 ac_lo
=`expr '(' $ac_mid ')' + 1`
15002 rm -f conftest.
$ac_objext conftest.
$ac_ext
15005 ?
*) ac_cv_sizeof_int
=$ac_lo;;
15006 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15007 See \`config.log' for more details." >&5
15008 echo "$as_me: error: cannot compute sizeof (int), 77
15009 See \`config.log' for more details." >&2;}
15010 { (exit 1); exit 1; }; } ;;
15013 if test "$cross_compiling" = yes; then
15014 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15015 See \`config.log' for more details." >&5
15016 echo "$as_me: error: cannot run test program while cross compiling
15017 See \`config.log' for more details." >&2;}
15018 { (exit 1); exit 1; }; }
15020 cat >conftest.
$ac_ext <<_ACEOF
15021 #line $LINENO "configure"
15024 cat confdefs.h
>>conftest.
$ac_ext
15025 cat >>conftest.
$ac_ext <<_ACEOF
15026 /* end confdefs.h. */
15027 $ac_includes_default
15028 long longval () { return (long) (sizeof (int)); }
15029 unsigned long ulongval () { return (long) (sizeof (int)); }
15031 #include <stdlib.h>
15036 FILE *f = fopen ("conftest.val", "w");
15039 if (((long) (sizeof (int))) < 0)
15041 long i = longval ();
15042 if (i != ((long) (sizeof (int))))
15044 fprintf (f, "%ld\n", i);
15048 unsigned long i = ulongval ();
15049 if (i != ((long) (sizeof (int))))
15051 fprintf (f, "%lu\n", i);
15053 exit (ferror (f) || fclose (f) != 0);
15059 rm -f conftest
$ac_exeext
15060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15061 (eval $ac_link) 2>&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066 (eval $ac_try) 2>&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; }; then
15070 ac_cv_sizeof_int
=`cat conftest.val`
15072 echo "$as_me: program exited with status $ac_status" >&5
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.
$ac_ext >&5
15076 ( exit $ac_status )
15077 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15078 See \`config.log' for more details." >&5
15079 echo "$as_me: error: cannot compute sizeof (int), 77
15080 See \`config.log' for more details." >&2;}
15081 { (exit 1); exit 1; }; }
15083 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15091 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15092 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15093 cat >>confdefs.h
<<_ACEOF
15094 #define SIZEOF_INT $ac_cv_sizeof_int
15098 echo "$as_me:$LINENO: checking for long" >&5
15099 echo $ECHO_N "checking for long... $ECHO_C" >&6
15100 if test "${ac_cv_type_long+set}" = set; then
15101 echo $ECHO_N "(cached) $ECHO_C" >&6
15103 cat >conftest.
$ac_ext <<_ACEOF
15104 #line $LINENO "configure"
15107 cat confdefs.h
>>conftest.
$ac_ext
15108 cat >>conftest.
$ac_ext <<_ACEOF
15109 /* end confdefs.h. */
15110 $ac_includes_default
15122 rm -f conftest.
$ac_objext
15123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15124 (eval $ac_compile) 2>&5
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); } &&
15128 { ac_try
='test -s conftest.$ac_objext'
15129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15130 (eval $ac_try) 2>&5
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); }; }; then
15134 ac_cv_type_long
=yes
15136 echo "$as_me: failed program was:" >&5
15137 sed 's/^/| /' conftest.
$ac_ext >&5
15141 rm -f conftest.
$ac_objext conftest.
$ac_ext
15143 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15144 echo "${ECHO_T}$ac_cv_type_long" >&6
15146 echo "$as_me:$LINENO: checking size of long" >&5
15147 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15148 if test "${ac_cv_sizeof_long+set}" = set; then
15149 echo $ECHO_N "(cached) $ECHO_C" >&6
15151 if test "$ac_cv_type_long" = yes; then
15152 # The cast to unsigned long works around a bug in the HP C Compiler
15153 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15154 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15155 # This bug is HP SR number 8606223364.
15156 if test "$cross_compiling" = yes; then
15157 # Depending upon the size, compute the lo and hi bounds.
15158 cat >conftest.
$ac_ext <<_ACEOF
15159 #line $LINENO "configure"
15162 cat confdefs.h
>>conftest.
$ac_ext
15163 cat >>conftest.
$ac_ext <<_ACEOF
15164 /* end confdefs.h. */
15165 $ac_includes_default
15169 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15176 rm -f conftest.
$ac_objext
15177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15178 (eval $ac_compile) 2>&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } &&
15182 { ac_try
='test -s conftest.$ac_objext'
15183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15184 (eval $ac_try) 2>&5
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); }; }; then
15190 cat >conftest.
$ac_ext <<_ACEOF
15191 #line $LINENO "configure"
15194 cat confdefs.h
>>conftest.
$ac_ext
15195 cat >>conftest.
$ac_ext <<_ACEOF
15196 /* end confdefs.h. */
15197 $ac_includes_default
15201 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15208 rm -f conftest.
$ac_objext
15209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15210 (eval $ac_compile) 2>&5
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); } &&
15214 { ac_try
='test -s conftest.$ac_objext'
15215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15216 (eval $ac_try) 2>&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); }; }; then
15220 ac_hi
=$ac_mid; break
15222 echo "$as_me: failed program was:" >&5
15223 sed 's/^/| /' conftest.
$ac_ext >&5
15225 ac_lo
=`expr $ac_mid + 1`
15226 if test $ac_lo -le $ac_mid; then
15230 ac_mid
=`expr 2 '*' $ac_mid + 1`
15232 rm -f conftest.
$ac_objext conftest.
$ac_ext
15235 echo "$as_me: failed program was:" >&5
15236 sed 's/^/| /' conftest.
$ac_ext >&5
15238 cat >conftest.
$ac_ext <<_ACEOF
15239 #line $LINENO "configure"
15242 cat confdefs.h
>>conftest.
$ac_ext
15243 cat >>conftest.
$ac_ext <<_ACEOF
15244 /* end confdefs.h. */
15245 $ac_includes_default
15249 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15256 rm -f conftest.
$ac_objext
15257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15258 (eval $ac_compile) 2>&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); } &&
15262 { ac_try
='test -s conftest.$ac_objext'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15270 cat >conftest.
$ac_ext <<_ACEOF
15271 #line $LINENO "configure"
15274 cat confdefs.h
>>conftest.
$ac_ext
15275 cat >>conftest.
$ac_ext <<_ACEOF
15276 /* end confdefs.h. */
15277 $ac_includes_default
15281 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15288 rm -f conftest.
$ac_objext
15289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15290 (eval $ac_compile) 2>&5
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); } &&
15294 { ac_try
='test -s conftest.$ac_objext'
15295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15296 (eval $ac_try) 2>&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); }; }; then
15300 ac_lo
=$ac_mid; break
15302 echo "$as_me: failed program was:" >&5
15303 sed 's/^/| /' conftest.
$ac_ext >&5
15305 ac_hi
=`expr '(' $ac_mid ')' - 1`
15306 if test $ac_mid -le $ac_hi; then
15310 ac_mid
=`expr 2 '*' $ac_mid`
15312 rm -f conftest.
$ac_objext conftest.
$ac_ext
15315 echo "$as_me: failed program was:" >&5
15316 sed 's/^/| /' conftest.
$ac_ext >&5
15320 rm -f conftest.
$ac_objext conftest.
$ac_ext
15322 rm -f conftest.
$ac_objext conftest.
$ac_ext
15323 # Binary search between lo and hi bounds.
15324 while test "x$ac_lo" != "x$ac_hi"; do
15325 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15326 cat >conftest.
$ac_ext <<_ACEOF
15327 #line $LINENO "configure"
15330 cat confdefs.h
>>conftest.
$ac_ext
15331 cat >>conftest.
$ac_ext <<_ACEOF
15332 /* end confdefs.h. */
15333 $ac_includes_default
15337 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15344 rm -f conftest.
$ac_objext
15345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15346 (eval $ac_compile) 2>&5
15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349 (exit $ac_status); } &&
15350 { ac_try
='test -s conftest.$ac_objext'
15351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15352 (eval $ac_try) 2>&5
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); }; }; then
15358 echo "$as_me: failed program was:" >&5
15359 sed 's/^/| /' conftest.
$ac_ext >&5
15361 ac_lo
=`expr '(' $ac_mid ')' + 1`
15363 rm -f conftest.
$ac_objext conftest.
$ac_ext
15366 ?
*) ac_cv_sizeof_long
=$ac_lo;;
15367 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15368 See \`config.log' for more details." >&5
15369 echo "$as_me: error: cannot compute sizeof (long), 77
15370 See \`config.log' for more details." >&2;}
15371 { (exit 1); exit 1; }; } ;;
15374 if test "$cross_compiling" = yes; then
15375 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15376 See \`config.log' for more details." >&5
15377 echo "$as_me: error: cannot run test program while cross compiling
15378 See \`config.log' for more details." >&2;}
15379 { (exit 1); exit 1; }; }
15381 cat >conftest.
$ac_ext <<_ACEOF
15382 #line $LINENO "configure"
15385 cat confdefs.h
>>conftest.
$ac_ext
15386 cat >>conftest.
$ac_ext <<_ACEOF
15387 /* end confdefs.h. */
15388 $ac_includes_default
15389 long longval () { return (long) (sizeof (long)); }
15390 unsigned long ulongval () { return (long) (sizeof (long)); }
15392 #include <stdlib.h>
15397 FILE *f = fopen ("conftest.val", "w");
15400 if (((long) (sizeof (long))) < 0)
15402 long i = longval ();
15403 if (i != ((long) (sizeof (long))))
15405 fprintf (f, "%ld\n", i);
15409 unsigned long i = ulongval ();
15410 if (i != ((long) (sizeof (long))))
15412 fprintf (f, "%lu\n", i);
15414 exit (ferror (f) || fclose (f) != 0);
15420 rm -f conftest
$ac_exeext
15421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15422 (eval $ac_link) 2>&5
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15427 (eval $ac_try) 2>&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); }; }; then
15431 ac_cv_sizeof_long
=`cat conftest.val`
15433 echo "$as_me: program exited with status $ac_status" >&5
15434 echo "$as_me: failed program was:" >&5
15435 sed 's/^/| /' conftest.
$ac_ext >&5
15437 ( exit $ac_status )
15438 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15439 See \`config.log' for more details." >&5
15440 echo "$as_me: error: cannot compute sizeof (long), 77
15441 See \`config.log' for more details." >&2;}
15442 { (exit 1); exit 1; }; }
15444 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15449 ac_cv_sizeof_long
=0
15452 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15453 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15454 cat >>confdefs.h
<<_ACEOF
15455 #define SIZEOF_LONG $ac_cv_sizeof_long
15462 echo "$as_me:$LINENO: checking for long long" >&5
15463 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15464 if test "${ac_cv_type_long_long+set}" = set; then
15465 echo $ECHO_N "(cached) $ECHO_C" >&6
15467 cat >conftest.
$ac_ext <<_ACEOF
15468 #line $LINENO "configure"
15471 cat confdefs.h
>>conftest.
$ac_ext
15472 cat >>conftest.
$ac_ext <<_ACEOF
15473 /* end confdefs.h. */
15474 $ac_includes_default
15478 if ((long long *) 0)
15480 if (sizeof (long long))
15486 rm -f conftest.
$ac_objext
15487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15488 (eval $ac_compile) 2>&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); } &&
15492 { ac_try
='test -s conftest.$ac_objext'
15493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15494 (eval $ac_try) 2>&5
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; }; then
15498 ac_cv_type_long_long
=yes
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.
$ac_ext >&5
15503 ac_cv_type_long_long
=no
15505 rm -f conftest.
$ac_objext conftest.
$ac_ext
15507 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15508 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15510 echo "$as_me:$LINENO: checking size of long long" >&5
15511 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15512 if test "${ac_cv_sizeof_long_long+set}" = set; then
15513 echo $ECHO_N "(cached) $ECHO_C" >&6
15515 if test "$ac_cv_type_long_long" = yes; then
15516 # The cast to unsigned long works around a bug in the HP C Compiler
15517 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15518 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15519 # This bug is HP SR number 8606223364.
15520 if test "$cross_compiling" = yes; then
15521 # Depending upon the size, compute the lo and hi bounds.
15522 cat >conftest.
$ac_ext <<_ACEOF
15523 #line $LINENO "configure"
15526 cat confdefs.h
>>conftest.
$ac_ext
15527 cat >>conftest.
$ac_ext <<_ACEOF
15528 /* end confdefs.h. */
15529 $ac_includes_default
15533 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15540 rm -f conftest.
$ac_objext
15541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15542 (eval $ac_compile) 2>&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); } &&
15546 { ac_try
='test -s conftest.$ac_objext'
15547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15548 (eval $ac_try) 2>&5
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); }; }; then
15554 cat >conftest.
$ac_ext <<_ACEOF
15555 #line $LINENO "configure"
15558 cat confdefs.h
>>conftest.
$ac_ext
15559 cat >>conftest.
$ac_ext <<_ACEOF
15560 /* end confdefs.h. */
15561 $ac_includes_default
15565 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15572 rm -f conftest.
$ac_objext
15573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15574 (eval $ac_compile) 2>&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); } &&
15578 { ac_try
='test -s conftest.$ac_objext'
15579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15580 (eval $ac_try) 2>&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); }; }; then
15584 ac_hi
=$ac_mid; break
15586 echo "$as_me: failed program was:" >&5
15587 sed 's/^/| /' conftest.
$ac_ext >&5
15589 ac_lo
=`expr $ac_mid + 1`
15590 if test $ac_lo -le $ac_mid; then
15594 ac_mid
=`expr 2 '*' $ac_mid + 1`
15596 rm -f conftest.
$ac_objext conftest.
$ac_ext
15599 echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.
$ac_ext >&5
15602 cat >conftest.
$ac_ext <<_ACEOF
15603 #line $LINENO "configure"
15606 cat confdefs.h
>>conftest.
$ac_ext
15607 cat >>conftest.
$ac_ext <<_ACEOF
15608 /* end confdefs.h. */
15609 $ac_includes_default
15613 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15620 rm -f conftest.
$ac_objext
15621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15622 (eval $ac_compile) 2>&5
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); } &&
15626 { ac_try
='test -s conftest.$ac_objext'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; }; then
15634 cat >conftest.
$ac_ext <<_ACEOF
15635 #line $LINENO "configure"
15638 cat confdefs.h
>>conftest.
$ac_ext
15639 cat >>conftest.
$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15641 $ac_includes_default
15645 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15652 rm -f conftest.
$ac_objext
15653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15654 (eval $ac_compile) 2>&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); } &&
15658 { ac_try
='test -s conftest.$ac_objext'
15659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15660 (eval $ac_try) 2>&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); }; }; then
15664 ac_lo
=$ac_mid; break
15666 echo "$as_me: failed program was:" >&5
15667 sed 's/^/| /' conftest.
$ac_ext >&5
15669 ac_hi
=`expr '(' $ac_mid ')' - 1`
15670 if test $ac_mid -le $ac_hi; then
15674 ac_mid
=`expr 2 '*' $ac_mid`
15676 rm -f conftest.
$ac_objext conftest.
$ac_ext
15679 echo "$as_me: failed program was:" >&5
15680 sed 's/^/| /' conftest.
$ac_ext >&5
15684 rm -f conftest.
$ac_objext conftest.
$ac_ext
15686 rm -f conftest.
$ac_objext conftest.
$ac_ext
15687 # Binary search between lo and hi bounds.
15688 while test "x$ac_lo" != "x$ac_hi"; do
15689 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15690 cat >conftest.
$ac_ext <<_ACEOF
15691 #line $LINENO "configure"
15694 cat confdefs.h
>>conftest.
$ac_ext
15695 cat >>conftest.
$ac_ext <<_ACEOF
15696 /* end confdefs.h. */
15697 $ac_includes_default
15701 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15708 rm -f conftest.
$ac_objext
15709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15710 (eval $ac_compile) 2>&5
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); } &&
15714 { ac_try
='test -s conftest.$ac_objext'
15715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15716 (eval $ac_try) 2>&5
15718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 (exit $ac_status); }; }; then
15722 echo "$as_me: failed program was:" >&5
15723 sed 's/^/| /' conftest.
$ac_ext >&5
15725 ac_lo
=`expr '(' $ac_mid ')' + 1`
15727 rm -f conftest.
$ac_objext conftest.
$ac_ext
15730 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15731 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15732 See \`config.log' for more details." >&5
15733 echo "$as_me: error: cannot compute sizeof (long long), 77
15734 See \`config.log' for more details." >&2;}
15735 { (exit 1); exit 1; }; } ;;
15738 if test "$cross_compiling" = yes; then
15739 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15740 See \`config.log' for more details." >&5
15741 echo "$as_me: error: cannot run test program while cross compiling
15742 See \`config.log' for more details." >&2;}
15743 { (exit 1); exit 1; }; }
15745 cat >conftest.
$ac_ext <<_ACEOF
15746 #line $LINENO "configure"
15749 cat confdefs.h
>>conftest.
$ac_ext
15750 cat >>conftest.
$ac_ext <<_ACEOF
15751 /* end confdefs.h. */
15752 $ac_includes_default
15753 long longval () { return (long) (sizeof (long long)); }
15754 unsigned long ulongval () { return (long) (sizeof (long long)); }
15756 #include <stdlib.h>
15761 FILE *f = fopen ("conftest.val", "w");
15764 if (((long) (sizeof (long long))) < 0)
15766 long i = longval ();
15767 if (i != ((long) (sizeof (long long))))
15769 fprintf (f, "%ld\n", i);
15773 unsigned long i = ulongval ();
15774 if (i != ((long) (sizeof (long long))))
15776 fprintf (f, "%lu\n", i);
15778 exit (ferror (f) || fclose (f) != 0);
15784 rm -f conftest
$ac_exeext
15785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15786 (eval $ac_link) 2>&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791 (eval $ac_try) 2>&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; }; then
15795 ac_cv_sizeof_long_long
=`cat conftest.val`
15797 echo "$as_me: program exited with status $ac_status" >&5
15798 echo "$as_me: failed program was:" >&5
15799 sed 's/^/| /' conftest.
$ac_ext >&5
15801 ( exit $ac_status )
15802 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15803 See \`config.log' for more details." >&5
15804 echo "$as_me: error: cannot compute sizeof (long long), 77
15805 See \`config.log' for more details." >&2;}
15806 { (exit 1); exit 1; }; }
15808 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15813 ac_cv_sizeof_long_long
=0
15816 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15817 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15818 cat >>confdefs.h
<<_ACEOF
15819 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15825 echo "$as_me:$LINENO: checking for long long" >&5
15826 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15827 if test "${ac_cv_type_long_long+set}" = set; then
15828 echo $ECHO_N "(cached) $ECHO_C" >&6
15830 cat >conftest.
$ac_ext <<_ACEOF
15831 #line $LINENO "configure"
15834 cat confdefs.h
>>conftest.
$ac_ext
15835 cat >>conftest.
$ac_ext <<_ACEOF
15836 /* end confdefs.h. */
15837 $ac_includes_default
15841 if ((long long *) 0)
15843 if (sizeof (long long))
15849 rm -f conftest.
$ac_objext
15850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15851 (eval $ac_compile) 2>&5
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); } &&
15855 { ac_try
='test -s conftest.$ac_objext'
15856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15857 (eval $ac_try) 2>&5
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); }; }; then
15861 ac_cv_type_long_long
=yes
15863 echo "$as_me: failed program was:" >&5
15864 sed 's/^/| /' conftest.
$ac_ext >&5
15866 ac_cv_type_long_long
=no
15868 rm -f conftest.
$ac_objext conftest.
$ac_ext
15870 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15871 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15873 echo "$as_me:$LINENO: checking size of long long" >&5
15874 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15875 if test "${ac_cv_sizeof_long_long+set}" = set; then
15876 echo $ECHO_N "(cached) $ECHO_C" >&6
15878 if test "$ac_cv_type_long_long" = yes; then
15879 # The cast to unsigned long works around a bug in the HP C Compiler
15880 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15881 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15882 # This bug is HP SR number 8606223364.
15883 if test "$cross_compiling" = yes; then
15884 # Depending upon the size, compute the lo and hi bounds.
15885 cat >conftest.
$ac_ext <<_ACEOF
15886 #line $LINENO "configure"
15889 cat confdefs.h
>>conftest.
$ac_ext
15890 cat >>conftest.
$ac_ext <<_ACEOF
15891 /* end confdefs.h. */
15892 $ac_includes_default
15896 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15903 rm -f conftest.
$ac_objext
15904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15905 (eval $ac_compile) 2>&5
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); } &&
15909 { ac_try
='test -s conftest.$ac_objext'
15910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15911 (eval $ac_try) 2>&5
15913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); }; }; then
15917 cat >conftest.
$ac_ext <<_ACEOF
15918 #line $LINENO "configure"
15921 cat confdefs.h
>>conftest.
$ac_ext
15922 cat >>conftest.
$ac_ext <<_ACEOF
15923 /* end confdefs.h. */
15924 $ac_includes_default
15928 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15935 rm -f conftest.
$ac_objext
15936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15937 (eval $ac_compile) 2>&5
15939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940 (exit $ac_status); } &&
15941 { ac_try
='test -s conftest.$ac_objext'
15942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15943 (eval $ac_try) 2>&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); }; }; then
15947 ac_hi
=$ac_mid; break
15949 echo "$as_me: failed program was:" >&5
15950 sed 's/^/| /' conftest.
$ac_ext >&5
15952 ac_lo
=`expr $ac_mid + 1`
15953 if test $ac_lo -le $ac_mid; then
15957 ac_mid
=`expr 2 '*' $ac_mid + 1`
15959 rm -f conftest.
$ac_objext conftest.
$ac_ext
15962 echo "$as_me: failed program was:" >&5
15963 sed 's/^/| /' conftest.
$ac_ext >&5
15965 cat >conftest.
$ac_ext <<_ACEOF
15966 #line $LINENO "configure"
15969 cat confdefs.h
>>conftest.
$ac_ext
15970 cat >>conftest.
$ac_ext <<_ACEOF
15971 /* end confdefs.h. */
15972 $ac_includes_default
15976 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15983 rm -f conftest.
$ac_objext
15984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15985 (eval $ac_compile) 2>&5
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); } &&
15989 { ac_try
='test -s conftest.$ac_objext'
15990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15991 (eval $ac_try) 2>&5
15993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); }; }; then
15997 cat >conftest.
$ac_ext <<_ACEOF
15998 #line $LINENO "configure"
16001 cat confdefs.h
>>conftest.
$ac_ext
16002 cat >>conftest.
$ac_ext <<_ACEOF
16003 /* end confdefs.h. */
16004 $ac_includes_default
16008 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16015 rm -f conftest.
$ac_objext
16016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16017 (eval $ac_compile) 2>&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); } &&
16021 { ac_try
='test -s conftest.$ac_objext'
16022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16023 (eval $ac_try) 2>&5
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); }; }; then
16027 ac_lo
=$ac_mid; break
16029 echo "$as_me: failed program was:" >&5
16030 sed 's/^/| /' conftest.
$ac_ext >&5
16032 ac_hi
=`expr '(' $ac_mid ')' - 1`
16033 if test $ac_mid -le $ac_hi; then
16037 ac_mid
=`expr 2 '*' $ac_mid`
16039 rm -f conftest.
$ac_objext conftest.
$ac_ext
16042 echo "$as_me: failed program was:" >&5
16043 sed 's/^/| /' conftest.
$ac_ext >&5
16047 rm -f conftest.
$ac_objext conftest.
$ac_ext
16049 rm -f conftest.
$ac_objext conftest.
$ac_ext
16050 # Binary search between lo and hi bounds.
16051 while test "x$ac_lo" != "x$ac_hi"; do
16052 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16053 cat >conftest.
$ac_ext <<_ACEOF
16054 #line $LINENO "configure"
16057 cat confdefs.h
>>conftest.
$ac_ext
16058 cat >>conftest.
$ac_ext <<_ACEOF
16059 /* end confdefs.h. */
16060 $ac_includes_default
16064 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16071 rm -f conftest.
$ac_objext
16072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16073 (eval $ac_compile) 2>&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); } &&
16077 { ac_try
='test -s conftest.$ac_objext'
16078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079 (eval $ac_try) 2>&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; }; then
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.
$ac_ext >&5
16088 ac_lo
=`expr '(' $ac_mid ')' + 1`
16090 rm -f conftest.
$ac_objext conftest.
$ac_ext
16093 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16094 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16095 See \`config.log' for more details." >&5
16096 echo "$as_me: error: cannot compute sizeof (long long), 77
16097 See \`config.log' for more details." >&2;}
16098 { (exit 1); exit 1; }; } ;;
16101 if test "$cross_compiling" = yes; then
16102 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16103 See \`config.log' for more details." >&5
16104 echo "$as_me: error: cannot run test program while cross compiling
16105 See \`config.log' for more details." >&2;}
16106 { (exit 1); exit 1; }; }
16108 cat >conftest.
$ac_ext <<_ACEOF
16109 #line $LINENO "configure"
16112 cat confdefs.h
>>conftest.
$ac_ext
16113 cat >>conftest.
$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115 $ac_includes_default
16116 long longval () { return (long) (sizeof (long long)); }
16117 unsigned long ulongval () { return (long) (sizeof (long long)); }
16119 #include <stdlib.h>
16124 FILE *f = fopen ("conftest.val", "w");
16127 if (((long) (sizeof (long long))) < 0)
16129 long i = longval ();
16130 if (i != ((long) (sizeof (long long))))
16132 fprintf (f, "%ld\n", i);
16136 unsigned long i = ulongval ();
16137 if (i != ((long) (sizeof (long long))))
16139 fprintf (f, "%lu\n", i);
16141 exit (ferror (f) || fclose (f) != 0);
16147 rm -f conftest
$ac_exeext
16148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16149 (eval $ac_link) 2>&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16154 (eval $ac_try) 2>&5
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); }; }; then
16158 ac_cv_sizeof_long_long
=`cat conftest.val`
16160 echo "$as_me: program exited with status $ac_status" >&5
16161 echo "$as_me: failed program was:" >&5
16162 sed 's/^/| /' conftest.
$ac_ext >&5
16164 ( exit $ac_status )
16165 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16166 See \`config.log' for more details." >&5
16167 echo "$as_me: error: cannot compute sizeof (long long), 77
16168 See \`config.log' for more details." >&2;}
16169 { (exit 1); exit 1; }; }
16171 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16176 ac_cv_sizeof_long_long
=0
16179 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16180 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16181 cat >>confdefs.h
<<_ACEOF
16182 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16186 if test "$ac_cv_sizeof_long_long" != "0"; then
16187 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
16191 echo "$as_me:$LINENO: checking for long long" >&5
16192 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16193 if test "${ac_cv_type_long_long+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16196 cat >conftest.
$ac_ext <<_ACEOF
16197 #line $LINENO "configure"
16200 cat confdefs.h
>>conftest.
$ac_ext
16201 cat >>conftest.
$ac_ext <<_ACEOF
16202 /* end confdefs.h. */
16203 $ac_includes_default
16207 if ((long long *) 0)
16209 if (sizeof (long long))
16215 rm -f conftest.
$ac_objext
16216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16217 (eval $ac_compile) 2>&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); } &&
16221 { ac_try
='test -s conftest.$ac_objext'
16222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16223 (eval $ac_try) 2>&5
16225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16226 (exit $ac_status); }; }; then
16227 ac_cv_type_long_long
=yes
16229 echo "$as_me: failed program was:" >&5
16230 sed 's/^/| /' conftest.
$ac_ext >&5
16232 ac_cv_type_long_long
=no
16234 rm -f conftest.
$ac_objext conftest.
$ac_ext
16236 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16237 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16239 echo "$as_me:$LINENO: checking size of long long" >&5
16240 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16241 if test "${ac_cv_sizeof_long_long+set}" = set; then
16242 echo $ECHO_N "(cached) $ECHO_C" >&6
16244 if test "$ac_cv_type_long_long" = yes; then
16245 # The cast to unsigned long works around a bug in the HP C Compiler
16246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16248 # This bug is HP SR number 8606223364.
16249 if test "$cross_compiling" = yes; then
16250 # Depending upon the size, compute the lo and hi bounds.
16251 cat >conftest.
$ac_ext <<_ACEOF
16252 #line $LINENO "configure"
16255 cat confdefs.h
>>conftest.
$ac_ext
16256 cat >>conftest.
$ac_ext <<_ACEOF
16257 /* end confdefs.h. */
16258 $ac_includes_default
16262 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16269 rm -f conftest.
$ac_objext
16270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16271 (eval $ac_compile) 2>&5
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); } &&
16275 { ac_try
='test -s conftest.$ac_objext'
16276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16277 (eval $ac_try) 2>&5
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); }; }; then
16283 cat >conftest.
$ac_ext <<_ACEOF
16284 #line $LINENO "configure"
16287 cat confdefs.h
>>conftest.
$ac_ext
16288 cat >>conftest.
$ac_ext <<_ACEOF
16289 /* end confdefs.h. */
16290 $ac_includes_default
16294 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16301 rm -f conftest.
$ac_objext
16302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16303 (eval $ac_compile) 2>&5
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); } &&
16307 { ac_try
='test -s conftest.$ac_objext'
16308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16309 (eval $ac_try) 2>&5
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); }; }; then
16313 ac_hi
=$ac_mid; break
16315 echo "$as_me: failed program was:" >&5
16316 sed 's/^/| /' conftest.
$ac_ext >&5
16318 ac_lo
=`expr $ac_mid + 1`
16319 if test $ac_lo -le $ac_mid; then
16323 ac_mid
=`expr 2 '*' $ac_mid + 1`
16325 rm -f conftest.
$ac_objext conftest.
$ac_ext
16328 echo "$as_me: failed program was:" >&5
16329 sed 's/^/| /' conftest.
$ac_ext >&5
16331 cat >conftest.
$ac_ext <<_ACEOF
16332 #line $LINENO "configure"
16335 cat confdefs.h
>>conftest.
$ac_ext
16336 cat >>conftest.
$ac_ext <<_ACEOF
16337 /* end confdefs.h. */
16338 $ac_includes_default
16342 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16349 rm -f conftest.
$ac_objext
16350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16351 (eval $ac_compile) 2>&5
16353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16354 (exit $ac_status); } &&
16355 { ac_try
='test -s conftest.$ac_objext'
16356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16357 (eval $ac_try) 2>&5
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); }; }; then
16363 cat >conftest.
$ac_ext <<_ACEOF
16364 #line $LINENO "configure"
16367 cat confdefs.h
>>conftest.
$ac_ext
16368 cat >>conftest.
$ac_ext <<_ACEOF
16369 /* end confdefs.h. */
16370 $ac_includes_default
16374 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16381 rm -f conftest.
$ac_objext
16382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16383 (eval $ac_compile) 2>&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } &&
16387 { ac_try
='test -s conftest.$ac_objext'
16388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16389 (eval $ac_try) 2>&5
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); }; }; then
16393 ac_lo
=$ac_mid; break
16395 echo "$as_me: failed program was:" >&5
16396 sed 's/^/| /' conftest.
$ac_ext >&5
16398 ac_hi
=`expr '(' $ac_mid ')' - 1`
16399 if test $ac_mid -le $ac_hi; then
16403 ac_mid
=`expr 2 '*' $ac_mid`
16405 rm -f conftest.
$ac_objext conftest.
$ac_ext
16408 echo "$as_me: failed program was:" >&5
16409 sed 's/^/| /' conftest.
$ac_ext >&5
16413 rm -f conftest.
$ac_objext conftest.
$ac_ext
16415 rm -f conftest.
$ac_objext conftest.
$ac_ext
16416 # Binary search between lo and hi bounds.
16417 while test "x$ac_lo" != "x$ac_hi"; do
16418 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16419 cat >conftest.
$ac_ext <<_ACEOF
16420 #line $LINENO "configure"
16423 cat confdefs.h
>>conftest.
$ac_ext
16424 cat >>conftest.
$ac_ext <<_ACEOF
16425 /* end confdefs.h. */
16426 $ac_includes_default
16430 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16437 rm -f conftest.
$ac_objext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16439 (eval $ac_compile) 2>&5
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); } &&
16443 { ac_try
='test -s conftest.$ac_objext'
16444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16445 (eval $ac_try) 2>&5
16447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16448 (exit $ac_status); }; }; then
16451 echo "$as_me: failed program was:" >&5
16452 sed 's/^/| /' conftest.
$ac_ext >&5
16454 ac_lo
=`expr '(' $ac_mid ')' + 1`
16456 rm -f conftest.
$ac_objext conftest.
$ac_ext
16459 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
16460 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16461 See \`config.log' for more details." >&5
16462 echo "$as_me: error: cannot compute sizeof (long long), 77
16463 See \`config.log' for more details." >&2;}
16464 { (exit 1); exit 1; }; } ;;
16467 if test "$cross_compiling" = yes; then
16468 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16469 See \`config.log' for more details." >&5
16470 echo "$as_me: error: cannot run test program while cross compiling
16471 See \`config.log' for more details." >&2;}
16472 { (exit 1); exit 1; }; }
16474 cat >conftest.
$ac_ext <<_ACEOF
16475 #line $LINENO "configure"
16478 cat confdefs.h
>>conftest.
$ac_ext
16479 cat >>conftest.
$ac_ext <<_ACEOF
16480 /* end confdefs.h. */
16481 $ac_includes_default
16482 long longval () { return (long) (sizeof (long long)); }
16483 unsigned long ulongval () { return (long) (sizeof (long long)); }
16485 #include <stdlib.h>
16490 FILE *f = fopen ("conftest.val", "w");
16493 if (((long) (sizeof (long long))) < 0)
16495 long i = longval ();
16496 if (i != ((long) (sizeof (long long))))
16498 fprintf (f, "%ld\n", i);
16502 unsigned long i = ulongval ();
16503 if (i != ((long) (sizeof (long long))))
16505 fprintf (f, "%lu\n", i);
16507 exit (ferror (f) || fclose (f) != 0);
16513 rm -f conftest
$ac_exeext
16514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16515 (eval $ac_link) 2>&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16520 (eval $ac_try) 2>&5
16522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16523 (exit $ac_status); }; }; then
16524 ac_cv_sizeof_long_long
=`cat conftest.val`
16526 echo "$as_me: program exited with status $ac_status" >&5
16527 echo "$as_me: failed program was:" >&5
16528 sed 's/^/| /' conftest.
$ac_ext >&5
16530 ( exit $ac_status )
16531 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16532 See \`config.log' for more details." >&5
16533 echo "$as_me: error: cannot compute sizeof (long long), 77
16534 See \`config.log' for more details." >&2;}
16535 { (exit 1); exit 1; }; }
16537 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16542 ac_cv_sizeof_long_long
=0
16545 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16546 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16547 cat >>confdefs.h
<<_ACEOF
16548 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16554 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16555 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16556 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16557 echo $ECHO_N "(cached) $ECHO_C" >&6
16560 if test "$cross_compiling" = yes; then
16564 wx_cv_sizeof_wchar_t
=0
16567 wx_cv_sizeof_wchar_t
=4
16573 cat >conftest.
$ac_ext <<_ACEOF
16574 #line $LINENO "configure"
16577 cat confdefs.h
>>conftest.
$ac_ext
16578 cat >>conftest.
$ac_ext <<_ACEOF
16579 /* end confdefs.h. */
16581 /* DJGPP only has fake wchar_t: */
16583 # error "fake wchar_t"
16585 #ifdef HAVE_WCHAR_H
16587 # include <stddef.h>
16589 # include <wchar.h>
16591 #ifdef HAVE_STDLIB_H
16592 # include <stdlib.h>
16597 FILE *f=fopen("conftestval", "w");
16599 fprintf(f, "%i", sizeof(wchar_t));
16604 rm -f conftest
$ac_exeext
16605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16606 (eval $ac_link) 2>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; }; then
16615 wx_cv_sizeof_wchar_t
=`cat conftestval`
16617 echo "$as_me: program exited with status $ac_status" >&5
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.
$ac_ext >&5
16621 ( exit $ac_status )
16622 wx_cv_sizeof_wchar_t
=0
16624 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16628 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16629 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16631 cat >>confdefs.h
<<_ACEOF
16632 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16636 # Check whether --enable-largefile or --disable-largefile was given.
16637 if test "${enable_largefile+set}" = set; then
16638 enableval
="$enable_largefile"
16641 if test "$enable_largefile" != no
; then
16644 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16645 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16646 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16647 echo $ECHO_N "(cached) $ECHO_C" >&6
16650 cat >conftest.
$ac_ext <<_ACEOF
16651 #line $LINENO "configure"
16654 cat confdefs.h
>>conftest.
$ac_ext
16655 cat >>conftest.
$ac_ext <<_ACEOF
16656 /* end confdefs.h. */
16657 #define _FILE_OFFSET_BITS 64
16658 #include <sys/types.h>
16663 unsigned int field: sizeof(off_t) == 8;
16670 rm -f conftest.
$ac_objext
16671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16672 (eval $ac_compile) 2>&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); } &&
16676 { ac_try
='test -s conftest.$ac_objext'
16677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16678 (eval $ac_try) 2>&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; }; then
16682 ac_cv_sys_file_offset_bits
=64
16684 echo "$as_me: failed program was:" >&5
16685 sed 's/^/| /' conftest.
$ac_ext >&5
16687 ac_cv_sys_file_offset_bits
=no
16689 rm -f conftest.
$ac_objext conftest.
$ac_ext
16693 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16694 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16696 if test "$ac_cv_sys_file_offset_bits" != no
; then
16698 cat >>confdefs.h
<<_ACEOF
16699 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16704 if test "x$wx_largefile" != "xyes"; then
16706 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16707 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16708 if test "${ac_cv_sys_large_files+set}" = set; then
16709 echo $ECHO_N "(cached) $ECHO_C" >&6
16712 cat >conftest.
$ac_ext <<_ACEOF
16713 #line $LINENO "configure"
16716 cat confdefs.h
>>conftest.
$ac_ext
16717 cat >>conftest.
$ac_ext <<_ACEOF
16718 /* end confdefs.h. */
16719 #define _LARGE_FILES 1
16720 #include <sys/types.h>
16725 unsigned int field: sizeof(off_t) == 8;
16732 rm -f conftest.
$ac_objext
16733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16734 (eval $ac_compile) 2>&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } &&
16738 { ac_try
='test -s conftest.$ac_objext'
16739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16740 (eval $ac_try) 2>&5
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); }; }; then
16744 ac_cv_sys_large_files
=1
16746 echo "$as_me: failed program was:" >&5
16747 sed 's/^/| /' conftest.
$ac_ext >&5
16749 ac_cv_sys_large_files
=no
16751 rm -f conftest.
$ac_objext conftest.
$ac_ext
16755 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16756 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16758 if test "$ac_cv_sys_large_files" != no
; then
16760 cat >>confdefs.h
<<_ACEOF
16761 #define _LARGE_FILES $ac_cv_sys_large_files
16768 echo "$as_me:$LINENO: checking if large file support is available" >&5
16769 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16770 if test "x$wx_largefile" = "xyes"; then
16771 cat >>confdefs.h
<<\_ACEOF
16772 #define HAVE_LARGEFILE_SUPPORT 1
16776 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16777 echo "${ECHO_T}$wx_largefile" >&6
16781 if test "x$wx_largefile" = "xyes"; then
16782 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16783 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16785 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
16787 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16790 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16791 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16792 if test "${ac_cv_c_bigendian+set}" = set; then
16793 echo $ECHO_N "(cached) $ECHO_C" >&6
16795 ac_cv_c_bigendian
=unknown
16796 # See if sys/param.h defines the BYTE_ORDER macro.
16797 cat >conftest.
$ac_ext <<_ACEOF
16798 #line $LINENO "configure"
16801 cat confdefs.h
>>conftest.
$ac_ext
16802 cat >>conftest.
$ac_ext <<_ACEOF
16803 /* end confdefs.h. */
16804 #include <sys/types.h>
16805 #include <sys/param.h>
16810 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16811 bogus endian macros
16817 rm -f conftest.
$ac_objext
16818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16819 (eval $ac_compile) 2>&5
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); } &&
16823 { ac_try
='test -s conftest.$ac_objext'
16824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16825 (eval $ac_try) 2>&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); }; }; then
16829 # It does; now see whether it defined to BIG_ENDIAN or not.
16830 cat >conftest.
$ac_ext <<_ACEOF
16831 #line $LINENO "configure"
16834 cat confdefs.h
>>conftest.
$ac_ext
16835 cat >>conftest.
$ac_ext <<_ACEOF
16836 /* end confdefs.h. */
16837 #include <sys/types.h>
16838 #include <sys/param.h>
16843 #if BYTE_ORDER != BIG_ENDIAN
16850 rm -f conftest.
$ac_objext
16851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16852 (eval $ac_compile) 2>&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } &&
16856 { ac_try
='test -s conftest.$ac_objext'
16857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16858 (eval $ac_try) 2>&5
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); }; }; then
16862 ac_cv_c_bigendian
=yes
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.
$ac_ext >&5
16867 ac_cv_c_bigendian
=no
16869 rm -f conftest.
$ac_objext conftest.
$ac_ext
16871 echo "$as_me: failed program was:" >&5
16872 sed 's/^/| /' conftest.
$ac_ext >&5
16875 rm -f conftest.
$ac_objext conftest.
$ac_ext
16876 if test $ac_cv_c_bigendian = unknown
; then
16877 if test "$cross_compiling" = yes; then
16878 ac_cv_c_bigendian
=unknown
16880 cat >conftest.
$ac_ext <<_ACEOF
16881 #line $LINENO "configure"
16884 cat confdefs.h
>>conftest.
$ac_ext
16885 cat >>conftest.
$ac_ext <<_ACEOF
16886 /* end confdefs.h. */
16888 /* Are we little or big endian? From Harbison&Steele. */
16892 char c[sizeof (long)];
16895 exit (u.c[sizeof (long) - 1] == 1);
16898 rm -f conftest
$ac_exeext
16899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16900 (eval $ac_link) 2>&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16905 (eval $ac_try) 2>&5
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); }; }; then
16909 ac_cv_c_bigendian
=no
16911 echo "$as_me: program exited with status $ac_status" >&5
16912 echo "$as_me: failed program was:" >&5
16913 sed 's/^/| /' conftest.
$ac_ext >&5
16915 ( exit $ac_status )
16916 ac_cv_c_bigendian
=yes
16918 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16922 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16923 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16924 if test $ac_cv_c_bigendian = unknown
; then
16925 { 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
16926 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;}
16928 if test $ac_cv_c_bigendian = yes; then
16929 cat >>confdefs.h
<<\_ACEOF
16930 #define WORDS_BIGENDIAN 1
16938 ac_cpp
='$CXXCPP $CPPFLAGS'
16939 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16940 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16941 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16942 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16943 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16944 if test -z "$CXXCPP"; then
16945 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16948 # Double quotes because CXXCPP needs to be expanded
16949 for CXXCPP
in "$CXX -E" "/lib/cpp"
16951 ac_preproc_ok
=false
16952 for ac_cxx_preproc_warn_flag
in '' yes
16954 # Use a header file that comes with gcc, so configuring glibc
16955 # with a fresh cross-compiler works.
16956 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16957 # <limits.h> exists even on freestanding compilers.
16958 # On the NeXT, cc -E runs the code through the compiler's parser,
16959 # not just through cpp. "Syntax error" is here to catch this case.
16960 cat >conftest.
$ac_ext <<_ACEOF
16961 #line $LINENO "configure"
16964 cat confdefs.h
>>conftest.
$ac_ext
16965 cat >>conftest.
$ac_ext <<_ACEOF
16966 /* end confdefs.h. */
16968 # include <limits.h>
16970 # include <assert.h>
16974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16975 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16977 grep -v '^ *+' conftest.er1
>conftest.err
16979 cat conftest.err
>&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } >/dev
/null
; then
16982 if test -s conftest.err
; then
16983 ac_cpp_err
=$ac_cxx_preproc_warn_flag
16990 if test -z "$ac_cpp_err"; then
16993 echo "$as_me: failed program was:" >&5
16994 sed 's/^/| /' conftest.
$ac_ext >&5
16996 # Broken: fails on valid input.
16999 rm -f conftest.err conftest.
$ac_ext
17001 # OK, works on sane cases. Now check whether non-existent headers
17002 # can be detected and how.
17003 cat >conftest.
$ac_ext <<_ACEOF
17004 #line $LINENO "configure"
17007 cat confdefs.h
>>conftest.
$ac_ext
17008 cat >>conftest.
$ac_ext <<_ACEOF
17009 /* end confdefs.h. */
17010 #include <ac_nonexistent.h>
17012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17013 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17015 grep -v '^ *+' conftest.er1
>conftest.err
17017 cat conftest.err
>&5
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); } >/dev
/null
; then
17020 if test -s conftest.err
; then
17021 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17028 if test -z "$ac_cpp_err"; then
17029 # Broken: success on invalid input.
17032 echo "$as_me: failed program was:" >&5
17033 sed 's/^/| /' conftest.
$ac_ext >&5
17035 # Passes both tests.
17039 rm -f conftest.err conftest.
$ac_ext
17042 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17043 rm -f conftest.err conftest.
$ac_ext
17044 if $ac_preproc_ok; then
17049 ac_cv_prog_CXXCPP
=$CXXCPP
17052 CXXCPP
=$ac_cv_prog_CXXCPP
17054 ac_cv_prog_CXXCPP
=$CXXCPP
17056 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17057 echo "${ECHO_T}$CXXCPP" >&6
17058 ac_preproc_ok
=false
17059 for ac_cxx_preproc_warn_flag
in '' yes
17061 # Use a header file that comes with gcc, so configuring glibc
17062 # with a fresh cross-compiler works.
17063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17064 # <limits.h> exists even on freestanding compilers.
17065 # On the NeXT, cc -E runs the code through the compiler's parser,
17066 # not just through cpp. "Syntax error" is here to catch this case.
17067 cat >conftest.
$ac_ext <<_ACEOF
17068 #line $LINENO "configure"
17071 cat confdefs.h
>>conftest.
$ac_ext
17072 cat >>conftest.
$ac_ext <<_ACEOF
17073 /* end confdefs.h. */
17075 # include <limits.h>
17077 # include <assert.h>
17081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17082 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17084 grep -v '^ *+' conftest.er1
>conftest.err
17086 cat conftest.err
>&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); } >/dev
/null
; then
17089 if test -s conftest.err
; then
17090 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17097 if test -z "$ac_cpp_err"; then
17100 echo "$as_me: failed program was:" >&5
17101 sed 's/^/| /' conftest.
$ac_ext >&5
17103 # Broken: fails on valid input.
17106 rm -f conftest.err conftest.
$ac_ext
17108 # OK, works on sane cases. Now check whether non-existent headers
17109 # can be detected and how.
17110 cat >conftest.
$ac_ext <<_ACEOF
17111 #line $LINENO "configure"
17114 cat confdefs.h
>>conftest.
$ac_ext
17115 cat >>conftest.
$ac_ext <<_ACEOF
17116 /* end confdefs.h. */
17117 #include <ac_nonexistent.h>
17119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17120 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17122 grep -v '^ *+' conftest.er1
>conftest.err
17124 cat conftest.err
>&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } >/dev
/null
; then
17127 if test -s conftest.err
; then
17128 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17135 if test -z "$ac_cpp_err"; then
17136 # Broken: success on invalid input.
17139 echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.
$ac_ext >&5
17142 # Passes both tests.
17146 rm -f conftest.err conftest.
$ac_ext
17149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17150 rm -f conftest.err conftest.
$ac_ext
17151 if $ac_preproc_ok; then
17154 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17155 See \`config.log' for more details." >&5
17156 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17157 See \`config.log' for more details." >&2;}
17158 { (exit 1); exit 1; }; }
17162 ac_cpp
='$CXXCPP $CPPFLAGS'
17163 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17164 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17165 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17169 if test "$cross_compiling" = "yes"; then
17170 cat >>confdefs.h
<<\_ACEOF
17171 #define wxUSE_IOSTREAMH 1
17178 ac_cpp
='$CXXCPP $CPPFLAGS'
17179 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17180 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17181 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17185 for ac_header
in iostream
17187 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17189 echo "$as_me:$LINENO: checking for $ac_header" >&5
17190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17192 echo $ECHO_N "(cached) $ECHO_C" >&6
17194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17197 # Is the header compilable?
17198 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17199 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17200 cat >conftest.
$ac_ext <<_ACEOF
17201 #line $LINENO "configure"
17204 cat confdefs.h
>>conftest.
$ac_ext
17205 cat >>conftest.
$ac_ext <<_ACEOF
17206 /* end confdefs.h. */
17207 $ac_includes_default
17208 #include <$ac_header>
17210 rm -f conftest.
$ac_objext
17211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17212 (eval $ac_compile) 2>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); } &&
17216 { ac_try
='test -s conftest.$ac_objext'
17217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17218 (eval $ac_try) 2>&5
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); }; }; then
17222 ac_header_compiler
=yes
17224 echo "$as_me: failed program was:" >&5
17225 sed 's/^/| /' conftest.
$ac_ext >&5
17227 ac_header_compiler
=no
17229 rm -f conftest.
$ac_objext conftest.
$ac_ext
17230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17231 echo "${ECHO_T}$ac_header_compiler" >&6
17233 # Is the header present?
17234 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17235 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17236 cat >conftest.
$ac_ext <<_ACEOF
17237 #line $LINENO "configure"
17240 cat confdefs.h
>>conftest.
$ac_ext
17241 cat >>conftest.
$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17243 #include <$ac_header>
17245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17246 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
17248 grep -v '^ *+' conftest.er1
>conftest.err
17250 cat conftest.err
>&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); } >/dev
/null
; then
17253 if test -s conftest.err
; then
17254 ac_cpp_err
=$ac_cxx_preproc_warn_flag
17261 if test -z "$ac_cpp_err"; then
17262 ac_header_preproc
=yes
17264 echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.
$ac_ext >&5
17267 ac_header_preproc
=no
17269 rm -f conftest.err conftest.
$ac_ext
17270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17271 echo "${ECHO_T}$ac_header_preproc" >&6
17273 # So? What about this header?
17274 case $ac_header_compiler:$ac_header_preproc in
17276 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17277 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17282 ## ------------------------------------ ##
17283 ## Report this to bug-autoconf@gnu.org. ##
17284 ## ------------------------------------ ##
17287 sed "s/^/$as_me: WARNING: /" >&2
17290 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17291 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17292 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17293 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17295 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17298 ## ------------------------------------ ##
17299 ## Report this to bug-autoconf@gnu.org. ##
17300 ## ------------------------------------ ##
17303 sed "s/^/$as_me: WARNING: /" >&2
17306 echo "$as_me:$LINENO: checking for $ac_header" >&5
17307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17309 echo $ECHO_N "(cached) $ECHO_C" >&6
17311 eval "$as_ac_Header=$ac_header_preproc"
17313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17318 cat >>confdefs.h
<<_ACEOF
17319 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17327 if test "$ac_cv_header_iostream" = "yes" ; then
17330 cat >>confdefs.h
<<\_ACEOF
17331 #define wxUSE_IOSTREAMH 1
17337 ac_cpp
='$CPP $CPPFLAGS'
17338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17346 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17347 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17348 if test "${wx_cv_cpp_bool+set}" = set; then
17349 echo $ECHO_N "(cached) $ECHO_C" >&6
17355 ac_cpp
='$CXXCPP $CPPFLAGS'
17356 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17357 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17358 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17361 cat >conftest.
$ac_ext <<_ACEOF
17362 #line $LINENO "configure"
17365 cat confdefs.h
>>conftest.
$ac_ext
17366 cat >>conftest.
$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17382 rm -f conftest.
$ac_objext
17383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17384 (eval $ac_compile) 2>&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); } &&
17388 { ac_try
='test -s conftest.$ac_objext'
17389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17390 (eval $ac_try) 2>&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }; }; then
17398 echo "$as_me: failed program was:" >&5
17399 sed 's/^/| /' conftest.
$ac_ext >&5
17406 rm -f conftest.
$ac_objext conftest.
$ac_ext
17409 ac_cpp
='$CPP $CPPFLAGS'
17410 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17411 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17412 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17416 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17417 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17419 if test "$wx_cv_cpp_bool" = "yes"; then
17420 cat >>confdefs.h
<<\_ACEOF
17421 #define HAVE_BOOL 1
17428 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17429 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17430 if test "${wx_cv_explicit+set}" = set; then
17431 echo $ECHO_N "(cached) $ECHO_C" >&6
17437 ac_cpp
='$CXXCPP $CPPFLAGS'
17438 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17439 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17440 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17443 cat >conftest.
$ac_ext <<_ACEOF
17444 #line $LINENO "configure"
17447 cat confdefs.h
>>conftest.
$ac_ext
17448 cat >>conftest.
$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17451 class Foo { public: explicit Foo(int) {} };
17463 rm -f conftest.
$ac_objext
17464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17465 (eval $ac_compile) 2>&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } &&
17469 { ac_try
='test -s conftest.$ac_objext'
17470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17471 (eval $ac_try) 2>&5
17473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); }; }; then
17476 cat >conftest.
$ac_ext <<_ACEOF
17477 #line $LINENO "configure"
17480 cat confdefs.h
>>conftest.
$ac_ext
17481 cat >>conftest.
$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17484 class Foo { public: explicit Foo(int) {} };
17485 static void TakeFoo(const Foo& foo) { }
17498 rm -f conftest.
$ac_objext
17499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17500 (eval $ac_compile) 2>&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); } &&
17504 { ac_try
='test -s conftest.$ac_objext'
17505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17506 (eval $ac_try) 2>&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; }; then
17512 echo "$as_me: failed program was:" >&5
17513 sed 's/^/| /' conftest.
$ac_ext >&5
17518 rm -f conftest.
$ac_objext conftest.
$ac_ext
17521 echo "$as_me: failed program was:" >&5
17522 sed 's/^/| /' conftest.
$ac_ext >&5
17527 rm -f conftest.
$ac_objext conftest.
$ac_ext
17530 ac_cpp
='$CPP $CPPFLAGS'
17531 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17532 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17533 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17537 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17538 echo "${ECHO_T}$wx_cv_explicit" >&6
17540 if test "$wx_cv_explicit" = "yes"; then
17541 cat >>confdefs.h
<<\_ACEOF
17542 #define HAVE_EXPLICIT 1
17548 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17549 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17550 if test "${ac_cv_cxx_const_cast+set}" = set; then
17551 echo $ECHO_N "(cached) $ECHO_C" >&6
17556 ac_cpp
='$CXXCPP $CPPFLAGS'
17557 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17558 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17559 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17561 cat >conftest.
$ac_ext <<_ACEOF
17562 #line $LINENO "configure"
17565 cat confdefs.h
>>conftest.
$ac_ext
17566 cat >>conftest.
$ac_ext <<_ACEOF
17567 /* end confdefs.h. */
17572 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17577 rm -f conftest.
$ac_objext
17578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17579 (eval $ac_compile) 2>&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); } &&
17583 { ac_try
='test -s conftest.$ac_objext'
17584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17585 (eval $ac_try) 2>&5
17587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17588 (exit $ac_status); }; }; then
17589 ac_cv_cxx_const_cast
=yes
17591 echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.
$ac_ext >&5
17594 ac_cv_cxx_const_cast
=no
17596 rm -f conftest.
$ac_objext conftest.
$ac_ext
17598 ac_cpp
='$CPP $CPPFLAGS'
17599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17605 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17606 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17607 if test "$ac_cv_cxx_const_cast" = yes; then
17609 cat >>confdefs.h
<<\_ACEOF
17610 #define HAVE_CONST_CAST
17616 if test "$wxUSE_STL" = "yes"; then
17618 ac_cpp
='$CXXCPP $CPPFLAGS'
17619 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17620 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17621 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17624 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17625 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17626 cat >conftest.
$ac_ext <<_ACEOF
17627 #line $LINENO "configure"
17630 cat confdefs.h
>>conftest.
$ac_ext
17631 cat >>conftest.
$ac_ext <<_ACEOF
17632 /* end confdefs.h. */
17634 #include <functional>
17635 #include <algorithm>
17641 std::vector<int> moo;
17642 std::list<int> foo;
17643 std::vector<int>::iterator it =
17644 std::find_if(moo.begin(), moo.end(),
17645 std::bind2nd(std::less<int>(), 3));
17650 rm -f conftest.
$ac_objext
17651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17652 (eval $ac_compile) 2>&5
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); } &&
17656 { ac_try
='test -s conftest.$ac_objext'
17657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17658 (eval $ac_try) 2>&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); }; }; then
17662 echo "$as_me:$LINENO: result: yes" >&5
17663 echo "${ECHO_T}yes" >&6
17665 echo "$as_me: failed program was:" >&5
17666 sed 's/^/| /' conftest.
$ac_ext >&5
17668 echo "$as_me:$LINENO: result: no" >&5
17669 echo "${ECHO_T}no" >&6
17670 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17671 echo "$as_me: error: Basic STL functionality missing" >&2;}
17672 { (exit 1); exit 1; }; }
17674 rm -f conftest.
$ac_objext conftest.
$ac_ext
17676 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17677 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17678 cat >conftest.
$ac_ext <<_ACEOF
17679 #line $LINENO "configure"
17682 cat confdefs.h
>>conftest.
$ac_ext
17683 cat >>conftest.
$ac_ext <<_ACEOF
17684 /* end confdefs.h. */
17694 rm -f conftest.
$ac_objext
17695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17696 (eval $ac_compile) 2>&5
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); } &&
17700 { ac_try
='test -s conftest.$ac_objext'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; }; then
17706 echo "$as_me:$LINENO: result: yes" >&5
17707 echo "${ECHO_T}yes" >&6
17708 cat >>confdefs.h
<<\_ACEOF
17709 #define HAVE_STD_WSTRING 1
17713 echo "$as_me: failed program was:" >&5
17714 sed 's/^/| /' conftest.
$ac_ext >&5
17716 echo "$as_me:$LINENO: result: no" >&5
17717 echo "${ECHO_T}no" >&6
17719 rm -f conftest.
$ac_objext conftest.
$ac_ext
17721 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17722 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17723 cat >conftest.
$ac_ext <<_ACEOF
17724 #line $LINENO "configure"
17727 cat confdefs.h
>>conftest.
$ac_ext
17728 cat >>conftest.
$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17734 std::string foo, bar;
17736 foo.compare(1, 1, bar);
17737 foo.compare(1, 1, bar, 1, 1);
17739 foo.compare(1, 1, "");
17740 foo.compare(1, 1, "", 2);
17745 rm -f conftest.
$ac_objext
17746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17747 (eval $ac_compile) 2>&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } &&
17751 { ac_try
='test -s conftest.$ac_objext'
17752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17753 (eval $ac_try) 2>&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; }; then
17757 echo "$as_me:$LINENO: result: yes" >&5
17758 echo "${ECHO_T}yes" >&6
17759 cat >>confdefs.h
<<\_ACEOF
17760 #define HAVE_STD_STRING_COMPARE 1
17764 echo "$as_me: failed program was:" >&5
17765 sed 's/^/| /' conftest.
$ac_ext >&5
17767 echo "$as_me:$LINENO: result: no" >&5
17768 echo "${ECHO_T}no" >&6
17770 rm -f conftest.
$ac_objext conftest.
$ac_ext
17773 ac_cpp
='$CPP $CPPFLAGS'
17774 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17775 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17776 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17782 /usr/local/include \
17784 /usr/Motif-1.2/include \
17785 /usr/Motif-2.1/include \
17787 /usr/include/Motif1.2 \
17788 /opt/xpm/include/X11 \
17789 /opt/GBxpm/include/ \
17790 /opt/GBxpm/X11/include/ \
17792 /usr/Motif1.2/include \
17794 /usr/openwin/include \
17798 /usr/X11R6/include \
17799 /usr/X11R6.4/include \
17800 /usr/X11R5/include \
17801 /usr/X11R4/include \
17803 /usr/include/X11R6 \
17804 /usr/include/X11R5 \
17805 /usr/include/X11R4 \
17807 /usr/local/X11R6/include \
17808 /usr/local/X11R5/include \
17809 /usr/local/X11R4/include \
17811 /usr/local/include/X11R6 \
17812 /usr/local/include/X11R5 \
17813 /usr/local/include/X11R4 \
17817 /usr/local/X11/include \
17818 /usr/local/include/X11 \
17820 /usr/X386/include \
17821 /usr/x386/include \
17822 /usr/XFree86/include/X11 \
17824 X:/XFree86/include \
17825 X:/XFree86/include/X11 \
17828 /usr/local/include/gtk \
17829 /usr/include/glib \
17830 /usr/local/include/glib \
17833 /usr/local/include/qt \
17835 /usr/include/windows \
17836 /usr/include/wine \
17837 /usr/local/include/wine \
17839 /usr/unsupported/include \
17840 /usr/athena/include \
17841 /usr/local/x11r5/include \
17842 /usr/lpp/Xamples/include \
17844 /usr/openwin/share/include"
17846 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17849 cat >confcache
<<\_ACEOF
17850 # This file is a shell script that caches the results of configure
17851 # tests run on this system so they can be shared between configure
17852 # scripts and configure runs, see configure's option --config-cache.
17853 # It is not useful on other systems. If it contains results you don't
17854 # want to keep, you may remove or edit it.
17856 # config.status only pays attention to the cache file if you give it
17857 # the --recheck option to rerun configure.
17859 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17860 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17861 # following values.
17865 # The following way of writing the cache mishandles newlines in values,
17866 # but we know of no workaround that is simple, portable, and efficient.
17867 # So, don't put newlines in cache variables' values.
17868 # Ultrix sh set writes to stderr and can't be redirected directly,
17869 # and sets the high bit in the cache file unless we assign to the vars.
17872 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17874 # `set' does not quote correctly, so add quotes (double-quote
17875 # substitution turns \\\\ into \\, and sed turns \\ into \).
17878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17881 # `set' quotes correctly as required by POSIX, so do not add quotes.
17883 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17890 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17892 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17894 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
17895 if test -w $cache_file; then
17896 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17897 cat confcache
>$cache_file
17899 echo "not updating unwritable cache $cache_file"
17904 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17905 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17906 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17907 if test "${wx_cv_lib_glibc21+set}" = set; then
17908 echo $ECHO_N "(cached) $ECHO_C" >&6
17911 cat >conftest.
$ac_ext <<_ACEOF
17912 #line $LINENO "configure"
17915 cat confdefs.h
>>conftest.
$ac_ext
17916 cat >>conftest.
$ac_ext <<_ACEOF
17917 /* end confdefs.h. */
17918 #include <features.h>
17923 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17924 #error not glibc2.1
17931 rm -f conftest.
$ac_objext
17932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17933 (eval $ac_compile) 2>&5
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); } &&
17937 { ac_try
='test -s conftest.$ac_objext'
17938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17939 (eval $ac_try) 2>&5
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); }; }; then
17944 wx_cv_lib_glibc21
=yes
17947 echo "$as_me: failed program was:" >&5
17948 sed 's/^/| /' conftest.
$ac_ext >&5
17951 wx_cv_lib_glibc21
=no
17955 rm -f conftest.
$ac_objext conftest.
$ac_ext
17958 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17959 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17960 if test "$wx_cv_lib_glibc21" = "yes"; then
17961 cat >>confdefs.h
<<\_ACEOF
17962 #define wxHAVE_GLIBC2 1
17968 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17969 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17970 cat >>confdefs.h
<<\_ACEOF
17971 #define _GNU_SOURCE 1
17980 if test "$wxUSE_REGEX" != "no"; then
17981 cat >>confdefs.h
<<\_ACEOF
17982 #define wxUSE_REGEX 1
17986 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17987 if test "${ac_cv_header_regex_h+set}" = set; then
17988 echo "$as_me:$LINENO: checking for regex.h" >&5
17989 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17990 if test "${ac_cv_header_regex_h+set}" = set; then
17991 echo $ECHO_N "(cached) $ECHO_C" >&6
17993 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17994 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17996 # Is the header compilable?
17997 echo "$as_me:$LINENO: checking regex.h usability" >&5
17998 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17999 cat >conftest.
$ac_ext <<_ACEOF
18000 #line $LINENO "configure"
18003 cat confdefs.h
>>conftest.
$ac_ext
18004 cat >>conftest.
$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18006 $ac_includes_default
18009 rm -f conftest.
$ac_objext
18010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18011 (eval $ac_compile) 2>&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } &&
18015 { ac_try
='test -s conftest.$ac_objext'
18016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18017 (eval $ac_try) 2>&5
18019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18020 (exit $ac_status); }; }; then
18021 ac_header_compiler
=yes
18023 echo "$as_me: failed program was:" >&5
18024 sed 's/^/| /' conftest.
$ac_ext >&5
18026 ac_header_compiler
=no
18028 rm -f conftest.
$ac_objext conftest.
$ac_ext
18029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18030 echo "${ECHO_T}$ac_header_compiler" >&6
18032 # Is the header present?
18033 echo "$as_me:$LINENO: checking regex.h presence" >&5
18034 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18035 cat >conftest.
$ac_ext <<_ACEOF
18036 #line $LINENO "configure"
18039 cat confdefs.h
>>conftest.
$ac_ext
18040 cat >>conftest.
$ac_ext <<_ACEOF
18041 /* end confdefs.h. */
18044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18045 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18047 grep -v '^ *+' conftest.er1
>conftest.err
18049 cat conftest.err
>&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } >/dev
/null
; then
18052 if test -s conftest.err
; then
18053 ac_cpp_err
=$ac_c_preproc_warn_flag
18060 if test -z "$ac_cpp_err"; then
18061 ac_header_preproc
=yes
18063 echo "$as_me: failed program was:" >&5
18064 sed 's/^/| /' conftest.
$ac_ext >&5
18066 ac_header_preproc
=no
18068 rm -f conftest.err conftest.
$ac_ext
18069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18070 echo "${ECHO_T}$ac_header_preproc" >&6
18072 # So? What about this header?
18073 case $ac_header_compiler:$ac_header_preproc in
18075 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18076 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18077 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18078 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18081 ## ------------------------------------ ##
18082 ## Report this to bug-autoconf@gnu.org. ##
18083 ## ------------------------------------ ##
18086 sed "s/^/$as_me: WARNING: /" >&2
18089 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18090 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18091 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18092 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18093 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18094 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18097 ## ------------------------------------ ##
18098 ## Report this to bug-autoconf@gnu.org. ##
18099 ## ------------------------------------ ##
18102 sed "s/^/$as_me: WARNING: /" >&2
18105 echo "$as_me:$LINENO: checking for regex.h" >&5
18106 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18107 if test "${ac_cv_header_regex_h+set}" = set; then
18108 echo $ECHO_N "(cached) $ECHO_C" >&6
18110 ac_cv_header_regex_h
=$ac_header_preproc
18112 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18113 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18116 if test $ac_cv_header_regex_h = yes; then
18118 for ac_func
in regcomp
18120 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18121 echo "$as_me:$LINENO: checking for $ac_func" >&5
18122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18123 if eval "test \"\${$as_ac_var+set}\" = set"; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18126 cat >conftest.
$ac_ext <<_ACEOF
18127 #line $LINENO "configure"
18130 cat confdefs.h
>>conftest.
$ac_ext
18131 cat >>conftest.
$ac_ext <<_ACEOF
18132 /* end confdefs.h. */
18133 /* System header to define __stub macros and hopefully few prototypes,
18134 which can conflict with char $ac_func (); below.
18135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18136 <limits.h> exists even on freestanding compilers. */
18138 # include <limits.h>
18140 # include <assert.h>
18142 /* Override any gcc2 internal prototype to avoid an error. */
18147 /* We use char because int might match the return type of a gcc2
18148 builtin and then its argument prototype would still apply. */
18150 /* The GNU C library defines this for functions which it implements
18151 to always fail with ENOSYS. Some functions are actually named
18152 something starting with __ and the normal name is an alias. */
18153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18156 char (*f) () = $ac_func;
18165 return f != $ac_func;
18170 rm -f conftest.
$ac_objext conftest
$ac_exeext
18171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18172 (eval $ac_link) 2>&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); } &&
18176 { ac_try
='test -s conftest$ac_exeext'
18177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178 (eval $ac_try) 2>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; }; then
18182 eval "$as_ac_var=yes"
18184 echo "$as_me: failed program was:" >&5
18185 sed 's/^/| /' conftest.
$ac_ext >&5
18187 eval "$as_ac_var=no"
18189 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18193 if test `eval echo '${'$as_ac_var'}'` = yes; then
18194 cat >>confdefs.h
<<_ACEOF
18195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18205 if test "x$ac_cv_func_regcomp" != "xyes"; then
18206 if test "$wxUSE_REGEX" = "sys" ; then
18207 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18208 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18209 { (exit 1); exit 1; }; }
18211 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18212 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18213 wxUSE_REGEX
=builtin
18220 if test "$wxUSE_REGEX" = "builtin" ; then
18221 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
18228 if test "$wxUSE_ZLIB" != "no" ; then
18229 cat >>confdefs.h
<<\_ACEOF
18230 #define wxUSE_ZLIB 1
18234 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18235 if test "$USE_DARWIN" = 1; then
18236 system_zlib_h_ok
="yes"
18238 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18239 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18240 if test "${ac_cv_header_zlib_h+set}" = set; then
18241 echo $ECHO_N "(cached) $ECHO_C" >&6
18243 if test "$cross_compiling" = yes; then
18244 unset ac_cv_header_zlib_h
18247 cat >conftest.
$ac_ext <<_ACEOF
18248 #line $LINENO "configure"
18251 cat confdefs.h
>>conftest.
$ac_ext
18252 cat >>conftest.
$ac_ext <<_ACEOF
18253 /* end confdefs.h. */
18260 FILE *f=fopen("conftestval", "w");
18263 ZLIB_VERSION[0] == '1' &&
18264 (ZLIB_VERSION[2] > '1' ||
18265 (ZLIB_VERSION[2] == '1' &&
18266 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18271 rm -f conftest
$ac_exeext
18272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18273 (eval $ac_link) 2>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; }; then
18282 ac_cv_header_zlib_h
=`cat conftestval`
18284 echo "$as_me: program exited with status $ac_status" >&5
18285 echo "$as_me: failed program was:" >&5
18286 sed 's/^/| /' conftest.
$ac_ext >&5
18288 ( exit $ac_status )
18289 ac_cv_header_zlib_h
=no
18291 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18295 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18296 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18297 if test "${ac_cv_header_zlib_h+set}" = set; then
18298 echo "$as_me:$LINENO: checking for zlib.h" >&5
18299 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18300 if test "${ac_cv_header_zlib_h+set}" = set; then
18301 echo $ECHO_N "(cached) $ECHO_C" >&6
18303 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18304 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18306 # Is the header compilable?
18307 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18308 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18309 cat >conftest.
$ac_ext <<_ACEOF
18310 #line $LINENO "configure"
18313 cat confdefs.h
>>conftest.
$ac_ext
18314 cat >>conftest.
$ac_ext <<_ACEOF
18315 /* end confdefs.h. */
18316 $ac_includes_default
18319 rm -f conftest.
$ac_objext
18320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18321 (eval $ac_compile) 2>&5
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); } &&
18325 { ac_try
='test -s conftest.$ac_objext'
18326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18327 (eval $ac_try) 2>&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); }; }; then
18331 ac_header_compiler
=yes
18333 echo "$as_me: failed program was:" >&5
18334 sed 's/^/| /' conftest.
$ac_ext >&5
18336 ac_header_compiler
=no
18338 rm -f conftest.
$ac_objext conftest.
$ac_ext
18339 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18340 echo "${ECHO_T}$ac_header_compiler" >&6
18342 # Is the header present?
18343 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18344 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18345 cat >conftest.
$ac_ext <<_ACEOF
18346 #line $LINENO "configure"
18349 cat confdefs.h
>>conftest.
$ac_ext
18350 cat >>conftest.
$ac_ext <<_ACEOF
18351 /* end confdefs.h. */
18354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18355 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18357 grep -v '^ *+' conftest.er1
>conftest.err
18359 cat conftest.err
>&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); } >/dev
/null
; then
18362 if test -s conftest.err
; then
18363 ac_cpp_err
=$ac_c_preproc_warn_flag
18370 if test -z "$ac_cpp_err"; then
18371 ac_header_preproc
=yes
18373 echo "$as_me: failed program was:" >&5
18374 sed 's/^/| /' conftest.
$ac_ext >&5
18376 ac_header_preproc
=no
18378 rm -f conftest.err conftest.
$ac_ext
18379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18380 echo "${ECHO_T}$ac_header_preproc" >&6
18382 # So? What about this header?
18383 case $ac_header_compiler:$ac_header_preproc in
18385 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18386 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18387 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18388 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18391 ## ------------------------------------ ##
18392 ## Report this to bug-autoconf@gnu.org. ##
18393 ## ------------------------------------ ##
18396 sed "s/^/$as_me: WARNING: /" >&2
18399 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18400 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18401 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18402 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18403 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18404 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18407 ## ------------------------------------ ##
18408 ## Report this to bug-autoconf@gnu.org. ##
18409 ## ------------------------------------ ##
18412 sed "s/^/$as_me: WARNING: /" >&2
18415 echo "$as_me:$LINENO: checking for zlib.h" >&5
18416 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18417 if test "${ac_cv_header_zlib_h+set}" = set; then
18418 echo $ECHO_N "(cached) $ECHO_C" >&6
18420 ac_cv_header_zlib_h
=$ac_header_preproc
18422 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18423 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18429 system_zlib_h_ok
=$ac_cv_header_zlib_h
18432 if test "$system_zlib_h_ok" = "yes"; then
18433 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18434 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18435 if test "${ac_cv_lib_z_deflate+set}" = set; then
18436 echo $ECHO_N "(cached) $ECHO_C" >&6
18438 ac_check_lib_save_LIBS
=$LIBS
18440 cat >conftest.
$ac_ext <<_ACEOF
18441 #line $LINENO "configure"
18444 cat confdefs.h
>>conftest.
$ac_ext
18445 cat >>conftest.
$ac_ext <<_ACEOF
18446 /* end confdefs.h. */
18448 /* Override any gcc2 internal prototype to avoid an error. */
18452 /* We use char because int might match the return type of a gcc2
18453 builtin and then its argument prototype would still apply. */
18463 rm -f conftest.
$ac_objext conftest
$ac_exeext
18464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18465 (eval $ac_link) 2>&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } &&
18469 { ac_try
='test -s conftest$ac_exeext'
18470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18471 (eval $ac_try) 2>&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); }; }; then
18475 ac_cv_lib_z_deflate
=yes
18477 echo "$as_me: failed program was:" >&5
18478 sed 's/^/| /' conftest.
$ac_ext >&5
18480 ac_cv_lib_z_deflate
=no
18482 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18483 LIBS
=$ac_check_lib_save_LIBS
18485 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18486 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18487 if test $ac_cv_lib_z_deflate = yes; then
18493 if test "x$ZLIB_LINK" = "x" ; then
18494 if test "$wxUSE_ZLIB" = "sys" ; then
18495 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18496 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18497 { (exit 1); exit 1; }; }
18499 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18500 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18508 if test "$wxUSE_ZLIB" = "builtin" ; then
18509 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
18516 if test "$wxUSE_LIBPNG" != "no" ; then
18517 cat >>confdefs.h
<<\_ACEOF
18518 #define wxUSE_LIBPNG 1
18522 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18523 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18524 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18528 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18529 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18530 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18531 wxUSE_LIBPNG
=builtin
18534 if test "$wxUSE_MGL" != 1 ; then
18535 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18536 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18537 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18538 if test "${ac_cv_header_png_h+set}" = set; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18541 if test "$cross_compiling" = yes; then
18542 unset ac_cv_header_png_h
18545 cat >conftest.
$ac_ext <<_ACEOF
18546 #line $LINENO "configure"
18549 cat confdefs.h
>>conftest.
$ac_ext
18550 cat >>conftest.
$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18558 FILE *f=fopen("conftestval", "w");
18561 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18566 rm -f conftest
$ac_exeext
18567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18568 (eval $ac_link) 2>&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; }; then
18577 ac_cv_header_png_h
=`cat conftestval`
18579 echo "$as_me: program exited with status $ac_status" >&5
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.
$ac_ext >&5
18583 ( exit $ac_status )
18584 ac_cv_header_png_h
=no
18586 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18590 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18591 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18592 if test "${ac_cv_header_png_h+set}" = set; then
18593 echo "$as_me:$LINENO: checking for png.h" >&5
18594 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18595 if test "${ac_cv_header_png_h+set}" = set; then
18596 echo $ECHO_N "(cached) $ECHO_C" >&6
18598 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18599 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18601 # Is the header compilable?
18602 echo "$as_me:$LINENO: checking png.h usability" >&5
18603 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18604 cat >conftest.
$ac_ext <<_ACEOF
18605 #line $LINENO "configure"
18608 cat confdefs.h
>>conftest.
$ac_ext
18609 cat >>conftest.
$ac_ext <<_ACEOF
18610 /* end confdefs.h. */
18611 $ac_includes_default
18614 rm -f conftest.
$ac_objext
18615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18616 (eval $ac_compile) 2>&5
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); } &&
18620 { ac_try
='test -s conftest.$ac_objext'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; }; then
18626 ac_header_compiler
=yes
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.
$ac_ext >&5
18631 ac_header_compiler
=no
18633 rm -f conftest.
$ac_objext conftest.
$ac_ext
18634 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18635 echo "${ECHO_T}$ac_header_compiler" >&6
18637 # Is the header present?
18638 echo "$as_me:$LINENO: checking png.h presence" >&5
18639 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18640 cat >conftest.
$ac_ext <<_ACEOF
18641 #line $LINENO "configure"
18644 cat confdefs.h
>>conftest.
$ac_ext
18645 cat >>conftest.
$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18650 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18652 grep -v '^ *+' conftest.er1
>conftest.err
18654 cat conftest.err
>&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); } >/dev
/null
; then
18657 if test -s conftest.err
; then
18658 ac_cpp_err
=$ac_c_preproc_warn_flag
18665 if test -z "$ac_cpp_err"; then
18666 ac_header_preproc
=yes
18668 echo "$as_me: failed program was:" >&5
18669 sed 's/^/| /' conftest.
$ac_ext >&5
18671 ac_header_preproc
=no
18673 rm -f conftest.err conftest.
$ac_ext
18674 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18675 echo "${ECHO_T}$ac_header_preproc" >&6
18677 # So? What about this header?
18678 case $ac_header_compiler:$ac_header_preproc in
18680 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18681 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18682 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18683 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18686 ## ------------------------------------ ##
18687 ## Report this to bug-autoconf@gnu.org. ##
18688 ## ------------------------------------ ##
18691 sed "s/^/$as_me: WARNING: /" >&2
18694 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18695 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18696 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18697 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18698 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18699 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18702 ## ------------------------------------ ##
18703 ## Report this to bug-autoconf@gnu.org. ##
18704 ## ------------------------------------ ##
18707 sed "s/^/$as_me: WARNING: /" >&2
18710 echo "$as_me:$LINENO: checking for png.h" >&5
18711 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18712 if test "${ac_cv_header_png_h+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18715 ac_cv_header_png_h
=$ac_header_preproc
18717 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18718 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18724 if test "$ac_cv_header_png_h" = "yes"; then
18725 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18726 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18727 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18728 echo $ECHO_N "(cached) $ECHO_C" >&6
18730 ac_check_lib_save_LIBS
=$LIBS
18731 LIBS
="-lpng -lz -lm $LIBS"
18732 cat >conftest.
$ac_ext <<_ACEOF
18733 #line $LINENO "configure"
18736 cat confdefs.h
>>conftest.
$ac_ext
18737 cat >>conftest.
$ac_ext <<_ACEOF
18738 /* end confdefs.h. */
18740 /* Override any gcc2 internal prototype to avoid an error. */
18744 /* We use char because int might match the return type of a gcc2
18745 builtin and then its argument prototype would still apply. */
18746 char png_check_sig ();
18755 rm -f conftest.
$ac_objext conftest
$ac_exeext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18757 (eval $ac_link) 2>&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } &&
18761 { ac_try
='test -s conftest$ac_exeext'
18762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18763 (eval $ac_try) 2>&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); }; }; then
18767 ac_cv_lib_png_png_check_sig
=yes
18769 echo "$as_me: failed program was:" >&5
18770 sed 's/^/| /' conftest.
$ac_ext >&5
18772 ac_cv_lib_png_png_check_sig
=no
18774 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18775 LIBS
=$ac_check_lib_save_LIBS
18777 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18778 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18779 if test $ac_cv_lib_png_png_check_sig = yes; then
18785 if test "x$PNG_LINK" = "x" ; then
18786 if test "$wxUSE_LIBPNG" = "sys" ; then
18787 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18788 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18789 { (exit 1); exit 1; }; }
18791 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18792 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18793 wxUSE_LIBPNG
=builtin
18801 if test "$wxUSE_LIBPNG" = "builtin" ; then
18802 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
18805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
18811 if test "$wxUSE_LIBJPEG" != "no" ; then
18812 cat >>confdefs.h
<<\_ACEOF
18813 #define wxUSE_LIBJPEG 1
18817 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18818 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18819 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18823 if test "$wxUSE_MGL" != 1 ; then
18824 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18825 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18826 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18827 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18828 echo $ECHO_N "(cached) $ECHO_C" >&6
18830 cat >conftest.
$ac_ext <<_ACEOF
18831 #line $LINENO "configure"
18834 cat confdefs.h
>>conftest.
$ac_ext
18835 cat >>conftest.
$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18838 #undef HAVE_STDLIB_H
18840 #include <jpeglib.h>
18851 rm -f conftest.
$ac_objext
18852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18853 (eval $ac_compile) 2>&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); } &&
18857 { ac_try
='test -s conftest.$ac_objext'
18858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18859 (eval $ac_try) 2>&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); }; }; then
18863 ac_cv_header_jpeglib_h
=yes
18865 echo "$as_me: failed program was:" >&5
18866 sed 's/^/| /' conftest.
$ac_ext >&5
18868 ac_cv_header_jpeglib_h
=no
18871 rm -f conftest.
$ac_objext conftest.
$ac_ext
18875 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18876 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18878 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18879 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18880 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18881 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18882 echo $ECHO_N "(cached) $ECHO_C" >&6
18884 ac_check_lib_save_LIBS
=$LIBS
18885 LIBS
="-ljpeg $LIBS"
18886 cat >conftest.
$ac_ext <<_ACEOF
18887 #line $LINENO "configure"
18890 cat confdefs.h
>>conftest.
$ac_ext
18891 cat >>conftest.
$ac_ext <<_ACEOF
18892 /* end confdefs.h. */
18894 /* Override any gcc2 internal prototype to avoid an error. */
18898 /* We use char because int might match the return type of a gcc2
18899 builtin and then its argument prototype would still apply. */
18900 char jpeg_read_header ();
18904 jpeg_read_header ();
18909 rm -f conftest.
$ac_objext conftest
$ac_exeext
18910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18911 (eval $ac_link) 2>&5
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); } &&
18915 { ac_try
='test -s conftest$ac_exeext'
18916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18917 (eval $ac_try) 2>&5
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); }; }; then
18921 ac_cv_lib_jpeg_jpeg_read_header
=yes
18923 echo "$as_me: failed program was:" >&5
18924 sed 's/^/| /' conftest.
$ac_ext >&5
18926 ac_cv_lib_jpeg_jpeg_read_header
=no
18928 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18929 LIBS
=$ac_check_lib_save_LIBS
18931 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18932 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18933 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18934 JPEG_LINK
=" -ljpeg"
18939 if test "x$JPEG_LINK" = "x" ; then
18940 if test "$wxUSE_LIBJPEG" = "sys" ; then
18941 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18942 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18943 { (exit 1); exit 1; }; }
18945 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18946 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18947 wxUSE_LIBJPEG
=builtin
18955 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18956 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
18963 TIFF_PREREQ_LINKS
=-lm
18964 if test "$wxUSE_LIBTIFF" != "no" ; then
18965 cat >>confdefs.h
<<\_ACEOF
18966 #define wxUSE_LIBTIFF 1
18970 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18971 if test "$wxUSE_LIBJPEG" = "sys"; then
18972 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
18974 if test "$wxUSE_ZLIB" = "sys"; then
18975 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18977 if test "${ac_cv_header_tiffio_h+set}" = set; then
18978 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18979 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18980 if test "${ac_cv_header_tiffio_h+set}" = set; then
18981 echo $ECHO_N "(cached) $ECHO_C" >&6
18983 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18984 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18986 # Is the header compilable?
18987 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18988 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18989 cat >conftest.
$ac_ext <<_ACEOF
18990 #line $LINENO "configure"
18993 cat confdefs.h
>>conftest.
$ac_ext
18994 cat >>conftest.
$ac_ext <<_ACEOF
18995 /* end confdefs.h. */
18996 $ac_includes_default
18997 #include <tiffio.h>
18999 rm -f conftest.
$ac_objext
19000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19001 (eval $ac_compile) 2>&5
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); } &&
19005 { ac_try
='test -s conftest.$ac_objext'
19006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19007 (eval $ac_try) 2>&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); }; }; then
19011 ac_header_compiler
=yes
19013 echo "$as_me: failed program was:" >&5
19014 sed 's/^/| /' conftest.
$ac_ext >&5
19016 ac_header_compiler
=no
19018 rm -f conftest.
$ac_objext conftest.
$ac_ext
19019 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19020 echo "${ECHO_T}$ac_header_compiler" >&6
19022 # Is the header present?
19023 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19024 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19025 cat >conftest.
$ac_ext <<_ACEOF
19026 #line $LINENO "configure"
19029 cat confdefs.h
>>conftest.
$ac_ext
19030 cat >>conftest.
$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 #include <tiffio.h>
19034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19035 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19037 grep -v '^ *+' conftest.er1
>conftest.err
19039 cat conftest.err
>&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); } >/dev
/null
; then
19042 if test -s conftest.err
; then
19043 ac_cpp_err
=$ac_c_preproc_warn_flag
19050 if test -z "$ac_cpp_err"; then
19051 ac_header_preproc
=yes
19053 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.
$ac_ext >&5
19056 ac_header_preproc
=no
19058 rm -f conftest.err conftest.
$ac_ext
19059 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19060 echo "${ECHO_T}$ac_header_preproc" >&6
19062 # So? What about this header?
19063 case $ac_header_compiler:$ac_header_preproc in
19065 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19066 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19067 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19068 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19071 ## ------------------------------------ ##
19072 ## Report this to bug-autoconf@gnu.org. ##
19073 ## ------------------------------------ ##
19076 sed "s/^/$as_me: WARNING: /" >&2
19079 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19080 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19081 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19082 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19083 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19084 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19087 ## ------------------------------------ ##
19088 ## Report this to bug-autoconf@gnu.org. ##
19089 ## ------------------------------------ ##
19092 sed "s/^/$as_me: WARNING: /" >&2
19095 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19096 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19097 if test "${ac_cv_header_tiffio_h+set}" = set; then
19098 echo $ECHO_N "(cached) $ECHO_C" >&6
19100 ac_cv_header_tiffio_h
=$ac_header_preproc
19102 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19103 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19106 if test $ac_cv_header_tiffio_h = yes; then
19108 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19109 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19110 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19111 echo $ECHO_N "(cached) $ECHO_C" >&6
19113 ac_check_lib_save_LIBS
=$LIBS
19114 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19115 cat >conftest.
$ac_ext <<_ACEOF
19116 #line $LINENO "configure"
19119 cat confdefs.h
>>conftest.
$ac_ext
19120 cat >>conftest.
$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19123 /* Override any gcc2 internal prototype to avoid an error. */
19127 /* We use char because int might match the return type of a gcc2
19128 builtin and then its argument prototype would still apply. */
19138 rm -f conftest.
$ac_objext conftest
$ac_exeext
19139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19140 (eval $ac_link) 2>&5
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); } &&
19144 { ac_try
='test -s conftest$ac_exeext'
19145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19146 (eval $ac_try) 2>&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); }; }; then
19150 ac_cv_lib_tiff_TIFFError
=yes
19152 echo "$as_me: failed program was:" >&5
19153 sed 's/^/| /' conftest.
$ac_ext >&5
19155 ac_cv_lib_tiff_TIFFError
=no
19157 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19158 LIBS
=$ac_check_lib_save_LIBS
19160 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19161 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19162 if test $ac_cv_lib_tiff_TIFFError = yes; then
19163 TIFF_LINK
=" -ltiff"
19172 if test "x$TIFF_LINK" = "x" ; then
19173 if test "$wxUSE_LIBTIFF" = "sys" ; then
19174 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19175 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19176 { (exit 1); exit 1; }; }
19178 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19179 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19180 wxUSE_LIBTIFF
=builtin
19187 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19188 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
19193 if test "$wxUSE_EXPAT" != "no"; then
19195 cat >>confdefs.h
<<\_ACEOF
19196 #define wxUSE_EXPAT 1
19199 cat >>confdefs.h
<<\_ACEOF
19200 #define wxUSE_XML 1
19204 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19205 if test "${ac_cv_header_expat_h+set}" = set; then
19206 echo "$as_me:$LINENO: checking for expat.h" >&5
19207 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19208 if test "${ac_cv_header_expat_h+set}" = set; then
19209 echo $ECHO_N "(cached) $ECHO_C" >&6
19211 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19212 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19214 # Is the header compilable?
19215 echo "$as_me:$LINENO: checking expat.h usability" >&5
19216 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19217 cat >conftest.
$ac_ext <<_ACEOF
19218 #line $LINENO "configure"
19221 cat confdefs.h
>>conftest.
$ac_ext
19222 cat >>conftest.
$ac_ext <<_ACEOF
19223 /* end confdefs.h. */
19224 $ac_includes_default
19227 rm -f conftest.
$ac_objext
19228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19229 (eval $ac_compile) 2>&5
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); } &&
19233 { ac_try
='test -s conftest.$ac_objext'
19234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19235 (eval $ac_try) 2>&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); }; }; then
19239 ac_header_compiler
=yes
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.
$ac_ext >&5
19244 ac_header_compiler
=no
19246 rm -f conftest.
$ac_objext conftest.
$ac_ext
19247 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19248 echo "${ECHO_T}$ac_header_compiler" >&6
19250 # Is the header present?
19251 echo "$as_me:$LINENO: checking expat.h presence" >&5
19252 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19253 cat >conftest.
$ac_ext <<_ACEOF
19254 #line $LINENO "configure"
19257 cat confdefs.h
>>conftest.
$ac_ext
19258 cat >>conftest.
$ac_ext <<_ACEOF
19259 /* end confdefs.h. */
19262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19263 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19265 grep -v '^ *+' conftest.er1
>conftest.err
19267 cat conftest.err
>&5
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); } >/dev
/null
; then
19270 if test -s conftest.err
; then
19271 ac_cpp_err
=$ac_c_preproc_warn_flag
19278 if test -z "$ac_cpp_err"; then
19279 ac_header_preproc
=yes
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.
$ac_ext >&5
19284 ac_header_preproc
=no
19286 rm -f conftest.err conftest.
$ac_ext
19287 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19288 echo "${ECHO_T}$ac_header_preproc" >&6
19290 # So? What about this header?
19291 case $ac_header_compiler:$ac_header_preproc in
19293 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19294 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19295 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19296 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19299 ## ------------------------------------ ##
19300 ## Report this to bug-autoconf@gnu.org. ##
19301 ## ------------------------------------ ##
19304 sed "s/^/$as_me: WARNING: /" >&2
19307 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19308 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19309 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19310 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19311 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19312 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19315 ## ------------------------------------ ##
19316 ## Report this to bug-autoconf@gnu.org. ##
19317 ## ------------------------------------ ##
19320 sed "s/^/$as_me: WARNING: /" >&2
19323 echo "$as_me:$LINENO: checking for expat.h" >&5
19324 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19325 if test "${ac_cv_header_expat_h+set}" = set; then
19326 echo $ECHO_N "(cached) $ECHO_C" >&6
19328 ac_cv_header_expat_h
=$ac_header_preproc
19330 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19331 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19334 if test $ac_cv_header_expat_h = yes; then
19339 if test "x$found_expat_h" = "x1"; then
19340 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19341 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19342 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19343 echo $ECHO_N "(cached) $ECHO_C" >&6
19349 ac_cpp
='$CXXCPP $CPPFLAGS'
19350 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19351 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19352 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19354 cat >conftest.
$ac_ext <<_ACEOF
19355 #line $LINENO "configure"
19358 cat confdefs.h
>>conftest.
$ac_ext
19359 cat >>conftest.
$ac_ext <<_ACEOF
19360 /* end confdefs.h. */
19370 rm -f conftest.
$ac_objext
19371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19372 (eval $ac_compile) 2>&5
19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19375 (exit $ac_status); } &&
19376 { ac_try
='test -s conftest.$ac_objext'
19377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19378 (eval $ac_try) 2>&5
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); }; }; then
19382 wx_cv_expat_is_not_broken
=yes
19384 echo "$as_me: failed program was:" >&5
19385 sed 's/^/| /' conftest.
$ac_ext >&5
19387 wx_cv_expat_is_not_broken
=no
19390 rm -f conftest.
$ac_objext conftest.
$ac_ext
19392 ac_cpp
='$CPP $CPPFLAGS'
19393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19400 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19401 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19402 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19403 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19404 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19405 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19406 echo $ECHO_N "(cached) $ECHO_C" >&6
19408 ac_check_lib_save_LIBS
=$LIBS
19409 LIBS
="-lexpat $LIBS"
19410 cat >conftest.
$ac_ext <<_ACEOF
19411 #line $LINENO "configure"
19414 cat confdefs.h
>>conftest.
$ac_ext
19415 cat >>conftest.
$ac_ext <<_ACEOF
19416 /* end confdefs.h. */
19418 /* Override any gcc2 internal prototype to avoid an error. */
19422 /* We use char because int might match the return type of a gcc2
19423 builtin and then its argument prototype would still apply. */
19424 char XML_ParserCreate ();
19428 XML_ParserCreate ();
19433 rm -f conftest.
$ac_objext conftest
$ac_exeext
19434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19435 (eval $ac_link) 2>&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); } &&
19439 { ac_try
='test -s conftest$ac_exeext'
19440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19441 (eval $ac_try) 2>&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); }; }; then
19445 ac_cv_lib_expat_XML_ParserCreate
=yes
19447 echo "$as_me: failed program was:" >&5
19448 sed 's/^/| /' conftest.
$ac_ext >&5
19450 ac_cv_lib_expat_XML_ParserCreate
=no
19452 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19453 LIBS
=$ac_check_lib_save_LIBS
19455 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19456 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19457 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19458 EXPAT_LINK
=" -lexpat"
19463 if test "x$EXPAT_LINK" = "x" ; then
19464 if test "$wxUSE_EXPAT" = "sys" ; then
19465 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19466 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19467 { (exit 1); exit 1; }; }
19469 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19470 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19471 wxUSE_EXPAT
=builtin
19477 if test "$wxUSE_EXPAT" = "builtin" ; then
19480 subdirs
="$subdirs src/expat"
19494 if test "$USE_WIN32" = 1 ; then
19496 for ac_header
in w32api.h
19498 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19500 echo "$as_me:$LINENO: checking for $ac_header" >&5
19501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19503 echo $ECHO_N "(cached) $ECHO_C" >&6
19505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19508 # Is the header compilable?
19509 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19510 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19511 cat >conftest.
$ac_ext <<_ACEOF
19512 #line $LINENO "configure"
19515 cat confdefs.h
>>conftest.
$ac_ext
19516 cat >>conftest.
$ac_ext <<_ACEOF
19517 /* end confdefs.h. */
19518 $ac_includes_default
19519 #include <$ac_header>
19521 rm -f conftest.
$ac_objext
19522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19523 (eval $ac_compile) 2>&5
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); } &&
19527 { ac_try
='test -s conftest.$ac_objext'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; }; then
19533 ac_header_compiler
=yes
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.
$ac_ext >&5
19538 ac_header_compiler
=no
19540 rm -f conftest.
$ac_objext conftest.
$ac_ext
19541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19542 echo "${ECHO_T}$ac_header_compiler" >&6
19544 # Is the header present?
19545 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19547 cat >conftest.
$ac_ext <<_ACEOF
19548 #line $LINENO "configure"
19551 cat confdefs.h
>>conftest.
$ac_ext
19552 cat >>conftest.
$ac_ext <<_ACEOF
19553 /* end confdefs.h. */
19554 #include <$ac_header>
19556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19557 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19559 grep -v '^ *+' conftest.er1
>conftest.err
19561 cat conftest.err
>&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); } >/dev
/null
; then
19564 if test -s conftest.err
; then
19565 ac_cpp_err
=$ac_c_preproc_warn_flag
19572 if test -z "$ac_cpp_err"; then
19573 ac_header_preproc
=yes
19575 echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.
$ac_ext >&5
19578 ac_header_preproc
=no
19580 rm -f conftest.err conftest.
$ac_ext
19581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19582 echo "${ECHO_T}$ac_header_preproc" >&6
19584 # So? What about this header?
19585 case $ac_header_compiler:$ac_header_preproc in
19587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19593 ## ------------------------------------ ##
19594 ## Report this to bug-autoconf@gnu.org. ##
19595 ## ------------------------------------ ##
19598 sed "s/^/$as_me: WARNING: /" >&2
19601 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19602 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19603 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19604 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19609 ## ------------------------------------ ##
19610 ## Report this to bug-autoconf@gnu.org. ##
19611 ## ------------------------------------ ##
19614 sed "s/^/$as_me: WARNING: /" >&2
19617 echo "$as_me:$LINENO: checking for $ac_header" >&5
19618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19620 echo $ECHO_N "(cached) $ECHO_C" >&6
19622 eval "$as_ac_Header=$ac_header_preproc"
19624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19629 cat >>confdefs.h
<<_ACEOF
19630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19637 if test "${ac_cv_header_windows_h+set}" = set; then
19638 echo "$as_me:$LINENO: checking for windows.h" >&5
19639 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19640 if test "${ac_cv_header_windows_h+set}" = set; then
19641 echo $ECHO_N "(cached) $ECHO_C" >&6
19643 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19644 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19646 # Is the header compilable?
19647 echo "$as_me:$LINENO: checking windows.h usability" >&5
19648 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19649 cat >conftest.
$ac_ext <<_ACEOF
19650 #line $LINENO "configure"
19653 cat confdefs.h
>>conftest.
$ac_ext
19654 cat >>conftest.
$ac_ext <<_ACEOF
19655 /* end confdefs.h. */
19656 $ac_includes_default
19657 #include <windows.h>
19659 rm -f conftest.
$ac_objext
19660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19661 (eval $ac_compile) 2>&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); } &&
19665 { ac_try
='test -s conftest.$ac_objext'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; }; then
19671 ac_header_compiler
=yes
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.
$ac_ext >&5
19676 ac_header_compiler
=no
19678 rm -f conftest.
$ac_objext conftest.
$ac_ext
19679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19680 echo "${ECHO_T}$ac_header_compiler" >&6
19682 # Is the header present?
19683 echo "$as_me:$LINENO: checking windows.h presence" >&5
19684 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19685 cat >conftest.
$ac_ext <<_ACEOF
19686 #line $LINENO "configure"
19689 cat confdefs.h
>>conftest.
$ac_ext
19690 cat >>conftest.
$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 #include <windows.h>
19694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19695 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19697 grep -v '^ *+' conftest.er1
>conftest.err
19699 cat conftest.err
>&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } >/dev
/null
; then
19702 if test -s conftest.err
; then
19703 ac_cpp_err
=$ac_c_preproc_warn_flag
19710 if test -z "$ac_cpp_err"; then
19711 ac_header_preproc
=yes
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.
$ac_ext >&5
19716 ac_header_preproc
=no
19718 rm -f conftest.err conftest.
$ac_ext
19719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19720 echo "${ECHO_T}$ac_header_preproc" >&6
19722 # So? What about this header?
19723 case $ac_header_compiler:$ac_header_preproc in
19725 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19726 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19727 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19728 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19731 ## ------------------------------------ ##
19732 ## Report this to bug-autoconf@gnu.org. ##
19733 ## ------------------------------------ ##
19736 sed "s/^/$as_me: WARNING: /" >&2
19739 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19740 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19741 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19742 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19743 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19744 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19747 ## ------------------------------------ ##
19748 ## Report this to bug-autoconf@gnu.org. ##
19749 ## ------------------------------------ ##
19752 sed "s/^/$as_me: WARNING: /" >&2
19755 echo "$as_me:$LINENO: checking for windows.h" >&5
19756 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19757 if test "${ac_cv_header_windows_h+set}" = set; then
19758 echo $ECHO_N "(cached) $ECHO_C" >&6
19760 ac_cv_header_windows_h
=$ac_header_preproc
19762 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19763 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19766 if test $ac_cv_header_windows_h = yes; then
19770 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19771 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19772 { (exit 1); exit 1; }; }
19778 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19780 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19781 LIBS
="$LIBS -loleacc"
19786 LIBS
="$LIBS -lkernel32 -luser32"
19787 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
19790 if test "$wxUSE_ODBC" = "sys" ; then
19793 if test "$wxUSE_ODBC" = "yes" ; then
19794 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
19795 cat >>confdefs.h
<<\_ACEOF
19796 #define wxUSE_ODBC 1
19801 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19802 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
19804 WIN32INSTALL
=win32install
19807 if test "$wxUSE_GUI" = "yes"; then
19816 if test "$wxUSE_MSW" = 1 ; then
19822 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19826 if test "$wxUSE_GTK" = 1; then
19827 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19828 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19830 gtk_version_cached
=1
19831 if test "${wx_cv_lib_gtk+set}" = set; then
19832 echo $ECHO_N "(cached) $ECHO_C" >&6
19835 gtk_version_cached
=0
19836 echo "$as_me:$LINENO: result: " >&5
19837 echo "${ECHO_T}" >&6
19840 if test "$wxUSE_THREADS" = "yes"; then
19841 GTK_MODULES
=gthread
19845 if test "x$wxUSE_GTK2" = "xyes"; then
19846 # Check whether --enable-gtktest or --disable-gtktest was given.
19847 if test "${enable_gtktest+set}" = set; then
19848 enableval
="$enable_gtktest"
19854 pkg_config_args
=gtk
+-2.0
19855 for module
in .
$GTK_MODULES
19859 pkg_config_args
="$pkg_config_args gthread-2.0"
19866 # Extract the first word of "pkg-config", so it can be a program name with args.
19867 set dummy pkg
-config; ac_word
=$2
19868 echo "$as_me:$LINENO: checking for $ac_word" >&5
19869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19870 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19871 echo $ECHO_N "(cached) $ECHO_C" >&6
19873 case $PKG_CONFIG in
19875 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19879 for as_dir
in $PATH
19882 test -z "$as_dir" && as_dir
=.
19883 for ac_exec_ext
in '' $ac_executable_extensions; do
19884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19885 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19892 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
19896 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19898 if test -n "$PKG_CONFIG"; then
19899 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19900 echo "${ECHO_T}$PKG_CONFIG" >&6
19902 echo "$as_me:$LINENO: result: no" >&5
19903 echo "${ECHO_T}no" >&6
19907 if test x
$PKG_CONFIG != xno
; then
19908 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
19911 echo *** pkg
-config too old
; version
0.7 or better required.
19919 min_gtk_version
=2.0.0
19920 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19921 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19923 if test x
$PKG_CONFIG != xno
; then
19924 ## don't try to run the test against uninstalled libtool libs
19925 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19926 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19930 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19937 if test x
"$no_gtk" = x
; then
19938 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
19939 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
19940 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19942 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19944 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
19945 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19946 if test "x$enable_gtktest" = "xyes" ; then
19947 ac_save_CFLAGS
="$CFLAGS"
19948 ac_save_LIBS
="$LIBS"
19949 CFLAGS
="$CFLAGS $GTK_CFLAGS"
19950 LIBS
="$GTK_LIBS $LIBS"
19952 if test "$cross_compiling" = yes; then
19953 echo $ac_n "cross compiling; assumed OK... $ac_c"
19955 cat >conftest.
$ac_ext <<_ACEOF
19956 #line $LINENO "configure"
19959 cat confdefs.h
>>conftest.
$ac_ext
19960 cat >>conftest.
$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19963 #include <gtk/gtk.h>
19965 #include <stdlib.h>
19970 int major, minor, micro;
19973 system ("touch conf.gtktest");
19975 /* HP/UX 9 (%@#!) writes to sscanf strings */
19976 tmp_version = g_strdup("$min_gtk_version");
19977 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
19978 printf("%s, bad version string\n", "$min_gtk_version");
19982 if ((gtk_major_version != $gtk_config_major_version) ||
19983 (gtk_minor_version != $gtk_config_minor_version) ||
19984 (gtk_micro_version != $gtk_config_micro_version))
19986 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19987 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19988 gtk_major_version, gtk_minor_version, gtk_micro_version);
19989 printf ("*** was found! If pkg-config was correct, then it is best\n");
19990 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19991 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19992 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19993 printf("*** required on your system.\n");
19994 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19995 printf("*** to point to the correct configuration files\n");
19997 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19998 (gtk_minor_version != GTK_MINOR_VERSION) ||
19999 (gtk_micro_version != GTK_MICRO_VERSION))
20001 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20002 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20003 printf("*** library (version %d.%d.%d)\n",
20004 gtk_major_version, gtk_minor_version, gtk_micro_version);
20008 if ((gtk_major_version > major) ||
20009 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20010 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20016 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20017 gtk_major_version, gtk_minor_version, gtk_micro_version);
20018 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20019 major, minor, micro);
20020 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20022 printf("*** If you have already installed a sufficiently new version, this error\n");
20023 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20024 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20025 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20026 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20027 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20028 printf("*** so that the correct libraries are found at run-time))\n");
20035 rm -f conftest
$ac_exeext
20036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20037 (eval $ac_link) 2>&5
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20042 (eval $ac_try) 2>&5
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); }; }; then
20048 echo "$as_me: program exited with status $ac_status" >&5
20049 echo "$as_me: failed program was:" >&5
20050 sed 's/^/| /' conftest.
$ac_ext >&5
20052 ( exit $ac_status )
20055 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20057 CFLAGS
="$ac_save_CFLAGS"
20058 LIBS
="$ac_save_LIBS"
20061 if test "x$no_gtk" = x
; then
20062 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20063 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20066 echo "$as_me:$LINENO: result: no" >&5
20067 echo "${ECHO_T}no" >&6
20068 if test "$PKG_CONFIG" = "no" ; then
20069 echo "*** A new enough version of pkg-config was not found."
20070 echo "*** See http://pkgconfig.sourceforge.net"
20072 if test -f conf.gtktest
; then
20075 echo "*** Could not run GTK+ test program, checking why..."
20076 ac_save_CFLAGS
="$CFLAGS"
20077 ac_save_LIBS
="$LIBS"
20078 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20079 LIBS
="$LIBS $GTK_LIBS"
20080 cat >conftest.
$ac_ext <<_ACEOF
20081 #line $LINENO "configure"
20084 cat confdefs.h
>>conftest.
$ac_ext
20085 cat >>conftest.
$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20088 #include <gtk/gtk.h>
20094 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20099 rm -f conftest.
$ac_objext conftest
$ac_exeext
20100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20101 (eval $ac_link) 2>&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } &&
20105 { ac_try
='test -s conftest$ac_exeext'
20106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; }; then
20111 echo "*** The test program compiled, but did not run. This usually means"
20112 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20113 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20114 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20115 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20116 echo "*** is required on your system"
20118 echo "*** If you have an old version installed, it is best to remove it, although"
20119 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.
$ac_ext >&5
20124 echo "*** The test program failed to compile or link. See the file config.log for the"
20125 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20127 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20128 CFLAGS
="$ac_save_CFLAGS"
20129 LIBS
="$ac_save_LIBS"
20142 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20143 if test "${with_gtk_prefix+set}" = set; then
20144 withval
="$with_gtk_prefix"
20145 gtk_config_prefix
="$withval"
20147 gtk_config_prefix
=""
20150 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20151 if test "${with_gtk_exec_prefix+set}" = set; then
20152 withval
="$with_gtk_exec_prefix"
20153 gtk_config_exec_prefix
="$withval"
20155 gtk_config_exec_prefix
=""
20157 # Check whether --enable-gtktest or --disable-gtktest was given.
20158 if test "${enable_gtktest+set}" = set; then
20159 enableval
="$enable_gtktest"
20165 for module
in .
$GTK_MODULES
20169 gtk_config_args
="$gtk_config_args gthread"
20174 if test x
$gtk_config_exec_prefix != x
; then
20175 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20176 if test x
${GTK_CONFIG+set} != xset
; then
20177 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20180 if test x
$gtk_config_prefix != x
; then
20181 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20182 if test x
${GTK_CONFIG+set} != xset
; then
20183 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20187 # Extract the first word of "gtk-config", so it can be a program name with args.
20188 set dummy gtk
-config; ac_word
=$2
20189 echo "$as_me:$LINENO: checking for $ac_word" >&5
20190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20191 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20192 echo $ECHO_N "(cached) $ECHO_C" >&6
20194 case $GTK_CONFIG in
20196 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20200 for as_dir
in $PATH
20203 test -z "$as_dir" && as_dir
=.
20204 for ac_exec_ext
in '' $ac_executable_extensions; do
20205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20206 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20213 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20217 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20219 if test -n "$GTK_CONFIG"; then
20220 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20221 echo "${ECHO_T}$GTK_CONFIG" >&6
20223 echo "$as_me:$LINENO: result: no" >&5
20224 echo "${ECHO_T}no" >&6
20227 min_gtk_version
=1.2.7
20228 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20229 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20231 if test "$GTK_CONFIG" = "no" ; then
20234 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20235 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20236 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20237 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20238 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20239 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20240 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20241 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20242 if test "x$enable_gtktest" = "xyes" ; then
20243 ac_save_CFLAGS
="$CFLAGS"
20244 ac_save_LIBS
="$LIBS"
20245 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20246 LIBS
="$GTK_LIBS $LIBS"
20248 if test "$cross_compiling" = yes; then
20249 echo $ac_n "cross compiling; assumed OK... $ac_c"
20251 cat >conftest.
$ac_ext <<_ACEOF
20252 #line $LINENO "configure"
20255 cat confdefs.h
>>conftest.
$ac_ext
20256 cat >>conftest.
$ac_ext <<_ACEOF
20257 /* end confdefs.h. */
20259 #include <gtk/gtk.h>
20261 #include <stdlib.h>
20266 int major, minor, micro;
20269 system ("touch conf.gtktest");
20271 /* HP/UX 9 (%@#!) writes to sscanf strings */
20272 tmp_version = g_strdup("$min_gtk_version");
20273 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20274 printf("%s, bad version string\n", "$min_gtk_version");
20278 if ((gtk_major_version != $gtk_config_major_version) ||
20279 (gtk_minor_version != $gtk_config_minor_version) ||
20280 (gtk_micro_version != $gtk_config_micro_version))
20282 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20283 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20284 gtk_major_version, gtk_minor_version, gtk_micro_version);
20285 printf ("*** was found! If gtk-config was correct, then it is best\n");
20286 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20287 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20288 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20289 printf("*** required on your system.\n");
20290 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20291 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20292 printf("*** before re-running configure\n");
20294 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20295 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20296 (gtk_minor_version != GTK_MINOR_VERSION) ||
20297 (gtk_micro_version != GTK_MICRO_VERSION))
20299 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20300 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20301 printf("*** library (version %d.%d.%d)\n",
20302 gtk_major_version, gtk_minor_version, gtk_micro_version);
20304 #endif /* defined (GTK_MAJOR_VERSION) ... */
20307 if ((gtk_major_version > major) ||
20308 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20309 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20315 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20316 gtk_major_version, gtk_minor_version, gtk_micro_version);
20317 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20318 major, minor, micro);
20319 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20321 printf("*** If you have already installed a sufficiently new version, this error\n");
20322 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20323 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20324 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20325 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20326 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20327 printf("*** so that the correct libraries are found at run-time))\n");
20334 rm -f conftest
$ac_exeext
20335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20336 (eval $ac_link) 2>&5
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20341 (eval $ac_try) 2>&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); }; }; then
20347 echo "$as_me: program exited with status $ac_status" >&5
20348 echo "$as_me: failed program was:" >&5
20349 sed 's/^/| /' conftest.
$ac_ext >&5
20351 ( exit $ac_status )
20354 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20356 CFLAGS
="$ac_save_CFLAGS"
20357 LIBS
="$ac_save_LIBS"
20360 if test "x$no_gtk" = x
; then
20361 echo "$as_me:$LINENO: result: yes" >&5
20362 echo "${ECHO_T}yes" >&6
20363 wx_cv_lib_gtk
=1.2.7
20365 echo "$as_me:$LINENO: result: no" >&5
20366 echo "${ECHO_T}no" >&6
20367 if test "$GTK_CONFIG" = "no" ; then
20368 echo "*** The gtk-config script installed by GTK could not be found"
20369 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20370 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20371 echo "*** full path to gtk-config."
20373 if test -f conf.gtktest
; then
20376 echo "*** Could not run GTK test program, checking why..."
20377 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20378 LIBS
="$LIBS $GTK_LIBS"
20379 cat >conftest.
$ac_ext <<_ACEOF
20380 #line $LINENO "configure"
20383 cat confdefs.h
>>conftest.
$ac_ext
20384 cat >>conftest.
$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20387 #include <gtk/gtk.h>
20393 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20398 rm -f conftest.
$ac_objext conftest
$ac_exeext
20399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20400 (eval $ac_link) 2>&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); } &&
20404 { ac_try
='test -s conftest$ac_exeext'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; }; then
20410 echo "*** The test program compiled, but did not run. This usually means"
20411 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20412 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20413 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20414 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20415 echo "*** is required on your system"
20417 echo "*** If you have an old version installed, it is best to remove it, although"
20418 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20420 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20421 echo "*** came with the system with the command"
20423 echo "*** rpm --erase --nodeps gtk gtk-devel"
20425 echo "$as_me: failed program was:" >&5
20426 sed 's/^/| /' conftest.
$ac_ext >&5
20428 echo "*** The test program failed to compile or link. See the file config.log for the"
20429 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20430 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20431 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20433 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20434 CFLAGS
="$ac_save_CFLAGS"
20435 LIBS
="$ac_save_LIBS"
20447 if test -z "$wx_cv_lib_gtk"; then
20449 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20450 if test "${with_gtk_prefix+set}" = set; then
20451 withval
="$with_gtk_prefix"
20452 gtk_config_prefix
="$withval"
20454 gtk_config_prefix
=""
20457 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20458 if test "${with_gtk_exec_prefix+set}" = set; then
20459 withval
="$with_gtk_exec_prefix"
20460 gtk_config_exec_prefix
="$withval"
20462 gtk_config_exec_prefix
=""
20464 # Check whether --enable-gtktest or --disable-gtktest was given.
20465 if test "${enable_gtktest+set}" = set; then
20466 enableval
="$enable_gtktest"
20472 for module
in .
$GTK_MODULES
20476 gtk_config_args
="$gtk_config_args gthread"
20481 if test x
$gtk_config_exec_prefix != x
; then
20482 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20483 if test x
${GTK_CONFIG+set} != xset
; then
20484 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
20487 if test x
$gtk_config_prefix != x
; then
20488 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
20489 if test x
${GTK_CONFIG+set} != xset
; then
20490 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
20494 # Extract the first word of "gtk-config", so it can be a program name with args.
20495 set dummy gtk
-config; ac_word
=$2
20496 echo "$as_me:$LINENO: checking for $ac_word" >&5
20497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20498 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20499 echo $ECHO_N "(cached) $ECHO_C" >&6
20501 case $GTK_CONFIG in
20503 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
20506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20507 for as_dir
in $PATH
20510 test -z "$as_dir" && as_dir
=.
20511 for ac_exec_ext
in '' $ac_executable_extensions; do
20512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20513 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20520 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
20524 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
20526 if test -n "$GTK_CONFIG"; then
20527 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20528 echo "${ECHO_T}$GTK_CONFIG" >&6
20530 echo "$as_me:$LINENO: result: no" >&5
20531 echo "${ECHO_T}no" >&6
20534 min_gtk_version
=1.2.3
20535 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20536 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20538 if test "$GTK_CONFIG" = "no" ; then
20541 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
20542 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
20543 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
20544 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20545 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
20546 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20547 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
20548 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20549 if test "x$enable_gtktest" = "xyes" ; then
20550 ac_save_CFLAGS
="$CFLAGS"
20551 ac_save_LIBS
="$LIBS"
20552 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20553 LIBS
="$GTK_LIBS $LIBS"
20555 if test "$cross_compiling" = yes; then
20556 echo $ac_n "cross compiling; assumed OK... $ac_c"
20558 cat >conftest.
$ac_ext <<_ACEOF
20559 #line $LINENO "configure"
20562 cat confdefs.h
>>conftest.
$ac_ext
20563 cat >>conftest.
$ac_ext <<_ACEOF
20564 /* end confdefs.h. */
20566 #include <gtk/gtk.h>
20568 #include <stdlib.h>
20573 int major, minor, micro;
20576 system ("touch conf.gtktest");
20578 /* HP/UX 9 (%@#!) writes to sscanf strings */
20579 tmp_version = g_strdup("$min_gtk_version");
20580 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
20581 printf("%s, bad version string\n", "$min_gtk_version");
20585 if ((gtk_major_version != $gtk_config_major_version) ||
20586 (gtk_minor_version != $gtk_config_minor_version) ||
20587 (gtk_micro_version != $gtk_config_micro_version))
20589 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20590 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20591 gtk_major_version, gtk_minor_version, gtk_micro_version);
20592 printf ("*** was found! If gtk-config was correct, then it is best\n");
20593 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20594 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20595 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20596 printf("*** required on your system.\n");
20597 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20598 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20599 printf("*** before re-running configure\n");
20601 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20602 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20603 (gtk_minor_version != GTK_MINOR_VERSION) ||
20604 (gtk_micro_version != GTK_MICRO_VERSION))
20606 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20607 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20608 printf("*** library (version %d.%d.%d)\n",
20609 gtk_major_version, gtk_minor_version, gtk_micro_version);
20611 #endif /* defined (GTK_MAJOR_VERSION) ... */
20614 if ((gtk_major_version > major) ||
20615 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20616 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20622 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20623 gtk_major_version, gtk_minor_version, gtk_micro_version);
20624 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20625 major, minor, micro);
20626 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20628 printf("*** If you have already installed a sufficiently new version, this error\n");
20629 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20630 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20631 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20632 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20633 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20634 printf("*** so that the correct libraries are found at run-time))\n");
20641 rm -f conftest
$ac_exeext
20642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20643 (eval $ac_link) 2>&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; }; then
20654 echo "$as_me: program exited with status $ac_status" >&5
20655 echo "$as_me: failed program was:" >&5
20656 sed 's/^/| /' conftest.
$ac_ext >&5
20658 ( exit $ac_status )
20661 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20663 CFLAGS
="$ac_save_CFLAGS"
20664 LIBS
="$ac_save_LIBS"
20667 if test "x$no_gtk" = x
; then
20668 echo "$as_me:$LINENO: result: yes" >&5
20669 echo "${ECHO_T}yes" >&6
20670 wx_cv_lib_gtk
=1.2.3
20672 echo "$as_me:$LINENO: result: no" >&5
20673 echo "${ECHO_T}no" >&6
20674 if test "$GTK_CONFIG" = "no" ; then
20675 echo "*** The gtk-config script installed by GTK could not be found"
20676 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20677 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20678 echo "*** full path to gtk-config."
20680 if test -f conf.gtktest
; then
20683 echo "*** Could not run GTK test program, checking why..."
20684 CFLAGS
="$CFLAGS $GTK_CFLAGS"
20685 LIBS
="$LIBS $GTK_LIBS"
20686 cat >conftest.
$ac_ext <<_ACEOF
20687 #line $LINENO "configure"
20690 cat confdefs.h
>>conftest.
$ac_ext
20691 cat >>conftest.
$ac_ext <<_ACEOF
20692 /* end confdefs.h. */
20694 #include <gtk/gtk.h>
20700 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20705 rm -f conftest.
$ac_objext conftest
$ac_exeext
20706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20707 (eval $ac_link) 2>&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } &&
20711 { ac_try
='test -s conftest$ac_exeext'
20712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20713 (eval $ac_try) 2>&5
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); }; }; then
20717 echo "*** The test program compiled, but did not run. This usually means"
20718 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20719 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20720 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20721 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20722 echo "*** is required on your system"
20724 echo "*** If you have an old version installed, it is best to remove it, although"
20725 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20727 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20728 echo "*** came with the system with the command"
20730 echo "*** rpm --erase --nodeps gtk gtk-devel"
20732 echo "$as_me: failed program was:" >&5
20733 sed 's/^/| /' conftest.
$ac_ext >&5
20735 echo "*** The test program failed to compile or link. See the file config.log for the"
20736 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20737 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20738 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20740 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20741 CFLAGS
="$ac_save_CFLAGS"
20742 LIBS
="$ac_save_LIBS"
20756 if test -z "$wx_cv_lib_gtk"; then
20759 wx_cv_cflags_gtk
=$GTK_CFLAGS
20760 wx_cv_libs_gtk
=$GTK_LIBS
20767 if test "$gtk_version_cached" = 1; then
20768 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20769 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20772 case "$wx_cv_lib_gtk" in
20781 *) { { echo "$as_me:$LINENO: error:
20782 Please check that gtk-config is in path, the directory
20783 where GTK+ libraries are installed (returned by
20784 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20785 equivalent variable and GTK+ is version 1.2.3 or above.
20787 echo "$as_me: error:
20788 Please check that gtk-config is in path, the directory
20789 where GTK+ libraries are installed (returned by
20790 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20791 equivalent variable and GTK+ is version 1.2.3 or above.
20793 { (exit 1); exit 1; }; }
20797 if test "$WXGTK20" = 1; then
20798 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20802 if test -z "$PKG_CONFIG"; then
20803 # Extract the first word of "pkg-config", so it can be a program name with args.
20804 set dummy pkg
-config; ac_word
=$2
20805 echo "$as_me:$LINENO: checking for $ac_word" >&5
20806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20807 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20808 echo $ECHO_N "(cached) $ECHO_C" >&6
20810 case $PKG_CONFIG in
20812 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
20815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20816 for as_dir
in $PATH
20819 test -z "$as_dir" && as_dir
=.
20820 for ac_exec_ext
in '' $ac_executable_extensions; do
20821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20822 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
20823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20829 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
20833 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
20835 if test -n "$PKG_CONFIG"; then
20836 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20837 echo "${ECHO_T}$PKG_CONFIG" >&6
20839 echo "$as_me:$LINENO: result: no" >&5
20840 echo "${ECHO_T}no" >&6
20845 if test "$PKG_CONFIG" = "no" ; then
20846 echo "*** The pkg-config script could not be found. Make sure it is"
20847 echo "*** in your path, or set the PKG_CONFIG environment variable"
20848 echo "*** to the full path to pkg-config."
20849 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20851 PKG_CONFIG_MIN_VERSION
=0.9.0
20852 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20853 echo "$as_me:$LINENO: checking for pangoft2" >&5
20854 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20856 if $PKG_CONFIG --exists "pangoft2" ; then
20857 echo "$as_me:$LINENO: result: yes" >&5
20858 echo "${ECHO_T}yes" >&6
20861 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20862 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20863 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
20864 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20865 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20867 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20868 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20869 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
20870 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20871 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20875 ## If we have a custom action on failure, don't print errors, but
20876 ## do set a variable so people can do so.
20877 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20884 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20885 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20889 if test $succeeded = yes; then
20891 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
20892 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20896 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20897 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20898 wxUSE_PRINTING_ARCHITECTURE
="no"
20905 if test "$wxUSE_UNICODE" = "yes"; then
20906 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20907 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20912 if test "$USE_DARWIN" != 1; then
20914 for ac_func
in poll
20916 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20917 echo "$as_me:$LINENO: checking for $ac_func" >&5
20918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20919 if eval "test \"\${$as_ac_var+set}\" = set"; then
20920 echo $ECHO_N "(cached) $ECHO_C" >&6
20922 cat >conftest.
$ac_ext <<_ACEOF
20923 #line $LINENO "configure"
20926 cat confdefs.h
>>conftest.
$ac_ext
20927 cat >>conftest.
$ac_ext <<_ACEOF
20928 /* end confdefs.h. */
20929 /* System header to define __stub macros and hopefully few prototypes,
20930 which can conflict with char $ac_func (); below.
20931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20932 <limits.h> exists even on freestanding compilers. */
20934 # include <limits.h>
20936 # include <assert.h>
20938 /* Override any gcc2 internal prototype to avoid an error. */
20943 /* We use char because int might match the return type of a gcc2
20944 builtin and then its argument prototype would still apply. */
20946 /* The GNU C library defines this for functions which it implements
20947 to always fail with ENOSYS. Some functions are actually named
20948 something starting with __ and the normal name is an alias. */
20949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20952 char (*f) () = $ac_func;
20961 return f != $ac_func;
20966 rm -f conftest.
$ac_objext conftest
$ac_exeext
20967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20968 (eval $ac_link) 2>&5
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); } &&
20972 { ac_try
='test -s conftest$ac_exeext'
20973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20974 (eval $ac_try) 2>&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); }; }; then
20978 eval "$as_ac_var=yes"
20980 echo "$as_me: failed program was:" >&5
20981 sed 's/^/| /' conftest.
$ac_ext >&5
20983 eval "$as_ac_var=no"
20985 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20989 if test `eval echo '${'$as_ac_var'}'` = yes; then
20990 cat >>confdefs.h
<<_ACEOF
20991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20999 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
21000 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21002 AFMINSTALL
=afminstall
21006 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21007 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21008 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21009 echo $ECHO_N "(cached) $ECHO_C" >&6
21011 ac_check_lib_save_LIBS
=$LIBS
21013 cat >conftest.
$ac_ext <<_ACEOF
21014 #line $LINENO "configure"
21017 cat confdefs.h
>>conftest.
$ac_ext
21018 cat >>conftest.
$ac_ext <<_ACEOF
21019 /* end confdefs.h. */
21021 /* Override any gcc2 internal prototype to avoid an error. */
21025 /* We use char because int might match the return type of a gcc2
21026 builtin and then its argument prototype would still apply. */
21027 char gdk_im_open ();
21036 rm -f conftest.
$ac_objext conftest
$ac_exeext
21037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21038 (eval $ac_link) 2>&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); } &&
21042 { ac_try
='test -s conftest$ac_exeext'
21043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21044 (eval $ac_try) 2>&5
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); }; }; then
21048 ac_cv_lib_gdk_gdk_im_open
=yes
21050 echo "$as_me: failed program was:" >&5
21051 sed 's/^/| /' conftest.
$ac_ext >&5
21053 ac_cv_lib_gdk_gdk_im_open
=no
21055 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21056 LIBS
=$ac_check_lib_save_LIBS
21058 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21059 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21060 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21061 cat >>confdefs.h
<<\_ACEOF
21069 if test "$wxUSE_MGL" = 1; then
21070 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21071 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21072 if test "x$MGL_ROOT" = x
; then
21073 echo "$as_me:$LINENO: result: not found" >&5
21074 echo "${ECHO_T}not found" >&6
21075 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21076 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21077 { (exit 1); exit 1; }; }
21079 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21080 echo "${ECHO_T}$MGL_ROOT" >&6
21083 echo "$as_me:$LINENO: checking for libmgl location" >&5
21084 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21087 if test "x$wxUSE_SHARED" = xyes
; then
21088 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21090 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21094 mgl_os_candidates
="dos32/dj2"
21097 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21098 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21099 { (exit 1); exit 1; }; }
21105 for mgl_os_i
in $mgl_os_candidates ; do
21106 if test "x$mgl_os" = x
; then
21107 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21108 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
21109 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
21114 if test "x$mgl_lib_type" = x
; then
21115 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
21116 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
21117 mgl_lib_type
=release
21124 if test "x$mgl_os" = x
; then
21125 echo "$as_me:$LINENO: result: not found" >&5
21126 echo "${ECHO_T}not found" >&6
21127 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21128 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21129 { (exit 1); exit 1; }; }
21131 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21132 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21134 wxUSE_UNIVERSAL
="yes"
21136 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
21137 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21139 AFMINSTALL
=afminstall
21144 if test "$wxUSE_MICROWIN" = 1; then
21145 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21146 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21147 if test "x$MICROWINDOWS" = x
; then
21148 echo "$as_me:$LINENO: result: not found" >&5
21149 echo "${ECHO_T}not found" >&6
21150 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21151 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21152 { (exit 1); exit 1; }; }
21154 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21155 echo "${ECHO_T}$MICROWINDOWS" >&6
21158 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
21159 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21160 echo "${ECHO_T}MicroWindows' libraries found." >&6
21162 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21163 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21164 { (exit 1); exit 1; }; }
21167 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
21168 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21170 wxUSE_UNIVERSAL
="yes"
21172 AFMINSTALL
=afminstall
21174 GUIDIST
=MICROWIN_DIST
21176 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21179 if test "$wxUSE_X11" = 1; then
21180 echo "$as_me:$LINENO: checking for X" >&5
21181 echo $ECHO_N "checking for X... $ECHO_C" >&6
21184 # Check whether --with-x or --without-x was given.
21185 if test "${with_x+set}" = set; then
21189 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21190 if test "x$with_x" = xno
; then
21191 # The user explicitly disabled X.
21194 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
21195 # Both variables are already set.
21198 if test "${ac_cv_have_x+set}" = set; then
21199 echo $ECHO_N "(cached) $ECHO_C" >&6
21201 # One or both of the vars are not set, and there is no cached value.
21202 ac_x_includes
=no ac_x_libraries
=no
21203 rm -fr conftest.dir
21204 if mkdir conftest.dir
; then
21206 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21207 cat >Imakefile
<<'_ACEOF'
21209 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21211 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
21212 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21213 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21214 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21215 for ac_extension
in a so sl
; do
21216 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
21217 test -f $ac_im_libdir/libX11.
$ac_extension; then
21218 ac_im_usrlibdir
=$ac_im_libdir; break
21221 # Screen out bogus values from the imake configuration. They are
21222 # bogus both because they are the default anyway, and because
21223 # using them would break gcc on systems where it needs fixed includes.
21224 case $ac_im_incroot in
21226 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
21228 case $ac_im_usrlibdir in
21229 /usr
/lib
| /lib
) ;;
21230 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
21234 rm -fr conftest.dir
21237 # Standard set of common directories for X headers.
21238 # Check X11 before X11Rn because it is often a symlink to the current release.
21250 /usr/local/X11/include
21251 /usr/local/X11R6/include
21252 /usr/local/X11R5/include
21253 /usr/local/X11R4/include
21255 /usr/local/include/X11
21256 /usr/local/include/X11R6
21257 /usr/local/include/X11R5
21258 /usr/local/include/X11R4
21262 /usr/XFree86/include/X11
21266 /usr/unsupported/include
21267 /usr/athena/include
21268 /usr/local/x11r5/include
21269 /usr/lpp/Xamples/include
21271 /usr/openwin/include
21272 /usr/openwin/share/include'
21274 if test "$ac_x_includes" = no
; then
21275 # Guess where to find include files, by looking for Intrinsic.h.
21276 # First, try using that file with no special directory specified.
21277 cat >conftest.
$ac_ext <<_ACEOF
21278 #line $LINENO "configure"
21281 cat confdefs.h
>>conftest.
$ac_ext
21282 cat >>conftest.
$ac_ext <<_ACEOF
21283 /* end confdefs.h. */
21284 #include <X11/Intrinsic.h>
21286 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21287 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21289 grep -v '^ *+' conftest.er1
>conftest.err
21291 cat conftest.err
>&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } >/dev
/null
; then
21294 if test -s conftest.err
; then
21295 ac_cpp_err
=$ac_c_preproc_warn_flag
21302 if test -z "$ac_cpp_err"; then
21303 # We can compile using X headers with no special include directory.
21306 echo "$as_me: failed program was:" >&5
21307 sed 's/^/| /' conftest.
$ac_ext >&5
21309 for ac_dir
in $ac_x_header_dirs; do
21310 if test -r "$ac_dir/X11/Intrinsic.h"; then
21311 ac_x_includes
=$ac_dir
21316 rm -f conftest.err conftest.
$ac_ext
21317 fi # $ac_x_includes = no
21319 if test "$ac_x_libraries" = no
; then
21320 # Check for the libraries.
21321 # See if we find them without any special options.
21322 # Don't add to $LIBS permanently.
21325 cat >conftest.
$ac_ext <<_ACEOF
21326 #line $LINENO "configure"
21329 cat confdefs.h
>>conftest.
$ac_ext
21330 cat >>conftest.
$ac_ext <<_ACEOF
21331 /* end confdefs.h. */
21332 #include <X11/Intrinsic.h>
21341 rm -f conftest.
$ac_objext conftest
$ac_exeext
21342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21343 (eval $ac_link) 2>&5
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); } &&
21347 { ac_try
='test -s conftest$ac_exeext'
21348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21349 (eval $ac_try) 2>&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); }; }; then
21354 # We can link X programs with no special library path.
21357 echo "$as_me: failed program was:" >&5
21358 sed 's/^/| /' conftest.
$ac_ext >&5
21361 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21363 # Don't even attempt the hair of trying to link an X program!
21364 for ac_extension
in a so sl
; do
21365 if test -r $ac_dir/libXt.
$ac_extension; then
21366 ac_x_libraries
=$ac_dir
21372 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21373 fi # $ac_x_libraries = no
21375 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
21376 # Didn't find X anywhere. Cache the known absence of X.
21377 ac_cv_have_x
="have_x=no"
21379 # Record where we found X for the cache.
21380 ac_cv_have_x
="have_x=yes \
21381 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21386 eval "$ac_cv_have_x"
21389 if test "$have_x" != yes; then
21390 echo "$as_me:$LINENO: result: $have_x" >&5
21391 echo "${ECHO_T}$have_x" >&6
21394 # If each of the values was on the command line, it overrides each guess.
21395 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
21396 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
21397 # Update the cache value to reflect the command line values.
21398 ac_cv_have_x
="have_x=yes \
21399 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21400 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21401 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21404 if test "$no_x" = yes; then
21405 # Not all programs may use this symbol, but it does not hurt to define it.
21407 cat >>confdefs.h
<<\_ACEOF
21408 #define X_DISPLAY_MISSING 1
21411 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
21413 if test -n "$x_includes"; then
21414 X_CFLAGS
="$X_CFLAGS -I$x_includes"
21417 # It would also be nice to do this for all -L options, not just this one.
21418 if test -n "$x_libraries"; then
21419 X_LIBS
="$X_LIBS -L$x_libraries"
21420 # For Solaris; some versions of Sun CC require a space after -R and
21421 # others require no space. Words are not sufficient . . . .
21422 case `(uname -sr) 2>/dev/null` in
21424 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21425 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21426 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
21427 cat >conftest.
$ac_ext <<_ACEOF
21428 #line $LINENO "configure"
21431 cat confdefs.h
>>conftest.
$ac_ext
21432 cat >>conftest.
$ac_ext <<_ACEOF
21433 /* end confdefs.h. */
21443 rm -f conftest.
$ac_objext conftest
$ac_exeext
21444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21445 (eval $ac_link) 2>&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } &&
21449 { ac_try
='test -s conftest$ac_exeext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21457 echo "$as_me: failed program was:" >&5
21458 sed 's/^/| /' conftest.
$ac_ext >&5
21462 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21463 if test $ac_R_nospace = yes; then
21464 echo "$as_me:$LINENO: result: no" >&5
21465 echo "${ECHO_T}no" >&6
21466 X_LIBS
="$X_LIBS -R$x_libraries"
21468 LIBS
="$ac_xsave_LIBS -R $x_libraries"
21469 cat >conftest.
$ac_ext <<_ACEOF
21470 #line $LINENO "configure"
21473 cat confdefs.h
>>conftest.
$ac_ext
21474 cat >>conftest.
$ac_ext <<_ACEOF
21475 /* end confdefs.h. */
21485 rm -f conftest.
$ac_objext conftest
$ac_exeext
21486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21487 (eval $ac_link) 2>&5
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); } &&
21491 { ac_try
='test -s conftest$ac_exeext'
21492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21493 (eval $ac_try) 2>&5
21495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21496 (exit $ac_status); }; }; then
21499 echo "$as_me: failed program was:" >&5
21500 sed 's/^/| /' conftest.
$ac_ext >&5
21504 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21505 if test $ac_R_space = yes; then
21506 echo "$as_me:$LINENO: result: yes" >&5
21507 echo "${ECHO_T}yes" >&6
21508 X_LIBS
="$X_LIBS -R $x_libraries"
21510 echo "$as_me:$LINENO: result: neither works" >&5
21511 echo "${ECHO_T}neither works" >&6
21514 LIBS
=$ac_xsave_LIBS
21518 # Check for system-dependent libraries X programs must link with.
21519 # Do this before checking for the system-independent R6 libraries
21520 # (-lICE), since we may need -lsocket or whatever for X linking.
21522 if test "$ISC" = yes; then
21523 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
21525 # Martyn Johnson says this is needed for Ultrix, if the X
21526 # libraries were built with DECnet support. And Karl Berry says
21527 # the Alpha needs dnet_stub (dnet does not exist).
21528 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
21529 cat >conftest.
$ac_ext <<_ACEOF
21530 #line $LINENO "configure"
21533 cat confdefs.h
>>conftest.
$ac_ext
21534 cat >>conftest.
$ac_ext <<_ACEOF
21535 /* end confdefs.h. */
21537 /* Override any gcc2 internal prototype to avoid an error. */
21541 /* We use char because int might match the return type of a gcc2
21542 builtin and then its argument prototype would still apply. */
21543 char XOpenDisplay ();
21552 rm -f conftest.
$ac_objext conftest
$ac_exeext
21553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21554 (eval $ac_link) 2>&5
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); } &&
21558 { ac_try
='test -s conftest$ac_exeext'
21559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21560 (eval $ac_try) 2>&5
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); }; }; then
21566 echo "$as_me: failed program was:" >&5
21567 sed 's/^/| /' conftest.
$ac_ext >&5
21569 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21570 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21571 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21572 echo $ECHO_N "(cached) $ECHO_C" >&6
21574 ac_check_lib_save_LIBS
=$LIBS
21575 LIBS
="-ldnet $LIBS"
21576 cat >conftest.
$ac_ext <<_ACEOF
21577 #line $LINENO "configure"
21580 cat confdefs.h
>>conftest.
$ac_ext
21581 cat >>conftest.
$ac_ext <<_ACEOF
21582 /* end confdefs.h. */
21584 /* Override any gcc2 internal prototype to avoid an error. */
21588 /* We use char because int might match the return type of a gcc2
21589 builtin and then its argument prototype would still apply. */
21599 rm -f conftest.
$ac_objext conftest
$ac_exeext
21600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21601 (eval $ac_link) 2>&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); } &&
21605 { ac_try
='test -s conftest$ac_exeext'
21606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21607 (eval $ac_try) 2>&5
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); }; }; then
21611 ac_cv_lib_dnet_dnet_ntoa
=yes
21613 echo "$as_me: failed program was:" >&5
21614 sed 's/^/| /' conftest.
$ac_ext >&5
21616 ac_cv_lib_dnet_dnet_ntoa
=no
21618 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21619 LIBS
=$ac_check_lib_save_LIBS
21621 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21622 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21623 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21624 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
21627 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
21628 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21629 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21630 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21631 echo $ECHO_N "(cached) $ECHO_C" >&6
21633 ac_check_lib_save_LIBS
=$LIBS
21634 LIBS
="-ldnet_stub $LIBS"
21635 cat >conftest.
$ac_ext <<_ACEOF
21636 #line $LINENO "configure"
21639 cat confdefs.h
>>conftest.
$ac_ext
21640 cat >>conftest.
$ac_ext <<_ACEOF
21641 /* end confdefs.h. */
21643 /* Override any gcc2 internal prototype to avoid an error. */
21647 /* We use char because int might match the return type of a gcc2
21648 builtin and then its argument prototype would still apply. */
21658 rm -f conftest.
$ac_objext conftest
$ac_exeext
21659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21660 (eval $ac_link) 2>&5
21662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663 (exit $ac_status); } &&
21664 { ac_try
='test -s conftest$ac_exeext'
21665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21666 (eval $ac_try) 2>&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); }; }; then
21670 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
21672 echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.
$ac_ext >&5
21675 ac_cv_lib_dnet_stub_dnet_ntoa
=no
21677 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21678 LIBS
=$ac_check_lib_save_LIBS
21680 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21681 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21682 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21683 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
21688 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21689 LIBS
="$ac_xsave_LIBS"
21691 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21692 # to get the SysV transport functions.
21693 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21695 # The nsl library prevents programs from opening the X display
21696 # on Irix 5.2, according to T.E. Dickey.
21697 # The functions gethostbyname, getservbyname, and inet_addr are
21698 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21699 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21700 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21701 if test "${ac_cv_func_gethostbyname+set}" = set; then
21702 echo $ECHO_N "(cached) $ECHO_C" >&6
21704 cat >conftest.
$ac_ext <<_ACEOF
21705 #line $LINENO "configure"
21708 cat confdefs.h
>>conftest.
$ac_ext
21709 cat >>conftest.
$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21711 /* System header to define __stub macros and hopefully few prototypes,
21712 which can conflict with char gethostbyname (); below.
21713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21714 <limits.h> exists even on freestanding compilers. */
21716 # include <limits.h>
21718 # include <assert.h>
21720 /* Override any gcc2 internal prototype to avoid an error. */
21725 /* We use char because int might match the return type of a gcc2
21726 builtin and then its argument prototype would still apply. */
21727 char gethostbyname ();
21728 /* The GNU C library defines this for functions which it implements
21729 to always fail with ENOSYS. Some functions are actually named
21730 something starting with __ and the normal name is an alias. */
21731 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21734 char (*f) () = gethostbyname;
21743 return f != gethostbyname;
21748 rm -f conftest.
$ac_objext conftest
$ac_exeext
21749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21750 (eval $ac_link) 2>&5
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); } &&
21754 { ac_try
='test -s conftest$ac_exeext'
21755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21756 (eval $ac_try) 2>&5
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); }; }; then
21760 ac_cv_func_gethostbyname
=yes
21762 echo "$as_me: failed program was:" >&5
21763 sed 's/^/| /' conftest.
$ac_ext >&5
21765 ac_cv_func_gethostbyname
=no
21767 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21769 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21770 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21772 if test $ac_cv_func_gethostbyname = no
; then
21773 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21774 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21775 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21776 echo $ECHO_N "(cached) $ECHO_C" >&6
21778 ac_check_lib_save_LIBS
=$LIBS
21780 cat >conftest.
$ac_ext <<_ACEOF
21781 #line $LINENO "configure"
21784 cat confdefs.h
>>conftest.
$ac_ext
21785 cat >>conftest.
$ac_ext <<_ACEOF
21786 /* end confdefs.h. */
21788 /* Override any gcc2 internal prototype to avoid an error. */
21792 /* We use char because int might match the return type of a gcc2
21793 builtin and then its argument prototype would still apply. */
21794 char gethostbyname ();
21803 rm -f conftest.
$ac_objext conftest
$ac_exeext
21804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21805 (eval $ac_link) 2>&5
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); } &&
21809 { ac_try
='test -s conftest$ac_exeext'
21810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21811 (eval $ac_try) 2>&5
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); }; }; then
21815 ac_cv_lib_nsl_gethostbyname
=yes
21817 echo "$as_me: failed program was:" >&5
21818 sed 's/^/| /' conftest.
$ac_ext >&5
21820 ac_cv_lib_nsl_gethostbyname
=no
21822 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21823 LIBS
=$ac_check_lib_save_LIBS
21825 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21826 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21827 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21828 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
21831 if test $ac_cv_lib_nsl_gethostbyname = no
; then
21832 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21833 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21834 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21835 echo $ECHO_N "(cached) $ECHO_C" >&6
21837 ac_check_lib_save_LIBS
=$LIBS
21839 cat >conftest.
$ac_ext <<_ACEOF
21840 #line $LINENO "configure"
21843 cat confdefs.h
>>conftest.
$ac_ext
21844 cat >>conftest.
$ac_ext <<_ACEOF
21845 /* end confdefs.h. */
21847 /* Override any gcc2 internal prototype to avoid an error. */
21851 /* We use char because int might match the return type of a gcc2
21852 builtin and then its argument prototype would still apply. */
21853 char gethostbyname ();
21862 rm -f conftest.
$ac_objext conftest
$ac_exeext
21863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21864 (eval $ac_link) 2>&5
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); } &&
21868 { ac_try
='test -s conftest$ac_exeext'
21869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21870 (eval $ac_try) 2>&5
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); }; }; then
21874 ac_cv_lib_bsd_gethostbyname
=yes
21876 echo "$as_me: failed program was:" >&5
21877 sed 's/^/| /' conftest.
$ac_ext >&5
21879 ac_cv_lib_bsd_gethostbyname
=no
21881 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21882 LIBS
=$ac_check_lib_save_LIBS
21884 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21885 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21886 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21887 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
21893 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21894 # socket/setsockopt and other routines are undefined under SCO ODT
21895 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21896 # on later versions), says Simon Leinen: it contains gethostby*
21897 # variants that don't use the name server (or something). -lsocket
21898 # must be given before -lnsl if both are needed. We assume that
21899 # if connect needs -lnsl, so does gethostbyname.
21900 echo "$as_me:$LINENO: checking for connect" >&5
21901 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21902 if test "${ac_cv_func_connect+set}" = set; then
21903 echo $ECHO_N "(cached) $ECHO_C" >&6
21905 cat >conftest.
$ac_ext <<_ACEOF
21906 #line $LINENO "configure"
21909 cat confdefs.h
>>conftest.
$ac_ext
21910 cat >>conftest.
$ac_ext <<_ACEOF
21911 /* end confdefs.h. */
21912 /* System header to define __stub macros and hopefully few prototypes,
21913 which can conflict with char connect (); below.
21914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21915 <limits.h> exists even on freestanding compilers. */
21917 # include <limits.h>
21919 # include <assert.h>
21921 /* Override any gcc2 internal prototype to avoid an error. */
21926 /* We use char because int might match the return type of a gcc2
21927 builtin and then its argument prototype would still apply. */
21929 /* The GNU C library defines this for functions which it implements
21930 to always fail with ENOSYS. Some functions are actually named
21931 something starting with __ and the normal name is an alias. */
21932 #if defined (__stub_connect) || defined (__stub___connect)
21935 char (*f) () = connect;
21944 return f != connect;
21949 rm -f conftest.
$ac_objext conftest
$ac_exeext
21950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21951 (eval $ac_link) 2>&5
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); } &&
21955 { ac_try
='test -s conftest$ac_exeext'
21956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21957 (eval $ac_try) 2>&5
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); }; }; then
21961 ac_cv_func_connect
=yes
21963 echo "$as_me: failed program was:" >&5
21964 sed 's/^/| /' conftest.
$ac_ext >&5
21966 ac_cv_func_connect
=no
21968 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21970 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21971 echo "${ECHO_T}$ac_cv_func_connect" >&6
21973 if test $ac_cv_func_connect = no
; then
21974 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21975 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21976 if test "${ac_cv_lib_socket_connect+set}" = set; then
21977 echo $ECHO_N "(cached) $ECHO_C" >&6
21979 ac_check_lib_save_LIBS
=$LIBS
21980 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
21981 cat >conftest.
$ac_ext <<_ACEOF
21982 #line $LINENO "configure"
21985 cat confdefs.h
>>conftest.
$ac_ext
21986 cat >>conftest.
$ac_ext <<_ACEOF
21987 /* end confdefs.h. */
21989 /* Override any gcc2 internal prototype to avoid an error. */
21993 /* We use char because int might match the return type of a gcc2
21994 builtin and then its argument prototype would still apply. */
22004 rm -f conftest.
$ac_objext conftest
$ac_exeext
22005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22006 (eval $ac_link) 2>&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); } &&
22010 { ac_try
='test -s conftest$ac_exeext'
22011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012 (eval $ac_try) 2>&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); }; }; then
22016 ac_cv_lib_socket_connect
=yes
22018 echo "$as_me: failed program was:" >&5
22019 sed 's/^/| /' conftest.
$ac_ext >&5
22021 ac_cv_lib_socket_connect
=no
22023 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22024 LIBS
=$ac_check_lib_save_LIBS
22026 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22027 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22028 if test $ac_cv_lib_socket_connect = yes; then
22029 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
22034 # Guillermo Gomez says -lposix is necessary on A/UX.
22035 echo "$as_me:$LINENO: checking for remove" >&5
22036 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22037 if test "${ac_cv_func_remove+set}" = set; then
22038 echo $ECHO_N "(cached) $ECHO_C" >&6
22040 cat >conftest.
$ac_ext <<_ACEOF
22041 #line $LINENO "configure"
22044 cat confdefs.h
>>conftest.
$ac_ext
22045 cat >>conftest.
$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22047 /* System header to define __stub macros and hopefully few prototypes,
22048 which can conflict with char remove (); below.
22049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22050 <limits.h> exists even on freestanding compilers. */
22052 # include <limits.h>
22054 # include <assert.h>
22056 /* Override any gcc2 internal prototype to avoid an error. */
22061 /* We use char because int might match the return type of a gcc2
22062 builtin and then its argument prototype would still apply. */
22064 /* The GNU C library defines this for functions which it implements
22065 to always fail with ENOSYS. Some functions are actually named
22066 something starting with __ and the normal name is an alias. */
22067 #if defined (__stub_remove) || defined (__stub___remove)
22070 char (*f) () = remove;
22079 return f != remove;
22084 rm -f conftest.
$ac_objext conftest
$ac_exeext
22085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22086 (eval $ac_link) 2>&5
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); } &&
22090 { ac_try
='test -s conftest$ac_exeext'
22091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22092 (eval $ac_try) 2>&5
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); }; }; then
22096 ac_cv_func_remove
=yes
22098 echo "$as_me: failed program was:" >&5
22099 sed 's/^/| /' conftest.
$ac_ext >&5
22101 ac_cv_func_remove
=no
22103 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22105 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22106 echo "${ECHO_T}$ac_cv_func_remove" >&6
22108 if test $ac_cv_func_remove = no
; then
22109 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22110 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22111 if test "${ac_cv_lib_posix_remove+set}" = set; then
22112 echo $ECHO_N "(cached) $ECHO_C" >&6
22114 ac_check_lib_save_LIBS
=$LIBS
22115 LIBS
="-lposix $LIBS"
22116 cat >conftest.
$ac_ext <<_ACEOF
22117 #line $LINENO "configure"
22120 cat confdefs.h
>>conftest.
$ac_ext
22121 cat >>conftest.
$ac_ext <<_ACEOF
22122 /* end confdefs.h. */
22124 /* Override any gcc2 internal prototype to avoid an error. */
22128 /* We use char because int might match the return type of a gcc2
22129 builtin and then its argument prototype would still apply. */
22139 rm -f conftest.
$ac_objext conftest
$ac_exeext
22140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22141 (eval $ac_link) 2>&5
22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144 (exit $ac_status); } &&
22145 { ac_try
='test -s conftest$ac_exeext'
22146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22147 (eval $ac_try) 2>&5
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); }; }; then
22151 ac_cv_lib_posix_remove
=yes
22153 echo "$as_me: failed program was:" >&5
22154 sed 's/^/| /' conftest.
$ac_ext >&5
22156 ac_cv_lib_posix_remove
=no
22158 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22159 LIBS
=$ac_check_lib_save_LIBS
22161 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22162 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22163 if test $ac_cv_lib_posix_remove = yes; then
22164 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
22169 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22170 echo "$as_me:$LINENO: checking for shmat" >&5
22171 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22172 if test "${ac_cv_func_shmat+set}" = set; then
22173 echo $ECHO_N "(cached) $ECHO_C" >&6
22175 cat >conftest.
$ac_ext <<_ACEOF
22176 #line $LINENO "configure"
22179 cat confdefs.h
>>conftest.
$ac_ext
22180 cat >>conftest.
$ac_ext <<_ACEOF
22181 /* end confdefs.h. */
22182 /* System header to define __stub macros and hopefully few prototypes,
22183 which can conflict with char shmat (); below.
22184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22185 <limits.h> exists even on freestanding compilers. */
22187 # include <limits.h>
22189 # include <assert.h>
22191 /* Override any gcc2 internal prototype to avoid an error. */
22196 /* We use char because int might match the return type of a gcc2
22197 builtin and then its argument prototype would still apply. */
22199 /* The GNU C library defines this for functions which it implements
22200 to always fail with ENOSYS. Some functions are actually named
22201 something starting with __ and the normal name is an alias. */
22202 #if defined (__stub_shmat) || defined (__stub___shmat)
22205 char (*f) () = shmat;
22219 rm -f conftest.
$ac_objext conftest
$ac_exeext
22220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22221 (eval $ac_link) 2>&5
22223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22224 (exit $ac_status); } &&
22225 { ac_try
='test -s conftest$ac_exeext'
22226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22227 (eval $ac_try) 2>&5
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); }; }; then
22231 ac_cv_func_shmat
=yes
22233 echo "$as_me: failed program was:" >&5
22234 sed 's/^/| /' conftest.
$ac_ext >&5
22236 ac_cv_func_shmat
=no
22238 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22240 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22241 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22243 if test $ac_cv_func_shmat = no
; then
22244 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22245 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22246 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22247 echo $ECHO_N "(cached) $ECHO_C" >&6
22249 ac_check_lib_save_LIBS
=$LIBS
22251 cat >conftest.
$ac_ext <<_ACEOF
22252 #line $LINENO "configure"
22255 cat confdefs.h
>>conftest.
$ac_ext
22256 cat >>conftest.
$ac_ext <<_ACEOF
22257 /* end confdefs.h. */
22259 /* Override any gcc2 internal prototype to avoid an error. */
22263 /* We use char because int might match the return type of a gcc2
22264 builtin and then its argument prototype would still apply. */
22274 rm -f conftest.
$ac_objext conftest
$ac_exeext
22275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22276 (eval $ac_link) 2>&5
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); } &&
22280 { ac_try
='test -s conftest$ac_exeext'
22281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22282 (eval $ac_try) 2>&5
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); }; }; then
22286 ac_cv_lib_ipc_shmat
=yes
22288 echo "$as_me: failed program was:" >&5
22289 sed 's/^/| /' conftest.
$ac_ext >&5
22291 ac_cv_lib_ipc_shmat
=no
22293 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22294 LIBS
=$ac_check_lib_save_LIBS
22296 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22297 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22298 if test $ac_cv_lib_ipc_shmat = yes; then
22299 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
22305 # Check for libraries that X11R6 Xt/Xaw programs need.
22306 ac_save_LDFLAGS
=$LDFLAGS
22307 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
22308 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22309 # check for ICE first), but we must link in the order -lSM -lICE or
22310 # we get undefined symbols. So assume we have SM if we have ICE.
22311 # These have to be linked with before -lX11, unlike the other
22312 # libraries we check for below, so use a different variable.
22313 # John Interrante, Karl Berry
22314 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22315 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22316 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22317 echo $ECHO_N "(cached) $ECHO_C" >&6
22319 ac_check_lib_save_LIBS
=$LIBS
22320 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
22321 cat >conftest.
$ac_ext <<_ACEOF
22322 #line $LINENO "configure"
22325 cat confdefs.h
>>conftest.
$ac_ext
22326 cat >>conftest.
$ac_ext <<_ACEOF
22327 /* end confdefs.h. */
22329 /* Override any gcc2 internal prototype to avoid an error. */
22333 /* We use char because int might match the return type of a gcc2
22334 builtin and then its argument prototype would still apply. */
22335 char IceConnectionNumber ();
22339 IceConnectionNumber ();
22344 rm -f conftest.
$ac_objext conftest
$ac_exeext
22345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22346 (eval $ac_link) 2>&5
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); } &&
22350 { ac_try
='test -s conftest$ac_exeext'
22351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22352 (eval $ac_try) 2>&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); }; }; then
22356 ac_cv_lib_ICE_IceConnectionNumber
=yes
22358 echo "$as_me: failed program was:" >&5
22359 sed 's/^/| /' conftest.
$ac_ext >&5
22361 ac_cv_lib_ICE_IceConnectionNumber
=no
22363 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22364 LIBS
=$ac_check_lib_save_LIBS
22366 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22367 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22368 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22369 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
22372 LDFLAGS
=$ac_save_LDFLAGS
22377 if test "$no_x" = "yes"; then
22378 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22379 echo "$as_me: error: X11 not found" >&2;}
22380 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
22383 GUI_TK_LIBRARY
="$X_LIBS"
22384 TOOLKIT_INCLUDE
="$X_CFLAGS"
22385 AFMINSTALL
=afminstall
22386 COMPILED_X_PROGRAM
=0
22388 if test "$wxUSE_NANOX" = "yes"; then
22389 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22390 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22391 if test "x$MICROWIN" = x
; then
22392 echo "$as_me:$LINENO: result: not found" >&5
22393 echo "${ECHO_T}not found" >&6
22394 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22395 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22396 { (exit 1); exit 1; }; }
22398 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22399 echo "${ECHO_T}$MICROWIN" >&6
22400 cat >>confdefs.h
<<\_ACEOF
22401 #define wxUSE_NANOX 1
22408 echo "$as_me:$LINENO: checking for Xpm library" >&5
22409 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22412 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22414 for ac_extension
in a so sl dylib
; do
22415 if test -f "$ac_dir/libXpm.$ac_extension"; then
22416 ac_find_libraries
=$ac_dir
22422 if test "$ac_find_libraries" != "" ; then
22424 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
22426 if test $result = 0; then
22429 ac_path_to_link
=" -L$ac_find_libraries"
22432 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
22434 cat >>confdefs.h
<<\_ACEOF
22435 #define wxHAVE_LIB_XPM 1
22438 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22439 echo "${ECHO_T}found at $ac_find_libraries" >&6
22441 cat >conftest.
$ac_ext <<_ACEOF
22442 #line $LINENO "configure"
22445 cat confdefs.h
>>conftest.
$ac_ext
22446 cat >>conftest.
$ac_ext <<_ACEOF
22447 /* end confdefs.h. */
22449 #include <X11/xpm.h>
22456 version = XpmLibraryVersion();
22462 rm -f conftest.
$ac_objext
22463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22464 (eval $ac_compile) 2>&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); } &&
22468 { ac_try
='test -s conftest.$ac_objext'
22469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22470 (eval $ac_try) 2>&5
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; }; then
22476 cat >>confdefs.h
<<\_ACEOF
22477 #define wxHAVE_LIB_XPM 1
22480 echo "$as_me:$LINENO: result: found in default search path" >&5
22481 echo "${ECHO_T}found in default search path" >&6
22482 COMPILED_X_PROGRAM
=0
22485 echo "$as_me: failed program was:" >&5
22486 sed 's/^/| /' conftest.
$ac_ext >&5
22489 echo "$as_me:$LINENO: result: no" >&5
22490 echo "${ECHO_T}no" >&6
22491 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22492 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22496 rm -f conftest.
$ac_objext conftest.
$ac_ext
22499 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22500 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22501 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22502 echo $ECHO_N "(cached) $ECHO_C" >&6
22504 ac_check_lib_save_LIBS
=$LIBS
22505 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22506 cat >conftest.
$ac_ext <<_ACEOF
22507 #line $LINENO "configure"
22510 cat confdefs.h
>>conftest.
$ac_ext
22511 cat >>conftest.
$ac_ext <<_ACEOF
22512 /* end confdefs.h. */
22514 /* Override any gcc2 internal prototype to avoid an error. */
22518 /* We use char because int might match the return type of a gcc2
22519 builtin and then its argument prototype would still apply. */
22520 char XShapeQueryExtension ();
22524 XShapeQueryExtension ();
22529 rm -f conftest.
$ac_objext conftest
$ac_exeext
22530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22531 (eval $ac_link) 2>&5
22533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22534 (exit $ac_status); } &&
22535 { ac_try
='test -s conftest$ac_exeext'
22536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22537 (eval $ac_try) 2>&5
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); }; }; then
22541 ac_cv_lib_Xext_XShapeQueryExtension
=yes
22543 echo "$as_me: failed program was:" >&5
22544 sed 's/^/| /' conftest.
$ac_ext >&5
22546 ac_cv_lib_Xext_XShapeQueryExtension
=no
22548 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22549 LIBS
=$ac_check_lib_save_LIBS
22551 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22552 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22553 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22555 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
22561 if test "$wxUSE_UNICODE" = "yes"; then
22565 if test -z "$PKG_CONFIG"; then
22566 # Extract the first word of "pkg-config", so it can be a program name with args.
22567 set dummy pkg
-config; ac_word
=$2
22568 echo "$as_me:$LINENO: checking for $ac_word" >&5
22569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22570 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22571 echo $ECHO_N "(cached) $ECHO_C" >&6
22573 case $PKG_CONFIG in
22575 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22579 for as_dir
in $PATH
22582 test -z "$as_dir" && as_dir
=.
22583 for ac_exec_ext
in '' $ac_executable_extensions; do
22584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22585 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22592 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22596 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22598 if test -n "$PKG_CONFIG"; then
22599 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22600 echo "${ECHO_T}$PKG_CONFIG" >&6
22602 echo "$as_me:$LINENO: result: no" >&5
22603 echo "${ECHO_T}no" >&6
22608 if test "$PKG_CONFIG" = "no" ; then
22609 echo "*** The pkg-config script could not be found. Make sure it is"
22610 echo "*** in your path, or set the PKG_CONFIG environment variable"
22611 echo "*** to the full path to pkg-config."
22612 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22614 PKG_CONFIG_MIN_VERSION
=0.9.0
22615 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22616 echo "$as_me:$LINENO: checking for pangox" >&5
22617 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22619 if $PKG_CONFIG --exists "pangox" ; then
22620 echo "$as_me:$LINENO: result: yes" >&5
22621 echo "${ECHO_T}yes" >&6
22624 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22625 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22626 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
22627 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22628 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22630 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22631 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22632 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
22633 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22634 echo "${ECHO_T}$PANGOX_LIBS" >&6
22638 ## If we have a custom action on failure, don't print errors, but
22639 ## do set a variable so people can do so.
22640 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22647 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22648 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22652 if test $succeeded = yes; then
22654 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
22655 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
22659 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22660 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22661 { (exit 1); exit 1; }; }
22669 if test -z "$PKG_CONFIG"; then
22670 # Extract the first word of "pkg-config", so it can be a program name with args.
22671 set dummy pkg
-config; ac_word
=$2
22672 echo "$as_me:$LINENO: checking for $ac_word" >&5
22673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22674 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22675 echo $ECHO_N "(cached) $ECHO_C" >&6
22677 case $PKG_CONFIG in
22679 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22683 for as_dir
in $PATH
22686 test -z "$as_dir" && as_dir
=.
22687 for ac_exec_ext
in '' $ac_executable_extensions; do
22688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22689 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22696 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22700 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22702 if test -n "$PKG_CONFIG"; then
22703 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22704 echo "${ECHO_T}$PKG_CONFIG" >&6
22706 echo "$as_me:$LINENO: result: no" >&5
22707 echo "${ECHO_T}no" >&6
22712 if test "$PKG_CONFIG" = "no" ; then
22713 echo "*** The pkg-config script could not be found. Make sure it is"
22714 echo "*** in your path, or set the PKG_CONFIG environment variable"
22715 echo "*** to the full path to pkg-config."
22716 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22718 PKG_CONFIG_MIN_VERSION
=0.9.0
22719 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22720 echo "$as_me:$LINENO: checking for pangoft2" >&5
22721 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22723 if $PKG_CONFIG --exists "pangoft2" ; then
22724 echo "$as_me:$LINENO: result: yes" >&5
22725 echo "${ECHO_T}yes" >&6
22728 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22729 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22730 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
22731 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22732 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22734 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22735 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22736 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
22737 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22738 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22742 ## If we have a custom action on failure, don't print errors, but
22743 ## do set a variable so people can do so.
22744 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22751 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22752 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22756 if test $succeeded = yes; then
22758 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
22759 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22763 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22764 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22765 wxUSE_PRINTING_ARCHITECTURE
="no"
22773 if test -z "$PKG_CONFIG"; then
22774 # Extract the first word of "pkg-config", so it can be a program name with args.
22775 set dummy pkg
-config; ac_word
=$2
22776 echo "$as_me:$LINENO: checking for $ac_word" >&5
22777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22778 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22779 echo $ECHO_N "(cached) $ECHO_C" >&6
22781 case $PKG_CONFIG in
22783 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22787 for as_dir
in $PATH
22790 test -z "$as_dir" && as_dir
=.
22791 for ac_exec_ext
in '' $ac_executable_extensions; do
22792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22793 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22800 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22804 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22806 if test -n "$PKG_CONFIG"; then
22807 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22808 echo "${ECHO_T}$PKG_CONFIG" >&6
22810 echo "$as_me:$LINENO: result: no" >&5
22811 echo "${ECHO_T}no" >&6
22816 if test "$PKG_CONFIG" = "no" ; then
22817 echo "*** The pkg-config script could not be found. Make sure it is"
22818 echo "*** in your path, or set the PKG_CONFIG environment variable"
22819 echo "*** to the full path to pkg-config."
22820 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22822 PKG_CONFIG_MIN_VERSION
=0.9.0
22823 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22824 echo "$as_me:$LINENO: checking for pangoxft" >&5
22825 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22827 if $PKG_CONFIG --exists "pangoxft" ; then
22828 echo "$as_me:$LINENO: result: yes" >&5
22829 echo "${ECHO_T}yes" >&6
22832 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22833 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22834 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
22835 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22836 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22838 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22839 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22840 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
22841 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22842 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22846 ## If we have a custom action on failure, don't print errors, but
22847 ## do set a variable so people can do so.
22848 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22855 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22856 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22860 if test $succeeded = yes; then
22862 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
22863 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22867 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22868 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22875 wxUSE_UNIVERSAL
="yes"
22877 if test "$wxUSE_NANOX" = "yes"; then
22878 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22879 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"
22880 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22882 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
22885 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
22890 if test "$wxUSE_MOTIF" = 1; then
22891 if test "$no_x" = yes; then
22892 # Not all programs may use this symbol, but it does not hurt to define it.
22894 cat >>confdefs.h
<<\_ACEOF
22895 #define X_DISPLAY_MISSING 1
22898 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
22900 if test -n "$x_includes"; then
22901 X_CFLAGS
="$X_CFLAGS -I$x_includes"
22904 # It would also be nice to do this for all -L options, not just this one.
22905 if test -n "$x_libraries"; then
22906 X_LIBS
="$X_LIBS -L$x_libraries"
22907 # For Solaris; some versions of Sun CC require a space after -R and
22908 # others require no space. Words are not sufficient . . . .
22909 case `(uname -sr) 2>/dev/null` in
22911 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22912 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22913 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
22914 cat >conftest.
$ac_ext <<_ACEOF
22915 #line $LINENO "configure"
22918 cat confdefs.h
>>conftest.
$ac_ext
22919 cat >>conftest.
$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22930 rm -f conftest.
$ac_objext conftest
$ac_exeext
22931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22932 (eval $ac_link) 2>&5
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); } &&
22936 { ac_try
='test -s conftest$ac_exeext'
22937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22938 (eval $ac_try) 2>&5
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); }; }; then
22944 echo "$as_me: failed program was:" >&5
22945 sed 's/^/| /' conftest.
$ac_ext >&5
22949 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22950 if test $ac_R_nospace = yes; then
22951 echo "$as_me:$LINENO: result: no" >&5
22952 echo "${ECHO_T}no" >&6
22953 X_LIBS
="$X_LIBS -R$x_libraries"
22955 LIBS
="$ac_xsave_LIBS -R $x_libraries"
22956 cat >conftest.
$ac_ext <<_ACEOF
22957 #line $LINENO "configure"
22960 cat confdefs.h
>>conftest.
$ac_ext
22961 cat >>conftest.
$ac_ext <<_ACEOF
22962 /* end confdefs.h. */
22972 rm -f conftest.
$ac_objext conftest
$ac_exeext
22973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22974 (eval $ac_link) 2>&5
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } &&
22978 { ac_try
='test -s conftest$ac_exeext'
22979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22980 (eval $ac_try) 2>&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); }; }; then
22986 echo "$as_me: failed program was:" >&5
22987 sed 's/^/| /' conftest.
$ac_ext >&5
22991 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22992 if test $ac_R_space = yes; then
22993 echo "$as_me:$LINENO: result: yes" >&5
22994 echo "${ECHO_T}yes" >&6
22995 X_LIBS
="$X_LIBS -R $x_libraries"
22997 echo "$as_me:$LINENO: result: neither works" >&5
22998 echo "${ECHO_T}neither works" >&6
23001 LIBS
=$ac_xsave_LIBS
23005 # Check for system-dependent libraries X programs must link with.
23006 # Do this before checking for the system-independent R6 libraries
23007 # (-lICE), since we may need -lsocket or whatever for X linking.
23009 if test "$ISC" = yes; then
23010 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
23012 # Martyn Johnson says this is needed for Ultrix, if the X
23013 # libraries were built with DECnet support. And Karl Berry says
23014 # the Alpha needs dnet_stub (dnet does not exist).
23015 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
23016 cat >conftest.
$ac_ext <<_ACEOF
23017 #line $LINENO "configure"
23020 cat confdefs.h
>>conftest.
$ac_ext
23021 cat >>conftest.
$ac_ext <<_ACEOF
23022 /* end confdefs.h. */
23024 /* Override any gcc2 internal prototype to avoid an error. */
23028 /* We use char because int might match the return type of a gcc2
23029 builtin and then its argument prototype would still apply. */
23030 char XOpenDisplay ();
23039 rm -f conftest.
$ac_objext conftest
$ac_exeext
23040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23041 (eval $ac_link) 2>&5
23043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); } &&
23045 { ac_try
='test -s conftest$ac_exeext'
23046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23047 (eval $ac_try) 2>&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); }; }; then
23053 echo "$as_me: failed program was:" >&5
23054 sed 's/^/| /' conftest.
$ac_ext >&5
23056 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23057 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23058 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23059 echo $ECHO_N "(cached) $ECHO_C" >&6
23061 ac_check_lib_save_LIBS
=$LIBS
23062 LIBS
="-ldnet $LIBS"
23063 cat >conftest.
$ac_ext <<_ACEOF
23064 #line $LINENO "configure"
23067 cat confdefs.h
>>conftest.
$ac_ext
23068 cat >>conftest.
$ac_ext <<_ACEOF
23069 /* end confdefs.h. */
23071 /* Override any gcc2 internal prototype to avoid an error. */
23075 /* We use char because int might match the return type of a gcc2
23076 builtin and then its argument prototype would still apply. */
23086 rm -f conftest.
$ac_objext conftest
$ac_exeext
23087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23088 (eval $ac_link) 2>&5
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); } &&
23092 { ac_try
='test -s conftest$ac_exeext'
23093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23094 (eval $ac_try) 2>&5
23096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097 (exit $ac_status); }; }; then
23098 ac_cv_lib_dnet_dnet_ntoa
=yes
23100 echo "$as_me: failed program was:" >&5
23101 sed 's/^/| /' conftest.
$ac_ext >&5
23103 ac_cv_lib_dnet_dnet_ntoa
=no
23105 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23106 LIBS
=$ac_check_lib_save_LIBS
23108 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23109 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23110 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23111 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
23114 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
23115 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23116 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23117 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23118 echo $ECHO_N "(cached) $ECHO_C" >&6
23120 ac_check_lib_save_LIBS
=$LIBS
23121 LIBS
="-ldnet_stub $LIBS"
23122 cat >conftest.
$ac_ext <<_ACEOF
23123 #line $LINENO "configure"
23126 cat confdefs.h
>>conftest.
$ac_ext
23127 cat >>conftest.
$ac_ext <<_ACEOF
23128 /* end confdefs.h. */
23130 /* Override any gcc2 internal prototype to avoid an error. */
23134 /* We use char because int might match the return type of a gcc2
23135 builtin and then its argument prototype would still apply. */
23145 rm -f conftest.
$ac_objext conftest
$ac_exeext
23146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23147 (eval $ac_link) 2>&5
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); } &&
23151 { ac_try
='test -s conftest$ac_exeext'
23152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23153 (eval $ac_try) 2>&5
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); }; }; then
23157 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
23159 echo "$as_me: failed program was:" >&5
23160 sed 's/^/| /' conftest.
$ac_ext >&5
23162 ac_cv_lib_dnet_stub_dnet_ntoa
=no
23164 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23165 LIBS
=$ac_check_lib_save_LIBS
23167 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23168 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23169 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23170 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
23175 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23176 LIBS
="$ac_xsave_LIBS"
23178 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23179 # to get the SysV transport functions.
23180 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23182 # The nsl library prevents programs from opening the X display
23183 # on Irix 5.2, according to T.E. Dickey.
23184 # The functions gethostbyname, getservbyname, and inet_addr are
23185 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23186 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23187 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23188 if test "${ac_cv_func_gethostbyname+set}" = set; then
23189 echo $ECHO_N "(cached) $ECHO_C" >&6
23191 cat >conftest.
$ac_ext <<_ACEOF
23192 #line $LINENO "configure"
23195 cat confdefs.h
>>conftest.
$ac_ext
23196 cat >>conftest.
$ac_ext <<_ACEOF
23197 /* end confdefs.h. */
23198 /* System header to define __stub macros and hopefully few prototypes,
23199 which can conflict with char gethostbyname (); below.
23200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23201 <limits.h> exists even on freestanding compilers. */
23203 # include <limits.h>
23205 # include <assert.h>
23207 /* Override any gcc2 internal prototype to avoid an error. */
23212 /* We use char because int might match the return type of a gcc2
23213 builtin and then its argument prototype would still apply. */
23214 char gethostbyname ();
23215 /* The GNU C library defines this for functions which it implements
23216 to always fail with ENOSYS. Some functions are actually named
23217 something starting with __ and the normal name is an alias. */
23218 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23221 char (*f) () = gethostbyname;
23230 return f != gethostbyname;
23235 rm -f conftest.
$ac_objext conftest
$ac_exeext
23236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23237 (eval $ac_link) 2>&5
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); } &&
23241 { ac_try
='test -s conftest$ac_exeext'
23242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23243 (eval $ac_try) 2>&5
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); }; }; then
23247 ac_cv_func_gethostbyname
=yes
23249 echo "$as_me: failed program was:" >&5
23250 sed 's/^/| /' conftest.
$ac_ext >&5
23252 ac_cv_func_gethostbyname
=no
23254 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23256 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23257 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23259 if test $ac_cv_func_gethostbyname = no
; then
23260 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23261 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23262 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23263 echo $ECHO_N "(cached) $ECHO_C" >&6
23265 ac_check_lib_save_LIBS
=$LIBS
23267 cat >conftest.
$ac_ext <<_ACEOF
23268 #line $LINENO "configure"
23271 cat confdefs.h
>>conftest.
$ac_ext
23272 cat >>conftest.
$ac_ext <<_ACEOF
23273 /* end confdefs.h. */
23275 /* Override any gcc2 internal prototype to avoid an error. */
23279 /* We use char because int might match the return type of a gcc2
23280 builtin and then its argument prototype would still apply. */
23281 char gethostbyname ();
23290 rm -f conftest.
$ac_objext conftest
$ac_exeext
23291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23292 (eval $ac_link) 2>&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); } &&
23296 { ac_try
='test -s conftest$ac_exeext'
23297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23298 (eval $ac_try) 2>&5
23300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); }; }; then
23302 ac_cv_lib_nsl_gethostbyname
=yes
23304 echo "$as_me: failed program was:" >&5
23305 sed 's/^/| /' conftest.
$ac_ext >&5
23307 ac_cv_lib_nsl_gethostbyname
=no
23309 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23310 LIBS
=$ac_check_lib_save_LIBS
23312 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23313 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23314 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23315 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
23318 if test $ac_cv_lib_nsl_gethostbyname = no
; then
23319 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23320 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23321 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23322 echo $ECHO_N "(cached) $ECHO_C" >&6
23324 ac_check_lib_save_LIBS
=$LIBS
23326 cat >conftest.
$ac_ext <<_ACEOF
23327 #line $LINENO "configure"
23330 cat confdefs.h
>>conftest.
$ac_ext
23331 cat >>conftest.
$ac_ext <<_ACEOF
23332 /* end confdefs.h. */
23334 /* Override any gcc2 internal prototype to avoid an error. */
23338 /* We use char because int might match the return type of a gcc2
23339 builtin and then its argument prototype would still apply. */
23340 char gethostbyname ();
23349 rm -f conftest.
$ac_objext conftest
$ac_exeext
23350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23351 (eval $ac_link) 2>&5
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); } &&
23355 { ac_try
='test -s conftest$ac_exeext'
23356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23357 (eval $ac_try) 2>&5
23359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23360 (exit $ac_status); }; }; then
23361 ac_cv_lib_bsd_gethostbyname
=yes
23363 echo "$as_me: failed program was:" >&5
23364 sed 's/^/| /' conftest.
$ac_ext >&5
23366 ac_cv_lib_bsd_gethostbyname
=no
23368 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23369 LIBS
=$ac_check_lib_save_LIBS
23371 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23372 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23373 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23374 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
23380 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23381 # socket/setsockopt and other routines are undefined under SCO ODT
23382 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23383 # on later versions), says Simon Leinen: it contains gethostby*
23384 # variants that don't use the name server (or something). -lsocket
23385 # must be given before -lnsl if both are needed. We assume that
23386 # if connect needs -lnsl, so does gethostbyname.
23387 echo "$as_me:$LINENO: checking for connect" >&5
23388 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23389 if test "${ac_cv_func_connect+set}" = set; then
23390 echo $ECHO_N "(cached) $ECHO_C" >&6
23392 cat >conftest.
$ac_ext <<_ACEOF
23393 #line $LINENO "configure"
23396 cat confdefs.h
>>conftest.
$ac_ext
23397 cat >>conftest.
$ac_ext <<_ACEOF
23398 /* end confdefs.h. */
23399 /* System header to define __stub macros and hopefully few prototypes,
23400 which can conflict with char connect (); below.
23401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23402 <limits.h> exists even on freestanding compilers. */
23404 # include <limits.h>
23406 # include <assert.h>
23408 /* Override any gcc2 internal prototype to avoid an error. */
23413 /* We use char because int might match the return type of a gcc2
23414 builtin and then its argument prototype would still apply. */
23416 /* The GNU C library defines this for functions which it implements
23417 to always fail with ENOSYS. Some functions are actually named
23418 something starting with __ and the normal name is an alias. */
23419 #if defined (__stub_connect) || defined (__stub___connect)
23422 char (*f) () = connect;
23431 return f != connect;
23436 rm -f conftest.
$ac_objext conftest
$ac_exeext
23437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23438 (eval $ac_link) 2>&5
23440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441 (exit $ac_status); } &&
23442 { ac_try
='test -s conftest$ac_exeext'
23443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23444 (eval $ac_try) 2>&5
23446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447 (exit $ac_status); }; }; then
23448 ac_cv_func_connect
=yes
23450 echo "$as_me: failed program was:" >&5
23451 sed 's/^/| /' conftest.
$ac_ext >&5
23453 ac_cv_func_connect
=no
23455 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23457 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23458 echo "${ECHO_T}$ac_cv_func_connect" >&6
23460 if test $ac_cv_func_connect = no
; then
23461 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23462 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23463 if test "${ac_cv_lib_socket_connect+set}" = set; then
23464 echo $ECHO_N "(cached) $ECHO_C" >&6
23466 ac_check_lib_save_LIBS
=$LIBS
23467 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
23468 cat >conftest.
$ac_ext <<_ACEOF
23469 #line $LINENO "configure"
23472 cat confdefs.h
>>conftest.
$ac_ext
23473 cat >>conftest.
$ac_ext <<_ACEOF
23474 /* end confdefs.h. */
23476 /* Override any gcc2 internal prototype to avoid an error. */
23480 /* We use char because int might match the return type of a gcc2
23481 builtin and then its argument prototype would still apply. */
23491 rm -f conftest.
$ac_objext conftest
$ac_exeext
23492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23493 (eval $ac_link) 2>&5
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); } &&
23497 { ac_try
='test -s conftest$ac_exeext'
23498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23499 (eval $ac_try) 2>&5
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); }; }; then
23503 ac_cv_lib_socket_connect
=yes
23505 echo "$as_me: failed program was:" >&5
23506 sed 's/^/| /' conftest.
$ac_ext >&5
23508 ac_cv_lib_socket_connect
=no
23510 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23511 LIBS
=$ac_check_lib_save_LIBS
23513 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23514 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23515 if test $ac_cv_lib_socket_connect = yes; then
23516 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
23521 # Guillermo Gomez says -lposix is necessary on A/UX.
23522 echo "$as_me:$LINENO: checking for remove" >&5
23523 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23524 if test "${ac_cv_func_remove+set}" = set; then
23525 echo $ECHO_N "(cached) $ECHO_C" >&6
23527 cat >conftest.
$ac_ext <<_ACEOF
23528 #line $LINENO "configure"
23531 cat confdefs.h
>>conftest.
$ac_ext
23532 cat >>conftest.
$ac_ext <<_ACEOF
23533 /* end confdefs.h. */
23534 /* System header to define __stub macros and hopefully few prototypes,
23535 which can conflict with char remove (); below.
23536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23537 <limits.h> exists even on freestanding compilers. */
23539 # include <limits.h>
23541 # include <assert.h>
23543 /* Override any gcc2 internal prototype to avoid an error. */
23548 /* We use char because int might match the return type of a gcc2
23549 builtin and then its argument prototype would still apply. */
23551 /* The GNU C library defines this for functions which it implements
23552 to always fail with ENOSYS. Some functions are actually named
23553 something starting with __ and the normal name is an alias. */
23554 #if defined (__stub_remove) || defined (__stub___remove)
23557 char (*f) () = remove;
23566 return f != remove;
23571 rm -f conftest.
$ac_objext conftest
$ac_exeext
23572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23573 (eval $ac_link) 2>&5
23575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23576 (exit $ac_status); } &&
23577 { ac_try
='test -s conftest$ac_exeext'
23578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23579 (eval $ac_try) 2>&5
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); }; }; then
23583 ac_cv_func_remove
=yes
23585 echo "$as_me: failed program was:" >&5
23586 sed 's/^/| /' conftest.
$ac_ext >&5
23588 ac_cv_func_remove
=no
23590 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23592 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23593 echo "${ECHO_T}$ac_cv_func_remove" >&6
23595 if test $ac_cv_func_remove = no
; then
23596 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23597 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23598 if test "${ac_cv_lib_posix_remove+set}" = set; then
23599 echo $ECHO_N "(cached) $ECHO_C" >&6
23601 ac_check_lib_save_LIBS
=$LIBS
23602 LIBS
="-lposix $LIBS"
23603 cat >conftest.
$ac_ext <<_ACEOF
23604 #line $LINENO "configure"
23607 cat confdefs.h
>>conftest.
$ac_ext
23608 cat >>conftest.
$ac_ext <<_ACEOF
23609 /* end confdefs.h. */
23611 /* Override any gcc2 internal prototype to avoid an error. */
23615 /* We use char because int might match the return type of a gcc2
23616 builtin and then its argument prototype would still apply. */
23626 rm -f conftest.
$ac_objext conftest
$ac_exeext
23627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23628 (eval $ac_link) 2>&5
23630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23631 (exit $ac_status); } &&
23632 { ac_try
='test -s conftest$ac_exeext'
23633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23634 (eval $ac_try) 2>&5
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); }; }; then
23638 ac_cv_lib_posix_remove
=yes
23640 echo "$as_me: failed program was:" >&5
23641 sed 's/^/| /' conftest.
$ac_ext >&5
23643 ac_cv_lib_posix_remove
=no
23645 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23646 LIBS
=$ac_check_lib_save_LIBS
23648 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23649 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23650 if test $ac_cv_lib_posix_remove = yes; then
23651 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
23656 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23657 echo "$as_me:$LINENO: checking for shmat" >&5
23658 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23659 if test "${ac_cv_func_shmat+set}" = set; then
23660 echo $ECHO_N "(cached) $ECHO_C" >&6
23662 cat >conftest.
$ac_ext <<_ACEOF
23663 #line $LINENO "configure"
23666 cat confdefs.h
>>conftest.
$ac_ext
23667 cat >>conftest.
$ac_ext <<_ACEOF
23668 /* end confdefs.h. */
23669 /* System header to define __stub macros and hopefully few prototypes,
23670 which can conflict with char shmat (); below.
23671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23672 <limits.h> exists even on freestanding compilers. */
23674 # include <limits.h>
23676 # include <assert.h>
23678 /* Override any gcc2 internal prototype to avoid an error. */
23683 /* We use char because int might match the return type of a gcc2
23684 builtin and then its argument prototype would still apply. */
23686 /* The GNU C library defines this for functions which it implements
23687 to always fail with ENOSYS. Some functions are actually named
23688 something starting with __ and the normal name is an alias. */
23689 #if defined (__stub_shmat) || defined (__stub___shmat)
23692 char (*f) () = shmat;
23706 rm -f conftest.
$ac_objext conftest
$ac_exeext
23707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23708 (eval $ac_link) 2>&5
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); } &&
23712 { ac_try
='test -s conftest$ac_exeext'
23713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23714 (eval $ac_try) 2>&5
23716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717 (exit $ac_status); }; }; then
23718 ac_cv_func_shmat
=yes
23720 echo "$as_me: failed program was:" >&5
23721 sed 's/^/| /' conftest.
$ac_ext >&5
23723 ac_cv_func_shmat
=no
23725 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23727 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23728 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23730 if test $ac_cv_func_shmat = no
; then
23731 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23732 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23733 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23734 echo $ECHO_N "(cached) $ECHO_C" >&6
23736 ac_check_lib_save_LIBS
=$LIBS
23738 cat >conftest.
$ac_ext <<_ACEOF
23739 #line $LINENO "configure"
23742 cat confdefs.h
>>conftest.
$ac_ext
23743 cat >>conftest.
$ac_ext <<_ACEOF
23744 /* end confdefs.h. */
23746 /* Override any gcc2 internal prototype to avoid an error. */
23750 /* We use char because int might match the return type of a gcc2
23751 builtin and then its argument prototype would still apply. */
23761 rm -f conftest.
$ac_objext conftest
$ac_exeext
23762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23763 (eval $ac_link) 2>&5
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); } &&
23767 { ac_try
='test -s conftest$ac_exeext'
23768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23769 (eval $ac_try) 2>&5
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); }; }; then
23773 ac_cv_lib_ipc_shmat
=yes
23775 echo "$as_me: failed program was:" >&5
23776 sed 's/^/| /' conftest.
$ac_ext >&5
23778 ac_cv_lib_ipc_shmat
=no
23780 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23781 LIBS
=$ac_check_lib_save_LIBS
23783 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23784 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23785 if test $ac_cv_lib_ipc_shmat = yes; then
23786 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
23792 # Check for libraries that X11R6 Xt/Xaw programs need.
23793 ac_save_LDFLAGS
=$LDFLAGS
23794 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
23795 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23796 # check for ICE first), but we must link in the order -lSM -lICE or
23797 # we get undefined symbols. So assume we have SM if we have ICE.
23798 # These have to be linked with before -lX11, unlike the other
23799 # libraries we check for below, so use a different variable.
23800 # John Interrante, Karl Berry
23801 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23802 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23803 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23804 echo $ECHO_N "(cached) $ECHO_C" >&6
23806 ac_check_lib_save_LIBS
=$LIBS
23807 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
23808 cat >conftest.
$ac_ext <<_ACEOF
23809 #line $LINENO "configure"
23812 cat confdefs.h
>>conftest.
$ac_ext
23813 cat >>conftest.
$ac_ext <<_ACEOF
23814 /* end confdefs.h. */
23816 /* Override any gcc2 internal prototype to avoid an error. */
23820 /* We use char because int might match the return type of a gcc2
23821 builtin and then its argument prototype would still apply. */
23822 char IceConnectionNumber ();
23826 IceConnectionNumber ();
23831 rm -f conftest.
$ac_objext conftest
$ac_exeext
23832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23833 (eval $ac_link) 2>&5
23835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23836 (exit $ac_status); } &&
23837 { ac_try
='test -s conftest$ac_exeext'
23838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23839 (eval $ac_try) 2>&5
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); }; }; then
23843 ac_cv_lib_ICE_IceConnectionNumber
=yes
23845 echo "$as_me: failed program was:" >&5
23846 sed 's/^/| /' conftest.
$ac_ext >&5
23848 ac_cv_lib_ICE_IceConnectionNumber
=no
23850 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23851 LIBS
=$ac_check_lib_save_LIBS
23853 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23854 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23855 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23856 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
23859 LDFLAGS
=$ac_save_LDFLAGS
23864 if test "$no_x" = "yes"; then
23865 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23866 echo "$as_me: error: X11 not found" >&2;}
23867 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
23870 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
23871 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
23872 AFMINSTALL
=afminstall
23873 COMPILED_X_PROGRAM
=0
23875 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23876 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23879 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23881 if test -f "$ac_dir/Xm/Xm.h"; then
23882 ac_find_includes
=$ac_dir
23887 if test "$ac_find_includes" != "" ; then
23888 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23889 echo "${ECHO_T}found in $ac_find_includes" >&6
23891 if test "x$ac_find_includes" = "x/usr/include"; then
23892 ac_path_to_include
=""
23894 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
23896 if test $result = 0; then
23897 ac_path_to_include
=""
23899 ac_path_to_include
=" -I$ac_find_includes"
23903 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
23905 cat >conftest.
$ac_ext <<_ACEOF
23906 #line $LINENO "configure"
23909 cat confdefs.h
>>conftest.
$ac_ext
23910 cat >>conftest.
$ac_ext <<_ACEOF
23911 /* end confdefs.h. */
23920 version = xmUseVersion;
23926 rm -f conftest.
$ac_objext
23927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23928 (eval $ac_compile) 2>&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } &&
23932 { ac_try
='test -s conftest.$ac_objext'
23933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23934 (eval $ac_try) 2>&5
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); }; }; then
23939 echo "$as_me:$LINENO: result: found in default search path" >&5
23940 echo "${ECHO_T}found in default search path" >&6
23941 COMPILED_X_PROGRAM
=1
23944 echo "$as_me: failed program was:" >&5
23945 sed 's/^/| /' conftest.
$ac_ext >&5
23948 echo "$as_me:$LINENO: result: no" >&5
23949 echo "${ECHO_T}no" >&6
23950 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23951 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23952 { (exit 1); exit 1; }; }
23956 rm -f conftest.
$ac_objext conftest.
$ac_ext
23959 if test "$COMPILED_X_PROGRAM" = 0; then
23960 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23961 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23964 for ac_dir
in $SEARCH_LIB /usr
/lib
;
23966 for ac_extension
in a so sl dylib
; do
23967 if test -f "$ac_dir/libXm.$ac_extension"; then
23968 ac_find_libraries
=$ac_dir
23974 if test "$ac_find_libraries" != "" ; then
23975 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23976 echo "${ECHO_T}found at $ac_find_libraries" >&6
23979 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
23981 if test $result = 0; then
23984 ac_path_to_link
=" -L$ac_find_libraries"
23987 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
23989 save_CFLAGS
=$CFLAGS
23990 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
23992 cat >conftest.
$ac_ext <<_ACEOF
23993 #line $LINENO "configure"
23996 cat confdefs.h
>>conftest.
$ac_ext
23997 cat >>conftest.
$ac_ext <<_ACEOF
23998 /* end confdefs.h. */
24007 version = xmUseVersion;
24013 rm -f conftest.
$ac_objext
24014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24015 (eval $ac_compile) 2>&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } &&
24019 { ac_try
='test -s conftest.$ac_objext'
24020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24021 (eval $ac_try) 2>&5
24023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24024 (exit $ac_status); }; }; then
24026 echo "$as_me:$LINENO: result: found in default search path" >&5
24027 echo "${ECHO_T}found in default search path" >&6
24028 COMPILED_X_PROGRAM
=1
24031 echo "$as_me: failed program was:" >&5
24032 sed 's/^/| /' conftest.
$ac_ext >&5
24035 echo "$as_me:$LINENO: result: no" >&5
24036 echo "${ECHO_T}no" >&6
24037 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24038 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24039 { (exit 1); exit 1; }; }
24043 rm -f conftest.
$ac_objext conftest.
$ac_ext
24045 CFLAGS
=$save_CFLAGS
24050 echo "$as_me:$LINENO: checking for Xpm library" >&5
24051 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24054 for ac_dir
in $SEARCH_LIB /usr
/lib
;
24056 for ac_extension
in a so sl dylib
; do
24057 if test -f "$ac_dir/libXpm.$ac_extension"; then
24058 ac_find_libraries
=$ac_dir
24064 if test "$ac_find_libraries" != "" ; then
24066 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24068 if test $result = 0; then
24071 ac_path_to_link
=" -L$ac_find_libraries"
24074 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
24077 cat >>confdefs.h
<<\_ACEOF
24078 #define wxHAVE_LIB_XPM 1
24081 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24082 echo "${ECHO_T}found at $ac_find_libraries" >&6
24084 save_CFLAGS
=$CFLAGS
24085 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24087 cat >conftest.
$ac_ext <<_ACEOF
24088 #line $LINENO "configure"
24091 cat confdefs.h
>>conftest.
$ac_ext
24092 cat >>conftest.
$ac_ext <<_ACEOF
24093 /* end confdefs.h. */
24095 #include <X11/xpm.h>
24102 version = XpmLibraryVersion();
24108 rm -f conftest.
$ac_objext
24109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24110 (eval $ac_compile) 2>&5
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); } &&
24114 { ac_try
='test -s conftest.$ac_objext'
24115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24116 (eval $ac_try) 2>&5
24118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24119 (exit $ac_status); }; }; then
24122 cat >>confdefs.h
<<\_ACEOF
24123 #define wxHAVE_LIB_XPM 1
24126 echo "$as_me:$LINENO: result: found in default search path" >&5
24127 echo "${ECHO_T}found in default search path" >&6
24128 COMPILED_X_PROGRAM
=0
24131 echo "$as_me: failed program was:" >&5
24132 sed 's/^/| /' conftest.
$ac_ext >&5
24135 echo "$as_me:$LINENO: result: no" >&5
24136 echo "${ECHO_T}no" >&6
24137 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24138 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24142 rm -f conftest.
$ac_objext conftest.
$ac_ext
24144 CFLAGS
=$save_CFLAGS
24147 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24148 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24152 for libp
in "" " -lXp"; do
24153 if test "$libs_found" = "0"; then
24154 for libsm_ice
in "" " -lSM -lICE"; do
24155 if test "$libs_found" = "0"; then
24157 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24158 save_CFLAGS
=$CFLAGS
24159 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24161 cat >conftest.
$ac_ext <<_ACEOF
24162 #line $LINENO "configure"
24165 cat confdefs.h
>>conftest.
$ac_ext
24166 cat >>conftest.
$ac_ext <<_ACEOF
24167 /* end confdefs.h. */
24170 #include <Xm/List.h>
24176 XmString string = NULL;
24179 XmListAddItem(w, string, position);
24185 rm -f conftest.
$ac_objext conftest
$ac_exeext
24186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24187 (eval $ac_link) 2>&5
24189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190 (exit $ac_status); } &&
24191 { ac_try
='test -s conftest$ac_exeext'
24192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24193 (eval $ac_try) 2>&5
24195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24196 (exit $ac_status); }; }; then
24199 libsm_ice_link
="$libsm_ice"
24200 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24201 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24205 echo "$as_me: failed program was:" >&5
24206 sed 's/^/| /' conftest.
$ac_ext >&5
24211 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24214 CFLAGS
=$save_CFLAGS
24220 if test "$libs_found" = "0"; then
24221 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24222 echo "${ECHO_T}can't find the right libraries" >&6
24223 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24224 echo "$as_me: error: can't link a simple motif program" >&2;}
24225 { (exit 1); exit 1; }; }
24228 save_CFLAGS
=$CFLAGS
24229 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24230 echo "$as_me:$LINENO: checking for Motif 2" >&5
24231 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24232 cat >conftest.
$ac_ext <<_ACEOF
24233 #line $LINENO "configure"
24236 cat confdefs.h
>>conftest.
$ac_ext
24237 cat >>conftest.
$ac_ext <<_ACEOF
24238 /* end confdefs.h. */
24246 #if XmVersion < 2000
24247 #error "Not Motif 2"
24254 rm -f conftest.
$ac_objext
24255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24256 (eval $ac_compile) 2>&5
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); } &&
24260 { ac_try
='test -s conftest.$ac_objext'
24261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24262 (eval $ac_try) 2>&5
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); }; }; then
24267 cat >>confdefs.h
<<\_ACEOF
24268 #define __WXMOTIF20__ 1
24271 echo "$as_me:$LINENO: result: found" >&5
24272 echo "${ECHO_T}found" >&6
24275 echo "$as_me: failed program was:" >&5
24276 sed 's/^/| /' conftest.
$ac_ext >&5
24279 cat >>confdefs.h
<<\_ACEOF
24280 #define __WXMOTIF20__ 0
24283 echo "$as_me:$LINENO: result: not found" >&5
24284 echo "${ECHO_T}not found" >&6
24287 rm -f conftest.
$ac_objext conftest.
$ac_ext
24288 CFLAGS
=$save_CFLAGS
24290 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24291 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24297 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24298 test "$wxHAVE_XEXT_LIB" = 1; then
24299 save_CFLAGS
="$CFLAGS"
24300 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
24302 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24303 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24304 cat >conftest.
$ac_ext <<_ACEOF
24305 #line $LINENO "configure"
24308 cat confdefs.h
>>conftest.
$ac_ext
24309 cat >>conftest.
$ac_ext <<_ACEOF
24310 /* end confdefs.h. */
24312 #include <X11/Xlib.h>
24313 #include <X11/extensions/shape.h>
24319 int dummy1, dummy2;
24320 XShapeQueryExtension((Display*)NULL,
24321 (int*)NULL, (int*)NULL);
24327 rm -f conftest.
$ac_objext
24328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24329 (eval $ac_compile) 2>&5
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); } &&
24333 { ac_try
='test -s conftest.$ac_objext'
24334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24335 (eval $ac_try) 2>&5
24337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24338 (exit $ac_status); }; }; then
24340 cat >>confdefs.h
<<\_ACEOF
24341 #define HAVE_XSHAPE 1
24344 echo "$as_me:$LINENO: result: found" >&5
24345 echo "${ECHO_T}found" >&6
24348 echo "$as_me: failed program was:" >&5
24349 sed 's/^/| /' conftest.
$ac_ext >&5
24352 echo "$as_me:$LINENO: result: not found" >&5
24353 echo "${ECHO_T}not found" >&6
24356 rm -f conftest.
$ac_objext conftest.
$ac_ext
24357 CFLAGS
="$save_CFLAGS"
24360 if test "$wxUSE_MAC" = 1; then
24361 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24362 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24363 if test "$GCC" = yes; then
24364 echo "$as_me:$LINENO: result: gcc" >&5
24365 echo "${ECHO_T}gcc" >&6
24366 CPPFLAGS_PASCAL
="-fpascal-strings"
24367 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24368 echo "$as_me:$LINENO: result: xlc" >&5
24369 echo "${ECHO_T}xlc" >&6
24370 CPPFLAGS_PASCAL
="-qmacpstr"
24372 echo "$as_me:$LINENO: result: none" >&5
24373 echo "${ECHO_T}none" >&6
24376 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24378 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24381 WXBASEPORT
="_carbon"
24384 if test "$wxUSE_COCOA" = 1; then
24385 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
24390 if test "$wxUSE_PM" = 1; then
24395 if test "$TOOLKIT" = "PM" ; then
24398 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24401 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24403 if test "$wxUSE_UNIVERSAL" = "yes"; then
24404 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24406 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24407 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24409 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24410 if test "$wxUSE_X11" = 1; then
24411 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24413 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24415 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24418 ALL_OBJECTS
="\$(GUIOBJS)"
24419 ALL_SOURCES
="\$(ALL_SOURCES)"
24420 ALL_HEADERS
="\$(ALL_HEADERS)"
24423 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24425 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24426 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
24429 if test "$wxUSE_HTML" = "yes"; then
24430 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
24433 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24434 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
24436 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24437 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
24439 if test "$wxUSE_LIBPNG" = "builtin" ; then
24440 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
24443 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24444 DISTDIR
="wx\$(TOOLKIT)"
24450 if test "$USE_WIN32" = 1 ; then
24451 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24452 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
24456 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24457 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
24460 ALL_SOURCES
="\$(ALL_SOURCES)"
24461 ALL_HEADERS
="\$(ALL_HEADERS)"
24463 PORT_FILES
="\${top_srcdir}/src/files.lst"
24465 GUIDIST
="BASE_DIST"
24475 if test "$TOOLKIT" != "MSW" ; then
24477 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24479 if test "${ac_cv_header_sql_h+set}" = set; then
24480 echo "$as_me:$LINENO: checking for sql.h" >&5
24481 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24482 if test "${ac_cv_header_sql_h+set}" = set; then
24483 echo $ECHO_N "(cached) $ECHO_C" >&6
24485 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24486 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24488 # Is the header compilable?
24489 echo "$as_me:$LINENO: checking sql.h usability" >&5
24490 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24491 cat >conftest.
$ac_ext <<_ACEOF
24492 #line $LINENO "configure"
24495 cat confdefs.h
>>conftest.
$ac_ext
24496 cat >>conftest.
$ac_ext <<_ACEOF
24497 /* end confdefs.h. */
24498 $ac_includes_default
24501 rm -f conftest.
$ac_objext
24502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24503 (eval $ac_compile) 2>&5
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); } &&
24507 { ac_try
='test -s conftest.$ac_objext'
24508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24509 (eval $ac_try) 2>&5
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); }; }; then
24513 ac_header_compiler
=yes
24515 echo "$as_me: failed program was:" >&5
24516 sed 's/^/| /' conftest.
$ac_ext >&5
24518 ac_header_compiler
=no
24520 rm -f conftest.
$ac_objext conftest.
$ac_ext
24521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24522 echo "${ECHO_T}$ac_header_compiler" >&6
24524 # Is the header present?
24525 echo "$as_me:$LINENO: checking sql.h presence" >&5
24526 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24527 cat >conftest.
$ac_ext <<_ACEOF
24528 #line $LINENO "configure"
24531 cat confdefs.h
>>conftest.
$ac_ext
24532 cat >>conftest.
$ac_ext <<_ACEOF
24533 /* end confdefs.h. */
24536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24537 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24539 grep -v '^ *+' conftest.er1
>conftest.err
24541 cat conftest.err
>&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } >/dev
/null
; then
24544 if test -s conftest.err
; then
24545 ac_cpp_err
=$ac_c_preproc_warn_flag
24552 if test -z "$ac_cpp_err"; then
24553 ac_header_preproc
=yes
24555 echo "$as_me: failed program was:" >&5
24556 sed 's/^/| /' conftest.
$ac_ext >&5
24558 ac_header_preproc
=no
24560 rm -f conftest.err conftest.
$ac_ext
24561 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24562 echo "${ECHO_T}$ac_header_preproc" >&6
24564 # So? What about this header?
24565 case $ac_header_compiler:$ac_header_preproc in
24567 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24568 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24569 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24570 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24573 ## ------------------------------------ ##
24574 ## Report this to bug-autoconf@gnu.org. ##
24575 ## ------------------------------------ ##
24578 sed "s/^/$as_me: WARNING: /" >&2
24581 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24582 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24583 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24584 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24585 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24586 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24589 ## ------------------------------------ ##
24590 ## Report this to bug-autoconf@gnu.org. ##
24591 ## ------------------------------------ ##
24594 sed "s/^/$as_me: WARNING: /" >&2
24597 echo "$as_me:$LINENO: checking for sql.h" >&5
24598 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24599 if test "${ac_cv_header_sql_h+set}" = set; then
24600 echo $ECHO_N "(cached) $ECHO_C" >&6
24602 ac_cv_header_sql_h
=$ac_header_preproc
24604 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24605 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24608 if test $ac_cv_header_sql_h = yes; then
24613 if test "x$found_sql_h" = "x1" ; then
24614 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24615 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24616 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24617 echo $ECHO_N "(cached) $ECHO_C" >&6
24619 ac_check_lib_save_LIBS
=$LIBS
24620 LIBS
="-liodbc $LIBS"
24621 cat >conftest.
$ac_ext <<_ACEOF
24622 #line $LINENO "configure"
24625 cat confdefs.h
>>conftest.
$ac_ext
24626 cat >>conftest.
$ac_ext <<_ACEOF
24627 /* end confdefs.h. */
24629 /* Override any gcc2 internal prototype to avoid an error. */
24633 /* We use char because int might match the return type of a gcc2
24634 builtin and then its argument prototype would still apply. */
24635 char SQLAllocEnv ();
24644 rm -f conftest.
$ac_objext conftest
$ac_exeext
24645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24646 (eval $ac_link) 2>&5
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); } &&
24650 { ac_try
='test -s conftest$ac_exeext'
24651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24652 (eval $ac_try) 2>&5
24654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24655 (exit $ac_status); }; }; then
24656 ac_cv_lib_iodbc_SQLAllocEnv
=yes
24658 echo "$as_me: failed program was:" >&5
24659 sed 's/^/| /' conftest.
$ac_ext >&5
24661 ac_cv_lib_iodbc_SQLAllocEnv
=no
24663 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24664 LIBS
=$ac_check_lib_save_LIBS
24666 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24667 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24668 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24669 ODBC_LINK
=" -liodbc"
24672 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24673 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24674 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24675 echo $ECHO_N "(cached) $ECHO_C" >&6
24677 ac_check_lib_save_LIBS
=$LIBS
24678 LIBS
="-lunixodbc $LIBS"
24679 cat >conftest.
$ac_ext <<_ACEOF
24680 #line $LINENO "configure"
24683 cat confdefs.h
>>conftest.
$ac_ext
24684 cat >>conftest.
$ac_ext <<_ACEOF
24685 /* end confdefs.h. */
24687 /* Override any gcc2 internal prototype to avoid an error. */
24691 /* We use char because int might match the return type of a gcc2
24692 builtin and then its argument prototype would still apply. */
24693 char SQLAllocEnv ();
24702 rm -f conftest.
$ac_objext conftest
$ac_exeext
24703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24704 (eval $ac_link) 2>&5
24706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24707 (exit $ac_status); } &&
24708 { ac_try
='test -s conftest$ac_exeext'
24709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24710 (eval $ac_try) 2>&5
24712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24713 (exit $ac_status); }; }; then
24714 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
24716 echo "$as_me: failed program was:" >&5
24717 sed 's/^/| /' conftest.
$ac_ext >&5
24719 ac_cv_lib_unixodbc_SQLAllocEnv
=no
24721 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24722 LIBS
=$ac_check_lib_save_LIBS
24724 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24725 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24726 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24727 ODBC_LINK
=" -lunixodbc"
24730 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24731 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24732 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24733 echo $ECHO_N "(cached) $ECHO_C" >&6
24735 ac_check_lib_save_LIBS
=$LIBS
24736 LIBS
="-lodbc $LIBS"
24737 cat >conftest.
$ac_ext <<_ACEOF
24738 #line $LINENO "configure"
24741 cat confdefs.h
>>conftest.
$ac_ext
24742 cat >>conftest.
$ac_ext <<_ACEOF
24743 /* end confdefs.h. */
24745 /* Override any gcc2 internal prototype to avoid an error. */
24749 /* We use char because int might match the return type of a gcc2
24750 builtin and then its argument prototype would still apply. */
24751 char SQLAllocEnv ();
24760 rm -f conftest.
$ac_objext conftest
$ac_exeext
24761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24762 (eval $ac_link) 2>&5
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); } &&
24766 { ac_try
='test -s conftest$ac_exeext'
24767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24768 (eval $ac_try) 2>&5
24770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); }; }; then
24772 ac_cv_lib_odbc_SQLAllocEnv
=yes
24774 echo "$as_me: failed program was:" >&5
24775 sed 's/^/| /' conftest.
$ac_ext >&5
24777 ac_cv_lib_odbc_SQLAllocEnv
=no
24779 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24780 LIBS
=$ac_check_lib_save_LIBS
24782 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
24783 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
24784 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
24785 ODBC_LINK
=" -lodbc"
24795 if test "x$ODBC_LINK" = "x" ; then
24796 if test "$wxUSE_ODBC" = "sys" ; then
24797 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24798 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24799 { (exit 1); exit 1; }; }
24801 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24802 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24809 if test "$wxUSE_ODBC" != "no" ; then
24810 cat >>confdefs.h
<<\_ACEOF
24811 #define wxUSE_ODBC 1
24814 if test "$wxUSE_ODBC" = "builtin" ; then
24815 cat >>confdefs.h
<<\_ACEOF
24816 #define wxUSE_BUILTIN_IODBC 1
24820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
24822 WXODBCFLAG
="-D_IODBC_"
24826 if test "$wxUSE_REGEX" = "builtin" ; then
24827 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
24829 if test "$wxUSE_ZLIB" = "builtin" ; then
24830 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
24835 if test "$wxUSE_OPENGL" = "yes"; then
24836 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24837 OPENGL_LIBS
="-framework OpenGL -framework AGL"
24838 elif test "$wxUSE_MSW" = 1; then
24839 OPENGL_LIBS
="-lopengl32 -lglu32"
24844 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
24846 if test -f "$ac_dir/GL/gl.h"; then
24847 ac_find_includes
=$ac_dir
24852 if test "$ac_find_includes" != "" ; then
24853 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24854 echo "${ECHO_T}found in $ac_find_includes" >&6
24856 if test "x$ac_find_includes" = "x/usr/include"; then
24857 ac_path_to_include
=""
24859 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
24861 if test $result = 0; then
24862 ac_path_to_include
=""
24864 ac_path_to_include
=" -I$ac_find_includes"
24868 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
24871 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24872 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24873 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24874 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24875 echo $ECHO_N "(cached) $ECHO_C" >&6
24877 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24878 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24880 # Is the header compilable?
24881 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24882 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24883 cat >conftest.
$ac_ext <<_ACEOF
24884 #line $LINENO "configure"
24887 cat confdefs.h
>>conftest.
$ac_ext
24888 cat >>conftest.
$ac_ext <<_ACEOF
24889 /* end confdefs.h. */
24890 $ac_includes_default
24893 rm -f conftest.
$ac_objext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24895 (eval $ac_compile) 2>&5
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); } &&
24899 { ac_try
='test -s conftest.$ac_objext'
24900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24901 (eval $ac_try) 2>&5
24903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24904 (exit $ac_status); }; }; then
24905 ac_header_compiler
=yes
24907 echo "$as_me: failed program was:" >&5
24908 sed 's/^/| /' conftest.
$ac_ext >&5
24910 ac_header_compiler
=no
24912 rm -f conftest.
$ac_objext conftest.
$ac_ext
24913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24914 echo "${ECHO_T}$ac_header_compiler" >&6
24916 # Is the header present?
24917 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24918 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24919 cat >conftest.
$ac_ext <<_ACEOF
24920 #line $LINENO "configure"
24923 cat confdefs.h
>>conftest.
$ac_ext
24924 cat >>conftest.
$ac_ext <<_ACEOF
24925 /* end confdefs.h. */
24928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24929 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24931 grep -v '^ *+' conftest.er1
>conftest.err
24933 cat conftest.err
>&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); } >/dev
/null
; then
24936 if test -s conftest.err
; then
24937 ac_cpp_err
=$ac_c_preproc_warn_flag
24944 if test -z "$ac_cpp_err"; then
24945 ac_header_preproc
=yes
24947 echo "$as_me: failed program was:" >&5
24948 sed 's/^/| /' conftest.
$ac_ext >&5
24950 ac_header_preproc
=no
24952 rm -f conftest.err conftest.
$ac_ext
24953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24954 echo "${ECHO_T}$ac_header_preproc" >&6
24956 # So? What about this header?
24957 case $ac_header_compiler:$ac_header_preproc in
24959 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24960 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24961 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24962 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24965 ## ------------------------------------ ##
24966 ## Report this to bug-autoconf@gnu.org. ##
24967 ## ------------------------------------ ##
24970 sed "s/^/$as_me: WARNING: /" >&2
24973 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24974 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24975 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24976 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24977 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24978 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24981 ## ------------------------------------ ##
24982 ## Report this to bug-autoconf@gnu.org. ##
24983 ## ------------------------------------ ##
24986 sed "s/^/$as_me: WARNING: /" >&2
24989 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24990 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24991 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24992 echo $ECHO_N "(cached) $ECHO_C" >&6
24994 ac_cv_header_GL_gl_h
=$ac_header_preproc
24996 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24997 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25000 if test $ac_cv_header_GL_gl_h = yes; then
25004 echo "$as_me:$LINENO: checking for -lGL" >&5
25005 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25008 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25010 for ac_extension
in a so sl dylib
; do
25011 if test -f "$ac_dir/libGL.$ac_extension"; then
25012 ac_find_libraries
=$ac_dir
25018 if test "$ac_find_libraries" != "" ; then
25020 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25022 if test $result = 0; then
25025 ac_path_to_link
=" -L$ac_find_libraries"
25028 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25029 LDFLAGS_GL
="$ac_path_to_link"
25034 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25036 for ac_extension
in a so sl dylib
; do
25037 if test -f "$ac_dir/libGLU.$ac_extension"; then
25038 ac_find_libraries
=$ac_dir
25044 if test "$ac_find_libraries" != "" ; then
25046 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25048 if test $result = 0; then
25051 ac_path_to_link
=" -L$ac_find_libraries"
25054 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25055 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25056 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
25060 OPENGL_LIBS
="-lGL -lGLU"
25061 echo "$as_me:$LINENO: result: yes" >&5
25062 echo "${ECHO_T}yes" >&6
25066 if test "$found_gl" != 1; then
25067 echo "$as_me:$LINENO: result: no" >&5
25068 echo "${ECHO_T}no" >&6
25069 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25070 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25073 for ac_dir
in $SEARCH_LIB /usr
/lib
;
25075 for ac_extension
in a so sl dylib
; do
25076 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25077 ac_find_libraries
=$ac_dir
25083 if test "$ac_find_libraries" != "" ; then
25085 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
25087 if test $result = 0; then
25090 ac_path_to_link
=" -L$ac_find_libraries"
25093 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
25094 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
25095 echo "$as_me:$LINENO: result: yes" >&5
25096 echo "${ECHO_T}yes" >&6
25098 echo "$as_me:$LINENO: result: no" >&5
25099 echo "${ECHO_T}no" >&6
25107 if test "x$OPENGL_LIBS" = "x"; then
25108 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25109 echo "$as_me: error: OpenGL libraries not available" >&2;}
25110 { (exit 1); exit 1; }; }
25114 if test "$wxUSE_OPENGL" = "yes"; then
25116 cat >>confdefs.h
<<\_ACEOF
25117 #define wxUSE_OPENGL 1
25120 cat >>confdefs.h
<<\_ACEOF
25121 #define wxUSE_GLCANVAS 1
25124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25128 if test -z "$TOOLKIT_VPATH" ; then
25129 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
25132 if test -n "$TOOLKIT" ; then
25133 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25137 lib_unicode_suffix
=
25138 if test "$wxUSE_UNICODE" = "yes"; then
25139 lib_unicode_suffix
=u
25145 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25151 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25155 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25157 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25158 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25160 if test "$cross_compiling" = "yes"; then
25161 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
25162 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
25163 HOST_SUFFIX
="-${host_alias}"
25166 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
25167 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
25168 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25169 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25171 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25172 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25174 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25175 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25176 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25177 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25180 *-*-cygwin* | *-*-mingw32* )
25181 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25182 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25187 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25188 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25190 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25191 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
25192 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25193 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25195 if test "$wxUSE_MAC" = 1; then
25196 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25197 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25202 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
25203 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
25205 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
25206 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
25208 if test "$wxUSE_OPENGL" = "yes"; then
25209 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25210 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25215 if test "$wxUSE_SHARED" = "yes"; then
25217 *-pc-os2_emx | *-pc-os2-emx | \
25220 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25221 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25227 if test "$wxUSE_SHARED" = "yes"; then
25231 found_versioning
=no
25234 if test $found_versioning = no
; then
25235 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25236 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25237 if test "${wx_cv_version_script+set}" = set; then
25238 echo $ECHO_N "(cached) $ECHO_C" >&6
25241 echo "VER_1 { *; };" >conftest.sym
25242 echo "int main() { return 0; }" >conftest.cpp
25245 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25246 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25248 (eval $ac_try) 2>&5
25250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25251 (exit $ac_status); }; } ; then
25252 if test -s conftest.stderr
; then
25253 wx_cv_version_script
=no
25255 wx_cv_version_script
=yes
25258 wx_cv_version_script
=no
25260 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25263 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25264 echo "${ECHO_T}$wx_cv_version_script" >&6
25265 if test $wx_cv_version_script = yes ; then
25266 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
25272 *-*-linux* | *-*-gnu* )
25273 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25277 if test "$GCC" = yes ; then
25278 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
25280 saveLdflags
="$LDFLAGS"
25281 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
25282 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25283 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25284 cat >conftest.
$ac_ext <<_ACEOF
25285 #line $LINENO "configure"
25288 cat confdefs.h
>>conftest.
$ac_ext
25289 cat >>conftest.
$ac_ext <<_ACEOF
25290 /* end confdefs.h. */
25300 rm -f conftest.
$ac_objext conftest
$ac_exeext
25301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25302 (eval $ac_link) 2>&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); } &&
25306 { ac_try
='test -s conftest$ac_exeext'
25307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25308 (eval $ac_try) 2>&5
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); }; }; then
25313 echo "$as_me:$LINENO: result: yes" >&5
25314 echo "${ECHO_T}yes" >&6
25315 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
25318 echo "$as_me: failed program was:" >&5
25319 sed 's/^/| /' conftest.
$ac_ext >&5
25322 echo "$as_me:$LINENO: result: no" >&5
25323 echo "${ECHO_T}no" >&6
25324 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25325 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25326 LDFLAGS
="$saveLdflags -Wl,-R,/"
25327 cat >conftest.
$ac_ext <<_ACEOF
25328 #line $LINENO "configure"
25331 cat confdefs.h
>>conftest.
$ac_ext
25332 cat >>conftest.
$ac_ext <<_ACEOF
25333 /* end confdefs.h. */
25343 rm -f conftest.
$ac_objext conftest
$ac_exeext
25344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25345 (eval $ac_link) 2>&5
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); } &&
25349 { ac_try
='test -s conftest$ac_exeext'
25350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25351 (eval $ac_try) 2>&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); }; }; then
25356 echo "$as_me:$LINENO: result: yes" >&5
25357 echo "${ECHO_T}yes" >&6
25358 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
25360 echo "$as_me: failed program was:" >&5
25361 sed 's/^/| /' conftest.
$ac_ext >&5
25364 echo "$as_me:$LINENO: result: no" >&5
25365 echo "${ECHO_T}no" >&6
25368 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25371 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25372 LDFLAGS
="$saveLdflags"
25374 SHARED_LD
="${CXX} -G -o"
25376 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
25380 powerpc
-*-darwin* )
25381 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25382 cat <<EOF >change-install-names
25384 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25385 inst_cmd="install_name_tool "
25386 for i in \${libnames} ; do
25387 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25391 chmod +x change
-install-names
25396 if test "x$WX_TARGET_LIBRARY" = "x"; then
25397 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
25398 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
25401 WX_TARGET_LIBRARY_TYPE
="so"
25402 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
25405 if test "$wxUSE_SHARED" = "no"; then
25407 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25408 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25411 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25412 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
25415 if test "$wxUSE_OPENGL" = "yes"; then
25416 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
25417 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25419 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25422 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
25423 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
25425 WX_TARGET_LIBRARY_TYPE
="a"
25426 INSTALL_LIBRARY
='$(INSTALL_DATA)'
25436 if test "$wxUSE_MAC" = 1; then
25437 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25438 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
25439 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
25440 # Extract the first word of "Rez", so it can be a program name with args.
25441 set dummy Rez
; ac_word
=$2
25442 echo "$as_me:$LINENO: checking for $ac_word" >&5
25443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25444 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25447 if test -n "$RESCOMP"; then
25448 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25451 for as_dir
in $PATH
25454 test -z "$as_dir" && as_dir
=.
25455 for ac_exec_ext
in '' $ac_executable_extensions; do
25456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25457 ac_cv_prog_RESCOMP
="Rez"
25458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25464 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25467 RESCOMP
=$ac_cv_prog_RESCOMP
25468 if test -n "$RESCOMP"; then
25469 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25470 echo "${ECHO_T}$RESCOMP" >&6
25472 echo "$as_me:$LINENO: result: no" >&5
25473 echo "${ECHO_T}no" >&6
25476 # Extract the first word of "DeRez", so it can be a program name with args.
25477 set dummy DeRez
; ac_word
=$2
25478 echo "$as_me:$LINENO: checking for $ac_word" >&5
25479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25480 if test "${ac_cv_prog_DEREZ+set}" = set; then
25481 echo $ECHO_N "(cached) $ECHO_C" >&6
25483 if test -n "$DEREZ"; then
25484 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25487 for as_dir
in $PATH
25490 test -z "$as_dir" && as_dir
=.
25491 for ac_exec_ext
in '' $ac_executable_extensions; do
25492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25493 ac_cv_prog_DEREZ
="DeRez"
25494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25500 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25503 DEREZ
=$ac_cv_prog_DEREZ
25504 if test -n "$DEREZ"; then
25505 echo "$as_me:$LINENO: result: $DEREZ" >&5
25506 echo "${ECHO_T}$DEREZ" >&6
25508 echo "$as_me:$LINENO: result: no" >&5
25509 echo "${ECHO_T}no" >&6
25512 # Extract the first word of "SetFile", so it can be a program name with args.
25513 set dummy SetFile
; ac_word
=$2
25514 echo "$as_me:$LINENO: checking for $ac_word" >&5
25515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25516 if test "${ac_cv_prog_SETFILE+set}" = set; then
25517 echo $ECHO_N "(cached) $ECHO_C" >&6
25519 if test -n "$SETFILE"; then
25520 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25523 for as_dir
in $PATH
25526 test -z "$as_dir" && as_dir
=.
25527 for ac_exec_ext
in '' $ac_executable_extensions; do
25528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25529 ac_cv_prog_SETFILE
="SetFile"
25530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25536 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25539 SETFILE
=$ac_cv_prog_SETFILE
25540 if test -n "$SETFILE"; then
25541 echo "$as_me:$LINENO: result: $SETFILE" >&5
25542 echo "${ECHO_T}$SETFILE" >&6
25544 echo "$as_me:$LINENO: result: no" >&5
25545 echo "${ECHO_T}no" >&6
25548 MACOSX_BUNDLE
="bundle"
25549 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25550 MACSETFILE
="\$(SETFILE)"
25551 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25552 elif test "$wxUSE_COCOA" = 1; then
25553 # Extract the first word of "Rez", so it can be a program name with args.
25554 set dummy Rez
; ac_word
=$2
25555 echo "$as_me:$LINENO: checking for $ac_word" >&5
25556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25557 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6
25560 if test -n "$RESCOMP"; then
25561 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
25563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25564 for as_dir
in $PATH
25567 test -z "$as_dir" && as_dir
=.
25568 for ac_exec_ext
in '' $ac_executable_extensions; do
25569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25570 ac_cv_prog_RESCOMP
="Rez"
25571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25577 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
25580 RESCOMP
=$ac_cv_prog_RESCOMP
25581 if test -n "$RESCOMP"; then
25582 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25583 echo "${ECHO_T}$RESCOMP" >&6
25585 echo "$as_me:$LINENO: result: no" >&5
25586 echo "${ECHO_T}no" >&6
25589 # Extract the first word of "DeRez", so it can be a program name with args.
25590 set dummy DeRez
; ac_word
=$2
25591 echo "$as_me:$LINENO: checking for $ac_word" >&5
25592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25593 if test "${ac_cv_prog_DEREZ+set}" = set; then
25594 echo $ECHO_N "(cached) $ECHO_C" >&6
25596 if test -n "$DEREZ"; then
25597 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
25599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25600 for as_dir
in $PATH
25603 test -z "$as_dir" && as_dir
=.
25604 for ac_exec_ext
in '' $ac_executable_extensions; do
25605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25606 ac_cv_prog_DEREZ
="DeRez"
25607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25613 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
25616 DEREZ
=$ac_cv_prog_DEREZ
25617 if test -n "$DEREZ"; then
25618 echo "$as_me:$LINENO: result: $DEREZ" >&5
25619 echo "${ECHO_T}$DEREZ" >&6
25621 echo "$as_me:$LINENO: result: no" >&5
25622 echo "${ECHO_T}no" >&6
25625 # Extract the first word of "SetFile", so it can be a program name with args.
25626 set dummy SetFile
; ac_word
=$2
25627 echo "$as_me:$LINENO: checking for $ac_word" >&5
25628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25629 if test "${ac_cv_prog_SETFILE+set}" = set; then
25630 echo $ECHO_N "(cached) $ECHO_C" >&6
25632 if test -n "$SETFILE"; then
25633 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
25635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25636 for as_dir
in $PATH
25639 test -z "$as_dir" && as_dir
=.
25640 for ac_exec_ext
in '' $ac_executable_extensions; do
25641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25642 ac_cv_prog_SETFILE
="SetFile"
25643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25649 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
25652 SETFILE
=$ac_cv_prog_SETFILE
25653 if test -n "$SETFILE"; then
25654 echo "$as_me:$LINENO: result: $SETFILE" >&5
25655 echo "${ECHO_T}$SETFILE" >&6
25657 echo "$as_me:$LINENO: result: no" >&5
25658 echo "${ECHO_T}no" >&6
25661 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25662 MACSETFILE
="\$(SETFILE)"
25663 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25665 if test "$wxUSE_PM" = 1; then
25666 MACRESCOMP
="emxbind -ep"
25671 echo "$as_me:$LINENO: checking for mode_t" >&5
25672 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25673 if test "${ac_cv_type_mode_t+set}" = set; then
25674 echo $ECHO_N "(cached) $ECHO_C" >&6
25676 cat >conftest.
$ac_ext <<_ACEOF
25677 #line $LINENO "configure"
25680 cat confdefs.h
>>conftest.
$ac_ext
25681 cat >>conftest.
$ac_ext <<_ACEOF
25682 /* end confdefs.h. */
25683 $ac_includes_default
25689 if (sizeof (mode_t))
25695 rm -f conftest.
$ac_objext
25696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25697 (eval $ac_compile) 2>&5
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); } &&
25701 { ac_try
='test -s conftest.$ac_objext'
25702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25703 (eval $ac_try) 2>&5
25705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25706 (exit $ac_status); }; }; then
25707 ac_cv_type_mode_t
=yes
25709 echo "$as_me: failed program was:" >&5
25710 sed 's/^/| /' conftest.
$ac_ext >&5
25712 ac_cv_type_mode_t
=no
25714 rm -f conftest.
$ac_objext conftest.
$ac_ext
25716 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25717 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25718 if test $ac_cv_type_mode_t = yes; then
25722 cat >>confdefs.h
<<_ACEOF
25728 echo "$as_me:$LINENO: checking for off_t" >&5
25729 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25730 if test "${ac_cv_type_off_t+set}" = set; then
25731 echo $ECHO_N "(cached) $ECHO_C" >&6
25733 cat >conftest.
$ac_ext <<_ACEOF
25734 #line $LINENO "configure"
25737 cat confdefs.h
>>conftest.
$ac_ext
25738 cat >>conftest.
$ac_ext <<_ACEOF
25739 /* end confdefs.h. */
25740 $ac_includes_default
25746 if (sizeof (off_t))
25752 rm -f conftest.
$ac_objext
25753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25754 (eval $ac_compile) 2>&5
25756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25757 (exit $ac_status); } &&
25758 { ac_try
='test -s conftest.$ac_objext'
25759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25760 (eval $ac_try) 2>&5
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); }; }; then
25764 ac_cv_type_off_t
=yes
25766 echo "$as_me: failed program was:" >&5
25767 sed 's/^/| /' conftest.
$ac_ext >&5
25769 ac_cv_type_off_t
=no
25771 rm -f conftest.
$ac_objext conftest.
$ac_ext
25773 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25774 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25775 if test $ac_cv_type_off_t = yes; then
25779 cat >>confdefs.h
<<_ACEOF
25785 echo "$as_me:$LINENO: checking for pid_t" >&5
25786 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25787 if test "${ac_cv_type_pid_t+set}" = set; then
25788 echo $ECHO_N "(cached) $ECHO_C" >&6
25790 cat >conftest.
$ac_ext <<_ACEOF
25791 #line $LINENO "configure"
25794 cat confdefs.h
>>conftest.
$ac_ext
25795 cat >>conftest.
$ac_ext <<_ACEOF
25796 /* end confdefs.h. */
25797 $ac_includes_default
25803 if (sizeof (pid_t))
25809 rm -f conftest.
$ac_objext
25810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25811 (eval $ac_compile) 2>&5
25813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25814 (exit $ac_status); } &&
25815 { ac_try
='test -s conftest.$ac_objext'
25816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25817 (eval $ac_try) 2>&5
25819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820 (exit $ac_status); }; }; then
25821 ac_cv_type_pid_t
=yes
25823 echo "$as_me: failed program was:" >&5
25824 sed 's/^/| /' conftest.
$ac_ext >&5
25826 ac_cv_type_pid_t
=no
25828 rm -f conftest.
$ac_objext conftest.
$ac_ext
25830 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25831 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25832 if test $ac_cv_type_pid_t = yes; then
25836 cat >>confdefs.h
<<_ACEOF
25842 echo "$as_me:$LINENO: checking for size_t" >&5
25843 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25844 if test "${ac_cv_type_size_t+set}" = set; then
25845 echo $ECHO_N "(cached) $ECHO_C" >&6
25847 cat >conftest.
$ac_ext <<_ACEOF
25848 #line $LINENO "configure"
25851 cat confdefs.h
>>conftest.
$ac_ext
25852 cat >>conftest.
$ac_ext <<_ACEOF
25853 /* end confdefs.h. */
25854 $ac_includes_default
25860 if (sizeof (size_t))
25866 rm -f conftest.
$ac_objext
25867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25868 (eval $ac_compile) 2>&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); } &&
25872 { ac_try
='test -s conftest.$ac_objext'
25873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874 (eval $ac_try) 2>&5
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); }; }; then
25878 ac_cv_type_size_t
=yes
25880 echo "$as_me: failed program was:" >&5
25881 sed 's/^/| /' conftest.
$ac_ext >&5
25883 ac_cv_type_size_t
=no
25885 rm -f conftest.
$ac_objext conftest.
$ac_ext
25887 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25888 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25889 if test $ac_cv_type_size_t = yes; then
25893 cat >>confdefs.h
<<_ACEOF
25894 #define size_t unsigned
25899 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25900 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25901 if test "${ac_cv_type_uid_t+set}" = set; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25904 cat >conftest.
$ac_ext <<_ACEOF
25905 #line $LINENO "configure"
25908 cat confdefs.h
>>conftest.
$ac_ext
25909 cat >>conftest.
$ac_ext <<_ACEOF
25910 /* end confdefs.h. */
25911 #include <sys/types.h>
25914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25915 $EGREP "uid_t" >/dev
/null
2>&1; then
25916 ac_cv_type_uid_t
=yes
25918 ac_cv_type_uid_t
=no
25923 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25924 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25925 if test $ac_cv_type_uid_t = no
; then
25927 cat >>confdefs.h
<<\_ACEOF
25932 cat >>confdefs.h
<<\_ACEOF
25942 ac_cpp
='$CXXCPP $CPPFLAGS'
25943 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25944 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25945 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25947 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25948 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25949 if test "${wx_cv_size_t_is_uint+set}" = set; then
25950 echo $ECHO_N "(cached) $ECHO_C" >&6
25953 cat >conftest.
$ac_ext <<_ACEOF
25954 #line $LINENO "configure"
25957 cat confdefs.h
>>conftest.
$ac_ext
25958 cat >>conftest.
$ac_ext <<_ACEOF
25959 /* end confdefs.h. */
25960 #include <stddef.h>
25967 struct Foo { void foo(size_t); void foo(unsigned int); };
25975 rm -f conftest.
$ac_objext
25976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25977 (eval $ac_compile) 2>&5
25979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25980 (exit $ac_status); } &&
25981 { ac_try
='test -s conftest.$ac_objext'
25982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25983 (eval $ac_try) 2>&5
25985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25986 (exit $ac_status); }; }; then
25987 wx_cv_size_t_is_uint
=no
25989 echo "$as_me: failed program was:" >&5
25990 sed 's/^/| /' conftest.
$ac_ext >&5
25992 wx_cv_size_t_is_uint
=yes
25995 rm -f conftest.
$ac_objext conftest.
$ac_ext
25999 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26000 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26002 if test "$wx_cv_size_t_is_uint" = "yes"; then
26003 cat >>confdefs.h
<<\_ACEOF
26004 #define wxSIZE_T_IS_UINT 1
26008 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26009 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26010 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26011 echo $ECHO_N "(cached) $ECHO_C" >&6
26013 cat >conftest.
$ac_ext <<_ACEOF
26014 #line $LINENO "configure"
26017 cat confdefs.h
>>conftest.
$ac_ext
26018 cat >>conftest.
$ac_ext <<_ACEOF
26019 /* end confdefs.h. */
26020 #include <stddef.h>
26027 struct Foo { void foo(size_t); void foo(unsigned long); };
26035 rm -f conftest.
$ac_objext
26036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26037 (eval $ac_compile) 2>&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); } &&
26041 { ac_try
='test -s conftest.$ac_objext'
26042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26043 (eval $ac_try) 2>&5
26045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26046 (exit $ac_status); }; }; then
26047 wx_cv_size_t_is_ulong
=no
26049 echo "$as_me: failed program was:" >&5
26050 sed 's/^/| /' conftest.
$ac_ext >&5
26052 wx_cv_size_t_is_ulong
=yes
26055 rm -f conftest.
$ac_objext conftest.
$ac_ext
26058 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26059 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26061 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26062 cat >>confdefs.h
<<\_ACEOF
26063 #define wxSIZE_T_IS_ULONG 1
26070 ac_cpp
='$CPP $CPPFLAGS'
26071 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26072 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26073 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26077 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26078 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26079 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26080 echo $ECHO_N "(cached) $ECHO_C" >&6
26083 cat >conftest.
$ac_ext <<_ACEOF
26084 #line $LINENO "configure"
26087 cat confdefs.h
>>conftest.
$ac_ext
26088 cat >>conftest.
$ac_ext <<_ACEOF
26089 /* end confdefs.h. */
26103 rm -f conftest.
$ac_objext
26104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26105 (eval $ac_compile) 2>&5
26107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108 (exit $ac_status); } &&
26109 { ac_try
='test -s conftest.$ac_objext'
26110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26111 (eval $ac_try) 2>&5
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); }; }; then
26116 wx_cv_struct_pw_gecos
=yes
26119 echo "$as_me: failed program was:" >&5
26120 sed 's/^/| /' conftest.
$ac_ext >&5
26123 wx_cv_struct_pw_gecos
=no
26127 rm -f conftest.
$ac_objext conftest.
$ac_ext
26131 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26132 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26134 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26135 cat >>confdefs.h
<<\_ACEOF
26136 #define HAVE_PW_GECOS 1
26142 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26143 cat >>confdefs.h
<<\_ACEOF
26144 #define wxUSE_WCHAR_T 1
26151 for ac_func
in wcslen
26153 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26154 echo "$as_me:$LINENO: checking for $ac_func" >&5
26155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26156 if eval "test \"\${$as_ac_var+set}\" = set"; then
26157 echo $ECHO_N "(cached) $ECHO_C" >&6
26159 cat >conftest.
$ac_ext <<_ACEOF
26160 #line $LINENO "configure"
26163 cat confdefs.h
>>conftest.
$ac_ext
26164 cat >>conftest.
$ac_ext <<_ACEOF
26165 /* end confdefs.h. */
26166 /* System header to define __stub macros and hopefully few prototypes,
26167 which can conflict with char $ac_func (); below.
26168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26169 <limits.h> exists even on freestanding compilers. */
26171 # include <limits.h>
26173 # include <assert.h>
26175 /* Override any gcc2 internal prototype to avoid an error. */
26180 /* We use char because int might match the return type of a gcc2
26181 builtin and then its argument prototype would still apply. */
26183 /* The GNU C library defines this for functions which it implements
26184 to always fail with ENOSYS. Some functions are actually named
26185 something starting with __ and the normal name is an alias. */
26186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26189 char (*f) () = $ac_func;
26198 return f != $ac_func;
26203 rm -f conftest.
$ac_objext conftest
$ac_exeext
26204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26205 (eval $ac_link) 2>&5
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); } &&
26209 { ac_try
='test -s conftest$ac_exeext'
26210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211 (eval $ac_try) 2>&5
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); }; }; then
26215 eval "$as_ac_var=yes"
26217 echo "$as_me: failed program was:" >&5
26218 sed 's/^/| /' conftest.
$ac_ext >&5
26220 eval "$as_ac_var=no"
26222 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26226 if test `eval echo '${'$as_ac_var'}'` = yes; then
26227 cat >>confdefs.h
<<_ACEOF
26228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26235 if test "$WCSLEN_FOUND" = 0; then
26236 if test "$TOOLKIT" = "MSW"; then
26237 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26238 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26239 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26240 echo $ECHO_N "(cached) $ECHO_C" >&6
26242 ac_check_lib_save_LIBS
=$LIBS
26243 LIBS
="-lmsvcrt $LIBS"
26244 cat >conftest.
$ac_ext <<_ACEOF
26245 #line $LINENO "configure"
26248 cat confdefs.h
>>conftest.
$ac_ext
26249 cat >>conftest.
$ac_ext <<_ACEOF
26250 /* end confdefs.h. */
26252 /* Override any gcc2 internal prototype to avoid an error. */
26256 /* We use char because int might match the return type of a gcc2
26257 builtin and then its argument prototype would still apply. */
26267 rm -f conftest.
$ac_objext conftest
$ac_exeext
26268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26269 (eval $ac_link) 2>&5
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); } &&
26273 { ac_try
='test -s conftest$ac_exeext'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; }; then
26279 ac_cv_lib_msvcrt_wcslen
=yes
26281 echo "$as_me: failed program was:" >&5
26282 sed 's/^/| /' conftest.
$ac_ext >&5
26284 ac_cv_lib_msvcrt_wcslen
=no
26286 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26287 LIBS
=$ac_check_lib_save_LIBS
26289 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26290 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26291 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26296 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26297 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26298 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26299 echo $ECHO_N "(cached) $ECHO_C" >&6
26301 ac_check_lib_save_LIBS
=$LIBS
26303 cat >conftest.
$ac_ext <<_ACEOF
26304 #line $LINENO "configure"
26307 cat confdefs.h
>>conftest.
$ac_ext
26308 cat >>conftest.
$ac_ext <<_ACEOF
26309 /* end confdefs.h. */
26311 /* Override any gcc2 internal prototype to avoid an error. */
26315 /* We use char because int might match the return type of a gcc2
26316 builtin and then its argument prototype would still apply. */
26326 rm -f conftest.
$ac_objext conftest
$ac_exeext
26327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26328 (eval $ac_link) 2>&5
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); } &&
26332 { ac_try
='test -s conftest$ac_exeext'
26333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26334 (eval $ac_try) 2>&5
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); }; }; then
26338 ac_cv_lib_w_wcslen
=yes
26340 echo "$as_me: failed program was:" >&5
26341 sed 's/^/| /' conftest.
$ac_ext >&5
26343 ac_cv_lib_w_wcslen
=no
26345 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26346 LIBS
=$ac_check_lib_save_LIBS
26348 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26349 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26350 if test $ac_cv_lib_w_wcslen = yes; then
26360 if test "$WCSLEN_FOUND" = 1; then
26361 cat >>confdefs.h
<<\_ACEOF
26362 #define HAVE_WCSLEN 1
26368 for ac_func
in wcsrtombs
26370 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26371 echo "$as_me:$LINENO: checking for $ac_func" >&5
26372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26373 if eval "test \"\${$as_ac_var+set}\" = set"; then
26374 echo $ECHO_N "(cached) $ECHO_C" >&6
26376 cat >conftest.
$ac_ext <<_ACEOF
26377 #line $LINENO "configure"
26380 cat confdefs.h
>>conftest.
$ac_ext
26381 cat >>conftest.
$ac_ext <<_ACEOF
26382 /* end confdefs.h. */
26383 /* System header to define __stub macros and hopefully few prototypes,
26384 which can conflict with char $ac_func (); below.
26385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26386 <limits.h> exists even on freestanding compilers. */
26388 # include <limits.h>
26390 # include <assert.h>
26392 /* Override any gcc2 internal prototype to avoid an error. */
26397 /* We use char because int might match the return type of a gcc2
26398 builtin and then its argument prototype would still apply. */
26400 /* The GNU C library defines this for functions which it implements
26401 to always fail with ENOSYS. Some functions are actually named
26402 something starting with __ and the normal name is an alias. */
26403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26406 char (*f) () = $ac_func;
26415 return f != $ac_func;
26420 rm -f conftest.
$ac_objext conftest
$ac_exeext
26421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26422 (eval $ac_link) 2>&5
26424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425 (exit $ac_status); } &&
26426 { ac_try
='test -s conftest$ac_exeext'
26427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26428 (eval $ac_try) 2>&5
26430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431 (exit $ac_status); }; }; then
26432 eval "$as_ac_var=yes"
26434 echo "$as_me: failed program was:" >&5
26435 sed 's/^/| /' conftest.
$ac_ext >&5
26437 eval "$as_ac_var=no"
26439 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26443 if test `eval echo '${'$as_ac_var'}'` = yes; then
26444 cat >>confdefs.h
<<_ACEOF
26445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26452 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26453 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26459 ac_cpp
='$CXXCPP $CPPFLAGS'
26460 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26461 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26462 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26466 for ac_func
in vsnprintf
26468 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26469 echo "$as_me:$LINENO: checking for $ac_func" >&5
26470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26471 if eval "test \"\${$as_ac_var+set}\" = set"; then
26472 echo $ECHO_N "(cached) $ECHO_C" >&6
26474 cat >conftest.
$ac_ext <<_ACEOF
26475 #line $LINENO "configure"
26478 cat confdefs.h
>>conftest.
$ac_ext
26479 cat >>conftest.
$ac_ext <<_ACEOF
26480 /* end confdefs.h. */
26481 /* System header to define __stub macros and hopefully few prototypes,
26482 which can conflict with char $ac_func (); below.
26483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26484 <limits.h> exists even on freestanding compilers. */
26486 # include <limits.h>
26488 # include <assert.h>
26490 /* Override any gcc2 internal prototype to avoid an error. */
26495 /* We use char because int might match the return type of a gcc2
26496 builtin and then its argument prototype would still apply. */
26498 /* The GNU C library defines this for functions which it implements
26499 to always fail with ENOSYS. Some functions are actually named
26500 something starting with __ and the normal name is an alias. */
26501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26504 char (*f) () = $ac_func;
26513 return f != $ac_func;
26518 rm -f conftest.
$ac_objext conftest
$ac_exeext
26519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26520 (eval $ac_link) 2>&5
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); } &&
26524 { ac_try
='test -s conftest$ac_exeext'
26525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26526 (eval $ac_try) 2>&5
26528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529 (exit $ac_status); }; }; then
26530 eval "$as_ac_var=yes"
26532 echo "$as_me: failed program was:" >&5
26533 sed 's/^/| /' conftest.
$ac_ext >&5
26535 eval "$as_ac_var=no"
26537 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26541 if test `eval echo '${'$as_ac_var'}'` = yes; then
26542 cat >>confdefs.h
<<_ACEOF
26543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26550 if test "$ac_cv_func_vsnprintf" = "yes"; then
26551 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26552 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26553 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26554 echo $ECHO_N "(cached) $ECHO_C" >&6
26557 cat >conftest.
$ac_ext <<_ACEOF
26558 #line $LINENO "configure"
26561 cat confdefs.h
>>conftest.
$ac_ext
26562 cat >>conftest.
$ac_ext <<_ACEOF
26563 /* end confdefs.h. */
26566 #include <stdarg.h>
26574 vsnprintf(buf, 10u, "%s", ap);
26580 rm -f conftest.
$ac_objext
26581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26582 (eval $ac_compile) 2>&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); } &&
26586 { ac_try
='test -s conftest.$ac_objext'
26587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26588 (eval $ac_try) 2>&5
26590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591 (exit $ac_status); }; }; then
26592 wx_cv_func_vsnprintf_decl
=yes
26594 echo "$as_me: failed program was:" >&5
26595 sed 's/^/| /' conftest.
$ac_ext >&5
26597 wx_cv_func_vsnprintf_decl
=no
26600 rm -f conftest.
$ac_objext conftest.
$ac_ext
26604 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26605 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26607 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26608 cat >>confdefs.h
<<\_ACEOF
26609 #define HAVE_VSNPRINTF_DECL 1
26615 if test "$wxUSE_UNICODE" = yes; then
26619 for ac_func
in fputwc wprintf vswprintf
26621 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26622 echo "$as_me:$LINENO: checking for $ac_func" >&5
26623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26624 if eval "test \"\${$as_ac_var+set}\" = set"; then
26625 echo $ECHO_N "(cached) $ECHO_C" >&6
26627 cat >conftest.
$ac_ext <<_ACEOF
26628 #line $LINENO "configure"
26631 cat confdefs.h
>>conftest.
$ac_ext
26632 cat >>conftest.
$ac_ext <<_ACEOF
26633 /* end confdefs.h. */
26634 /* System header to define __stub macros and hopefully few prototypes,
26635 which can conflict with char $ac_func (); below.
26636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26637 <limits.h> exists even on freestanding compilers. */
26639 # include <limits.h>
26641 # include <assert.h>
26643 /* Override any gcc2 internal prototype to avoid an error. */
26648 /* We use char because int might match the return type of a gcc2
26649 builtin and then its argument prototype would still apply. */
26651 /* The GNU C library defines this for functions which it implements
26652 to always fail with ENOSYS. Some functions are actually named
26653 something starting with __ and the normal name is an alias. */
26654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26657 char (*f) () = $ac_func;
26666 return f != $ac_func;
26671 rm -f conftest.
$ac_objext conftest
$ac_exeext
26672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26673 (eval $ac_link) 2>&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); } &&
26677 { ac_try
='test -s conftest$ac_exeext'
26678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26679 (eval $ac_try) 2>&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); }; }; then
26683 eval "$as_ac_var=yes"
26685 echo "$as_me: failed program was:" >&5
26686 sed 's/^/| /' conftest.
$ac_ext >&5
26688 eval "$as_ac_var=no"
26690 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26694 if test `eval echo '${'$as_ac_var'}'` = yes; then
26695 cat >>confdefs.h
<<_ACEOF
26696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26703 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26704 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26705 cat >conftest.
$ac_ext <<_ACEOF
26706 #line $LINENO "configure"
26709 cat confdefs.h
>>conftest.
$ac_ext
26710 cat >>conftest.
$ac_ext <<_ACEOF
26711 /* end confdefs.h. */
26721 rm -f conftest.
$ac_objext
26722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26723 (eval $ac_compile) 2>&5
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); } &&
26727 { ac_try
='test -s conftest.$ac_objext'
26728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26729 (eval $ac_try) 2>&5
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); }; }; then
26733 echo "$as_me:$LINENO: result: yes" >&5
26734 echo "${ECHO_T}yes" >&6
26735 cat >>confdefs.h
<<\_ACEOF
26736 #define HAVE__VSNWPRINTF 1
26740 echo "$as_me: failed program was:" >&5
26741 sed 's/^/| /' conftest.
$ac_ext >&5
26743 echo "$as_me:$LINENO: result: no" >&5
26744 echo "${ECHO_T}no" >&6
26746 rm -f conftest.
$ac_objext conftest.
$ac_ext;
26750 ac_cpp
='$CPP $CPPFLAGS'
26751 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26752 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26753 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26758 if test "$TOOLKIT" != "MSW"; then
26764 ac_cpp
='$CXXCPP $CPPFLAGS'
26765 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26766 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26767 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26772 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26773 if test "${with_libiconv_prefix+set}" = set; then
26774 withval
="$with_libiconv_prefix"
26776 for dir
in `echo "$withval" | tr : ' '`; do
26777 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
26778 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
26783 echo "$as_me:$LINENO: checking for iconv" >&5
26784 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26785 if test "${am_cv_func_iconv+set}" = set; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26789 am_cv_func_iconv
="no, consider installing GNU libiconv"
26791 cat >conftest.
$ac_ext <<_ACEOF
26792 #line $LINENO "configure"
26795 cat confdefs.h
>>conftest.
$ac_ext
26796 cat >>conftest.
$ac_ext <<_ACEOF
26797 /* end confdefs.h. */
26798 #include <stdlib.h>
26803 iconv_t cd = iconv_open("","");
26804 iconv(cd,NULL,NULL,NULL,NULL);
26810 rm -f conftest.
$ac_objext conftest
$ac_exeext
26811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26812 (eval $ac_link) 2>&5
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); } &&
26816 { ac_try
='test -s conftest$ac_exeext'
26817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26818 (eval $ac_try) 2>&5
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); }; }; then
26822 am_cv_func_iconv
=yes
26824 echo "$as_me: failed program was:" >&5
26825 sed 's/^/| /' conftest.
$ac_ext >&5
26828 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26829 if test "$am_cv_func_iconv" != yes; then
26830 am_save_LIBS
="$LIBS"
26831 LIBS
="$LIBS -liconv"
26832 cat >conftest.
$ac_ext <<_ACEOF
26833 #line $LINENO "configure"
26836 cat confdefs.h
>>conftest.
$ac_ext
26837 cat >>conftest.
$ac_ext <<_ACEOF
26838 /* end confdefs.h. */
26839 #include <stdlib.h>
26844 iconv_t cd = iconv_open("","");
26845 iconv(cd,NULL,NULL,NULL,NULL);
26851 rm -f conftest.
$ac_objext conftest
$ac_exeext
26852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26853 (eval $ac_link) 2>&5
26855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26856 (exit $ac_status); } &&
26857 { ac_try
='test -s conftest$ac_exeext'
26858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26859 (eval $ac_try) 2>&5
26861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26862 (exit $ac_status); }; }; then
26863 am_cv_lib_iconv
=yes
26864 am_cv_func_iconv
=yes
26866 echo "$as_me: failed program was:" >&5
26867 sed 's/^/| /' conftest.
$ac_ext >&5
26870 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26871 LIBS
="$am_save_LIBS"
26875 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26876 echo "${ECHO_T}$am_cv_func_iconv" >&6
26877 if test "$am_cv_func_iconv" = yes; then
26879 cat >>confdefs.h
<<\_ACEOF
26880 #define HAVE_ICONV 1
26883 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26884 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26885 if test "${wx_cv_func_iconv_const+set}" = set; then
26886 echo $ECHO_N "(cached) $ECHO_C" >&6
26888 cat >conftest.
$ac_ext <<_ACEOF
26889 #line $LINENO "configure"
26892 cat confdefs.h
>>conftest.
$ac_ext
26893 cat >>conftest.
$ac_ext <<_ACEOF
26894 /* end confdefs.h. */
26896 #include <stdlib.h>
26902 #if defined(__STDC__) || defined(__cplusplus)
26903 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26916 rm -f conftest.
$ac_objext
26917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26918 (eval $ac_compile) 2>&5
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); } &&
26922 { ac_try
='test -s conftest.$ac_objext'
26923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26924 (eval $ac_try) 2>&5
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); }; }; then
26928 wx_cv_func_iconv_const
="no"
26930 echo "$as_me: failed program was:" >&5
26931 sed 's/^/| /' conftest.
$ac_ext >&5
26933 wx_cv_func_iconv_const
="yes"
26936 rm -f conftest.
$ac_objext conftest.
$ac_ext
26939 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26940 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26943 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26944 iconv_const
="const"
26948 cat >>confdefs.h
<<_ACEOF
26949 #define ICONV_CONST $iconv_const
26954 if test "$am_cv_lib_iconv" = yes; then
26959 LIBS
="$LIBICONV $LIBS"
26961 ac_cpp
='$CPP $CPPFLAGS'
26962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26967 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26969 for ac_func
in sigaction
26971 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26972 echo "$as_me:$LINENO: checking for $ac_func" >&5
26973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26974 if eval "test \"\${$as_ac_var+set}\" = set"; then
26975 echo $ECHO_N "(cached) $ECHO_C" >&6
26977 cat >conftest.
$ac_ext <<_ACEOF
26978 #line $LINENO "configure"
26981 cat confdefs.h
>>conftest.
$ac_ext
26982 cat >>conftest.
$ac_ext <<_ACEOF
26983 /* end confdefs.h. */
26984 /* System header to define __stub macros and hopefully few prototypes,
26985 which can conflict with char $ac_func (); below.
26986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26987 <limits.h> exists even on freestanding compilers. */
26989 # include <limits.h>
26991 # include <assert.h>
26993 /* Override any gcc2 internal prototype to avoid an error. */
26998 /* We use char because int might match the return type of a gcc2
26999 builtin and then its argument prototype would still apply. */
27001 /* The GNU C library defines this for functions which it implements
27002 to always fail with ENOSYS. Some functions are actually named
27003 something starting with __ and the normal name is an alias. */
27004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27007 char (*f) () = $ac_func;
27016 return f != $ac_func;
27021 rm -f conftest.
$ac_objext conftest
$ac_exeext
27022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27023 (eval $ac_link) 2>&5
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); } &&
27027 { ac_try
='test -s conftest$ac_exeext'
27028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27029 (eval $ac_try) 2>&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); }; }; then
27033 eval "$as_ac_var=yes"
27035 echo "$as_me: failed program was:" >&5
27036 sed 's/^/| /' conftest.
$ac_ext >&5
27038 eval "$as_ac_var=no"
27040 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27044 if test `eval echo '${'$as_ac_var'}'` = yes; then
27045 cat >>confdefs.h
<<_ACEOF
27046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27053 if test "$ac_cv_func_sigaction" = "no"; then
27054 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27055 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27056 wxUSE_ON_FATAL_EXCEPTION
=no
27059 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27063 ac_cpp
='$CXXCPP $CPPFLAGS'
27064 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27065 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27066 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27069 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27070 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27071 if test "${wx_cv_type_sa_handler+set}" = set; then
27072 echo $ECHO_N "(cached) $ECHO_C" >&6
27075 cat >conftest.
$ac_ext <<_ACEOF
27076 #line $LINENO "configure"
27079 cat confdefs.h
>>conftest.
$ac_ext
27080 cat >>conftest.
$ac_ext <<_ACEOF
27081 /* end confdefs.h. */
27082 #include <signal.h>
27087 extern void testSigHandler(int);
27089 struct sigaction sa;
27090 sa.sa_handler = testSigHandler;
27096 rm -f conftest.
$ac_objext
27097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27098 (eval $ac_compile) 2>&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); } &&
27102 { ac_try
='test -s conftest.$ac_objext'
27103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27104 (eval $ac_try) 2>&5
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); }; }; then
27109 wx_cv_type_sa_handler
=int
27112 echo "$as_me: failed program was:" >&5
27113 sed 's/^/| /' conftest.
$ac_ext >&5
27116 wx_cv_type_sa_handler
=void
27119 rm -f conftest.
$ac_objext conftest.
$ac_ext
27122 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27123 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27126 ac_cpp
='$CPP $CPPFLAGS'
27127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27132 cat >>confdefs.h
<<_ACEOF
27133 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27141 for ac_func
in mkstemp mktemp
27143 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27144 echo "$as_me:$LINENO: checking for $ac_func" >&5
27145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27146 if eval "test \"\${$as_ac_var+set}\" = set"; then
27147 echo $ECHO_N "(cached) $ECHO_C" >&6
27149 cat >conftest.
$ac_ext <<_ACEOF
27150 #line $LINENO "configure"
27153 cat confdefs.h
>>conftest.
$ac_ext
27154 cat >>conftest.
$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156 /* System header to define __stub macros and hopefully few prototypes,
27157 which can conflict with char $ac_func (); below.
27158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27159 <limits.h> exists even on freestanding compilers. */
27161 # include <limits.h>
27163 # include <assert.h>
27165 /* Override any gcc2 internal prototype to avoid an error. */
27170 /* We use char because int might match the return type of a gcc2
27171 builtin and then its argument prototype would still apply. */
27173 /* The GNU C library defines this for functions which it implements
27174 to always fail with ENOSYS. Some functions are actually named
27175 something starting with __ and the normal name is an alias. */
27176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27179 char (*f) () = $ac_func;
27188 return f != $ac_func;
27193 rm -f conftest.
$ac_objext conftest
$ac_exeext
27194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27195 (eval $ac_link) 2>&5
27197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198 (exit $ac_status); } &&
27199 { ac_try
='test -s conftest$ac_exeext'
27200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27201 (eval $ac_try) 2>&5
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); }; }; then
27205 eval "$as_ac_var=yes"
27207 echo "$as_me: failed program was:" >&5
27208 sed 's/^/| /' conftest.
$ac_ext >&5
27210 eval "$as_ac_var=no"
27212 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27216 if test `eval echo '${'$as_ac_var'}'` = yes; then
27217 cat >>confdefs.h
<<_ACEOF
27218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27225 echo "$as_me:$LINENO: checking for statfs" >&5
27226 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27227 if test "${wx_cv_func_statfs+set}" = set; then
27228 echo $ECHO_N "(cached) $ECHO_C" >&6
27230 cat >conftest.
$ac_ext <<_ACEOF
27231 #line $LINENO "configure"
27234 cat confdefs.h
>>conftest.
$ac_ext
27235 cat >>conftest.
$ac_ext <<_ACEOF
27236 /* end confdefs.h. */
27238 #if defined(__BSD__)
27239 #include <sys/param.h>
27240 #include <sys/mount.h>
27242 #include <sys/vfs.h>
27260 rm -f conftest.
$ac_objext
27261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27262 (eval $ac_compile) 2>&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } &&
27266 { ac_try
='test -s conftest.$ac_objext'
27267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27268 (eval $ac_try) 2>&5
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); }; }; then
27273 wx_cv_func_statfs
=yes
27276 echo "$as_me: failed program was:" >&5
27277 sed 's/^/| /' conftest.
$ac_ext >&5
27280 wx_cv_func_statfs
=no
27284 rm -f conftest.
$ac_objext conftest.
$ac_ext
27287 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27288 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27290 if test "$wx_cv_func_statfs" = "yes"; then
27291 wx_cv_type_statvfs_t
="struct statfs"
27292 cat >>confdefs.h
<<\_ACEOF
27293 #define HAVE_STATFS 1
27297 echo "$as_me:$LINENO: checking for statvfs" >&5
27298 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27299 if test "${wx_cv_func_statvfs+set}" = set; then
27300 echo $ECHO_N "(cached) $ECHO_C" >&6
27302 cat >conftest.
$ac_ext <<_ACEOF
27303 #line $LINENO "configure"
27306 cat confdefs.h
>>conftest.
$ac_ext
27307 cat >>conftest.
$ac_ext <<_ACEOF
27308 /* end confdefs.h. */
27310 #include <stddef.h>
27311 #include <sys/statvfs.h>
27317 statvfs("/", NULL);
27323 rm -f conftest.
$ac_objext
27324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27325 (eval $ac_compile) 2>&5
27327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27328 (exit $ac_status); } &&
27329 { ac_try
='test -s conftest.$ac_objext'
27330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27331 (eval $ac_try) 2>&5
27333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27334 (exit $ac_status); }; }; then
27335 wx_cv_func_statvfs
=yes
27337 echo "$as_me: failed program was:" >&5
27338 sed 's/^/| /' conftest.
$ac_ext >&5
27340 wx_cv_func_statvfs
=no
27343 rm -f conftest.
$ac_objext conftest.
$ac_ext
27346 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27347 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27349 if test "$wx_cv_func_statvfs" = "yes"; then
27353 ac_cpp
='$CXXCPP $CPPFLAGS'
27354 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27355 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27356 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27359 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27360 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27361 if test "${wx_cv_type_statvfs_t+set}" = set; then
27362 echo $ECHO_N "(cached) $ECHO_C" >&6
27364 cat >conftest.
$ac_ext <<_ACEOF
27365 #line $LINENO "configure"
27368 cat confdefs.h
>>conftest.
$ac_ext
27369 cat >>conftest.
$ac_ext <<_ACEOF
27370 /* end confdefs.h. */
27372 #include <sys/statvfs.h>
27389 rm -f conftest.
$ac_objext
27390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27391 (eval $ac_compile) 2>&5
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); } &&
27395 { ac_try
='test -s conftest.$ac_objext'
27396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27397 (eval $ac_try) 2>&5
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); }; }; then
27401 wx_cv_type_statvfs_t
=statvfs_t
27403 echo "$as_me: failed program was:" >&5
27404 sed 's/^/| /' conftest.
$ac_ext >&5
27407 cat >conftest.
$ac_ext <<_ACEOF
27408 #line $LINENO "configure"
27411 cat confdefs.h
>>conftest.
$ac_ext
27412 cat >>conftest.
$ac_ext <<_ACEOF
27413 /* end confdefs.h. */
27415 #include <sys/statvfs.h>
27432 rm -f conftest.
$ac_objext
27433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27434 (eval $ac_compile) 2>&5
27436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27437 (exit $ac_status); } &&
27438 { ac_try
='test -s conftest.$ac_objext'
27439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27440 (eval $ac_try) 2>&5
27442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443 (exit $ac_status); }; }; then
27444 wx_cv_type_statvfs_t
="struct statvfs"
27446 echo "$as_me: failed program was:" >&5
27447 sed 's/^/| /' conftest.
$ac_ext >&5
27449 wx_cv_type_statvfs_t
="unknown"
27452 rm -f conftest.
$ac_objext conftest.
$ac_ext
27456 rm -f conftest.
$ac_objext conftest.
$ac_ext
27459 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27460 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27463 ac_cpp
='$CPP $CPPFLAGS'
27464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27469 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27470 cat >>confdefs.h
<<\_ACEOF
27471 #define HAVE_STATVFS 1
27476 wx_cv_type_statvfs_t
="unknown"
27480 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27481 cat >>confdefs.h
<<_ACEOF
27482 #define WX_STATFS_T $wx_cv_type_statvfs_t
27486 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27487 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27490 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27493 for ac_func
in fcntl flock
27495 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27496 echo "$as_me:$LINENO: checking for $ac_func" >&5
27497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27498 if eval "test \"\${$as_ac_var+set}\" = set"; then
27499 echo $ECHO_N "(cached) $ECHO_C" >&6
27501 cat >conftest.
$ac_ext <<_ACEOF
27502 #line $LINENO "configure"
27505 cat confdefs.h
>>conftest.
$ac_ext
27506 cat >>conftest.
$ac_ext <<_ACEOF
27507 /* end confdefs.h. */
27508 /* System header to define __stub macros and hopefully few prototypes,
27509 which can conflict with char $ac_func (); below.
27510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27511 <limits.h> exists even on freestanding compilers. */
27513 # include <limits.h>
27515 # include <assert.h>
27517 /* Override any gcc2 internal prototype to avoid an error. */
27522 /* We use char because int might match the return type of a gcc2
27523 builtin and then its argument prototype would still apply. */
27525 /* The GNU C library defines this for functions which it implements
27526 to always fail with ENOSYS. Some functions are actually named
27527 something starting with __ and the normal name is an alias. */
27528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27531 char (*f) () = $ac_func;
27540 return f != $ac_func;
27545 rm -f conftest.
$ac_objext conftest
$ac_exeext
27546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27547 (eval $ac_link) 2>&5
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); } &&
27551 { ac_try
='test -s conftest$ac_exeext'
27552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553 (eval $ac_try) 2>&5
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); }; }; then
27557 eval "$as_ac_var=yes"
27559 echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.
$ac_ext >&5
27562 eval "$as_ac_var=no"
27564 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27568 if test `eval echo '${'$as_ac_var'}'` = yes; then
27569 cat >>confdefs.h
<<_ACEOF
27570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27577 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27578 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27579 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27580 wxUSE_SNGLINST_CHECKER
=no
27585 for ac_func
in timegm
27587 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27588 echo "$as_me:$LINENO: checking for $ac_func" >&5
27589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27590 if eval "test \"\${$as_ac_var+set}\" = set"; then
27591 echo $ECHO_N "(cached) $ECHO_C" >&6
27593 cat >conftest.
$ac_ext <<_ACEOF
27594 #line $LINENO "configure"
27597 cat confdefs.h
>>conftest.
$ac_ext
27598 cat >>conftest.
$ac_ext <<_ACEOF
27599 /* end confdefs.h. */
27600 /* System header to define __stub macros and hopefully few prototypes,
27601 which can conflict with char $ac_func (); below.
27602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27603 <limits.h> exists even on freestanding compilers. */
27605 # include <limits.h>
27607 # include <assert.h>
27609 /* Override any gcc2 internal prototype to avoid an error. */
27614 /* We use char because int might match the return type of a gcc2
27615 builtin and then its argument prototype would still apply. */
27617 /* The GNU C library defines this for functions which it implements
27618 to always fail with ENOSYS. Some functions are actually named
27619 something starting with __ and the normal name is an alias. */
27620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27623 char (*f) () = $ac_func;
27632 return f != $ac_func;
27637 rm -f conftest.
$ac_objext conftest
$ac_exeext
27638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27639 (eval $ac_link) 2>&5
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); } &&
27643 { ac_try
='test -s conftest$ac_exeext'
27644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27645 (eval $ac_try) 2>&5
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); }; }; then
27649 eval "$as_ac_var=yes"
27651 echo "$as_me: failed program was:" >&5
27652 sed 's/^/| /' conftest.
$ac_ext >&5
27654 eval "$as_ac_var=no"
27656 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27660 if test `eval echo '${'$as_ac_var'}'` = yes; then
27661 cat >>confdefs.h
<<_ACEOF
27662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27671 for ac_func
in putenv setenv
27673 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27674 echo "$as_me:$LINENO: checking for $ac_func" >&5
27675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27676 if eval "test \"\${$as_ac_var+set}\" = set"; then
27677 echo $ECHO_N "(cached) $ECHO_C" >&6
27679 cat >conftest.
$ac_ext <<_ACEOF
27680 #line $LINENO "configure"
27683 cat confdefs.h
>>conftest.
$ac_ext
27684 cat >>conftest.
$ac_ext <<_ACEOF
27685 /* end confdefs.h. */
27686 /* System header to define __stub macros and hopefully few prototypes,
27687 which can conflict with char $ac_func (); below.
27688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27689 <limits.h> exists even on freestanding compilers. */
27691 # include <limits.h>
27693 # include <assert.h>
27695 /* Override any gcc2 internal prototype to avoid an error. */
27700 /* We use char because int might match the return type of a gcc2
27701 builtin and then its argument prototype would still apply. */
27703 /* The GNU C library defines this for functions which it implements
27704 to always fail with ENOSYS. Some functions are actually named
27705 something starting with __ and the normal name is an alias. */
27706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27709 char (*f) () = $ac_func;
27718 return f != $ac_func;
27723 rm -f conftest.
$ac_objext conftest
$ac_exeext
27724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27725 (eval $ac_link) 2>&5
27727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728 (exit $ac_status); } &&
27729 { ac_try
='test -s conftest$ac_exeext'
27730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27731 (eval $ac_try) 2>&5
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); }; }; then
27735 eval "$as_ac_var=yes"
27737 echo "$as_me: failed program was:" >&5
27738 sed 's/^/| /' conftest.
$ac_ext >&5
27740 eval "$as_ac_var=no"
27742 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27746 if test `eval echo '${'$as_ac_var'}'` = yes; then
27747 cat >>confdefs.h
<<_ACEOF
27748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27755 HAVE_SOME_SLEEP_FUNC
=0
27756 if test "$USE_BEOS" = 1; then
27757 cat >>confdefs.h
<<\_ACEOF
27758 #define HAVE_SLEEP 1
27761 HAVE_SOME_SLEEP_FUNC
=1
27764 if test "$USE_DARWIN" = 1; then
27765 cat >>confdefs.h
<<\_ACEOF
27766 #define HAVE_USLEEP 1
27769 HAVE_SOME_SLEEP_FUNC
=1
27772 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27775 for ac_func
in nanosleep
27777 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27778 echo "$as_me:$LINENO: checking for $ac_func" >&5
27779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27780 if eval "test \"\${$as_ac_var+set}\" = set"; then
27781 echo $ECHO_N "(cached) $ECHO_C" >&6
27783 cat >conftest.
$ac_ext <<_ACEOF
27784 #line $LINENO "configure"
27787 cat confdefs.h
>>conftest.
$ac_ext
27788 cat >>conftest.
$ac_ext <<_ACEOF
27789 /* end confdefs.h. */
27790 /* System header to define __stub macros and hopefully few prototypes,
27791 which can conflict with char $ac_func (); below.
27792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27793 <limits.h> exists even on freestanding compilers. */
27795 # include <limits.h>
27797 # include <assert.h>
27799 /* Override any gcc2 internal prototype to avoid an error. */
27804 /* We use char because int might match the return type of a gcc2
27805 builtin and then its argument prototype would still apply. */
27807 /* The GNU C library defines this for functions which it implements
27808 to always fail with ENOSYS. Some functions are actually named
27809 something starting with __ and the normal name is an alias. */
27810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27813 char (*f) () = $ac_func;
27822 return f != $ac_func;
27827 rm -f conftest.
$ac_objext conftest
$ac_exeext
27828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27829 (eval $ac_link) 2>&5
27831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27832 (exit $ac_status); } &&
27833 { ac_try
='test -s conftest$ac_exeext'
27834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27835 (eval $ac_try) 2>&5
27837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27838 (exit $ac_status); }; }; then
27839 eval "$as_ac_var=yes"
27841 echo "$as_me: failed program was:" >&5
27842 sed 's/^/| /' conftest.
$ac_ext >&5
27844 eval "$as_ac_var=no"
27846 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27850 if test `eval echo '${'$as_ac_var'}'` = yes; then
27851 cat >>confdefs.h
<<_ACEOF
27852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27854 cat >>confdefs.h
<<\_ACEOF
27855 #define HAVE_NANOSLEEP 1
27860 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27861 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27862 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27863 echo $ECHO_N "(cached) $ECHO_C" >&6
27865 ac_check_lib_save_LIBS
=$LIBS
27866 LIBS
="-lposix4 $LIBS"
27867 cat >conftest.
$ac_ext <<_ACEOF
27868 #line $LINENO "configure"
27871 cat confdefs.h
>>conftest.
$ac_ext
27872 cat >>conftest.
$ac_ext <<_ACEOF
27873 /* end confdefs.h. */
27875 /* Override any gcc2 internal prototype to avoid an error. */
27879 /* We use char because int might match the return type of a gcc2
27880 builtin and then its argument prototype would still apply. */
27890 rm -f conftest.
$ac_objext conftest
$ac_exeext
27891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27892 (eval $ac_link) 2>&5
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); } &&
27896 { ac_try
='test -s conftest$ac_exeext'
27897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27898 (eval $ac_try) 2>&5
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); }; }; then
27902 ac_cv_lib_posix4_nanosleep
=yes
27904 echo "$as_me: failed program was:" >&5
27905 sed 's/^/| /' conftest.
$ac_ext >&5
27907 ac_cv_lib_posix4_nanosleep
=no
27909 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27910 LIBS
=$ac_check_lib_save_LIBS
27912 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27913 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27914 if test $ac_cv_lib_posix4_nanosleep = yes; then
27916 cat >>confdefs.h
<<\_ACEOF
27917 #define HAVE_NANOSLEEP 1
27920 POSIX4_LINK
=" -lposix4"
27925 for ac_func
in usleep
27927 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27928 echo "$as_me:$LINENO: checking for $ac_func" >&5
27929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27930 if eval "test \"\${$as_ac_var+set}\" = set"; then
27931 echo $ECHO_N "(cached) $ECHO_C" >&6
27933 cat >conftest.
$ac_ext <<_ACEOF
27934 #line $LINENO "configure"
27937 cat confdefs.h
>>conftest.
$ac_ext
27938 cat >>conftest.
$ac_ext <<_ACEOF
27939 /* end confdefs.h. */
27940 /* System header to define __stub macros and hopefully few prototypes,
27941 which can conflict with char $ac_func (); below.
27942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27943 <limits.h> exists even on freestanding compilers. */
27945 # include <limits.h>
27947 # include <assert.h>
27949 /* Override any gcc2 internal prototype to avoid an error. */
27954 /* We use char because int might match the return type of a gcc2
27955 builtin and then its argument prototype would still apply. */
27957 /* The GNU C library defines this for functions which it implements
27958 to always fail with ENOSYS. Some functions are actually named
27959 something starting with __ and the normal name is an alias. */
27960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27963 char (*f) () = $ac_func;
27972 return f != $ac_func;
27977 rm -f conftest.
$ac_objext conftest
$ac_exeext
27978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27979 (eval $ac_link) 2>&5
27981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27982 (exit $ac_status); } &&
27983 { ac_try
='test -s conftest$ac_exeext'
27984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27985 (eval $ac_try) 2>&5
27987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27988 (exit $ac_status); }; }; then
27989 eval "$as_ac_var=yes"
27991 echo "$as_me: failed program was:" >&5
27992 sed 's/^/| /' conftest.
$ac_ext >&5
27994 eval "$as_ac_var=no"
27996 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28000 if test `eval echo '${'$as_ac_var'}'` = yes; then
28001 cat >>confdefs.h
<<_ACEOF
28002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28004 cat >>confdefs.h
<<\_ACEOF
28005 #define HAVE_USLEEP 1
28009 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28010 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28028 for ac_func
in uname gethostname
28030 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28031 echo "$as_me:$LINENO: checking for $ac_func" >&5
28032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28033 if eval "test \"\${$as_ac_var+set}\" = set"; then
28034 echo $ECHO_N "(cached) $ECHO_C" >&6
28036 cat >conftest.
$ac_ext <<_ACEOF
28037 #line $LINENO "configure"
28040 cat confdefs.h
>>conftest.
$ac_ext
28041 cat >>conftest.
$ac_ext <<_ACEOF
28042 /* end confdefs.h. */
28043 /* System header to define __stub macros and hopefully few prototypes,
28044 which can conflict with char $ac_func (); below.
28045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28046 <limits.h> exists even on freestanding compilers. */
28048 # include <limits.h>
28050 # include <assert.h>
28052 /* Override any gcc2 internal prototype to avoid an error. */
28057 /* We use char because int might match the return type of a gcc2
28058 builtin and then its argument prototype would still apply. */
28060 /* The GNU C library defines this for functions which it implements
28061 to always fail with ENOSYS. Some functions are actually named
28062 something starting with __ and the normal name is an alias. */
28063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28066 char (*f) () = $ac_func;
28075 return f != $ac_func;
28080 rm -f conftest.
$ac_objext conftest
$ac_exeext
28081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28082 (eval $ac_link) 2>&5
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); } &&
28086 { ac_try
='test -s conftest$ac_exeext'
28087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28088 (eval $ac_try) 2>&5
28090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28091 (exit $ac_status); }; }; then
28092 eval "$as_ac_var=yes"
28094 echo "$as_me: failed program was:" >&5
28095 sed 's/^/| /' conftest.
$ac_ext >&5
28097 eval "$as_ac_var=no"
28099 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28103 if test `eval echo '${'$as_ac_var'}'` = yes; then
28104 cat >>confdefs.h
<<_ACEOF
28105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28115 ac_cpp
='$CXXCPP $CPPFLAGS'
28116 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28117 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28118 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28122 for ac_func
in strtok_r
28124 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28125 echo "$as_me:$LINENO: checking for $ac_func" >&5
28126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28127 if eval "test \"\${$as_ac_var+set}\" = set"; then
28128 echo $ECHO_N "(cached) $ECHO_C" >&6
28130 cat >conftest.
$ac_ext <<_ACEOF
28131 #line $LINENO "configure"
28134 cat confdefs.h
>>conftest.
$ac_ext
28135 cat >>conftest.
$ac_ext <<_ACEOF
28136 /* end confdefs.h. */
28137 /* System header to define __stub macros and hopefully few prototypes,
28138 which can conflict with char $ac_func (); below.
28139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28140 <limits.h> exists even on freestanding compilers. */
28142 # include <limits.h>
28144 # include <assert.h>
28146 /* Override any gcc2 internal prototype to avoid an error. */
28151 /* We use char because int might match the return type of a gcc2
28152 builtin and then its argument prototype would still apply. */
28154 /* The GNU C library defines this for functions which it implements
28155 to always fail with ENOSYS. Some functions are actually named
28156 something starting with __ and the normal name is an alias. */
28157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28160 char (*f) () = $ac_func;
28169 return f != $ac_func;
28174 rm -f conftest.
$ac_objext conftest
$ac_exeext
28175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28176 (eval $ac_link) 2>&5
28178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28179 (exit $ac_status); } &&
28180 { ac_try
='test -s conftest$ac_exeext'
28181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28182 (eval $ac_try) 2>&5
28184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28185 (exit $ac_status); }; }; then
28186 eval "$as_ac_var=yes"
28188 echo "$as_me: failed program was:" >&5
28189 sed 's/^/| /' conftest.
$ac_ext >&5
28191 eval "$as_ac_var=no"
28193 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28197 if test `eval echo '${'$as_ac_var'}'` = yes; then
28198 cat >>confdefs.h
<<_ACEOF
28199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28207 ac_cpp
='$CPP $CPPFLAGS'
28208 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28209 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28210 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28215 for ac_func
in inet_addr
28217 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28218 echo "$as_me:$LINENO: checking for $ac_func" >&5
28219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28220 if eval "test \"\${$as_ac_var+set}\" = set"; then
28221 echo $ECHO_N "(cached) $ECHO_C" >&6
28223 cat >conftest.
$ac_ext <<_ACEOF
28224 #line $LINENO "configure"
28227 cat confdefs.h
>>conftest.
$ac_ext
28228 cat >>conftest.
$ac_ext <<_ACEOF
28229 /* end confdefs.h. */
28230 /* System header to define __stub macros and hopefully few prototypes,
28231 which can conflict with char $ac_func (); below.
28232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28233 <limits.h> exists even on freestanding compilers. */
28235 # include <limits.h>
28237 # include <assert.h>
28239 /* Override any gcc2 internal prototype to avoid an error. */
28244 /* We use char because int might match the return type of a gcc2
28245 builtin and then its argument prototype would still apply. */
28247 /* The GNU C library defines this for functions which it implements
28248 to always fail with ENOSYS. Some functions are actually named
28249 something starting with __ and the normal name is an alias. */
28250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28253 char (*f) () = $ac_func;
28262 return f != $ac_func;
28267 rm -f conftest.
$ac_objext conftest
$ac_exeext
28268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28269 (eval $ac_link) 2>&5
28271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28272 (exit $ac_status); } &&
28273 { ac_try
='test -s conftest$ac_exeext'
28274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28275 (eval $ac_try) 2>&5
28277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28278 (exit $ac_status); }; }; then
28279 eval "$as_ac_var=yes"
28281 echo "$as_me: failed program was:" >&5
28282 sed 's/^/| /' conftest.
$ac_ext >&5
28284 eval "$as_ac_var=no"
28286 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28290 if test `eval echo '${'$as_ac_var'}'` = yes; then
28291 cat >>confdefs.h
<<_ACEOF
28292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28294 cat >>confdefs.h
<<\_ACEOF
28295 #define HAVE_INET_ADDR 1
28300 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28301 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28302 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28303 echo $ECHO_N "(cached) $ECHO_C" >&6
28305 ac_check_lib_save_LIBS
=$LIBS
28307 cat >conftest.
$ac_ext <<_ACEOF
28308 #line $LINENO "configure"
28311 cat confdefs.h
>>conftest.
$ac_ext
28312 cat >>conftest.
$ac_ext <<_ACEOF
28313 /* end confdefs.h. */
28315 /* Override any gcc2 internal prototype to avoid an error. */
28319 /* We use char because int might match the return type of a gcc2
28320 builtin and then its argument prototype would still apply. */
28330 rm -f conftest.
$ac_objext conftest
$ac_exeext
28331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28332 (eval $ac_link) 2>&5
28334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28335 (exit $ac_status); } &&
28336 { ac_try
='test -s conftest$ac_exeext'
28337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28338 (eval $ac_try) 2>&5
28340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28341 (exit $ac_status); }; }; then
28342 ac_cv_lib_nsl_inet_addr
=yes
28344 echo "$as_me: failed program was:" >&5
28345 sed 's/^/| /' conftest.
$ac_ext >&5
28347 ac_cv_lib_nsl_inet_addr
=no
28349 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28350 LIBS
=$ac_check_lib_save_LIBS
28352 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28353 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28354 if test $ac_cv_lib_nsl_inet_addr = yes; then
28358 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28359 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28360 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28361 echo $ECHO_N "(cached) $ECHO_C" >&6
28363 ac_check_lib_save_LIBS
=$LIBS
28364 LIBS
="-lresolv $LIBS"
28365 cat >conftest.
$ac_ext <<_ACEOF
28366 #line $LINENO "configure"
28369 cat confdefs.h
>>conftest.
$ac_ext
28370 cat >>conftest.
$ac_ext <<_ACEOF
28371 /* end confdefs.h. */
28373 /* Override any gcc2 internal prototype to avoid an error. */
28377 /* We use char because int might match the return type of a gcc2
28378 builtin and then its argument prototype would still apply. */
28388 rm -f conftest.
$ac_objext conftest
$ac_exeext
28389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28390 (eval $ac_link) 2>&5
28392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393 (exit $ac_status); } &&
28394 { ac_try
='test -s conftest$ac_exeext'
28395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28396 (eval $ac_try) 2>&5
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); }; }; then
28400 ac_cv_lib_resolv_inet_addr
=yes
28402 echo "$as_me: failed program was:" >&5
28403 sed 's/^/| /' conftest.
$ac_ext >&5
28405 ac_cv_lib_resolv_inet_addr
=no
28407 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28408 LIBS
=$ac_check_lib_save_LIBS
28410 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28411 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28412 if test $ac_cv_lib_resolv_inet_addr = yes; then
28416 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28417 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28418 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28419 echo $ECHO_N "(cached) $ECHO_C" >&6
28421 ac_check_lib_save_LIBS
=$LIBS
28422 LIBS
="-lsocket $LIBS"
28423 cat >conftest.
$ac_ext <<_ACEOF
28424 #line $LINENO "configure"
28427 cat confdefs.h
>>conftest.
$ac_ext
28428 cat >>conftest.
$ac_ext <<_ACEOF
28429 /* end confdefs.h. */
28431 /* Override any gcc2 internal prototype to avoid an error. */
28435 /* We use char because int might match the return type of a gcc2
28436 builtin and then its argument prototype would still apply. */
28446 rm -f conftest.
$ac_objext conftest
$ac_exeext
28447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28448 (eval $ac_link) 2>&5
28450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451 (exit $ac_status); } &&
28452 { ac_try
='test -s conftest$ac_exeext'
28453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28454 (eval $ac_try) 2>&5
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); }; }; then
28458 ac_cv_lib_socket_inet_addr
=yes
28460 echo "$as_me: failed program was:" >&5
28461 sed 's/^/| /' conftest.
$ac_ext >&5
28463 ac_cv_lib_socket_inet_addr
=no
28465 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28466 LIBS
=$ac_check_lib_save_LIBS
28468 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28469 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28470 if test $ac_cv_lib_socket_inet_addr = yes; then
28490 for ac_func
in inet_aton
28492 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28493 echo "$as_me:$LINENO: checking for $ac_func" >&5
28494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28495 if eval "test \"\${$as_ac_var+set}\" = set"; then
28496 echo $ECHO_N "(cached) $ECHO_C" >&6
28498 cat >conftest.
$ac_ext <<_ACEOF
28499 #line $LINENO "configure"
28502 cat confdefs.h
>>conftest.
$ac_ext
28503 cat >>conftest.
$ac_ext <<_ACEOF
28504 /* end confdefs.h. */
28505 /* System header to define __stub macros and hopefully few prototypes,
28506 which can conflict with char $ac_func (); below.
28507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28508 <limits.h> exists even on freestanding compilers. */
28510 # include <limits.h>
28512 # include <assert.h>
28514 /* Override any gcc2 internal prototype to avoid an error. */
28519 /* We use char because int might match the return type of a gcc2
28520 builtin and then its argument prototype would still apply. */
28522 /* The GNU C library defines this for functions which it implements
28523 to always fail with ENOSYS. Some functions are actually named
28524 something starting with __ and the normal name is an alias. */
28525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28528 char (*f) () = $ac_func;
28537 return f != $ac_func;
28542 rm -f conftest.
$ac_objext conftest
$ac_exeext
28543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28544 (eval $ac_link) 2>&5
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); } &&
28548 { ac_try
='test -s conftest$ac_exeext'
28549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28550 (eval $ac_try) 2>&5
28552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28553 (exit $ac_status); }; }; then
28554 eval "$as_ac_var=yes"
28556 echo "$as_me: failed program was:" >&5
28557 sed 's/^/| /' conftest.
$ac_ext >&5
28559 eval "$as_ac_var=no"
28561 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28565 if test `eval echo '${'$as_ac_var'}'` = yes; then
28566 cat >>confdefs.h
<<_ACEOF
28567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28569 cat >>confdefs.h
<<\_ACEOF
28570 #define HAVE_INET_ATON 1
28575 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28576 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28577 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28578 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28579 echo $ECHO_N "(cached) $ECHO_C" >&6
28581 ac_check_lib_save_LIBS
=$LIBS
28582 LIBS
="-l$INET_LINK $LIBS"
28583 cat >conftest.
$ac_ext <<_ACEOF
28584 #line $LINENO "configure"
28587 cat confdefs.h
>>conftest.
$ac_ext
28588 cat >>conftest.
$ac_ext <<_ACEOF
28589 /* end confdefs.h. */
28591 /* Override any gcc2 internal prototype to avoid an error. */
28595 /* We use char because int might match the return type of a gcc2
28596 builtin and then its argument prototype would still apply. */
28606 rm -f conftest.
$ac_objext conftest
$ac_exeext
28607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28608 (eval $ac_link) 2>&5
28610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28611 (exit $ac_status); } &&
28612 { ac_try
='test -s conftest$ac_exeext'
28613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28614 (eval $ac_try) 2>&5
28616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 (exit $ac_status); }; }; then
28618 eval "$as_ac_Lib=yes"
28620 echo "$as_me: failed program was:" >&5
28621 sed 's/^/| /' conftest.
$ac_ext >&5
28623 eval "$as_ac_Lib=no"
28625 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28626 LIBS
=$ac_check_lib_save_LIBS
28628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28629 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28630 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28631 cat >>confdefs.h
<<\_ACEOF
28632 #define HAVE_INET_ATON 1
28642 if test "x$INET_LINK" != "x"; then
28643 cat >>confdefs.h
<<\_ACEOF
28644 #define HAVE_INET_ADDR 1
28647 INET_LINK
=" -l$INET_LINK"
28655 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28656 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28657 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28658 echo $ECHO_N "(cached) $ECHO_C" >&6
28660 ac_check_lib_save_LIBS
=$LIBS
28662 cat >conftest.
$ac_ext <<_ACEOF
28663 #line $LINENO "configure"
28666 cat confdefs.h
>>conftest.
$ac_ext
28667 cat >>conftest.
$ac_ext <<_ACEOF
28668 /* end confdefs.h. */
28670 /* Override any gcc2 internal prototype to avoid an error. */
28674 /* We use char because int might match the return type of a gcc2
28675 builtin and then its argument prototype would still apply. */
28685 rm -f conftest.
$ac_objext conftest
$ac_exeext
28686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28687 (eval $ac_link) 2>&5
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 (exit $ac_status); } &&
28691 { ac_try
='test -s conftest$ac_exeext'
28692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28693 (eval $ac_try) 2>&5
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); }; }; then
28697 ac_cv_lib_esd_esd_close
=yes
28699 echo "$as_me: failed program was:" >&5
28700 sed 's/^/| /' conftest.
$ac_ext >&5
28702 ac_cv_lib_esd_esd_close
=no
28704 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28705 LIBS
=$ac_check_lib_save_LIBS
28707 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28708 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28709 if test $ac_cv_lib_esd_esd_close = yes; then
28712 for ac_header
in esd.h
28714 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28716 echo "$as_me:$LINENO: checking for $ac_header" >&5
28717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28719 echo $ECHO_N "(cached) $ECHO_C" >&6
28721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28724 # Is the header compilable?
28725 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28726 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28727 cat >conftest.
$ac_ext <<_ACEOF
28728 #line $LINENO "configure"
28731 cat confdefs.h
>>conftest.
$ac_ext
28732 cat >>conftest.
$ac_ext <<_ACEOF
28733 /* end confdefs.h. */
28734 $ac_includes_default
28735 #include <$ac_header>
28737 rm -f conftest.
$ac_objext
28738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28739 (eval $ac_compile) 2>&5
28741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 (exit $ac_status); } &&
28743 { ac_try
='test -s conftest.$ac_objext'
28744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28745 (eval $ac_try) 2>&5
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); }; }; then
28749 ac_header_compiler
=yes
28751 echo "$as_me: failed program was:" >&5
28752 sed 's/^/| /' conftest.
$ac_ext >&5
28754 ac_header_compiler
=no
28756 rm -f conftest.
$ac_objext conftest.
$ac_ext
28757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28758 echo "${ECHO_T}$ac_header_compiler" >&6
28760 # Is the header present?
28761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28763 cat >conftest.
$ac_ext <<_ACEOF
28764 #line $LINENO "configure"
28767 cat confdefs.h
>>conftest.
$ac_ext
28768 cat >>conftest.
$ac_ext <<_ACEOF
28769 /* end confdefs.h. */
28770 #include <$ac_header>
28772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28773 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28775 grep -v '^ *+' conftest.er1
>conftest.err
28777 cat conftest.err
>&5
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); } >/dev
/null
; then
28780 if test -s conftest.err
; then
28781 ac_cpp_err
=$ac_c_preproc_warn_flag
28788 if test -z "$ac_cpp_err"; then
28789 ac_header_preproc
=yes
28791 echo "$as_me: failed program was:" >&5
28792 sed 's/^/| /' conftest.
$ac_ext >&5
28794 ac_header_preproc
=no
28796 rm -f conftest.err conftest.
$ac_ext
28797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28798 echo "${ECHO_T}$ac_header_preproc" >&6
28800 # So? What about this header?
28801 case $ac_header_compiler:$ac_header_preproc in
28803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28806 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28809 ## ------------------------------------ ##
28810 ## Report this to bug-autoconf@gnu.org. ##
28811 ## ------------------------------------ ##
28814 sed "s/^/$as_me: WARNING: /" >&2
28817 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28818 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28819 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28820 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28822 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28825 ## ------------------------------------ ##
28826 ## Report this to bug-autoconf@gnu.org. ##
28827 ## ------------------------------------ ##
28830 sed "s/^/$as_me: WARNING: /" >&2
28833 echo "$as_me:$LINENO: checking for $ac_header" >&5
28834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28836 echo $ECHO_N "(cached) $ECHO_C" >&6
28838 eval "$as_ac_Header=$ac_header_preproc"
28840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28845 cat >>confdefs.h
<<_ACEOF
28846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28849 EXTRALIBS_ESD
="-lesd"
28860 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
28861 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
28862 cat >conftest.
$ac_ext <<_ACEOF
28863 #line $LINENO "configure"
28866 cat confdefs.h
>>conftest.
$ac_ext
28867 cat >>conftest.
$ac_ext <<_ACEOF
28868 /* end confdefs.h. */
28870 #include <linux/cdrom.h>
28873 #include <sys/cdio.h>
28879 struct cdrom_tocentry entry, old_entry;
28884 rm -f conftest.
$ac_objext
28885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28886 (eval $ac_compile) 2>&5
28888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28889 (exit $ac_status); } &&
28890 { ac_try
='test -s conftest.$ac_objext'
28891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28892 (eval $ac_try) 2>&5
28894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28895 (exit $ac_status); }; }; then
28896 echo "$as_me:$LINENO: result: yes" >&5
28897 echo "${ECHO_T}yes" >&6
28898 cat >>confdefs.h
<<\_ACEOF
28899 #define HAVE_KNOWN_CDROM_INTERFACE 1
28903 echo "$as_me: failed program was:" >&5
28904 sed 's/^/| /' conftest.
$ac_ext >&5
28906 echo "$as_me:$LINENO: result: no" >&5
28907 echo "${ECHO_T}no" >&6
28909 rm -f conftest.
$ac_objext conftest.
$ac_ext
28912 cat >confcache
<<\_ACEOF
28913 # This file is a shell script that caches the results of configure
28914 # tests run on this system so they can be shared between configure
28915 # scripts and configure runs, see configure's option --config-cache.
28916 # It is not useful on other systems. If it contains results you don't
28917 # want to keep, you may remove or edit it.
28919 # config.status only pays attention to the cache file if you give it
28920 # the --recheck option to rerun configure.
28922 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28923 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28924 # following values.
28928 # The following way of writing the cache mishandles newlines in values,
28929 # but we know of no workaround that is simple, portable, and efficient.
28930 # So, don't put newlines in cache variables' values.
28931 # Ultrix sh set writes to stderr and can't be redirected directly,
28932 # and sets the high bit in the cache file unless we assign to the vars.
28935 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28937 # `set' does not quote correctly, so add quotes (double-quote
28938 # substitution turns \\\\ into \\, and sed turns \\ into \).
28941 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28944 # `set' quotes correctly as required by POSIX, so do not add quotes.
28946 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28953 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28955 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28957 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28958 if test -w $cache_file; then
28959 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28960 cat confcache
>$cache_file
28962 echo "not updating unwritable cache $cache_file"
28969 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
28975 if test "$wxUSE_THREADS" = "yes" ; then
28976 if test "$USE_BEOS" = 1; then
28977 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28978 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28983 if test "$wxUSE_THREADS" = "yes" ; then
28986 THREAD_OPTS
="-pthread"
28988 *-*-solaris2* | *-*-sunos4* )
28989 if test "x$GCC" = "xyes"; then
28990 THREAD_OPTS
="-pthreads $THREAD_OPTS"
28992 THREAD_OPTS
="-mt $THREAD_OPTS"
28996 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
28998 *-*-darwin* | *-*-cygwin* )
29002 THREAD_OPTS
="pthreads"
29005 if test "x$GCC" != "xyes"; then
29011 if test "x$GCC" = "xyes"; then
29017 if test "x$GCC" != "xyes"; then
29018 THREAD_OPTS
="-Ethread"
29023 THREAD_OPTS
="$THREAD_OPTS pthread none"
29026 for flag
in $THREAD_OPTS; do
29029 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29030 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29034 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29035 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29036 THREADS_CFLAGS
="$flag"
29040 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29041 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29042 THREADS_LINK
="-l$flag"
29047 save_CFLAGS
="$CFLAGS"
29048 LIBS
="$THREADS_LINK $LIBS"
29049 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
29051 cat >conftest.
$ac_ext <<_ACEOF
29052 #line $LINENO "configure"
29055 cat confdefs.h
>>conftest.
$ac_ext
29056 cat >>conftest.
$ac_ext <<_ACEOF
29057 /* end confdefs.h. */
29058 #include <pthread.h>
29062 pthread_create(0,0,0,0);
29067 rm -f conftest.
$ac_objext conftest
$ac_exeext
29068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29069 (eval $ac_link) 2>&5
29071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29072 (exit $ac_status); } &&
29073 { ac_try
='test -s conftest$ac_exeext'
29074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29075 (eval $ac_try) 2>&5
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); }; }; then
29081 echo "$as_me: failed program was:" >&5
29082 sed 's/^/| /' conftest.
$ac_ext >&5
29085 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29088 CFLAGS
="$save_CFLAGS"
29090 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29091 echo "${ECHO_T}$THREADS_OK" >&6
29092 if test "x$THREADS_OK" = "xyes"; then
29100 if test "x$THREADS_OK" != "xyes"; then
29102 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29103 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29105 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
29106 LIBS
="$THREADS_LINK $LIBS"
29108 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29109 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29113 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
29114 flag
="-D_THREAD_SAFE"
29117 flag
="-D_THREAD_SAFE"
29120 flag
="-D_REENTRANT"
29121 if test "x$GCC" != "xyes"; then
29122 flag
="$flag -D_RWSTD_MULTI_THREAD"
29125 *solaris
* | alpha
*-osf*)
29126 flag
="-D_REENTRANT"
29129 echo "$as_me:$LINENO: result: ${flag}" >&5
29130 echo "${ECHO_T}${flag}" >&6
29131 if test "x$flag" != xno
; then
29132 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
29135 if test "x$THREADS_CFLAGS" != "x"; then
29136 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
29137 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
29142 if test "$wxUSE_THREADS" = "yes" ; then
29144 for ac_func
in thr_setconcurrency
29146 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29147 echo "$as_me:$LINENO: checking for $ac_func" >&5
29148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29149 if eval "test \"\${$as_ac_var+set}\" = set"; then
29150 echo $ECHO_N "(cached) $ECHO_C" >&6
29152 cat >conftest.
$ac_ext <<_ACEOF
29153 #line $LINENO "configure"
29156 cat confdefs.h
>>conftest.
$ac_ext
29157 cat >>conftest.
$ac_ext <<_ACEOF
29158 /* end confdefs.h. */
29159 /* System header to define __stub macros and hopefully few prototypes,
29160 which can conflict with char $ac_func (); below.
29161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29162 <limits.h> exists even on freestanding compilers. */
29164 # include <limits.h>
29166 # include <assert.h>
29168 /* Override any gcc2 internal prototype to avoid an error. */
29173 /* We use char because int might match the return type of a gcc2
29174 builtin and then its argument prototype would still apply. */
29176 /* The GNU C library defines this for functions which it implements
29177 to always fail with ENOSYS. Some functions are actually named
29178 something starting with __ and the normal name is an alias. */
29179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29182 char (*f) () = $ac_func;
29191 return f != $ac_func;
29196 rm -f conftest.
$ac_objext conftest
$ac_exeext
29197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29198 (eval $ac_link) 2>&5
29200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29201 (exit $ac_status); } &&
29202 { ac_try
='test -s conftest$ac_exeext'
29203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29204 (eval $ac_try) 2>&5
29206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29207 (exit $ac_status); }; }; then
29208 eval "$as_ac_var=yes"
29210 echo "$as_me: failed program was:" >&5
29211 sed 's/^/| /' conftest.
$ac_ext >&5
29213 eval "$as_ac_var=no"
29215 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29219 if test `eval echo '${'$as_ac_var'}'` = yes; then
29220 cat >>confdefs.h
<<_ACEOF
29221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29229 for ac_header
in sched.h
29231 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29233 echo "$as_me:$LINENO: checking for $ac_header" >&5
29234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29236 echo $ECHO_N "(cached) $ECHO_C" >&6
29238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29241 # Is the header compilable?
29242 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29243 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29244 cat >conftest.
$ac_ext <<_ACEOF
29245 #line $LINENO "configure"
29248 cat confdefs.h
>>conftest.
$ac_ext
29249 cat >>conftest.
$ac_ext <<_ACEOF
29250 /* end confdefs.h. */
29251 $ac_includes_default
29252 #include <$ac_header>
29254 rm -f conftest.
$ac_objext
29255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29256 (eval $ac_compile) 2>&5
29258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29259 (exit $ac_status); } &&
29260 { ac_try
='test -s conftest.$ac_objext'
29261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29262 (eval $ac_try) 2>&5
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); }; }; then
29266 ac_header_compiler
=yes
29268 echo "$as_me: failed program was:" >&5
29269 sed 's/^/| /' conftest.
$ac_ext >&5
29271 ac_header_compiler
=no
29273 rm -f conftest.
$ac_objext conftest.
$ac_ext
29274 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29275 echo "${ECHO_T}$ac_header_compiler" >&6
29277 # Is the header present?
29278 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29279 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29280 cat >conftest.
$ac_ext <<_ACEOF
29281 #line $LINENO "configure"
29284 cat confdefs.h
>>conftest.
$ac_ext
29285 cat >>conftest.
$ac_ext <<_ACEOF
29286 /* end confdefs.h. */
29287 #include <$ac_header>
29289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29290 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29292 grep -v '^ *+' conftest.er1
>conftest.err
29294 cat conftest.err
>&5
29295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29296 (exit $ac_status); } >/dev
/null
; then
29297 if test -s conftest.err
; then
29298 ac_cpp_err
=$ac_c_preproc_warn_flag
29305 if test -z "$ac_cpp_err"; then
29306 ac_header_preproc
=yes
29308 echo "$as_me: failed program was:" >&5
29309 sed 's/^/| /' conftest.
$ac_ext >&5
29311 ac_header_preproc
=no
29313 rm -f conftest.err conftest.
$ac_ext
29314 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29315 echo "${ECHO_T}$ac_header_preproc" >&6
29317 # So? What about this header?
29318 case $ac_header_compiler:$ac_header_preproc in
29320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29321 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29323 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29326 ## ------------------------------------ ##
29327 ## Report this to bug-autoconf@gnu.org. ##
29328 ## ------------------------------------ ##
29331 sed "s/^/$as_me: WARNING: /" >&2
29334 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29335 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29336 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29337 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29339 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29342 ## ------------------------------------ ##
29343 ## Report this to bug-autoconf@gnu.org. ##
29344 ## ------------------------------------ ##
29347 sed "s/^/$as_me: WARNING: /" >&2
29350 echo "$as_me:$LINENO: checking for $ac_header" >&5
29351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29353 echo $ECHO_N "(cached) $ECHO_C" >&6
29355 eval "$as_ac_Header=$ac_header_preproc"
29357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29362 cat >>confdefs.h
<<_ACEOF
29363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29370 if test "$ac_cv_header_sched_h" = "yes"; then
29371 echo "$as_me:$LINENO: checking for sched_yield" >&5
29372 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29373 if test "${ac_cv_func_sched_yield+set}" = set; then
29374 echo $ECHO_N "(cached) $ECHO_C" >&6
29376 cat >conftest.
$ac_ext <<_ACEOF
29377 #line $LINENO "configure"
29380 cat confdefs.h
>>conftest.
$ac_ext
29381 cat >>conftest.
$ac_ext <<_ACEOF
29382 /* end confdefs.h. */
29383 /* System header to define __stub macros and hopefully few prototypes,
29384 which can conflict with char sched_yield (); below.
29385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29386 <limits.h> exists even on freestanding compilers. */
29388 # include <limits.h>
29390 # include <assert.h>
29392 /* Override any gcc2 internal prototype to avoid an error. */
29397 /* We use char because int might match the return type of a gcc2
29398 builtin and then its argument prototype would still apply. */
29399 char sched_yield ();
29400 /* The GNU C library defines this for functions which it implements
29401 to always fail with ENOSYS. Some functions are actually named
29402 something starting with __ and the normal name is an alias. */
29403 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29406 char (*f) () = sched_yield;
29415 return f != sched_yield;
29420 rm -f conftest.
$ac_objext conftest
$ac_exeext
29421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29422 (eval $ac_link) 2>&5
29424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425 (exit $ac_status); } &&
29426 { ac_try
='test -s conftest$ac_exeext'
29427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29428 (eval $ac_try) 2>&5
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); }; }; then
29432 ac_cv_func_sched_yield
=yes
29434 echo "$as_me: failed program was:" >&5
29435 sed 's/^/| /' conftest.
$ac_ext >&5
29437 ac_cv_func_sched_yield
=no
29439 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29441 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29442 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29443 if test $ac_cv_func_sched_yield = yes; then
29444 cat >>confdefs.h
<<\_ACEOF
29445 #define HAVE_SCHED_YIELD 1
29450 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29451 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29452 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29453 echo $ECHO_N "(cached) $ECHO_C" >&6
29455 ac_check_lib_save_LIBS
=$LIBS
29456 LIBS
="-lposix4 $LIBS"
29457 cat >conftest.
$ac_ext <<_ACEOF
29458 #line $LINENO "configure"
29461 cat confdefs.h
>>conftest.
$ac_ext
29462 cat >>conftest.
$ac_ext <<_ACEOF
29463 /* end confdefs.h. */
29465 /* Override any gcc2 internal prototype to avoid an error. */
29469 /* We use char because int might match the return type of a gcc2
29470 builtin and then its argument prototype would still apply. */
29471 char sched_yield ();
29480 rm -f conftest.
$ac_objext conftest
$ac_exeext
29481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29482 (eval $ac_link) 2>&5
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); } &&
29486 { ac_try
='test -s conftest$ac_exeext'
29487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29488 (eval $ac_try) 2>&5
29490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29491 (exit $ac_status); }; }; then
29492 ac_cv_lib_posix4_sched_yield
=yes
29494 echo "$as_me: failed program was:" >&5
29495 sed 's/^/| /' conftest.
$ac_ext >&5
29497 ac_cv_lib_posix4_sched_yield
=no
29499 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29500 LIBS
=$ac_check_lib_save_LIBS
29502 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29503 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29504 if test $ac_cv_lib_posix4_sched_yield = yes; then
29505 cat >>confdefs.h
<<\_ACEOF
29506 #define HAVE_SCHED_YIELD 1
29508 POSIX4_LINK
=" -lposix4"
29510 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29511 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29522 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29523 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29524 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29525 echo $ECHO_N "(cached) $ECHO_C" >&6
29527 cat >conftest.
$ac_ext <<_ACEOF
29528 #line $LINENO "configure"
29531 cat confdefs.h
>>conftest.
$ac_ext
29532 cat >>conftest.
$ac_ext <<_ACEOF
29533 /* end confdefs.h. */
29534 /* System header to define __stub macros and hopefully few prototypes,
29535 which can conflict with char pthread_attr_getschedpolicy (); below.
29536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29537 <limits.h> exists even on freestanding compilers. */
29539 # include <limits.h>
29541 # include <assert.h>
29543 /* Override any gcc2 internal prototype to avoid an error. */
29548 /* We use char because int might match the return type of a gcc2
29549 builtin and then its argument prototype would still apply. */
29550 char pthread_attr_getschedpolicy ();
29551 /* The GNU C library defines this for functions which it implements
29552 to always fail with ENOSYS. Some functions are actually named
29553 something starting with __ and the normal name is an alias. */
29554 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29557 char (*f) () = pthread_attr_getschedpolicy;
29566 return f != pthread_attr_getschedpolicy;
29571 rm -f conftest.
$ac_objext conftest
$ac_exeext
29572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29573 (eval $ac_link) 2>&5
29575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576 (exit $ac_status); } &&
29577 { ac_try
='test -s conftest$ac_exeext'
29578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29579 (eval $ac_try) 2>&5
29581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582 (exit $ac_status); }; }; then
29583 ac_cv_func_pthread_attr_getschedpolicy
=yes
29585 echo "$as_me: failed program was:" >&5
29586 sed 's/^/| /' conftest.
$ac_ext >&5
29588 ac_cv_func_pthread_attr_getschedpolicy
=no
29590 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29592 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29593 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29594 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29595 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29596 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29597 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29598 echo $ECHO_N "(cached) $ECHO_C" >&6
29600 cat >conftest.
$ac_ext <<_ACEOF
29601 #line $LINENO "configure"
29604 cat confdefs.h
>>conftest.
$ac_ext
29605 cat >>conftest.
$ac_ext <<_ACEOF
29606 /* end confdefs.h. */
29607 /* System header to define __stub macros and hopefully few prototypes,
29608 which can conflict with char pthread_attr_setschedparam (); below.
29609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29610 <limits.h> exists even on freestanding compilers. */
29612 # include <limits.h>
29614 # include <assert.h>
29616 /* Override any gcc2 internal prototype to avoid an error. */
29621 /* We use char because int might match the return type of a gcc2
29622 builtin and then its argument prototype would still apply. */
29623 char pthread_attr_setschedparam ();
29624 /* The GNU C library defines this for functions which it implements
29625 to always fail with ENOSYS. Some functions are actually named
29626 something starting with __ and the normal name is an alias. */
29627 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29630 char (*f) () = pthread_attr_setschedparam;
29639 return f != pthread_attr_setschedparam;
29644 rm -f conftest.
$ac_objext conftest
$ac_exeext
29645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29646 (eval $ac_link) 2>&5
29648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29649 (exit $ac_status); } &&
29650 { ac_try
='test -s conftest$ac_exeext'
29651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29652 (eval $ac_try) 2>&5
29654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29655 (exit $ac_status); }; }; then
29656 ac_cv_func_pthread_attr_setschedparam
=yes
29658 echo "$as_me: failed program was:" >&5
29659 sed 's/^/| /' conftest.
$ac_ext >&5
29661 ac_cv_func_pthread_attr_setschedparam
=no
29663 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29665 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29666 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29667 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29668 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29669 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29670 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29671 echo $ECHO_N "(cached) $ECHO_C" >&6
29673 cat >conftest.
$ac_ext <<_ACEOF
29674 #line $LINENO "configure"
29677 cat confdefs.h
>>conftest.
$ac_ext
29678 cat >>conftest.
$ac_ext <<_ACEOF
29679 /* end confdefs.h. */
29680 /* System header to define __stub macros and hopefully few prototypes,
29681 which can conflict with char sched_get_priority_max (); below.
29682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29683 <limits.h> exists even on freestanding compilers. */
29685 # include <limits.h>
29687 # include <assert.h>
29689 /* Override any gcc2 internal prototype to avoid an error. */
29694 /* We use char because int might match the return type of a gcc2
29695 builtin and then its argument prototype would still apply. */
29696 char sched_get_priority_max ();
29697 /* The GNU C library defines this for functions which it implements
29698 to always fail with ENOSYS. Some functions are actually named
29699 something starting with __ and the normal name is an alias. */
29700 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29703 char (*f) () = sched_get_priority_max;
29712 return f != sched_get_priority_max;
29717 rm -f conftest.
$ac_objext conftest
$ac_exeext
29718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29719 (eval $ac_link) 2>&5
29721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29722 (exit $ac_status); } &&
29723 { ac_try
='test -s conftest$ac_exeext'
29724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29725 (eval $ac_try) 2>&5
29727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29728 (exit $ac_status); }; }; then
29729 ac_cv_func_sched_get_priority_max
=yes
29731 echo "$as_me: failed program was:" >&5
29732 sed 's/^/| /' conftest.
$ac_ext >&5
29734 ac_cv_func_sched_get_priority_max
=no
29736 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29738 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29739 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29740 if test $ac_cv_func_sched_get_priority_max = yes; then
29743 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29744 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29745 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29746 echo $ECHO_N "(cached) $ECHO_C" >&6
29748 ac_check_lib_save_LIBS
=$LIBS
29749 LIBS
="-lposix4 $LIBS"
29750 cat >conftest.
$ac_ext <<_ACEOF
29751 #line $LINENO "configure"
29754 cat confdefs.h
>>conftest.
$ac_ext
29755 cat >>conftest.
$ac_ext <<_ACEOF
29756 /* end confdefs.h. */
29758 /* Override any gcc2 internal prototype to avoid an error. */
29762 /* We use char because int might match the return type of a gcc2
29763 builtin and then its argument prototype would still apply. */
29764 char sched_get_priority_max ();
29768 sched_get_priority_max ();
29773 rm -f conftest.
$ac_objext conftest
$ac_exeext
29774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29775 (eval $ac_link) 2>&5
29777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29778 (exit $ac_status); } &&
29779 { ac_try
='test -s conftest$ac_exeext'
29780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29781 (eval $ac_try) 2>&5
29783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29784 (exit $ac_status); }; }; then
29785 ac_cv_lib_posix4_sched_get_priority_max
=yes
29787 echo "$as_me: failed program was:" >&5
29788 sed 's/^/| /' conftest.
$ac_ext >&5
29790 ac_cv_lib_posix4_sched_get_priority_max
=no
29792 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29793 LIBS
=$ac_check_lib_save_LIBS
29795 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29796 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29797 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29800 POSIX4_LINK
=" -lposix4"
29814 if test "$HAVE_PRIOR_FUNCS" = 1; then
29815 cat >>confdefs.h
<<\_ACEOF
29816 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29820 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29821 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29824 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29825 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29826 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29827 echo $ECHO_N "(cached) $ECHO_C" >&6
29829 cat >conftest.
$ac_ext <<_ACEOF
29830 #line $LINENO "configure"
29833 cat confdefs.h
>>conftest.
$ac_ext
29834 cat >>conftest.
$ac_ext <<_ACEOF
29835 /* end confdefs.h. */
29836 /* System header to define __stub macros and hopefully few prototypes,
29837 which can conflict with char pthread_cancel (); below.
29838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29839 <limits.h> exists even on freestanding compilers. */
29841 # include <limits.h>
29843 # include <assert.h>
29845 /* Override any gcc2 internal prototype to avoid an error. */
29850 /* We use char because int might match the return type of a gcc2
29851 builtin and then its argument prototype would still apply. */
29852 char pthread_cancel ();
29853 /* The GNU C library defines this for functions which it implements
29854 to always fail with ENOSYS. Some functions are actually named
29855 something starting with __ and the normal name is an alias. */
29856 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29859 char (*f) () = pthread_cancel;
29868 return f != pthread_cancel;
29873 rm -f conftest.
$ac_objext conftest
$ac_exeext
29874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29875 (eval $ac_link) 2>&5
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); } &&
29879 { ac_try
='test -s conftest$ac_exeext'
29880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29881 (eval $ac_try) 2>&5
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); }; }; then
29885 ac_cv_func_pthread_cancel
=yes
29887 echo "$as_me: failed program was:" >&5
29888 sed 's/^/| /' conftest.
$ac_ext >&5
29890 ac_cv_func_pthread_cancel
=no
29892 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29894 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29895 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29896 if test $ac_cv_func_pthread_cancel = yes; then
29897 cat >>confdefs.h
<<\_ACEOF
29898 #define HAVE_PTHREAD_CANCEL 1
29902 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29903 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29909 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29910 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29911 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29912 echo $ECHO_N "(cached) $ECHO_C" >&6
29915 cat >conftest.
$ac_ext <<_ACEOF
29916 #line $LINENO "configure"
29919 cat confdefs.h
>>conftest.
$ac_ext
29920 cat >>conftest.
$ac_ext <<_ACEOF
29921 /* end confdefs.h. */
29922 #include <pthread.h>
29927 pthread_mutexattr_t attr;
29928 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29934 rm -f conftest.
$ac_objext
29935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29936 (eval $ac_compile) 2>&5
29938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29939 (exit $ac_status); } &&
29940 { ac_try
='test -s conftest.$ac_objext'
29941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29942 (eval $ac_try) 2>&5
29944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945 (exit $ac_status); }; }; then
29947 wx_cv_type_pthread_mutexattr_t
=yes
29950 echo "$as_me: failed program was:" >&5
29951 sed 's/^/| /' conftest.
$ac_ext >&5
29954 wx_cv_type_pthread_mutexattr_t
=no
29958 rm -f conftest.
$ac_objext conftest.
$ac_ext
29961 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29962 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29964 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29965 cat >>confdefs.h
<<\_ACEOF
29966 #define HAVE_PTHREAD_MUTEXATTR_T 1
29970 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29971 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29972 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29973 echo $ECHO_N "(cached) $ECHO_C" >&6
29976 cat >conftest.
$ac_ext <<_ACEOF
29977 #line $LINENO "configure"
29980 cat confdefs.h
>>conftest.
$ac_ext
29981 cat >>conftest.
$ac_ext <<_ACEOF
29982 /* end confdefs.h. */
29983 #include <pthread.h>
29988 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29994 rm -f conftest.
$ac_objext
29995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29996 (eval $ac_compile) 2>&5
29998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29999 (exit $ac_status); } &&
30000 { ac_try
='test -s conftest.$ac_objext'
30001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30002 (eval $ac_try) 2>&5
30004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30005 (exit $ac_status); }; }; then
30007 wx_cv_type_pthread_rec_mutex_init
=yes
30010 echo "$as_me: failed program was:" >&5
30011 sed 's/^/| /' conftest.
$ac_ext >&5
30014 wx_cv_type_pthread_rec_mutex_init
=no
30018 rm -f conftest.
$ac_objext conftest.
$ac_ext
30021 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30022 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30023 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30024 cat >>confdefs.h
<<\_ACEOF
30025 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30029 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30030 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30036 if test "$wxUSE_THREADS" = "yes" ; then
30039 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30040 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30041 if test "${wx_cv_cflags_mthread+set}" = set; then
30042 echo $ECHO_N "(cached) $ECHO_C" >&6
30045 CFLAGS_OLD
="$CFLAGS"
30046 CFLAGS
="$CFLAGS -mthreads"
30047 cat >conftest.
$ac_ext <<_ACEOF
30048 #line $LINENO "configure"
30051 cat confdefs.h
>>conftest.
$ac_ext
30052 cat >>conftest.
$ac_ext <<_ACEOF
30053 /* end confdefs.h. */
30063 rm -f conftest.
$ac_objext
30064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30065 (eval $ac_compile) 2>&5
30067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30068 (exit $ac_status); } &&
30069 { ac_try
='test -s conftest.$ac_objext'
30070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30071 (eval $ac_try) 2>&5
30073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074 (exit $ac_status); }; }; then
30075 wx_cv_cflags_mthread
=yes
30077 echo "$as_me: failed program was:" >&5
30078 sed 's/^/| /' conftest.
$ac_ext >&5
30080 wx_cv_cflags_mthread
=no
30083 rm -f conftest.
$ac_objext conftest.
$ac_ext
30087 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30088 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30090 if test "$wx_cv_cflags_mthread" = "yes"; then
30091 CXXFLAGS
="$CXXFLAGS -mthreads"
30092 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
30093 LDFLAGS
="$LDFLAGS -mthreads"
30095 CFLAGS
="$CFLAGS_OLD"
30099 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30100 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30101 LDFLAGS
="$LDFLAGS -Zmt"
30107 if test "$wxUSE_THREADS" = "yes"; then
30108 cat >>confdefs.h
<<\_ACEOF
30109 #define wxUSE_THREADS 1
30113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
30115 if test "$ac_cv_func_strtok_r" = "yes"; then
30116 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30117 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30118 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30119 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
30120 echo "$as_me:$LINENO: result: yes" >&5
30121 echo "${ECHO_T}yes" >&6
30123 echo "$as_me:$LINENO: result: no" >&5
30124 echo "${ECHO_T}no" >&6
30129 if test "$WXGTK20" = 1 ; then
30130 cat >>confdefs.h
<<_ACEOF
30131 #define __WXGTK20__ $WXGTK20
30137 if test "$WXGTK12" = 1 ; then
30138 cat >>confdefs.h
<<_ACEOF
30139 #define __WXGTK12__ $WXGTK12
30144 if test "$WXGTK127" = 1 ; then
30145 cat >>confdefs.h
<<_ACEOF
30146 #define __WXGTK127__ $WXGTK127
30153 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30158 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30159 wxUSE_DEBUG_INFO
=yes
30163 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30164 cat >>confdefs.h
<<\_ACEOF
30168 WXDEBUG_DEFINE
="-D__WXDEBUG__"
30170 if test "$wxUSE_GTK" = 1 ; then
30171 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
30175 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30176 cat >>confdefs.h
<<\_ACEOF
30177 #define wxUSE_MEMORY_TRACING 1
30180 cat >>confdefs.h
<<\_ACEOF
30181 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30184 cat >>confdefs.h
<<\_ACEOF
30185 #define wxUSE_DEBUG_NEW_ALWAYS 1
30188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
30191 if test "$wxUSE_DMALLOC" = "yes" ; then
30192 DMALLOC_LIBS
="-ldmalloc"
30196 if test "$wxUSE_PROFILE" = "yes" ; then
30201 CODE_GEN_FLAGS_CXX
=
30202 if test "$GCC" = "yes" ; then
30203 if test "$wxUSE_NO_RTTI" = "yes" ; then
30204 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
30206 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30207 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30209 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30210 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
30215 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
30218 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
30224 if test "$wxUSE_OPTIMISE" = "no" ; then
30225 if test "$GCC" = yes ; then
30229 if test "$GCC" = yes ; then
30233 i586
-*-*|i686
-*-* )
30234 OPTIMISE
="${OPTIMISE} "
30243 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30244 cat >>confdefs.h
<<\_ACEOF
30245 #define WXWIN_COMPATIBILITY_2_2 1
30249 WXWIN_COMPATIBILITY_2_4
="yes"
30252 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30253 cat >>confdefs.h
<<\_ACEOF
30254 #define WXWIN_COMPATIBILITY_2_4 1
30260 if test "$wxUSE_GUI" = "yes"; then
30261 cat >>confdefs.h
<<\_ACEOF
30262 #define wxUSE_GUI 1
30267 cat >>confdefs.h
<<\_ACEOF
30268 #define wxUSE_NOGUI 1
30274 if test "$wxUSE_UNIX" = "yes"; then
30275 cat >>confdefs.h
<<\_ACEOF
30276 #define wxUSE_UNIX 1
30282 if test "$wxUSE_STL" = "yes"; then
30283 cat >>confdefs.h
<<\_ACEOF
30284 #define wxUSE_STL 1
30289 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30290 cat >>confdefs.h
<<\_ACEOF
30291 #define wxUSE_APPLE_IEEE 1
30296 if test "$wxUSE_TIMER" = "yes"; then
30297 cat >>confdefs.h
<<\_ACEOF
30298 #define wxUSE_TIMER 1
30303 if test "$wxUSE_WAVE" = "yes"; then
30304 cat >>confdefs.h
<<\_ACEOF
30305 #define wxUSE_WAVE 1
30310 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30311 cat >>confdefs.h
<<\_ACEOF
30312 #define wxUSE_CMDLINE_PARSER 1
30317 if test "$wxUSE_STOPWATCH" = "yes"; then
30318 cat >>confdefs.h
<<\_ACEOF
30319 #define wxUSE_STOPWATCH 1
30324 if test "$wxUSE_DATETIME" = "yes"; then
30325 cat >>confdefs.h
<<\_ACEOF
30326 #define wxUSE_DATETIME 1
30331 if test "$wxUSE_FILE" = "yes"; then
30332 cat >>confdefs.h
<<\_ACEOF
30333 #define wxUSE_FILE 1
30338 if test "$wxUSE_FFILE" = "yes"; then
30339 cat >>confdefs.h
<<\_ACEOF
30340 #define wxUSE_FFILE 1
30345 if test "$wxUSE_FILESYSTEM" = "yes"; then
30346 cat >>confdefs.h
<<\_ACEOF
30347 #define wxUSE_FILESYSTEM 1
30352 if test "$wxUSE_FS_ZIP" = "yes"; then
30353 cat >>confdefs.h
<<\_ACEOF
30354 #define wxUSE_FS_ZIP 1
30359 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30360 cat >>confdefs.h
<<\_ACEOF
30361 #define wxUSE_ZIPSTREAM 1
30366 if test "$wxUSE_GZSTREAM" = "yes"; then
30367 cat >>confdefs.h
<<\_ACEOF
30368 #define wxUSE_GZSTREAM 1
30373 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30374 cat >>confdefs.h
<<\_ACEOF
30375 #define wxUSE_ON_FATAL_EXCEPTION 1
30380 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30381 cat >>confdefs.h
<<\_ACEOF
30382 #define wxUSE_SNGLINST_CHECKER 1
30387 if test "$wxUSE_BUSYINFO" = "yes"; then
30388 cat >>confdefs.h
<<\_ACEOF
30389 #define wxUSE_BUSYINFO 1
30394 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30395 cat >>confdefs.h
<<\_ACEOF
30396 #define wxUSE_STD_IOSTREAM 1
30401 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30402 cat >>confdefs.h
<<\_ACEOF
30403 #define wxUSE_TEXTBUFFER 1
30408 if test "$wxUSE_TEXTFILE" = "yes"; then
30409 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30410 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30411 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30413 cat >>confdefs.h
<<\_ACEOF
30414 #define wxUSE_TEXTFILE 1
30420 if test "$wxUSE_CONFIG" = "yes" ; then
30421 if test "$wxUSE_TEXTFILE" != "yes"; then
30422 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30423 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30425 cat >>confdefs.h
<<\_ACEOF
30426 #define wxUSE_CONFIG 1
30429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
30433 if test "$wxUSE_INTL" = "yes" ; then
30434 if test "$wxUSE_FILE" != "yes"; then
30435 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30436 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30438 cat >>confdefs.h
<<\_ACEOF
30439 #define wxUSE_INTL 1
30442 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
30443 GUIDIST
="$GUIDIST INTL_DIST"
30447 if test "$wxUSE_LOG" = "yes"; then
30448 cat >>confdefs.h
<<\_ACEOF
30449 #define wxUSE_LOG 1
30453 if test "$wxUSE_LOGGUI" = "yes"; then
30454 cat >>confdefs.h
<<\_ACEOF
30455 #define wxUSE_LOGGUI 1
30460 if test "$wxUSE_LOGWINDOW" = "yes"; then
30461 cat >>confdefs.h
<<\_ACEOF
30462 #define wxUSE_LOGWINDOW 1
30467 if test "$wxUSE_LOGDIALOG" = "yes"; then
30468 cat >>confdefs.h
<<\_ACEOF
30469 #define wxUSE_LOG_DIALOG 1
30475 if test "$wxUSE_LONGLONG" = "yes"; then
30476 cat >>confdefs.h
<<\_ACEOF
30477 #define wxUSE_LONGLONG 1
30482 if test "$wxUSE_GEOMETRY" = "yes"; then
30483 cat >>confdefs.h
<<\_ACEOF
30484 #define wxUSE_GEOMETRY 1
30489 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30490 cat >>confdefs.h
<<\_ACEOF
30491 #define wxUSE_DIALUP_MANAGER 1
30494 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
30497 if test "$wxUSE_STREAMS" = "yes" ; then
30498 cat >>confdefs.h
<<\_ACEOF
30499 #define wxUSE_STREAMS 1
30505 if test "$wxUSE_DATETIME" = "yes"; then
30507 for ac_func
in strptime
30509 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30510 echo "$as_me:$LINENO: checking for $ac_func" >&5
30511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30512 if eval "test \"\${$as_ac_var+set}\" = set"; then
30513 echo $ECHO_N "(cached) $ECHO_C" >&6
30515 cat >conftest.
$ac_ext <<_ACEOF
30516 #line $LINENO "configure"
30519 cat confdefs.h
>>conftest.
$ac_ext
30520 cat >>conftest.
$ac_ext <<_ACEOF
30521 /* end confdefs.h. */
30522 /* System header to define __stub macros and hopefully few prototypes,
30523 which can conflict with char $ac_func (); below.
30524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30525 <limits.h> exists even on freestanding compilers. */
30527 # include <limits.h>
30529 # include <assert.h>
30531 /* Override any gcc2 internal prototype to avoid an error. */
30536 /* We use char because int might match the return type of a gcc2
30537 builtin and then its argument prototype would still apply. */
30539 /* The GNU C library defines this for functions which it implements
30540 to always fail with ENOSYS. Some functions are actually named
30541 something starting with __ and the normal name is an alias. */
30542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30545 char (*f) () = $ac_func;
30554 return f != $ac_func;
30559 rm -f conftest.
$ac_objext conftest
$ac_exeext
30560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30561 (eval $ac_link) 2>&5
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); } &&
30565 { ac_try
='test -s conftest$ac_exeext'
30566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30567 (eval $ac_try) 2>&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); }; }; then
30571 eval "$as_ac_var=yes"
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.
$ac_ext >&5
30576 eval "$as_ac_var=no"
30578 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30582 if test `eval echo '${'$as_ac_var'}'` = yes; then
30583 cat >>confdefs.h
<<_ACEOF
30584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30591 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30592 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30593 if test "${wx_cv_var_timezone+set}" = set; then
30594 echo $ECHO_N "(cached) $ECHO_C" >&6
30597 cat >conftest.
$ac_ext <<_ACEOF
30598 #line $LINENO "configure"
30601 cat confdefs.h
>>conftest.
$ac_ext
30602 cat >>conftest.
$ac_ext <<_ACEOF
30603 /* end confdefs.h. */
30618 rm -f conftest.
$ac_objext
30619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30620 (eval $ac_compile) 2>&5
30622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30623 (exit $ac_status); } &&
30624 { ac_try
='test -s conftest.$ac_objext'
30625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30626 (eval $ac_try) 2>&5
30628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30629 (exit $ac_status); }; }; then
30631 wx_cv_var_timezone
=timezone
30634 echo "$as_me: failed program was:" >&5
30635 sed 's/^/| /' conftest.
$ac_ext >&5
30638 cat >conftest.
$ac_ext <<_ACEOF
30639 #line $LINENO "configure"
30642 cat confdefs.h
>>conftest.
$ac_ext
30643 cat >>conftest.
$ac_ext <<_ACEOF
30644 /* end confdefs.h. */
30659 rm -f conftest.
$ac_objext
30660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30661 (eval $ac_compile) 2>&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); } &&
30665 { ac_try
='test -s conftest.$ac_objext'
30666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30667 (eval $ac_try) 2>&5
30669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670 (exit $ac_status); }; }; then
30672 wx_cv_var_timezone
=_timezone
30675 echo "$as_me: failed program was:" >&5
30676 sed 's/^/| /' conftest.
$ac_ext >&5
30679 cat >conftest.
$ac_ext <<_ACEOF
30680 #line $LINENO "configure"
30683 cat confdefs.h
>>conftest.
$ac_ext
30684 cat >>conftest.
$ac_ext <<_ACEOF
30685 /* end confdefs.h. */
30700 rm -f conftest.
$ac_objext
30701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30702 (eval $ac_compile) 2>&5
30704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705 (exit $ac_status); } &&
30706 { ac_try
='test -s conftest.$ac_objext'
30707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30708 (eval $ac_try) 2>&5
30710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30711 (exit $ac_status); }; }; then
30713 wx_cv_var_timezone
=__timezone
30716 echo "$as_me: failed program was:" >&5
30717 sed 's/^/| /' conftest.
$ac_ext >&5
30720 if test "$USE_DOS" = 0 ; then
30721 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30722 echo "$as_me: WARNING: no timezone variable" >&2;}
30727 rm -f conftest.
$ac_objext conftest.
$ac_ext
30731 rm -f conftest.
$ac_objext conftest.
$ac_ext
30735 rm -f conftest.
$ac_objext conftest.
$ac_ext
30739 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30740 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30742 if test "x$wx_cv_var_timezone" != x
; then
30743 cat >>confdefs.h
<<_ACEOF
30744 #define WX_TIMEZONE $wx_cv_var_timezone
30750 for ac_func
in localtime
30752 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30753 echo "$as_me:$LINENO: checking for $ac_func" >&5
30754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30755 if eval "test \"\${$as_ac_var+set}\" = set"; then
30756 echo $ECHO_N "(cached) $ECHO_C" >&6
30758 cat >conftest.
$ac_ext <<_ACEOF
30759 #line $LINENO "configure"
30762 cat confdefs.h
>>conftest.
$ac_ext
30763 cat >>conftest.
$ac_ext <<_ACEOF
30764 /* end confdefs.h. */
30765 /* System header to define __stub macros and hopefully few prototypes,
30766 which can conflict with char $ac_func (); below.
30767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30768 <limits.h> exists even on freestanding compilers. */
30770 # include <limits.h>
30772 # include <assert.h>
30774 /* Override any gcc2 internal prototype to avoid an error. */
30779 /* We use char because int might match the return type of a gcc2
30780 builtin and then its argument prototype would still apply. */
30782 /* The GNU C library defines this for functions which it implements
30783 to always fail with ENOSYS. Some functions are actually named
30784 something starting with __ and the normal name is an alias. */
30785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30788 char (*f) () = $ac_func;
30797 return f != $ac_func;
30802 rm -f conftest.
$ac_objext conftest
$ac_exeext
30803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30804 (eval $ac_link) 2>&5
30806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30807 (exit $ac_status); } &&
30808 { ac_try
='test -s conftest$ac_exeext'
30809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30810 (eval $ac_try) 2>&5
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); }; }; then
30814 eval "$as_ac_var=yes"
30816 echo "$as_me: failed program was:" >&5
30817 sed 's/^/| /' conftest.
$ac_ext >&5
30819 eval "$as_ac_var=no"
30821 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30825 if test `eval echo '${'$as_ac_var'}'` = yes; then
30826 cat >>confdefs.h
<<_ACEOF
30827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30834 if test "$ac_cv_func_localtime" = "yes"; then
30835 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30836 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30837 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30838 echo $ECHO_N "(cached) $ECHO_C" >&6
30841 cat >conftest.
$ac_ext <<_ACEOF
30842 #line $LINENO "configure"
30845 cat confdefs.h
>>conftest.
$ac_ext
30846 cat >>conftest.
$ac_ext <<_ACEOF
30847 /* end confdefs.h. */
30862 rm -f conftest.
$ac_objext
30863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30864 (eval $ac_compile) 2>&5
30866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30867 (exit $ac_status); } &&
30868 { ac_try
='test -s conftest.$ac_objext'
30869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30870 (eval $ac_try) 2>&5
30872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30873 (exit $ac_status); }; }; then
30875 wx_cv_struct_tm_has_gmtoff
=yes
30878 echo "$as_me: failed program was:" >&5
30879 sed 's/^/| /' conftest.
$ac_ext >&5
30881 wx_cv_struct_tm_has_gmtoff
=no
30884 rm -f conftest.
$ac_objext conftest.
$ac_ext
30887 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30888 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30891 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30892 cat >>confdefs.h
<<\_ACEOF
30893 #define WX_GMTOFF_IN_TM 1
30900 for ac_func
in gettimeofday ftime
30902 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30903 echo "$as_me:$LINENO: checking for $ac_func" >&5
30904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30905 if eval "test \"\${$as_ac_var+set}\" = set"; then
30906 echo $ECHO_N "(cached) $ECHO_C" >&6
30908 cat >conftest.
$ac_ext <<_ACEOF
30909 #line $LINENO "configure"
30912 cat confdefs.h
>>conftest.
$ac_ext
30913 cat >>conftest.
$ac_ext <<_ACEOF
30914 /* end confdefs.h. */
30915 /* System header to define __stub macros and hopefully few prototypes,
30916 which can conflict with char $ac_func (); below.
30917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30918 <limits.h> exists even on freestanding compilers. */
30920 # include <limits.h>
30922 # include <assert.h>
30924 /* Override any gcc2 internal prototype to avoid an error. */
30929 /* We use char because int might match the return type of a gcc2
30930 builtin and then its argument prototype would still apply. */
30932 /* The GNU C library defines this for functions which it implements
30933 to always fail with ENOSYS. Some functions are actually named
30934 something starting with __ and the normal name is an alias. */
30935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30938 char (*f) () = $ac_func;
30947 return f != $ac_func;
30952 rm -f conftest.
$ac_objext conftest
$ac_exeext
30953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30954 (eval $ac_link) 2>&5
30956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30957 (exit $ac_status); } &&
30958 { ac_try
='test -s conftest$ac_exeext'
30959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30960 (eval $ac_try) 2>&5
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); }; }; then
30964 eval "$as_ac_var=yes"
30966 echo "$as_me: failed program was:" >&5
30967 sed 's/^/| /' conftest.
$ac_ext >&5
30969 eval "$as_ac_var=no"
30971 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30975 if test `eval echo '${'$as_ac_var'}'` = yes; then
30976 cat >>confdefs.h
<<_ACEOF
30977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30984 if test "$ac_cv_func_gettimeofday" = "yes"; then
30985 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30986 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30987 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30988 echo $ECHO_N "(cached) $ECHO_C" >&6
30994 ac_cpp
='$CXXCPP $CPPFLAGS'
30995 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30996 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30997 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31000 cat >conftest.
$ac_ext <<_ACEOF
31001 #line $LINENO "configure"
31004 cat confdefs.h
>>conftest.
$ac_ext
31005 cat >>conftest.
$ac_ext <<_ACEOF
31006 /* end confdefs.h. */
31008 #include <sys/time.h>
31009 #include <unistd.h>
31016 gettimeofday(&tv, NULL);
31022 rm -f conftest.
$ac_objext
31023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31024 (eval $ac_compile) 2>&5
31026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027 (exit $ac_status); } &&
31028 { ac_try
='test -s conftest.$ac_objext'
31029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31030 (eval $ac_try) 2>&5
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); }; }; then
31034 wx_cv_func_gettimeofday_has_2_args
=yes
31036 echo "$as_me: failed program was:" >&5
31037 sed 's/^/| /' conftest.
$ac_ext >&5
31039 cat >conftest.
$ac_ext <<_ACEOF
31040 #line $LINENO "configure"
31043 cat confdefs.h
>>conftest.
$ac_ext
31044 cat >>conftest.
$ac_ext <<_ACEOF
31045 /* end confdefs.h. */
31047 #include <sys/time.h>
31048 #include <unistd.h>
31061 rm -f conftest.
$ac_objext
31062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31063 (eval $ac_compile) 2>&5
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); } &&
31067 { ac_try
='test -s conftest.$ac_objext'
31068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31069 (eval $ac_try) 2>&5
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); }; }; then
31073 wx_cv_func_gettimeofday_has_2_args
=no
31075 echo "$as_me: failed program was:" >&5
31076 sed 's/^/| /' conftest.
$ac_ext >&5
31079 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31080 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31081 wx_cv_func_gettimeofday_has_2_args
=unknown
31085 rm -f conftest.
$ac_objext conftest.
$ac_ext
31088 rm -f conftest.
$ac_objext conftest.
$ac_ext
31090 ac_cpp
='$CPP $CPPFLAGS'
31091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31097 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31098 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31100 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31101 cat >>confdefs.h
<<\_ACEOF
31102 #define WX_GETTIMEOFDAY_NO_TZ 1
31108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
31112 if test "$wxUSE_SOCKETS" = "yes"; then
31113 if test "$wxUSE_MGL" = "1"; then
31114 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31115 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31118 if test "$wxUSE_COCOA" = "1"; then
31119 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31120 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31125 if test "$wxUSE_SOCKETS" = "yes"; then
31126 if test "$TOOLKIT" != "MSW"; then
31127 echo "$as_me:$LINENO: checking for socket" >&5
31128 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31129 if test "${ac_cv_func_socket+set}" = set; then
31130 echo $ECHO_N "(cached) $ECHO_C" >&6
31132 cat >conftest.
$ac_ext <<_ACEOF
31133 #line $LINENO "configure"
31136 cat confdefs.h
>>conftest.
$ac_ext
31137 cat >>conftest.
$ac_ext <<_ACEOF
31138 /* end confdefs.h. */
31139 /* System header to define __stub macros and hopefully few prototypes,
31140 which can conflict with char socket (); below.
31141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31142 <limits.h> exists even on freestanding compilers. */
31144 # include <limits.h>
31146 # include <assert.h>
31148 /* Override any gcc2 internal prototype to avoid an error. */
31153 /* We use char because int might match the return type of a gcc2
31154 builtin and then its argument prototype would still apply. */
31156 /* The GNU C library defines this for functions which it implements
31157 to always fail with ENOSYS. Some functions are actually named
31158 something starting with __ and the normal name is an alias. */
31159 #if defined (__stub_socket) || defined (__stub___socket)
31162 char (*f) () = socket;
31171 return f != socket;
31176 rm -f conftest.
$ac_objext conftest
$ac_exeext
31177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31178 (eval $ac_link) 2>&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); } &&
31182 { ac_try
='test -s conftest$ac_exeext'
31183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31184 (eval $ac_try) 2>&5
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); }; }; then
31188 ac_cv_func_socket
=yes
31190 echo "$as_me: failed program was:" >&5
31191 sed 's/^/| /' conftest.
$ac_ext >&5
31193 ac_cv_func_socket
=no
31195 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31197 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31198 echo "${ECHO_T}$ac_cv_func_socket" >&6
31199 if test $ac_cv_func_socket = yes; then
31203 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31204 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31205 if test "${ac_cv_lib_socket_socket+set}" = set; then
31206 echo $ECHO_N "(cached) $ECHO_C" >&6
31208 ac_check_lib_save_LIBS
=$LIBS
31209 LIBS
="-lsocket $LIBS"
31210 cat >conftest.
$ac_ext <<_ACEOF
31211 #line $LINENO "configure"
31214 cat confdefs.h
>>conftest.
$ac_ext
31215 cat >>conftest.
$ac_ext <<_ACEOF
31216 /* end confdefs.h. */
31218 /* Override any gcc2 internal prototype to avoid an error. */
31222 /* We use char because int might match the return type of a gcc2
31223 builtin and then its argument prototype would still apply. */
31233 rm -f conftest.
$ac_objext conftest
$ac_exeext
31234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31235 (eval $ac_link) 2>&5
31237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238 (exit $ac_status); } &&
31239 { ac_try
='test -s conftest$ac_exeext'
31240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31241 (eval $ac_try) 2>&5
31243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244 (exit $ac_status); }; }; then
31245 ac_cv_lib_socket_socket
=yes
31247 echo "$as_me: failed program was:" >&5
31248 sed 's/^/| /' conftest.
$ac_ext >&5
31250 ac_cv_lib_socket_socket
=no
31252 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31253 LIBS
=$ac_check_lib_save_LIBS
31255 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31256 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31257 if test $ac_cv_lib_socket_socket = yes; then
31258 if test "$INET_LINK" != " -lsocket"; then
31259 INET_LINK
="$INET_LINK -lsocket"
31263 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31264 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31277 if test "$wxUSE_SOCKETS" = "yes" ; then
31278 if test "$TOOLKIT" != "MSW"; then
31279 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31280 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31281 if test "${wx_cv_type_getsockname3+set}" = set; then
31282 echo $ECHO_N "(cached) $ECHO_C" >&6
31285 cat >conftest.
$ac_ext <<_ACEOF
31286 #line $LINENO "configure"
31289 cat confdefs.h
>>conftest.
$ac_ext
31290 cat >>conftest.
$ac_ext <<_ACEOF
31291 /* end confdefs.h. */
31293 #include <sys/types.h>
31294 #include <sys/socket.h>
31301 getsockname(0, 0, &len);
31307 rm -f conftest.
$ac_objext
31308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31309 (eval $ac_compile) 2>&5
31311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31312 (exit $ac_status); } &&
31313 { ac_try
='test -s conftest.$ac_objext'
31314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31315 (eval $ac_try) 2>&5
31317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31318 (exit $ac_status); }; }; then
31319 wx_cv_type_getsockname3
=socklen_t
31321 echo "$as_me: failed program was:" >&5
31322 sed 's/^/| /' conftest.
$ac_ext >&5
31325 CFLAGS_OLD
="$CFLAGS"
31326 if test "$GCC" = yes ; then
31327 CFLAGS
="$CFLAGS -Werror"
31330 cat >conftest.
$ac_ext <<_ACEOF
31331 #line $LINENO "configure"
31334 cat confdefs.h
>>conftest.
$ac_ext
31335 cat >>conftest.
$ac_ext <<_ACEOF
31336 /* end confdefs.h. */
31338 #include <sys/types.h>
31339 #include <sys/socket.h>
31346 getsockname(0, 0, &len);
31352 rm -f conftest.
$ac_objext
31353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31354 (eval $ac_compile) 2>&5
31356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31357 (exit $ac_status); } &&
31358 { ac_try
='test -s conftest.$ac_objext'
31359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31360 (eval $ac_try) 2>&5
31362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363 (exit $ac_status); }; }; then
31364 wx_cv_type_getsockname3
=size_t
31366 echo "$as_me: failed program was:" >&5
31367 sed 's/^/| /' conftest.
$ac_ext >&5
31369 cat >conftest.
$ac_ext <<_ACEOF
31370 #line $LINENO "configure"
31373 cat confdefs.h
>>conftest.
$ac_ext
31374 cat >>conftest.
$ac_ext <<_ACEOF
31375 /* end confdefs.h. */
31377 #include <sys/types.h>
31378 #include <sys/socket.h>
31385 getsockname(0, 0, &len);
31391 rm -f conftest.
$ac_objext
31392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31393 (eval $ac_compile) 2>&5
31395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31396 (exit $ac_status); } &&
31397 { ac_try
='test -s conftest.$ac_objext'
31398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31399 (eval $ac_try) 2>&5
31401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402 (exit $ac_status); }; }; then
31403 wx_cv_type_getsockname3
=int
31405 echo "$as_me: failed program was:" >&5
31406 sed 's/^/| /' conftest.
$ac_ext >&5
31408 wx_cv_type_getsockname3
=unknown
31411 rm -f conftest.
$ac_objext conftest.
$ac_ext
31414 rm -f conftest.
$ac_objext conftest.
$ac_ext
31416 CFLAGS
="$CFLAGS_OLD"
31420 rm -f conftest.
$ac_objext conftest.
$ac_ext
31423 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31424 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31426 if test "$wx_cv_type_getsockname3" = "unknown"; then
31428 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31429 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31431 cat >>confdefs.h
<<_ACEOF
31432 #define SOCKLEN_T $wx_cv_type_getsockname3
31439 if test "$wxUSE_SOCKETS" = "yes" ; then
31440 cat >>confdefs.h
<<\_ACEOF
31441 #define wxUSE_SOCKETS 1
31444 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
31447 if test "$wxUSE_PROTOCOL" = "yes"; then
31448 if test "$wxUSE_SOCKETS" != "yes"; then
31449 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31450 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31455 if test "$wxUSE_PROTOCOL" = "yes"; then
31456 cat >>confdefs.h
<<\_ACEOF
31457 #define wxUSE_PROTOCOL 1
31461 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31462 cat >>confdefs.h
<<\_ACEOF
31463 #define wxUSE_PROTOCOL_HTTP 1
31467 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31468 cat >>confdefs.h
<<\_ACEOF
31469 #define wxUSE_PROTOCOL_FTP 1
31473 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31474 cat >>confdefs.h
<<\_ACEOF
31475 #define wxUSE_PROTOCOL_FILE 1
31480 if test "$wxUSE_FS_INET" = "yes"; then
31481 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31482 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31487 if test "$wxUSE_URL" = "yes"; then
31488 if test "$wxUSE_PROTOCOL" != "yes"; then
31489 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31490 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31493 if test "$wxUSE_URL" = "yes"; then
31494 cat >>confdefs.h
<<\_ACEOF
31495 #define wxUSE_URL 1
31501 if test "$wxUSE_FS_INET" = "yes"; then
31502 cat >>confdefs.h
<<\_ACEOF
31503 #define wxUSE_FS_INET 1
31509 if test "$wxUSE_GUI" = "yes"; then
31511 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31512 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31513 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31517 if test "$TOOLKIT" != "MSW"; then
31518 if test "$wxUSE_JOYSTICK" = "yes"; then
31520 for ac_header
in linux
/joystick.h
31522 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31524 echo "$as_me:$LINENO: checking for $ac_header" >&5
31525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31527 echo $ECHO_N "(cached) $ECHO_C" >&6
31529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31532 # Is the header compilable?
31533 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31534 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31535 cat >conftest.
$ac_ext <<_ACEOF
31536 #line $LINENO "configure"
31539 cat confdefs.h
>>conftest.
$ac_ext
31540 cat >>conftest.
$ac_ext <<_ACEOF
31541 /* end confdefs.h. */
31542 $ac_includes_default
31543 #include <$ac_header>
31545 rm -f conftest.
$ac_objext
31546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31547 (eval $ac_compile) 2>&5
31549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31550 (exit $ac_status); } &&
31551 { ac_try
='test -s conftest.$ac_objext'
31552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31553 (eval $ac_try) 2>&5
31555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31556 (exit $ac_status); }; }; then
31557 ac_header_compiler
=yes
31559 echo "$as_me: failed program was:" >&5
31560 sed 's/^/| /' conftest.
$ac_ext >&5
31562 ac_header_compiler
=no
31564 rm -f conftest.
$ac_objext conftest.
$ac_ext
31565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31566 echo "${ECHO_T}$ac_header_compiler" >&6
31568 # Is the header present?
31569 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31570 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31571 cat >conftest.
$ac_ext <<_ACEOF
31572 #line $LINENO "configure"
31575 cat confdefs.h
>>conftest.
$ac_ext
31576 cat >>conftest.
$ac_ext <<_ACEOF
31577 /* end confdefs.h. */
31578 #include <$ac_header>
31580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31581 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31583 grep -v '^ *+' conftest.er1
>conftest.err
31585 cat conftest.err
>&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); } >/dev
/null
; then
31588 if test -s conftest.err
; then
31589 ac_cpp_err
=$ac_c_preproc_warn_flag
31596 if test -z "$ac_cpp_err"; then
31597 ac_header_preproc
=yes
31599 echo "$as_me: failed program was:" >&5
31600 sed 's/^/| /' conftest.
$ac_ext >&5
31602 ac_header_preproc
=no
31604 rm -f conftest.err conftest.
$ac_ext
31605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31606 echo "${ECHO_T}$ac_header_preproc" >&6
31608 # So? What about this header?
31609 case $ac_header_compiler:$ac_header_preproc in
31611 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31612 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31614 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31617 ## ------------------------------------ ##
31618 ## Report this to bug-autoconf@gnu.org. ##
31619 ## ------------------------------------ ##
31622 sed "s/^/$as_me: WARNING: /" >&2
31625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31626 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31630 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31633 ## ------------------------------------ ##
31634 ## Report this to bug-autoconf@gnu.org. ##
31635 ## ------------------------------------ ##
31638 sed "s/^/$as_me: WARNING: /" >&2
31641 echo "$as_me:$LINENO: checking for $ac_header" >&5
31642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31644 echo $ECHO_N "(cached) $ECHO_C" >&6
31646 eval "$as_ac_Header=$ac_header_preproc"
31648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31653 cat >>confdefs.h
<<_ACEOF
31654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31661 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31663 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31664 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31669 if test "$wxUSE_JOYSTICK" = "yes"; then
31670 cat >>confdefs.h
<<\_ACEOF
31671 #define wxUSE_JOYSTICK 1
31674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
31679 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31683 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31684 if test "$USE_DARWIN" = 1; then
31688 for ac_func
in dlopen
31690 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31691 echo "$as_me:$LINENO: checking for $ac_func" >&5
31692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31693 if eval "test \"\${$as_ac_var+set}\" = set"; then
31694 echo $ECHO_N "(cached) $ECHO_C" >&6
31696 cat >conftest.
$ac_ext <<_ACEOF
31697 #line $LINENO "configure"
31700 cat confdefs.h
>>conftest.
$ac_ext
31701 cat >>conftest.
$ac_ext <<_ACEOF
31702 /* end confdefs.h. */
31703 /* System header to define __stub macros and hopefully few prototypes,
31704 which can conflict with char $ac_func (); below.
31705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31706 <limits.h> exists even on freestanding compilers. */
31708 # include <limits.h>
31710 # include <assert.h>
31712 /* Override any gcc2 internal prototype to avoid an error. */
31717 /* We use char because int might match the return type of a gcc2
31718 builtin and then its argument prototype would still apply. */
31720 /* The GNU C library defines this for functions which it implements
31721 to always fail with ENOSYS. Some functions are actually named
31722 something starting with __ and the normal name is an alias. */
31723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31726 char (*f) () = $ac_func;
31735 return f != $ac_func;
31740 rm -f conftest.
$ac_objext conftest
$ac_exeext
31741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31742 (eval $ac_link) 2>&5
31744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745 (exit $ac_status); } &&
31746 { ac_try
='test -s conftest$ac_exeext'
31747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31748 (eval $ac_try) 2>&5
31750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31751 (exit $ac_status); }; }; then
31752 eval "$as_ac_var=yes"
31754 echo "$as_me: failed program was:" >&5
31755 sed 's/^/| /' conftest.
$ac_ext >&5
31757 eval "$as_ac_var=no"
31759 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31763 if test `eval echo '${'$as_ac_var'}'` = yes; then
31764 cat >>confdefs.h
<<_ACEOF
31765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31768 cat >>confdefs.h
<<\_ACEOF
31769 #define HAVE_DLOPEN 1
31776 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31777 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31778 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31779 echo $ECHO_N "(cached) $ECHO_C" >&6
31781 ac_check_lib_save_LIBS
=$LIBS
31783 cat >conftest.
$ac_ext <<_ACEOF
31784 #line $LINENO "configure"
31787 cat confdefs.h
>>conftest.
$ac_ext
31788 cat >>conftest.
$ac_ext <<_ACEOF
31789 /* end confdefs.h. */
31791 /* Override any gcc2 internal prototype to avoid an error. */
31795 /* We use char because int might match the return type of a gcc2
31796 builtin and then its argument prototype would still apply. */
31806 rm -f conftest.
$ac_objext conftest
$ac_exeext
31807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31808 (eval $ac_link) 2>&5
31810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31811 (exit $ac_status); } &&
31812 { ac_try
='test -s conftest$ac_exeext'
31813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31814 (eval $ac_try) 2>&5
31816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31817 (exit $ac_status); }; }; then
31818 ac_cv_lib_dl_dlopen
=yes
31820 echo "$as_me: failed program was:" >&5
31821 sed 's/^/| /' conftest.
$ac_ext >&5
31823 ac_cv_lib_dl_dlopen
=no
31825 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31826 LIBS
=$ac_check_lib_save_LIBS
31828 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31829 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31830 if test $ac_cv_lib_dl_dlopen = yes; then
31832 cat >>confdefs.h
<<\_ACEOF
31833 #define HAVE_DLOPEN 1
31837 DL_LINK
=" -ldl$DL_LINK"
31842 for ac_func
in shl_load
31844 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31845 echo "$as_me:$LINENO: checking for $ac_func" >&5
31846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31847 if eval "test \"\${$as_ac_var+set}\" = set"; then
31848 echo $ECHO_N "(cached) $ECHO_C" >&6
31850 cat >conftest.
$ac_ext <<_ACEOF
31851 #line $LINENO "configure"
31854 cat confdefs.h
>>conftest.
$ac_ext
31855 cat >>conftest.
$ac_ext <<_ACEOF
31856 /* end confdefs.h. */
31857 /* System header to define __stub macros and hopefully few prototypes,
31858 which can conflict with char $ac_func (); below.
31859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31860 <limits.h> exists even on freestanding compilers. */
31862 # include <limits.h>
31864 # include <assert.h>
31866 /* Override any gcc2 internal prototype to avoid an error. */
31871 /* We use char because int might match the return type of a gcc2
31872 builtin and then its argument prototype would still apply. */
31874 /* The GNU C library defines this for functions which it implements
31875 to always fail with ENOSYS. Some functions are actually named
31876 something starting with __ and the normal name is an alias. */
31877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31880 char (*f) () = $ac_func;
31889 return f != $ac_func;
31894 rm -f conftest.
$ac_objext conftest
$ac_exeext
31895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31896 (eval $ac_link) 2>&5
31898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899 (exit $ac_status); } &&
31900 { ac_try
='test -s conftest$ac_exeext'
31901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31902 (eval $ac_try) 2>&5
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); }; }; then
31906 eval "$as_ac_var=yes"
31908 echo "$as_me: failed program was:" >&5
31909 sed 's/^/| /' conftest.
$ac_ext >&5
31911 eval "$as_ac_var=no"
31913 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31917 if test `eval echo '${'$as_ac_var'}'` = yes; then
31918 cat >>confdefs.h
<<_ACEOF
31919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31922 cat >>confdefs.h
<<\_ACEOF
31923 #define HAVE_SHL_LOAD 1
31930 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31931 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31932 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31933 echo $ECHO_N "(cached) $ECHO_C" >&6
31935 ac_check_lib_save_LIBS
=$LIBS
31936 LIBS
="-lshl_load $LIBS"
31937 cat >conftest.
$ac_ext <<_ACEOF
31938 #line $LINENO "configure"
31941 cat confdefs.h
>>conftest.
$ac_ext
31942 cat >>conftest.
$ac_ext <<_ACEOF
31943 /* end confdefs.h. */
31945 /* Override any gcc2 internal prototype to avoid an error. */
31949 /* We use char because int might match the return type of a gcc2
31950 builtin and then its argument prototype would still apply. */
31960 rm -f conftest.
$ac_objext conftest
$ac_exeext
31961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31962 (eval $ac_link) 2>&5
31964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 (exit $ac_status); } &&
31966 { ac_try
='test -s conftest$ac_exeext'
31967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31968 (eval $ac_try) 2>&5
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); }; }; then
31972 ac_cv_lib_shl_load_dld
=yes
31974 echo "$as_me: failed program was:" >&5
31975 sed 's/^/| /' conftest.
$ac_ext >&5
31977 ac_cv_lib_shl_load_dld
=no
31979 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31980 LIBS
=$ac_check_lib_save_LIBS
31982 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31983 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31984 if test $ac_cv_lib_shl_load_dld = yes; then
31987 DL_LINK
=" -ldld$DL_LINK"
32003 if test "$HAVE_DL_FUNCS" = 1; then
32005 for ac_func
in dlerror
32007 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32008 echo "$as_me:$LINENO: checking for $ac_func" >&5
32009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32010 if eval "test \"\${$as_ac_var+set}\" = set"; then
32011 echo $ECHO_N "(cached) $ECHO_C" >&6
32013 cat >conftest.
$ac_ext <<_ACEOF
32014 #line $LINENO "configure"
32017 cat confdefs.h
>>conftest.
$ac_ext
32018 cat >>conftest.
$ac_ext <<_ACEOF
32019 /* end confdefs.h. */
32020 /* System header to define __stub macros and hopefully few prototypes,
32021 which can conflict with char $ac_func (); below.
32022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32023 <limits.h> exists even on freestanding compilers. */
32025 # include <limits.h>
32027 # include <assert.h>
32029 /* Override any gcc2 internal prototype to avoid an error. */
32034 /* We use char because int might match the return type of a gcc2
32035 builtin and then its argument prototype would still apply. */
32037 /* The GNU C library defines this for functions which it implements
32038 to always fail with ENOSYS. Some functions are actually named
32039 something starting with __ and the normal name is an alias. */
32040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32043 char (*f) () = $ac_func;
32052 return f != $ac_func;
32057 rm -f conftest.
$ac_objext conftest
$ac_exeext
32058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32059 (eval $ac_link) 2>&5
32061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32062 (exit $ac_status); } &&
32063 { ac_try
='test -s conftest$ac_exeext'
32064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32065 (eval $ac_try) 2>&5
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); }; }; then
32069 eval "$as_ac_var=yes"
32071 echo "$as_me: failed program was:" >&5
32072 sed 's/^/| /' conftest.
$ac_ext >&5
32074 eval "$as_ac_var=no"
32076 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32080 if test `eval echo '${'$as_ac_var'}'` = yes; then
32081 cat >>confdefs.h
<<_ACEOF
32082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32084 cat >>confdefs.h
<<\_ACEOF
32085 #define HAVE_DLERROR 1
32090 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32091 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32092 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32093 echo $ECHO_N "(cached) $ECHO_C" >&6
32095 ac_check_lib_save_LIBS
=$LIBS
32097 cat >conftest.
$ac_ext <<_ACEOF
32098 #line $LINENO "configure"
32101 cat confdefs.h
>>conftest.
$ac_ext
32102 cat >>conftest.
$ac_ext <<_ACEOF
32103 /* end confdefs.h. */
32105 /* Override any gcc2 internal prototype to avoid an error. */
32109 /* We use char because int might match the return type of a gcc2
32110 builtin and then its argument prototype would still apply. */
32120 rm -f conftest.
$ac_objext conftest
$ac_exeext
32121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32122 (eval $ac_link) 2>&5
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 (exit $ac_status); } &&
32126 { ac_try
='test -s conftest$ac_exeext'
32127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32128 (eval $ac_try) 2>&5
32130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131 (exit $ac_status); }; }; then
32132 ac_cv_lib_dl_dlerror
=yes
32134 echo "$as_me: failed program was:" >&5
32135 sed 's/^/| /' conftest.
$ac_ext >&5
32137 ac_cv_lib_dl_dlerror
=no
32139 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32140 LIBS
=$ac_check_lib_save_LIBS
32142 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32143 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32144 if test $ac_cv_lib_dl_dlerror = yes; then
32145 cat >>confdefs.h
<<\_ACEOF
32146 #define HAVE_DLERROR 1
32159 if test "$HAVE_DL_FUNCS" = 0; then
32160 if test "$HAVE_SHL_FUNCS" = 0; then
32161 if test "$USE_UNIX" = 1; then
32162 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32163 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32164 wxUSE_DYNAMIC_LOADER
=no
32165 wxUSE_DYNLIB_CLASS
=no
32167 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32168 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32175 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32176 cat >>confdefs.h
<<\_ACEOF
32177 #define wxUSE_DYNAMIC_LOADER 1
32181 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32182 cat >>confdefs.h
<<\_ACEOF
32183 #define wxUSE_DYNLIB_CLASS 1
32189 if test "$wxUSE_FONTMAP" = "yes" ; then
32190 cat >>confdefs.h
<<\_ACEOF
32191 #define wxUSE_FONTMAP 1
32196 if test "$wxUSE_UNICODE" = "yes" ; then
32197 cat >>confdefs.h
<<\_ACEOF
32198 #define wxUSE_UNICODE 1
32202 if test "$USE_WIN32" != 1; then
32203 wxUSE_UNICODE_MSLU
=no
32206 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32207 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32208 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32209 if test "${ac_cv_lib_unicows_main+set}" = set; then
32210 echo $ECHO_N "(cached) $ECHO_C" >&6
32212 ac_check_lib_save_LIBS
=$LIBS
32213 LIBS
="-lunicows $LIBS"
32214 cat >conftest.
$ac_ext <<_ACEOF
32215 #line $LINENO "configure"
32218 cat confdefs.h
>>conftest.
$ac_ext
32219 cat >>conftest.
$ac_ext <<_ACEOF
32220 /* end confdefs.h. */
32231 rm -f conftest.
$ac_objext conftest
$ac_exeext
32232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32233 (eval $ac_link) 2>&5
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); } &&
32237 { ac_try
='test -s conftest$ac_exeext'
32238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32239 (eval $ac_try) 2>&5
32241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32242 (exit $ac_status); }; }; then
32243 ac_cv_lib_unicows_main
=yes
32245 echo "$as_me: failed program was:" >&5
32246 sed 's/^/| /' conftest.
$ac_ext >&5
32248 ac_cv_lib_unicows_main
=no
32250 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32251 LIBS
=$ac_check_lib_save_LIBS
32253 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32254 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32255 if test $ac_cv_lib_unicows_main = yes; then
32257 cat >>confdefs.h
<<\_ACEOF
32258 #define wxUSE_UNICODE_MSLU 1
32264 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32265 Applications will only run on Windows NT/2000/XP!" >&5
32266 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32267 Applications will only run on Windows NT/2000/XP!" >&2;}
32268 wxUSE_UNICODE_MSLU
=no
32275 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32276 cat >>confdefs.h
<<\_ACEOF
32277 #define wxUSE_EXPERIMENTAL_PRINTF 1
32283 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32284 cat >>confdefs.h
<<\_ACEOF
32285 #define wxUSE_POSTSCRIPT 1
32290 cat >>confdefs.h
<<\_ACEOF
32291 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32295 cat >>confdefs.h
<<\_ACEOF
32296 #define wxUSE_NORMALIZED_PS_FONTS 1
32301 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32302 cat >>confdefs.h
<<\_ACEOF
32303 #define wxUSE_CONSTRAINTS 1
32306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
32309 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32310 cat >>confdefs.h
<<\_ACEOF
32311 #define wxUSE_MDI_ARCHITECTURE 1
32314 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
32317 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32318 cat >>confdefs.h
<<\_ACEOF
32319 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32322 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
32323 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
32328 if test "$wxUSE_HELP" = "yes"; then
32329 cat >>confdefs.h
<<\_ACEOF
32330 #define wxUSE_HELP 1
32333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
32335 if test "$wxUSE_MSW" = 1; then
32336 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32337 cat >>confdefs.h
<<\_ACEOF
32338 #define wxUSE_MS_HTML_HELP 1
32344 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32345 if test "$wxUSE_HTML" = "yes"; then
32346 cat >>confdefs.h
<<\_ACEOF
32347 #define wxUSE_WXHTML_HELP 1
32351 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32352 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32353 wxUSE_WXHTML_HELP
=no
32358 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32359 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32360 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32361 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32363 cat >>confdefs.h
<<\_ACEOF
32364 #define wxUSE_PRINTING_ARCHITECTURE 1
32368 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
32371 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32372 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32373 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32374 { (exit 1); exit 1; }; }
32378 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
32379 -o "$wxUSE_CLIPBOARD" = "yes" \
32380 -o "$wxUSE_OLE" = "yes" \
32381 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
32383 for ac_header
in ole2.h
32385 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32387 echo "$as_me:$LINENO: checking for $ac_header" >&5
32388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32390 echo $ECHO_N "(cached) $ECHO_C" >&6
32392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32395 # Is the header compilable?
32396 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32398 cat >conftest.
$ac_ext <<_ACEOF
32399 #line $LINENO "configure"
32402 cat confdefs.h
>>conftest.
$ac_ext
32403 cat >>conftest.
$ac_ext <<_ACEOF
32404 /* end confdefs.h. */
32405 $ac_includes_default
32406 #include <$ac_header>
32408 rm -f conftest.
$ac_objext
32409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32410 (eval $ac_compile) 2>&5
32412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32413 (exit $ac_status); } &&
32414 { ac_try
='test -s conftest.$ac_objext'
32415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32416 (eval $ac_try) 2>&5
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); }; }; then
32420 ac_header_compiler
=yes
32422 echo "$as_me: failed program was:" >&5
32423 sed 's/^/| /' conftest.
$ac_ext >&5
32425 ac_header_compiler
=no
32427 rm -f conftest.
$ac_objext conftest.
$ac_ext
32428 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32429 echo "${ECHO_T}$ac_header_compiler" >&6
32431 # Is the header present?
32432 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32433 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32434 cat >conftest.
$ac_ext <<_ACEOF
32435 #line $LINENO "configure"
32438 cat confdefs.h
>>conftest.
$ac_ext
32439 cat >>conftest.
$ac_ext <<_ACEOF
32440 /* end confdefs.h. */
32441 #include <$ac_header>
32443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32444 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32446 grep -v '^ *+' conftest.er1
>conftest.err
32448 cat conftest.err
>&5
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); } >/dev
/null
; then
32451 if test -s conftest.err
; then
32452 ac_cpp_err
=$ac_c_preproc_warn_flag
32459 if test -z "$ac_cpp_err"; then
32460 ac_header_preproc
=yes
32462 echo "$as_me: failed program was:" >&5
32463 sed 's/^/| /' conftest.
$ac_ext >&5
32465 ac_header_preproc
=no
32467 rm -f conftest.err conftest.
$ac_ext
32468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32469 echo "${ECHO_T}$ac_header_preproc" >&6
32471 # So? What about this header?
32472 case $ac_header_compiler:$ac_header_preproc in
32474 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32475 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32480 ## ------------------------------------ ##
32481 ## Report this to bug-autoconf@gnu.org. ##
32482 ## ------------------------------------ ##
32485 sed "s/^/$as_me: WARNING: /" >&2
32488 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32489 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32490 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32491 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32496 ## ------------------------------------ ##
32497 ## Report this to bug-autoconf@gnu.org. ##
32498 ## ------------------------------------ ##
32501 sed "s/^/$as_me: WARNING: /" >&2
32504 echo "$as_me:$LINENO: checking for $ac_header" >&5
32505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32507 echo $ECHO_N "(cached) $ECHO_C" >&6
32509 eval "$as_ac_Header=$ac_header_preproc"
32511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32516 cat >>confdefs.h
<<_ACEOF
32517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32525 if test "$ac_cv_header_ole2_h" = "yes" ; then
32526 if test "$GCC" = yes ; then
32530 ac_cpp
='$CXXCPP $CPPFLAGS'
32531 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32532 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32533 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32536 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32537 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32538 cat >conftest.
$ac_ext <<_ACEOF
32539 #line $LINENO "configure"
32542 cat confdefs.h
>>conftest.
$ac_ext
32543 cat >>conftest.
$ac_ext <<_ACEOF
32544 /* end confdefs.h. */
32545 #include <windows.h>
32555 rm -f conftest.
$ac_objext
32556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32557 (eval $ac_compile) 2>&5
32559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32560 (exit $ac_status); } &&
32561 { ac_try
='test -s conftest.$ac_objext'
32562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32563 (eval $ac_try) 2>&5
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); }; }; then
32567 echo "$as_me:$LINENO: result: no" >&5
32568 echo "${ECHO_T}no" >&6
32570 echo "$as_me: failed program was:" >&5
32571 sed 's/^/| /' conftest.
$ac_ext >&5
32573 echo "$as_me:$LINENO: result: yes" >&5
32574 echo "${ECHO_T}yes" >&6
32575 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32577 rm -f conftest.
$ac_objext conftest.
$ac_ext
32579 ac_cpp
='$CPP $CPPFLAGS'
32580 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32581 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32582 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32584 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
32585 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32586 cat >>confdefs.h
<<\_ACEOF
32587 #define wxUSE_OLE 1
32593 cat >>confdefs.h
<<\_ACEOF
32594 #define wxUSE_DATAOBJ 1
32598 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32599 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32602 wxUSE_DRAG_AND_DROP
=no
32607 if test "$wxUSE_METAFILE" = "yes"; then
32608 cat >>confdefs.h
<<\_ACEOF
32609 #define wxUSE_METAFILE 1
32613 cat >>confdefs.h
<<\_ACEOF
32614 #define wxUSE_ENH_METAFILE 1
32620 if test "$wxUSE_IPC" = "yes"; then
32621 if test "$wxUSE_SOCKETS" != "yes"; then
32622 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32623 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32626 cat >>confdefs.h
<<\_ACEOF
32627 #define wxUSE_IPC 1
32632 if test "$wxUSE_CLIPBOARD" = "yes"; then
32633 if test "$wxUSE_MGL" = 1; then
32634 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32635 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32639 if test "$wxUSE_CLIPBOARD" = "yes"; then
32640 cat >>confdefs.h
<<\_ACEOF
32641 #define wxUSE_CLIPBOARD 1
32645 cat >>confdefs.h
<<\_ACEOF
32646 #define wxUSE_DATAOBJ 1
32652 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32653 if test "$wxUSE_GTK" = 1; then
32654 if test "$WXGTK12" != 1; then
32655 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32656 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32657 wxUSE_DRAG_AND_DROP
=no
32661 if test "$wxUSE_MOTIF" = 1; then
32662 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32663 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32664 wxUSE_DRAG_AND_DROP
=no
32667 if test "$wxUSE_X11" = 1; then
32668 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32669 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32670 wxUSE_DRAG_AND_DROP
=no
32673 if test "$wxUSE_MGL" = 1; then
32674 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32675 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32676 wxUSE_DRAG_AND_DROP
=no
32679 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32680 cat >>confdefs.h
<<\_ACEOF
32681 #define wxUSE_DRAG_AND_DROP 1
32684 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
32689 if test "$wxUSE_SPLINES" = "yes" ; then
32690 cat >>confdefs.h
<<\_ACEOF
32691 #define wxUSE_SPLINES 1
32698 if test "$wxUSE_CONTROLS" = "yes"; then
32702 if test "$wxUSE_ACCEL" = "yes"; then
32703 cat >>confdefs.h
<<\_ACEOF
32704 #define wxUSE_ACCEL 1
32710 if test "$wxUSE_BUTTON" = "yes"; then
32711 cat >>confdefs.h
<<\_ACEOF
32712 #define wxUSE_BUTTON 1
32718 if test "$wxUSE_BMPBUTTON" = "yes"; then
32719 cat >>confdefs.h
<<\_ACEOF
32720 #define wxUSE_BMPBUTTON 1
32726 if test "$wxUSE_CALCTRL" = "yes"; then
32727 cat >>confdefs.h
<<\_ACEOF
32728 #define wxUSE_CALENDARCTRL 1
32732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
32735 if test "$wxUSE_CARET" = "yes"; then
32736 cat >>confdefs.h
<<\_ACEOF
32737 #define wxUSE_CARET 1
32741 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
32744 if test "$wxUSE_COMBOBOX" = "yes"; then
32745 cat >>confdefs.h
<<\_ACEOF
32746 #define wxUSE_COMBOBOX 1
32752 if test "$wxUSE_CHOICE" = "yes"; then
32753 cat >>confdefs.h
<<\_ACEOF
32754 #define wxUSE_CHOICE 1
32760 if test "$wxUSE_CHECKBOX" = "yes"; then
32761 cat >>confdefs.h
<<\_ACEOF
32762 #define wxUSE_CHECKBOX 1
32768 if test "$wxUSE_CHECKLST" = "yes"; then
32769 cat >>confdefs.h
<<\_ACEOF
32770 #define wxUSE_CHECKLISTBOX 1
32774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
32777 if test "$wxUSE_DISPLAY" = "yes"; then
32778 cat >>confdefs.h
<<\_ACEOF
32779 #define wxUSE_DISPLAY 1
32782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
32785 if test "$wxUSE_GAUGE" = "yes"; then
32786 cat >>confdefs.h
<<\_ACEOF
32787 #define wxUSE_GAUGE 1
32793 if test "$wxUSE_GRID" = "yes"; then
32794 cat >>confdefs.h
<<\_ACEOF
32795 #define wxUSE_GRID 1
32799 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
32802 if test "$wxUSE_IMAGLIST" = "yes"; then
32803 cat >>confdefs.h
<<\_ACEOF
32804 #define wxUSE_IMAGLIST 1
32809 if test "$wxUSE_LISTBOOK" = "yes"; then
32810 cat >>confdefs.h
<<\_ACEOF
32811 #define wxUSE_LISTBOOK 1
32817 if test "$wxUSE_LISTBOX" = "yes"; then
32818 cat >>confdefs.h
<<\_ACEOF
32819 #define wxUSE_LISTBOX 1
32825 if test "$wxUSE_LISTCTRL" = "yes"; then
32826 if test "$wxUSE_IMAGLIST" = "yes"; then
32827 cat >>confdefs.h
<<\_ACEOF
32828 #define wxUSE_LISTCTRL 1
32832 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
32834 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32835 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32839 if test "$wxUSE_NOTEBOOK" = "yes"; then
32840 cat >>confdefs.h
<<\_ACEOF
32841 #define wxUSE_NOTEBOOK 1
32845 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
32849 if test "$wxUSE_RADIOBOX" = "yes"; then
32850 cat >>confdefs.h
<<\_ACEOF
32851 #define wxUSE_RADIOBOX 1
32857 if test "$wxUSE_RADIOBTN" = "yes"; then
32858 cat >>confdefs.h
<<\_ACEOF
32859 #define wxUSE_RADIOBTN 1
32865 if test "$wxUSE_SASH" = "yes"; then
32866 cat >>confdefs.h
<<\_ACEOF
32867 #define wxUSE_SASH 1
32870 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
32873 if test "$wxUSE_SCROLLBAR" = "yes"; then
32874 cat >>confdefs.h
<<\_ACEOF
32875 #define wxUSE_SCROLLBAR 1
32879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
32882 if test "$wxUSE_SLIDER" = "yes"; then
32883 cat >>confdefs.h
<<\_ACEOF
32884 #define wxUSE_SLIDER 1
32890 if test "$wxUSE_SPINBTN" = "yes"; then
32891 cat >>confdefs.h
<<\_ACEOF
32892 #define wxUSE_SPINBTN 1
32898 if test "$wxUSE_SPINCTRL" = "yes"; then
32899 cat >>confdefs.h
<<\_ACEOF
32900 #define wxUSE_SPINCTRL 1
32906 if test "$wxUSE_SPLITTER" = "yes"; then
32907 cat >>confdefs.h
<<\_ACEOF
32908 #define wxUSE_SPLITTER 1
32911 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
32914 if test "$wxUSE_STATBMP" = "yes"; then
32915 cat >>confdefs.h
<<\_ACEOF
32916 #define wxUSE_STATBMP 1
32922 if test "$wxUSE_STATBOX" = "yes"; then
32923 cat >>confdefs.h
<<\_ACEOF
32924 #define wxUSE_STATBOX 1
32930 if test "$wxUSE_STATTEXT" = "yes"; then
32931 cat >>confdefs.h
<<\_ACEOF
32932 #define wxUSE_STATTEXT 1
32938 if test "$wxUSE_STATLINE" = "yes"; then
32939 cat >>confdefs.h
<<\_ACEOF
32940 #define wxUSE_STATLINE 1
32946 if test "$wxUSE_STATUSBAR" = "yes"; then
32947 cat >>confdefs.h
<<\_ACEOF
32948 #define wxUSE_STATUSBAR 1
32953 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
32956 if test "$wxUSE_TABDIALOG" = "yes"; then
32957 cat >>confdefs.h
<<\_ACEOF
32958 #define wxUSE_TAB_DIALOG 1
32961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
32964 if test "$wxUSE_TEXTCTRL" = "yes"; then
32965 cat >>confdefs.h
<<\_ACEOF
32966 #define wxUSE_TEXTCTRL 1
32970 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
32973 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32974 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32975 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32976 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32979 if test "$wxUSE_UNIVERSAL" = "yes"; then
32980 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32981 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32985 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32986 cat >>confdefs.h
<<\_ACEOF
32987 #define wxUSE_TOGGLEBTN 1
32994 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32995 cat >>confdefs.h
<<\_ACEOF
32996 #define wxUSE_TOOLBAR_SIMPLE 1
32999 wxUSE_TOOLBAR
="yes"
33003 if test "$wxUSE_TOOLBAR" = "yes"; then
33004 cat >>confdefs.h
<<\_ACEOF
33005 #define wxUSE_TOOLBAR 1
33010 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33011 wxUSE_TOOLBAR_NATIVE
="yes"
33014 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33015 cat >>confdefs.h
<<\_ACEOF
33016 #define wxUSE_TOOLBAR_NATIVE 1
33022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
33025 if test "$wxUSE_TOOLTIPS" = "yes"; then
33026 if test "$wxUSE_MOTIF" = 1; then
33027 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33028 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33030 if test "$wxUSE_UNIVERSAL" = "yes"; then
33031 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33032 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33034 cat >>confdefs.h
<<\_ACEOF
33035 #define wxUSE_TOOLTIPS 1
33042 if test "$wxUSE_TREECTRL" = "yes"; then
33043 if test "$wxUSE_IMAGLIST" = "yes"; then
33044 cat >>confdefs.h
<<\_ACEOF
33045 #define wxUSE_TREECTRL 1
33049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
33051 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33052 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33056 if test "$wxUSE_POPUPWIN" = "yes"; then
33057 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33058 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33059 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33061 if test "$wxUSE_MOTIF" = 1; then
33062 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
33063 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
33065 if test "$wxUSE_PM" = 1; then
33066 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33067 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33069 cat >>confdefs.h
<<\_ACEOF
33070 #define wxUSE_POPUPWIN 1
33080 if test "$wxUSE_TIPWINDOW" = "yes"; then
33081 if test "$wxUSE_PM" = 1; then
33082 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33083 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33085 cat >>confdefs.h
<<\_ACEOF
33086 #define wxUSE_TIPWINDOW 1
33092 if test "$USES_CONTROLS" = 1; then
33093 cat >>confdefs.h
<<\_ACEOF
33094 #define wxUSE_CONTROLS 1
33100 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33101 cat >>confdefs.h
<<\_ACEOF
33102 #define wxUSE_ACCESSIBILITY 1
33105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
33108 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33109 cat >>confdefs.h
<<\_ACEOF
33110 #define wxUSE_DRAGIMAGE 1
33113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
33116 if test "$wxUSE_EXCEPTIONS" = "yes"; then
33117 cat >>confdefs.h
<<\_ACEOF
33118 #define wxUSE_EXCEPTIONS 1
33124 if test "$wxUSE_HTML" = "yes"; then
33125 cat >>confdefs.h
<<\_ACEOF
33126 #define wxUSE_HTML 1
33130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33133 if test "$wxUSE_MENUS" = "yes"; then
33134 cat >>confdefs.h
<<\_ACEOF
33135 #define wxUSE_MENUS 1
33138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
33141 if test "$wxUSE_METAFILE" = "yes"; then
33142 cat >>confdefs.h
<<\_ACEOF
33143 #define wxUSE_METAFILE 1
33148 if test "$wxUSE_MIMETYPE" = "yes"; then
33149 cat >>confdefs.h
<<\_ACEOF
33150 #define wxUSE_MIMETYPE 1
33155 if test "$wxUSE_MINIFRAME" = "yes"; then
33156 cat >>confdefs.h
<<\_ACEOF
33157 #define wxUSE_MINIFRAME 1
33160 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
33163 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33164 cat >>confdefs.h
<<\_ACEOF
33165 #define wxUSE_SYSTEM_OPTIONS 1
33168 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33169 "$TOOLKIT" = "MOTIF"; then
33170 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
33175 if test "$wxUSE_VALIDATORS" = "yes"; then
33176 cat >>confdefs.h
<<\_ACEOF
33177 #define wxUSE_VALIDATORS 1
33180 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
33183 if test "$wxUSE_PALETTE" = "yes" ; then
33184 cat >>confdefs.h
<<\_ACEOF
33185 #define wxUSE_PALETTE 1
33190 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33191 LIBS
=" -lunicows $LIBS"
33195 if test "$wxUSE_IMAGE" = "yes" ; then
33196 cat >>confdefs.h
<<\_ACEOF
33197 #define wxUSE_IMAGE 1
33201 if test "$wxUSE_GIF" = "yes" ; then
33202 cat >>confdefs.h
<<\_ACEOF
33203 #define wxUSE_GIF 1
33208 if test "$wxUSE_PCX" = "yes" ; then
33209 cat >>confdefs.h
<<\_ACEOF
33210 #define wxUSE_PCX 1
33215 if test "$wxUSE_IFF" = "yes" ; then
33216 cat >>confdefs.h
<<\_ACEOF
33217 #define wxUSE_IFF 1
33222 if test "$wxUSE_PNM" = "yes" ; then
33223 cat >>confdefs.h
<<\_ACEOF
33224 #define wxUSE_PNM 1
33229 if test "$wxUSE_XPM" = "yes" ; then
33230 cat >>confdefs.h
<<\_ACEOF
33231 #define wxUSE_XPM 1
33236 if test "$wxUSE_ICO_CUR" = "yes" ; then
33237 cat >>confdefs.h
<<\_ACEOF
33238 #define wxUSE_ICO_CUR 1
33245 if test "$wxUSE_CHOICEDLG" = "yes"; then
33246 cat >>confdefs.h
<<\_ACEOF
33247 #define wxUSE_CHOICEDLG 1
33252 if test "$wxUSE_COLOURDLG" = "yes"; then
33253 cat >>confdefs.h
<<\_ACEOF
33254 #define wxUSE_COLOURDLG 1
33259 if test "$wxUSE_FILEDLG" = "yes"; then
33260 cat >>confdefs.h
<<\_ACEOF
33261 #define wxUSE_FILEDLG 1
33266 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33267 cat >>confdefs.h
<<\_ACEOF
33268 #define wxUSE_FINDREPLDLG 1
33273 if test "$wxUSE_FONTDLG" = "yes"; then
33274 cat >>confdefs.h
<<\_ACEOF
33275 #define wxUSE_FONTDLG 1
33280 if test "$wxUSE_DIRDLG" = "yes"; then
33281 if test "$wxUSE_TREECTRL" != "yes"; then
33282 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33283 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33285 cat >>confdefs.h
<<\_ACEOF
33286 #define wxUSE_DIRDLG 1
33292 if test "$wxUSE_MSGDLG" = "yes"; then
33293 cat >>confdefs.h
<<\_ACEOF
33294 #define wxUSE_MSGDLG 1
33299 if test "$wxUSE_NUMBERDLG" = "yes"; then
33300 cat >>confdefs.h
<<\_ACEOF
33301 #define wxUSE_NUMBERDLG 1
33306 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33307 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33308 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33309 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33311 cat >>confdefs.h
<<\_ACEOF
33312 #define wxUSE_PROGRESSDLG 1
33318 if test "$wxUSE_SPLASH" = "yes"; then
33319 cat >>confdefs.h
<<\_ACEOF
33320 #define wxUSE_SPLASH 1
33325 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33326 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33327 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33328 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33330 cat >>confdefs.h
<<\_ACEOF
33331 #define wxUSE_STARTUP_TIPS 1
33337 if test "$wxUSE_TEXTDLG" = "yes"; then
33338 cat >>confdefs.h
<<\_ACEOF
33339 #define wxUSE_TEXTDLG 1
33344 if test "$wxUSE_WIZARDDLG" = "yes"; then
33345 cat >>confdefs.h
<<\_ACEOF
33346 #define wxUSE_WIZARDDLG 1
33349 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
33353 if test "$cross_compiling" = "yes"; then
33356 OSINFO
=`uname -s -r -m`
33357 OSINFO
="\"$OSINFO\""
33360 cat >>confdefs.h
<<_ACEOF
33361 #define WXWIN_OS_DESCRIPTION $OSINFO
33366 if test "x$prefix" != "xNONE"; then
33369 wxPREFIX
=$ac_default_prefix
33372 cat >>confdefs.h
<<_ACEOF
33373 #define wxINSTALL_PREFIX "$wxPREFIX"
33377 top_builddir_wxconfig
=`pwd`
33381 CORE_BASE_LIBS
="net base"
33382 CORE_GUI_LIBS
="adv core"
33384 if test "$wxUSE_XML" = "yes" ; then
33385 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
33387 if test "$wxUSE_ODBC" != "no" ; then
33388 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
33389 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
33391 if test "$wxUSE_HTML" = "yes" ; then
33392 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
33402 if test "$wxUSE_MAC" = 1 ; then
33403 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
33405 if test "$wxUSE_COCOA" = 1 ; then
33406 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
33410 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33417 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33418 echo "$as_me:$LINENO: checking for $ac_func" >&5
33419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33420 if eval "test \"\${$as_ac_var+set}\" = set"; then
33421 echo $ECHO_N "(cached) $ECHO_C" >&6
33423 cat >conftest.
$ac_ext <<_ACEOF
33424 #line $LINENO "configure"
33427 cat confdefs.h
>>conftest.
$ac_ext
33428 cat >>conftest.
$ac_ext <<_ACEOF
33429 /* end confdefs.h. */
33430 /* System header to define __stub macros and hopefully few prototypes,
33431 which can conflict with char $ac_func (); below.
33432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33433 <limits.h> exists even on freestanding compilers. */
33435 # include <limits.h>
33437 # include <assert.h>
33439 /* Override any gcc2 internal prototype to avoid an error. */
33444 /* We use char because int might match the return type of a gcc2
33445 builtin and then its argument prototype would still apply. */
33447 /* The GNU C library defines this for functions which it implements
33448 to always fail with ENOSYS. Some functions are actually named
33449 something starting with __ and the normal name is an alias. */
33450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33453 char (*f) () = $ac_func;
33462 return f != $ac_func;
33467 rm -f conftest.
$ac_objext conftest
$ac_exeext
33468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33469 (eval $ac_link) 2>&5
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); } &&
33473 { ac_try
='test -s conftest$ac_exeext'
33474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33475 (eval $ac_try) 2>&5
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); }; }; then
33479 eval "$as_ac_var=yes"
33481 echo "$as_me: failed program was:" >&5
33482 sed 's/^/| /' conftest.
$ac_ext >&5
33484 eval "$as_ac_var=no"
33486 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33490 if test `eval echo '${'$as_ac_var'}'` = yes; then
33491 cat >>confdefs.h
<<_ACEOF
33492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33499 for ac_func
in floor
33501 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33502 echo "$as_me:$LINENO: checking for $ac_func" >&5
33503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33504 if eval "test \"\${$as_ac_var+set}\" = set"; then
33505 echo $ECHO_N "(cached) $ECHO_C" >&6
33507 cat >conftest.
$ac_ext <<_ACEOF
33508 #line $LINENO "configure"
33511 cat confdefs.h
>>conftest.
$ac_ext
33512 cat >>conftest.
$ac_ext <<_ACEOF
33513 /* end confdefs.h. */
33514 /* System header to define __stub macros and hopefully few prototypes,
33515 which can conflict with char $ac_func (); below.
33516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33517 <limits.h> exists even on freestanding compilers. */
33519 # include <limits.h>
33521 # include <assert.h>
33523 /* Override any gcc2 internal prototype to avoid an error. */
33528 /* We use char because int might match the return type of a gcc2
33529 builtin and then its argument prototype would still apply. */
33531 /* The GNU C library defines this for functions which it implements
33532 to always fail with ENOSYS. Some functions are actually named
33533 something starting with __ and the normal name is an alias. */
33534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33537 char (*f) () = $ac_func;
33546 return f != $ac_func;
33551 rm -f conftest.
$ac_objext conftest
$ac_exeext
33552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33553 (eval $ac_link) 2>&5
33555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33556 (exit $ac_status); } &&
33557 { ac_try
='test -s conftest$ac_exeext'
33558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33559 (eval $ac_try) 2>&5
33561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562 (exit $ac_status); }; }; then
33563 eval "$as_ac_var=yes"
33565 echo "$as_me: failed program was:" >&5
33566 sed 's/^/| /' conftest.
$ac_ext >&5
33568 eval "$as_ac_var=no"
33570 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33574 if test `eval echo '${'$as_ac_var'}'` = yes; then
33575 cat >>confdefs.h
<<_ACEOF
33576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33582 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33583 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33584 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33585 echo "$as_me:$LINENO: result: yes" >&5
33586 echo "${ECHO_T}yes" >&6
33588 echo "$as_me:$LINENO: result: no" >&5
33589 echo "${ECHO_T}no" >&6
33591 # use different functions to avoid configure caching
33597 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33598 echo "$as_me:$LINENO: checking for $ac_func" >&5
33599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33600 if eval "test \"\${$as_ac_var+set}\" = set"; then
33601 echo $ECHO_N "(cached) $ECHO_C" >&6
33603 cat >conftest.
$ac_ext <<_ACEOF
33604 #line $LINENO "configure"
33607 cat confdefs.h
>>conftest.
$ac_ext
33608 cat >>conftest.
$ac_ext <<_ACEOF
33609 /* end confdefs.h. */
33610 /* System header to define __stub macros and hopefully few prototypes,
33611 which can conflict with char $ac_func (); below.
33612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33613 <limits.h> exists even on freestanding compilers. */
33615 # include <limits.h>
33617 # include <assert.h>
33619 /* Override any gcc2 internal prototype to avoid an error. */
33624 /* We use char because int might match the return type of a gcc2
33625 builtin and then its argument prototype would still apply. */
33627 /* The GNU C library defines this for functions which it implements
33628 to always fail with ENOSYS. Some functions are actually named
33629 something starting with __ and the normal name is an alias. */
33630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33633 char (*f) () = $ac_func;
33642 return f != $ac_func;
33647 rm -f conftest.
$ac_objext conftest
$ac_exeext
33648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33649 (eval $ac_link) 2>&5
33651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33652 (exit $ac_status); } &&
33653 { ac_try
='test -s conftest$ac_exeext'
33654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33655 (eval $ac_try) 2>&5
33657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658 (exit $ac_status); }; }; then
33659 eval "$as_ac_var=yes"
33661 echo "$as_me: failed program was:" >&5
33662 sed 's/^/| /' conftest.
$ac_ext >&5
33664 eval "$as_ac_var=no"
33666 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33670 if test `eval echo '${'$as_ac_var'}'` = yes; then
33671 cat >>confdefs.h
<<_ACEOF
33672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33679 for ac_func
in ceil
33681 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33682 echo "$as_me:$LINENO: checking for $ac_func" >&5
33683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33684 if eval "test \"\${$as_ac_var+set}\" = set"; then
33685 echo $ECHO_N "(cached) $ECHO_C" >&6
33687 cat >conftest.
$ac_ext <<_ACEOF
33688 #line $LINENO "configure"
33691 cat confdefs.h
>>conftest.
$ac_ext
33692 cat >>conftest.
$ac_ext <<_ACEOF
33693 /* end confdefs.h. */
33694 /* System header to define __stub macros and hopefully few prototypes,
33695 which can conflict with char $ac_func (); below.
33696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33697 <limits.h> exists even on freestanding compilers. */
33699 # include <limits.h>
33701 # include <assert.h>
33703 /* Override any gcc2 internal prototype to avoid an error. */
33708 /* We use char because int might match the return type of a gcc2
33709 builtin and then its argument prototype would still apply. */
33711 /* The GNU C library defines this for functions which it implements
33712 to always fail with ENOSYS. Some functions are actually named
33713 something starting with __ and the normal name is an alias. */
33714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33717 char (*f) () = $ac_func;
33726 return f != $ac_func;
33731 rm -f conftest.
$ac_objext conftest
$ac_exeext
33732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33733 (eval $ac_link) 2>&5
33735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33736 (exit $ac_status); } &&
33737 { ac_try
='test -s conftest$ac_exeext'
33738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33739 (eval $ac_try) 2>&5
33741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742 (exit $ac_status); }; }; then
33743 eval "$as_ac_var=yes"
33745 echo "$as_me: failed program was:" >&5
33746 sed 's/^/| /' conftest.
$ac_ext >&5
33748 eval "$as_ac_var=no"
33750 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33754 if test `eval echo '${'$as_ac_var'}'` = yes; then
33755 cat >>confdefs.h
<<_ACEOF
33756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33762 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33763 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33764 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33765 echo "$as_me:$LINENO: result: yes" >&5
33766 echo "${ECHO_T}yes" >&6
33768 echo "$as_me:$LINENO: result: no" >&5
33769 echo "${ECHO_T}no" >&6
33770 # not sure we should warn the user, crash, etc.
33774 if test "$wxUSE_GUI" = "yes"; then
33777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
33778 drawing dynamic erase event exec font image \
33779 minimal propsize rotate shaped widgets render"
33781 if test "$wxUSE_MONOLITHIC" != "yes"; then
33782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
33785 SAMPLES_SUBDIRS
="console"
33789 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33790 -I\${top_srcdir}/include \
33791 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33794 if test "$GXX" = yes ; then
33795 CXXWARNINGS
="-Wall"
33798 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33800 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33801 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33802 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33805 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
33806 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33807 EXTRALIBS_XML
="$EXPAT_LINK"
33808 EXTRALIBS_ODBC
="$ODBC_LINK"
33809 if test "$wxUSE_GUI" = "yes"; then
33810 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33812 if test "$wxUSE_OPENGL" = "yes"; then
33813 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
33816 LDFLAGS
="$LDFLAGS $PROFILE"
33818 if test "$wxUSE_GTK" = 1; then
33821 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
33824 WXCONFIG_EXTRALIBS
="$LIBS"
33826 if test "$wxUSE_REGEX" = "builtin" ; then
33827 wxconfig_3rdparty
="$wxconfig_3rdparty regex"
33829 if test "$wxUSE_EXPAT" = "builtin" ; then
33830 wxconfig_3rdparty
="$wxconfig_3rdparty expat"
33832 if test "$wxUSE_ODBC" = "builtin" ; then
33833 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33835 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33836 wxconfig_3rdparty
="$wxconfig_3rdparty tiff"
33838 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33839 wxconfig_3rdparty
="$wxconfig_3rdparty jpeg"
33841 if test "$wxUSE_LIBPNG" = "builtin" ; then
33842 wxconfig_3rdparty
="$wxconfig_3rdparty png"
33844 if test "$wxUSE_ZLIB" = "builtin" ; then
33845 wxconfig_3rdparty
="$wxconfig_3rdparty zlib"
33847 if test "$wxUSE_ODBC" = "builtin" ; then
33848 wxconfig_3rdparty
="$wxconfig_3rdparty odbc"
33851 for i
in $wxconfig_3rdparty ; do
33852 WXCONFIG_EXTRALIBS
="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33856 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33870 if test $wxUSE_MONOLITHIC = "yes" ; then
33876 if test $wxUSE_ODBC != "no" ; then
33882 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33904 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
33912 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33914 if test -n "$ac_tool_prefix"; then
33915 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33916 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
33917 echo "$as_me:$LINENO: checking for $ac_word" >&5
33918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33919 if test "${ac_cv_prog_RANLIB+set}" = set; then
33920 echo $ECHO_N "(cached) $ECHO_C" >&6
33922 if test -n "$RANLIB"; then
33923 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
33925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33926 for as_dir
in $PATH
33929 test -z "$as_dir" && as_dir
=.
33930 for ac_exec_ext
in '' $ac_executable_extensions; do
33931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33932 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
33933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33941 RANLIB
=$ac_cv_prog_RANLIB
33942 if test -n "$RANLIB"; then
33943 echo "$as_me:$LINENO: result: $RANLIB" >&5
33944 echo "${ECHO_T}$RANLIB" >&6
33946 echo "$as_me:$LINENO: result: no" >&5
33947 echo "${ECHO_T}no" >&6
33951 if test -z "$ac_cv_prog_RANLIB"; then
33952 ac_ct_RANLIB
=$RANLIB
33953 # Extract the first word of "ranlib", so it can be a program name with args.
33954 set dummy ranlib
; ac_word
=$2
33955 echo "$as_me:$LINENO: checking for $ac_word" >&5
33956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33957 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33958 echo $ECHO_N "(cached) $ECHO_C" >&6
33960 if test -n "$ac_ct_RANLIB"; then
33961 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
33963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33964 for as_dir
in $PATH
33967 test -z "$as_dir" && as_dir
=.
33968 for ac_exec_ext
in '' $ac_executable_extensions; do
33969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33970 ac_cv_prog_ac_ct_RANLIB
="ranlib"
33971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33977 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
33980 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
33981 if test -n "$ac_ct_RANLIB"; then
33982 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33983 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33985 echo "$as_me:$LINENO: result: no" >&5
33986 echo "${ECHO_T}no" >&6
33989 RANLIB
=$ac_ct_RANLIB
33991 RANLIB
="$ac_cv_prog_RANLIB"
33994 # Find a good install program. We prefer a C program (faster),
33995 # so one script is as good as another. But avoid the broken or
33996 # incompatible versions:
33997 # SysV /etc/install, /usr/sbin/install
33998 # SunOS /usr/etc/install
33999 # IRIX /sbin/install
34001 # AmigaOS /C/install, which installs bootblocks on floppy discs
34002 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34003 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34004 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34005 # ./install, which can be erroneously created by make from ./install.sh.
34006 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34007 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34008 if test -z "$INSTALL"; then
34009 if test "${ac_cv_path_install+set}" = set; then
34010 echo $ECHO_N "(cached) $ECHO_C" >&6
34012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34013 for as_dir
in $PATH
34016 test -z "$as_dir" && as_dir
=.
34017 # Account for people who put trailing slashes in PATH elements.
34019 .
/ | .
// | /cC
/* | \
34020 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
34023 # OSF1 and SCO ODT 3.0 have their own names for install.
34024 # Don't use installbsd from OSF since it installs stuff as root
34026 for ac_prog
in ginstall scoinst
install; do
34027 for ac_exec_ext
in '' $ac_executable_extensions; do
34028 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34029 if test $ac_prog = install &&
34030 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34031 # AIX install. It has an incompatible calling convention.
34033 elif test $ac_prog = install &&
34034 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
34035 # program-specific install script used by HP pwplus--don't use.
34038 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
34050 if test "${ac_cv_path_install+set}" = set; then
34051 INSTALL
=$ac_cv_path_install
34053 # As a last resort, use the slow shell script. We don't cache a
34054 # path for INSTALL within a source directory, because that will
34055 # break other packages using the cache if that directory is
34056 # removed, or if the path is relative.
34057 INSTALL
=$ac_install_sh
34060 echo "$as_me:$LINENO: result: $INSTALL" >&5
34061 echo "${ECHO_T}$INSTALL" >&6
34063 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34064 # It thinks the first close brace ends the variable substitution.
34065 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
34067 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
34069 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
34071 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34072 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34074 if test "$LN_S" = "ln -s"; then
34075 echo "$as_me:$LINENO: result: yes" >&5
34076 echo "${ECHO_T}yes" >&6
34078 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34079 echo "${ECHO_T}no, using $LN_S" >&6
34083 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34084 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34085 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
34086 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34087 echo $ECHO_N "(cached) $ECHO_C" >&6
34089 cat >conftest.
make <<\_ACEOF
34091 @
echo 'ac_maketemp="$(MAKE)"'
34093 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34094 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34095 if test -n "$ac_maketemp"; then
34096 eval ac_cv_prog_make_
${ac_make}_set
=yes
34098 eval ac_cv_prog_make_
${ac_make}_set
=no
34100 rm -f conftest.
make
34102 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34103 echo "$as_me:$LINENO: result: yes" >&5
34104 echo "${ECHO_T}yes" >&6
34107 echo "$as_me:$LINENO: result: no" >&5
34108 echo "${ECHO_T}no" >&6
34109 SET_MAKE
="MAKE=${MAKE-make}"
34114 if test -n "$ac_tool_prefix"; then
34115 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34116 set dummy
${ac_tool_prefix}ar; ac_word
=$2
34117 echo "$as_me:$LINENO: checking for $ac_word" >&5
34118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34119 if test "${ac_cv_prog_AR+set}" = set; then
34120 echo $ECHO_N "(cached) $ECHO_C" >&6
34122 if test -n "$AR"; then
34123 ac_cv_prog_AR
="$AR" # Let the user override the test.
34125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34126 for as_dir
in $PATH
34129 test -z "$as_dir" && as_dir
=.
34130 for ac_exec_ext
in '' $ac_executable_extensions; do
34131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34132 ac_cv_prog_AR
="${ac_tool_prefix}ar"
34133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34142 if test -n "$AR"; then
34143 echo "$as_me:$LINENO: result: $AR" >&5
34144 echo "${ECHO_T}$AR" >&6
34146 echo "$as_me:$LINENO: result: no" >&5
34147 echo "${ECHO_T}no" >&6
34151 if test -z "$ac_cv_prog_AR"; then
34153 # Extract the first word of "ar", so it can be a program name with args.
34154 set dummy
ar; ac_word
=$2
34155 echo "$as_me:$LINENO: checking for $ac_word" >&5
34156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34157 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34158 echo $ECHO_N "(cached) $ECHO_C" >&6
34160 if test -n "$ac_ct_AR"; then
34161 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
34163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34164 for as_dir
in $PATH
34167 test -z "$as_dir" && as_dir
=.
34168 for ac_exec_ext
in '' $ac_executable_extensions; do
34169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34170 ac_cv_prog_ac_ct_AR
="ar"
34171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34177 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
34180 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
34181 if test -n "$ac_ct_AR"; then
34182 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34183 echo "${ECHO_T}$ac_ct_AR" >&6
34185 echo "$as_me:$LINENO: result: no" >&5
34186 echo "${ECHO_T}no" >&6
34191 AR
="$ac_cv_prog_AR"
34194 if test -n "$ac_tool_prefix"; then
34195 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34196 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
34197 echo "$as_me:$LINENO: checking for $ac_word" >&5
34198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34199 if test "${ac_cv_prog_STRIP+set}" = set; then
34200 echo $ECHO_N "(cached) $ECHO_C" >&6
34202 if test -n "$STRIP"; then
34203 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
34205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34206 for as_dir
in $PATH
34209 test -z "$as_dir" && as_dir
=.
34210 for ac_exec_ext
in '' $ac_executable_extensions; do
34211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34212 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
34213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34221 STRIP
=$ac_cv_prog_STRIP
34222 if test -n "$STRIP"; then
34223 echo "$as_me:$LINENO: result: $STRIP" >&5
34224 echo "${ECHO_T}$STRIP" >&6
34226 echo "$as_me:$LINENO: result: no" >&5
34227 echo "${ECHO_T}no" >&6
34231 if test -z "$ac_cv_prog_STRIP"; then
34233 # Extract the first word of "strip", so it can be a program name with args.
34234 set dummy strip
; ac_word
=$2
34235 echo "$as_me:$LINENO: checking for $ac_word" >&5
34236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34237 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34238 echo $ECHO_N "(cached) $ECHO_C" >&6
34240 if test -n "$ac_ct_STRIP"; then
34241 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
34243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34244 for as_dir
in $PATH
34247 test -z "$as_dir" && as_dir
=.
34248 for ac_exec_ext
in '' $ac_executable_extensions; do
34249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34250 ac_cv_prog_ac_ct_STRIP
="strip"
34251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34257 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
34260 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
34261 if test -n "$ac_ct_STRIP"; then
34262 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34263 echo "${ECHO_T}$ac_ct_STRIP" >&6
34265 echo "$as_me:$LINENO: result: no" >&5
34266 echo "${ECHO_T}no" >&6
34271 STRIP
="$ac_cv_prog_STRIP"
34274 if test -n "$ac_tool_prefix"; then
34275 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34276 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
34277 echo "$as_me:$LINENO: checking for $ac_word" >&5
34278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34279 if test "${ac_cv_prog_NM+set}" = set; then
34280 echo $ECHO_N "(cached) $ECHO_C" >&6
34282 if test -n "$NM"; then
34283 ac_cv_prog_NM
="$NM" # Let the user override the test.
34285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34286 for as_dir
in $PATH
34289 test -z "$as_dir" && as_dir
=.
34290 for ac_exec_ext
in '' $ac_executable_extensions; do
34291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34292 ac_cv_prog_NM
="${ac_tool_prefix}nm"
34293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34302 if test -n "$NM"; then
34303 echo "$as_me:$LINENO: result: $NM" >&5
34304 echo "${ECHO_T}$NM" >&6
34306 echo "$as_me:$LINENO: result: no" >&5
34307 echo "${ECHO_T}no" >&6
34311 if test -z "$ac_cv_prog_NM"; then
34313 # Extract the first word of "nm", so it can be a program name with args.
34314 set dummy nm
; ac_word
=$2
34315 echo "$as_me:$LINENO: checking for $ac_word" >&5
34316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34317 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34318 echo $ECHO_N "(cached) $ECHO_C" >&6
34320 if test -n "$ac_ct_NM"; then
34321 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
34323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34324 for as_dir
in $PATH
34327 test -z "$as_dir" && as_dir
=.
34328 for ac_exec_ext
in '' $ac_executable_extensions; do
34329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34330 ac_cv_prog_ac_ct_NM
="nm"
34331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34337 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
34340 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
34341 if test -n "$ac_ct_NM"; then
34342 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34343 echo "${ECHO_T}$ac_ct_NM" >&6
34345 echo "$as_me:$LINENO: result: no" >&5
34346 echo "${ECHO_T}no" >&6
34351 NM
="$ac_cv_prog_NM"
34357 INSTALL_DIR
="mkdir"
34359 *) INSTALL_DIR
="$INSTALL -d"
34366 *-*-cygwin* | *-*-mingw32* )
34367 LDFLAGS_GUI
="-Wl,--subsystem,windows -mwindows"
34373 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34374 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34375 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34376 echo $ECHO_N "(cached) $ECHO_C" >&6
34379 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
34380 egrep -s GNU
> /dev
/null
); then
34381 bakefile_cv_prog_makeisgnu
="yes"
34383 bakefile_cv_prog_makeisgnu
="no"
34387 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34388 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34390 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34406 *-*-cygwin* | *-*-mingw32* )
34412 *-pc-os2_emx | *-pc-os2-emx )
34415 powerpc
-*-darwin* )
34433 SO_SUFFIX_MODULE
="so"
34442 SO_SUFFIX_MODULE
="sl"
34446 SO_SUFFIX_MODULE
="a"
34448 *-*-cygwin* | *-*-mingw32* )
34450 SO_SUFFIX_MODULE
="dll"
34458 *-pc-os2_emx | *-pc-os2-emx )
34463 powerpc
-*-darwin* )
34465 SO_SUFFIX_MODULE
="bundle"
34477 SHARED_LD_CC
="\$(CC) -shared -o"
34478 SHARED_LD_CXX
="\$(CXX) -shared -o"
34480 if test "x$GCC" = "xyes"; then
34486 if test "x$GCC" = "xyes"; then
34487 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
34488 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
34490 LDFLAGS
="$LDFLAGS -L/usr/lib"
34492 SHARED_LD_CC
="${CC} -b -o"
34493 SHARED_LD_CXX
="${CXX} -b -o"
34499 if test "x$GCC" != "xyes"; then
34500 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34501 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34502 if test "${bakefile_cv_prog_icc+set}" = set; then
34503 echo $ECHO_N "(cached) $ECHO_C" >&6
34506 cat >conftest.
$ac_ext <<_ACEOF
34507 #line $LINENO "configure"
34510 cat confdefs.h
>>conftest.
$ac_ext
34511 cat >>conftest.
$ac_ext <<_ACEOF
34512 /* end confdefs.h. */
34518 #ifndef __INTEL_COMPILER
34526 rm -f conftest.
$ac_objext
34527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34528 (eval $ac_compile) 2>&5
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); } &&
34532 { ac_try
='test -s conftest.$ac_objext'
34533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34534 (eval $ac_try) 2>&5
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); }; }; then
34538 bakefile_cv_prog_icc
=yes
34540 echo "$as_me: failed program was:" >&5
34541 sed 's/^/| /' conftest.
$ac_ext >&5
34543 bakefile_cv_prog_icc
=no
34546 rm -f conftest.
$ac_objext conftest.
$ac_ext
34549 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34550 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34551 if test "$bakefile_cv_prog_icc" = "yes"; then
34558 if test "x$GCC" != xyes
; then
34559 SHARED_LD_CC
="${CC} -G -o"
34560 SHARED_LD_CXX
="${CXX} -G -o"
34566 CFLAGS
="$CFLAGS -fno-common"
34567 CXXFLAGS
="$CXXFLAGS -fno-common"
34570 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34571 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34572 if test "${wx_cv_gcc31+set}" = set; then
34573 echo $ECHO_N "(cached) $ECHO_C" >&6
34576 cat >conftest.
$ac_ext <<_ACEOF
34577 #line $LINENO "configure"
34580 cat confdefs.h
>>conftest.
$ac_ext
34581 cat >>conftest.
$ac_ext <<_ACEOF
34582 /* end confdefs.h. */
34588 #if (__GNUC__ < 3) || \
34589 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34597 rm -f conftest.
$ac_objext
34598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34599 (eval $ac_compile) 2>&5
34601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34602 (exit $ac_status); } &&
34603 { ac_try
='test -s conftest.$ac_objext'
34604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34605 (eval $ac_try) 2>&5
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); }; }; then
34613 echo "$as_me: failed program was:" >&5
34614 sed 's/^/| /' conftest.
$ac_ext >&5
34621 rm -f conftest.
$ac_objext conftest.
$ac_ext
34624 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34625 echo "${ECHO_T}$wx_cv_gcc31" >&6
34626 if test "$wx_cv_gcc31" = "no"; then
34627 cat <<EOF >shared-ld-sh
34629 #-----------------------------------------------------------------------------
34630 #-- Name: distrib/mac/shared-ld-sh
34631 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34632 #-- Author: Gilles Depeyrot
34633 #-- Copyright: (c) 2002 Gilles Depeyrot
34634 #-- Licence: any use permitted
34635 #-----------------------------------------------------------------------------
34640 linking_flag="-dynamiclib"
34642 while test \${#} -gt 0; do
34649 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34650 # collect these options and values
34651 args="\${args} \${1} \${2}"
34655 -l*|-L*|-flat_namespace)
34656 # collect these options
34657 args="\${args} \${1}"
34660 -dynamiclib|-bundle)
34661 linking_flag="\${1}"
34665 echo "shared-ld: unhandled option '\${1}'"
34669 *.o | *.a | *.dylib)
34670 # collect object files
34671 objects="\${objects} \${1}"
34675 echo "shared-ld: unhandled argument '\${1}'"
34684 # Link one module containing all the others
34686 if test \${verbose} = 1; then
34687 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34689 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34691 if test \${status} != 0; then
34696 # Link the shared library from the single module created
34698 if test \${verbose} = 1; then
34699 echo "cc \${linking_flag} master.\$\$.o \${args}"
34701 c++ \${linking_flag} master.\$\$.o \${args}
34703 if test \${status} != 0; then
34708 # Remove intermediate module
34710 rm -f master.\$\$.o
34714 chmod +x shared
-ld-sh
34716 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -o"
34717 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -o"
34718 SHARED_LD_CXX
="$SHARED_LD_CC"
34719 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
34721 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -o"
34722 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -o"
34723 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -o"
34724 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -o"
34727 PIC_FLAG
="-dynamic -fPIC"
34731 if test "x$GCC" != "xyes"; then
34732 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34733 set dummy makeC
++SharedLib
; ac_word
=$2
34734 echo "$as_me:$LINENO: checking for $ac_word" >&5
34735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34736 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34737 echo $ECHO_N "(cached) $ECHO_C" >&6
34739 if test -n "$AIX_CXX_LD"; then
34740 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
34742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34743 for as_dir
in $PATH
34746 test -z "$as_dir" && as_dir
=.
34747 for ac_exec_ext
in '' $ac_executable_extensions; do
34748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34749 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
34750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34756 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
34759 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
34760 if test -n "$AIX_CXX_LD"; then
34761 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34762 echo "${ECHO_T}$AIX_CXX_LD" >&6
34764 echo "$as_me:$LINENO: result: no" >&5
34765 echo "${ECHO_T}no" >&6
34768 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
34769 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
34774 SHARED_LD_CC
="${LD} -shared -o"
34775 SHARED_LD_CXX
="${LD} -shared -o"
34779 if test "x$GCC" != "xyes"; then
34784 *-*-cygwin* | *-*-mingw32* )
34788 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34792 *-pc-os2_emx | *-pc-os2-emx | \
34797 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34798 echo "$as_me: error: unknown system type $host." >&2;}
34799 { (exit 1); exit 1; }; }
34802 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34803 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
34805 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34806 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
34825 SONAME_FLAG
="-Wl,-soname,"
34853 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34854 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34857 if test "x$GCC" = "xyes"; then
34861 powerpc
-*-darwin* )
34862 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
34865 DEPSFLAG_GCC
="-MMD"
34868 echo "$as_me:$LINENO: result: gcc" >&5
34869 echo "${ECHO_T}gcc" >&6
34871 echo "$as_me:$LINENO: result: none" >&5
34872 echo "${ECHO_T}none" >&6
34875 if test $DEPS_TRACKING = 1 ; then
34879 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34880 # script. It is used to track C/C++ files dependencies in portable way.
34882 # Permission is given to use this file in any way.
34886 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34890 if test \$DEPSMODE = gcc ; then
34891 \${*} \${DEPSFLAG_GCC}
34893 if test \${status} != 0 ; then
34896 # move created file to the location we want it in:
34897 while test \${#} -gt 0; do
34911 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34912 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34913 if test -f \$depfile ; then
34914 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34917 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34918 if test -f \$depfile ; then
34919 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34939 *-*-cygwin* | *-*-mingw32* )
34940 if test "$build" != "$host" ; then
34941 RESCOMP
=$host_alias-windres
34943 # Extract the first word of "windres", so it can be a program name with args.
34944 set dummy windres
; ac_word
=$2
34945 echo "$as_me:$LINENO: checking for $ac_word" >&5
34946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34947 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34948 echo $ECHO_N "(cached) $ECHO_C" >&6
34950 if test -n "$RESCOMP"; then
34951 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34954 for as_dir
in $PATH
34957 test -z "$as_dir" && as_dir
=.
34958 for ac_exec_ext
in '' $ac_executable_extensions; do
34959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34960 ac_cv_prog_RESCOMP
="windres"
34961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34967 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
34970 RESCOMP
=$ac_cv_prog_RESCOMP
34971 if test -n "$RESCOMP"; then
34972 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34973 echo "${ECHO_T}$RESCOMP" >&6
34975 echo "$as_me:$LINENO: result: no" >&5
34976 echo "${ECHO_T}no" >&6
34983 # Extract the first word of "Rez", so it can be a program name with args.
34984 set dummy Rez
; ac_word
=$2
34985 echo "$as_me:$LINENO: checking for $ac_word" >&5
34986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34987 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34988 echo $ECHO_N "(cached) $ECHO_C" >&6
34990 if test -n "$RESCOMP"; then
34991 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
34993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34994 for as_dir
in $PATH
34997 test -z "$as_dir" && as_dir
=.
34998 for ac_exec_ext
in '' $ac_executable_extensions; do
34999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35000 ac_cv_prog_RESCOMP
="Rez"
35001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35007 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
35010 RESCOMP
=$ac_cv_prog_RESCOMP
35011 if test -n "$RESCOMP"; then
35012 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35013 echo "${ECHO_T}$RESCOMP" >&6
35015 echo "$as_me:$LINENO: result: no" >&5
35016 echo "${ECHO_T}no" >&6
35019 # Extract the first word of "SetFile", so it can be a program name with args.
35020 set dummy SetFile
; ac_word
=$2
35021 echo "$as_me:$LINENO: checking for $ac_word" >&5
35022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35023 if test "${ac_cv_prog_SETFILE+set}" = set; then
35024 echo $ECHO_N "(cached) $ECHO_C" >&6
35026 if test -n "$SETFILE"; then
35027 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
35029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35030 for as_dir
in $PATH
35033 test -z "$as_dir" && as_dir
=.
35034 for ac_exec_ext
in '' $ac_executable_extensions; do
35035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35036 ac_cv_prog_SETFILE
="SetFile"
35037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35043 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
35046 SETFILE
=$ac_cv_prog_SETFILE
35047 if test -n "$SETFILE"; then
35048 echo "$as_me:$LINENO: result: $SETFILE" >&5
35049 echo "${ECHO_T}$SETFILE" >&6
35051 echo "$as_me:$LINENO: result: no" >&5
35052 echo "${ECHO_T}no" >&6
35065 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35066 if test "${enable_precomp_headers+set}" = set; then
35067 enableval
="$enable_precomp_headers"
35068 bk_use_pch
="$enableval"
35073 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35074 if test "x$GCC" = "xyes"; then
35075 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35076 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35077 cat >conftest.
$ac_ext <<_ACEOF
35078 #line $LINENO "configure"
35081 cat confdefs.h
>>conftest.
$ac_ext
35082 cat >>conftest.
$ac_ext <<_ACEOF
35083 /* end confdefs.h. */
35089 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35090 #error "no pch support"
35093 #error "no pch support"
35095 #if (__GNUC__ == 3) && \
35096 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35097 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35098 #error "no pch support"
35105 rm -f conftest.
$ac_objext
35106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35107 (eval $ac_compile) 2>&5
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); } &&
35111 { ac_try
='test -s conftest.$ac_objext'
35112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35113 (eval $ac_try) 2>&5
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); }; }; then
35118 echo "$as_me:$LINENO: result: yes" >&5
35119 echo "${ECHO_T}yes" >&6
35120 CPPFLAGS
="-fpch-deps $CPPFLAGS"
35124 echo "$as_me: failed program was:" >&5
35125 sed 's/^/| /' conftest.
$ac_ext >&5
35128 echo "$as_me:$LINENO: result: no" >&5
35129 echo "${ECHO_T}no" >&6
35132 rm -f conftest.
$ac_objext conftest.
$ac_ext
35133 if test $GCC_PCH = 1 ; then
35134 cat <<EOF >bk-make-pch
35137 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35138 # script. It is used to generated precompiled headers.
35140 # Permission is given to use this file in any way.
35149 while test \${#} -gt 0; do
35152 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35153 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35154 headerfile="\${incdir}/\${header}"
35158 compiler="\${compiler} \${1}"
35162 if test "x\${headerfile}" = "x" ; then
35163 echo "error: can't find header \${header} in include paths" >2
35165 if test -f \${outfile} ; then
35168 mkdir -p \`dirname \${outfile}\`
35170 depsfile=".deps/\`basename \${outfile}\`.d"
35172 # can do this because gcc is >= 3.4:
35173 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35177 chmod +x bk
-make-pch
35186 COND_BUILD_DEBUG
="#"
35187 if test "x$BUILD" = "xdebug" ; then
35188 COND_BUILD_DEBUG
=""
35191 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
35192 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35193 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
35196 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
35197 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35198 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
35201 COND_BUILD_RELEASE
="#"
35202 if test "x$BUILD" = "xrelease" ; then
35203 COND_BUILD_RELEASE
=""
35206 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
35207 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35208 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
35211 COND_DEBUG_FLAG_1
="#"
35212 if test "x$DEBUG_FLAG" = "x1" ; then
35213 COND_DEBUG_FLAG_1
=""
35216 COND_DEBUG_INFO_0
="#"
35217 if test "x$DEBUG_INFO" = "x0" ; then
35218 COND_DEBUG_INFO_0
=""
35221 COND_DEBUG_INFO_1
="#"
35222 if test "x$DEBUG_INFO" = "x1" ; then
35223 COND_DEBUG_INFO_1
=""
35226 COND_DEPS_TRACKING_0
="#"
35227 if test "x$DEPS_TRACKING" = "x0" ; then
35228 COND_DEPS_TRACKING_0
=""
35231 COND_DEPS_TRACKING_1
="#"
35232 if test "x$DEPS_TRACKING" = "x1" ; then
35233 COND_DEPS_TRACKING_1
=""
35237 if test "x$GCC_PCH" = "x1" ; then
35241 COND_MONOLITHIC_0
="#"
35242 if test "x$MONOLITHIC" = "x0" ; then
35243 COND_MONOLITHIC_0
=""
35246 COND_MONOLITHIC_0_SHARED_0
="#"
35247 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35248 COND_MONOLITHIC_0_SHARED_0
=""
35251 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
35252 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35253 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
35256 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
35257 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35258 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
35261 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
="#"
35262 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35263 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1
=""
35266 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
35267 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35268 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
35271 COND_MONOLITHIC_0_SHARED_1
="#"
35272 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35273 COND_MONOLITHIC_0_SHARED_1
=""
35276 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
35277 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35278 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
35281 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
35282 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35283 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
35286 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
="#"
35287 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35288 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1
=""
35291 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
35292 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35293 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
35296 COND_MONOLITHIC_1
="#"
35297 if test "x$MONOLITHIC" = "x1" ; then
35298 COND_MONOLITHIC_1
=""
35301 COND_MONOLITHIC_1_SHARED_0
="#"
35302 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35303 COND_MONOLITHIC_1_SHARED_0
=""
35306 COND_MONOLITHIC_1_SHARED_1
="#"
35307 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35308 COND_MONOLITHIC_1_SHARED_1
=""
35311 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
35312 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35313 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
35316 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
35317 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35318 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
35321 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
35322 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35323 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
35326 COND_PLATFORM_MACOSX_1
="#"
35327 if test "x$PLATFORM_MACOSX" = "x1" ; then
35328 COND_PLATFORM_MACOSX_1
=""
35331 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
35332 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35333 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
35336 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
35337 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35338 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
35341 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
35342 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35343 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
35346 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
35347 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35348 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
35351 COND_PLATFORM_MAC_1
="#"
35352 if test "x$PLATFORM_MAC" = "x1" ; then
35353 COND_PLATFORM_MAC_1
=""
35356 COND_PLATFORM_OS2_1
="#"
35357 if test "x$PLATFORM_OS2" = "x1" ; then
35358 COND_PLATFORM_OS2_1
=""
35361 COND_PLATFORM_UNIX_0
="#"
35362 if test "x$PLATFORM_UNIX" = "x0" ; then
35363 COND_PLATFORM_UNIX_0
=""
35366 COND_PLATFORM_UNIX_1
="#"
35367 if test "x$PLATFORM_UNIX" = "x1" ; then
35368 COND_PLATFORM_UNIX_1
=""
35371 COND_PLATFORM_WIN32_0
="#"
35372 if test "x$PLATFORM_WIN32" = "x0" ; then
35373 COND_PLATFORM_WIN32_0
=""
35376 COND_PLATFORM_WIN32_1
="#"
35377 if test "x$PLATFORM_WIN32" = "x1" ; then
35378 COND_PLATFORM_WIN32_1
=""
35382 if test "x$SHARED" = "x0" ; then
35386 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
35387 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35388 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
35391 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35392 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35393 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35396 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35397 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35398 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35401 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35402 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35403 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35406 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
35407 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35408 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
35411 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
35412 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35413 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
35416 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
35417 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35418 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
35421 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
35422 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35423 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
35427 if test "x$SHARED" = "x1" ; then
35431 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
35432 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35433 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
35436 COND_TOOLKIT_COCOA
="#"
35437 if test "x$TOOLKIT" = "xCOCOA" ; then
35438 COND_TOOLKIT_COCOA
=""
35441 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
35442 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35443 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
35446 COND_TOOLKIT_GTK
="#"
35447 if test "x$TOOLKIT" = "xGTK" ; then
35448 COND_TOOLKIT_GTK
=""
35451 COND_TOOLKIT_GTK_USE_GUI_1
="#"
35452 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35453 COND_TOOLKIT_GTK_USE_GUI_1
=""
35456 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
35457 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35458 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
35461 COND_TOOLKIT_MAC
="#"
35462 if test "x$TOOLKIT" = "xMAC" ; then
35463 COND_TOOLKIT_MAC
=""
35466 COND_TOOLKIT_MAC_USE_GUI_1
="#"
35467 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35468 COND_TOOLKIT_MAC_USE_GUI_1
=""
35471 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
35472 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35473 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
35476 COND_TOOLKIT_MGL
="#"
35477 if test "x$TOOLKIT" = "xMGL" ; then
35478 COND_TOOLKIT_MGL
=""
35481 COND_TOOLKIT_MGL_USE_GUI_1
="#"
35482 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35483 COND_TOOLKIT_MGL_USE_GUI_1
=""
35486 COND_TOOLKIT_MOTIF
="#"
35487 if test "x$TOOLKIT" = "xMOTIF" ; then
35488 COND_TOOLKIT_MOTIF
=""
35491 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
35492 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35493 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
35496 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
35497 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35498 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
35501 COND_TOOLKIT_MSW
="#"
35502 if test "x$TOOLKIT" = "xMSW" ; then
35503 COND_TOOLKIT_MSW
=""
35506 COND_TOOLKIT_MSW_USE_GUI_1
="#"
35507 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35508 COND_TOOLKIT_MSW_USE_GUI_1
=""
35511 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
35512 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35513 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
35516 COND_TOOLKIT_PM
="#"
35517 if test "x$TOOLKIT" = "xPM" ; then
35521 COND_TOOLKIT_PM_USE_GUI_1
="#"
35522 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35523 COND_TOOLKIT_PM_USE_GUI_1
=""
35526 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
35527 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35528 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
35531 COND_TOOLKIT_X11
="#"
35532 if test "x$TOOLKIT" = "xX11" ; then
35533 COND_TOOLKIT_X11
=""
35536 COND_TOOLKIT_X11_USE_GUI_1
="#"
35537 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35538 COND_TOOLKIT_X11_USE_GUI_1
=""
35542 if test "x$UNICODE" = "x1" ; then
35546 COND_USE_EXCEPTIONS_0
="#"
35547 if test "x$USE_EXCEPTIONS" = "x0" ; then
35548 COND_USE_EXCEPTIONS_0
=""
35551 COND_USE_EXCEPTIONS_1
="#"
35552 if test "x$USE_EXCEPTIONS" = "x1" ; then
35553 COND_USE_EXCEPTIONS_1
=""
35557 if test "x$USE_GUI" = "x0" ; then
35562 if test "x$USE_GUI" = "x1" ; then
35566 COND_USE_GUI_1_WXUNIV_0
="#"
35567 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35568 COND_USE_GUI_1_WXUNIV_0
=""
35571 COND_USE_GUI_1_WXUNIV_1
="#"
35572 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35573 COND_USE_GUI_1_WXUNIV_1
=""
35576 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
35577 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35578 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
35581 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
35582 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35583 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
35586 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
35587 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35588 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
35591 COND_USE_SOSYMLINKS_1
="#"
35592 if test "x$USE_SOSYMLINKS" = "x1" ; then
35593 COND_USE_SOSYMLINKS_1
=""
35596 COND_USE_SOVERLINUX_1
="#"
35597 if test "x$USE_SOVERLINUX" = "x1" ; then
35598 COND_USE_SOVERLINUX_1
=""
35601 COND_USE_SOVERSION_0
="#"
35602 if test "x$USE_SOVERSION" = "x0" ; then
35603 COND_USE_SOVERSION_0
=""
35606 COND_USE_SOVERSOLARIS_1
="#"
35607 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35608 COND_USE_SOVERSOLARIS_1
=""
35612 if test "x$WXUNIV" = "x1" ; then
35616 COND_WXUSE_EXPAT_BUILTIN
="#"
35617 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35618 COND_WXUSE_EXPAT_BUILTIN
=""
35621 COND_WXUSE_LIBJPEG_BUILTIN
="#"
35622 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35623 COND_WXUSE_LIBJPEG_BUILTIN
=""
35626 COND_WXUSE_LIBPNG_BUILTIN
="#"
35627 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35628 COND_WXUSE_LIBPNG_BUILTIN
=""
35631 COND_WXUSE_LIBTIFF_BUILTIN
="#"
35632 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35633 COND_WXUSE_LIBTIFF_BUILTIN
=""
35636 COND_WXUSE_ODBC_BUILTIN
="#"
35637 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35638 COND_WXUSE_ODBC_BUILTIN
=""
35641 COND_WXUSE_REGEX_BUILTIN
="#"
35642 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35643 COND_WXUSE_REGEX_BUILTIN
=""
35646 COND_WXUSE_ZLIB_BUILTIN
="#"
35647 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35648 COND_WXUSE_ZLIB_BUILTIN
=""
35655 if test $GCC_PCH = 1 ; then
35656 CPPFLAGS
="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35659 powerpc
-*-darwin* )
35660 CPPFLAGS
="-DNO_GCC_PRAGMA $CPPFLAGS"
35665 powerpc
-*-darwin* )
35666 CODE_GEN_FLAGS_CXX
="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35671 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35772 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35773 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35774 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
35775 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35776 echo $ECHO_N "(cached) $ECHO_C" >&6
35778 cat >conftest.
make <<\_ACEOF
35780 @
echo 'ac_maketemp="$(MAKE)"'
35782 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35783 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35784 if test -n "$ac_maketemp"; then
35785 eval ac_cv_prog_make_
${ac_make}_set
=yes
35787 eval ac_cv_prog_make_
${ac_make}_set
=no
35789 rm -f conftest.
make
35791 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35792 echo "$as_me:$LINENO: result: yes" >&5
35793 echo "${ECHO_T}yes" >&6
35796 echo "$as_me:$LINENO: result: no" >&5
35797 echo "${ECHO_T}no" >&6
35798 SET_MAKE
="MAKE=${MAKE-make}"
35802 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
35803 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
35806 ac_config_headers
="$ac_config_headers setup.h"
35809 ac_config_files
="$ac_config_files wx-config version-script Makefile"
35812 ac_config_commands
="$ac_config_commands default"
35816 if test "$wxUSE_GUI" = "yes"; then
35817 SUBDIRS
="samples demos utils contrib"
35818 else SUBDIRS
="samples utils"
35821 for subdir
in `echo $SUBDIRS`; do
35822 if test -d ${srcdir}/${subdir} ; then
35823 if test "$wxUSE_GUI" = "yes"; then
35824 if test ${subdir} = "samples"; then
35825 makefiles
="samples/Makefile.in $makefiles"
35826 for sample
in `echo $SAMPLES_SUBDIRS`; do
35827 if test -d $srcdir/samples
/$sample; then
35828 makefiles
="samples/$sample/Makefile.in $makefiles"
35831 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
35833 else if test ${subdir} = "samples"; then
35834 makefiles
="samples/Makefile.in samples/console/Makefile.in"
35835 else makefiles
="utils/HelpGen/Makefile.in \
35836 utils/HelpGen/src/Makefile.in"
35840 for mkin
in $makefiles ; do
35841 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35842 ac_config_files
="$ac_config_files $mk"
35849 cat >confcache
<<\_ACEOF
35850 # This file is a shell script that caches the results of configure
35851 # tests run on this system so they can be shared between configure
35852 # scripts and configure runs, see configure's option --config-cache.
35853 # It is not useful on other systems. If it contains results you don't
35854 # want to keep, you may remove or edit it.
35856 # config.status only pays attention to the cache file if you give it
35857 # the --recheck option to rerun configure.
35859 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35860 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35861 # following values.
35865 # The following way of writing the cache mishandles newlines in values,
35866 # but we know of no workaround that is simple, portable, and efficient.
35867 # So, don't put newlines in cache variables' values.
35868 # Ultrix sh set writes to stderr and can't be redirected directly,
35869 # and sets the high bit in the cache file unless we assign to the vars.
35872 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35874 # `set' does not quote correctly, so add quotes (double-quote
35875 # substitution turns \\\\ into \\, and sed turns \\ into \).
35878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35881 # `set' quotes correctly as required by POSIX, so do not add quotes.
35883 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35890 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35892 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35894 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35895 if test -w $cache_file; then
35896 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35897 cat confcache
>$cache_file
35899 echo "not updating unwritable cache $cache_file"
35904 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
35905 # Let make expand exec_prefix.
35906 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
35908 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35909 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35910 # trailing colons and then remove the whole line if VPATH becomes empty
35911 # (actually we leave an empty line to preserve line numbers).
35912 if test "x$srcdir" = x.
; then
35913 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
35914 s/:*\$(srcdir):*/:/;
35915 s/:*\${srcdir}:*/:/;
35917 s/^\([^=]*=[ ]*\):*/\1/;
35923 DEFS
=-DHAVE_CONFIG_H
35927 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
35928 # 1. Remove the extension, and $U if already installed.
35929 ac_i
=`echo "$ac_i" |
35930 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35932 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
35933 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
35935 LIBOBJS
=$ac_libobjs
35937 LTLIBOBJS
=$ac_ltlibobjs
35941 : ${CONFIG_STATUS=./config.status}
35942 ac_clean_files_save
=$ac_clean_files
35943 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
35944 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35945 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35946 cat >$CONFIG_STATUS <<_ACEOF
35948 # Generated by $as_me.
35949 # Run this file to recreate the current configuration.
35950 # Compiler output produced by configure, useful for debugging
35951 # configure, is in config.log if it exists.
35954 ac_cs_recheck=false
35956 SHELL=\${CONFIG_SHELL-$SHELL}
35959 cat >>$CONFIG_STATUS <<\_ACEOF
35960 ## --------------------- ##
35961 ## M4sh Initialization. ##
35962 ## --------------------- ##
35964 # Be Bourne compatible
35965 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
35968 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35969 # is contrary to our usage. Disable this feature.
35970 alias -g '${1+"$@"}'='"$@"'
35971 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
35975 # Support unset when possible.
35976 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
35983 # Work around bugs in pre-3.0 UWIN ksh.
35984 $as_unset ENV MAIL MAILPATH
35991 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35992 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35993 LC_TELEPHONE LC_TIME
35995 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35996 eval $as_var=C
; export $as_var
36002 # Required to use basename.
36003 if expr a
: '\(a\)' >/dev
/null
2>&1; then
36009 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
36010 as_basename
=basename
36016 # Name of the executable.
36017 as_me
=`$as_basename "$0" ||
36018 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36019 X"$0" : 'X\(//\)$' \| \
36020 X"$0" : 'X\(/\)$' \| \
36021 . : '\(.\)' 2>/dev/null ||
36023 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36024 /^X\/\(\/\/\)$/{ s//\1/; q; }
36025 /^X\/\(\/\).*/{ s//\1/; q; }
36029 # PATH needs CR, and LINENO needs CR and PATH.
36030 # Avoid depending upon Character Ranges.
36031 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
36032 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36033 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
36034 as_cr_digits
='0123456789'
36035 as_cr_alnum
=$as_cr_Letters$as_cr_digits
36037 # The user is always right.
36038 if test "${PATH_SEPARATOR+set}" != set; then
36039 echo "#! /bin/sh" >conf$$.sh
36040 echo "exit 0" >>conf$$.sh
36042 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
36051 as_lineno_1
=$LINENO
36052 as_lineno_2
=$LINENO
36053 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
36054 test "x$as_lineno_1" != "x$as_lineno_2" &&
36055 test "x$as_lineno_3" = "x$as_lineno_2" || {
36056 # Find who we are. Look in the path if we contain no path at all
36059 *[\\/]* ) as_myself
=$0 ;;
36060 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36061 for as_dir
in $PATH
36064 test -z "$as_dir" && as_dir
=.
36065 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
36070 # We did not find ourselves, most probably we were run as `sh COMMAND'
36071 # in which case we are not to be found in the path.
36072 if test "x$as_myself" = x
; then
36075 if test ! -f "$as_myself"; then
36076 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36077 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36078 { (exit 1); exit 1; }; }
36080 case $CONFIG_SHELL in
36082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36083 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
36086 test -z "$as_dir" && as_dir
=.
36087 for as_base
in sh bash ksh sh5
; do
36090 if ("$as_dir/$as_base" -c '
36091 as_lineno_1=$LINENO
36092 as_lineno_2=$LINENO
36093 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36094 test "x$as_lineno_1" != "x$as_lineno_2" &&
36095 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
36096 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
36097 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
36098 CONFIG_SHELL
=$as_dir/$as_base
36099 export CONFIG_SHELL
36100 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36108 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36109 # uniformly replaced by the line number. The first 'sed' inserts a
36110 # line-number line before each line; the second 'sed' does the real
36111 # work. The second script uses 'N' to pair each line-number line
36112 # with the numbered line, and appends trailing '-' during
36113 # substitution so that $LINENO is not a special case at line end.
36114 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36115 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36116 sed '=' <$as_myself |
36121 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36124 s,^['$as_cr_digits']*\n,,
36125 ' >$as_me.lineno
&&
36126 chmod +x
$as_me.lineno
||
36127 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36128 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36129 { (exit 1); exit 1; }; }
36131 # Don't try to exec as it changes $[0], causing all sort of problems
36132 # (the dirname of $[0] is not the place where we might find the
36133 # original and so on. Autoconf is especially sensible to this).
36135 # Exit status is that of the last command.
36140 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36141 *c
*,-n*) ECHO_N
= ECHO_C
='
36143 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
36144 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
36147 if expr a
: '\(a\)' >/dev
/null
2>&1; then
36153 rm -f conf$$ conf$$.exe conf$$.
file
36155 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
36156 # We could just check for DJGPP; but this test a) works b) is more generic
36157 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36158 if test -f conf$$.exe
; then
36159 # Don't use ln at all; we don't have any links
36164 elif ln conf$$.
file conf$$
2>/dev
/null
; then
36169 rm -f conf$$ conf$$.exe conf$$.
file
36171 if mkdir -p .
2>/dev
/null
; then
36177 as_executable_p
="test -f"
36179 # Sed expression to map a string onto a valid CPP name.
36180 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36182 # Sed expression to map a string onto a valid variable name.
36183 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36187 # We need space, tab and new line, in precisely that order.
36197 # Open the log real soon, to keep \$[0] and so on meaningful, and to
36198 # report actual input values of CONFIG_FILES etc. instead of their
36199 # values after options handling. Logging --version etc. is OK.
36203 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36204 ## Running $as_me. ##
36209 This file was extended by wxWindows $as_me 2.5.1, which was
36210 generated by GNU Autoconf 2.57. Invocation command line was
36212 CONFIG_FILES = $CONFIG_FILES
36213 CONFIG_HEADERS = $CONFIG_HEADERS
36214 CONFIG_LINKS = $CONFIG_LINKS
36215 CONFIG_COMMANDS = $CONFIG_COMMANDS
36219 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36223 # Files that config.status was made for.
36224 if test -n "$ac_config_files"; then
36225 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36228 if test -n "$ac_config_headers"; then
36229 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36232 if test -n "$ac_config_links"; then
36233 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36236 if test -n "$ac_config_commands"; then
36237 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36240 cat >>$CONFIG_STATUS <<\_ACEOF
36243 \`$as_me' instantiates files from templates according to the
36244 current configuration.
36246 Usage: $0 [OPTIONS] [FILE]...
36248 -h, --help print this help, then exit
36249 -V, --version print version number, then exit
36250 -q, --quiet do not print progress messages
36251 -d, --debug don't remove temporary files
36252 --recheck update $as_me by reconfiguring in the same conditions
36253 --file=FILE[:TEMPLATE]
36254 instantiate the configuration file FILE
36255 --header=FILE[:TEMPLATE]
36256 instantiate the configuration header FILE
36258 Configuration files:
36261 Configuration headers:
36264 Configuration commands:
36267 Report bugs to <bug-autoconf@gnu.org>."
36270 cat >>$CONFIG_STATUS <<_ACEOF
36272 wxWindows config.status 2.5.1
36273 configured by $0, generated by GNU Autoconf 2.57,
36274 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36276 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36277 Free Software Foundation, Inc.
36278 This config.status script is free software; the Free Software Foundation
36279 gives unlimited permission to copy, distribute and modify it."
36284 cat >>$CONFIG_STATUS <<\_ACEOF
36285 # If no file are specified by the user, then we need to provide default
36286 # value. By we need to know if files were specified by the user.
36292 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
36293 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
36301 *) # This is not an option, so the user has probably given explicit
36304 ac_need_defaults
=false
;;
36308 # Handling of the options.
36310 cat >>$CONFIG_STATUS <<\_ACEOF
36311 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36313 --version | --vers* | -V )
36314 echo "$ac_cs_version"; exit 0 ;;
36316 # Conflict between --help and --header
36317 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36318 Try \`$0 --help' for more information." >&5
36319 echo "$as_me: error: ambiguous option: $1
36320 Try \`$0 --help' for more information." >&2;}
36321 { (exit 1); exit 1; }; };;
36322 --help | --hel | -h )
36323 echo "$ac_cs_usage"; exit 0 ;;
36324 --debug | --d* | -d )
36326 --file | --fil | --fi | --f )
36328 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
36329 ac_need_defaults
=false
;;
36330 --header | --heade | --head | --hea )
36332 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
36333 ac_need_defaults
=false
;;
36334 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36335 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36338 # This is an error.
36339 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36340 Try \`$0 --help' for more information." >&5
36341 echo "$as_me: error: unrecognized option: $1
36342 Try \`$0 --help' for more information." >&2;}
36343 { (exit 1); exit 1; }; } ;;
36345 *) ac_config_targets
="$ac_config_targets $1" ;;
36351 ac_configure_extra_args
=
36353 if $ac_cs_silent; then
36355 ac_configure_extra_args
="$ac_configure_extra_args --silent"
36359 cat >>$CONFIG_STATUS <<_ACEOF
36360 if \$ac_cs_recheck; then
36361 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36362 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36367 cat >>$CONFIG_STATUS <<_ACEOF
36369 # INIT-COMMANDS section.
36373 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36382 cat >>$CONFIG_STATUS <<\_ACEOF
36383 for ac_config_target
in $ac_config_targets
36385 case "$ac_config_target" in
36386 # Handling of arguments.
36387 "wx-config" ) CONFIG_FILES
="$CONFIG_FILES wx-config" ;;
36388 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
36389 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
36390 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
36391 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
36392 "setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS setup.h" ;;
36393 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36394 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36395 { (exit 1); exit 1; }; };;
36399 # If the user did not use the arguments to specify the items to instantiate,
36400 # then the envvar interface is used. Set only those that are not.
36401 # We use the long form for the default assignment because of an extremely
36402 # bizarre bug on SunOS 4.1.3.
36403 if $ac_need_defaults; then
36404 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
36405 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
36406 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
36409 # Have a temporary directory for convenience. Make it in the build tree
36410 # simply because there is no reason to put it here, and in addition,
36411 # creating and moving files from /tmp can sometimes cause problems.
36412 # Create a temporary directory, and hook for its removal unless debugging.
36415 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36416 trap '{ (exit 1); exit 1; }' 1 2 13 15
36419 # Create a (secure) tmp directory for tmp files.
36422 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36423 test -n "$tmp" && test -d "$tmp"
36426 tmp
=.
/confstat$$
-$RANDOM
36427 (umask 077 && mkdir $tmp)
36430 echo "$me: cannot create a temporary directory in ." >&2
36431 { (exit 1); exit 1; }
36436 cat >>$CONFIG_STATUS <<_ACEOF
36439 # CONFIG_FILES section.
36442 # No need to generate the scripts if there are no CONFIG_FILES.
36443 # This happens for instance when ./config.status config.h
36444 if test -n "\$CONFIG_FILES"; then
36445 # Protect against being on the right side of a sed subst in config.status.
36446 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36447 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36448 s,@SHELL@,$SHELL,;t t
36449 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36450 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36451 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36452 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36453 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36454 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36455 s,@exec_prefix@,$exec_prefix,;t t
36456 s,@prefix@,$prefix,;t t
36457 s,@program_transform_name@,$program_transform_name,;t t
36458 s,@bindir@,$bindir,;t t
36459 s,@sbindir@,$sbindir,;t t
36460 s,@libexecdir@,$libexecdir,;t t
36461 s,@datadir@,$datadir,;t t
36462 s,@sysconfdir@,$sysconfdir,;t t
36463 s,@sharedstatedir@,$sharedstatedir,;t t
36464 s,@localstatedir@,$localstatedir,;t t
36465 s,@libdir@,$libdir,;t t
36466 s,@includedir@,$includedir,;t t
36467 s,@oldincludedir@,$oldincludedir,;t t
36468 s,@infodir@,$infodir,;t t
36469 s,@mandir@,$mandir,;t t
36470 s,@build_alias@,$build_alias,;t t
36471 s,@host_alias@,$host_alias,;t t
36472 s,@target_alias@,$target_alias,;t t
36473 s,@DEFS@,$DEFS,;t t
36474 s,@ECHO_C@,$ECHO_C,;t t
36475 s,@ECHO_N@,$ECHO_N,;t t
36476 s,@ECHO_T@,$ECHO_T,;t t
36477 s,@LIBS@,$LIBS,;t t
36478 s,@build@,$build,;t t
36479 s,@build_cpu@,$build_cpu,;t t
36480 s,@build_vendor@,$build_vendor,;t t
36481 s,@build_os@,$build_os,;t t
36482 s,@host@,$host,;t t
36483 s,@host_cpu@,$host_cpu,;t t
36484 s,@host_vendor@,$host_vendor,;t t
36485 s,@host_os@,$host_os,;t t
36486 s,@target@,$target,;t t
36487 s,@target_cpu@,$target_cpu,;t t
36488 s,@target_vendor@,$target_vendor,;t t
36489 s,@target_os@,$target_os,;t t
36491 s,@CFLAGS@,$CFLAGS,;t t
36492 s,@LDFLAGS@,$LDFLAGS,;t t
36493 s,@CPPFLAGS@,$CPPFLAGS,;t t
36494 s,@ac_ct_CC@,$ac_ct_CC,;t t
36495 s,@EXEEXT@,$EXEEXT,;t t
36496 s,@OBJEXT@,$OBJEXT,;t t
36498 s,@EGREP@,$EGREP,;t t
36500 s,@CXXFLAGS@,$CXXFLAGS,;t t
36501 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36502 s,@RANLIB@,$RANLIB,;t t
36503 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36505 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36506 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36507 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36508 s,@STRIP@,$STRIP,;t t
36509 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36510 s,@LN_S@,$LN_S,;t t
36511 s,@CXXCPP@,$CXXCPP,;t t
36512 s,@subdirs@,$subdirs,;t t
36513 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36514 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36515 s,@GTK_LIBS@,$GTK_LIBS,;t t
36516 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36517 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36518 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36519 s,@X_CFLAGS@,$X_CFLAGS,;t t
36520 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36521 s,@X_LIBS@,$X_LIBS,;t t
36522 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36523 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36524 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36525 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36526 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36527 s,@RESCOMP@,$RESCOMP,;t t
36528 s,@DEREZ@,$DEREZ,;t t
36529 s,@SETFILE@,$SETFILE,;t t
36530 s,@LIBICONV@,$LIBICONV,;t t
36531 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36532 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36533 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36534 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36535 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36536 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36537 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36538 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36539 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36540 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36541 s,@VENDOR@,$VENDOR,;t t
36542 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36543 s,@WXUNIV@,$WXUNIV,;t t
36544 s,@MONOLITHIC@,$MONOLITHIC,;t t
36545 s,@EXTRALIBS@,$EXTRALIBS,;t t
36546 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36547 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36548 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36549 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36550 s,@UNICODE@,$UNICODE,;t t
36551 s,@BUILD@,$BUILD,;t t
36552 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36553 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36554 s,@SHARED@,$SHARED,;t t
36555 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36556 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36557 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36558 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36559 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36560 s,@SET_MAKE@,$SET_MAKE,;t t
36561 s,@MAKE_SET@,$MAKE_SET,;t t
36562 s,@ac_ct_AR@,$ac_ct_AR,;t t
36563 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36565 s,@ac_ct_NM@,$ac_ct_NM,;t t
36566 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36567 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36568 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36569 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36570 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36571 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36572 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36573 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36574 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36575 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36576 s,@LIBPREFIX@,$LIBPREFIX,;t t
36577 s,@DLLPREFIX@,$DLLPREFIX,;t t
36578 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36579 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36580 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36581 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36582 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36583 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36584 s,@PIC_FLAG@,$PIC_FLAG,;t t
36585 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36586 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36587 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36588 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36589 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36590 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36591 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36592 s,@GCC_PCH@,$GCC_PCH,;t t
36593 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36594 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36595 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36596 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36597 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36598 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36599 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36600 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36601 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36602 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36603 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36604 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36605 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36606 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36607 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
36608 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36609 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36610 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36611 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36612 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
36613 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36614 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36615 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36616 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36617 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36618 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36619 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36620 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36621 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36622 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36623 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36624 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36625 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36626 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36627 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36628 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36629 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36630 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36631 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36632 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36633 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36634 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36635 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36636 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36637 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36638 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36639 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36640 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36641 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36642 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36643 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36644 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36645 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36646 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36647 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36648 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36649 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36650 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36651 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36652 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36653 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36654 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36655 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36656 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36657 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36658 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36659 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36660 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36661 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36662 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36663 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36664 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36665 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36666 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36667 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36668 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36669 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36670 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36671 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36672 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36673 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36674 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36675 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36676 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36677 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36678 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36679 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36680 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36681 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36682 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36683 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36684 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36685 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36686 s,@PATH_IFS@,$PATH_IFS,;t t
36687 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36688 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36689 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36690 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36691 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36692 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36693 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36694 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36695 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36696 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36697 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36698 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36699 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36700 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36701 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36702 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36703 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36704 s,@WX_ALL@,$WX_ALL,;t t
36705 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36706 s,@SHARED_LD@,$SHARED_LD,;t t
36707 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36708 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36709 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36710 s,@USE_GUI@,$USE_GUI,;t t
36711 s,@AFMINSTALL@,$AFMINSTALL,;t t
36712 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36713 s,@TOOLKIT@,$TOOLKIT,;t t
36714 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36715 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36716 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36717 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36718 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36719 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36720 s,@cross_compiling@,$cross_compiling,;t t
36721 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36722 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36723 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36724 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36725 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36726 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36727 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36728 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36729 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36730 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36731 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36732 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36733 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36734 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36735 s,@GUIDIST@,$GUIDIST,;t t
36736 s,@PORT_FILES@,$PORT_FILES,;t t
36737 s,@DISTDIR@,$DISTDIR,;t t
36738 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36739 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36740 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36741 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36742 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36743 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36744 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36745 s,@RESFLAGS@,$RESFLAGS,;t t
36746 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36747 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36748 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36749 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36750 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36751 s,@MACRESCOMP@,$MACRESCOMP,;t t
36752 s,@MACSETFILE@,$MACSETFILE,;t t
36753 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36755 s,@DLLTOOL@,$DLLTOOL,;t t
36758 s,@MAKEINFO@,$MAKEINFO,;t t
36759 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36760 s,@LIBOBJS@,$LIBOBJS,;t t
36761 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36766 cat >>$CONFIG_STATUS <<\_ACEOF
36767 # Split the substitutions into bite-sized pieces for seds with
36768 # small command number limits, like on Digital OSF/1 and HP-UX.
36769 ac_max_sed_lines
=48
36770 ac_sed_frag
=1 # Number of current file.
36771 ac_beg
=1 # First line for current file.
36772 ac_end
=$ac_max_sed_lines # Line after last line for current file.
36775 while $ac_more_lines; do
36776 if test $ac_beg -gt 1; then
36777 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36779 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
36781 if test ! -s $tmp/subs.frag
; then
36782 ac_more_lines
=false
36784 # The purpose of the label and of the branching condition is to
36785 # speed up the sed processing (if there are no `@' at all, there
36786 # is no need to browse any of the substitutions).
36787 # These are the two extra sed commands mentioned above.
36789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
36790 if test -z "$ac_sed_cmds"; then
36791 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
36793 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36795 ac_sed_frag
=`expr $ac_sed_frag + 1`
36797 ac_end
=`expr $ac_end + $ac_max_sed_lines`
36800 if test -z "$ac_sed_cmds"; then
36803 fi # test -n "$CONFIG_FILES"
36806 cat >>$CONFIG_STATUS <<\_ACEOF
36807 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
36808 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36810 - | *:- | *:-:* ) # input from stdin
36812 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36813 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36814 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36815 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36816 * ) ac_file_in
=$ac_file.
in ;;
36819 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36820 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
36821 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36822 X"$ac_file" : 'X\(//\)[^/]' \| \
36823 X"$ac_file" : 'X\(//\)$' \| \
36824 X"$ac_file" : 'X\(/\)' \| \
36825 . : '\(.\)' 2>/dev/null ||
36827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36828 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36829 /^X\(\/\/\)$/{ s//\1/; q; }
36830 /^X\(\/\).*/{ s//\1/; q; }
36832 { if $as_mkdir_p; then
36837 while test ! -d "$as_dir"; do
36838 as_dirs
="$as_dir $as_dirs"
36839 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36841 X"$as_dir" : 'X\(//\)[^/]' \| \
36842 X"$as_dir" : 'X\(//\)$' \| \
36843 X"$as_dir" : 'X\(/\)' \| \
36844 . : '\(.\)' 2>/dev/null ||
36846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36847 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36848 /^X\(\/\/\)$/{ s//\1/; q; }
36849 /^X\(\/\).*/{ s//\1/; q; }
36852 test ! -n "$as_dirs" || mkdir $as_dirs
36853 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36854 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36855 { (exit 1); exit 1; }; }; }
36859 if test "$ac_dir" != .
; then
36860 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36861 # A "../" for each directory in $ac_dir_suffix.
36862 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36864 ac_dir_suffix
= ac_top_builddir
=
36868 .
) # No --srcdir option. We are building in place.
36870 if test -z "$ac_top_builddir"; then
36873 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
36875 [\\/]* | ?
:[\\/]* ) # Absolute path.
36876 ac_srcdir
=$srcdir$ac_dir_suffix;
36877 ac_top_srcdir
=$srcdir ;;
36878 *) # Relative path.
36879 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
36880 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
36882 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36884 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
36885 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36886 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36887 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36891 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
36892 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
36895 if test x
"$ac_file" != x
-; then
36896 { echo "$as_me:$LINENO: creating $ac_file" >&5
36897 echo "$as_me: creating $ac_file" >&6;}
36900 # Let's still pretend it is `configure' which instantiates (i.e., don't
36901 # use $as_me), people would be surprised to read:
36902 # /* config.h. Generated by config.status. */
36903 if test x
"$ac_file" = x
-; then
36906 configure_input
="$ac_file. "
36908 configure_input
=$configure_input"Generated from `echo $ac_file_in |
36909 sed 's,.*/,,'` by configure."
36911 # First look for the input files in the build tree, otherwise in the
36913 ac_file_inputs
=`IFS=:
36914 for f in $ac_file_in; do
36916 -) echo $tmp/stdin ;;
36918 # Absolute (can't be DOS-style, as IFS=:)
36919 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36920 echo "$as_me: error: cannot find input file: $f" >&2;}
36921 { (exit 1); exit 1; }; }
36924 if test -f "$f"; then
36927 elif test -f "$srcdir/$f"; then
36932 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36933 echo "$as_me: error: cannot find input file: $f" >&2;}
36934 { (exit 1); exit 1; }; }
36937 done` || { (exit 1); exit 1; }
36939 cat >>$CONFIG_STATUS <<_ACEOF
36943 cat >>$CONFIG_STATUS <<\_ACEOF
36945 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
36946 s
,@configure_input@
,$configure_input,;t t
36947 s
,@srcdir@
,$ac_srcdir,;t t
36948 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
36949 s
,@top_srcdir@
,$ac_top_srcdir,;t t
36950 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
36951 s
,@builddir@
,$ac_builddir,;t t
36952 s
,@abs_builddir@
,$ac_abs_builddir,;t t
36953 s
,@top_builddir@
,$ac_top_builddir,;t t
36954 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
36955 s
,@INSTALL@
,$ac_INSTALL,;t t
36956 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36958 if test x"$ac_file" != x-; then
36959 mv $tmp/out $ac_file
36967 cat >>$CONFIG_STATUS <<\_ACEOF
36970 # CONFIG_HEADER section.
36973 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
36974 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36976 # ac_d sets the value in "#define NAME VALUE" lines.
36977 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36978 ac_dB
='[ ].*$,\1#\2'
36981 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36982 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36983 ac_uB
='$,\1#\2define\3'
36987 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
36988 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36990 - | *:- | *:-:* ) # input from stdin
36992 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36993 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36994 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
36995 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
36996 * ) ac_file_in
=$ac_file.
in ;;
36999 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37000 echo "$as_me: creating $ac_file" >&6;}
37002 # First look for the input files in the build tree, otherwise in the
37004 ac_file_inputs
=`IFS=:
37005 for f in $ac_file_in; do
37007 -) echo $tmp/stdin ;;
37009 # Absolute (can't be DOS-style, as IFS=:)
37010 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37011 echo "$as_me: error: cannot find input file: $f" >&2;}
37012 { (exit 1); exit 1; }; }
37015 if test -f "$f"; then
37018 elif test -f "$srcdir/$f"; then
37023 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37024 echo "$as_me: error: cannot find input file: $f" >&2;}
37025 { (exit 1); exit 1; }; }
37028 done` || { (exit 1); exit 1; }
37029 # Remove the trailing spaces.
37030 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37034 # Transform confdefs.h into two sed scripts, `conftest.defines' and
37035 # `conftest.undefs', that substitutes the proper values into
37036 # config.h.in to produce config.h. The first handles `#define'
37037 # templates, and the second `#undef' templates.
37038 # And first: Protect against being on the right side of a sed subst in
37039 # config.status. Protect against being in an unquoted here document
37040 # in config.status.
37041 rm -f conftest.defines conftest.undefs
37042 # Using a here document instead of a string reduces the quoting nightmare.
37043 # Putting comments in sed scripts is not portable.
37045 # `end' is used to avoid that the second main sed command (meant for
37046 # 0-ary CPP macros) applies to n-ary macro definitions.
37047 # See the Autoconf documentation for `clear'.
37048 cat >confdef2sed.
sed <<\_ACEOF
37053 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37055 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37058 # If some macros were called several times there might be several times
37059 # the same #defines, which is useless. Nevertheless, we may not want to
37060 # sort them, since we want the *last* AC-DEFINE to be honored.
37061 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37062 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37063 rm -f confdef2sed.sed
37065 # This sed command replaces #undef with comments. This is necessary, for
37066 # example, in the case of _POSIX_SOURCE, which is predefined and required
37067 # on some systems where configure will not decide to define it.
37068 cat >>conftest.undefs <<\_ACEOF
37069 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37072 # Break up conftest.defines because some shells have a limit on the size
37073 # of here documents, and old seds have small limits too (100 cmds).
37074 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37075 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37076 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37077 echo ' :' >>$CONFIG_STATUS
37078 rm -f conftest.tail
37079 while grep . conftest.defines >/dev/null
37081 # Write a limited-size here document to $tmp/defines.sed.
37082 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37083 # Speed up: don't consider the non `#define' lines.
37084 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37085 # Work around the forget-to-reset-the-flag bug.
37086 echo 't clr' >>$CONFIG_STATUS
37087 echo ': clr' >>$CONFIG_STATUS
37088 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
37090 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37092 mv $tmp/out $tmp/in
37094 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
37095 rm -f conftest.defines
37096 mv conftest.
tail conftest.defines
37098 rm -f conftest.defines
37099 echo ' fi # grep' >>$CONFIG_STATUS
37100 echo >>$CONFIG_STATUS
37102 # Break up conftest.undefs because some shells have a limit on the size
37103 # of here documents, and old seds have small limits too (100 cmds).
37104 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37105 rm -f conftest.
tail
37106 while grep . conftest.undefs
>/dev
/null
37108 # Write a limited-size here document to $tmp/undefs.sed.
37109 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37110 # Speed up: don't consider the non
`#undef'
37111 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37112 # Work around the forget-to-reset-the-flag bug.
37113 echo 't clr' >>$CONFIG_STATUS
37114 echo ': clr' >>$CONFIG_STATUS
37115 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37117 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37119 mv $tmp/out $tmp/in
37121 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37122 rm -f conftest.undefs
37123 mv conftest.tail conftest.undefs
37125 rm -f conftest.undefs
37127 cat >>$CONFIG_STATUS <<\_ACEOF
37128 # Let's still pretend it is `configure
' which instantiates (i.e., don't
37129 # use $as_me), people would be surprised to read:
37130 # /* config.h. Generated by config.status. */
37131 if test x
"$ac_file" = x
-; then
37132 echo "/* Generated by configure. */" >$tmp/config.h
37134 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37136 cat $tmp/in >>$tmp/config.h
37138 if test x
"$ac_file" != x
-; then
37139 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
37140 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37141 echo "$as_me: $ac_file is unchanged" >&6;}
37143 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
37144 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37145 X"$ac_file" : 'X\(//\)[^/]' \| \
37146 X"$ac_file" : 'X\(//\)$' \| \
37147 X"$ac_file" : 'X\(/\)' \| \
37148 . : '\(.\)' 2>/dev/null ||
37150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37151 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37152 /^X\(\/\/\)$/{ s//\1/; q; }
37153 /^X\(\/\).*/{ s//\1/; q; }
37155 { if $as_mkdir_p; then
37160 while test ! -d "$as_dir"; do
37161 as_dirs
="$as_dir $as_dirs"
37162 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37163 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37164 X"$as_dir" : 'X\(//\)[^/]' \| \
37165 X"$as_dir" : 'X\(//\)$' \| \
37166 X"$as_dir" : 'X\(/\)' \| \
37167 . : '\(.\)' 2>/dev/null ||
37169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37170 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37171 /^X\(\/\/\)$/{ s//\1/; q; }
37172 /^X\(\/\).*/{ s//\1/; q; }
37175 test ! -n "$as_dirs" || mkdir $as_dirs
37176 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37177 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37178 { (exit 1); exit 1; }; }; }
37181 mv $tmp/config.h
$ac_file
37185 rm -f $tmp/config.h
37189 cat >>$CONFIG_STATUS <<\_ACEOF
37192 # CONFIG_COMMANDS section.
37194 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
37195 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
37196 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
37197 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
37198 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37199 X"$ac_dest" : 'X\(//\)[^/]' \| \
37200 X"$ac_dest" : 'X\(//\)$' \| \
37201 X"$ac_dest" : 'X\(/\)' \| \
37202 . : '\(.\)' 2>/dev/null ||
37204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37205 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37206 /^X\(\/\/\)$/{ s//\1/; q; }
37207 /^X\(\/\).*/{ s//\1/; q; }
37211 if test "$ac_dir" != .
; then
37212 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37213 # A "../" for each directory in $ac_dir_suffix.
37214 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37216 ac_dir_suffix
= ac_top_builddir
=
37220 .
) # No --srcdir option. We are building in place.
37222 if test -z "$ac_top_builddir"; then
37225 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37227 [\\/]* | ?
:[\\/]* ) # Absolute path.
37228 ac_srcdir
=$srcdir$ac_dir_suffix;
37229 ac_top_srcdir
=$srcdir ;;
37230 *) # Relative path.
37231 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37232 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37234 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37236 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37237 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37238 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37239 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37242 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37243 echo "$as_me: executing $ac_dest commands" >&6;}
37246 if test ! -h wx
-config; then
37248 mv wx
-config wx
${TOOLCHAIN_NAME}-config
37249 ${LN_S} wx
${TOOLCHAIN_NAME}-config wx
-config
37252 if test ! -d lib
; then
37255 if test ! -d lib
/wx
; then
37258 if test ! -d lib
/wx
/include
; then
37259 mkdir lib
/wx
/include
37261 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}; then
37262 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}
37264 if test ! -d lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
; then
37265 mkdir lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
37267 if test -f setup.h
; then
37268 mv -f setup.h lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
37275 cat >>$CONFIG_STATUS <<\_ACEOF
37277 { (exit 0); exit 0; }
37279 chmod +x
$CONFIG_STATUS
37280 ac_clean_files
=$ac_clean_files_save
37283 # configure is writing to config.log, and then calls config.status.
37284 # config.status does its own redirection, appending to config.log.
37285 # Unfortunately, on DOS this fails, as config.log is still kept open
37286 # by configure, so config.status won't be able to write to it; its
37287 # output is simply discarded. So we exec the FD to /dev/null,
37288 # effectively closing config.log, so it can be properly (re)opened and
37289 # appended to by config.status. When coming back to configure, we
37290 # need to make the FD available again.
37291 if test "$no_create" != yes; then
37293 ac_config_status_args
=
37294 test "$silent" = yes &&
37295 ac_config_status_args
="$ac_config_status_args --quiet"
37297 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
37299 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37300 # would make configure fail if this is the last instruction.
37301 $ac_cs_success || { (exit 1); exit 1; }
37305 # CONFIG_SUBDIRS section.
37307 if test "$no_recursion" != yes; then
37309 # Remove --cache-file and --srcdir arguments so they do not pile up.
37310 ac_sub_configure_args
=
37312 for ac_arg
in $ac_configure_args; do
37313 if test -n "$ac_prev"; then
37318 -cache-file | --cache-file | --cache-fil | --cache-fi \
37319 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37320 ac_prev
=cache_file
;;
37321 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37322 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37325 --config-cache | -C)
37327 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37329 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37331 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37333 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37335 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
37339 # Always prepend --prefix to ensure using the same prefix
37340 # in subdir configurations.
37341 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
37344 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
37346 # Do not complain, so a configure script can configure whichever
37347 # parts of a large source tree are present.
37348 test -d $srcdir/$ac_dir || continue
37350 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37351 echo "$as_me: configuring in $ac_dir" >&6;}
37352 { if $as_mkdir_p; then
37357 while test ! -d "$as_dir"; do
37358 as_dirs
="$as_dir $as_dirs"
37359 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
37360 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37361 X"$as_dir" : 'X\(//\)[^/]' \| \
37362 X"$as_dir" : 'X\(//\)$' \| \
37363 X"$as_dir" : 'X\(/\)' \| \
37364 . : '\(.\)' 2>/dev/null ||
37366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37367 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37368 /^X\(\/\/\)$/{ s//\1/; q; }
37369 /^X\(\/\).*/{ s//\1/; q; }
37372 test ! -n "$as_dirs" || mkdir $as_dirs
37373 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37374 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37375 { (exit 1); exit 1; }; }; }
37379 if test "$ac_dir" != .
; then
37380 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37381 # A "../" for each directory in $ac_dir_suffix.
37382 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37384 ac_dir_suffix
= ac_top_builddir
=
37388 .
) # No --srcdir option. We are building in place.
37390 if test -z "$ac_top_builddir"; then
37393 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
37395 [\\/]* | ?
:[\\/]* ) # Absolute path.
37396 ac_srcdir
=$srcdir$ac_dir_suffix;
37397 ac_top_srcdir
=$srcdir ;;
37398 *) # Relative path.
37399 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
37400 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
37402 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37404 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
37405 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37406 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37407 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37412 # Check for guested configure; otherwise get Cygnus style configure.
37413 if test -f $ac_srcdir/configure.gnu
; then
37414 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
37415 elif test -f $ac_srcdir/configure
; then
37416 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
37417 elif test -f $ac_srcdir/configure.
in; then
37418 ac_sub_configure
=$ac_configure
37420 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37421 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37425 # The recursion is here.
37426 if test -n "$ac_sub_configure"; then
37427 # Make the cache file name correct relative to the subdirectory.
37428 case $cache_file in
37429 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
37430 *) # Relative path.
37431 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
37434 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37435 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37436 # The eval makes quoting arguments work.
37437 eval $ac_sub_configure $ac_sub_configure_args \
37438 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37439 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37440 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37441 { (exit 1); exit 1; }; }
37450 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37452 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37453 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37455 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37456 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37457 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37459 echo " What level of wxWindows compatibility should be enabled?"
37460 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37461 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37463 echo " Which libraries should wxWindows use?"
37464 echo " jpeg ${wxUSE_LIBJPEG-none}"
37465 echo " png ${wxUSE_LIBPNG-none}"
37466 echo " regex ${wxUSE_REGEX}"
37467 echo " tiff ${wxUSE_LIBTIFF-none}"
37468 echo " zlib ${wxUSE_ZLIB}"
37469 echo " odbc ${wxUSE_ODBC}"
37470 echo " expat ${wxUSE_EXPAT}"